:root {
  --primary: #4d6b2b;
  --tint: color-mix(in srgb, var(--primary) 10%, #fff);
  --tint-2: color-mix(in srgb, var(--primary) 6%, #fff);
  --accent: #8c2f2b;
  --text: #222433;
  --muted: #6b6f80;
  --line: #e4e6ee;
  --bg-soft: #f6f7fb;
  --green: #3d9a5c;
  --green-bg: #4a9f68;
  --danger: #d64545;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 20, 60, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Nunito Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--text); background: #fff; font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.green { color: var(--green); }
.text-danger { color: var(--danger); }
.mt { margin-top: 20px; }
.mt-xs { margin-top: 4px; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 8px; border: 1.5px solid transparent; font-weight: 700; cursor: pointer; transition: .15s; font-size: 15px; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(1.15); }
.btn-outline { background: #fff; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--bg-soft); }
.btn-disabled { background: #e8e8ee; color: #999; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary); cursor: pointer; font-weight: 600; font-size: 13px; text-decoration: underline; }
.icon-btn { background: none; border: 0; cursor: pointer; padding: 6px; display: inline-flex; }

/* ---------- header ---------- */
.announce { background: var(--primary); color: #fff; text-align: center; font-weight: 700; font-size: 14px; padding: 6px 16px; overflow: hidden; }
.announce-track span + span { display: none; }
@media (max-width: 900px) {
  /* phones: single-line scrolling ticker (two copies loop seamlessly) */
  .announce { padding: 7px 0; font-size: 13px; }
  .announce-track { display: flex; width: max-content; animation: announce-scroll 22s linear infinite; }
  .announce-track span { white-space: nowrap; padding-right: 60px; }
  .announce-track span + span { display: inline; }
  .announce:hover .announce-track, .announce:active .announce-track { animation-play-state: paused; }
}
@keyframes announce-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none !important; width: auto; }
  .announce-track span { white-space: normal; padding-right: 0; }
  .announce-track span + span { display: none !important; }
}
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-main { display: flex; align-items: center; gap: 22px; height: 78px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 54px; width: auto; }
.drawer-logo { height: 40px; width: auto; }
.delivery-pill { background: var(--tint); border-radius: 8px; padding: 6px 14px; line-height: 1.3; display: flex; flex-direction: column; flex-shrink: 0; }
.delivery-pill strong { font-size: 12px; color: var(--primary); }
.delivery-pill small { font-size: 13px; }
.header-spacer { flex: 1; }
.header-main .search { flex: 0 1 720px; }
.dd { position: relative; }
.dd-trigger { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 600; padding: 10px 0; }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.dd-panel { position: absolute; top: 100%; left: 0; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: none; z-index: 60; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { display: grid; }
.dd-right .dd-panel { left: auto; right: 0; }
.dd-grid { grid-template-columns: repeat(3, 180px); gap: 4px 14px; }
.dd-list { min-width: 170px; gap: 2px; }
.dd-panel a { padding: 7px 8px; border-radius: 6px; font-size: 14px; }
.dd-panel a:hover { background: var(--bg-soft); color: var(--primary); }
.dd-all { grid-column: 1 / -1; font-weight: 700; color: var(--primary); }
.offers-pill { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 75%, #fff)); color: #fff; font-weight: 800; padding: 6px 20px; border-radius: 6px; letter-spacing: .5px; transform: skew(-6deg); }
.search { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid #d8dae3; border-radius: 8px; padding: 0 14px; height: 46px; min-width: 0; }
.search input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 15px; background: transparent; }
.search:focus-within { border-color: var(--primary); }
.search { position: relative; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 70vh; overflow-y: auto; z-index: 70; padding: 6px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 6px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.sg-chip { background: var(--bg-soft); border-radius: 20px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.sg-chip:hover, .sg-chip.active { background: var(--tint); color: var(--primary); }
.sg-item { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 8px; }
.sg-item:hover, .sg-item.active { background: var(--bg-soft); }
.sg-item img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; flex-shrink: 0; background: #fff; }
.sg-info { display: flex; flex-direction: column; min-width: 0; }
.sg-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-var { font-size: 12px; color: var(--muted); }
.sg-price { font-size: 13px; }
.sg-price s { color: var(--muted); }
.sg-price em { font-style: normal; color: var(--green); font-weight: 700; }
.sg-all { display: block; text-align: center; padding: 10px; font-weight: 700; color: var(--primary); border-top: 1px solid var(--line); margin-top: 4px; }
.sg-all.active, .sg-all:hover { background: var(--bg-soft); }
.sg-empty { padding: 16px; text-align: center; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.account-link { font-size: 17px; }
.cart-link { position: relative; display: flex; }
.cart-count { position: absolute; top: -6px; right: -8px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.menu-toggle { display: none; }

.cat-nav { border-top: 1px solid var(--line); }
.cat-nav-inner { display: flex; justify-content: space-between; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-item { position: relative; flex: 1 1 0; min-width: 96px; }
.cat-item > a { display: block; padding: 12px 6px; text-align: center; font-size: 15px; line-height: 1.35; border-bottom: 3px solid transparent; }
.cat-item > a:hover { color: var(--primary); border-color: var(--primary); }
.cat-panel { display: none; position: fixed; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-width: 220px; z-index: 60; }
.cat-item:hover .cat-panel { display: grid; }
.cat-panel a { padding: 7px 10px; border-radius: 6px; font-size: 14px; }
.cat-panel a:hover { background: var(--bg-soft); color: var(--primary); }

/* drawer */
.drawer { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 100; display: none; }
.drawer.open { display: block; }
.drawer-panel { background: #fff; width: 86%; max-width: 340px; height: 100%; overflow-y: auto; padding-bottom: 30px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--primary); color: #fff; }
.drawer-head .icon-btn { color: #fff; font-size: 18px; }
.drawer-link { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.drawer-title { padding: 14px 18px 6px; font-weight: 800; font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .6px; }

/* ---------- sections ---------- */
.section { padding: 26px 16px; }
.section-tight { padding-top: 24px; }
.section-title { font-size: 24px; font-weight: 600; margin: 0 0 18px; color: #333; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.view-all { color: var(--primary); font-weight: 700; font-size: 14px; }
.bolt { color: #f5a623; }
.page-title { font-size: 26px; margin: 0 0 18px; }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); background: var(--bg-soft); border-radius: var(--radius); }
.empty-icon { font-size: 48px; }
.center-box { text-align: center; }
.big-404 { font-size: 90px; margin: 0; color: var(--primary); }

/* hero slider */
.hero { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.hero-track { display: flex; transition: transform .5s ease; }
.hero-slide { flex: 0 0 100%; }
.hero-slide img { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.slider-arrow, .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; font-size: 24px; line-height: 1; color: var(--primary); display: grid; place-items: center; z-index: 2; }
.slider-arrow.prev { left: 14px; } .slider-arrow.next { right: 14px; }
.hero-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .7); cursor: pointer; padding: 0; transition: .3s; }
.hero-dots button.active { width: 26px; background: var(--primary); }

.promo-grid { display: grid; gap: 20px; }
.promo-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.promo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.promo-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.promo img { width: 100%; border-radius: 14px; aspect-ratio: 7 / 1; object-fit: cover; }
.promo-grid.cols-3 .promo img, .promo-grid.cols-4 .promo img { aspect-ratio: 2 / 1; }
.promo-grid.cols-1 .promo img { aspect-ratio: 6 / 1; }

/* carousels */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 10px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex-shrink: 0; }
.carousel-arrow.prev { left: -14px; } .carousel-arrow.next { right: -14px; }
.carousel-arrow[disabled] { opacity: 0; pointer-events: none; }
.carousel-cell { width: calc((100% - 80px) / 5); min-width: 220px; }
.tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.tile-wide { width: calc((100% - 40px) / 2.6); min-width: 280px; aspect-ratio: 2.1 / 1; }
.tile-tall { width: calc((100% - 80px) / 4.6); min-width: 190px; aspect-ratio: 1 / 1.3; }
.tile-circle { width: 130px; text-align: center; }
.tile-circle img { border-radius: 50%; aspect-ratio: 1; height: auto; background: var(--bg-soft); }
.tile-circle span { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; }
.brand-tile { width: 150px; height: 90px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 12px; font-weight: 800; color: var(--primary); text-align: center; }
.brand-tile img { max-height: 60px; object-fit: contain; }

/* product card */
.pcard { border-radius: 12px; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.pcard-img { position: relative; border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 1; display: grid; place-items: center; padding: 18px; background: #fff; overflow: hidden; }
.pcard-img img { max-height: 100%; object-fit: contain; transition: transform .3s; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pbadge { position: absolute; top: 0; left: 0; font-size: 15px; font-weight: 800; padding: 4px 12px; border-radius: 12px 0 10px 0; z-index: 1; }
.badge-default { background: #fff1cc; color: #e08a00; }
.badge-lowest { background: #fff1cc; color: #f08c00; }
.badge-tested { background: var(--primary); color: #fff; }
.badge-best { background: var(--tint); color: var(--primary); }
.badge-new { background: #e0f6ea; color: var(--green); }
.prating { position: absolute; bottom: 8px; left: 8px; background: #f3f3f6; border-radius: 6px; padding: 2px 8px; font-size: 14px; font-weight: 600; }
.prating b { color: var(--green); }
.pcard-title { display: block; margin-top: 12px; font-size: 16px; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-title:hover { color: var(--primary); }
.pcard-variant { color: var(--muted); font-size: 14px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; margin: 6px 0 12px; }
.pcard-price strong { font-size: 19px; font-weight: 700; }
.pcard-price s { font-size: 13.5px; color: var(--muted); }
.pcard-off { font-size: 13.5px; font-weight: 800; color: var(--green); }
.off-tag { background: var(--green-bg); color: #fff; font-weight: 800; font-size: 13px; padding: 2px 6px; border-radius: 4px; }
.off-tag.lg { font-size: 16px; padding: 3px 8px; vertical-align: middle; }
.pcard-delivery { font-size: 13px; color: var(--muted); margin: 8px 0 10px; }
.pcard-delivery strong { color: var(--text); font-weight: 600; }
.pcard .btn { margin-top: auto; }

/* listing */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; font-size: 15px; color: #444; }
.crumbs a:hover { color: var(--primary); }
.crumbs .current { color: #555; }
.cat-banner img { width: 100%; border-radius: 14px; margin-bottom: 18px; }
.listing { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding-bottom: 30px; }
.listing-main { min-width: 0; }
.filters { border: 1px solid var(--line); border-radius: 12px; padding: 16px; align-self: start; position: sticky; top: 150px; }
.filter-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.filter-head a { color: var(--primary); font-size: 13px; font-weight: 700; }
.filter-block { border-top: 1px solid var(--line); padding: 12px 0; }
.filter-block h4 { margin: 0 0 8px; font-size: 14px; }
.filter-block summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14.5px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.filter-block summary::-webkit-details-marker { display: none; }
.filter-block summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: .2s; margin-right: 4px; }
.filter-block[open] summary::after { transform: rotate(-135deg); }
.filter-block[open] summary { margin-bottom: 8px; }
.filter-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 11px; margin-left: 4px; vertical-align: 1px; }
.filter-link { display: block; padding: 5px 10px; margin: 0 -10px; font-size: 14px; border-radius: 6px; }
.filter-link:hover { color: var(--primary); background: var(--tint-2); }
.filter-link.active { color: var(--primary); background: var(--tint); font-weight: 700; }
.check input { accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }
.check:hover { color: var(--primary); }
.stars-sm { color: #f5a623; letter-spacing: 1px; }
.filter-scroll { max-height: 240px; overflow-y: auto; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 3px 0; cursor: pointer; }
.price-range { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.price-range input { flex: 1; min-width: 0; width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 6px; -moz-appearance: textfield; }
.price-range input::-webkit-inner-spin-button, .price-range input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.price-range input:focus { outline: 0; border-color: var(--primary); }
.price-range span { color: var(--muted); }
.price-range .btn { padding: 7px 10px; flex-shrink: 0; }
.listing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.listing-head h1 { margin: 0; font-size: 24px; }
.listing-tools { display: flex; gap: 8px; }
.listing-tools select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.listing-intro { margin-bottom: 16px; color: #555; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 26px 20px; }
.product-grid > * { min-width: 0; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; }
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.show-sm { display: none; }
.offer-coupons { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 22px; }
.offer-coupon { border: 1.5px dashed var(--accent); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; background: color-mix(in srgb, var(--accent) 5%, #fff); }
.offer-coupon strong { font-size: 20px; color: var(--accent); }
.offer-coupon code { align-self: flex-start; background: #fff; border: 1px solid var(--line); padding: 2px 10px; border-radius: 6px; font-weight: 700; }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.brand-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.brand-card:hover { box-shadow: var(--shadow); }
.brand-card img { height: 60px; object-fit: contain; }
.brand-initial { width: 60px; height: 60px; border-radius: 50%; background: var(--tint); color: var(--primary); font-size: 26px; font-weight: 800; display: grid; place-items: center; }

/* ---------- PDP ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 16px 0 30px; }
.pdp-gallery { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-self: start; position: sticky; top: 150px; }
.thumbs { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; max-height: 560px; overflow-y: auto; }
.thumb { border: 1.5px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; cursor: pointer; aspect-ratio: 1; }
.thumb.active { border-color: var(--primary); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.main-img { position: relative; border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 1; display: grid; place-items: center; padding: 30px; }
.main-img > img { max-height: 100%; object-fit: contain; }
.main-img .pbadge { top: 18px; left: 18px; border-radius: 6px; }
.share-btn { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.pdp-info h1 { font-size: 28px; font-weight: 600; margin: 0 0 10px; line-height: 1.3; }
.brand-link { font-size: 17px; }
.brand-link strong { color: var(--primary); }
.pdp-rating { margin-top: 8px; color: var(--muted); }
.stars { color: #f5a623; letter-spacing: 1px; }
.pdp-price-block { border-top: 1px solid var(--line); margin-top: 18px; padding: 18px 0; }
.pdp-price span[data-price] { font-size: 34px; font-weight: 600; }
.pdp-mrp { color: var(--muted); font-size: 16px; }
.pdp-delivery { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; color: var(--muted); }
.pdp-delivery strong { color: var(--text); }
.coupon-box { margin: 18px 0; border: 1px dashed color-mix(in srgb, var(--accent) 55%, #fff); border-radius: 12px; background: linear-gradient(180deg, #fff 40%, color-mix(in srgb, var(--accent) 7%, #fff)); max-width: 540px; overflow: hidden; }
.coupon-top { display: flex; justify-content: space-between; align-items: center; padding-right: 14px; }
.coupon-tag { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 75%, #fff)); color: #fff; font-weight: 800; padding: 6px 14px; border-radius: 0 0 10px 0; }
.coupon-body { padding: 10px 16px 14px; font-size: 18px; }
.coupon-body .save { color: var(--green); font-weight: 800; }
.coupon-code { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 2px 10px; font-size: 15px; margin-top: 6px; }
.opt-group { border-top: 1px solid var(--line); padding: 16px 0; }
.opt-label { color: var(--muted); font-size: 17px; margin-bottom: 12px; }
.opt-label strong { color: var(--text); }
.opt-list { display: flex; flex-wrap: wrap; gap: 12px; }
.opt-btn { padding: 10px 22px; border: 1.5px dashed #ccc; background: #f0f0f2; border-radius: 8px; cursor: pointer; font-size: 16px; color: #888; }
.opt-btn.available { border-style: solid; background: #fff; color: var(--text); border-color: #cfd1dc; }
.opt-btn.active { border: 1.5px solid var(--primary); background: var(--tint); color: var(--primary); font-weight: 600; }
.opt-card { border: 1.5px dashed #ccc; border-radius: 10px; background: #fff; padding: 0; cursor: pointer; text-align: left; width: 165px; overflow: hidden; }
.opt-card-head { display: block; padding: 10px 14px; background: #eee; font-size: 16px; }
.opt-card-body { display: block; padding: 10px 14px; font-size: 13px; min-height: 60px; }
.opt-card-body b { font-size: 20px; font-weight: 600; display: block; }
.opt-card.available { border-style: solid; border-color: #cfd1dc; }
.opt-card.active { border: 1.5px solid var(--primary); }
.opt-card.active .opt-card-head { background: var(--tint); }
.opt-card .sold { color: var(--danger); }
.pdp-stock { font-size: 14px; min-height: 20px; margin-bottom: 8px; }
.pdp-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pdp-actions .btn { flex: 1; min-width: 150px; }
.qty { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; height: 50px; }
.qty button { width: 38px; border: 0; background: var(--bg-soft); cursor: pointer; font-size: 18px; }
.qty input { width: 44px; text-align: center; border: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.promise-wrap { margin-top: 26px; }
.promise-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.promise-head h3 { margin: 0; font-size: 19px; font-weight: 700; }
.promise-head .chip { white-space: nowrap; flex-shrink: 0; }
.promise { border: 1px solid #dfe6ee; border-radius: 14px; overflow: hidden; }
.chip { background: var(--tint); color: var(--primary); border-radius: 20px; padding: 3px 12px; font-size: 13px; font-weight: 600; }
.promise-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--tint); padding: 16px 6px; text-align: center; font-weight: 600; font-size: 14px; color: #333; }
.promise .pi { display: flex; justify-content: center; align-items: center; height: 36px; margin-bottom: 8px; color: var(--primary); }
.promise .pi svg { height: 32px; width: auto; }
.promise-info { display: inline-grid; vertical-align: -3px; margin-left: 4px; color: var(--muted); cursor: help; }
.promise-foot { padding: 12px 16px; font-size: 14px; color: #555; background: #fff; }
.accordions { border-top: 1px solid var(--line); margin-top: 10px; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 4px; font-size: 20px; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid #555; border-bottom: 2px solid #555; transform: rotate(45deg); transition: .2s; margin-top: 6px; }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc .rich { padding: 0 4px 20px; }
.rich { line-height: 1.7; color: #444; overflow-wrap: anywhere; }
.rich img { max-width: 100%; height: auto; }
.rich table { border-collapse: collapse; width: 100%; }
.rich td, .rich th { border: 1px solid var(--line); padding: 8px; }
.sticky-buy { display: none; }
.sticky-qty { display: none; }

.reviews-grid { display: grid; grid-template-columns: 320px 1fr; gap: 30px; }
.review-summary { border: 1px solid var(--line); border-radius: 12px; padding: 20px; align-self: start; }
.big-rating { font-size: 46px; font-weight: 800; }
.big-rating small { font-size: 18px; color: var(--muted); }
.review-form { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.review-form input, .review-form textarea { border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.star-input input { display: none; }
.star-input label { font-size: 28px; color: #ccc; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5a623; }
.review { border-bottom: 1px solid var(--line); padding: 14px 0; }
.review p { margin: 6px 0; }
.rating-pill { background: var(--green-bg); color: #fff; font-size: 12px; padding: 2px 7px; border-radius: 4px; font-weight: 800; }

/* ---------- cart / checkout ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card-pad { padding: 22px; }
.card h3 { margin: 0 0 14px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 90px; height: 90px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.cart-line-title { font-weight: 600; }
.cart-line-price { margin-top: 4px; }
.cart-line-qty { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.cart-line-qty select { padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; }
.cart-line-total { font-weight: 800; min-width: 80px; text-align: right; }
.cart-summary { padding: 20px; position: sticky; top: 150px; }
.coupon-form { display: flex; gap: 8px; margin-bottom: 16px; }
.coupon-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px; text-transform: uppercase; }
.applied { background: #eaf7ef; border: 1px dashed var(--green); padding: 10px; border-radius: 8px; margin-bottom: 16px; }
.totals > div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals .grand { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; font-size: 19px; font-weight: 800; }
.totals .savings { background: #eaf7ef; color: var(--green); font-weight: 700; justify-content: center; border-radius: 8px; margin: 8px 0; }
.totals + .btn { margin-top: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label, .stack label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form-grid input, .form-grid textarea, .form-grid select, .stack input, .stack textarea, .stack select, .track-form input { border: 1px solid #d5d7e1; border-radius: 8px; padding: 11px 12px; font-weight: 400; background: #fff; }
.form-grid input:focus, .stack input:focus, .form-grid textarea:focus, .form-grid select:focus { outline: 2px solid color-mix(in srgb, var(--primary) 30%, transparent); border-color: var(--primary); }
.span-2 { grid-column: span 2; }
.field-error { color: var(--danger); font-size: 13px; font-weight: 600; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 10px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--tint-2); }
.pay-option input { margin-top: 4px; accent-color: var(--primary); }
.pay-option small { display: block; color: var(--muted); }
.mini-lines { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.mini-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; position: relative; }
.mini-line img { width: 54px; height: 54px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }
.qty-badge { position: absolute; left: 42px; top: -6px; background: var(--muted); color: #fff; font-size: 11px; border-radius: 10px; min-width: 20px; text-align: center; padding: 0 5px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.auth-card { max-width: 440px; margin: 10px auto; }
.pay-amount { font-size: 40px; font-weight: 800; color: var(--primary); margin: 10px 0; }
.success-hero { text-align: center; padding: 10px 0 24px; }
.tick { width: 72px; height: 72px; border-radius: 50%; background: var(--green-bg); color: #fff; font-size: 40px; display: grid; place-items: center; margin: 0 auto 10px; }
.order-head { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.order-head .right { text-align: right; }
.order-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 14px; }
.status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 800; background: #eee; }
.status-pending { background: #fff4d6; color: #a46b00; }
.status-confirmed, .status-processing { background: #e7ecff; color: #3346a8; }
.status-shipped { background: #e4f4ff; color: #106ba3; }
.status-delivered { background: #e0f6ea; color: #1f7a45; }
.status-cancelled { background: #fde6e6; color: #b42323; }
.progress-steps { display: flex; justify-content: space-between; margin: 10px 0 20px; position: relative; }
.pstep { flex: 1; text-align: center; font-size: 13px; color: var(--muted); position: relative; }
.pstep span { display: block; width: 16px; height: 16px; border-radius: 50%; background: #ddd; margin: 0 auto 6px; position: relative; z-index: 1; }
.pstep::before { content: ''; position: absolute; top: 7px; left: -50%; width: 100%; height: 3px; background: #ddd; }
.pstep:first-child::before { display: none; }
.pstep.done { color: var(--green); font-weight: 700; }
.pstep.done span, .pstep.done::before { background: var(--green-bg); }
.account-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-row:hover strong:first-child { color: var(--primary); }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }

/* alerts & toast */
.alert { padding: 12px 16px; border-radius: 10px; margin: 14px 0; font-weight: 600; }
.alert a { text-decoration: underline; }
.alert-success { background: #e8f7ee; color: #1f7a45; }
.alert-error { background: #fdecec; color: #b42323; }
.alert-info { background: var(--tint); color: color-mix(in srgb, var(--primary) 80%, #000); }
.toast { position: fixed; z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.2, .9, .3, 1.2); }
.toast.show { opacity: 1; pointer-events: auto; }
/* simple message: dark pill, bottom centre */
.toast-simple { bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: #1f2421; color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; display: flex; gap: 8px; align-items: center; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.toast-simple.show { transform: translate(-50%, 0); }
/* added-to-cart card: top right on desktop */
.toast-card { top: 96px; right: 24px; width: 340px; background: #fff; color: var(--text); border-radius: 16px; padding: 16px; box-shadow: 0 18px 50px rgba(20, 30, 20, .18), 0 0 0 1px rgba(0, 0, 0, .04); transform: translateY(-12px); border-top: 4px solid var(--primary); }
.toast-card.show { transform: translateY(0); }
.toast-head { display: flex; align-items: center; gap: 10px; }
.toast-head strong { font-size: 15px; flex: 1; }
.toast-ok { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.toast-simple .toast-ok { width: 20px; height: 20px; }
.toast-ok .ico { color: #fff !important; width: 14px; height: 14px; }
.toast-close { border: 0; background: none; font-size: 24px; line-height: 1; color: #9aa0ad; cursor: pointer; padding: 0 2px; }
.toast-close:hover { color: var(--text); }
.toast-item { display: flex; gap: 12px; align-items: center; margin: 14px 0; padding: 10px; background: var(--bg-soft); border-radius: 12px; }
.toast-item img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); flex-shrink: 0; }
.toast-item > div { min-width: 0; }
.toast-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.toast-meta b { color: var(--text); }
.toast-btn { display: block; text-align: center; background: var(--primary); color: #fff !important; font-weight: 700; padding: 11px; border-radius: 10px; text-decoration: none !important; }
.toast-btn:hover { filter: brightness(1.1); }
@media (max-width: 640px) {
  .toast-card { top: auto; bottom: 12px; left: 12px; right: 12px; width: auto; transform: translateY(20px); }
  .toast-card.show { transform: translateY(0); }
  .toast-simple { white-space: normal; max-width: calc(100% - 32px); }
}

/* trust + footer */
.trust-strip { background: var(--bg-soft); margin-top: 40px; }
.trust-strip { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding: 34px 16px; }
.trust-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: 0 2px 10px rgba(20, 20, 60, .04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 25%, var(--line)); }
.trust-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--primary); background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 14%, #fff), color-mix(in srgb, var(--primary) 5%, #fff)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 12%, transparent); }
.trust-icon svg { width: 26px; height: 26px; }
.trust-item strong { display: block; font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -.1px; }
.trust-item small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
/* footer */
.site-footer {
  position: relative; overflow: hidden; color: #5b6170; padding-top: 56px; border-top: 1px solid var(--line);
  background:
    radial-gradient(700px 320px at 0% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%),
    radial-gradient(700px 360px at 100% 0%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 70%),
    #fbfcf9;
}
.site-footer a { transition: color .15s, transform .15s, background .15s; }
.ft-news { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; padding: 28px 32px; border-radius: 20px; background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 10%, #fff), color-mix(in srgb, var(--accent) 8%, #fff)); border: 1px solid color-mix(in srgb, var(--primary) 15%, var(--line)); }
.ft-eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); background: #fff; padding: 4px 10px; border-radius: 20px; }
.ft-news h3 { color: var(--text); font-size: 24px; margin: 10px 0 6px; letter-spacing: -.3px; }
.ft-news p { margin: 0; font-size: 14px; }
.ft-news-form { display: flex; align-items: center; background: #fff; border-radius: 14px; padding: 6px 6px 6px 14px; box-shadow: 0 6px 20px rgba(30, 60, 30, .10); border: 1px solid var(--line); }
.ft-news-ico { color: var(--muted); display: flex; }
.ft-news-ico svg { width: 20px; height: 20px; }
.ft-news-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 10px; font-size: 15px; color: var(--text); background: transparent; }
.ft-news-form button { border: 0; cursor: pointer; font-weight: 800; color: #fff; padding: 12px 22px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 75%, #fff)); }
.ft-news-form button:hover { filter: brightness(1.08); }

.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0 40px; }
.ft-logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--primary); letter-spacing: -.5px; }
.ft-logo img { height: 64px; width: auto; }
.ft-brand p { font-size: 14px; line-height: 1.7; margin: 14px 0 18px; max-width: 360px; }
.ft-contact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.ft-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ft-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.ft-contact a:hover { color: var(--primary); }
.ft-phones { display: flex; flex-direction: column; gap: 4px; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--primary); background: #fff; border: 1px solid var(--line); }
.ft-social a:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.ft-social svg { width: 19px; height: 19px; }
.ft-col h4 { color: var(--text); font-size: 15px; margin: 4px 0 18px; position: relative; padding-bottom: 10px; }
.ft-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.ft-col a { display: block; padding: 5px 0; font-size: 14px; }
.ft-col a:hover { color: var(--primary); transform: translateX(4px); }
.ft-hot { color: var(--accent) !important; font-weight: 700; }

.ft-bottom { border-top: 1px solid var(--line); background: #fff; }
.ft-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 13px; }
.ft-dot { margin: 0 8px; opacity: .5; }
.ft-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.ft-pay span { margin-right: 4px; }
.ft-pay b { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 30px; min-width: 50px; background: #fff; color: var(--primary); font-size: 11.5px; font-weight: 800; padding: 0 9px; border-radius: 7px; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.ft-pay b img { height: 18px; width: auto; display: block; }
.ft-pay .pay-mastercard img { height: 20px; }
.ft-pay .pay-phonepe img { height: 20px; }
.ft-pay .pay-visa img, .ft-pay .pay-paytm img { height: 13px; }
.ft-pay .pay-googlepay img { height: 16px; }
.ft-pay .pay-upi img, .ft-pay .pay-rupay img { height: 17px; }
.ft-pay .pay-text svg { width: 15px; height: 15px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 16px; background: #25d366; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 90; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .delivery-pill { display: none; }
  .carousel-cell { width: calc((100% - 60px) / 4); }
}
@media (max-width: 900px) {
  .header-main { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 14px; }
  .menu-toggle { display: inline-flex; }
  .logo img { height: 42px; }
  .header-actions { margin-left: auto; }
  .header-main .search { order: 5; flex: 1 1 100%; height: 42px; }
  .cat-nav { display: none; }
  .hide-sm { display: none; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .show-sm { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { order: 2; flex-direction: row; max-height: none; overflow-x: auto; padding: 8px; }
  .thumb { width: 70px; flex-shrink: 0; }
  .reviews-grid, .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
  .cart-summary, .filters { position: static; }
  .ft-news { grid-template-columns: 1fr; padding: 24px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .ft-brand { grid-column: 1 / -1; }
  .promo-grid.cols-3, .promo-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .carousel-arrow { display: none; }
  .sticky-buy { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 10px 16px; border-top: 1px solid var(--line); justify-content: space-between; align-items: center; z-index: 80; }
  .sticky-buy strong { font-size: 20px; }
  .wa-float { bottom: 76px; }
}
@media (max-width: 640px) {
  .section { padding: 18px 16px; }
  .section-title { font-size: 19px; }
  .hero { border-radius: 10px; }
  .hero-slide img { aspect-ratio: auto; height: auto; }
  .slider-arrow { display: none; }
  .promo-grid.cols-2, .promo-grid.cols-3, .promo-grid.cols-4 { grid-template-columns: 1fr; }
  .promo img { aspect-ratio: auto; height: auto; }
  .carousel-track { gap: 12px; }
  .carousel-cell { width: 46%; min-width: 160px; }
  .tile-wide { width: 82%; min-width: 0; }
  .tile-tall { width: 42%; min-width: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .pcard-img { padding: 10px; }
  .pbadge { font-size: 12px; padding: 3px 8px; }
  .pcard-title { font-size: 14px; }
  .pcard-price strong { font-size: 17px; }
  .pcard-price { gap: 0 6px; }
  .pcard .btn { padding: 9px 8px; font-size: 14px; }
  .pdp-info h1 { font-size: 22px; }
  .pdp-price span[data-price] { font-size: 28px; }
  .promise-grid { font-size: 12.5px; padding: 14px 2px; gap: 2px; }
  .promise .pi { height: 30px; }
  .promise .pi svg { height: 27px; }
  .promise-head h3 { font-size: 16.5px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 22px 16px; }
  .trust-item { flex-direction: column; text-align: center; gap: 10px; padding: 16px 10px; }
  .trust-icon { width: 46px; height: 46px; }
  .trust-item strong { font-size: 14px; }
  .trust-item small { font-size: 12px; }
  .site-footer { padding-top: 32px; }
  .ft-news { padding: 20px 16px; }
  .ft-news h3 { font-size: 20px; }
  .ft-news-form { padding-left: 10px; }
  .ft-news-form button { padding: 12px 14px; }
  .ft-grid { padding: 34px 0 28px; }
  .ft-bottom-inner { flex-direction: column; text-align: center; }
  .ft-pay { justify-content: center; }
  .cart-line { grid-template-columns: 70px 1fr; }
  .cart-line img { width: 70px; height: 70px; }
  .cart-line-qty { flex-direction: row; grid-column: 2; justify-content: flex-start; }
  .cart-line-total { grid-column: 2; text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .order-foot { grid-template-columns: 1fr; }
  .track-form { grid-template-columns: 1fr; }
  .opt-card { width: calc(50% - 6px); }
  .pdp-actions .qty { width: 100%; justify-content: space-between; }
  .pdp-actions .qty input { flex: 1; }
}

/* ---------- SVG icons ---------- */
.ico { display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }
.crumbs { align-items: center; }
.crumb-sep { color: #9aa0ad; vertical-align: middle; }
.star-row { display: inline-flex; gap: 1px; vertical-align: -2px; }
.star-on { color: #f5a623; }
.star-off { color: #dcdfe6; }
.stars-sm { display: inline-flex; gap: 1px; color: #f5a623; }
.prating b { display: inline-flex; vertical-align: -1px; }
.rating-pill { display: inline-flex; align-items: center; gap: 3px; }
.star-input label { display: inline-flex; }
.pdp-delivery { display: flex; align-items: center; gap: 8px; }
.pdp-delivery .ico { color: var(--primary); }
.drawer-link { display: flex; align-items: center; gap: 8px; }
.ico-hot { color: var(--accent); }
.ft-hot { display: inline-flex !important; align-items: center; gap: 6px; }
.sg-chip { display: inline-flex; align-items: center; gap: 5px; }
.sg-all { display: flex; align-items: center; justify-content: center; gap: 6px; }
.toast .ico { color: #7ee2a0; }
.applied, .totals .savings { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.applied .ico { color: var(--green); }
.empty-icon { color: #b9bdc8; display: flex; justify-content: center; margin-bottom: 8px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; }
.alert a .ico { vertical-align: -3px; }

/* ---------- available offers (cart / checkout) ---------- */
.offers { margin: 0 0 16px; }
.offers-head { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 10px; color: var(--accent); }
.offers-head strong { color: var(--text); }
.offer { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px dashed color-mix(in srgb, var(--primary) 35%, var(--line)); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.offer.is-applied { border-style: solid; border-color: var(--primary); background: var(--tint-2); }
.offer.is-locked { background: #fafafa; border-color: var(--line); }
.offer-main { flex: 1; min-width: 0; }
.offer-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.offer-code { font-weight: 800; font-size: 12.5px; letter-spacing: .8px; color: var(--primary); background: var(--tint); border: 1px dashed var(--primary); padding: 2px 8px; border-radius: 6px; }
.offer.is-locked .offer-code { color: var(--muted); background: #f0f0f2; border-color: #c8cad2; }
.offer-best { font-size: 11px; font-weight: 800; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 20px; }
.offer-title { font-weight: 800; margin-top: 6px; font-size: 14.5px; }
.offer-desc { font-size: 13px; color: var(--muted); }
.offer-note { font-size: 12.5px; margin-top: 4px; color: #b26b00; font-weight: 600; }
.offer-note.ok { color: var(--green); display: flex; align-items: center; gap: 4px; }
.offer-btn { flex-shrink: 0; border: 0; background: none; color: var(--primary); font-weight: 800; font-size: 13.5px; cursor: pointer; padding: 4px 2px; text-transform: uppercase; letter-spacing: .3px; }
.offer-btn:hover { text-decoration: underline; }
.offer-btn.remove { color: var(--danger); }
.offer-btn.disabled { color: #b5b8c2; cursor: default; }

/* offers trigger + modal */
.offers-trigger { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; cursor: pointer;
  border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 5%, #fff); transition: .15s; }
.offers-trigger:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, #fff); }
.offers-trigger-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; flex-shrink: 0; }
.offers-trigger-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.offers-trigger-text strong { font-size: 14.5px; }
.offers-trigger-text small { font-size: 12.5px; color: var(--green); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offers-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.offers-trigger-go { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 800; color: var(--accent); white-space: nowrap; }
body.modal-open { overflow: hidden; }
.offer-modal { position: fixed; inset: 0; z-index: 300; background: rgba(15, 20, 15, .5); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.offer-modal.open { opacity: 1; }
.offer-modal-box { background: #fff; width: 100%; max-width: 480px; max-height: min(640px, 90vh); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); transform: translateY(16px) scale(.98); transition: transform .25s cubic-bezier(.2, .9, .3, 1.1); }
.offer-modal.open .offer-modal-box { transform: none; }
.offer-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.offer-modal-head strong { display: block; font-size: 18px; }
.offer-modal-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--text); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.offer-modal-close:hover { background: #e8eaef; }
.offer-modal-body { padding: 16px 20px 20px; overflow-y: auto; }
.offer-modal-input { display: flex; gap: 8px; margin-bottom: 16px; }
.offer-modal-input input { flex: 1; min-width: 0; border: 1px solid #d5d7e1; border-radius: 10px; padding: 11px 12px; text-transform: uppercase; }
.offer-modal-input input::placeholder { text-transform: none; }
.offer-modal-input input:focus { outline: 0; border-color: var(--primary); }
@media (max-width: 640px) {
  .offer-modal { align-items: flex-end; padding: 0; }
  .offer-modal-box { max-width: none; border-radius: 18px 18px 0 0; max-height: 85vh; transform: translateY(40px); }
}

/* shiny sweep on the "Available offers" trigger */
.offers-trigger { position: relative; overflow: hidden; isolation: isolate; }
.offers-trigger::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 70%, transparent 100%);
  transform: skewX(-18deg); animation: offer-shine 3.2s ease-in-out infinite;
}
.offers-trigger > * { position: relative; z-index: 1; }
.offers-trigger-ico { animation: offer-wiggle 3.2s ease-in-out infinite; box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 40%, transparent); }
.offers-trigger:hover::after { animation-duration: 1.4s; }
@keyframes offer-shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes offer-wiggle { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(-10deg) scale(1.06); } 72% { transform: rotate(8deg) scale(1.06); } 78% { transform: rotate(-4deg); } 84% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .offers-trigger::after, .offers-trigger-ico { animation: none; } }

/* ---------- product reviews (Hyugalife style) ---------- */
.rv { border-top: 1px solid var(--line); margin-top: 10px; }
.rv-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 48px; align-items: start; }
.rv-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 150px; }
.rv-score { display: flex; align-items: center; background: var(--bg-soft); border-radius: 18px; overflow: hidden; }
.rv-avg { padding: 26px 28px; font-size: 46px; font-weight: 800; line-height: 1; border-right: 2px solid #fff; white-space: nowrap; }
.rv-avg small { font-size: 18px; color: var(--muted); font-weight: 700; margin-left: 2px; }
.rv-score-right { padding: 18px 22px; }
.rv-count { color: var(--muted); margin-top: 6px; font-size: 15px; }
.rv-stars { position: relative; display: inline-flex; line-height: 0; }
.rv-stars-bg { display: inline-flex; gap: 4px; color: #dcdfe6; }
.rv-stars-fg { position: absolute; inset: 0; display: inline-flex; gap: 4px; color: var(--green); overflow: hidden; width: var(--pct); white-space: nowrap; }
.rv-bars { display: flex; flex-direction: column; gap: 6px; }
.rv-bar { display: grid; grid-template-columns: 44px 1fr 34px; gap: 10px; align-items: center; border: 0; background: none; padding: 3px 6px; margin: 0 -6px; border-radius: 8px; cursor: pointer; font: inherit; color: var(--text); }
.rv-bar:hover:not([disabled]), .rv-bar.active { background: var(--bg-soft); }
.rv-bar[disabled] { cursor: default; opacity: .55; }
.rv-bar-label { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--muted); }
.rv-bar-track { height: 8px; border-radius: 4px; background: #eceef2; overflow: hidden; }
.rv-bar-fill { display: block; height: 100%; border-radius: 4px; transition: width .6s; }
.rv-bar-n { text-align: right; font-size: 13px; color: var(--muted); }
.rv-c5, .rv-c4 { background: var(--green-bg); color: #fff; }
.rv-c3 { background: #f5a623; color: #fff; }
.rv-c2 { background: #f39235; color: #fff; }
.rv-c1 { background: #e5484d; color: #fff; }
.rv-t5, .rv-t4 { color: var(--green-bg); } .rv-t3, .rv-t2 { color: #f5a623; } .rv-t1 { color: #e5484d; }
.rv-trust { display: flex; gap: 12px; align-items: center; background: #fff8e6; border-radius: 14px; padding: 14px 16px; font-size: 14px; color: #5b4a1f; }
.rv-trust-ico { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--primary); flex-shrink: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.rv-share h3 { margin: 6px 0 6px; font-size: 19px; }
.rv-share p { margin: 0 0 14px; color: var(--muted); }
.rv-write { width: 100%; padding: 13px; border: 1.5px solid var(--primary); color: var(--primary); background: #fff; border-radius: 10px; font-weight: 700; }
.rv-write:hover { background: var(--tint-2); }
.rv-done { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 700; background: var(--tint-2); padding: 12px 14px; border-radius: 10px; }
.rv-sort-label { font-weight: 700; margin-bottom: 10px; }
.rv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.rv-chip { display: inline-flex; align-items: center; gap: 5px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 14px; font: inherit; font-size: 14.5px; cursor: pointer; color: var(--text); }
.rv-chip:hover:not([disabled]) { border-color: #c9ccd6; }
.rv-chip.active { border-color: var(--primary); background: var(--tint-2); color: var(--primary); font-weight: 700; }
.rv-chip[disabled] { opacity: .45; cursor: default; }
.rv-chip-star { display: inline-flex; }
.rv-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.rv-item-head { display: flex; align-items: center; gap: 12px; }
.rv-badge { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 15px; padding: 5px 10px; border-radius: 8px; }
.rv-name { font-size: 16px; color: #444; font-weight: 600; }
.rv-date { margin-left: auto; color: var(--muted); font-size: 13px; }
.rv-title { margin: 12px 0 4px; font-size: 17px; }
.rv-body { margin: 4px 0 0; color: #444; line-height: 1.6; }
.rv-verified { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; color: #1d6fd8; font-size: 13.5px; font-weight: 600; }
.rv-none { color: var(--muted); padding: 20px 0; }
.rv-empty { text-align: center; padding: 40px 20px; background: var(--bg-soft); border-radius: 18px; }
.rv-empty-ico { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: inline-grid; place-items: center; color: #f5a623; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.rv-empty h3 { margin: 14px 0 4px; font-size: 20px; }
.rv-empty p { color: var(--muted); margin: 0 0 16px; }
.rv-form { display: flex; flex-direction: column; gap: 8px; }
.rv-form-label { font-weight: 700; font-size: 14px; margin-top: 6px; }
.rv-form input[type=text], .rv-form input:not([type]), .rv-form textarea { border: 1px solid #d5d7e1; border-radius: 10px; padding: 11px 12px; font: inherit; }
.rv-form input:focus, .rv-form textarea:focus { outline: 0; border-color: var(--primary); }
.rv-form .btn { margin-top: 10px; }
.rv-star-input { justify-content: center; gap: 4px; padding: 6px 0; }
.rv-star-input label { color: #dcdfe6; transition: transform .1s; }
.rv-star-input label:hover { transform: scale(1.12); }
@media (max-width: 900px) {
  .rv-grid { grid-template-columns: 1fr; gap: 26px; }
  .rv-side { position: static; }
}
@media (max-width: 640px) {
  .rv-avg { padding: 20px; font-size: 38px; }
  .rv-score-right { padding: 14px 16px; }
  .rv-chip { padding: 6px 11px; font-size: 13.5px; }
}

/* coupon applied celebration */
.celebrate { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(15, 25, 15, 0); transition: background .3s; }
.celebrate.open { background: rgba(15, 25, 15, .35); }
.celebrate-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.celebrate-card { position: relative; background: #fff; border-radius: 22px; padding: 30px 34px 24px; text-align: center; width: 100%; max-width: 330px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3); transform: scale(.6) translateY(20px); opacity: 0; transition: transform .45s cubic-bezier(.2, 1.4, .4, 1), opacity .25s; }
.celebrate.open .celebrate-card { transform: none; opacity: 1; }
.celebrate-badge { width: 76px; height: 76px; margin: -68px auto 12px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #9be27a)); box-shadow: 0 0 0 6px #fff, 0 10px 24px color-mix(in srgb, var(--primary) 45%, transparent); }
.celebrate.open .celebrate-badge .ico { animation: cel-pop .5s .25s both cubic-bezier(.2, 1.6, .4, 1); }
.celebrate-code { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: .6px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, #fff); border: 1.5px dashed var(--accent); border-radius: 8px; padding: 4px 12px; font-size: 14px; }
.celebrate-amt { margin-top: 14px; font-size: 18px; color: #444; }
.celebrate-amt strong { display: block; font-size: 38px; font-weight: 800; color: var(--green); line-height: 1.15; }
.celebrate-sub { color: var(--muted); font-size: 14px; }
.celebrate-ok { margin-top: 18px; width: 100%; }
@keyframes cel-pop { from { transform: scale(0) rotate(-30deg); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .celebrate-card, .celebrate.open .celebrate-badge .ico { transition: none; animation: none; } }

/* ---------- mobile product page (Hyugalife style) ---------- */
.m-pdp-bar, .m-gallery { display: none; }
@media (max-width: 900px) {
  /* compact header: back · logo · share · search · cart */
  body.is-pdp .m-pdp-bar { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 6px; padding: 8px 10px; }
  body.is-pdp .header-main { display: none; }
  body.is-pdp.show-search .header-main { display: flex; padding-top: 0; }
  body.is-pdp.show-search .header-main > :not(.search) { display: none; }
  .m-pdp-logo { justify-self: center; }
  .m-pdp-logo img { height: 36px; width: auto; }
  .m-pdp-actions { display: flex; align-items: center; gap: 4px; }
  .m-pdp-actions .icon-btn, .m-pdp-bar > .icon-btn { width: 40px; height: 40px; display: grid; place-items: center; color: var(--text); }
  .m-pdp-actions .cart-link { width: 40px; height: 40px; display: grid; place-items: center; }
  body.is-pdp .crumbs { display: none; }

  /* full-width swipe gallery */
  body.is-pdp .pdp-gallery { display: none; }
  .m-gallery { display: block; position: relative; margin: 0 -16px; background: #fff; }
  .m-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .m-track::-webkit-scrollbar { display: none; }
  .m-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; display: grid; place-items: center; padding: 30px 40px 20px; }
  .m-slide img { max-height: 100%; max-width: 100%; object-fit: contain; }
  .m-badge { position: absolute; top: 14px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; letter-spacing: .3px;
    color: var(--primary); background: var(--tint); padding: 5px 14px 5px 10px; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
  .m-dots { display: flex; justify-content: center; gap: 7px; padding: 4px 0 14px; }
  .m-dots span { width: 8px; height: 8px; border-radius: 4px; background: #d9dbe2; transition: .25s; }
  .m-dots span.active { width: 22px; background: var(--primary); }
  body.is-pdp .pdp { padding-top: 0; }
  body.is-pdp .pdp-info h1 { font-size: 18px; font-weight: 500; line-height: 1.45; }

  /* sticky Add to Cart + Buy Now */
  .sticky-buy { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
  .sticky-buy .btn { padding: 10px 10px; font-size: 15px; border-radius: 10px; }
  .sticky-buy .btn-outline { border-width: 1.5px; }
  body.is-pdp { padding-bottom: 66px; }
  body.is-pdp .pdp-actions .btn { display: none; }
  /* quantity lives in the sticky bar on phones; hide the in-page row */
  body.is-pdp .pdp-actions { display: none; }
  .sticky-buy { grid-template-columns: auto 1fr 1fr !important; }
  .sticky-qty { display: flex; align-items: center; border: 1.5px solid #d5d7e1; border-radius: 10px; height: 100%; min-height: 40px; overflow: hidden; }
  .sticky-qty button { width: 30px; height: 100%; border: 0; background: #fff; color: var(--primary); font-size: 18px; font-weight: 700; cursor: pointer; }
  .sticky-qty button:active { background: var(--tint); }
  .sticky-qty span { min-width: 22px; text-align: center; font-weight: 800; font-size: 15px; }

}
@media (max-width: 640px) { body.is-pdp .toast-card { bottom: 74px; } }

/* ---------- compact buttons on phones (site-wide) ---------- */
@media (max-width: 640px) {
  .btn { padding: 9px 16px; font-size: 14px; border-radius: 8px; }
  .btn-lg { padding: 11px 18px; font-size: 15px; }
  .btn-sm { padding: 5px 10px; font-size: 12.5px; }
  .pcard .btn { padding: 8px 6px; font-size: 13.5px; }
  .qty { height: 42px; }
  .toast-btn { padding: 9px; font-size: 14px; }
  .rv-write { padding: 10px; font-size: 14px; }
  .offers-trigger { padding: 10px 12px; }
  .offers-trigger-ico { width: 32px; height: 32px; }
  .coupon-form input, .offer-modal-input input { padding: 9px 10px; }
  .ft-news-form button { padding: 10px 14px; font-size: 14px; }
  .ft-news-form input { padding: 10px 8px; font-size: 14px; }
  .celebrate-ok { padding: 10px; }
  .filters .btn, .listing-tools .btn { padding: 6px 12px; }
}

/* ---------- product info: tighter, premium spacing ---------- */
.pdp-rchip { display: inline-flex; align-items: center; gap: 4px; margin: 2px 0 4px; padding: 3px 9px; border-radius: 6px; background: #fff6e0; font-weight: 700; font-size: 14px; color: var(--text); }
.pdp-rchip .ico { color: var(--green); }
.pdp-rchip span { color: var(--muted); font-weight: 500; }
.coupon-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.coupon-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.coupon-foot .coupon-code { margin-top: 0; }
.coupon-apply { margin: 0; flex-shrink: 0; }
.coupon-apply-btn { border: 0; cursor: pointer; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; padding: 7px 18px; border-radius: 20px; }
.coupon-apply-btn:hover { filter: brightness(1.1); }
.coupon-applied { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 800; font-size: 14px; flex-shrink: 0; }

@media (max-width: 900px) {
  body.is-pdp .pdp { gap: 0; padding-bottom: 10px; }
  .m-slide { padding: 14px 40px 4px; aspect-ratio: 1 / .92; }
  .m-dots { padding: 2px 0 10px; }
  body.is-pdp .pdp-info h1 { font-size: 16px; font-weight: 600; line-height: 1.45; margin: 0 0 6px; color: #2b2d38; }
  body.is-pdp .pdp-price-block { border-top: 0; margin-top: 4px; padding: 0 0 6px; }
  body.is-pdp .pdp-price { display: flex; align-items: center; gap: 8px; }
  body.is-pdp .pdp-price span[data-price] { font-size: 26px; font-weight: 700; }
  body.is-pdp .off-tag.lg { font-size: 13px; padding: 3px 8px; }
  body.is-pdp .pdp-mrp { font-size: 12.5px; margin-top: 2px; }
  body.is-pdp .pdp-delivery { border: 0; padding: 4px 0 10px; font-size: 13.5px; gap: 6px; }
  body.is-pdp .coupon-box { margin: 4px 0 12px; border-radius: 10px; }
  body.is-pdp .coupon-tag { font-size: 13px; padding: 4px 10px; }
  body.is-pdp .coupon-top .small { font-size: 11.5px; }
  body.is-pdp .coupon-body { padding: 8px 12px 10px; font-size: 15px; }
  body.is-pdp .coupon-code { font-size: 12.5px; padding: 1px 8px; }
  body.is-pdp .coupon-foot .small { font-size: 12px; }
  body.is-pdp .coupon-apply-btn { padding: 6px 16px; font-size: 13.5px; }
  body.is-pdp .opt-group { padding: 10px 0; }
  body.is-pdp .opt-label { font-size: 14.5px; margin-bottom: 8px; }
  body.is-pdp .opt-list { gap: 8px; }
  body.is-pdp .opt-btn { padding: 7px 14px; font-size: 14px; }
  body.is-pdp .opt-card { width: calc(50% - 4px); max-width: 170px; }
  body.is-pdp .opt-card-head { padding: 6px 10px; font-size: 13.5px; }
  body.is-pdp .opt-card-body { padding: 6px 10px 8px; min-height: 0; font-size: 12px; }
  body.is-pdp .opt-card-body b { font-size: 16px; }
  body.is-pdp .pdp-stock { min-height: 0; margin: 0; }
  body.is-pdp .promise-wrap { margin-top: 14px; }
  body.is-pdp .accordions { margin-top: 6px; }
  body.is-pdp .acc summary { font-size: 16px; padding: 14px 2px; }
  body.is-pdp .acc .rich { font-size: 14px; }
  body.is-pdp .section { padding: 18px 0; }
  body.is-pdp .section-title { font-size: 18px; margin-bottom: 12px; }
}

/* Buy Now in brand maroon (accent), Add to Cart stays green */
.btn-buy, [data-buy-btn], [data-sticky-buy] { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-buy:hover, [data-buy-btn]:hover, [data-sticky-buy]:hover { filter: brightness(1.07); }
[data-buy-btn][disabled], [data-sticky-buy][disabled] { background: #e8e8ee !important; border-color: #e8e8ee !important; color: #999 !important; box-shadow: none; }

/* ---------- slide-in cart sidebar ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 350; background: rgba(15, 20, 15, 0); transition: background .3s; }
.cart-drawer.open { background: rgba(15, 20, 15, .45); }
.cd-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100%; background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); box-shadow: -10px 0 40px rgba(0, 0, 0, .15); }
.cart-drawer.open .cd-panel { transform: none; }
.cd-panel.busy .cd-items, .cd-panel.busy .cd-foot { opacity: .55; pointer-events: none; transition: opacity .15s; }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cd-head strong { font-size: 18px; }
.cd-count { color: var(--muted); font-weight: 500; font-size: 15px; }
.cd-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-soft); display: grid; place-items: center; cursor: pointer; color: var(--text); }
.cd-close:hover { background: #e8eaef; }
.cd-ship { padding: 12px 18px; background: color-mix(in srgb, var(--accent) 6%, #fff); border-bottom: 1px solid var(--line); }
.cd-ship.done { background: var(--tint-2); }
.cd-ship-text { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.cd-ship-text .ico { color: var(--primary); flex-shrink: 0; }
.cd-ship-bar { height: 6px; border-radius: 3px; background: #ececf0; margin-top: 8px; overflow: hidden; }
.cd-ship-bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--primary)); transition: width .5s; }
.cd-items { flex: 1; overflow-y: auto; padding: 4px 18px; }
.cd-item { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: background .6s; }
.cd-item:last-child { border-bottom: 0; }
.cd-item.just-added { background: var(--tint-2); margin: 0 -18px; padding: 14px 18px; }
.cd-img { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; padding: 4px; background: #fff; }
.cd-img img { max-height: 100%; object-fit: contain; }
.cd-info { min-width: 0; }
.cd-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-title:hover { color: var(--primary); }
.cd-var { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.cd-price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font-size: 13px; }
.cd-price strong { font-size: 15.5px; }
.cd-price s { color: var(--muted); }
.cd-price span { color: var(--green); font-weight: 700; }
.cd-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cd-qty { display: inline-flex; align-items: center; border: 1.5px solid #d5d7e1; border-radius: 8px; overflow: hidden; height: 32px; }
.cd-qty button { width: 30px; height: 100%; border: 0; background: #fff; color: var(--primary); font-size: 17px; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.cd-qty button:hover:not([disabled]) { background: var(--tint); }
.cd-qty button[disabled] { color: #c3c6cf; cursor: not-allowed; }
.cd-qty span { min-width: 26px; text-align: center; font-weight: 800; font-size: 14px; }
.cd-remove { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.cd-remove:hover { color: var(--danger); }
.cd-warn { color: var(--danger); font-size: 12.5px; margin-top: 4px; }
.cd-foot { border-top: 1px solid var(--line); padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 18px rgba(0, 0, 0, .04); }
.cd-coupon { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--green); background: var(--tint-2); border: 1px dashed var(--primary); border-radius: 8px; padding: 7px 10px; margin-bottom: 10px; }
.cd-sum > div { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.cd-sum .cd-total { font-size: 17px; font-weight: 800; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 9px; }
.cd-save { justify-content: center !important; gap: 6px; color: var(--green); font-weight: 700; font-size: 13px !important; background: var(--tint-2); border-radius: 8px; margin-top: 8px; padding: 6px !important; align-items: center; }
.cd-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 12px; }
.cd-actions .btn { padding: 11px 10px; }
.cd-checkout { background: var(--accent); color: #fff; box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 30%, transparent); }
.cd-checkout:hover { filter: brightness(1.07); }
.cd-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.cd-empty-ico { width: 90px; height: 90px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: #b9bdc8; }
.cd-empty h3 { margin: 16px 0 4px; }
.cd-empty p { color: var(--muted); margin: 0 0 18px; }
.cd-loading { flex: 1; display: grid; place-items: center; }
.cd-loading span { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--tint); border-top-color: var(--primary); animation: cd-spin .7s linear infinite; }
@keyframes cd-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .cd-panel { width: 92%; } }

/* ---------- checkout ---------- */
.co { padding-top: 18px; }
.co-steps { list-style: none; display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 22px; padding: 0; max-width: 460px; }
.co-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); position: relative; }
.co-steps li a { display: contents; color: inherit; }
.co-steps li > span, .co-steps li a > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #eceef2; color: var(--muted); font-size: 13px; position: relative; z-index: 1; }
.co-steps li + li::before { content: ''; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: #e4e6ee; }
.co-steps li.done, .co-steps li.active { color: var(--text); }
.co-steps li.done > span, .co-steps li.done a > span { background: var(--primary); color: #fff; }
.co-steps li.active > span { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.co-steps li.active::before, .co-steps li.done::before { background: var(--primary); }

.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.co-main { display: flex; flex-direction: column; gap: 16px; }
.co-login { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--tint-2); border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line)); font-size: 14px; }
.co-login .ico { color: var(--primary); }
.co-login a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: 0 2px 10px rgba(20, 30, 20, .03); }
.co-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.co-card-head h2 { font-size: 17px; margin: 0; }
.co-card-head p { margin: 1px 0 0; font-size: 13px; color: var(--muted); }
.co-num { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; font-size: 14px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.co-grid .span-2 { grid-column: span 2; }
.co-field label { display: block; font-size: 13px; font-weight: 700; color: #444; margin-bottom: 6px; }
.co-field input, .co-field textarea, .co-field select, .co-note input {
  width: 100%; border: 1.5px solid #dcdee6; border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 15px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.co-field textarea { resize: vertical; min-height: 64px; }
.co-field input::placeholder, .co-field textarea::placeholder, .co-note input::placeholder { color: #a6a9b6; }
.co-field input:focus, .co-field textarea:focus, .co-field select:focus, .co-note input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.co-field.has-error input, .co-field.has-error textarea, .co-field.has-error select, .co-field.has-error .co-prefix { border-color: var(--danger); }
.co-field .field-error { display: none; margin-top: 5px; }
.co-field.has-error .field-error { display: block; }
.co-field.has-error:not(:has(.field-error))::after { content: 'Please check this field'; display: block; color: var(--danger); font-size: 12.5px; font-weight: 600; margin-top: 5px; }
.co-prefix { display: flex; align-items: stretch; border: 1.5px solid #dcdee6; border-radius: 10px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.co-prefix:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.co-prefix span { display: grid; place-items: center; padding: 0 12px; background: var(--bg-soft); color: #555; font-weight: 700; border-right: 1px solid #dcdee6; font-size: 14px; }
.co-prefix input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.co-pin { position: relative; }
.co-pin-status { display: block; font-size: 12.5px; margin-top: 5px; min-height: 0; font-weight: 600; }
.co-pin-status.ok { color: var(--green); }
.co-pin-status.ok::before { content: '✓ '; }
.co-pin-status.bad { color: var(--danger); }
.co-pin-status.loading { position: absolute; right: 12px; top: 14px; margin: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--tint); border-top-color: var(--primary); animation: cd-spin .7s linear infinite; }
.co-note summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 14px; }
.co-note summary::-webkit-details-marker { display: none; }
.co-note[open] summary { margin-bottom: 8px; }

.co-pay { display: flex; flex-direction: column; gap: 10px; }
.co-pay-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 15px 16px; border: 1.5px solid #dcdee6; border-radius: 12px; cursor: pointer; transition: .15s; }
.co-pay-opt:hover { border-color: #b9bcc8; }
.co-pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9bcc8; flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; transition: .15s; }
.co-pay-opt:has(input:checked) { border-color: var(--primary); background: var(--tint-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 10%, transparent); }
.co-pay-opt input:checked + .co-radio { border-color: var(--primary); }
.co-pay-opt input:checked + .co-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.co-pay-opt input:focus-visible + .co-radio { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 30%, transparent); }
.co-pay-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.co-pay-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.co-pay-title .ico { color: var(--primary); }
.co-tag { font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 20px; }
.co-pay-sub { font-size: 13px; color: var(--muted); }
.co-pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.co-pay-logos img { height: 22px; width: auto; padding: 3px 6px; background: #fff; border: 1px solid var(--line); border-radius: 5px; box-sizing: content-box; max-width: 48px; object-fit: contain; }
.co-pay-logos .pl-visa, .co-pay-logos .pl-paytm { height: 14px; padding: 7px 6px; }
.co-secure { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.co-secure .ico { color: var(--green); }

.co-side { position: sticky; top: 150px; }
.co-summary { padding: 18px 20px; }
.co-items summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; margin-bottom: 4px; }
.co-items summary::-webkit-details-marker { display: none; }
.co-items summary strong { font-size: 16px; }
.co-items summary span { color: var(--muted); font-size: 13px; margin-left: auto; }
.co-caret { transition: transform .2s; color: var(--muted); }
.co-items[open] .co-caret { transform: rotate(90deg); }
.co-items .mini-lines { margin: 12px 0 14px; max-height: 260px; overflow-y: auto; }
.co-it-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-place { width: 100%; background: var(--accent); color: #fff; margin-top: 12px; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.co-place:hover { filter: brightness(1.07); }
.co-place[disabled] { opacity: .75; }
.co-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: cd-spin .7s linear infinite; }
.co-terms { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.co-terms a { text-decoration: underline; }
.co-trust { display: flex; justify-content: space-between; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 11.5px; color: #555; font-weight: 600; }
.co-trust span { display: flex; align-items: center; gap: 4px; }
.co-trust .ico { color: var(--primary); }
.co-mbar { display: none; }

@media (max-width: 900px) {
  .co-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .co-side { position: static; }
  .co-items:not([open]) + * { margin-top: 10px; }
  .co-summary .co-place, .co-summary .co-terms { display: none; }
  .co-mbar { display: flex; align-items: center; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
  .co-mbar div { display: flex; flex-direction: column; line-height: 1.2; }
  .co-mbar small { color: var(--muted); font-size: 12px; }
  .co-mbar strong { font-size: 18px; }
  .co-mbar .co-place { margin: 0; flex: 1; padding: 11px; font-size: 15px; }
  body:has(.co-mbar) { padding-bottom: 70px; }
  body:has(.co-mbar) .wa-float { bottom: 86px; }
}
@media (max-width: 640px) {
  .co-card { padding: 16px 14px; border-radius: 14px; }
  .co-grid { grid-template-columns: 1fr; gap: 12px; }
  .co-grid .span-2 { grid-column: auto; }
  .co-field input, .co-field textarea, .co-field select { font-size: 16px; padding: 10px 12px; } /* 16px stops iOS zoom */
  .co-steps { margin-bottom: 14px; }
}
.co-field select[disabled] { background: var(--bg-soft); color: #a6a9b6; cursor: not-allowed; }
.co-field select:not([disabled]) { cursor: pointer; }

/* ---------- focused header (cart / checkout) ---------- */
.simple-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0, 0, 0, .03); }
.sh-inner { display: flex; align-items: center; gap: 14px; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.sh-back { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text); flex-shrink: 0; margin-left: -8px; }
.sh-back:hover { background: var(--bg-soft); }
.sh-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sh-text h1 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; }
.sh-saved { display: inline-flex; align-items: center; gap: 6px; background: #e6f8e2; color: #2c7a1d; font-size: 13.5px; padding: 3px 10px 3px 4px; border-radius: 20px; font-weight: 600; max-width: 100%; }
.sh-saved strong { font-weight: 800; }
.sh-coin { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #8a5a00;
  background: radial-gradient(circle at 35% 30%, #ffe58a, #f5b301 70%); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); flex-shrink: 0; }
.sh-sub { font-size: 13px; color: var(--muted); }
.sh-logo img { height: 40px; width: auto; }
.sh-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--tint-2); padding: 6px 12px; border-radius: 20px; }
@media (max-width: 900px) {
  .sh-logo, .sh-secure { display: none; }
  .sh-inner { min-height: 62px; gap: 8px; }
  .sh-text h1 { font-size: 19px; }
  .sh-saved { font-size: 12.5px; }
}

/* order line items (checkout summary / order detail) */
.mini-line { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; }
.mini-thumb { position: relative; width: 58px; height: 58px; flex-shrink: 0; }
.mini-thumb img { width: 58px !important; height: 58px !important; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 3px; }
.mini-thumb .qty-badge { left: auto; right: -7px; top: -7px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 800; box-shadow: 0 0 0 2px #fff; }
.mini-info { min-width: 0; }
.mini-info .co-it-title { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.mini-var { font-size: 12px; color: var(--muted); margin-top: 1px; }
.mini-qty { font-size: 12px; color: var(--muted); margin-top: 2px; }
.mini-amt { font-size: 15px; white-space: nowrap; align-self: start; padding-top: 2px; }
.co-items .mini-lines { gap: 14px; padding-top: 6px; }

/* phones: footer only on the homepage (help links are also in the ☰ menu) */
@media (max-width: 900px) {
  .site-footer:not(.is-home) { display: none; }
  main { padding-bottom: 24px; }
}
.drawer-call { color: var(--primary); font-weight: 700; }
.drawer-copy { padding: 18px; font-size: 12px; color: var(--muted); }

/* ================= homepage: why-us & testimonial sections (optional) ================= */
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }

/* why choose us */
.why { position: relative; margin: 26px 0; padding: 56px 0; overflow: hidden;
  background: radial-gradient(600px 300px at 10% 20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
              radial-gradient(700px 360px at 95% 90%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 70%), #fbfaf6; }
.why-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.why-emblem { width: 92px; height: 92px; border-radius: 50%; background: #fff; padding: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); margin-bottom: 18px; }
.why-brand h2 { font-size: 36px; line-height: 1.15; margin: 6px 0 14px; letter-spacing: -.6px; color: var(--primary); }
.why-brand p { color: #555; font-size: 16px; line-height: 1.7; margin: 0 0 22px; max-width: 460px; }
.why-btn { background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 30px; box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 30%, transparent); }
.why-btn:hover { filter: brightness(1.07); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); border: 1px solid rgba(0, 0, 0, .05); border-radius: 18px; padding: 22px; box-shadow: 0 6px 24px rgba(20, 40, 20, .06); transition: transform .25s; }
.why-card:hover { transform: translateY(-4px); }
.why-card:nth-child(2), .why-card:nth-child(4) { transform: translateY(18px); }
.why-card:nth-child(2):hover, .why-card:nth-child(4):hover { transform: translateY(14px); }
.why-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #8fd16a)); box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 30%, transparent); }
.why-card:nth-child(even) .why-ico { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #ffb3cf)); box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.why-card strong { display: block; font-size: 16.5px; margin-bottom: 6px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* testimonials */
.tm-card { margin: 0; width: calc((100% - 60px) / 3.3); min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; position: relative; box-shadow: 0 4px 18px rgba(20, 40, 20, .04); }
.tm-card::before { content: '“'; position: absolute; top: 4px; right: 20px; font-size: 90px; line-height: 1; font-family: Georgia, serif; color: color-mix(in srgb, var(--accent) 18%, #fff); }
.tm-stars { display: flex; gap: 2px; color: #f5a623; }
.tm-title { font-size: 16px; }
.tm-card blockquote { margin: 0; color: #444; line-height: 1.65; font-size: 14.5px; flex: 1; }
.tm-card figcaption { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.tm-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--primary)); flex-shrink: 0; }
.tm-card figcaption span { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.tm-card figcaption b { font-size: 14px; }
.tm-card figcaption a { color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; gap: 28px; }
  .why { padding: 38px 0; }
  .why-brand { text-align: center; }
  .why-emblem { margin-left: auto; margin-right: auto; }
  .why-brand p { margin-left: auto; margin-right: auto; }
  .why-card:nth-child(2), .why-card:nth-child(4) { transform: none; }
}
@media (max-width: 640px) {
  .why-brand h2 { font-size: 26px; }
  .why-brand p { font-size: 14.5px; }
  .why-grid { gap: 10px; }
  .why-card { padding: 16px 14px; border-radius: 14px; }
  .why-ico { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 10px; }
  .why-card strong { font-size: 14.5px; }
  .why-card p { font-size: 12.5px; }
  .tm-card { width: 82%; min-width: 0; padding: 18px; }
}

/* ---------- homepage spacing rhythm: ~40px between sections (desktop), ~28px (phone) ---------- */
main > .section, main > section.section { padding-top: 20px; padding-bottom: 20px; }
main > .section-tight:first-of-type { padding-top: 20px; }
main > .section-tight + .section-tight { padding-top: 16px; }
main > .section-tight + .section { padding-top: 32px; }
.section-head { margin-bottom: 14px; }
.section-head .section-title, .section > .section-title { margin-bottom: 0; }
.section > .section-title { margin-bottom: 14px; }
.carousel-track { padding-bottom: 4px; }
@media (max-width: 640px) {
  main > .section, main > section.section { padding-top: 14px; padding-bottom: 14px; }
  main > .section-tight:first-of-type { padding-top: 12px; }
  main > .section-tight + .section-tight { padding-top: 10px; }
  main > .section-tight + .section { padding-top: 22px; }
  .section-head { margin-bottom: 10px; }
  .section > .section-title { margin-bottom: 10px; }
  .promo-grid { gap: 10px; }
}
.trust-strip { margin-top: 20px; }
@media (max-width: 640px) { .trust-strip { margin-top: 12px; } .trust-grid { padding-top: 18px; padding-bottom: 18px; } }

/* ---------- keep real (large / non-square) product photos inside their boxes ---------- */
.pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pdp-gallery { grid-template-columns: 110px minmax(0, 1fr); }
.main-img { min-width: 0; overflow: hidden; padding: 24px; }
.main-img > img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.main-img .pbadge, .main-img .share-btn { z-index: 2; }
.thumb { overflow: hidden; }
.pcard-img { min-width: 0; }
.pcard-img img { width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.m-slide { min-width: 0; overflow: hidden; }
.m-slide img { width: 100%; height: 100%; object-fit: contain; }
.cd-img img, .mini-thumb img, .sg-item img, .toast-item img { object-fit: contain; }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); } .pdp-gallery { grid-template-columns: minmax(0, 1fr); } }
.main-img > img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); }
/* main product photo fills its box (no inner padding) */
.main-img { padding: 0; }
.main-img > img { inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.m-slide { padding: 0; }
.m-slide img { object-fit: cover; }
.thumb { padding: 0; }
.thumb img { object-fit: cover; border-radius: 6px; }

/* ---------- product image lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 500; background: rgba(10, 12, 10, .94); display: flex; flex-direction: column; opacity: 0; transition: opacity .2s; }
.lb.open { opacity: 1; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: #fff; }
.lb-count { font-size: 14px; font-weight: 700; opacity: .85; }
.lb-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: rgba(255, 255, 255, .25); }
.lb-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 70px; overflow: auto; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; cursor: zoom-in; transition: transform .25s; user-select: none; }
.lb-img.zoom { transform: scale(1.8); cursor: zoom-out; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 36px; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: rgba(255, 255, 255, .28); }
.lb-nav.prev { left: 14px; } .lb-nav.next { right: 14px; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); overflow-x: auto; }
.lb-th { width: 62px; height: 62px; flex-shrink: 0; border-radius: 8px; border: 2px solid transparent; padding: 0; background: #fff; cursor: pointer; overflow: hidden; opacity: .55; }
.lb-th img { width: 100%; height: 100%; object-fit: cover; }
.lb-th.active { border-color: #fff; opacity: 1; }
@media (max-width: 640px) {
  .lb-stage { padding: 0 8px; }
  .lb-nav { display: none; }
  .lb-th { width: 50px; height: 50px; }
}
.lb-stage { display: flex; align-items: center; justify-content: center; }
.lb-img { max-height: calc(100vh - 170px); max-width: min(100%, 1100px); width: auto; height: auto; }
.lb:not(:has(.lb-thumbs)) .lb-img { max-height: calc(100vh - 90px); }
/* product card photo fills its box (no inner padding) */
.pcard-img { padding: 0 !important; }
.pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.pcard-img .pbadge, .pcard-img .prating { z-index: 2; }
@media (max-width: 900px) { body.is-pdp .pdp-info { padding-top: 14px; } body.is-pdp .m-dots + * , body.is-pdp .m-gallery:has(.m-dots) + .pdp-gallery + .pdp-info { padding-top: 4px; } }

/* ---------- category nav: one line, icons, animated underline ---------- */
.cat-nav { background: #fff; }
.cat-nav-inner { justify-content: space-between; gap: 4px; }
.cat-item { flex: 0 0 auto; min-width: 0; }
.cat-item > a { display: flex; align-items: center; gap: 7px; padding: 13px 8px 12px; font-size: 14.5px; font-weight: 600; color: #3a3f47; white-space: nowrap;
  border-bottom: 0; position: relative; max-width: none; transition: color .2s; }
.cat-item > a::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); transform: scaleX(0); transition: transform .25s; }
.cat-item > a:hover, .cat-item.current > a { color: var(--primary); border-color: transparent; }
.cat-item > a:hover::after, .cat-item.current > a::after { transform: scaleX(1); }
.cat-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-2); color: var(--primary); flex-shrink: 0; transition: background .2s, color .2s; }
.cat-item > a:hover .cat-ico, .cat-item.current .cat-ico { background: var(--primary); color: #fff; }
.cat-item:nth-child(even) .cat-ico { background: color-mix(in srgb, var(--accent) 8%, #fff); color: var(--accent); }
.cat-item:nth-child(even) > a:hover .cat-ico, .cat-item:nth-child(even).current .cat-ico { background: var(--accent); color: #fff; }
@media (max-width: 1350px) { .cat-ico { display: none; } .cat-item > a { font-size: 14px; padding-left: 6px; padding-right: 6px; } }
@media (max-width: 1100px) { .cat-nav-inner { justify-content: flex-start; } }
/* icon above label so all categories fit on one row */
.cat-item > a { flex-direction: column; gap: 5px; padding: 10px 6px 9px; font-size: 13.5px; }
.cat-ico { display: grid !important; width: 34px; height: 34px; }
.cat-ico .ico { width: 18px; height: 18px; }
.cat-item > a::after { left: 14px; right: 14px; }
@media (max-width: 1250px) { .cat-item > a { font-size: 12.5px; padding-left: 4px; padding-right: 4px; } .cat-ico { width: 30px; height: 30px; } }

/* ---------- category menu with round photos ---------- */
.cat-ico { display: none !important; }
.cat-item > a { flex-direction: column; gap: 6px; padding: 10px 6px 10px; font-size: 13.5px; font-weight: 600; }
.cat-thumb { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--tint), color-mix(in srgb, var(--accent) 10%, #fff)); color: var(--primary);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px color-mix(in srgb, var(--primary) 18%, var(--line)); transition: box-shadow .25s, transform .25s; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat-item > a:hover .cat-thumb, .cat-item.current .cat-thumb { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary), 0 6px 16px color-mix(in srgb, var(--primary) 25%, transparent); transform: translateY(-2px); }
.cat-item:nth-child(even) > a:hover .cat-thumb, .cat-item:nth-child(even).current .cat-thumb { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent), 0 6px 16px color-mix(in srgb, var(--accent) 25%, transparent); }
.cat-item > a:hover .cat-thumb img { transform: scale(1.1); }
.cat-name { white-space: nowrap; }
.cat-item > a::after { left: 18px; right: 18px; }
@media (max-width: 1250px) { .cat-thumb { width: 46px; height: 46px; } .cat-item > a { font-size: 12.5px; } }

/* image cards "photo" style: plain photo + website-rendered caption bar */
.tile-photo { position: relative; width: calc((100% - 80px) / 4.6); min-width: 190px; aspect-ratio: 1 / 1.25; border-radius: 18px; overflow: hidden; background: var(--bg-soft); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile-photo:hover img { transform: scale(1.05); }
.tile-photo::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .28)); pointer-events: none; }
.tile-cap { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); border-radius: 12px; padding: 10px 12px; font-weight: 800; font-size: 15px; color: var(--text); line-height: 1.25; }
.tile-cap .ico { flex-shrink: 0; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--primary); color: #fff; transition: transform .25s; }
.tile-photo:hover .tile-cap .ico { transform: translateX(3px); background: var(--accent); }
@media (max-width: 640px) { .tile-photo { width: 42%; min-width: 0; border-radius: 14px; } .tile-cap { left: 6px; right: 6px; bottom: 6px; padding: 7px 8px; font-size: 12.5px; border-radius: 10px; } .tile-cap .ico { width: 20px; height: 20px; padding: 3px; } }

/* Health-goal photo cards v2: clean photo, title below (no overlay) */
.tile-photo { aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; display: flex; flex-direction: column; gap: 10px;
  width: calc((100% - 4 * 20px) / 5); min-width: 170px; text-decoration: none; }
.tile-photo::after { display: none; }
.tile-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 18px; display: block;
  box-shadow: 0 6px 18px rgba(30, 50, 30, .08); transition: transform .35s, box-shadow .35s; }
.tile-photo:hover img { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30, 50, 30, .16); }
.tile-cap { position: static; background: none; backdrop-filter: none; padding: 0 4px; border-radius: 0; justify-content: center; gap: 6px;
  font-size: 16px; font-weight: 700; color: #2b2f36; }
.tile-cap .ico { width: 22px; height: 22px; padding: 4px; background: var(--tint); color: var(--primary); opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s, background .25s; }
.tile-photo:hover .tile-cap { color: var(--primary); }
.tile-photo:hover .tile-cap .ico { opacity: 1; transform: none; background: var(--primary); color: #fff; }
@media (max-width: 1100px) { .tile-photo { width: calc((100% - 3 * 20px) / 3.6); } }
@media (max-width: 640px) {
  .tile-photo { width: 38%; min-width: 0; gap: 7px; }
  .tile-photo img { border-radius: 14px; }
  .tile-cap { font-size: 13.5px; padding: 0 2px; }
  .tile-cap .ico { display: none; }
}

/* ---------- smaller search + premium account dropdown ---------- */
@media (min-width: 901px) {
  .header-main .search { flex: 0 1 520px; height: 44px; border-radius: 12px; background: var(--bg-soft); border-color: transparent; }
  .header-main .search:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent); }
}
.header-actions { gap: 22px; }
.account-link { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 16px; transition: color .2s; }
.acct-chev { display: inline-flex; transform: rotate(90deg); transition: transform .2s; }
.acct:hover .account-link, .acct:focus-within .account-link { color: var(--accent); }
.acct:hover .acct-chev, .acct:focus-within .acct-chev { transform: rotate(-90deg); }
.acct-menu { width: 270px; padding: 6px 0; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(20, 30, 20, .14); top: calc(100% + 6px); gap: 0 !important; }
.acct-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* hover bridge */
.acct:hover .acct-menu, .acct:focus-within .acct-menu { display: flex !important; flex-direction: column; animation: acct-in .18s ease-out; }
@keyframes acct-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.acct-menu > a { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-radius: 0; font-size: 15px; font-weight: 600; color: #2b2f45; border-top: 1px solid #f0f1f4; }
.acct-menu > a .ico { color: #2b2f45; flex-shrink: 0; transition: color .15s; }
.acct-menu > a:hover { background: var(--tint-2); color: var(--primary); }
.acct-menu > a:hover .ico { color: var(--primary); }
.acct-menu > a em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 800; background: var(--accent); color: #fff; border-radius: 10px; padding: 1px 8px; }
.acct-head { display: flex; align-items: center; gap: 12px; padding: 10px 20px 12px; }
.acct-guest { justify-content: space-between; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.acct-guest a { color: var(--text); font-weight: 800; padding: 0; }
.acct-guest a:hover { color: var(--accent); background: none; }
.acct-login-btn { margin: 2px 20px 12px; justify-content: center; background: var(--primary); color: #fff !important; border-radius: 10px !important; border-top: 0 !important; font-weight: 800 !important; padding: 10px !important; }
.acct-login-btn:hover { background: var(--primary) !important; filter: brightness(1.1); }
.acct-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--primary)); flex-shrink: 0; }
.acct-head small { display: block; color: var(--muted); font-size: 12.5px; }
.acct-head strong { display: block; font-size: 15px; max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-logout, .acct-logout .ico { color: var(--danger) !important; }

/* ---------- contact page ---------- */
.ct-hero { text-align: center; padding: 46px 0 70px;
  background: radial-gradient(500px 220px at 15% 20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
              radial-gradient(600px 260px at 85% 80%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 70%), #fbfaf6; }
.ct-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); background: #fff; padding: 5px 12px; border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.ct-hero h1 { font-size: 38px; margin: 14px 0 8px; letter-spacing: -.6px; color: #1f2329; }
.ct-hero p { max-width: 560px; margin: 0 auto; color: #555; font-size: 16px; }
.ct-wrap { margin-top: -42px; padding-bottom: 40px; }
.ct-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ct-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 10px 30px rgba(20, 40, 20, .07); transition: transform .2s, box-shadow .2s; }
a.ct-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 40, 20, .12); }
.ct-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 10px; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #8fd16a)); }
.ct-card:nth-child(even) .ct-ico { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, #ffb3cf)); }
.ct-wa .ct-ico { background: linear-gradient(135deg, #1fae55, #25d366) !important; }
.ct-card strong { font-size: 15px; }
.ct-val { font-weight: 700; color: var(--primary); font-size: 15px; word-break: break-word; }
.ct-card small { color: var(--muted); font-size: 12.5px; }
.ct-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; margin-top: 26px; align-items: start; }
.ct-form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 4px 18px rgba(20, 40, 20, .04); }
.ct-form-card h2 { margin: 0 0 4px; font-size: 22px; }
.ct-form-card > p { margin: 0 0 18px; }
.ct-form { display: flex; flex-direction: column; gap: 14px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-hp { position: absolute; left: -9999px; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip input { position: absolute; opacity: 0; }
.ct-chip span { display: inline-block; padding: 7px 14px; border: 1.5px solid #dcdee6; border-radius: 20px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: .15s; }
.ct-chip span:hover { border-color: var(--primary); }
.ct-chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.ct-chip input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.ct-send { align-self: flex-start; background: var(--accent); color: #fff; padding: 12px 28px; border-radius: 30px; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 28%, transparent); }
.ct-send:hover { filter: brightness(1.07); }
.ct-success { display: flex; gap: 12px; align-items: flex-start; background: var(--tint-2); border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--line)); color: var(--green); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.ct-success strong { display: block; }
.ct-success span { color: #4a5a4a; font-size: 14px; }
.ct-side { display: flex; flex-direction: column; gap: 18px; }
.ct-visit, .ct-faq { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.ct-visit h3, .ct-faq h3 { margin: 0 0 10px; font-size: 18px; }
.ct-visit p { margin: 0 0 10px; color: #555; line-height: 1.6; font-size: 14.5px; }
.ct-dir { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.ct-map { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ct-faq details { border-top: 1px solid var(--line); }
.ct-faq summary { list-style: none; cursor: pointer; padding: 12px 0; font-weight: 700; font-size: 14.5px; display: flex; justify-content: space-between; gap: 10px; }
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--primary); }
.ct-faq details[open] summary::after { content: '−'; }
.ct-faq details p { margin: 0 0 12px; color: #555; font-size: 14px; line-height: 1.6; }
.ct-faq details p a { color: var(--primary); text-decoration: underline; }
@media (max-width: 900px) {
  .ct-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ct-main { grid-template-columns: minmax(0, 1fr); }
  .ct-hero h1 { font-size: 28px; }
}
@media (max-width: 640px) {
  .ct-hero { padding: 30px 0 56px; }
  .ct-hero p { font-size: 14.5px; }
  .ct-card { padding: 14px; border-radius: 14px; }
  .ct-ico { width: 38px; height: 38px; border-radius: 12px; margin-bottom: 6px; }
  .ct-val { font-size: 13.5px; }
  .ct-form-card { padding: 18px 14px; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-send { align-self: stretch; }
}
@media (max-width: 900px) {
  .acct-chev { display: none !important; }
  .header-actions { gap: 10px; }
  .account-link { gap: 0; }
}
/* account dropdown: compact */
.acct-menu { width: 240px; padding: 4px 0; }
.acct-menu > a { padding: 9px 16px; gap: 11px; font-size: 14px; }
.acct-menu > a .ico { width: 17px; height: 17px; }
.acct-head { padding: 8px 16px 8px; }
.acct-guest { font-size: 13.5px; }
.acct-login-btn { margin: 0 16px 8px; padding: 8px !important; font-size: 14px !important; }
.acct-avatar { width: 34px; height: 34px; }

/* ---------- "Delivery to" pill ---------- */
.loc { position: relative; flex-shrink: 0; }
.loc-pill { display: flex; align-items: center; gap: 9px; padding: 6px 12px 6px 8px; border-radius: 12px; cursor: pointer; text-align: left; font: inherit;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 9%, #fff), color-mix(in srgb, var(--accent) 7%, #fff)); transition: box-shadow .2s, border-color .2s; }
.loc-pill:hover, .loc.open .loc-pill { border-color: color-mix(in srgb, var(--primary) 40%, transparent); box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 14%, transparent); }
.loc-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .06); flex-shrink: 0; }
.loc-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.loc-text small { font-size: 12px; color: var(--primary); font-weight: 700; }
.loc-text strong { font-size: 14px; color: #262a33; white-space: nowrap; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.loc:not(.has-pin) .loc-text strong { color: var(--accent); }
.loc-chev { display: inline-flex; transform: rotate(90deg); color: var(--muted); transition: transform .2s; }
.loc.open .loc-chev { transform: rotate(-90deg); }
.loc-pop { position: absolute; top: calc(100% + 10px); left: 0; z-index: 70; width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  box-shadow: 0 18px 44px rgba(20, 30, 20, .16); animation: acct-in .18s ease-out; }
.loc-pop::before { content: ''; position: absolute; top: -7px; left: 26px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.loc-pop-title { display: block; font-size: 16px; }
.loc-pop-sub { margin: 2px 0 12px; color: var(--muted); font-size: 13px; }
.loc-form { display: flex; gap: 8px; }
.loc-form input { flex: 1; min-width: 0; border: 1.5px solid #dcdee6; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; letter-spacing: 1px; }
.loc-form input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
.loc-check { border: 0; border-radius: 10px; padding: 0 16px; background: var(--primary); color: #fff; font-weight: 800; cursor: pointer; }
.loc-check:hover { filter: brightness(1.1); }
.loc-result:empty { display: none; }
.loc-result { margin-top: 12px; font-size: 13.5px; }
.loc-ok { display: flex; gap: 10px; align-items: flex-start; background: var(--tint-2); border-radius: 10px; padding: 10px 12px; }
.loc-ok > span { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.loc-ok > span .ico { width: 13px; height: 13px; }
.loc-ok small { display: block; color: #555; margin-top: 2px; font-size: 12.5px; }
.loc-bad { color: var(--danger); font-weight: 600; }
.loc-wait { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.loc-wait .co-spin { border-color: var(--tint); border-top-color: var(--primary); }
@media (max-width: 1150px) { .loc-text strong { max-width: 110px; } }
@media (max-width: 900px) {
  .loc { order: 6; flex: 1 1 100%; }
  .loc-pill { width: 100%; padding: 4px 10px 4px 6px; border-radius: 10px; }
  .loc-ico { width: 26px; height: 26px; border-radius: 8px; }
  .loc-text { flex-direction: row; align-items: baseline; gap: 6px; flex: 1; }
  .loc-text small { font-size: 12px; }
  .loc-text strong { font-size: 13px; max-width: none; }
  .loc-pop { width: auto; left: 0; right: 0; }
}

/* pincode on PDP delivery line; on phones the header pill is hidden and the popup becomes a bottom sheet */
.pdp-delivery { flex-wrap: wrap; }
.pdp-pin { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; padding: 2px 0; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.pdp-pin .ico { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .loc { order: 0; flex: 0 0 0; width: 0; }
  .loc-pill { display: none; }
  body.loc-sheet::after { content: ''; position: fixed; inset: 0; background: rgba(15, 20, 15, .45); z-index: 360; }
  .loc-pop { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 370; width: auto; border-radius: 20px 20px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); animation: sheet-up .25s ease-out; }
  .loc-pop::before { display: none; }
  .loc-form input { font-size: 16px; }
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }

/* search: clean white field like Hyugalife */
.header-main .search { background: #fff !important; border: 1px solid #dcdee5 !important; border-radius: 10px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); padding: 0 14px; gap: 12px; transition: border-color .2s, box-shadow .2s; }
.header-main .search:hover { border-color: #c4c7d1 !important; }
.header-main .search:focus-within { border-color: var(--primary) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent) !important; }
.header-main .search > svg { color: #2b2f45; width: 21px; height: 21px; stroke-width: 2.2; flex-shrink: 0; }
.header-main .search input { font-size: 15px; color: var(--text); }
.header-main .search input::placeholder { color: #9a9cad; }
@media (min-width: 901px) { .header-main .search { height: 46px; } }
.account-link { font-weight: 800; color: #2b2f45; }
.account-link > svg { width: 26px; height: 26px; }
.acct-chev .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.loc-pop.loc-float { position: fixed; z-index: 370; }
.loc-pop.loc-float::before { left: auto; right: 30px; }

/* pincode popup = centred modal on desktop, bottom sheet on phone */
body.loc-sheet::after { content: ''; position: fixed; inset: 0; background: rgba(15, 20, 15, .45); z-index: 360; animation: fade-in .2s; }
@keyframes fade-in { from { opacity: 0; } }
.loc-pop { position: fixed !important; z-index: 370; }
@media (min-width: 901px) {
  .loc-pop { top: 50% !important; left: 50% !important; right: auto; bottom: auto; width: 400px; padding: 26px 24px 22px; border-radius: 20px; transform: translate(-50%, -50%); animation: modal-pop .22s ease-out; }
  .loc-pop::before { display: none; }
  .loc-pop-title { font-size: 19px; padding-right: 30px; }
}
@keyframes modal-pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
.loc-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.loc-x:hover { background: #e8eaef; }
.acct.open .acct-menu { display: flex !important; flex-direction: column; animation: acct-in .18s ease-out; }
.acct.open .account-link { color: var(--accent); }
@media (max-width: 900px) {
  .acct-menu { position: fixed !important; top: 64px !important; right: 12px !important; left: auto !important; width: min(270px, calc(100vw - 24px)); z-index: 300; }
  .acct-menu::before { display: none; }
  .acct:hover .acct-menu { display: none; }
  .acct.open .acct-menu { display: flex !important; }
}
@media (max-width: 900px) {
  .acct { position: relative; }
  .acct-menu { position: absolute !important; top: calc(100% + 10px) !important; right: -44px !important; }
}

/* ---------- email-first login / sign-up ---------- */
.auth-modal { position: fixed; inset: 0; z-index: 450; background: rgba(15, 20, 15, .5); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.auth-modal.open { opacity: 1; }
.auth-modal-box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 22px; background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3); transform: translateY(14px) scale(.98); transition: transform .25s cubic-bezier(.2, .9, .3, 1.1); }
.auth-modal.open .auth-modal-box { transform: none; }
.auth-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); font-size: 24px; line-height: 1; cursor: pointer; color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.auth-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 30px 16px 50px;
  background: radial-gradient(500px 260px at 15% 20%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%), radial-gradient(600px 300px at 85% 85%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 70%), #fbfaf6; }
.auth-page .auth { max-width: 440px; width: 100%; background: #fff; border-radius: 22px; box-shadow: 0 20px 60px rgba(20, 40, 20, .12); overflow: hidden; }
.auth-top { text-align: center; padding: 28px 24px 26px; border-top: 5px solid var(--accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, #fff) 0%, color-mix(in srgb, var(--primary) 6%, #fff) 70%, #fff 100%); }
.auth-logo { height: 58px; width: auto; margin: 0 auto; }
.auth-tag { display: block; margin-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); }
.auth-body { padding: 4px 28px 24px; }
.auth-title { text-align: center; margin: 0; font-size: 25px; letter-spacing: -.4px; color: #1f2329; }
.auth-sub { text-align: center; margin: 6px 0 20px; color: var(--muted); font-size: 15px; }
.auth-form { display: flex; flex-direction: column; }
.auth-label { font-weight: 700; font-size: 14px; margin: 0 0 7px; display: block; }
.auth-label small { color: var(--muted); font-weight: 500; }
.auth-input { display: flex; align-items: center; gap: 10px; border: 1.5px solid #d5d8e0; border-radius: 12px; padding: 0 12px; margin-bottom: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.auth-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 13%, transparent); }
.auth-input > .ico { color: #9a9cad; flex-shrink: 0; }
.auth-input input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 13px 0; font: inherit; font-size: 16px; background: transparent; }
.auth-prefix { padding-left: 0; overflow: hidden; }
.auth-prefix span { align-self: stretch; display: grid; place-items: center; padding: 0 12px; background: var(--bg-soft); border-right: 1px solid #e3e5ea; font-weight: 700; color: #555; }
.auth-eye { border: 0; background: none; color: #9a9cad; cursor: pointer; padding: 4px; display: grid; }
.auth-eye:hover { color: var(--primary); }
.auth-chip { display: none; align-items: center; justify-content: space-between; gap: 10px; background: var(--tint-2); border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line)); border-radius: 12px; padding: 10px 12px; margin-bottom: 16px; font-size: 14px; }
.auth-chip > span { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--primary); }
.auth-chip b { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-change { border: 0; background: none; color: var(--accent); font-weight: 800; cursor: pointer; flex-shrink: 0; }
.auth-step { display: none; }
.auth[data-step="email"] .auth-step-email, .auth[data-step="login"] .auth-step-login, .auth[data-step="register"] .auth-step-register { display: block; }
.auth:not([data-step="email"]) .auth-chip { display: flex; }
.auth-error { background: #fdecec; color: #b42323; border-radius: 10px; padding: 9px 12px; font-size: 13.5px; font-weight: 600; margin: -4px 0 12px; }
.auth-btn { border: 0; border-radius: 12px; padding: 14px; font: inherit; font-size: 17px; font-weight: 800; color: #fff; cursor: pointer; background: var(--accent);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 30%, transparent); transition: filter .15s, transform .1s; }
.auth-btn:hover { filter: brightness(1.07); }
.auth-btn:active { transform: scale(.99); }
.auth-btn.loading { opacity: .75; pointer-events: none; }
.auth-btn.loading span::after { content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -2px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: cd-spin .7s linear infinite; }
.auth.done .auth-btn { background: var(--primary); box-shadow: none; }
.auth-perks { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 12.5px; font-weight: 700; color: #4a5060; }
.auth-perks span { display: inline-flex; align-items: center; gap: 5px; }
.auth-perks .ico { color: var(--primary); }
.auth-safe { text-align: center; margin: 10px 0 0; font-size: 12px; color: var(--muted); display: flex; justify-content: center; align-items: center; gap: 5px; }
@media (max-width: 640px) {
  .auth-modal { align-items: flex-end; padding: 0; }
  .auth-modal-box { max-width: none; border-radius: 22px 22px 0 0; max-height: 92vh; transform: translateY(40px); }
  .auth-body { padding: 0 18px calc(18px + env(safe-area-inset-bottom)); }
  .auth-top { padding: 22px 16px 20px; }
  .auth-logo { height: 48px; }
  .auth-title { font-size: 22px; }
}

/* OTP login steps */
.auth[data-step="otp"] .auth-step-otp, .auth[data-step="profile"] .auth-step-profile { display: block; }
.auth-hint { display: flex; align-items: center; gap: 6px; margin: -6px 0 14px; font-size: 12.5px; color: var(--muted); }
.otp-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 10px; }
.otp-boxes input { width: 100%; height: 54px; text-align: center; font: inherit; font-size: 24px; font-weight: 800; border: 1.5px solid #d5d8e0; border-radius: 12px; background: #fff; caret-color: var(--accent); transition: border-color .15s, box-shadow .15s, background .15s; }
.otp-boxes input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
.otp-boxes input:not(:placeholder-shown), .otp-boxes input:valid:not([value=""]) { background: var(--tint-2); }
.otp-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 14px; }
.auth-resend { border: 0; background: none; color: var(--accent); font-weight: 800; cursor: pointer; padding: 0; font: inherit; font-size: 13px; font-weight: 800; }
.auth-resend[disabled] { color: var(--muted); cursor: default; font-weight: 600; }
.auth-dev { background: #fff8e1; border: 1px dashed #e0a800; color: #6b5300; border-radius: 10px; padding: 9px 12px; font-size: 13px; margin-bottom: 12px; }
.auth-dev code { font-size: 16px; font-weight: 800; letter-spacing: 2px; background: #fff; padding: 1px 6px; border-radius: 6px; }
@media (max-width: 400px) { .otp-boxes { gap: 6px; } .otp-boxes input { height: 48px; font-size: 21px; } }

/* ---------- My Account dashboard ---------- */
.acc { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.acc-side { position: sticky; top: 130px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.acc-user { display: flex; align-items: center; gap: 12px; padding: 20px 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, #fff), var(--tint)); }
.acc-user strong { display: block; font-size: 16px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-user small { display: block; color: var(--muted); font-size: 12.5px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 20px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--primary)); box-shadow: 0 4px 12px rgba(140, 47, 43, .25); }
.acc-nav { display: flex; flex-direction: column; padding: 8px; }
.acc-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: #2b2f45; transition: background .15s, color .15s; }
.acc-nav a:hover { background: var(--tint-2); color: var(--primary); }
.acc-nav a.on { background: var(--tint); color: var(--primary); font-weight: 800; }
.acc-nav a em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 800; background: var(--primary); color: #fff; border-radius: 10px; padding: 1px 8px; }
.acc-nav .acc-logout { color: var(--danger); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.acc-main { min-width: 0; }
.acc-hello { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.acc-hello h1 { margin: 0 0 2px; font-size: 26px; }
.acc-hello p { margin: 0; }
.acc-stats { display: flex; gap: 10px; }
.acc-stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; min-width: 92px; text-align: center; }
.acc-stats b { display: block; font-size: 18px; color: var(--primary); }
.acc-stats .pink b { color: var(--accent); }
.acc-stats span { font-size: 12px; color: var(--muted); font-weight: 600; }
.acc-filters { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.acc-filters button { flex-shrink: 0; border: 1px solid var(--line); background: #fff; border-radius: 30px; padding: 7px 14px; font: inherit; font-size: 13.5px; font-weight: 700; color: #2b2f45; cursor: pointer; }
.acc-filters button em { font-style: normal; color: var(--muted); font-weight: 600; margin-left: 2px; }
.acc-filters button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.acc-filters button.on em { color: #fff; opacity: .85; }
.ocards { display: flex; flex-direction: column; gap: 14px; }
.ocard { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.ocard[hidden] { display: none; }
.ocard:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); }
.ocard-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ocard-body { display: flex; align-items: center; gap: 16px; padding: 16px 18px; color: inherit; }
.ocard-thumbs { display: flex; flex-shrink: 0; }
.ocard-thumbs img, .ocard-thumbs span { width: 64px; height: 64px; border-radius: 12px; border: 2px solid #fff; background: #fff; object-fit: contain; box-shadow: 0 0 0 1px var(--line); }
.ocard-thumbs > * + * { margin-left: -18px; }
.ocard-thumbs span { display: grid; place-items: center; font-weight: 800; color: var(--primary); background: var(--tint); }
.ocard-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ocard-info strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ocard-body:hover .ocard-info strong { color: var(--primary); }
.ocard-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.ocard-total { display: flex; align-items: center; gap: 6px; font-size: 17px; color: var(--text); }
.ocard-total .ico { color: var(--muted); }
.ocard-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 0 18px 14px; flex-wrap: wrap; }
.ocard-foot form { margin: 0; }
.ocard-foot .btn, .od-actions .btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 10px; font-weight: 700; padding: 8px 14px; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.ostatus { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 30px; font-size: 12.5px; font-weight: 800; }
.ostatus-pending { background: #fff4d6; color: #a46b00; }
.ostatus-confirmed, .ostatus-processing { background: #e7ecff; color: #3346a8; }
.ostatus-shipped { background: #e4f4ff; color: #106ba3; }
.ostatus-delivered { background: #e3f4e0; color: var(--primary); }
.ostatus-cancelled { background: #fde6e6; color: #b42323; }
.acc-empty { text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: 18px; padding: 50px 20px; }
.acc-empty-ico { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--tint); color: var(--primary); margin-bottom: 8px; }
.acc-empty h3 { margin: 6px 0 4px; }
.acc-empty .btn { margin-top: 10px; }
.acc-none { text-align: center; padding: 30px 0; }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.acc-card h2 { margin: 0 0 4px; font-size: 22px; }
.acc-card > .muted { margin: 0 0 20px; }
.acc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; max-width: 640px; }
.acc-form .full { grid-column: 1 / -1; }
.acc-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; color: #2b2f45; }
.acc-form input, .acc-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 15px; font-weight: 500; background: #fff; transition: border-color .15s, box-shadow .15s; }
.acc-form input:focus, .acc-form textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px var(--tint); }
.acc-form small { font-weight: 500; }
.acc-prefix, .acc-locked { display: flex; align-items: center; position: relative; }
.acc-prefix i { position: absolute; left: 14px; font-style: normal; font-weight: 700; color: var(--muted); font-size: 15px; }
.acc-prefix input { padding-left: 48px; }
.acc-locked input { background: var(--bg-soft); color: var(--muted); padding-right: 100px; }
.acc-locked em { position: absolute; right: 10px; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; font-weight: 800; color: var(--primary); background: var(--tint); border-radius: 20px; padding: 3px 10px; }
.acc-form .btn { padding: 11px 28px; border-radius: 12px; font-weight: 800; }
.acc-card > .acc-since { margin: 22px 0 0; }
.acc-form label small { color: var(--muted); }

/* ---------- order detail ---------- */
.od-wrap { max-width: 900px; }
.od-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.od-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--text); }
.od-back:hover { color: var(--primary); }
.od-actions { display: flex; gap: 8px; }
.od-actions form { margin: 0; }
.od { display: flex; flex-direction: column; gap: 14px; }
.od-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.od-headcard { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, #fff), var(--tint-2)); }
.od-headcard h2 { margin: 2px 0; font-size: 22px; }
.od-cancel { display: flex; align-items: center; gap: 10px; background: #fff5f5; border-color: #f6d4d4; color: #b42323; font-weight: 600; }
.od-wait { background: #fffaeb; border-color: #f3e2b0; color: #8a5a00; }
.od-track { display: flex; padding: 6px 0 4px; }
.od-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; font-size: 13px; color: var(--muted); }
.od-step::before { content: ''; position: absolute; top: 18px; right: 50%; width: 100%; height: 3px; background: var(--line); }
.od-step:first-child::before { display: none; }
.od-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: #b7bac6; position: relative; z-index: 1; }
.od-step.done { color: var(--text); }
.od-step.done::before { background: var(--primary); }
.od-step.done .od-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.od-step.now .od-dot { box-shadow: 0 0 0 5px var(--tint); }
.od-step.now b { color: var(--primary); }
.od-eta { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 10px 14px; background: var(--tint-2); border-radius: 10px; font-size: 14px; color: var(--primary); }
.od-eta b { color: var(--text); }
.od-awb { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 10px; font-size: 14px; }
.od-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; }
.od-h .ico { color: var(--primary); }
.od-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.od-h + .od-item { border-top: 0; padding-top: 0; }
.od-item img { width: 68px; height: 68px; border-radius: 12px; border: 1px solid var(--line); object-fit: contain; background: #fff; flex-shrink: 0; }
.od-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.od-item-info > a, .od-item-info > span { font-weight: 700; color: var(--text); }
.od-item-info > a:hover { color: var(--primary); }
.od-item-info small { color: var(--muted); font-size: 13px; }
.od-item-info s { color: #a0a3b1; }
.od-rate { font-size: 13px; font-weight: 800; color: var(--accent) !important; margin-top: 2px; }
.od-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.od-addr { margin: 0; line-height: 1.7; font-size: 14.5px; }
.od-addr .ico { vertical-align: -2px; }
.od-sum > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14.5px; }
.od-sum .green { color: var(--primary); }
.od-sum .od-grand { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 800; }
.od-sum .od-paid { justify-content: flex-start; align-items: center; gap: 6px; font-size: 13px; color: #8a5a00; font-weight: 700; }
.od-sum .od-paid.ok { color: var(--primary); }
.od-sum .od-saved { justify-content: center; margin-top: 8px; background: color-mix(in srgb, var(--accent) 9%, #fff); color: var(--accent); font-weight: 800; border-radius: 10px; padding: 8px; }
.od-help { display: flex; align-items: center; gap: 14px; margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.od-help > div { flex: 1; display: flex; flex-direction: column; }
.od-help-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--primary); flex-shrink: 0; }

@media (max-width: 900px) {
  .acc { grid-template-columns: 1fr; gap: 16px; }
  .acc-side { position: static; border-radius: 16px; }
  .acc-user { padding: 14px 16px; }
  .acc-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; padding: 10px 12px; }
  .acc-nav a { flex-shrink: 0; padding: 7px 12px; font-size: 13.5px; gap: 7px; border: 1px solid var(--line); border-radius: 30px; }
  .acc-nav a .ico { width: 16px; height: 16px; }
  .acc-nav a.on { border-color: var(--primary); }
  .acc-nav .acc-logout { border-top: 1px solid var(--line); border-radius: 30px; margin-top: 0; }
  .acc-hello h1 { font-size: 21px; }
  .acc-stats { width: 100%; }
  .acc-stats div { flex: 1; min-width: 0; padding: 8px; }
  .acc-stats b { font-size: 16px; }
  .ocard-head { padding: 10px 14px; }
  .ocard-body { padding: 14px; gap: 12px; }
  .ocard-thumbs img, .ocard-thumbs span { width: 54px; height: 54px; }
  .ocard-thumbs img, .ocard-thumbs span { width: 50px; height: 50px; }
  .ocard-thumbs > * + * { margin-left: -30px; }
  .ocard-total { font-size: 15px; }
  .ocard-foot { padding: 0 14px 12px; }
  .ocard-foot .btn { flex: 1; justify-content: center; }
  .ocard-foot form { flex: 1; display: flex; }
  .acc-card { padding: 20px 16px; }
  .acc-form { grid-template-columns: 1fr; }
  .od-grid { grid-template-columns: 1fr; }
  .od-card { padding: 16px; }
  .od-step { font-size: 11.5px; }
  .od-dot { width: 32px; height: 32px; }
  .od-step::before { top: 15px; }
  .od-headcard h2 { font-size: 18px; }
  .od-help { flex-wrap: wrap; }
}

/* ---------- My Reviews (rate from account) ---------- */
.acc-nav a em.pink { background: var(--accent); }
.acc-rate-cta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px 18px; border-radius: 16px; color: var(--text);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, #fff), #fff8e8); border: 1px solid color-mix(in srgb, var(--accent) 18%, #fff); transition: box-shadow .2s; }
.acc-rate-cta:hover { box-shadow: var(--shadow); }
.acc-rate-cta > span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #f5a623; flex-shrink: 0; box-shadow: 0 2px 8px rgba(245, 166, 35, .25); }
.acc-rate-cta > span .ico { fill: currentColor; }
.acc-rate-cta div { flex: 1; display: flex; flex-direction: column; }
.acc-rate-cta small { color: var(--muted); font-size: 13px; }
.acc-rate-cta > .ico { color: var(--accent); }
.ocard-rate .ico { color: #f5a623; fill: #f5a623; }
.acc-empty-flat { border: 0; padding: 30px 10px; }
.rate-list { display: flex; flex-direction: column; }
.rate-item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.rate-item:first-child { border-top: 0; padding-top: 4px; }
.rate-item:target { background: var(--tint-2); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 12px; }
.rate-img img { width: 84px; height: 84px; border-radius: 14px; border: 1px solid var(--line); object-fit: contain; background: #fff; }
.rate-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rate-title { font-weight: 800; color: var(--text); font-size: 15.5px; }
.rate-title:hover { color: var(--primary); }
.rate-form { margin: 2px 0 0; }
.rate-star-input { align-items: center; gap: 2px; }
.rate-star-input label { color: #dcdfe6; transition: transform .1s; }
.rate-star-input label .ico { fill: currentColor; }
.rate-star-input label:hover { transform: scale(1.12); }
.rate-hint { order: -1; margin-left: 12px; font-size: 13.5px; font-weight: 700; color: var(--muted); } /* row-reverse → visually last */
.rate-more { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-width: 520px; }
.rate-more[hidden] { display: none; }
.rate-more input, .rate-more textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 13px; font: inherit; font-size: 14.5px; }
.rate-more input:focus, .rate-more textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px var(--tint); }
.rate-more .btn { align-self: flex-start; padding: 10px 24px; border-radius: 12px; font-weight: 800; }
.rate-done { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.rate-stars { display: inline-flex; gap: 2px; color: #dcdfe6; }
.rate-stars .on { color: #f5a623; }
.rate-stars .ico { fill: currentColor; }
.rate-badge { font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 20px; background: #fff4d6; color: #a46b00; }
.rate-badge.ok { background: var(--tint); color: var(--primary); }
.rate-rt { font-size: 14.5px; margin-top: 4px; }
.rate-text { margin: 0; color: #4a4e60; font-size: 14px; line-height: 1.6; }
.od-rated { font-size: 13px; font-weight: 700; color: #f5a623; margin-top: 2px; }
.od-rated i { font-style: normal; color: #dcdfe6; }
@media (max-width: 900px) {
  .rate-item { gap: 12px; }
  .rate-img img { width: 64px; height: 64px; }
  .rate-star-input label .ico { width: 28px; height: 28px; }
}

/* ---------- premium checkout ---------- */
body.is-focus { background: linear-gradient(180deg, #f7f9f4 0%, #f9f6f8 100%) fixed; }
.is-focus .simple-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); }
.focus-footer { border-top: 1px solid var(--line); background: #fff; margin-top: 30px; }
.focus-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: var(--muted); }
.focus-footer span { display: inline-flex; align-items: center; gap: 6px; }
.focus-footer .ico { color: var(--primary); }
.focus-footer a { color: var(--muted); }
.focus-footer a:hover { color: var(--primary); }

.co { padding-top: 22px; }
.co-steps { margin-bottom: 26px; }
.co-steps li > span, .co-steps li a > span { width: 32px; height: 32px; }
.co-steps li + li::before { top: 16px; height: 3px; border-radius: 3px; }
.co-steps li.active > span { box-shadow: inset 0 0 0 2px var(--primary), 0 0 0 5px var(--tint); }
@media (min-width: 901px) { .co-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 410px; } }
.co-main { gap: 18px; }
.co-login { background: #fff; border: 1px dashed color-mix(in srgb, var(--primary) 35%, var(--line)); border-radius: 14px; padding: 13px 18px; }

.co-card { border-radius: 20px; padding: 24px 26px; border-color: #e8eae3; box-shadow: 0 1px 2px rgba(20, 30, 20, .04), 0 8px 28px rgba(20, 30, 20, .05); transition: border-color .25s, box-shadow .25s; }
.co-card:focus-within { border-color: color-mix(in srgb, var(--primary) 40%, #e8eae3); box-shadow: 0 1px 2px rgba(20, 30, 20, .04), 0 12px 34px rgba(62, 128, 40, .1); }
.co-card-head { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #f0f1ec; }
.co-card-head h2 { font-size: 18px; letter-spacing: -.01em; }
.co-num { width: 34px; height: 34px; font-size: 15px; background: var(--tint); color: var(--primary); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--primary) 35%, transparent); transition: background .25s, color .25s; }
.co-num .ico { display: none; }
.co-card:focus-within .co-num { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px var(--tint); }
.co-card.is-done .co-num { background: var(--primary); color: #fff; box-shadow: none; }
.co-card.is-done .co-num b { display: none; }
.co-card.is-done .co-num .ico { display: block; animation: co-pop .3s ease-out; }
@keyframes co-pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.co-me { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--primary); background: var(--tint-2); border: 1px solid var(--tint); padding: 5px 11px; border-radius: 20px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.co-grid { gap: 16px 18px; }
.co-field label { font-size: 13px; color: #3a3e4c; margin-bottom: 7px; }
.co-field input, .co-field textarea, .co-field select, .co-note input { border: 1.5px solid #e1e3e8; border-radius: 12px; padding: 13px 15px; background: #fcfdfb; }
.co-field input:hover, .co-field textarea:hover, .co-field select:not([disabled]):hover { border-color: #c9ccd4; }
.co-field input:focus, .co-field textarea:focus, .co-field select:focus, .co-note input:focus { background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 13%, transparent); }
.co-prefix { border-color: #e1e3e8; border-radius: 12px; background: #fcfdfb; }
.co-prefix:focus-within { background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 13%, transparent); }
.co-prefix span { background: #f3f5f0; border-right-color: #e1e3e8; padding: 0 14px; }
.co-prefix input { background: transparent; }
.co-pin-status.ok { display: inline-flex; align-items: center; gap: 2px; background: var(--tint-2); color: var(--primary); padding: 3px 10px; border-radius: 20px; margin-top: 7px; }
.co-note summary { padding: 8px 12px; border-radius: 10px; background: var(--tint-2); }
.co-note[open] summary { margin-bottom: 10px; }

.co-pay { gap: 12px; }
.co-pay-opt { padding: 17px 18px; border-radius: 16px; border-color: #e1e3e8; background: #fff; }
.co-pay-opt:hover { border-color: color-mix(in srgb, var(--primary) 40%, #e1e3e8); }
.co-pay-opt:has(input:checked) { background: linear-gradient(135deg, var(--tint-2), #fff 70%); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 10%, transparent), 0 6px 18px rgba(62, 128, 40, .08); }
.co-radio { width: 22px; height: 22px; }
.co-pay-title { font-size: 15.5px; }
.co-pay-logos img { height: 24px; border-radius: 6px; }
.co-secure { background: #fff; border: 1px solid #eef0ea; border-radius: 30px; padding: 8px 14px; width: fit-content; margin: 16px auto 0; }

.co-side { top: 100px; }
.co-summary { padding: 0; overflow: hidden; }
.co-summary > * { margin-left: 22px; margin-right: 22px; }
.co-items { margin: 0 !important; padding: 18px 22px 4px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, #fff), var(--tint-2)); border-bottom: 1px solid #eef0ea; }
.co-items summary strong { font-size: 17px; }
.co-items summary span { background: #fff; padding: 3px 10px; border-radius: 20px; font-weight: 700; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.co-items .mini-lines { margin: 14px 0 12px; }
.co-items .mini-thumb { background: #fff; border-radius: 12px; }
.co-summary .coupon-form { margin-top: 18px; }
.co-summary .coupon-form input { border-radius: 12px; border-style: dashed; border-width: 1.5px; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.co-summary .coupon-form .btn { border-radius: 12px; font-weight: 800; }
.co-eta { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 11px 14px; border-radius: 14px; background: #f5f8f2; border: 1px solid #e7eee1; }
.co-eta > .ico { color: var(--primary); flex-shrink: 0; }
.co-eta span { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.35; }
.co-eta b { font-size: 14px; color: var(--text); }
.co-summary .totals { margin-top: 12px; }
.co-place { position: relative; overflow: hidden; border-radius: 14px; padding: 16px; font-size: 17px; font-weight: 800; letter-spacing: .01em;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 80%, #8a1f4a)); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 32%, transparent); transition: transform .15s, box-shadow .15s, filter .15s; }
.co-place:hover { transform: translateY(-1px); box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 38%, transparent); }
.co-place:active { transform: none; }
.co-shine { position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: co-shine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes co-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.co-summary .co-place { width: calc(100% - 44px); margin-top: 16px; }
.co-terms { margin-bottom: 0; }
.co-trust { margin: 18px 0 0 !important; padding: 14px 22px 18px; background: #fafbf8; border-top: 1px solid #eef0ea; gap: 8px; }
.co-trust span { flex: 1; flex-direction: column; text-align: center; gap: 6px; font-size: 11.5px; color: #4a4e5c; }
.co-trust i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 8px rgba(20, 30, 20, .07); }

@media (max-width: 900px) {
  body.is-focus { background: #f6f8f3; }
  .co { padding-top: 14px; }
  .co-card { padding: 18px 16px; border-radius: 18px; }
  .co-card-head { margin-bottom: 16px; padding-bottom: 12px; flex-wrap: wrap; }
  .co-me { margin-left: 46px; max-width: 100%; }
  .co-summary > * { margin-left: 16px; margin-right: 16px; }
  .co-items { padding: 16px 16px 4px; }
  .co-trust { padding: 12px 16px 16px; }
  .co-mbar { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; box-shadow: 0 -8px 26px rgba(0, 0, 0, .08); }
  .co-mbar .co-place { padding: 13px; font-size: 15.5px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
  .co-mbar-save { color: var(--primary) !important; font-weight: 700; }
  .focus-footer { margin-top: 20px; }
  .focus-footer .container { justify-content: center; text-align: center; font-size: 12px; }
}
@media (max-width: 640px) {
  .co-field input, .co-field textarea, .co-field select { padding: 12px 13px; }
}
@media (prefers-reduced-motion: reduce) { .co-shine { animation: none; display: none; } }
.co-summary > .offers-trigger { width: calc(100% - 44px); }
.co-summary > .offer-modal { margin: 0; }
@media (max-width: 900px) { .co-summary > .offers-trigger { width: calc(100% - 32px); } }
.co-card.co-summary { padding: 0; }

/* checkout: everything in one centred container */
@media (min-width: 901px) {
  .is-focus .co-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; }
  .is-focus .co { padding-top: 30px; padding-bottom: 50px; }
  .is-focus .co-steps { margin-bottom: 30px; }
}
.co-title { text-align: center; margin: 0 0 22px; }
.co-title h2 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.co-title p { margin: 4px 0 0; color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.co-title p .ico { color: var(--primary); }
.co-card-head { position: relative; }
.co-summary { border: 1px solid #e8eae3; box-shadow: 0 1px 2px rgba(20, 30, 20, .04), 0 16px 40px rgba(20, 30, 20, .08); }
.co-items .mini-line { padding: 8px 0; }
.co-items .mini-thumb { box-shadow: 0 2px 8px rgba(20, 30, 20, .08); }
.co-summary .totals > div { font-size: 14.5px; }
.co-summary .totals .grand { font-size: 20px; }
.co-pay-secure { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 0 22px 16px; margin: 0 !important; background: #fafbf8; }
.co-pay-secure img { height: 16px; width: auto; opacity: .75; filter: grayscale(.2); }
@media (max-width: 900px) {
  .co-title h2 { font-size: 21px; }
  .co-title { margin-bottom: 16px; }
}

/* ---------- main mega menu (app/menu.php) ---------- */
.mnav { --mnav-ink: color-mix(in srgb, var(--primary) 55%, #0d1a05); position: relative; background: color-mix(in srgb, var(--accent) 5%, #fff); border-top: 1px solid var(--line); box-shadow: 0 2px 4px rgba(0, 0, 0, .06); }
.mnav-inner { display: flex; align-items: stretch; gap: 4px; }
.mnav-item { position: relative; }
.mnav-item.has-mega { position: static; }
.mnav-top { display: flex; align-items: center; gap: 6px; padding: 13px 22px 12px; font-size: 16.5px; font-weight: 600; letter-spacing: .2px; text-transform: uppercase; color: var(--mnav-ink); white-space: nowrap; transition: color .15s; }
.mnav-chev { width: 6px; height: 6px; border-right: 1.5px solid #b9b2a8; border-bottom: 1.5px solid #b9b2a8; transform: rotate(45deg) translateY(-2px); transition: transform .2s; flex-shrink: 0; }
.mnav-item:hover > .mnav-top, .mnav-item:focus-within > .mnav-top, .mnav-item.current > .mnav-top { color: var(--accent); }
.mnav-item:hover .mnav-chev { transform: rotate(225deg) translate(-2px, -1px); border-color: var(--accent); }
.mnav-mega, .mnav-drop { display: none; position: absolute; top: 100%; z-index: 60; background: #fff; box-shadow: 0 14px 34px rgba(30, 30, 20, .14); border: 1px solid var(--line); border-top: 0; }
.mnav-item:hover > .mnav-mega, .mnav-item:focus-within > .mnav-mega { display: grid; }
.mnav-item:hover > .mnav-drop, .mnav-item:focus-within > .mnav-drop { display: flex; }
.mnav-mega { left: 16px; right: 16px; max-width: 1250px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; padding: 30px 32px 26px; border-radius: 0 0 6px 6px; }
.mnav-col { display: flex; flex-direction: column; }
.mnav-col strong { font-size: 16.5px; font-weight: 700; text-transform: uppercase; color: #262626; letter-spacing: .2px; margin-bottom: 8px; }
.mnav-col a, .mnav-drop a { padding: 7px 0; font-size: 16px; color: #333; transition: color .15s, transform .15s; }
.mnav-col a:hover, .mnav-drop a:hover { color: var(--accent); transform: translateX(3px); }
.mnav-drop { left: 0; flex-direction: column; min-width: 260px; padding: 12px 22px; border-radius: 0 0 6px 6px; }
@media (max-width: 1300px) { .mnav-top { padding-left: 14px; padding-right: 14px; font-size: 15px; } }
@media (max-width: 1100px) { .mnav-top { padding-left: 9px; padding-right: 9px; font-size: 13.5px; } .mnav-col a, .mnav-drop a { font-size: 14.5px; } }
@media (max-width: 900px) { .mnav { display: none; } }

/* mobile drawer accordion for the same menu */
.drawer-acc > summary { list-style: none; cursor: pointer; justify-content: space-between; font-weight: 600; text-transform: uppercase; font-size: 14.5px; }
.drawer-acc > summary::-webkit-details-marker { display: none; }
.drawer-acc[open] > summary { color: var(--accent); }
.drawer-acc[open] > summary .mnav-chev { transform: rotate(225deg); border-color: var(--accent); }
.drawer-acc-body { background: var(--bg-soft); padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.drawer-sub { display: block; padding: 8px 18px 8px 30px; font-size: 14.5px; color: #333; }
.drawer-all { font-weight: 700; color: var(--primary); }
.drawer-sub-title { padding: 12px 18px 4px 30px; font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.mnav-drop { overflow: visible; }
.mnav-fly { position: relative; }
.mnav-fly > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mnav-chev-r { transform: rotate(-45deg); }
.mnav-fly-panel { display: none; position: absolute; left: 100%; top: -12px; margin-left: 22px; min-width: 230px; flex-direction: column; padding: 12px 22px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 14px 34px rgba(30, 30, 20, .14); }
.mnav-fly-panel::before { content: ''; position: absolute; right: 100%; top: 0; bottom: 0; width: 24px; } /* hover bridge */
.mnav-fly:hover > .mnav-fly-panel, .mnav-fly:focus-within > .mnav-fly-panel { display: flex; }
.mnav-fly:hover > a .mnav-chev { border-color: var(--accent); }
.drawer-sub-2 { padding-left: 46px; font-size: 13.5px; color: var(--muted); }
/* last menu items: open dropdown / fly-out towards the left so they stay on screen */
.mnav-item:nth-last-child(-n+2) > .mnav-drop { left: auto; right: 0; }
.mnav-item:nth-last-child(-n+3) .mnav-fly-panel { left: auto; right: 100%; margin-left: 0; margin-right: 22px; }
.mnav-item:nth-last-child(-n+3) .mnav-fly-panel::before { right: auto; left: 100%; }

/* full-width homepage banner (edge to edge) */
main > .hero-full:first-of-type { padding-top: 0; }
.hero-full .hero { border-radius: 0; }
.hero-full .hero-slide img { aspect-ratio: 2056 / 765; height: auto; object-fit: cover; }
.hero-full .slider-arrow.prev { left: 18px; }
.hero-full .slider-arrow.next { right: 18px; }

/* homepage "About company" band: text left, half-circle photo right */
.about-band { --about-ink: #1f3d0c; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 620px; background: #fcedce; overflow: hidden; margin: 0; }
.about-text { align-self: center; padding: 56px 6% 56px 8%; text-align: center; color: var(--about-ink); }
.about-text h2 { margin: 0 0 6px; font-size: clamp(34px, 4vw, 60px); font-weight: 800; letter-spacing: .5px; text-transform: uppercase; line-height: 1.1; }
.about-text h3 { margin: 0 0 22px; font-size: clamp(22px, 2.2vw, 36px); font-weight: 700; }
.about-copy { font-size: clamp(16px, 1.45vw, 24px); line-height: 1.75; }
.about-copy p { margin: 0 0 18px; }
.about-media { position: relative; min-height: 100%; }
/* the photo already contains the half-circle shape: show it as-is, flush right, full height */
.about-media img { position: absolute; top: 0; right: 0; height: 100%; width: auto; aspect-ratio: 1; object-fit: cover; max-width: none; }
@media (max-width: 900px) {
  .about-band { grid-template-columns: 1fr; min-height: 0; }
  .about-text { padding: 40px 20px; }
  .about-media { min-height: 0; padding: 0 0 32px; display: flex; justify-content: center; }
  .about-media { display: none; } /* phones/tablets: text only, no photo */
}

/* homepage "Why choose us" green band (replaces the old .why card layout) */
.why-band { background: linear-gradient(180deg, #16420c 0%, #0e8a3a 100%); color: #fff; padding: 90px 0 100px; margin: 0; text-align: center; }
.why-band h2 { margin: 0 0 70px; font-size: clamp(32px, 4vw, 64px); font-weight: 800; letter-spacing: .5px; text-transform: uppercase; line-height: 1.1; }
.why-cols { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 40px 48px; }
.why-col-ico { display: inline-flex; color: #fff; margin-bottom: 18px; transition: transform .25s; }
.why-col:hover .why-col-ico { transform: translateY(-4px); }
.why-col h3 { margin: 0 0 12px; font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; }
.why-col p { margin: 0; font-size: 16.5px; line-height: 1.7; color: rgba(255, 255, 255, .95); }
@media (max-width: 900px) {
  .why-band { padding: 56px 0 60px; }
  .why-band h2 { margin-bottom: 40px; }
  .why-cols { grid-template-columns: 1fr; gap: 40px; }
  .why-col-ico svg { width: 52px; height: 52px; }
}

/* homepage "Our services" grid */
.svc-band { --svc-green: #6a9a12; --svc-ink: #1f4a0c; position: relative; overflow: hidden; background: #fdf6dc; border-top: 3px solid #0e8a3a; padding: 64px 0 80px; }
.svc-band::before, .svc-band::after { content: ''; position: absolute; top: -40px; width: 190px; height: 200px; border-radius: 0 0 50% 50%;
  background: radial-gradient(circle at 50% 52%, #86b817 0 60px, #5e9410 60px 61px, transparent 62px), repeating-linear-gradient(90deg, #c4ec4c 0 3px, transparent 3px 9px); }
.svc-band::before { left: -10px; border-radius: 0 0 100% 0; }
.svc-band::after { right: -10px; border-radius: 0 0 0 100%; }
.svc-title { position: relative; margin: 0 0 56px; text-align: center; font-size: clamp(30px, 3.4vw, 56px); font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--svc-ink); }
.svc-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 30px 40px; color: var(--svc-ink); }
.svc-item:not(:nth-child(4n+1)) { border-left: 3px solid #7cb518; }
.svc-item:not(:nth-child(4n+1))::before { content: ''; position: absolute; left: -9px; top: 100px; width: 9px; height: 84px; border: 3px solid #7cb518; border-radius: 10px; background: #fdf6dc; }
.svc-item:nth-child(n+5) { border-top: 2px solid #cfe08e; padding-top: 70px; }
.svc-item:nth-child(n+5)::before { top: 170px; }
.svc-img { display: block; width: 100%; max-width: 282px; aspect-ratio: 1; border: 8px solid var(--svc-green); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 24px rgba(60, 90, 10, .18); background: #fff; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.svc-item:hover .svc-img img { transform: scale(1.06); }
.svc-item h3 { margin: 40px 0 26px; min-height: 2.4em; display: flex; align-items: center; font-size: clamp(18px, 1.6vw, 26px); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; line-height: 1.25; }
.svc-item p { margin: 0; max-width: 310px; font-size: 16.5px; font-weight: 700; line-height: 1.85; }
@media (max-width: 1000px) {
  /* tablets & phones: compact 2-column cards, no column dividers */
  .svc-band { padding: 44px 0 48px; }
  .svc-band::before, .svc-band::after { width: 120px; height: 120px; top: -30px; transform: none;
    background: radial-gradient(circle at 50% 52%, #86b817 0 34px, #5e9410 34px 35px, transparent 36px), repeating-linear-gradient(90deg, #c4ec4c 0 2px, transparent 2px 7px); }
  .svc-band::before { left: -24px; }
  .svc-band::after { right: -24px; }
  .svc-title { margin: 0 70px 28px; font-size: clamp(24px, 6vw, 36px); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .svc-item, .svc-item:not(:nth-child(4n+1)), .svc-item:nth-child(n+5) { border: 0; padding: 0; }
  .svc-item::before, .svc-item:not(:nth-child(4n+1))::before { display: none; }
  .svc-img { max-width: none; border-width: 5px; border-radius: 16px; box-shadow: 0 6px 16px rgba(60, 90, 10, .16); }
  .svc-item h3 { margin: 14px 0 6px; min-height: 0; font-size: 15px; font-weight: 700; letter-spacing: .6px; justify-content: center; }
  .svc-item p { font-size: 13px; font-weight: 600; line-height: 1.55; }
}
@media (min-width: 700px) and (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
  .svc-item h3 { font-size: 17px; }
  .svc-item p { font-size: 14px; }
}
@media (max-width: 380px) {
  .svc-item p { font-size: 12.5px; }
}

/* phones: fixed bottom navigation (views/footer.php) */
.mbnav { display: none; }
@media (max-width: 900px) {
  .mbnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .07); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mbnav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; border: 0; background: none; font: inherit; font-size: 11.5px; font-weight: 600; color: #5b6170; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .mbnav-item .ico { transition: transform .2s; }
  .mbnav-item.is-active { color: var(--primary); }
  .mbnav-item.is-active .ico { transform: translateY(-1px); }
  .mbnav-item:active .ico { transform: scale(.9); }
  .mbnav-ico { position: relative; display: inline-flex; }
  .mbnav-ico em { position: absolute; top: -6px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 800; line-height: 17px; text-align: center; }
  body:has(.mbnav) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body:has(.mbnav) .wa-float { bottom: 80px; }
}

/* product page (phones): gallery dots sit on top of the photo, bottom-centre */
@media (max-width: 900px) {
  .m-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; padding: 5px 9px; border-radius: 20px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(4px); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
  .m-dots span { background: #c4c8d0; }
}
@media (max-width: 900px) {
  /* dots are buttons now: small visible dot, bigger invisible tap area */
  .m-dots { gap: 3px; padding: 2px 4px; }
  .m-dots button { position: relative; width: 8px; height: 8px; padding: 0; margin: 6px 4px; border: 0; border-radius: 4px; background: #c4c8d0; cursor: pointer; transition: .25s; -webkit-tap-highlight-color: transparent; }
  .m-dots button::before { content: ''; position: absolute; inset: -10px -6px; }
  .m-dots button.active { width: 22px; background: var(--primary); }
}

/* product page: Studio Rock & Garden promise card */
.srg-promise { margin-top: 26px; border: 1px solid #e3dcbf; border-radius: 16px; background: #fdf6dc; overflow: hidden; }
.srg-promise-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: linear-gradient(90deg, #16420c, #0e8a3a); color: #fff; }
.srg-promise-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .16); flex-shrink: 0; }
.srg-promise-head strong { display: block; font-size: 16.5px; line-height: 1.25; }
.srg-promise-head small { display: block; font-size: 12.5px; opacity: .85; margin-top: 2px; }
.srg-promise-grid { list-style: none; margin: 0; padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.srg-promise-grid li { display: flex; align-items: flex-start; gap: 11px; }
.srg-promise-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: #2f6a12; border: 1.5px solid #cfe08e; flex-shrink: 0; }
.srg-promise-grid b { display: block; font-size: 14.5px; color: #1f3d0c; line-height: 1.3; }
.srg-promise-grid small { display: block; font-size: 12.5px; color: #5d6650; line-height: 1.4; margin-top: 2px; }
.srg-promise-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 11px 18px; background: #fff; border-top: 1px dashed #e3dcbf; font-size: 13px; color: #555; }
.srg-promise-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.srg-promise-foot > span .ico { color: var(--accent); flex-shrink: 0; }
.srg-promise-foot a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.srg-promise-wa { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 20px; background: #e8f6ec; color: #128c3e !important; text-decoration: none !important; white-space: nowrap; }
@media (max-width: 900px) {
  body.is-pdp .srg-promise { margin-top: 14px; }
  .srg-promise-grid { padding: 14px; gap: 14px 12px; }
  .srg-promise-ico { width: 36px; height: 36px; border-radius: 10px; }
  .srg-promise-grid b { font-size: 13.5px; }
  .srg-promise-grid small { font-size: 12px; }
}

/* product card: no empty variant line; price + button sit at the bottom so cards in a row still line up */
.pcard-price { margin-top: auto; padding-top: 6px; }
.pcard .btn { margin-top: 0; }

/* ---------- All Categories page (pages/categories.php) ---------- */
.allcat { --rail: 220px; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); max-width: 1320px; margin: 0 auto; min-height: 70vh; }
.allcat-rail { background: #f3f5ef; border-right: 1px solid var(--line); padding: 8px 0; }
.allcat-tab { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: #4a5040; border-bottom: 1px solid #e6e9df; -webkit-tap-highlight-color: transparent; }
.allcat-tab-img { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #fff; color: var(--primary); flex-shrink: 0; box-shadow: 0 2px 8px rgba(40, 60, 20, .08); }
.allcat-tab-img img { width: 100%; height: 100%; object-fit: cover; }
.allcat-tab-name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.allcat-tab.is-active { background: #fff; color: var(--primary); }
.allcat-tab.is-active::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--primary); }
.allcat-tab.is-active .allcat-tab-img { box-shadow: 0 0 0 2px var(--primary); }
.allcat-panes { padding: 18px 24px 40px; }
.allcat-all { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--primary); }
.allcat-h { margin: 18px 0 14px; font-size: 18px; font-weight: 800; color: #1f2a14; }
.allcat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px 14px; }
.allcat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; color: #222; }
.allcat-tile-img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #f1f6e6, #e4efd2); color: #5f8a2a; transition: transform .2s, box-shadow .2s; }
.allcat-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.allcat-tile:hover .allcat-tile-img { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(40, 60, 20, .12); }
.allcat-tile-name { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.allcat-tile.is-soon .allcat-tile-img { background: #f3f4f0; color: #a3ab95; }
.allcat-soon { margin-top: -4px; font-size: 10.5px; font-weight: 700; color: #9aa08f; text-transform: uppercase; letter-spacing: .4px; }

@media (max-width: 900px) {
  /* app-style: fixed-height split view, each side scrolls on its own */
  .allcat { --rail: 92px; height: calc(100dvh - 62px - 64px - env(safe-area-inset-bottom)); min-height: 0; }
  body:has(.allcat) .announce { display: none; }
  body:has(.allcat) main { padding-bottom: 0; }
  .allcat-rail, .allcat-panes { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
  .allcat-rail::-webkit-scrollbar, .allcat-panes::-webkit-scrollbar { display: none; }
  .allcat-rail { padding: 0; }
  .allcat-tab { flex-direction: column; gap: 6px; padding: 12px 4px 10px; text-align: center; }
  .allcat-tab-img { width: 54px; height: 54px; }
  .allcat-tab-name { font-size: 11.5px; }
  .allcat-tab.is-active::before { top: 0; bottom: 0; border-radius: 0 3px 3px 0; }
  .allcat-panes { padding: 12px 12px 24px; }
  .allcat-h { margin: 12px 0 10px; font-size: 15.5px; }
  .allcat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .allcat-tile-img { border-radius: 14px; }
  .allcat-tile-name { font-size: 11.5px; }
  .allcat-soon { font-size: 9px; }
  body:has(.allcat) .site-footer, body:has(.allcat) .wa-float { display: none; }
}

/* listing filters: category list without the clipped/negative margins and with a slim themed scrollbar */
.filter-scroll { max-height: 300px; overflow-x: hidden; overflow-y: auto; padding-right: 6px; margin-right: -6px; }
/* Firefox only — in Chrome these standard properties would bring back the arrow buttons */
@supports (-moz-appearance: none) { .filter-scroll { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--primary) 35%, #fff) transparent; } }
.filter-scroll::-webkit-scrollbar { width: 6px; }
.filter-scroll::-webkit-scrollbar-track { background: transparent; }
.filter-scroll::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--primary) 35%, #fff); border-radius: 6px; }
.filter-scroll::-webkit-scrollbar-button { display: none; height: 0; }
.filter-scroll .filter-link { margin: 1px 0; padding: 7px 10px; border-radius: 8px; }
.filter-scroll .filter-link.active { box-shadow: inset 3px 0 0 var(--primary); }
