:root { --bg:#ffffff; --panel:#ffffff; --panel-2:#eef1ef; --border:#e3e8e4; --text:#16231d; --muted:#6a7a71; --brand:#00603a; --brand-2:#0e8f5a; --bad:#e03131; }
      * { box-sizing:border-box; }
      body { margin:0; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; background:var(--bg); color:var(--text); min-height:100vh; }
      a { color:inherit; text-decoration:none; }
      /* store header (logo + name) — matches the store / listing page */
      .storebar { border-bottom:1px solid var(--border); }
      .storebar .inner { max-width:980px; margin:0 auto; padding:16px 24px; display:flex; align-items:center; gap:13px; }
      .storebar .logo { width:46px; height:46px; border-radius:11px; object-fit:cover; border:1px solid var(--border); background:linear-gradient(135deg,var(--brand),var(--brand-2)); display:flex; align-items:center; justify-content:center; font-weight:800; color:#fff; font-size:20px; flex:none; }
      .storebar .snm { font-weight:700; font-size:17px; } .storebar .ssub { color:var(--muted); font-size:12px; margin-top:1px; }
      .back { max-width:980px; margin:0 auto; padding:14px 24px 0; } .back a { display:inline-flex; align-items:center; gap:6px; background:var(--panel-2); border:1px solid var(--border); color:var(--text); border-radius:9px; padding:8px 14px; font-size:13px; font-weight:600; } .back a:hover { border-color:var(--brand); color:var(--brand); }
      .wrap { max-width:980px; margin:0 auto; padding:14px 24px 30px; }

      .pd { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
      @media (max-width:760px){ .pd { grid-template-columns:1fr; gap:18px; } }
      @media (max-width:560px){ .wrap { padding:12px 16px 30px; } .pd h1 { font-size:22px; } .price { font-size:21px; } }
      .pd-main { border:1px solid var(--border); border-radius:16px; overflow:hidden; background:var(--panel-2); aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
      .pd-main img { width:100%; height:100%; object-fit:cover; } .pd-main .none { color:var(--muted); font-size:54px; }
      .pd-thumbs { display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
      .pd-thumbs img { width:66px; height:66px; object-fit:cover; border-radius:8px; border:2px solid var(--border); cursor:pointer; }
      .pd-thumbs img.active { border-color:var(--brand-2); }
      .pd h1 { margin:0 0 6px; font-size:26px; }
      .price { font-size:24px; font-weight:800; color:var(--brand-2); margin:4px 0 14px; }
      .desc { color:var(--muted); line-height:1.7; font-size:14px; }
      .opt-label { font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin:20px 0 8px; font-weight:700; display:flex; gap:8px; align-items:baseline; }
      .opt-label .req { color:var(--bad); font-size:11px; text-transform:none; letter-spacing:0; }
      .opts { display:flex; gap:8px; flex-wrap:wrap; }
      .opt { border:1px solid var(--border); background:var(--panel); color:var(--text); border-radius:9px; padding:9px 15px; font-size:13px; cursor:pointer; font-weight:600; }
      .opt.active { border-color:var(--brand-2); background:rgba(0,96,58,.25); }
      .opt.disabled { opacity:.35; cursor:not-allowed; text-decoration:line-through; }
      .swatch { display:flex; align-items:center; gap:8px; border:1px solid var(--border); background:var(--panel); border-radius:9px; padding:6px 13px 6px 6px; cursor:pointer; font-size:13px; font-weight:600; }
      .swatch.active { border-color:var(--brand-2); background:rgba(0,96,58,.25); }
      .swatch.disabled { opacity:.35; cursor:not-allowed; }
      .swatch img { width:30px; height:30px; border-radius:6px; object-fit:cover; } .swatch .dot { width:30px; height:30px; border-radius:6px; background:var(--panel-2); border:1px solid var(--border); }
      .avail { margin:16px 0 6px; font-size:14px; font-weight:600; }
      .avail.ok { color:var(--brand-2); } .avail.no { color:#e03131; }
      .qty { display:flex; align-items:center; gap:10px; margin:14px 0; }
      .qty button { width:34px; height:34px; border-radius:8px; border:1px solid var(--border); background:var(--panel); color:var(--text); font-size:18px; }
      .qty span { min-width:28px; text-align:center; font-weight:700; }
      .addbtn { width:100%; margin-top:8px; padding:14px; border:none; border-radius:12px; background:linear-gradient(135deg,var(--brand),var(--brand-2)); color:#fff; font-weight:700; font-size:15px; cursor:pointer; }
      .addbtn:disabled { opacity:.5; cursor:not-allowed; }
      .loading { color:var(--muted); padding:60px 24px; text-align:center; }
      .store-subfooter { border-top:1px solid var(--border); background:var(--panel); margin-top:34px; }
      .sf-inner { max-width:980px; margin:0 auto; padding:20px 24px; display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap; }
      .sf-left { display:flex; align-items:center; gap:12px; } .sf-name { font-weight:700; } .sf-addr { color:var(--muted); font-size:13px; margin-top:2px; max-width:380px; }
      .sf-right { display:flex; gap:14px; align-items:center; flex-wrap:wrap; } .sf-right a { display:inline-flex; align-items:center; transition:opacity .15s, transform .15s; } .sf-right a:hover { opacity:.8; transform:translateY(-1px); }

/* Inputs >=16px so mobile Safari does not zoom-scale on focus */
input,select,textarea{font-size:16px !important}
