@import url("fonts-face.css");

/* Headphones Shop — original template styles
   Visual language inspired by a luxury single-product TWS store:
   Poppins headings, Montserrat UI, coral accent, cream/white vs red-gradient bands. */

:root {
  --accent: #d84733;
  --accent-dark: #b42d2e;
  --text: #383838;
  --muted: #4b4f58;
  --light: #f5f5f5;
  --subtle: #f2f5f7;
  --white: #ffffff;
  --charcoal: #383838;
  --bar: #2b2b2b;
  --black: #000000;
  --border: #e7e7e7;
  --shadow: 0 0 45px rgba(226, 226, 226, 0.55);
  --radius-pill: 30px;
  --radius: 5px;
  --max: 1200px;
  --header-h: 90px;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-head: "Poppins", system-ui, sans-serif;
  --hero-grad: linear-gradient(180deg, #b42d2e 33%, #d84733 80%);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 93.75%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease; }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 .45em;
}
h1 { font-size: 70px; }
h2 { font-size: 50px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 16px; z-index: 10000;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer;
  background: var(--accent); color: var(--white);
  font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  padding: 15px 40px; border-radius: var(--radius-pill);
  line-height: 1; transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.btn:hover, .btn:focus-visible { background: var(--accent-dark); color: var(--white); }
.btn:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.btn-light { background: var(--white); color: var(--text); }
.btn-light:hover, .btn-light:focus-visible { background: var(--white); color: var(--accent); }
.btn-outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.is-solid,
.site-header.is-scrolled {
  position: sticky; background: var(--white); color: var(--text);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px; color: inherit; flex-shrink: 0;
}
.logo:hover { color: inherit; opacity: .9; }
.logo img, .logo svg { width: 42px; height: 42px; }
.logo-mark { width: 42px; height: 42px; }
.logo-text {
  font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1.1;
  color: inherit;
}
.nav-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a {
  color: inherit; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 14px; display: flex; align-items: center; height: 100%;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--accent); }
.site-header:not(.is-solid):not(.is-scrolled) .nav-menu a:hover,
.site-header:not(.is-solid):not(.is-scrolled) .nav-menu a[aria-current="page"] { color: #ffe9e4; }

.cart-link {
  position: relative; color: inherit; display: flex; align-items: center; padding: 8px;
}
.cart-link:hover { color: inherit; opacity: .85; }
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 0; right: -2px;
  min-width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  line-height: 1; padding: 0 4px;
}
.site-header:not(.is-solid):not(.is-scrolled) .cart-count { background: #fff; color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--hero-grad);
  color: var(--white);
  min-height: 560px;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px;
  position: relative; z-index: 2;
}
.hero-copy { max-width: 480px; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 70px); margin-bottom: 18px; }
.hero p { color: #fff; font-size: 16px; max-width: 440px; opacity: .95; }
.hero .btn { margin-top: 16px; }
.hero-visual { position: relative; min-height: 420px; }
.hero-visual img {
  width: min(100%, 640px); margin-left: auto; position: relative; z-index: 2;
  animation: floaty 4.5s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.18));
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 220px; z-index: 1; pointer-events: none;
}
.hero-wave svg { width: 100%; height: 100%; display: block; }

.page-hero {
  background: var(--hero-grad); color: #fff;
  padding: 140px 0 72px; text-align: center; position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; }
