/* =====================================================================
   NOYRA — Checkout e Minha conta (complementa styles.css)
   ===================================================================== */
.shop-body{background:#f8f2ee;padding-bottom:0 !important}
.shop-header{background:rgba(249,240,234,.96);border-bottom:1px solid #ecdfd3;position:sticky;top:0;z-index:50;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.shop-nav{height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.shop-nav .brand img{width:160px}
.secure-badge{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#4a433e}
.secure-badge svg{width:18px;height:18px;color:#2f8a4c}
.account-link{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:var(--ink)}
.account-link svg{width:22px;height:22px}
.account-link:hover{color:var(--orange-text)}
.inline-ico{display:inline-block;width:15px;height:15px;vertical-align:-2px;color:#2f8a4c}

/* Campos */
.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.field{display:grid;gap:6px;align-content:start}
.field.full{grid-column:1/-1}
.field > span{font-size:13.5px;font-weight:500;color:#3d3631}
.field em{font-style:normal;color:#8a7f77;font-weight:400}
.field input,.field select,.coupon input{
  width:100%;height:48px;padding:0 14px;border-radius:11px;border:1px solid #dccdbf;background:#fffdfb;
  font:400 15px var(--sans);color:var(--ink);transition:border-color .2s,box-shadow .2s
}
.field input:focus,.field select:focus,.coupon input:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(249,115,22,.15)}
.field.invalid input,.field.invalid select{border-color:#d1432c;background:#fff7f5}
.field-error{color:#c0392b;font-size:12.5px}
.cep-status{align-self:end;padding-bottom:14px;font-size:13px;color:#6b625b}
.form-error{color:#c0392b;font-size:13.5px;margin:10px 0 0}
.form-error:empty{display:none}
.co-hint{font-size:13.5px;color:#6b625b;line-height:1.5;margin-top:12px}
#loginHint{margin:-6px 0 16px}
.co-hint a,.link-btn{color:var(--orange-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.link-btn{background:none;border:0;padding:0;cursor:pointer;font:600 13.5px var(--sans)}
.link-btn.center{display:block;margin:4px auto 0}

/* Layout do checkout */
.checkout{display:grid;grid-template-columns:1fr 400px;gap:36px;align-items:start;padding:36px 0 64px}
.checkout-title{font-size:40px;margin-bottom:22px}
.co-step{background:#fffaf6;border:1px solid #efe3d8;border-radius:16px;padding:24px 26px 26px;margin-bottom:16px}
.co-step h2{display:flex;align-items:center;gap:12px;font-size:23px;margin-bottom:18px}
.co-num{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f6e3d4;color:var(--orange-ink);font:600 14px var(--sans)}

/* Kits */
.kits{display:grid;gap:12px}
.kit{position:relative;display:flex;align-items:center;gap:14px;padding:16px 18px;border:1.5px solid #e6d8cb;border-radius:13px;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.kit:hover{border-color:#e9b893}
.kit input,.pay-option input{position:absolute;opacity:0;pointer-events:none}
.kit-radio{width:20px;height:20px;border-radius:50%;border:1.5px solid #c9b8a9;flex:none;display:grid;place-items:center}
.kit:has(input:checked){border-color:var(--orange);box-shadow:0 0 0 3px rgba(249,115,22,.12);background:#fffaf5}
.kit:has(input:checked) .kit-radio{border-color:var(--orange)}
.kit:has(input:checked) .kit-radio::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--orange)}
.kit:has(input:focus-visible){outline:2px solid var(--orange);outline-offset:2px}
.kit-thumb{width:50px;height:54px;object-fit:contain;flex:none;filter:drop-shadow(0 4px 6px rgba(60,35,15,.16))}
.kit-info{display:grid;flex:1}
.kit-info strong{font-family:var(--serif);font-size:19px;font-weight:500}
.kit-info small{font-size:13px;color:#6b625b}
.kit-price{display:grid;justify-items:end}
.kit-price s{font-size:12.5px;color:#9a8f86}
.kit-price strong{font-size:17px;color:var(--ink)}
.kit-badge{position:absolute;top:-10px;right:16px;padding:3px 10px;border-radius:999px;background:var(--orange);color:#fff;font:600 11px/1.4 var(--sans);letter-spacing:.04em;text-transform:uppercase}

.ship-note{display:flex;align-items:center;gap:10px;margin-top:16px;padding:12px 14px;border-radius:11px;background:#f6ece2;font-size:13.5px;color:#4a433e}
.ship-note svg{width:24px;height:24px;flex:none;color:var(--orange-text)}

/* Pagamento */
.pay-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pay-option{position:relative;display:grid;gap:8px;padding:16px;border:1.5px solid #e6d8cb;border-radius:13px;background:#fff;cursor:pointer;transition:.2s}
.pay-option svg{width:26px;height:26px;color:#3d3631}
.pay-option strong{display:block;font-size:15px}
.pay-option small{display:block;font-size:12.5px;color:#6b625b;line-height:1.35;margin-top:2px}
.pay-option:has(input:checked){border-color:var(--orange);box-shadow:0 0 0 3px rgba(249,115,22,.12);background:#fffaf5}
.pay-option:has(input:checked) svg{color:var(--orange-text)}
.pay-option:has(input:focus-visible){outline:2px solid var(--orange);outline-offset:2px}

/* Resumo */
.summary{position:sticky;top:94px;display:grid;gap:12px}
.summary-card{background:#fff;border:1px solid #efe3d8;border-radius:18px;padding:24px;box-shadow:0 18px 40px rgba(120,86,60,.07)}
.summary-card h2{font-size:24px;margin-bottom:18px}
.summary-product{display:flex;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px solid #f0e5db}
.summary-product img{width:58px;height:64px;object-fit:contain;flex:none;filter:drop-shadow(0 6px 8px rgba(60,35,15,.18))}
.summary-product div{display:grid;flex:1}
.summary-product strong{font-size:15px;font-weight:600}
.summary-product small{font-size:13px;color:#6b625b}
.summary-product > span{font-weight:600}
.coupon{display:flex;gap:8px;margin-top:18px}
.coupon input{height:44px;text-transform:uppercase}
.coupon input::placeholder{text-transform:none}
.coupon .btn{height:44px;padding:0 16px;font-size:14px;border-radius:11px}
.coupon-msg{font-size:12.5px;margin-top:6px}
.coupon-msg:empty{display:none}
.coupon-msg.ok{color:#23743d}
.coupon-msg.err{color:#c0392b}
.totals{margin:14px 0 0;display:grid;gap:9px}
.totals > div{display:flex;justify-content:space-between;gap:16px;font-size:14.5px;color:#4a433e}
.totals dd{margin:0;text-align:right}
.totals .total{padding-top:12px;margin-top:4px;border-top:1px solid #f0e5db;font-size:17px;font-weight:700;color:var(--ink)}
.installments{font-size:13px;color:#2f8a4c;text-align:right;margin:4px 0 18px;min-height:18px}
.summary-card .btn-lg{min-width:0;width:100%}
.summary-trust{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid #f0e5db}
.summary-trust li{display:flex;align-items:center;gap:10px;font-size:13px;color:#5d544e}
.summary-trust svg{width:18px;height:18px;color:var(--orange-text)}
.summary-wa{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;font-size:14px;font-weight:600;color:#1e9e4f}
.summary-wa svg{width:20px;height:20px}

/* Confirmação */
.confirm{padding:56px 0 80px}
.confirm-card{max-width:620px;margin:auto;text-align:center;background:#fffaf6;border:1px solid #efe3d8;border-radius:22px;padding:44px 40px}
.confirm-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 18px;border-radius:50%;background:#e4f4e9;color:#2f8a4c}
.confirm-icon svg{width:34px;height:34px}
.confirm-card h1{font-size:40px;margin-bottom:10px}
.confirm-text{color:#4a433e;font-size:16px}
.confirm-totals{text-align:left;margin:24px 0;padding:18px 20px;background:#fff;border-radius:14px;border:1px solid #f0e5db}
.confirm-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.confirm-actions .btn-lg{min-width:0}
.confirm-back{display:inline-block;margin-top:22px;font-size:14px;color:#6b625b;text-decoration:underline}

/* Login */
.auth{padding:56px 0 80px}
.auth-card{max-width:460px;margin:auto;background:#fffaf6;border:1px solid #efe3d8;border-radius:22px;padding:36px 34px;box-shadow:0 18px 40px rgba(120,86,60,.06)}
.auth-card h1{font-size:38px;margin-bottom:20px}
.auth-tabs,.account-tabs{display:flex;gap:4px;padding:4px;border-radius:12px;background:#f3e7dc;margin-bottom:20px}
.auth-tabs button,.account-tabs button{flex:1;height:40px;border:0;border-radius:9px;background:none;font:500 14px var(--sans);color:#6b625b;cursor:pointer}
.auth-tabs button.active,.account-tabs button.active{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(60,40,25,.08)}
.auth-form{display:grid;gap:14px}

/* Login social */
.social-login{margin-bottom:18px}
.google-slot{display:flex;justify-content:center;min-height:48px}
.google-btn{
  display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:48px;
  border:1px solid #dadce0;border-radius:999px;background:#fff;cursor:pointer;
  font:500 15px/1 var(--sans);color:#1f1f1f;transition:background .2s,box-shadow .25s,border-color .2s
}
.google-btn:hover{background:#f8faff;border-color:#c6d4f5;box-shadow:0 2px 10px rgba(66,133,244,.15)}
.google-btn svg{width:20px;height:20px}
.divider{display:flex;align-items:center;gap:14px;margin:18px 0 0;font-size:12.5px;color:#8a7f77}
.divider::before,.divider::after{content:"";flex:1;height:1px;background:#e6d8cb}

.account-id{display:flex;align-items:center;gap:18px}
.account-photo{width:64px;height:64px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 6px 16px rgba(60,40,25,.12)}
.auth-form .form-error{margin:0}
.demo-access{display:grid;gap:4px;padding:14px 16px;margin-bottom:18px;border-radius:12px;border:1px dashed #e9b893;background:#fff6ee;font-size:13.5px;color:#4a433e}
.demo-access strong{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--orange-ink)}
.demo-access code{font:600 13.5px ui-monospace,Consolas,monospace;color:var(--ink)}
.demo-access .link-btn{justify-self:start;margin-top:4px}
.pass-wrap{position:relative;display:block}
.pass-wrap input{padding-right:48px}
.pass-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;background:none;color:#8a7f77;cursor:pointer;display:grid;place-items:center}
.pass-toggle svg{width:20px;height:20px}
.check{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:#4a433e;line-height:1.45}
.check input{width:18px;height:18px;margin-top:1px;accent-color:var(--orange);flex:none}
.check a{color:var(--orange-ink);text-decoration:underline}
.auth-secure{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:20px;font-size:12.5px;color:#8a7f77}
.auth-secure svg{width:15px;height:15px}

/* Área logada */
.account{padding:44px 0 80px;max-width:860px}
.account-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}
.account-head h1{font-size:42px}
.account-head .co-hint{margin-top:6px}
.account-head .btn{height:42px}
.account-tabs{max-width:480px}
.empty{text-align:center;padding:48px 20px;border:1px dashed #e2d3c5;border-radius:16px;background:#fffaf6}
.empty p{margin-bottom:16px;color:#6b625b}
.order{background:#fff;border:1px solid #efe3d8;border-radius:16px;padding:20px 22px;margin-bottom:12px}
.order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;border-bottom:1px solid #f0e5db}
.order-head strong{display:block;font-size:16px}
.order-head small{font-size:13px;color:#6b625b}
.order-status{padding:4px 12px;border-radius:999px;background:#fff1e3;color:#b4541a;font:600 12px/1.5 var(--sans);white-space:nowrap}
.order-body{display:grid;gap:8px;margin:14px 0 0}
.order-body > div{display:flex;justify-content:space-between;gap:16px;font-size:14px;color:#4a433e}
.order-body dd{margin:0;text-align:right}
.order-body .total{font-weight:700;color:var(--ink)}
.profile-form{display:grid;gap:18px;background:#fffaf6;border:1px solid #efe3d8;border-radius:16px;padding:24px}
.profile-form.narrow{max-width:460px}
.profile-form > .btn{justify-self:start}

/* Barra fixa do total (celular) */
.co-mobilebar{display:none}
@media (max-width:960px){
  .checkout{grid-template-columns:1fr;gap:8px;padding-bottom:110px}
  .summary{position:static}
  .co-mobilebar{
    position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:14px;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    background:rgba(255,250,246,.97);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
    border-top:1px solid #ecdfd3;box-shadow:0 -10px 30px rgba(60,40,25,.08);
    transition:transform .45s cubic-bezier(.16,.84,.3,1)
  }
  .co-mobilebar.hide{transform:translateY(110%)}
  .mb-total{display:grid;line-height:1.2}
  .mb-total small{font-size:12px;color:#6b625b}
  .mb-total strong{font-size:20px;color:var(--ink)}
  .mb-total span{font-size:12px;color:#2f8a4c}
  .co-mobilebar .btn{height:50px;padding:0 22px;border-radius:13px;font-size:15.5px}
  .co-mobilebar .btn .ico{width:16px;height:16px}
}
@media (max-width:640px){
  .container.checkout,.container.account,.container.auth,.container.confirm{width:calc(100% - 28px)}
  .shop-nav .brand img{width:120px}
  .secure-badge{font-size:12px}
  .secure-badge svg{width:15px;height:15px}
  .account-link span{display:none}
  .checkout{padding-top:22px}
  .checkout-title{font-size:32px}
  .co-step{padding:20px 16px;border-radius:14px}
  .co-step h2{font-size:20px}
  .fields{grid-template-columns:1fr}
  .cep-status{padding:0}
  .pay-options{grid-template-columns:1fr}
  .pay-option{grid-template-columns:auto 1fr;align-items:center;gap:12px}
  .kit{padding:14px}
  .kit-info strong{font-size:17px}
  .summary-card{padding:20px 16px}
  .auth,.confirm{padding:28px 0 56px}
  .auth-card,.confirm-card{padding:28px 20px}
  .account-head{flex-direction:column;align-items:flex-start}
  .account-head h1{font-size:34px}
  .order-body > div{flex-direction:column;gap:2px}
  .order-body dd{text-align:left}
}
