:root {
  --blue: #1358d8;
  --blue-dark: #0b347d;
  --red: #e01b3f;
  --red-soft: #fff0f3;
  --gray-25: #fbfcfe;
  --gray-50: #f5f7fb;
  --gray-100: #e7ecf3;
  --gray-500: #667085;
  --gray-800: #1d2739;
  --white: #ffffff;
  --green: #12a150;
  --amber: #f6a700;
  --shadow: 0 18px 46px rgba(24, 38, 68, 0.12);
  --soft-shadow: 0 10px 26px rgba(24, 38, 68, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f3f5f9;
  color: var(--gray-800);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(16px);
}

.header-shell,
.header-lower,
.location-strip,
.hero,
.promo-row,
.section-wrap,
.footer-grid,
.footer-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.header-shell {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 13px 0 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--gray-50);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--gray-800);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d71935;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: var(--radius);
  background: #d71935;
  color: var(--white);
  font-size: 0.78rem;
  box-shadow: 0 10px 20px rgba(19, 88, 216, 0.25);
}

.search {
  display: grid;
  grid-template-columns: 1fr 48px;
  height: 44px;
  overflow: hidden;
  border: 1px solid #d9e0eb;
  border-radius: 999px;
  background: #f6f8fb;
}

.search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(19, 88, 216, 0.12);
}

.search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 15px;
  background: transparent;
}

.search button {
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ffffff;
  color: #3a4658;
  border: 1px solid #e3e8f0;
}

.icon-button:hover,
.nearby-cta:hover {
  border-color: #b7c8e8;
  background: #eef4ff;
}

.store-button {
  width: auto;
  grid-template-columns: auto auto;
  gap: 7px;
  padding: 0 12px;
  font-weight: 800;
}

.header-lower {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
}

.category-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: #ffffff;
  color: #253044;
  border: 1px solid #e1e7f0;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(24, 38, 68, 0.06);
}

.cart-button strong {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--white);
  font-size: 0.72rem;
}

.main-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 0;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: #344054;
  font-weight: 800;
  font-size: 0.92rem;
}

.main-nav a:hover,
.main-nav a:last-child {
  background: var(--red-soft);
  color: var(--red);
}

.location-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: min(1200px, calc(100% - 32px));
  min-height: 42px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: #f7f9fc;
  color: #475467;
  border: 1px solid #e3e8f0;
  font-weight: 760;
}

.location-strip strong {
  color: var(--red);
}

.hero {
  position: relative;
  padding: 8px 0 14px;
}

