:root {
  --forest: #11301d;
  --forest-dark: #0d2417;
  --cream: #f8f6ee;
  --card: #efece0;
  --ink: #141310;
  --muted: #5b6455;
  --lime: #b7de6f;
  --yellow: #f2df3a;
  --teal: #168579;
}

body.shop-page { margin: 0; background: var(--cream); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; }
body.shop-page *, body.shop-page *::before, body.shop-page *::after { box-sizing: border-box; }
.shop-nav { height: 82px; padding: 0 clamp(22px, 6vw, 88px); display: flex; align-items: center; justify-content: space-between; background: var(--forest-dark); color: white; }
.shop-logo { color: var(--cream); font: italic 600 28px 'Playfair Display', serif; text-decoration: none; }
.shop-nav-links { display: flex; gap: 32px; }
.shop-nav-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; }
.shop-nav-links a:hover { color: white; }
.shop-cart-link { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; color: var(--ink); text-decoration: none; }
.shop-cart-link svg { width: 19px; height: 19px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: #e36a4b; color: white; font-size: 11px; font-weight: 700; }
.page-shell { max-width: 1220px; margin: 0 auto; padding: 58px 32px 90px; }
.page-close { float: right; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #f1f1ed; color: #777b76; font-size: 30px; font-weight: 300; line-height: 1; cursor: pointer; }
.page-close:hover { background: #e5e8df; color: var(--ink); }
.crumbs { margin-bottom: 28px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--forest); text-decoration: none; font-weight: 600; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: clamp(38px, 7vw, 90px); align-items: center; }
.product-gallery { min-height: 610px; border-radius: 22px; background: radial-gradient(100% 90% at 50% 0%, #eef2e0, #e3e9d2); display: grid; place-items: center; overflow: hidden; position: relative; }
.product-gallery img { width: 100%; height: 100%; max-height: 650px; object-fit: contain; padding: 24px; filter: drop-shadow(0 22px 30px rgba(15,40,24,.24)); }
.product-tag { position: absolute; left: 26px; top: 26px; padding: 7px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.product-copy h1 { margin: 0 0 8px; font: 600 clamp(34px, 4vw, 50px)/1.08 'Playfair Display', serif; }
.product-price { font-size: 22px; font-weight: 600; }
.product-old-price { margin-left: 10px; color: var(--muted); font-size: 15px; text-decoration: line-through; }
.product-divider { border: 0; border-top: 1px solid rgba(20,19,16,.12); margin: 26px 0 20px; }
.product-copy p { color: #3f463e; line-height: 1.65; font-size: 15px; }
.product-copy h3 { margin: 24px 0 12px; font-size: 15px; }
.benefits { margin: 0; padding: 0; list-style: none; color: #3f463e; font-size: 14px; line-height: 1.8; }
.benefits li::before { content: '*'; margin-right: 8px; }
.ingredients { padding-top: 18px; border-top: 1px solid rgba(20,19,16,.12); }
.quantity-row { margin-top: 22px; padding: 10px 14px; border-radius: 13px; background: #f1f1ed; display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.quantity-control { display: inline-flex; align-items: center; gap: 12px; }
.quantity-control button { width: 36px; height: 36px; border: 1px solid rgba(20,19,16,.08); background: white; border-radius: 50%; font-size: 21px; cursor: pointer; }
.quantity-control input, .quantity-control span { width: 32px; text-align: center; border: 0; background: transparent; font: inherit; }
.add-to-cart { width: 100%; margin-top: 10px; border: 0; border-radius: 13px; padding: 17px 20px; background: var(--teal); color: white; font: 600 15px 'Inter', sans-serif; cursor: pointer; }
.add-to-cart:hover { background: #116e64; }
.cart-toast { position: fixed; z-index: 50; right: 24px; bottom: 24px; max-width: 340px; padding: 15px 18px; border-radius: 12px; background: var(--forest-dark); color: white; box-shadow: 0 15px 35px rgba(0,0,0,.22); font-size: 14px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.cart-toast.is-visible { opacity: 1; transform: translateY(0); }
.cart-page h1, .checkout-page h1 { margin: 0; font: 600 48px/1.1 'Playfair Display', serif; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin-top: 34px; }
.cart-items { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 90px minmax(0,1fr) auto auto; gap: 18px; align-items: center; padding: 16px; background: white; border: 1px solid rgba(20,19,16,.1); border-radius: 16px; position: relative; }
.cart-item img { width: 90px; height: 90px; object-fit: contain; border-radius: 10px; background: #e8ecd9; }
.cart-item-copy h2 { margin: 0 0 6px; font: 600 19px 'Playfair Display', serif; }
.cart-item-copy p { margin: 0; color: var(--muted); font-size: 14px; }
.cart-item > strong { white-space: nowrap; font-size: 15px; }
.cart-item .quantity-control { gap: 7px; }
.cart-item .quantity-control button { width: 30px; height: 30px; font-size: 18px; }
.remove-item { grid-column: 2; justify-self: start; padding: 0; background: none; border: 0; color: #a24f3c; cursor: pointer; font-size: 12px; }
.summary-card { padding: 26px; border-radius: 16px; background: #e9eee0; }
.summary-card h2 { margin: 0 0 22px; font: 600 26px 'Playfair Display', serif; }
.summary-line { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 14px; margin: 13px 0; }
.summary-total { display: flex; justify-content: space-between; border-top: 1px solid rgba(20,19,16,.15); padding-top: 18px; margin-top: 20px; font-weight: 700; }
.primary-link { display: block; margin-top: 22px; padding: 15px; border-radius: 11px; background: var(--teal); color: white; text-align: center; text-decoration: none; font-weight: 600; }
.empty-state { padding: 70px 20px; text-align: center; background: white; border: 1px solid rgba(20,19,16,.1); border-radius: 16px; }
.empty-state h2 { margin: 0 0 10px; font: 600 30px 'Playfair Display', serif; }
.empty-state p, .muted { color: var(--muted); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 42px; margin-top: 36px; align-items: start; }
.checkout-form { padding: 30px; background: white; border: 1px solid rgba(20,19,16,.1); border-radius: 16px; }
.checkout-form h2 { margin: 0 0 22px; font: 600 28px 'Playfair Display', serif; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field input { width: 100%; padding: 13px 14px; border: 1px solid #d9ddd3; border-radius: 9px; font: inherit; }
.checkout-submit { width: 100%; border: 0; padding: 15px; border-radius: 10px; background: var(--teal); color: white; font-weight: 600; cursor: pointer; }
.order-success { padding: 36px; border-radius: 16px; background: #e9eee0; }
.order-success h2 { margin-top: 0; font: 600 30px 'Playfair Display', serif; }
.checkout-summary { padding: 26px; border-radius: 16px; background: #e9eee0; }
.checkout-summary h2 { margin: 0 0 20px; font: 600 28px 'Playfair Display', serif; }
.checkout-summary [data-checkout-summary] > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(20,19,16,.1); font-size: 14px; }
.checkout-summary .summary-total { margin-top: 16px; }

@media (max-width: 800px) {
  .shop-nav-links { display: none; }
  .product-detail, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .product-gallery { min-height: 420px; }
  .cart-item { grid-template-columns: 72px minmax(0,1fr) auto; }
  .cart-item img { width: 72px; height: 72px; }
  .cart-item > strong { grid-column: 3; grid-row: 1; }
  .cart-item .quantity-control { grid-column: 2; justify-self: start; }
}

@media (max-width: 520px) {
  .page-shell { padding: 36px 20px 70px; }
  .cart-page h1, .checkout-page h1 { font-size: 39px; }
  .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}
