:root{ --brand:#d71920; --ink:#151515; --line:#e5e7eb; --bg:#ffffff; --green:#4c7d41; --greenDark:#3f6c36; }
    *{ box-sizing:border-box }
    body{ margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:var(--ink); background:var(--bg); }

   header .nav{ background:var(--green); color:#fff; }
    header .nav > ul{
      list-style:none; margin:0; padding:10px 16px;
      max-width:1200px; margin-inline:auto;
      display:flex; align-items:center; gap:28px; flex-wrap:wrap;
    }
    header .nav > ul > li{ position:relative; }
    header .nav a{ color:#fff; text-decoration:none; font-weight:700; line-height:1.15; display:inline-block; }
    header .nav a:hover{ text-decoration:underline; }
    header .nav .badge{
      padding:8px 12px; border:2px solid rgba(255,255,255,.55);
      border-radius:14px; background:rgba(0,0,0,.15);
      font-weight:800; font-size:12px; white-space:nowrap;
    }
    header .nav .btn-ghost{
      padding:8px 12px; border:2px solid rgba(255,255,255,.7);
      border-radius:14px; background:transparent; color:#fff; font-weight:800;
    }
    header .nav .btn-ghost:hover{ background:rgba(0,0,0,.15); }
    header .nav ul ul{
      position:absolute; top:100%; left:0; z-index:20;
      display:none; min-width:220px; padding:10px; margin:0;
      list-style:none; background:var(--greenDark);
      border-radius:12px; box-shadow:0 10px 20px rgba(0,0,0,.2);
    }
    header .nav li:hover > ul{ display:block; }
    header .nav ul ul li{ padding:2px 0; }
    header .nav ul ul a{ font-weight:700; display:block; padding:6px 8px; border-radius:8px; }
    header .nav ul ul a:hover{ background:rgba(0,0,0,.15); text-decoration:none; }
    header .nav > ul > li[style*="margin-left:auto"]{ margin-left:auto !important; }
    @media (max-width:980px){
      header .nav > ul{ gap:18px; }
      header .nav ul ul{ position:static; display:block; background:transparent; box-shadow:none; padding:0; }
      header .nav ul ul a{ padding:6px 0; }
    }

    .hero-wrap{ width:100%; background:#000; }
    .hero-img{ width:100%; height:auto; display:block; object-fit: cover; border-bottom:1px solid var(--line); }

    .wrap{ max-width:1200px; margin:0 auto; padding:18px 16px 28px; }
    .grid{ display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:14px; }
    @media (max-width:1100px){ .grid{ grid-template-columns: repeat(3,1fr); } }
    @media (max-width:760px){ .grid{ grid-template-columns: repeat(2,1fr); } }
    @media (max-width:480px){ .grid{ grid-template-columns: 1fr; } }

    .card{
      border:1px solid var(--line);
      border-radius:14px;
      background:#fff;
      overflow:hidden;
      transition:transform .12s ease, box-shadow .12s ease;
      display:flex; flex-direction:column;
    }
    .card:hover{ transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.08); }

    .card-img{
      width:100%;
      aspect-ratio: 1 / 1;
      background:#f8fafc;
      display:flex; align-items:center; justify-content:center;
      overflow:hidden;
      border-bottom:1px solid var(--line);
    }
    .card-img img{ width:100%; height:100%; object-fit:cover; display:block; }

    .card-body{ padding:10px 12px; display:grid; gap:6px; }
    .card-title{ font-weight:900; font-size:15px; line-height:1.25; margin-bottom:2px; }
    .meta-row{ display:flex; justify-content:space-between; align-items:center; font-size:13px; font-weight:800; }
    .meta-label{ color:#6b7280; font-weight:700; }
    .mini2{ font-size:12px; color:#6b7280; }
    .strike{ text-decoration:line-through; color:#9ca3af; font-weight:700; }

    .actions{ display:flex; gap:8px; align-items:center; margin-top:4px; }
    .qty{ width:70px; height:36px; padding:6px 8px; border:1px solid var(--line); border-radius:8px; }
    .btn-cart{
      height:36px; padding:0 12px;
      border-radius:10px; border:1px solid var(--brand);
      background:var(--brand); color:#fff; font-weight:800; cursor:pointer;
      white-space:nowrap;
    }
    .btn-cart[disabled]{ opacity:.5; cursor:not-allowed; }

    .disc-badge{
      display:inline-block; font-size:11px; font-weight:900;
      color:#fff; background:#d71920; padding:3px 6px; border-radius:6px;
      letter-spacing:.2px;
    }

    /* footer */
    .site-footer{ background:#003300; color:#fff; border-top:none; margin-top:20px; }
    .foot-wrap{ max-width:1200px; margin:0 auto; padding:26px 16px; display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:20px; }
    .foot-col h4{ margin:0 0 10px; font-size:14px; text-transform:uppercase; letter-spacing:.3px; color:#f1f5f9; }
    .foot-col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
    .foot-col a{ font-size:14px; color:#cbd5e1; text-decoration:none; }
    .foot-col a:hover{ color:#ffffff; text-decoration:underline; }
    .foot-bottom{ border-top:1px solid rgba(255,255,255,.25); padding:14px 16px; text-align:center; color:#cbd5e1; font-size:13px; }
    @media (max-width:980px){ .foot-wrap{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
    @media (max-width:600px){ .foot-wrap{ grid-template-columns: 1fr; } }

    /* cart UI */
    .cartbar{ position:fixed; right:16px; bottom:16px; background:#fff; border:1px solid var(--line); box-shadow:0 10px 30px rgba(0,0,0,.12); border-radius:14px; padding:10px 12px; display:flex; align-items:center; gap:8px; z-index:60; cursor:pointer; }
    .cartbadge{ min-width:24px; height:24px; border-radius:999px; background:#d71920; color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; }
    .toast{ position:fixed; left:50%; transform:translateX(-50%); bottom:90px; background:#111; color:#fff; padding:10px 14px; border-radius:10px; font-size:13px; opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; z-index:61; }
    .toast.show{ opacity:1; transform:translate(-50%, -6px); }
    .cart-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.35); opacity:0; pointer-events:none; transition:opacity .2s ease; z-index:80; }
    .cart-backdrop.show{ opacity:1; pointer-events:auto; }
    .cart-panel{ position:fixed; top:0; right:0; height:100vh; width:min(560px, 100vw); background:#fff; box-shadow:-12px 0 40px rgba(0,0,0,.18); border-left:1px solid var(--line); transform:translateX(100%); transition: transform .22s ease; z-index:81; display:flex; flex-direction:column; }
    .cart-panel.show{ transform:translateX(0); }
    .cart-head{ padding:14px 16px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
    .cart-head h3{ margin:0; font-size:18px; }
    .cart-close{ border:none; width:36px; height:36px; border-radius:8px; background:#f3f4f6; cursor:pointer; font-size:20px; line-height:1; }
    .cart-body{ padding:12px 16px; overflow:auto; }
    .cart-foot{ padding:14px 16px; border-top:1px solid var(--line); display:grid; gap:10px; }
    table.cart-table{ width:100%; border-collapse:collapse; }
    .cart-table th, .cart-table td{ padding:10px; border-bottom:1px solid var(--line); text-align:left; vertical-align:middle; }
    .cart-table th{ font-size:12px; text-transform:uppercase; letter-spacing:.3px; color:#6b7280; }
    .cart-img{ width:56px; height:56px; border:1px solid var(--line); border-radius:8px; object-fit:cover; display:block; }
    .qty-box{ display:flex; align-items:center; gap:6px; }
    .qty-box input{ width:64px; height:36px; padding:6px 8px; border:1px solid var(--line); border-radius:8px; }
    .link{ color:#2563eb; text-decoration:underline; cursor:pointer; }

    .min-order-note{
      font-size:12px; color:#6b7280;
      background:#f8fafc; padding:8px 10px; border-radius:8px; border:1px dashed var(--line);
    }
    .min-order-note.ok{ color:#0f766e; border-style:solid; }
    .min-order-note.bad{ color:#b91c1c; border-style:solid; background:#fff5f5; }
    
    /* quick minimal layout for checkout page */
    .checkout-wrap { max-width:1200px; margin:18px auto; display:grid; grid-template-columns: 1fr 420px; gap:18px; padding:0 12px; }
    @media (max-width:980px){ .checkout-wrap { grid-template-columns: 1fr; } }
    .panel { background:#fff; border:1px solid #e6e8eb; padding:14px; border-radius:10px; }
    .field{
  display:block;
  margin-bottom:10px;
}

/* Make all form controls look identical in width & height */
.field input,
.field textarea,
.field select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #e6e8eb;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.4;
  display: block;
}


    #checkout-summary { padding:8px; }
    table.checkout-cart{ width:100%; border-collapse:collapse; }
    .cart-img{ width:56px; height:56px; object-fit:cover; border:1px solid #eef2ff; border-radius:6px; }
    .btn { padding:10px 14px; border-radius:8px; border:none; cursor:pointer; background:#d71920; color:#fff; font-weight:800; }