.hero-carousel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #e1e7f0;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(24, 38, 68, 0.1);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.8fr);
  align-items: center;
  gap: 20px;
  padding: 32px 44px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-slide[data-accent="blue"] {
  background:
    linear-gradient(105deg, #f6faff 0%, #ffffff 44%, rgba(19,88,216,0.12) 100%),
    linear-gradient(135deg, #eef4ff, #ffffff);
}

.hero-slide[data-accent="red"] {
  background:
    linear-gradient(105deg, #fff7f8 0%, #ffffff 46%, rgba(224,27,63,0.13) 100%),
    linear-gradient(135deg, #fff5f7, #ffffff);
}

.hero-slide[data-accent="gray"] {
  background:
    linear-gradient(105deg, #f8fafc 0%, #ffffff 48%, rgba(102,112,133,0.16) 100%),
    linear-gradient(135deg, #f7f9fc, #ffffff);
}

.eyebrow,
.section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 660px;
  color: #15213a;
  font-size: clamp(2.05rem, 4.6vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  color: var(--blue-dark);
  font-size: clamp(1.42rem, 3vw, 2.1rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 12px 0 22px;
  color: #4b586d;
  font-size: 1.06rem;
}

.primary-cta,
.nearby-cta,
.product-actions button {
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 900;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  background: #d71935;
  color: var(--white);
  box-shadow: 0 12px 24px rgba(224, 27, 63, 0.22);
}

.primary-cta:hover {
  background: #c91534;
}

.hero-visual {
  min-height: 285px;
  display: grid;
  place-items: center;
}

.promo-art {
  position: relative;
  width: min(100%, 430px);
  height: 300px;
  display: grid;
  place-items: center;
}

.promo-art::before {
  content: "";
  position: absolute;
  inset: 22px 12px 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,0.95), rgba(255,255,255,0.18) 48%, transparent 66%),
    radial-gradient(circle at 35% 60%, rgba(19, 88, 216, 0.18), transparent 42%),
    radial-gradient(circle at 70% 38%, rgba(224, 27, 63, 0.16), transparent 40%);
  filter: blur(1px);
}

.promo-art::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 18px;
  height: 34px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.13);
  filter: blur(14px);
}

.promo-product {
  position: absolute;
  z-index: 2;
  display: block;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 22px rgba(15, 23, 42, 0.22));
}

.hero-product.main {
  width: 205px;
  height: 245px;
  right: 92px;
  bottom: 20px;
}

.hero-product.side {
  width: 150px;
  height: 190px;
  bottom: 38px;
  opacity: 0.95;
}

.hero-product.left {
  left: 18px;
  transform: rotate(-8deg);
}

.hero-product.right {
  right: 0;
  transform: rotate(8deg);
}

.combo-phone.primary {
  width: 230px;
  height: 245px;
  left: 78px;
  bottom: 18px;
}

.combo-phone.secondary {
  width: 172px;
  height: 205px;
  right: 16px;
  bottom: 36px;
  transform: rotate(5deg);
}

.combo-watch {
  width: 112px;
  height: 142px;
  left: 20px;
  bottom: 42px;
  border-radius: 18px;
}

.brand-phone.one {
  width: 218px;
  height: 238px;
  left: 98px;
  bottom: 20px;
}

.brand-phone.two {
  width: 150px;
  height: 184px;
  left: 0;
  bottom: 44px;
  transform: rotate(-6deg);
}

.brand-phone.three {
  width: 155px;
  height: 196px;
  right: 2px;
  bottom: 36px;
  transform: rotate(7deg);
}

.promo-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #18243a;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 12px 24px rgba(24, 38, 68, 0.12);
  font-size: 0.82rem;
  font-weight: 950;
}

.promo-chip.top {
  top: 24px;
  right: 28px;
}

.promo-chip.bottom {
  left: 28px;
  bottom: 22px;
  color: var(--red);
}

.phone-render {
  position: absolute;
  display: block;
  width: 118px;
  height: 206px;
  border-radius: 24px;
  background: linear-gradient(145deg, #f8fbff, #cdd7e6);
  border: 7px solid #182134;
  box-shadow: 0 20px 40px rgba(22, 32, 52, 0.22);
}

.phone-render::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(85, 138, 237, 0.28));
}

.phone-render::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 34px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(10, 20, 38, 0.55);
}

.hero-phone.apple {
  left: 42px;
  top: 52px;
  transform: rotate(-10deg);
}

