/* ============================================================
   THEME — change --primary (and --primary-dark for hover) to recolor the site
   All colors are solid; no gradients.
   ============================================================ */
:root {
  /* ---- Brand colour. Change --primary, and the four below to match it. ---- */
  --primary: #feca3b;        /* buttons, icon circles, badges, bars */
  --primary-dark: #f0b91f;   /* hover state of the above */
  --primary-soft: #fff7e3;   /* pale tint behind icons and open FAQ rows */
  --on-primary: #1c1400;     /* text/icons ON the primary colour — white on a light
                                colour is unreadable, so keep this dark for pale
                                brands and switch it to #fff for dark ones */
  --primary-ink: #987001;    /* the brand colour as TEXT on white (links, prices,
                                active tabs) — a darker shade so it stays legible */

  --heading: #111111;
  --text: #111111;
  --body: #303030;
  --muted: #707070;
  --muted-2: #8a8a8a;
  --border: #ebebeb;
  --bg: #ffffff;
  --bg-alt: #ebebeb;
  --bg-hero: #efeded;
  --bg-light: #f7f7f7;
  --sale: #ff0000;
  --success: #16a34a;

  --shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;   /* 1170px content + 15px gutters */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-ink); }
h1, h2, h3, h4, h5, h6 { color: var(--heading); line-height: 1.3; margin: 0 0 15px; font-weight: 700; }
p { margin: 0 0 24px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary-ink); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.section { padding: 80px 0; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 30px;
  border: 1px solid transparent; border-radius: 5px;
  background: var(--primary); color: var(--on-primary);
  font-weight: 700; font-size: 16px; line-height: 24px;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--primary-dark); color: var(--on-primary); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 12px; font-size: 12px; line-height: 21.6px; letter-spacing: .72px; text-transform: uppercase; border-radius: 8px; white-space: nowrap; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border: 0; background: transparent; color: var(--text);
}
.icon-btn:hover { color: var(--primary-ink); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.header-inner { display: flex; align-items: center; height: 99px; }
.logo { flex: 1; display: flex; align-items: center; font-size: 30px; font-weight: 700; color: var(--primary-ink); white-space: nowrap; }
.logo:hover { color: var(--primary-ink); }
.logo img { height: 50px; width: auto; max-width: 180px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; justify-content: center; gap: 19px; }
.main-nav a { padding: 20px 10px; font-size: 16px; font-weight: 700; line-height: 28.8px; color: #222; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-ink); }
.header-icons { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.menu-toggle { display: none; }

/* ---------- Drawers (mobile menu) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; width: min(360px, 100%); z-index: 100;
  background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  transition: transform .35s ease;
}
.drawer-left { left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 30px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { margin: 0; font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 30px; }
.mobile-nav a { display: block; padding: 8px 0; margin-bottom: 16px; color: var(--body); }
.mobile-nav a:hover { color: var(--primary-ink); }

.mini-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; }
.mini-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; background: var(--bg-light); }
.mini-item h4 { font-size: 15px; margin: 0 0 2px; }

.empty-state { text-align: center; padding: 40px 10px; color: var(--muted); }
.empty-state svg { width: 52px; height: 52px; margin: 0 auto 12px; opacity: .5; }

/* ---------- Search overlay ---------- */
.search-panel { position: fixed; inset: 0 0 auto 0; z-index: 100; background: #fff; padding: 30px 0; transform: translateY(-100%); transition: transform .3s; box-shadow: var(--shadow-lg); }
.search-panel.open { transform: none; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; height: 65px; padding: 8px 20px; border: 1px solid #e4ecf2; border-radius: 5px; font-size: 16px; }
.search-form input:focus { border-color: var(--text); outline: 0; }
.search-results { margin-top: 16px; display: grid; gap: 4px; max-height: 50vh; overflow-y: auto; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; }
.search-results a:hover { background: var(--bg-light); }
.search-results img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }

/* ---------- Page heading ---------- */
.page-banner { background: var(--bg-alt); padding: 60px 0; text-align: center; }
.page-banner h1 { font-size: 40px; margin: 0 0 6px; }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 14px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }

/* ---------- Hero (home) ---------- */
.hero-wrap { margin-bottom: 80px; }
.hero { max-width: 1533px; margin: 0 auto; background: var(--bg-hero); border-radius: 25px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 570px 570px; justify-content: space-between; align-items: center; min-height: 750px; padding-top: 63px; padding-bottom: 63px; }
.hero h1 { font-size: 50px; line-height: 65px; margin-bottom: 15px; }
.hero p { max-width: 450px; margin-bottom: 30px; }
.hero-visual { width: 570px; height: 624px; background: #fff; border-radius: 25px; padding: 40px; display: grid; place-items: center; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Product grid + card ---------- */
.products-section { padding: 55px 20px; }
.products-section .wrap { max-width: 1280px; margin: 0 auto; }
.products-section h2 { text-align: center; font-size: 32px; font-weight: 400; line-height: 41.6px; letter-spacing: -.64px; margin: 0 0 27px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 12px; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--bg-light); border-radius: 10px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--text); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.card-body { padding-top: 16px; display: flex; flex-direction: column; flex: 1; }
.card-body .stars { margin-bottom: 7px; }
.card-title { font-size: 16px; font-weight: 600; line-height: 21.6px; margin: 0; }
.card-title a { color: var(--text); }
.card-type { color: var(--muted); font-size: 13px; line-height: 23.4px; margin-top: 2px; }
.card-summary { color: var(--muted); font-size: 14px; line-height: 1.6; display: none; margin: 6px 0 0; }
.card-buttons { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; }
.card-compare { align-self: flex-start; margin-top: 4px; border: 0; background: none; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; }
.card-compare:hover, .card-compare.is-active { color: var(--primary-ink); }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.price-now { font-size: 19px; font-weight: 700; line-height: 34.2px; color: var(--text); }
.price-was { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.save-badge { background: #f1f1f1; color: #071c1f; font-size: 14px; font-weight: 600; line-height: 16.8px; padding: 3px 5px; border-radius: 3px; }

.stars { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 21.6px; letter-spacing: .36px; color: var(--text); }
.stars-icons { color: var(--text); }

/* list view (collection page) */
.product-grid.list-view { grid-template-columns: 1fr; }
.list-view .product-card { flex-direction: row; gap: 24px; }
.list-view .card-media { width: 240px; flex-shrink: 0; }
.list-view .card-summary { display: block; }
.list-view .card-buttons { max-width: 300px; }

/* ---------- Features row ---------- */
.features-section { margin-bottom: 39px; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon { flex-shrink: 0; width: 50px; height: 50px; display: grid; place-items: center; color: var(--text); }
.feature-icon svg { width: 44px; height: 44px; stroke-width: 1.4; }
.feature h3 { font-size: 20px; line-height: 26px; margin: 0 0 5px; }
.feature p { margin: 0; font-size: 15px; line-height: 27px; color: var(--text); }

/* ---------- Offer banner ---------- */
.offer { background: var(--bg-alt); }
.offer-inner { display: grid; grid-template-columns: 570px 570px; justify-content: space-between; align-items: center; min-height: 570px; }
.offer-content { text-align: center; }
.offer h2 { font-size: 50px; line-height: 50px; color: #071c1f; margin: 0 0 15px; }
.offer h2 span { color: #e53e29; }
.offer p { color: #071c1f; margin: 0; }
.offer-visual { align-self: stretch; }
.offer-visual img { width: 570px; height: 570px; object-fit: cover; }

.countdown { display: flex; justify-content: center; gap: 4px; margin: 24px 0 30px; }
.countdown-box { width: 80px; padding: 10px; background: #fff; border-radius: 5px; text-align: center; }
.countdown-box b { display: block; font-size: 22px; font-weight: 700; line-height: 28.6px; color: var(--text); }
.countdown-box small { display: block; font-size: 16px; line-height: 28.8px; color: var(--body); }

/* ---------- Collection page ---------- */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start; }
.shop-layout .product-grid { grid-template-columns: repeat(3, 1fr); }
.filters { position: sticky; top: 120px; display: grid; gap: 24px; }
.filter-group { border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.filter-group h4 { font-size: 18px; margin-bottom: 12px; }
.filter-group label { display: flex; align-items: center; gap: 10px; padding: 3px 0; cursor: pointer; font-size: 15px; }
.filter-group input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--primary-ink); }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.toolbar-right { display: flex; align-items: center; gap: 8px; }
.view-toggle .icon-btn.is-active { color: var(--primary-ink); }
.filter-toggle { display: none; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; color: var(--text); }
.input, select.input, textarea.input {
  width: 100%; min-height: 65px; padding: 8px 20px;
  border: 2px solid var(--border); border-radius: 0; background: #fff; font-size: 16px;
}
textarea.input { min-height: 150px; padding-top: 15px; resize: vertical; }
.input:focus { outline: 0; border-color: var(--primary-ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* ---------- Product page ---------- */
.product-top { padding: 1px 0 80px; }
.product-layout { display: grid; grid-template-columns: 570px 545px; justify-content: space-between; align-items: start; }
.gallery { position: relative; }
.gallery-main { position: relative; width: 570px; height: 570px; background: #fff; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.zoom-btn { position: absolute; top: 10px; left: 10px; z-index: 2; width: 40px; height: 40px; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; }
.zoom-btn svg { width: 22px; height: 22px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { width: 80px; height: 80px; padding: 0; border: 1px solid var(--border); background: #fff; }
.gallery-thumbs button.is-active { border-color: var(--primary-dark); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.product-info h1 { font-size: 24px; line-height: 31.2px; margin: 0 0 15px; }
.product-info .price { margin: 0 0 38px; align-items: center; gap: 9px; }
.product-info .price-was { font-size: 24px; font-weight: 600; line-height: 28.8px; color: var(--body); }
.product-info .price-now { font-size: 30px; font-weight: 600; line-height: 36px; color: var(--primary-ink); }
.product-info .save-badge { margin-left: 6px; }
.buy-now-btn { width: 100%; height: 62px; padding: 0 25px; border-radius: 4px; font-size: 20px; line-height: 20px; }
.product-info hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0 0; }

.image-modal { background: rgba(0,0,0,.85); }
.image-modal img { max-width: min(900px, 92vw); max-height: 90vh; object-fit: contain; background: #fff; }

.offer-timer { margin: 20px 0 43px; text-align: center; color: var(--sale); font-size: 26px; font-weight: 800; line-height: 31.2px; }
.offer-timer .timer { font-variant-numeric: tabular-nums; }

.bonus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.bonus-card { position: relative; display: flex; align-items: center; min-height: 96px; padding: 13px 15px; border: 1px solid var(--border); background: var(--primary-soft); border-radius: 8px; }
.bonus-card:first-child { border-color: var(--primary); }
.bonus-card .bonus-pill { position: absolute; top: -7px; right: 14px; background: var(--primary); color: var(--on-primary); font-size: 9px; font-weight: 800; line-height: 18px; padding: 0 11px; border-radius: 20px; text-transform: uppercase; box-shadow: var(--shadow); }
.bonus-card .bonus-icon { flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; margin-right: 13px; border-radius: 50%; background: #fff; color: var(--primary-ink); }
.bonus-card .bonus-icon svg { width: 24px; height: 24px; }
.bonus-card h5 { margin: 0 0 4px; font-size: 15px; font-weight: 800; line-height: 17.25px; color: #111827; }
.bonus-card p { margin: 0; font-size: 11.5px; font-weight: 500; line-height: 14.95px; color: #697386; }

/* sample videos */
.videos-section { padding: 60px 20px; }
.videos-section .wrap { max-width: 1400px; margin: 0 auto; }
.videos-section h2 { text-align: center; font-size: 36px; font-weight: 400; line-height: 46.8px; margin: 0 0 15px; }
.video-track { display: flex; gap: 17px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.video-track::-webkit-scrollbar { display: none; }
.video-card { flex: 0 0 337px; scroll-snap-align: start; height: 598px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,.13); background: #000; }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.carousel-controls .icon-btn { border: 1px solid #ccc; border-radius: 50%; background: #fff; }

/* tabs */
.tabs-section { padding-bottom: 85px; }
.tabs-nav { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.tabs-nav button { border: 0; background: none; padding: 20px 0; margin-right: 50px; font-weight: 700; font-size: 16px; line-height: 28.8px; color: var(--body); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs-nav button.is-active { color: var(--primary-ink); border-color: var(--primary-ink); }
.prose h3, .prose h4 { font-size: 24px; line-height: 31.2px; margin: 0 0 15px; }
.prose ul { padding-left: 20px; margin: 0 0 16px 20px; }
.prose li { line-height: 28.8px; }

/* Reviews tab: score summary + list */
.reviews-summary { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; padding: 28px 30px; margin-bottom: 30px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-light); }
.reviews-score { text-align: center; }
.reviews-score b { display: block; font-size: 48px; line-height: 1.1; color: var(--heading); font-weight: 800; }
.reviews-score .stars-icons { font-size: 20px; letter-spacing: 3px; color: var(--primary-dark); }
.reviews-score span { display: block; font-size: 13px; margin-top: 4px; }
.reviews-bars { display: grid; gap: 8px; max-width: 460px; }
.bar-row { display: grid; grid-template-columns: 34px 1fr 24px; align-items: center; gap: 12px; font-size: 13px; line-height: 1.2; }
.bar-row .bar { height: 8px; border-radius: 6px; background: #e3e3e3; overflow: hidden; }
.bar-row .bar i { display: block; height: 100%; border-radius: 6px; background: var(--primary); }
.bar-row .muted { text-align: right; }

.review-list { display: grid; }
.review-row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.review-row:last-child { border-bottom: 0; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); font-weight: 800; font-size: 19px; }
.review-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; line-height: 1.4; }
.review-top b { font-size: 15px; color: var(--heading); }
.review-date { font-size: 13px; margin-left: auto; }
.review-main .stars-icons { color: var(--primary-dark); letter-spacing: 2px; font-size: 14px; margin: 4px 0 2px; }
.review-main h5 { font-size: 15px; margin: 0 0 4px; }
.review-main p { margin: 0; font-size: 15px; line-height: 1.7; }

.review { padding: 18px 0; border-bottom: 1px solid var(--border); }
.review-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }

/* ---------- Ratings & reviews (product page) ---------- */
.ratings-section { padding-bottom: 80px; text-align: center; }
.ratings-section h2 { font-size: 35px; line-height: 42px; margin: 0 0 8px; }
.ratings-intro { color: var(--muted); margin: 0 0 20px; }
.rating-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 36px; padding: 10px 20px; border: 1px solid var(--border); border-radius: 50px; box-shadow: var(--shadow); }
.rating-badge .stars-icons { color: var(--primary-dark); letter-spacing: 2px; }
.rating-badge b { font-size: 18px; }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.review-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.review-card .stars-icons { color: var(--primary-dark); letter-spacing: 2px; margin-bottom: 8px; }
.review-card h4 { font-size: 17px; margin: 0 0 8px; }
.review-card p { font-size: 15px; line-height: 1.7; color: var(--body); margin: 0 0 16px; }
.review-by { margin-top: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 13px; }

/* "Verified buyer" tag, used in the review cards and the reviews tab */
.verified { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 20px; background: #eaf7ee; color: #15803d; font-size: 12px; font-weight: 600; line-height: 19px; white-space: nowrap; }
.verified svg { flex-shrink: 0; width: 13px; height: 13px; stroke-width: 3; }

/* FAQ accordion */
.faq-section { padding-bottom: 80px; }
.faq-section h2 { text-align: center; font-size: 35px; line-height: 42px; margin: 0 0 50px; }
.faq-list { display: grid; }
.faq-item { border: 1px solid var(--border); background: #fff; border-radius: 15px; margin-bottom: -2px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 40px; font-weight: 700; font-size: 18px; line-height: 23.4px; color: var(--heading); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 3px;
  background: var(--bg-light); color: var(--text); font-size: 20px; font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; background: var(--primary-soft); color: var(--primary-ink); }
.faq-answer { padding: 0 40px 20px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.checkout-box { border: 1px solid var(--border); border-radius: 10px; padding: 30px; }
.checkout-box h3 { font-size: 22px; margin-bottom: 10px; }
.summary-card { background: var(--bg-light); border-radius: 10px; padding: 30px; position: sticky; top: 120px; }
.summary-card h3 { font-size: 22px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-size: 20px; font-weight: 700; color: var(--text); }
.success-panel { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0; }
.success-panel .check { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: #dcfce7; color: var(--success); display: grid; place-items: center; }
.success-panel .check svg { width: 40px; height: 40px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 70px; }
.contact-card { text-align: center; padding: 40px 30px; box-shadow: 0 16px 32px rgba(0,0,0,.06); }
.contact-card .contact-icon { display: grid; place-items: center; margin: 0 auto 20px; width: 70px; height: 70px; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
.contact-card .contact-icon svg { width: 30px; height: 30px; }
.contact-card h3 { font-size: 22px; margin-bottom: 8px; }
.contact-card p { margin: 0; word-break: break-word; }
.contact-form-wrap { box-shadow: 0 16px 32px rgba(0,0,0,.06); padding: 50px; margin-bottom: 70px; }
.contact-form-wrap h3 { font-size: 26px; margin-bottom: 30px; }
.map-frame { width: 100%; height: 500px; border: 0; display: block; }

/* ---------- Blog ---------- */
.blog-layout { display: grid; grid-template-columns: 1fr 370px; gap: 30px; align-items: start; }
.post-card { box-shadow: var(--shadow); border-radius: 10px; overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.sidebar-box { border: 2px solid var(--border); padding: 35px 30px; margin-bottom: 30px; }
.sidebar-box h4 { font-size: 20px; margin-bottom: 20px; }
.sidebar-box form { display: grid; gap: 10px; }

/* ---------- Account ---------- */
.auth-box { max-width: 500px; margin: 0 auto; border: 1px solid var(--border); padding: 40px; }
.auth-box form { display: grid; gap: 16px; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { background: #fff; width: min(960px, 100%); max-height: 90vh; overflow: auto; border-radius: 10px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare-table th { width: 130px; color: var(--muted); font-weight: 600; }
.compare-table img { width: 120px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: max-content; max-width: calc(100% - 32px); }
.toast { background: var(--text); color: #fff; padding: 12px 20px; border-radius: 6px; box-shadow: var(--shadow-lg); animation: toastIn .3s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); color: var(--body); margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 600px 200px 1fr; padding-top: 80px; padding-bottom: 20px; }
.footer-grid > div:first-child { max-width: 435px; }
.site-footer h4 { font-size: 20px; line-height: 26px; margin-bottom: 25px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; font-size: 14px; line-height: 20px; }
.socials { display: flex; gap: 19px; margin: 0 0 20px; }
.socials a { color: var(--body); }
.socials a:hover { color: var(--primary-ink); }
.socials svg { width: 17px; height: 17px; }
.safe-checkout h5 { font-size: 18px; line-height: 23.4px; margin: 0 0 15px; color: var(--body); }
.pay-icons { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-bottom: 60px; }
.pay-icons span { display: inline-grid; place-items: center; width: 62px; height: 38px; padding: 0 7px; background: #fff; color: #111; border: 1px solid #d9d9d9; font-size: 11px; font-weight: 700; border-radius: 5px; }
/* each logo is fitted into the same box, whatever its shape */
.pay-icons img { width: auto; height: auto; max-width: 100%; max-height: 24px; object-fit: contain; }
.footer-bottom { border-top: 1px solid #dcdcdc; padding: 20px 0; text-align: center; font-size: 16px; line-height: 28.8px; color: #071c1f; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1199px) {
  .hero { margin: 0 15px; }
  .hero-inner, .offer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-visual { width: 100%; height: auto; aspect-ratio: 570 / 624; }
  .offer-visual img { width: 100%; height: auto; aspect-ratio: 1; }
  .product-layout { grid-template-columns: 1fr 1fr; gap: 30px; }
  .gallery-main { width: 100%; height: auto; aspect-ratio: 1; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
  .video-card { flex-basis: calc((100% - 34px) / 3); height: auto; aspect-ratio: 9 / 16; }
}

@media (max-width: 991px) {
  .product-grid, .shop-layout .product-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .checkout-layout, .blog-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .hero h1 { font-size: 40px; line-height: 52px; }
  .offer h2 { font-size: 40px; line-height: 46px; }
}

@media (max-width: 767px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-inner { height: 76px; gap: 8px; }
  .logo { justify-content: center; }
  .logo img { height: 40px; object-position: center; }
  .header-icons { flex: 0 0 auto; gap: 0; }
  .header-icons .hide-mobile { display: none; }
  .section { padding: 60px 0; }
  .hero { border-radius: 20px; }
  .hero-inner, .offer-inner, .product-layout { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; padding-top: 50px; padding-bottom: 50px; }
  .hero h1 { font-size: 32px; line-height: 42px; }
  .hero-visual { max-width: 460px; }
  .products-section { padding: 45px 15px; }
  .products-section h2 { font-size: 28px; }
  .product-grid, .shop-layout .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .offer-inner { min-height: 0; }
  .offer-content { padding: 60px 0 30px; }
  .offer h2 { font-size: 34px; line-height: 42px; }
  .offer-visual img { max-width: 460px; margin: 0 auto 40px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .filter-toggle { display: inline-flex; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 30px 20px; }
  .product-top { padding-bottom: 50px; }
  .product-info { margin-top: 30px; }
  .product-info .price-was { font-size: 20px; }
  .product-info .price-now { font-size: 26px; }
  .offer-timer { font-size: 22px; margin-bottom: 30px; }
  .videos-section { padding: 40px 15px; }
  .videos-section h2 { font-size: 28px; }
  .video-card { flex-basis: calc((100% - 17px) / 2); }
  .tabs-nav button { margin-right: 30px; }
  .ratings-section h2 { font-size: 28px; }
  .reviews-summary { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .reviews-bars { max-width: none; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-section h2 { font-size: 28px; margin-bottom: 30px; }
  .faq-item summary { padding: 18px 60px 18px 20px; font-size: 16px; }
  .faq-answer { padding: 0 20px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-top: 60px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; max-width: none; }
  .pay-icons { padding-bottom: 20px; }
  .list-view .card-media { width: 150px; }
}

@media (max-width: 575px) {
  .features, .form-grid { grid-template-columns: 1fr; }
  .product-card { padding: 8px; }
  .card-title { font-size: 14px; line-height: 19px; }
  .price-now { font-size: 16px; }
  .btn-sm { font-size: 11px; letter-spacing: .3px; }
  .countdown-box { width: 70px; }
  .bonus-grid { grid-template-columns: 1fr; gap: 18px; }
  .video-card { flex-basis: 78%; }
  .review-grid { grid-template-columns: 1fr; }
  .review-row { grid-template-columns: 40px 1fr; gap: 12px; }
  .review-avatar { width: 40px; height: 40px; font-size: 16px; }
  .review-date { margin-left: 0; width: 100%; }
  .list-view .product-card { flex-direction: column; }
  .list-view .card-media { width: 100%; }
  .checkout-box, .auth-box, .summary-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
