/* ---------- TIPOGRAFÍAS ---------- */
  @font-face { font-family:'Fields'; src:url('../fonts/fields-black.otf') format('opentype'); font-weight:900; font-display:swap; }
  @font-face { font-family:'Montserrat'; src:url('../fonts/Montserrat-Regular.ttf') format('truetype'); font-weight:400; font-display:swap; }
  @font-face { font-family:'Montserrat'; src:url('../fonts/Montserrat-SemiBold.ttf') format('truetype'); font-weight:600; font-display:swap; }
  @font-face { font-family:'Montserrat'; src:url('../fonts/Montserrat-Bold.ttf') format('truetype'); font-weight:700; font-display:swap; }

  /* ---------- VARIABLES ---------- */
  :root {
    --green-primary: #3C8A4C;
    --green-light:   #ADCC54;
    --green-mid:     #699F4A;
    --green-dark:    #195852;
    --cream:         #E2E290;
    --ink:           #14201A;
    --muted:         #6B7670;
    --line:          #E8E9E4;
    --bg:            #FFFFFF;
    --bg-soft:       #FAFAF5;
    --error:         #dc2626;
    --maxw: 1280px;
    --pad:  clamp(20px, 4vw, 60px);
    --r:    14px;
    --shadow-sm:  0 1px 4px rgba(20,32,26,.06), 0 1px 2px rgba(20,32,26,.04);
    --shadow-md:  0 4px 20px rgba(20,32,26,.10), 0 2px 6px rgba(20,32,26,.06);
    --shadow-lg:  0 16px 48px rgba(20,32,26,.14), 0 4px 14px rgba(20,32,26,.08);
    --ease:       cubic-bezier(.4,0,.2,1);
  }

  /* ---------- RESET ---------- */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: var(--ink); background: var(--bg);
    font-size: 16px; line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: none; background: none; }
  h1, h2, h3, h4 {
    font-family: 'Fields', Georgia, serif; font-weight: 900;
    line-height: 1.02; letter-spacing: -0.015em; color: var(--ink);
  }
  h1 { font-size: clamp(36px, 5vw, 64px); }
  h2 { font-size: clamp(24px, 3vw, 36px); }
  h3 { font-size: clamp(18px, 2vw, 24px); }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

  /* ---------- SCROLL REVEAL ---------- */
  [data-anim] { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
  [data-anim].in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { [data-anim], [data-anim].in { opacity: 1 !important; transform: none !important; transition: none !important; } }

  /* ---------- UTILITY BAR ---------- */
  .utility {
    background: var(--green-dark); color: white;
    text-align: center; font-size: 12px; letter-spacing: .2em;
    padding: 10px var(--pad); text-transform: uppercase; font-weight: 600;
  }

  /* ---------- HEADER ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), border-color .3s;
  }
  .scrolled header { box-shadow: var(--shadow-md); border-bottom-color: transparent; }
  .nav-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px var(--pad); max-width: var(--maxw); margin: 0 auto;
  }
  .logo-mark { display: flex; align-items: center; gap: 12px; }
  .logo-mark img { height: 44px; width: auto; display: block; }
  .logo-mark .word {
    font-family: 'Montserrat', sans-serif; font-weight: 700;
    font-size: 13px; letter-spacing: .04em; line-height: 1.1;
    color: var(--green-primary);
  }
  .logo-mark .word small {
    display: block; font-weight: 400; color: var(--muted);
    font-size: 9px; letter-spacing: .18em;
    text-transform: uppercase; margin-top: 2px;
  }
  nav.main { display: flex; gap: 36px; }
  nav.main a { font-size: 14px; font-weight: 500; color: var(--ink); transition: color .2s; }
  nav.main a:hover { color: var(--green-primary); }
  .header-actions { display: flex; align-items: center; gap: 14px; }
  .icon-btn {
    width: 40px; height: 40px; border-radius: 999px;
    display: grid; place-items: center; color: var(--ink);
    transition: background .2s; position: relative;
  }
  .icon-btn:hover { background: var(--bg-soft); }
  .icon-btn .badge {
    position: absolute; top: 4px; right: 4px;
    width: 16px; height: 16px; background: var(--green-primary);
    border-radius: 999px; color: white; font-size: 10px;
    display: grid; place-items: center; font-weight: 700;
  }
  .acct-wrap { position: relative; }
  .acct-btn {
    width: 38px; height: 38px; border-radius: 999px;
    display: grid; place-items: center; text-decoration: none;
    border: 1.5px solid var(--line); color: var(--muted);
    font-size: 14px; font-weight: 700;
    transition: background .2s, color .2s, border-color .2s;
  }
  .acct-btn svg { pointer-events: none; }
  .acct-btn .acct-initial { display: none; line-height: 1; }
  .acct-btn:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--green-primary); }
  .acct-btn.logged { background: var(--green-primary); color: white; border-color: var(--green-primary); }
  .acct-btn.logged svg { display: none; }
  .acct-btn.logged .acct-initial { display: block; }
  .acct-drop {
    display: none; position: absolute; top: calc(100% + 10px); right: 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow-md); min-width: 190px; z-index: 200;
    overflow: hidden;
  }
  .acct-drop.open { display: block; }
  .acct-drop-name {
    padding: 12px 16px 10px; font-size: 13px; font-weight: 600;
    color: var(--muted); border-bottom: 1px solid var(--line);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .acct-drop-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--ink);
    width: 100%; text-align: left; background: none; border: none;
    cursor: pointer; text-decoration: none;
    transition: background .15s;
  }
  .acct-drop-item:hover { background: var(--bg-soft); }
  .acct-drop-item svg { flex-shrink: 0; color: var(--muted); }
  .acct-drop-logout { color: #c0392b; border-top: 1px solid var(--line); }
  .acct-drop-logout svg { color: #c0392b; }
  .btn-wa {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green-primary); color: white;
    padding: 11px 18px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    transition: background .2s, transform .22s var(--ease), box-shadow .22s var(--ease);
  }
  .btn-wa:hover { background: #2d6e3a; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(60,138,76,.32); }
  .btn-wa svg { width: 16px; height: 16px; flex-shrink: 0; }

  /* ---------- HAMBURGER ---------- */
  .hamburger {
    display: none; flex-direction: column; justify-content: center;
    align-items: center; gap: 5px;
    width: 40px; height: 40px; padding: 9px;
    border-radius: 8px; transition: background .2s;
  }
  .hamburger:hover { background: var(--bg-soft); }
  .hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--ink); border-radius: 2px;
    transform-origin: center;
    transition: transform .3s var(--ease), opacity .25s, width .3s var(--ease);
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ---------- MOBILE NAV ---------- */
  .mobile-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(340px, 88vw); background: var(--bg);
    z-index: 200; padding: 24px 32px 40px;
    transform: translateX(110%);
    transition: transform .38s var(--ease);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .mobile-nav.open { transform: translateX(0); }
  .close-nav {
    align-self: flex-end; width: 40px; height: 40px;
    border-radius: 999px; display: grid; place-items: center;
    color: var(--muted); margin-bottom: 28px; margin-right: -8px;
    transition: background .2s, color .2s;
  }
  .close-nav:hover { background: var(--bg-soft); color: var(--ink); }
  .mob-links { display: flex; flex-direction: column; flex: 1; }
  .mob-link {
    font-family: 'Fields', serif; font-weight: 900;
    font-size: clamp(26px, 6vw, 32px); color: var(--ink);
    padding: 16px 0; border-bottom: 1px solid var(--line);
    transition: color .2s, padding-left .22s var(--ease);
    display: block;
  }
  .mob-link:last-child { border-bottom: none; }
  .mob-link:hover { color: var(--green-primary); padding-left: 8px; }
  .mob-wa { margin-top: 28px; justify-content: center; width: 100%; font-size: 15px; padding: 14px 20px; }
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(20,32,26,.45);
    z-index: 190; opacity: 0; pointer-events: none;
    transition: opacity .38s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }

  /* ---------- MINI CARRITO DROPDOWN ---------- */
  .cart-wrap { position: relative; }
  .cart-drop {
    position: absolute; top: calc(100% + 10px); right: 0;
    width: 290px; background: white;
    border-radius: 16px; box-shadow: var(--shadow-lg);
    border: 1px solid var(--line); padding: 16px;
    opacity: 0; pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    z-index: 200;
  }
  .cart-drop.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .cart-drop::before {
    content: ''; position: absolute; top: -6px; right: 14px;
    width: 12px; height: 12px; background: white;
    border-left: 1px solid var(--line); border-top: 1px solid var(--line);
    transform: rotate(45deg);
  }
  .cart-drop-items { max-height: 220px; overflow-y: auto; }
  .cart-drop-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .cart-drop-item:last-child { border-bottom: none; }
  .cart-drop-thumb { width: 46px; height: 46px; border-radius: 8px; background: var(--bg-soft); background-size: cover; background-position: center; flex-shrink: 0; }
  .cart-drop-info { flex: 1; min-width: 0; }
  .cart-drop-name { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cart-drop-qty  { font-size: 12px; color: var(--muted); margin-top: 2px; }
  .cart-drop-empty { text-align: center; padding: 24px 0; color: var(--muted); font-size: 13px; }
  .cart-drop-footer { margin-top: 14px; border-top: 2px solid var(--line); padding-top: 12px; }
  .cart-drop-total { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; }
  .cart-drop-total strong { color: var(--ink); }
  .cart-drop-total .amt { font-weight: 700; color: var(--green-primary); }
  .cart-drop-go { display: block; text-align: center; background: var(--green-primary); color: white; padding: 11px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: background .2s; }
  .cart-drop-go:hover { background: var(--green-mid); }
  @media (max-width: 560px) {
    .cart-drop { width: 230px; padding: 12px; right: -8px; }
    .cart-drop-name { font-size: 12px; }
    .cart-drop-thumb { width: 38px; height: 38px; }
  }

  /* ---------- FOOTER ---------- */
  footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 30px; }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
    padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  footer h4 {
    color: white; font-family: 'Montserrat', sans-serif; font-weight: 600;
    font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px;
  }
  footer ul { list-style: none; }
  footer li { margin-bottom: 10px; font-size: 14px; }
  footer a { transition: color .2s; }
  footer a:hover { color: white; }
  .foot-brand { color: rgba(255,255,255,.85); }
  .foot-brand .logo-mark img { filter: brightness(0) invert(1); }
  .foot-brand .logo-mark .word { color: white; }
  .foot-brand .logo-mark .word small { color: rgba(255,255,255,.5); }
  .foot-brand p { font-size: 14px; max-width: 32ch; margin-top: 18px; line-height: 1.6; }
  .foot-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; font-size: 12px; color: rgba(255,255,255,.4);
    flex-wrap: wrap; gap: 14px;
  }
  .socials { display: flex; gap: 14px; }
  .socials a { font-size: 13px; }

  /* ================================= */
  /* ===== CHECKOUT PAGE STYLES ====== */
  /* ================================= */

  .page-hero {
    background: var(--bg-soft);
    padding: clamp(36px, 5vw, 60px) 0 clamp(28px, 4vw, 48px);
    border-bottom: 1px solid var(--line);
  }
  .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
  .breadcrumb a { color: var(--green-primary); }
  .breadcrumb a:hover { text-decoration: underline; }

  /* Steps indicator */
  .checkout-steps {
    display: flex; align-items: center; gap: 8px;
    margin-top: 24px; font-size: 13px; font-weight: 600;
  }
  .step {
    display: flex; align-items: center; gap: 8px;
    color: var(--muted);
  }
  .step.active { color: var(--green-primary); }
  .step.done { color: var(--muted); }
  .step-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--line); color: var(--muted);
    display: grid; place-items: center; font-size: 12px; font-weight: 700;
    flex-shrink: 0;
  }
  .step.active .step-num { background: var(--green-primary); color: white; }
  .step.done .step-num { background: var(--green-light); color: var(--green-dark); }
  .step-sep { width: 32px; height: 1px; background: var(--line); }

  /* Page wrap */
  .checkout-wrap { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); }

  /* Layout */
  .checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 52px;
    align-items: start;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ----- FORM ----- */
  .form-section { min-width: 0; }
  .form-section h2 { font-size: 22px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .form-section h3 { font-size: 16px; margin-bottom: 20px; margin-top: 32px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-family: 'Montserrat', sans-serif; font-weight: 700; }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-row.full { grid-template-columns: 1fr; }
  .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
  .form-group label {
    font-size: 13px; font-weight: 600; color: var(--ink);
    display: flex; align-items: center; gap: 4px;
  }
  .form-group label .req { color: var(--error); }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid var(--line); border-radius: 10px;
    font-family: inherit; font-size: 15px; color: var(--ink);
    background: white;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(60,138,76,.12);
  }
  .form-group input.error,
  .form-group select.error { border-color: var(--error); }
  .field-error { font-size: 12px; color: var(--error); margin-top: 4px; display: none; }
  .field-error.show { display: block; }
  .form-group textarea { resize: vertical; min-height: 80px; }
  .form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7670' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
  }

  /* ----- SAVED ADDRESSES ----- */
  .saved-addr-header {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--muted); margin-bottom: 10px;
  }
  .saved-addr-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
  .addr-option {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r);
    cursor: pointer; transition: border-color .2s, background .2s;
  }
  .addr-option:hover { border-color: var(--green-mid); }
  .addr-option.selected {
    border-color: var(--green-primary);
    background: rgba(60,138,76,.04);
  }
  .addr-dot {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid var(--line); flex-shrink: 0;
    transition: border-color .2s, background .2s;
  }
  .addr-option.selected .addr-dot {
    border-color: var(--green-primary);
    background: var(--green-primary);
  }
  .addr-info { flex: 1; min-width: 0; }
  .addr-info strong { font-size: 13px; font-weight: 700; display: block; }
  .addr-info p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* ----- COMPROBANTE ----- */
  #comprobante-section {
    margin-top: 20px; padding: 20px;
    border: 1.5px solid var(--line); border-radius: var(--r);
    background: #fafaf9;
  }
  .comp-title {
    font-size: 13px; font-weight: 700; margin-bottom: 4px;
  }
  .comp-sub {
    font-size: 12px; color: var(--muted); margin-bottom: 16px;
  }
  .comp-opt { font-size: 12px; color: var(--muted); font-weight: 400; }
  .file-upload-label {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border: 1.5px dashed var(--line); border-radius: var(--r);
    cursor: pointer; font-size: 13px; color: var(--muted);
    transition: border-color .2s, color .2s; background: #fff;
  }
  .file-upload-label:hover { border-color: var(--green-primary); color: var(--green-primary); }
  .file-upload-label.has-file { border-color: var(--green-primary); color: var(--green-primary); border-style: solid; }

  /* ----- PAYMENT METHODS ----- */
  .pay-methods { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
  .pay-label { cursor: pointer; display: block; }
  .pay-label input[type="radio"] { display: none; }
  .pay-card {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r);
    transition: border-color .2s, background .2s;
  }
  .pay-label input:checked + .pay-card {
    border-color: var(--green-primary);
    background: rgba(60,138,76,.04);
  }
  .pay-label:hover .pay-card { border-color: var(--green-mid); }
  .pay-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--bg-soft); display: grid; place-items: center;
    flex-shrink: 0; color: var(--green-primary);
  }
  .pay-info strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 2px; }
  .pay-info p { font-size: 12px; color: var(--muted); line-height: 1.4; }
  .pay-badge {
    margin-left: auto; font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 999px;
    background: var(--bg-soft); color: var(--muted);
    flex-shrink: 0;
  }

  /* Payment details box (shown after selection) */
  .pay-details {
    background: var(--bg-soft); border-radius: var(--r);
    padding: 16px 18px; margin-top: 8px;
    font-size: 13px; line-height: 1.7; color: var(--ink);
    border-left: 3px solid var(--green-primary);
    display: none;
  }
  .pay-details.show { display: block; }
  .pay-details strong { font-weight: 700; }

  /* ----- SUBMIT BUTTON ----- */
  .btn-place-order {
    width: 100%; padding: 18px 24px; margin-top: 28px;
    background: var(--ink); color: white;
    border: none; border-radius: 999px;
    font-family: inherit; font-size: 16px; font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .22s var(--ease);
    display: flex; align-items: center; justify-content: center; gap: 12px;
  }
  .btn-place-order:hover { background: var(--green-dark); transform: translateY(-1px); }
  .btn-place-order:disabled { opacity: .6; cursor: not-allowed; transform: none; }
  .btn-place-order .spinner {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3); border-top-color: white;
    animation: spin .7s linear infinite; display: none;
  }
  .btn-place-order.loading .spinner { display: block; }
  .btn-place-order.loading .btn-label { display: none; }
  @keyframes spin { to { transform: rotate(360deg); } }

  /* ----- ORDER SUMMARY (right) ----- */
  .summary-col { position: sticky; top: 90px; }
  .summary-box {
    background: white; border: 1px solid var(--line);
    border-radius: var(--r); padding: 24px 22px;
    box-shadow: var(--shadow-sm);
  }
  .summary-box h3 { font-size: 18px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .order-items { margin-bottom: 16px; }
  .order-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .order-item:last-child { border-bottom: none; }
  .order-thumb {
    width: 48px; height: 48px; border-radius: 8px;
    background: var(--bg-soft); background-size: cover; background-position: center;
    flex-shrink: 0; border: 1px solid var(--line); position: relative;
  }
  .order-thumb-qty {
    position: absolute; top: -6px; right: -6px;
    width: 18px; height: 18px; background: var(--ink);
    border-radius: 50%; color: white; font-size: 10px; font-weight: 700;
    display: grid; place-items: center;
  }
  .order-item-info { flex: 1; min-width: 0; }
  .order-item-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .order-item-price { font-size: 12px; color: var(--muted); }
  .order-item-sub { font-size: 14px; font-weight: 700; flex-shrink: 0; }

  .summary-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; font-size: 14px; color: var(--muted); }
  .summary-row .val { font-weight: 600; color: var(--ink); }
  .summary-row.total { margin-top: 8px; padding-top: 14px; border-top: 2px solid var(--ink); font-size: 16px; font-weight: 700; color: var(--ink); }
  .summary-row.total .val { color: var(--green-primary); font-size: 20px; }
  .summary-bcv { font-size: 12px; color: var(--muted); margin: 4px 0 0; }

  /* ----- GLOBAL ERROR ----- */
  .global-error {
    background: #fef2f2; border: 1px solid #fecaca;
    border-radius: var(--r); padding: 14px 18px;
    color: #dc2626; font-size: 14px; font-weight: 500;
    margin-bottom: 20px; display: none;
  }
  .global-error.show { display: block; }

  /* ===== CONFIRMATION STATE ===== */
  .confirm-state { display: none; }
  .confirm-state.show { display: block; }
  .checkout-form-state { display: block; }
  .checkout-form-state.hide { display: none; }

  .confirm-wrap {
    max-width: 640px; margin: 0 auto;
    padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px);
    text-align: center;
  }
  .confirm-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(60,138,76,.1); display: grid; place-items: center;
    margin: 0 auto 28px; color: var(--green-primary);
  }
  .confirm-wrap h2 { margin-bottom: 12px; }
  .confirm-wrap p { color: var(--muted); font-size: 16px; margin-bottom: 32px; }
  .confirm-order-num {
    display: inline-block; background: var(--bg-soft);
    border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 20px; font-size: 14px; font-weight: 700;
    color: var(--green-primary); margin-bottom: 32px;
  }
  .pay-instructions {
    background: var(--bg-soft); border-radius: var(--r);
    padding: 24px 28px; text-align: left;
    border: 1px solid var(--line); margin-bottom: 32px;
  }
  .pay-instructions h4 {
    font-family: 'Montserrat', sans-serif; font-weight: 700;
    font-size: 13px; text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted); margin-bottom: 16px;
  }
  .pay-instructions .instr-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 8px 0; border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .pay-instructions .instr-row:last-child { border-bottom: none; }
  .pay-instructions .instr-label { color: var(--muted); }
  .pay-instructions .instr-val { font-weight: 700; text-align: right; }
  .confirm-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 28px; border-radius: 999px;
    font-weight: 600; font-size: 14px; font-family: inherit;
    background: var(--green-primary); color: white; border: none; cursor: pointer;
    transition: background .2s, transform .22s var(--ease);
  }
  .btn-primary:hover { background: #2d6e3a; transform: translateY(-2px); }
  .btn-outline {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 28px; border-radius: 999px;
    font-weight: 600; font-size: 14px; font-family: inherit;
    background: transparent; color: var(--ink); border: 1.5px solid var(--line); cursor: pointer;
    transition: border-color .2s, color .2s;
  }
  .btn-outline:hover { border-color: var(--ink); }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 980px) {
    nav.main { display: none; }
    .hamburger { display: flex; }
    .header-actions .btn-wa { display: none; }
    .icon-search { display: none; }
    .header-actions { gap: 8px; }
    .checkout-layout { grid-template-columns: 1fr; }
    .summary-col { display: none; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .form-row.full { grid-template-columns: 1fr; }
    .form-group { margin-bottom: 14px; }
    .form-group input,
    .form-group select,
    .form-group textarea { padding: 12px 14px; font-size: 16px; }
    .form-section h3 { margin-top: 28px; margin-bottom: 16px; }
    .page-hero { padding: clamp(24px,4vw,44px) 0 clamp(20px,3vw,32px); }
    .btn-place-order { padding: 16px 20px; }
  }
  @media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .utility { font-size: 10px; letter-spacing: .12em; }
    .logo-mark .word { display: none; }
    .checkout-steps { display: none; }
    .confirm-wrap { padding-left: var(--pad); padding-right: var(--pad); }
    .form-row { grid-template-columns: 1fr; }
    .form-row.two-col-always { grid-template-columns: 1fr 1fr; }
    .form-group { margin-bottom: 12px; }
    .wrap { padding-left: 24px; padding-right: 24px; }
    .checkout-wrap { padding-top: 32px; }
  }