.hero-phone.samsung {
  left: 154px;
  top: 18px;
  width: 130px;
  height: 226px;
  transform: rotate(4deg);
  background: linear-gradient(145deg, #d9e6ff, #596f93);
}

.hero-phone.xiaomi {
  right: 30px;
  top: 64px;
  transform: rotate(10deg);
  background: linear-gradient(145deg, #e9edf4, #242b37);
}

.tablet-render,
.watch-render,
.buds-render {
  position: absolute;
  display: block;
  background: var(--white);
  border: 8px solid #1f2a44;
  box-shadow: 0 20px 40px rgba(22, 32, 52, 0.18);
}

.tablet-render {
  left: 24px;
  top: 40px;
  width: 250px;
  height: 170px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eaf1ff, #ffffff 45%, #f9dde3);
}

.watch-render {
  right: 62px;
  top: 52px;
  width: 86px;
  height: 108px;
  border-radius: 28px;
  background: linear-gradient(135deg, #182134, #3572e7);
}

.watch-render::before,
.watch-render::after {
  content: "";
  position: absolute;
  left: 27px;
  width: 26px;
  height: 38px;
  background: #596579;
}

.watch-render::before {
  top: -44px;
  border-radius: 10px 10px 4px 4px;
}

.watch-render::after {
  bottom: -44px;
  border-radius: 4px 4px 10px 10px;
}

.buds-render {
  right: 118px;
  bottom: 18px;
  width: 118px;
  height: 76px;
  border-width: 0;
  border-radius: 28px;
}

.buds-render::before,
.buds-render::after {
  content: "";
  position: absolute;
  top: -30px;
  width: 28px;
  height: 66px;
  border-radius: 16px 16px 8px 8px;
  background: #f7f9fc;
  border: 4px solid #d7dfeb;
}

.buds-render::before {
  left: 28px;
  transform: rotate(-12deg);
}

.buds-render::after {
  right: 26px;
  transform: rotate(12deg);
}

.service-card {
  width: min(100%, 360px);
  padding: 30px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card span,
.service-card small {
  color: var(--gray-500);
}

.service-card strong {
  display: block;
  color: var(--blue-dark);
  font-size: 2.4rem;
  line-height: 1;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.carousel-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--gray-50);
  color: var(--blue-dark);
  border: 1px solid var(--gray-100);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.active {
  width: 42px;
  background: var(--blue);
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 10px 0 18px;
}

.promo-row article,
.category-grid a,
.benefit-grid article,
.product-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(24, 38, 68, 0.06);
}

.promo-row article {
  min-height: 96px;
  padding: 16px;
  border-left: 4px solid var(--blue);
}

.promo-row article:nth-child(even) {
  border-left-color: var(--red);
}

.promo-row strong,
.promo-row span {
  display: block;
}

.promo-row span {
  margin-top: 5px;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.section-wrap {
  padding: 26px 0;
}

.brand-section,
.products-section,
.benefits {
  background: #ffffff;
  border: 1px solid #e5ebf3;
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 18px;
  box-shadow: 0 8px 18px rgba(24, 38, 68, 0.05);
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.category-grid a {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px 14px;
  text-align: center;
  color: var(--blue-dark);
  font-weight: 900;
}

.nearby-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  background: var(--white);
  color: var(--blue-dark);
  border: 1px solid var(--gray-100);
}

.brand-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-filter button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--gray-50);
  color: #344054;
  border: 1px solid var(--gray-100);
  font-weight: 850;
}

.brand-filter button.active,
.brand-filter button:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.result-info {
  color: var(--gray-500);
  font-weight: 750;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #bfd0ef;
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 224px;
  background:
    radial-gradient(circle at 30% 20%, rgba(19, 88, 216, 0.12), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(224, 27, 63, 0.1), transparent 34%),
    linear-gradient(135deg, #f8fbff, #ffffff);
  border-bottom: 1px solid var(--gray-100);
}

.product-photo {
  width: 100%;
  height: 214px;
  object-fit: contain;
  object-position: center;
  padding: 22px 18px 14px;
  transition: transform 180ms ease;
}

.product-card:hover .product-photo {
  transform: scale(1.04);
}

.warranty-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eaf7ef;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-dark);
  border: 1px solid var(--gray-100);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-visual {
  position: relative;
  width: 174px;
  height: 168px;
}

.product-visual .front,
.product-visual .back {
  position: absolute;
  bottom: 0;
  display: block;
  width: 78px;
  height: 148px;
  border-radius: 20px;
  box-shadow: 0 18px 28px rgba(22, 32, 52, 0.18);
}

.product-visual .front {
  right: 24px;
  z-index: 2;
  background: #141b2d;
  border: 5px solid #111827;
}

.product-visual .front::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255,255,255,0.88), rgba(33, 98, 229, 0.42), rgba(224, 27, 63, 0.18));
}

.product-visual .front::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 22px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
}

.product-visual .back {
  left: 22px;
  z-index: 1;
  background: linear-gradient(145deg, var(--device-a), var(--device-b));
  border: 1px solid rgba(17, 24, 39, 0.12);
  transform: rotate(-8deg);
}

.product-visual.watch {
  width: 152px;
  height: 164px;
}

.product-visual.watch .front,
.product-visual.watch .back {
  display: none;
}

.product-visual.watch::before {
  content: "";
  position: absolute;
  left: 48px;
  top: 34px;
  width: 64px;
  height: 78px;
  border-radius: 22px;
  background: linear-gradient(135deg, #111827, #2857b7);
  border: 6px solid #283244;
  box-shadow: 0 18px 28px rgba(22, 32, 52, 0.2);
}

.product-visual.watch::after {
  content: "";
  position: absolute;
  left: 69px;
  top: 0;
  width: 22px;
  height: 164px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--device-a), var(--device-b));
  z-index: -1;
}

.camera {
  position: absolute;
  display: block;
}

.camera.apple,
.camera.huawei,
.camera.oppo,
.camera.vivo,
.camera.xiaomi {
  left: 11px;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,0.42);
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.1);
}