.page-hero .breadcrumb { color: rgba(255,255,255,.85); font-size: 13px; margin-bottom: 10px; }
.page-hero .breadcrumb a { color: #fff; }
.page-hero .hero-wave { height: 90px; }

/* ---------- Kickers / sections ---------- */
.kicker {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.kicker.light { color: rgba(255,255,255,.9); }
.section { padding: 90px 0; }
.section-sm { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 520px; margin: 12px auto 0; color: var(--muted); }
.band-light { background: var(--light); }
.band-red { background: var(--hero-grad); color: #fff; }
.band-red h2, .band-red h3, .band-red h4, .band-red p { color: #fff; }
.band-dark { background: var(--charcoal); color: #fff; }
.band-dark h2, .band-dark h4 { color: #fff; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.product-card { text-align: center; }
.product-card .thumb {
  background: #f7f7f7; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; position: relative;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .cat {
  font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-bottom: 4px;
}
.product-card h3, .product-card .title {
  font-family: var(--font-head); font-weight: 800; font-size: 16px; margin: 0 0 6px;
  color: var(--text); text-transform: uppercase; letter-spacing: .02em;
}
.product-card .title:hover { color: var(--accent); }
.price { color: var(--accent); font-weight: 600; font-size: 16px; }
.product-card .btn { margin-top: 14px; padding: 12px 28px; }

.shop-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px;
}
.shop-bar select {
  border: 1px solid var(--border); padding: 8px 12px; border-radius: 4px; background: #fff; color: var(--text);
}

/* ---------- Feature cards (more power) ---------- */
.power-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.icon-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px 26px 30px; text-align: center;
}
.icon-card .icon {
  width: 56px; height: 56px; margin: 0 auto 16px; color: var(--accent);
}
.icon-card h4 { color: var(--accent); font-size: 16px; letter-spacing: .04em; text-transform: uppercase; margin: 12px 0 8px; }
.icon-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Wireless banner ---------- */
.photo-banner {
  position: relative; min-height: 420px;
  background: #222 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff;
}
.photo-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(180,45,46,.45));
}
.photo-banner .inner { position: relative; z-index: 1; max-width: 780px; padding: 80px 24px; }
.photo-banner h2 { color: #fff; font-size: clamp(28px, 4.5vw, 48px); }
.play-btn {
  width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  margin-top: 22px; transition: background .2s ease, transform .2s ease;
}
.play-btn:hover { background: var(--accent-dark); transform: scale(1.05); }
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; }

/* ---------- Main features ---------- */
.features-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
.icon-box { text-align: center; padding: 10px 12px; }
.icon-box .icon-round {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
}
.icon-box .icon-round svg { width: 32px; height: 32px; }
.icon-box h4 { font-size: 16px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.icon-box p { color: var(--muted); margin: 0; }

/* ---------- Smarter image boxes ---------- */
.image-boxes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.image-box { text-align: center; color: inherit; }
.image-box img {
  width: 160px; height: 160px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 18px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.image-box h4 { color: inherit; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.image-box p { color: inherit; opacity: .9; margin: 0; font-size: 14.5px; }

/* ---------- Split blocks ---------- */
.split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.1fr; }
.split h2 { margin-bottom: 16px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 22px 0 28px; }
.check-item { display: flex; align-items: center; gap: 12px; }
.check-item .mini-icon {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.check-item h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0; color: inherit; }
.cta-note { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; opacity: .9; }
.cta-offer { font-weight: 700; margin-bottom: 16px; }

.logo-row {
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center;
  margin-top: 36px; opacity: .7;
}
.logo-row .brand { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--text); }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.review-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 22px 24px; text-align: center;
}
.stars { color: #f5b301; letter-spacing: 2px; font-size: 14px; margin-bottom: 10px; }
.review-card h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .03em; margin: 8px 0 10px; }
.review-card p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.review-card img {
  width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px;
}
.review-card .who { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }

/* ---------- Footer ---------- */
.footer-benefits {
  background: var(--charcoal); color: #fff; padding: 36px 0;
}
.benefits-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center;
}
.benefits-row h4 { color: #fff; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.site-footer { background: var(--light); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 48px;
}
.site-footer h4 { font-size: 16px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 14px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.social a:hover { background: var(--accent-dark); color: #fff; }
.social svg { width: 14px; height: 14px; }

/* ---------- Product page ---------- */
.product-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.gallery-main {
  background: #f7f7f7; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button {
  border: 2px solid transparent; background: #f7f7f7; padding: 0; cursor: pointer;
  width: 72px; height: 72px; border-radius: 4px; overflow: hidden;
}
.thumbs button.is-active, .thumbs button:focus-visible { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-summary .cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.product-summary h1 { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 10px; }
.product-summary .price { font-size: 28px; font-weight: 700; }
.stock { color: #2e7d32; font-weight: 600; margin: 10px 0 16px; }
.qty-row { display: flex; gap: 10px; align-items: center; margin: 18px 0; }
.qty-row input {
  width: 72px; height: 46px; text-align: center; border: 1px solid var(--border); border-radius: 4px;
}
.product-meta { font-size: 13px; color: var(--muted); margin-top: 18px; }
.tabs { margin-top: 56px; }
.tab-list { display: flex; gap: 0; border-bottom: 2px solid var(--border); }
.tab-list button {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -2px;
  padding: 12px 22px; cursor: pointer; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
}
.tab-list button.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { padding: 24px 0 8px; display: none; }
.tab-panel.is-active { display: block; }
.review-form label { display: block; font-weight: 600; margin: 12px 0 6px; }
.review-form input, .review-form textarea, .review-form select, .form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; border: 1px solid var(--border); padding: 12px 14px; border-radius: 4px; background: #fff;
}
.review-form textarea, .form-grid textarea { min-height: 120px; resize: vertical; }
.stars-input { color: #f5b301; font-size: 20px; }

/* ---------- Cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 12px 8px; border-bottom: 2px solid var(--border); }
.cart-table td { padding: 16px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item { display: flex; align-items: center; gap: 14px; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; background: #f7f7f7; border-radius: 4px; }
.cart-table input[type="number"] { width: 64px; padding: 8px; border: 1px solid var(--border); text-align: center; }
.link-remove { color: var(--muted); font-size: 13px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 36px; align-items: start; }
.totals {
  background: var(--light); padding: 24px; border-radius: var(--radius);
}
.totals h3 { margin-bottom: 16px; }
.totals-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.totals-row.grand { font-weight: 800; font-size: 18px; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }
.discount-note { color: #2e7d32; font-size: 13px; margin: 8px 0 16px; }
.empty-cart { text-align: center; padding: 48px 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.pay-options label { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--border); border-radius: 4px; margin-bottom: 8px; cursor: pointer; }
.notice { background: #eef8ee; color: #1b5e20; padding: 12px 16px; border-radius: 4px; margin-bottom: 18px; }
.notice.error { background: #fdecea; color: #8a1f16; }

/* ---------- About / contact / 404 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.team-card h4 { margin: 0 0 4px; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.team-card .role { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.warranty { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.warranty li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.warranty li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.contact-card { background: #fff; box-shadow: var(--shadow); padding: 28px; border-radius: var(--radius); text-align: center; }
.contact-card h4 { color: var(--accent); letter-spacing: .1em; }
.error-page { text-align: center; padding: 80px 16px; }
.error-page .code { font-size: clamp(80px, 14vw, 140px); color: var(--accent); line-height: 1; }

/* ---------- Mini cart / toast ---------- */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 2000;
  background: var(--charcoal); color: #fff; padding: 14px 18px; border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2); transform: translateY(20px); opacity: 0;
  pointer-events: none; transition: .25s ease; max-width: 280px;
}
.toast.is-on { transform: none; opacity: 1; }
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 3000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal.is-on { display: flex; }
.modal-card { background: #fff; max-width: 520px; width: 100%; border-radius: 8px; overflow: hidden; }
.modal-card img { width: 100%; height: 280px; object-fit: cover; }
.modal-card .pad { padding: 20px 22px 24px; }

/* ---------- Utils ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 1024px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  .product-grid, .power-grid, .reviews-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .features-3, .image-boxes { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .split, .split.reverse, .product-layout, .cart-layout, .checkout-layout, .warranty { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; }
  .hero { padding-top: 120px; }
}
@media (max-width: 767px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h4 { font-size: 18px; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; color: var(--text); flex-direction: column; padding: 12px 0 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { width: 100%; padding: 12px 24px; color: var(--text); }
  .product-grid, .power-grid, .reviews-grid, .team-grid, .contact-cards, .benefits-row, .form-grid, .check-list, .footer-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 64px 0; }
  .hero { padding: 110px 0 40px; min-height: 0; }
  .hero-wave { height: 90px; }
  .page-hero { padding: 120px 0 56px; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table td { padding: 8px 0; }
  .header-inner { width: min(100% - 28px, var(--max)); }
  .container { width: min(100% - 28px, var(--max)); }
}
@media (max-width: 400px) {
  h1 { font-size: 32px; }
  .btn { padding: 14px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-visual img { animation: none; }
  * { transition: none !important; }
}

/* ===== Screenshot-matched refinements ===== */
body { background: #f5f5f5; color: #4b4f58; }
h1, h2, h3, h4, h5, h6 { text-transform: uppercase; color: #383838; }
.site-header { color: #fff; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.logo { justify-self: start; }
.site-header nav { justify-self: center; }
.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
}
.cart-total {
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.cart-total:hover { color: inherit; opacity: .85; }
.account-link { color: inherit; display: flex; }
.account-link svg { width: 20px; height: 20px; }
.site-header.is-solid,
.site-header.is-scrolled {
  background: #fff;
  color: #383838;
  box-shadow: 0 1px 0 #eee;
}
.site-header.is-solid .nav-menu a,
.site-header.is-scrolled .nav-menu a { color: #d84733; }
.site-header.is-solid .nav-menu a[aria-current="page"],
.site-header.is-scrolled .nav-menu a[aria-current="page"],
.site-header.is-solid .nav-menu a:hover { color: #b42d2e; }
.site-header.is-solid .cart-count,
.site-header.is-scrolled .cart-count { background: #d84733; color: #fff; }

.hero { background: linear-gradient(180deg, #a82520 0%, #d8402c 100%); padding: 130px 0 0; min-height: 620px; }
.hero-grid { padding-bottom: 40px; }
.hero-dots {
  position: absolute; right: 8%; top: 18%; width: min(280px, 40%); z-index: 1; pointer-events: none; opacity: .55;
}
.hero-visual img { width: min(100%, 560px); margin-top: 10px; }

.product-card { text-align: left; }
.product-card .price { color: #383838; font-weight: 700; }
.product-card h3, .product-card .title { font-size: 15px; }

.icon-card .icon-round {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  background: #d84733; color: #fff; display: flex; align-items: center; justify-content: center;
}
.icon-card .icon-round svg { width: 22px; height: 22px; }
.icon-card h4 { margin-top: 18px; }

.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature-stack { display: flex; flex-direction: column; gap: 28px; }
.feature-row { display: flex; gap: 18px; align-items: flex-start; text-align: left; }
.feature-row .icon-round {
  width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0;
  background: #d84733; color: #fff; display: flex; align-items: center; justify-content: center;
}
.feature-row .icon-round svg { width: 26px; height: 26px; }
.feature-row h4 { margin: 0 0 6px; font-size: 15px; }
.feature-row p { margin: 0; }
.feature-photo img { width: 100%; }

.reviews-grid { grid-template-columns: 1fr 1fr; max-width: 920px; margin-inline: auto; }
.photo-banner { min-height: 380px; }
.photo-banner h2 { color: #383838; text-align: left; }
.photo-banner.light-caption::before { background: transparent; }
.photo-banner.light-caption .inner { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; max-width: var(--max); }
.photo-banner.light-caption h2 { max-width: 420px; font-size: clamp(22px, 3vw, 32px); }

.beats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  text-align: center; margin-top: 36px;
}
.beats-row .icon-round {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px;
  background: #fff; color: #d84733; display: flex; align-items: center; justify-content: center;
}
.beats-row h4 { color: #fff; font-size: 13px; letter-spacing: .08em; }
.overlap-buy { margin-top: -80px; position: relative; z-index: 2; text-align: center; padding-bottom: 70px; }
.overlap-buy img { width: min(420px, 80%); margin: 0 auto 18px; }

.footer-benefits { background: #383838; }
.site-footer { background: #2b2b2b; color: #b9b9b9; padding: 64px 0 0; }
.site-footer h4 { color: #fff; }
.site-footer p, .site-footer li, .site-footer a { color: #b9b9b9; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  background: #2b2b2b; border-top: 1px solid rgba(255,255,255,.08);
  color: #9a9a9a;
}

.page-hero { background: linear-gradient(180deg, #a82520 0%, #d8402c 100%); min-height: 280px; }
.page-hero.with-product { text-align: left; }
.page-hero.with-product .container { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.page-hero.with-product img { width: min(360px, 100%); margin-left: auto; }

.shop-wrap { padding: 40px 0 80px; }
.crumb { font-size: 13px; color: #4b4f58; margin-bottom: 18px; }
.crumb a { color: #4b4f58; }
.zoom-wrap { position: relative; }
.zoom-wrap .zoom-hint {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 1px solid #eee; display: flex; align-items: center; justify-content: center;
  color: #383838;
}
.product-summary .price { color: #383838; }
.stock { color: #2e7d32; font-weight: 500; }

.cart-title { font-size: 42px; margin: 8px 0 12px; text-transform: none; }
.cart-title + .rule { height: 3px; background: #d84733; border: 0; margin: 0 0 24px; }
.empty-box {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid #f3c7c1; background: #fff; padding: 14px 16px; margin-bottom: 22px;
}
.wc-notice {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border-top: 3px solid #d84733; background: #fff; padding: 12px 16px; margin-bottom: 22px;
}
.cart-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0; }
.coupon { display: flex; gap: 8px; }
.coupon input { border: 1px solid #ddd; padding: 10px 12px; border-radius: 4px; }
.btn-muted { background: #e8a399; }
.btn-muted:hover { background: #d84733; }
.totals.boxy { background: #fff; border: 1px solid #e6e6e6; }
.product-layout, .shop-wrap, .cart-page, .checkout-page { background: #f5f5f5; }
.product-stage { background: #fff; padding: 40px 0 20px; }
.related { padding: 20px 0 70px; }

.map-placeholder {
  height: 220px; background: #e6e6e6; display: flex; align-items: center; justify-content: center;
  color: #888; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; font-weight: 700;
}
.form-grid input, .form-grid textarea, .form-grid select {
  background: #f3f3f3; border: 0; border-radius: 6px;
}

@media (max-width: 1024px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .features-split, .page-hero.with-product .container { grid-template-columns: 1fr; }
  .beats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .cart-total { display: none; }
  .reviews-grid, .beats-row { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 110px; }
}

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1024px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .related-grid { grid-template-columns: 1fr; } }
.logo-text { color: inherit; }
