:root{
  --ink:#22303c; --muted:#6b7280; --brand:#0e5f56; --brand-dark:#0a463f;
  --accent:#e8762b; --bg:#faf8f4; --card:#ffffff; --line:#e8e2d8; --radius:12px;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.6}
.container{max-width:1140px;margin:0 auto;padding:0 20px}
.container.narrow{max-width:860px}
a{color:var(--brand);text-decoration:none}
img{max-width:100%;display:block}

/* header */
.site-header{background:var(--card);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{font-size:26px;font-weight:800;color:var(--ink);letter-spacing:-.5px}
.logo-paw{color:var(--accent)}
.main-nav{display:flex;gap:28px}
.main-nav a{color:var(--ink);font-weight:500}
.main-nav a:hover{color:var(--brand)}
.cart-link{font-weight:600;color:var(--ink);background:#f1ece3;padding:8px 16px;border-radius:999px}
.cart-link:hover{background:#e7dfd2}

/* hero */
.hero{background:var(--brand);color:#fff;padding:64px 0}
.hero-inner{display:flex;gap:40px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.hero-text{max-width:560px}
.hero-text h1{font-size:46px;line-height:1.15;margin-bottom:16px;letter-spacing:-1px}
.hero-text p{font-size:18px;opacity:.92;margin-bottom:24px}
.hero-badges{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hero-badge{background:rgba(255,255,255,.14);padding:14px 18px;border-radius:var(--radius);font-weight:600}
.btn{display:inline-block;padding:14px 30px;border-radius:999px;font-weight:700;font-size:16px;border:none;cursor:pointer;text-align:center}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:#d1651f;color:#fff}
.btn-dark{background:var(--ink);color:#fff;width:100%;margin-top:10px}
.btn-dark:hover{background:#16222d;color:#fff}

/* perks */
.perks{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:32px auto}
.perk{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px;display:flex;gap:12px;align-items:center}
.perk-icon{font-size:28px}
.perk strong{display:block;font-size:15px}
.perk span{font-size:13px;color:var(--muted)}

/* product grid */
.section-title{font-size:30px;margin:40px 0 8px;letter-spacing:-.5px}
.cat-row{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 20px}
.cat-chip{background:#f1ece3;color:var(--ink);padding:8px 16px;border-radius:999px;font-size:14px;font-weight:500}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:40px}
.product-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;color:var(--ink);transition:transform .15s,box-shadow .15s}
.product-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.card-img{aspect-ratio:1;background:#f4f1ea;display:flex;align-items:center;justify-content:center}
.card-img img{width:100%;height:100%;object-fit:cover}
.card-body{padding:14px}
.card-cat{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}
.card-name{font-weight:700;margin:4px 0;font-size:15px;line-height:1.35;min-height:40px}
.card-price{font-size:19px;font-weight:800;color:var(--brand)}
.card-stock{font-size:13px;color:#15803d;font-weight:600;margin-top:4px}

/* why */
.why{background:var(--card);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0 50px;margin-top:20px}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.why-card{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.why-card h3{margin-bottom:8px}

/* footer */
.site-footer{background:var(--ink);color:#cfd8e0;margin-top:60px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;padding:44px 20px}
.site-footer h4{color:#fff;margin-bottom:10px;font-size:15px}
.site-footer a{display:block;color:#cfd8e0;font-size:14px;margin-bottom:6px}
.site-footer a:hover{color:#fff}
.site-footer .logo{color:#fff}
.footer-bottom{border-top:1px solid #3a4a5a;padding:16px 20px;font-size:13px;color:#9fb0bf}

/* product page */
.breadcrumb{padding:18px 20px;font-size:14px;color:var(--muted)}
.breadcrumb a{color:var(--muted)}
.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:44px;margin-bottom:40px}
.main-img{width:100%;border-radius:var(--radius);border:1px solid var(--line);background:#f4f1ea;aspect-ratio:1;object-fit:cover}
.thumbs{display:flex;gap:10px;margin-top:10px}
.thumb{width:72px;height:72px;object-fit:cover;border-radius:8px;border:2px solid var(--line);cursor:pointer;background:#f4f1ea}
.thumb.active{border-color:var(--accent)}
.p-cat{color:var(--muted);text-transform:uppercase;font-size:13px;letter-spacing:.5px}
.product-info h1{font-size:28px;line-height:1.3;margin:8px 0 12px;letter-spacing:-.3px}
.p-price-row{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.p-price{font-size:32px;font-weight:800;color:var(--brand)}
.p-stock{color:#15803d;font-weight:600;font-size:14px}
.p-bullets{margin:0 0 20px 20px}
.p-bullets li{margin-bottom:6px}
.buy-row{display:flex;gap:12px;margin-bottom:4px}
.qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#fff}
.qty button{width:42px;height:48px;border:none;background:none;font-size:20px;cursor:pointer;color:var(--ink)}
.qty input{width:44px;text-align:center;border:none;font-size:16px;font-weight:700}
.btn-add{flex:1}
.p-meta{margin-top:18px;font-size:14px;color:var(--muted);display:grid;gap:6px}
.product-desc{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px;margin-bottom:20px}
.product-desc h2{margin-bottom:10px}
.product-desc h3{margin:18px 0 8px}
.spec-table{width:100%;border-collapse:collapse;font-size:14px}
.spec-table td{border:1px solid var(--line);padding:8px 12px}
.spec-table td:first-child{background:var(--bg);font-weight:600;width:160px}

/* cart */
.page-title{margin:32px 0 20px;font-size:30px}
.cart-empty{text-align:center;padding:60px 0;color:var(--muted)}
.cart-empty .btn{margin-top:16px}
.ship-progress{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px 18px;margin-bottom:16px;font-size:14px}
.ship-bar{height:8px;background:#eee;border-radius:99px;margin-top:8px;overflow:hidden}
.ship-bar i{display:block;height:100%;background:var(--brand);border-radius:99px}
.cart-item{display:grid;grid-template-columns:96px 1fr auto;gap:16px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin-bottom:12px;align-items:center}
.cart-item img{width:96px;height:96px;object-fit:cover;border-radius:8px;background:#f4f1ea}
.ci-name{font-weight:700}
.ci-price{color:var(--muted);font-size:14px}
.ci-qty{display:flex;align-items:center;gap:8px;margin-top:8px}
.ci-qty button{width:28px;height:28px;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:pointer}
.ci-right{text-align:right}
.ci-total{font-weight:800;font-size:18px}
.ci-remove{background:none;border:none;color:var(--muted);cursor:pointer;font-size:13px;margin-top:6px;text-decoration:underline}
.cart-summary{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-top:8px}
.sum-row{display:flex;justify-content:space-between;margin-bottom:8px;font-size:15px}
.sum-row.muted{color:var(--muted)}
.sum-row.total{font-size:19px;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
.btn-checkout{width:100%;margin:12px 0}
.link-back{display:block;text-align:center;font-size:14px}

/* checkout */
.checkout-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;margin-bottom:50px}
.checkout-form h3{margin:20px 0 10px;font-size:17px}
.checkout-form input,.checkout-form textarea{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:8px;font-size:15px;margin-bottom:10px;background:#fff}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.radio{display:flex;gap:10px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin-bottom:10px;font-size:14px;cursor:pointer}
.radio input{width:auto;margin:0}
.secure-note{font-size:13px;color:var(--muted);margin:6px 0 14px}
.btn-place{width:100%}
.order-summary{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;align-self:start;position:sticky;top:84px}
.order-summary h3{margin-bottom:12px}
.co-line{display:flex;justify-content:space-between;font-size:14px;margin-bottom:8px;gap:10px}
.co-line span:first-child{color:var(--muted)}

/* confirmation */
.confirm{text-align:center;padding:60px 20px}
.confirm-icon{width:72px;height:72px;border-radius:50%;background:#15803d;color:#fff;font-size:36px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.confirm h1{margin-bottom:12px}
.confirm-box{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin:24px auto;max-width:520px;text-align:left;display:grid;gap:8px;font-size:14px}
.confirm .btn{margin-top:8px}

@media(max-width:900px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .product-layout,.checkout-layout{grid-template-columns:1fr}
  .perks{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero-text h1{font-size:34px}
  .main-nav{display:none}
}