.camera.apple::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #172033;
  box-shadow: 13px 0 0 #172033, 6px 13px 0 #172033;
}

.camera.samsung {
  right: 12px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #141b2d;
  box-shadow: 0 20px 0 #141b2d, 0 40px 0 #141b2d;
}

.camera.oppo,
.camera.huawei,
.camera.vivo,
.camera.xiaomi {
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.camera.oppo::before,
.camera.huawei::before,
.camera.vivo::before,
.camera.xiaomi::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #172033 38%, #f8fafc 40%, #f8fafc 58%, #172033 60%);
}

.camera.infinix,
.camera.realme {
  left: 11px;
  top: 12px;
  width: 26px;
  height: 50px;
  border-radius: 13px;
  background: rgba(255,255,255,0.44);
}

.camera.infinix::before,
.camera.realme::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #172033;
  box-shadow: 0 16px 0 #172033, 0 32px 0 #172033;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px;
}

.product-body h3 {
  min-height: 48px;
  font-size: 0.98rem;
  line-height: 1.25;
  color: var(--gray-800);
}

.price {
  margin-top: 8px;
  color: var(--red);
  font-size: 1.08rem;
  font-weight: 950;
}

.rating {
  margin-top: 7px;
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 850;
}

.rating span {
  color: var(--gray-500);
  font-weight: 750;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 760;
}

.product-meta span:last-child {
  color: var(--green);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: auto;
  padding-top: 14px;
}

.product-actions button {
  padding: 0 10px;
  font-size: 0.83rem;
}

.add-cart {
  background: var(--blue);
  color: var(--white);
}

.detail-button {
  background: var(--white);
  color: var(--blue);
  border: 1px solid #c8d6ee;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-grid article {
  padding: 20px;
}

.benefit-grid strong {
  color: var(--blue-dark);
  font-size: 1.04rem;
}

.benefit-grid p,
.footer p {
  margin-top: 7px;
  color: var(--gray-500);
}

.footer {
  margin-top: 26px;
  background: #0b1730;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
  gap: 30px;
  padding: 42px 0 28px;
}

.footer-logo {
  color: var(--white);
}

.footer h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer a {
  display: block;
  margin: 8px 0;
  color: #dbe7ff;
}

.footer a:hover {
  color: #ffffff;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.socials a {
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 24px;
  color: #bfd0ef;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.86rem;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  max-width: min(380px, calc(100% - 40px));
  padding: 13px 16px;
  border-radius: var(--radius);
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .top-strip {
    gap: 14px;
    font-size: 0.8rem;
  }

  .header-shell {
    grid-template-columns: auto auto 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .search {
    grid-column: 1 / -1;
    order: 2;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 14px;
  }

  .main-nav.open {
    display: flex;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    min-height: 560px;
  }

  .hero-visual {
    min-height: 250px;
  }

  .promo-row,
  .product-grid,
  .benefit-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .top-strip {
    display: none;
  }

  .header-shell {
    width: min(100% - 24px, 1200px);
    gap: 10px;
    padding: 12px 0;
  }

  .logo {
    font-size: 0.96rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .store-button span,
  .header-actions .icon-button:nth-child(2),
  .header-actions .icon-button:nth-child(3) {
    display: none;
  }

  .store-button {
    width: 44px;
    padding: 0;
  }

  .hero,
  .promo-row,
  .section-wrap,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1200px);
  }

  .hero-carousel {
    min-height: 590px;
  }

  .hero-slide {
    padding: 24px;
    min-height: 590px;
  }

  .hero-copy p {
    font-size: 0.98rem;
  }

  .promo-art {
    transform: scale(0.88);
    transform-origin: center;
  }

  .section-heading.split {
    display: block;
  }

  .nearby-cta,
  .result-info {
    margin-top: 12px;
  }

  .promo-row,
  .category-grid,
  .benefit-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-media {
    min-height: 188px;
  }

  .product-photo {
    height: 182px;
    padding: 22px 12px 12px;
  }

  .product-visual {
    transform: scale(0.9);
  }

  .product-body {
    padding: 11px;
  }

  .product-body h3 {
    min-height: 58px;
    font-size: 0.86rem;
  }

  .price {
    font-size: 0.96rem;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel,
  .hero-slide {
    min-height: 610px;
  }
}
