/* Self-hosted Be Vietnam Pro — replaces the never-loaded "Inter" declaration below.
   Two weights (400/700) split into the three subsets Google Fonts ships them in
   (vietnamese/latin-ext/latin) so diacritics render correctly; heavier weights used
   around the site (800/900) fall back to the browser's synthetic bold from 700. */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/be-vietnam-pro-400-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/be-vietnam-pro-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/be-vietnam-pro-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/be-vietnam-pro-700-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/be-vietnam-pro-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/be-vietnam-pro-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #1433c6;
  --blue-strong: #075eff;
  --cyan: #4fd7ef;
  --ink: #121827;
  --muted: #777d8f;
  --line: #e8ebf3;
  --page: #f4f5fb;
  --orange: #ff7622;
  --gold: #ffd33d;
  --green-a: #0e8d58;
  --green-b: #10aa64;
  --radius: 8px;
  --shadow: 0 12px 26px rgba(22, 33, 74, 0.12);
  font-family: "Be Vietnam Pro", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1200px, calc(100% - 28px));
  margin-inline: auto;
}

.birthday-banner {
  min-height: 55px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 22%, rgba(255,255,255,.36) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 12%, rgba(255,255,255,.5) 0 2px, transparent 3px),
    linear-gradient(90deg, #1688ff, #1765ff 42%, #167cff);
}

.birthday-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(30deg, transparent 0 12px, rgba(255,255,255,.86) 13px 15px, transparent 16px 35px),
    linear-gradient(150deg, transparent 0 18px, rgba(255,127,32,.92) 19px 24px, transparent 25px 45px);
  background-size: 230px 55px, 290px 55px;
  opacity: .5;
  pointer-events: none;
}

.birthday-banner,
.main-slider,
.mini-promo,
.vertical-banner,
.side-float {
  position: relative;
}

.birthday-inner {
  position: relative;
  z-index: 1;
  min-height: 55px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.birthday-inner h1 {
  margin: 0;
  justify-self: center;
  padding: 5px 12px;
  border: 4px solid var(--orange);
  border-radius: var(--radius);
  background: #fff;
  color: #ff6816;
  font-size: clamp(24px, 4vw, 36px);
  line-height: .86;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #ffc5a8;
  white-space: nowrap;
}

.birthday-deals {
  display: flex;
  gap: 8px;
  align-items: center;
}

.birthday-deals a {
  min-width: 96px;
  padding: 6px 10px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  background: linear-gradient(#ff9c27, #ff6619);
  text-align: center;
  font-size: 11px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(164,59,0,.2);
}

.birthday-deals strong {
  display: block;
  font-size: 13px;
}

.gift-box {
  justify-self: end;
  width: 112px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 8px 8px 4px 4px;
  background:
    linear-gradient(90deg, transparent 43%, #ffec7d 44% 56%, transparent 57%),
    linear-gradient(#ff8c22 0 34%, #ffbf31 35% 100%);
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
  transform: rotate(-4deg);
}

.utility-nav {
  background: var(--blue);
  color: #fff;
}

.utility-scroll {
  min-height: 43px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  position: relative;
  align-items: center;
  overflow: visible;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  scrollbar-width: none;
}

.utility-scroll::-webkit-scrollbar,
.keyword-row::-webkit-scrollbar {
  display: none;
}

.utility-links {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(7, max-content);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-left: 34px;
  padding-right: 0;
  overflow: hidden;
  scrollbar-width: none;
}

.utility-links::-webkit-scrollbar {
  display: none;
}

.utility-scroll a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
}

.utility-links span {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  font-size: 11px;
}

.language-toggle {
  position: static;
  z-index: 2;
  transform: none;
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  justify-self: end;
  margin-right: -14px;
}

.language-toggle span {
  width: auto;
  height: auto;
  display: inline;
  border: 0;
  border-radius: 0;
  font-size: 12px;
}

.language-toggle i {
  width: 26px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.3);
  position: relative;
}

.language-toggle i::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s ease;
}

.language-toggle.is-english i::before {
  transform: translateX(12px);
}

.site-header {
  background: #fff;
  box-shadow: 0 10px 22px rgba(22,28,48,.08);
}

.header-layout {
  min-height: 112px;
  padding-block: 13px;
  display: grid;
  grid-template-columns: 48px 180px minmax(260px, 1fr) 350px;
  gap: 16px;
  align-items: center;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 5px;
}

.brand-mark span {
  background: #55d6ee;
  border-radius: 3px;
}

.brand-mark span:first-child {
  border-radius: 8px 3px 3px 3px;
}

.brand-mark span:nth-child(2) {
  border-radius: 3px 8px 3px 3px;
}

.brand-mark span:nth-child(3) {
  border-radius: 3px 3px 3px 8px;
}

.brand-mark span:nth-child(4) {
  border-radius: 3px 3px 8px 3px;
}

.category-button {
  height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #7f8496;
  font-weight: 700;
}

.menu-icon {
  width: 15px;
  display: grid;
  gap: 3px;
}

.menu-icon i {
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.search-panel {
  min-width: 0;
}

.search-form {
  height: 42px;
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding-inline: 14px;
  outline: 0;
  color: #4a5060;
}

.search-form button {
  width: 44px;
  border: 0;
  background: var(--blue-strong);
  color: #fff;
  font-size: 18px;
}

.keyword-row {
  margin-top: 9px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  scrollbar-width: none;
}

.account-actions {
  display: grid;
  grid-template-columns: 124px 42px minmax(140px, 1fr);
  gap: 16px;
  align-items: center;
  color: #7b8297;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.18;
}

.icon-text {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.header-icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: block;
  color: #7c8399;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.round-icon {
  display: grid;
  place-items: center;
  color: #7c8399;
}

.round-icon .header-icon {
  width: 35px;
  height: 35px;
}

.bell-svg {
  width: 36px;
  height: 36px;
  stroke-width: 2.15;
}

.cart-svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.95;
}

.main-content {
  padding: 16px 0 46px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr) 182px;
  gap: 16px;
  align-items: start;
}

.category-menu {
  min-height: 424px;
  padding-block: 4px;
  border-radius: var(--radius);
  background: #fff;
}

.category-menu a {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline: 10px;
  color: #111;
  font-size: 12px;
  font-weight: 800;
}

.category-menu a:hover {
  color: var(--blue-strong);
  background: #f5f8ff;
}

.category-menu span {
  width: 18px;
  color: #a7abb6;
  text-align: center;
  font-size: 16px;
}

.promo-column,
.right-banner-list {
  display: grid;
  gap: 16px;
}

.main-slider {
  height: 282px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(18deg, var(--green-a), var(--green-b) 54%, var(--green-a));
  isolation: isolate;
}

.main-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(158deg, transparent 0 21%, rgba(255,200,45,.82) 21.5% 22.5%, transparent 23%),
    linear-gradient(20deg, transparent 0 35%, rgba(0,58,164,.38) 35.4% 36.6%, transparent 37%),
    linear-gradient(172deg, transparent 0 45%, rgba(255,200,45,.65) 45.3% 46%, transparent 46.4%);
}

.hero-brand {
  position: absolute;
  top: 15px;
  left: 39%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-brand b {
  font-size: 20px;
  font-style: italic;
}

.slider-copy {
  position: relative;
  z-index: 1;
  width: min(470px, 58%);
  padding: 54px 0 0 62px;
}

.slider-copy p {
  margin: 0 0 8px;
  color: #eafbe4;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  text-shadow: 2px 2px 0 #046831, 3px 3px 0 rgba(0,0,0,.22);
  transform: rotate(-4deg);
}

.slider-copy h2 {
  margin: 0;
  color: #fff934;
  font-size: clamp(30px, 4.8vw, 46px);
  line-height: .92;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #00743f, 5px 5px 0 rgba(0,0,0,.22);
}

.money {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 12px 7px;
  border-radius: 6px;
  background: #fff;
  color: #1b7a45;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 6px 6px 0 rgba(0,85,39,.55);
  transform: rotate(2deg);
}

.money small {
  color: #1f4c35;
  font-size: 18px;
}

.school-copy {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #eaffef;
  font-size: 31px;
  line-height: .88;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(0,76,42,.6);
}

.school-copy small {
  display: block;
  padding-top: 5px;
  font-size: 10px;
  line-height: 1;
}

.school-copy strong {
  color: #fff34a;
}

.laptop-stage {
  position: absolute;
  right: 35px;
  top: 43px;
  z-index: 1;
  width: 45%;
  height: 205px;
}

.mock-laptop {
  position: absolute;
  background: #242733;
  border: 2px solid #0a0d16;
  box-shadow: 0 15px 22px rgba(0,0,0,.28);
  animation: floatLaptop 4.8s ease-in-out infinite;
  will-change: transform;
}

.mock-laptop::before,
.mock-laptop::after {
  content: "";
  position: absolute;
}

.mock-laptop::before {
  inset: 10px;
  border: 2px solid #0b0d13;
  background:
    radial-gradient(circle at 48% 46%, #9e58ff 0 5px, transparent 6px),
    radial-gradient(circle at 60% 38%, #31e0ff 0 8px, transparent 9px),
    linear-gradient(145deg, #14131d, #1f2f69);
}

.mock-laptop::after {
  left: -26px;
  right: -24px;
  bottom: -14px;
  height: 10px;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(90deg, #14151e, #454965);
  box-shadow: 0 5px 0 #7a2cff;
  transform: skewX(-23deg);
}

.mock-laptop.main {
  width: 154px;
  height: 104px;
  left: 74px;
  top: 72px;
  transform: perspective(420px) rotateY(-18deg) rotateZ(6deg);
}

.mock-laptop.side {
  width: 132px;
  height: 86px;
  right: 14px;
  top: 92px;
  transform: perspective(420px) rotateY(28deg) rotateZ(-6deg);
  animation-delay: -.9s;
}

.mock-laptop.back {
  width: 110px;
  height: 140px;
  right: 116px;
  top: 0;
  background: #202327;
  transform: perspective(500px) rotateY(-20deg) rotateZ(6deg);
  animation-delay: -1.6s;
}

.mock-laptop.back::before {
  inset: 0;
  border: 0;
  background: linear-gradient(145deg, #25292d, #111317);
}

.mock-laptop.back::after {
  display: none;
}

.qr-block {
  position: absolute;
  right: 22px;
  bottom: 21px;
  z-index: 1;
  width: 50px;
  height: 50px;
  border: 5px solid #fff;
  background:
    linear-gradient(90deg, #111 25%, transparent 0 50%, #111 0 75%, transparent 0),
    linear-gradient(#111 25%, transparent 0 50%, #111 0 75%, transparent 0),
    #fff;
  background-size: 12px 12px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #6a7080;
  font-size: 22px;
  transform: translateY(-50%);
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.slider-arrow.prev {
  left: 8px;
}

.slider-arrow.next {
  right: 8px;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
}

.slider-dots .active {
  background: var(--blue-strong);
}

.mini-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mini-promo {
  height: 127px;
  overflow: hidden;
  padding: 18px 8px 8px;
  border: 2px solid #128cff;
  border-radius: var(--radius);
  outline: 1px dashed #fff;
  outline-offset: -5px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 22%, #ffe86b 0 22px, transparent 23px),
    linear-gradient(135deg, #e8fbff 0 20%, #1ba5ff 21% 100%);
}

.mini-promo h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ff6f1d;
  font-size: 19px;
  line-height: .95;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 rgba(0,0,0,.18);
}

.mini-promo span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 10px;
  padding: 4px 8px;
  border: 2px solid var(--gold);
  border-radius: 5px;
  background: linear-gradient(#ff9b25, #ff571c);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.pc-box,
.phone-stack,
.monitor-box {
  position: absolute;
  right: 9px;
  bottom: 12px;
  width: 70px;
  height: 68px;
  border-radius: 5px;
  background: linear-gradient(145deg, #181a22, #414658);
  box-shadow: 0 8px 14px rgba(0,0,0,.22);
  transform: rotate(-6deg);
}

.pc-box::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: -8px;
  height: 9px;
  border-radius: 0 0 8px 8px;
  background: #111827;
}

.phone-stack {
  width: 74px;
  height: 82px;
  background:
    linear-gradient(90deg, transparent 0 6px, #ff9d44 7px 37px, transparent 38px),
    linear-gradient(90deg, #ff7a21 0 32px, transparent 33px 42px, #ff7a21 43px 74px);
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 12px;
}

.monitor-box {
  width: 82px;
  height: 52px;
  border: 5px solid #171923;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 45%, #45eaff 0 8px, transparent 9px),
    linear-gradient(135deg, #191a30, #7739ff);
}

.right-banner-list {
  gap: 26px;
}

.vertical-banner {
  height: 200px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px;
  border: 2px solid #128cff;
  border-radius: var(--radius);
  outline: 2px dashed rgba(255,255,255,.9);
  outline-offset: -6px;
  text-align: center;
}

.vertical-banner.edu {
  background:
    radial-gradient(circle at 50% 75%, #fff4ac 0 58px, transparent 59px),
    linear-gradient(#f7fcff 0 28%, #aef4ff 29% 100%);
}

.vertical-banner.edu span {
  align-self: start;
  padding: 7px 8px;
  border: 2px solid var(--gold);
  border-radius: 22px;
  background: linear-gradient(#ff9c1f, #ff6b18);
  color: #fffef2;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.vertical-banner.edu strong {
  color: #ff5f19;
  font-size: 31px;
  line-height: .9;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #fff, 3px 3px 0 #ffb01b;
}

.vertical-banner.edu b {
  color: #ff6b17;
  font-size: 58px;
  line-height: .9;
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 #ffb01b;
}

.vertical-banner.month {
  background: linear-gradient(#0b7bff, #045bd5);
  color: #1737bd;
}

.vertical-banner.month span {
  padding: 9px 13px;
  border-radius: 17px;
  background: rgba(28,70,177,.82);
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.vertical-banner.month strong {
  font-size: 42px;
  line-height: .9;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(255,255,255,.23);
}

.hot-deals {
  margin-top: 22px;
  padding: 18px 16px 24px;
  border-radius: var(--radius);
  background: #fff;
}

.hot-deals h2 {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.hot-deal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.hot-deal-grid a {
  display: grid;
  justify-items: center;
  gap: 13px;
  color: #1d2431;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hot-deal-grid span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid #ff9f32;
  border-radius: 6px;
  background: linear-gradient(145deg, #ffc531, #ff6024);
  color: #fff83a;
  font-size: 16px;
  line-height: .9;
  font-weight: 900;
  text-shadow: 1px 1px 0 rgba(145,54,0,.5);
}

.hot-deal-grid small {
  font-size: 10px;
}

.shopping-strip {
  margin-top: 26px;
  overflow: hidden;
  border: 2px solid #008bff;
  border-radius: var(--radius);
  background: #078dff;
}

.strip-ribbon {
  height: 18px;
  background: repeating-linear-gradient(90deg, #00a3ff 0 16px, #fff 16px 20px, #ff7d18 20px 31px, #fff 31px 35px);
}

.strip-content {
  min-height: 135px;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 10px;
  padding: 12px;
}

.strip-content a {
  display: grid;
  place-items: center;
  padding: 10px;
  border: 3px solid #ff9a22;
  border-radius: 6px;
  background: #fff;
  color: #202532;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: inset 0 -5px 0 #f0f3ff;
}

.strip-content .strip-hero {
  place-items: start;
  align-content: center;
  background:
    radial-gradient(circle at 28% 38%, #fff685 0 36px, transparent 37px),
    linear-gradient(135deg, #ff701f, #ffd442);
  color: #fff;
  text-align: left;
}

.strip-hero span {
  padding: 2px 10px;
  border-radius: 99px;
  background: #0b55d9;
  font-size: 17px;
}

.strip-hero strong {
  margin-top: 6px;
  font-size: 34px;
  line-height: .92;
  text-shadow: 2px 2px 0 rgba(152,63,0,.45);
}

.side-float {
  position: fixed;
  z-index: 10;
  bottom: 14px;
  width: 150px;
  min-height: 198px;
  padding: 18px 10px;
  border: 2px solid #168eff;
  border-radius: var(--radius);
  outline: 2px dashed #fff;
  outline-offset: -6px;
  background: linear-gradient(#f4feff, #aaf4ff);
  color: #ff641e;
  text-align: center;
  box-shadow: var(--shadow);
}

.side-float.left {
  left: max(14px, calc((100vw - 1544px) / 2));
}

.side-float.right {
  right: max(14px, calc((100vw - 1544px) / 2));
}

.side-float small {
  color: #3b80bd;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.side-float strong {
  display: block;
  margin-top: 14px;
  font-size: 34px;
  line-height: .88;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 #ffb229;
}

.side-float span {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fff5b3;
  color: #ff5f1c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-float {
  position: fixed;
  right: 32px;
  bottom: 82px;
  z-index: 45;
  display: grid;
  gap: 14px;
  justify-items: end;
}

.contact-float a,
.contact-float .assistant-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2c6ee8;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 7px 14px rgba(19,65,165,.22);
}

.contact-float .phone-link {
  width: auto;
  display: inline-flex;
  gap: 8px;
  padding-left: 8px;
  border-radius: 24px;
  background: rgba(255,255,255,.8);
  color: #f20f0f;
  font-size: 18px;
}

.contact-float .lead-float-button {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(249, 115, 22, .24);
}

.contact-float b {
  padding: 3px 4px;
  border-radius: 5px;
  background: rgba(255,255,255,.82);
  color: #171923;
  font-size: 10px;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.contact-float .assistant-link {
  background: #fff;
  width: 64px;
  height: 64px;
  border: 3px solid #2c6ee8;
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(19,65,165,.28);
}

.contact-float .assistant-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.assistant-chat {
  position: absolute;
  right: 78px;
  bottom: -42px;
  width: min(470px, calc(100vw - 128px));
  height: min(650px, calc(100vh - 98px));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid rgba(18,110,232,.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(18,37,85,.32);
  color: #1f2937;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.98);
  transform-origin: right bottom;
  transition: opacity .2s ease, transform .2s ease;
}

.assistant-chat.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.assistant-chat header {
  min-height: 90px;
  display: grid;
  grid-template-columns: 54px 1fr 42px;
  align-items: center;
  gap: 14px;
  padding: 17px 18px 16px;
  background: linear-gradient(135deg, #0c5dff, #21c7f3);
  color: #fff;
}

.assistant-chat header span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}

.assistant-chat header img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.assistant-chat header strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.assistant-chat header small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 600;
}

.assistant-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.assistant-chat-body {
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 20px;
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.chat-message {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
}

.chat-message.bot {
  border-top-left-radius: 4px;
  background: #eaf4ff;
  color: #0e4fc8;
}

.chat-message.user {
  justify-self: end;
  border-top-right-radius: 4px;
  background: #0b63ff;
  color: #fff;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chat-suggestions button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(11,99,255,.24);
  border-radius: 999px;
  background: #fff;
  color: #0b5cff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.chat-suggestions button:hover {
  background: #eaf3ff;
  border-color: rgba(11,99,255,.4);
  transform: translateY(-1px);
}

.assistant-chat-form {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid #e8eef8;
  background: #fff;
}

.assistant-chat-form input {
  width: 100%;
  height: 50px;
  border: 1px solid #d8e2f1;
  border-radius: 999px;
  padding: 0 18px;
  color: #1f2937;
  font-size: 15px;
  outline: none;
}

.assistant-chat-form input:focus {
  border-color: #0b63ff;
  box-shadow: 0 0 0 3px rgba(11,99,255,.12);
}

.assistant-chat-form button {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #0b63ff;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatLaptop {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 1450px) {
  .side-float {
    display: none;
  }
}

@media (max-width: 1040px) {
  .birthday-inner {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-block: 7px 9px;
  }

  .gift-box {
    display: none;
  }

  .birthday-deals {
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-layout {
    grid-template-columns: 48px 172px minmax(260px, 1fr);
  }

  .account-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .right-banner-list {
    display: none;
  }

  .mini-promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hot-deal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .strip-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-hero {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 18px, 1200px);
  }

  .utility-scroll {
    justify-content: flex-start;
  }

  .birthday-inner h1 {
    white-space: normal;
    text-align: center;
  }

  .header-layout {
    min-height: auto;
    grid-template-columns: 42px 1fr;
    gap: 10px;
  }

  .category-button {
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .search-panel,
  .account-actions {
    grid-column: 1 / -1;
  }

  .account-actions {
    grid-template-columns: 1fr 46px 1fr;
    font-size: 11px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .category-menu {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .category-menu a {
    min-height: 34px;
  }

  .main-slider {
    height: 360px;
  }

  .slider-copy {
    width: 100%;
    padding: 48px 34px 0;
  }

  .slider-copy p {
    font-size: 23px;
  }

  .money {
    font-size: 32px;
  }

  .school-copy {
    margin-top: 20px;
    font-size: 24px;
  }

  .laptop-stage {
    top: 195px;
    right: 20px;
    width: 72%;
    transform: scale(.88);
    transform-origin: top right;
  }

  .mini-promo-grid,
  .strip-content {
    grid-template-columns: 1fr;
  }

  .hot-deal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-float {
    right: 14px;
    bottom: 18px;
  }

  .assistant-chat {
    position: fixed;
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
    height: min(620px, calc(100vh - 28px));
  }
}

@media (max-width: 460px) {
  .category-menu {
    grid-template-columns: 1fr;
  }

  .icon-text span:last-child {
    display: none;
  }

  .account-actions {
    justify-items: center;
  }

  .main-slider {
    height: 390px;
  }

  .slider-copy {
    padding-inline: 22px;
  }

  .slider-copy h2 {
    font-size: 32px;
  }

  .laptop-stage {
    width: 92%;
  }
}

/* Image-driven storefront sections */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.art-banner {
  min-height: 55px;
  display: block;
  background: #1772ff;
}

.art-banner::before {
  display: none;
}

.art-banner img,
.banner-strip img,
.wide-promo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-banner img {
  height: 55px;
}

.image-brand {
  padding: 0;
  display: grid;
  place-items: center;
}

.image-brand img {
  max-width: 42px;
  max-height: 42px;
  display: block;
}

.main-slider {
  background: #fff;
}

.main-slider::before {
  display: none;
}

.slider-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-tile {
  padding: 0;
  background: #fff;
  outline-offset: -4px;
}

.image-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vertical-banner.image-banner {
  padding: 0;
  background: #fff;
}

.vertical-banner.image-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-badge-grid img {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: contain;
}

.image-badge-grid span {
  display: none;
}

.banner-strip {
  height: 135px;
  border: 2px solid #008bff;
  background: #078dff;
}

.flash-sale-section,
.featured-categories,
.product-shelf {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.deal-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #fff;
}

.deal-tabs a,
.deal-tabs button {
  min-height: 60px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 10px;
  border: 0;
  background: #fff;
  color: #263044;
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.deal-tabs a.active,
.deal-tabs button.active {
  background: linear-gradient(#ffb13f, #ffc567);
  color: #fff;
}

.deal-tabs strong,
.deal-tabs button strong {
  font-size: 20px;
  line-height: 1.1;
}

.deal-tabs span,
.deal-tabs button span {
  font-size: 13px;
}

.flash-panel {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 0;
  background: linear-gradient(90deg, #ffd177, #fff6df);
  border-top: 1px solid rgba(255,255,255,.7);
}

.flash-info {
  min-height: 530px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 28px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(#ffbb53, #ffe3a7);
}

.flash-logo {
  color: #ff6b1a;
  font-size: 31px;
  line-height: .9;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #fff, 3px 3px 0 #da2d25;
}

.flash-logo strong {
  display: inline-block;
}

.flash-logo span {
  display: block;
  margin-top: 6px;
  padding: 4px 18px;
  border: 4px solid #ff6b1a;
  border-radius: 999px;
  background: #fffdf4;
  font-size: 20px;
}

.flash-info p {
  margin: 36px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.countdown {
  display: flex;
  gap: 8px;
}

.countdown b {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #22252d;
  color: #fff;
  font-size: 20px;
}

.flash-info small {
  margin-top: 92px;
  color: #e7443d;
  font-size: 20px;
  font-weight: 900;
}

.flash-info a {
  padding: 8px 22px;
  border-radius: 999px;
  background: #d62135;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-row,
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.product-row {
  padding: 60px 14px 10px;
  position: relative;
}

.product-row::before {
  content: attr(data-limit-text);
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  color: #eb403f;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}

.product-card {
  min-width: 0;
  min-height: 520px;
  display: grid;
  align-content: start;
  gap: 8px;
  position: relative;
  padding: 18px 16px 12px;
  background: #fff;
  color: #4a5162;
}

.product-card .heart {
  position: absolute;
  top: 164px;
  right: 16px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #003dde;
  font-size: 30px;
  line-height: 1;
}

.product-card > img {
  width: 100%;
  height: 126px;
  object-fit: contain;
}

.save-label {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 4px;
  background: linear-gradient(135deg, #7b25ff, #3359ff);
  color: #fff;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card b {
  color: #7d8499;
  font-size: 12px;
}

.product-card h3 {
  margin: 0;
  min-height: 46px;
  color: #404759;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.product-card em {
  width: fit-content;
  padding: 2px 5px;
  border: 1px solid #003dde;
  border-radius: 4px;
  color: #003dde;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.product-card strong {
  color: #053ed9;
  font-size: 16px;
}

.product-card del {
  color: #8c92a3;
  font-size: 12px;
}

.product-card ul {
  margin: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  border-radius: 7px;
  background: #f3f3f3;
  color: #474d5b;
  font-size: 10px;
  list-style: none;
}

.product-card button:last-child {
  align-self: end;
  min-height: 32px;
  border: 1px solid #003dde;
  border-radius: 4px;
  background: #fff;
  color: #003dde;
  font-weight: 800;
}

.featured-categories {
  padding: 16px 16px 24px;
}

.featured-categories h2,
.product-shelf h2 {
  margin: 0;
  color: #202532;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 20px;
}

.featured-grid a {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  min-height: 118px;
  color: #111827;
  text-align: center;
  line-height: 1.45;
}

.featured-grid span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #eceef2;
  color: #152070;
  font-size: 28px;
}

.featured-grid span img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.wide-promo {
  margin-top: 26px;
  height: 134px;
  overflow: hidden;
  border: 2px solid #128cff;
  border-radius: var(--radius);
}

.product-shelf {
  background: #168dff;
}

.shelf-head {
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 10px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 4%, rgba(255,255,255,.75) 0 8px, transparent 9px),
    radial-gradient(circle at 82% 14%, rgba(255,255,255,.75) 0 8px, transparent 9px),
    linear-gradient(#2698ff, #168dff);
}

.shelf-head h2 {
  color: #fff;
}

.shelf-head a {
  font-size: 14px;
  font-weight: 800;
}

.shelf-grid {
  padding: 0 10px 10px;
}

.blue-shelf .product-card {
  min-height: 440px;
}

.blue-shelf .product-card .heart {
  top: 214px;
}

.image-side-ad {
  padding: 0;
  min-height: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.image-side-ad img {
  display: block;
  width: 151px;
  height: auto;
  max-height: 351px;
  object-fit: contain;
}

@media (max-width: 1040px) {
  .deal-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .flash-panel {
    grid-template-columns: 1fr;
  }

  .flash-info {
    min-height: 250px;
  }

  .flash-info small {
    margin-top: 10px;
  }

  .product-row,
  .shelf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .featured-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .art-banner img {
    height: 74px;
  }

  .banner-strip,
  .wide-promo {
    height: 96px;
  }

  .deal-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-row,
  .shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 460px) {
  .product-row,
  .shelf-grid {
    grid-template-columns: 1fr;
  }

  .product-card .heart,
  .blue-shelf .product-card .heart {
    top: 154px;
  }
}

/* Storefront polish and slider motion */
body {
  background:
    linear-gradient(180deg, #ffffff 0 112px, rgba(255,255,255,0) 112px),
    radial-gradient(circle at 50% 0, rgba(24,126,255,.08), transparent 360px),
    #f3f5fb;
}

.container {
  width: min(1200px, calc(100% - 32px));
}

.site-header {
  border-bottom: 1px solid rgba(224, 228, 238, .9);
  box-shadow: 0 8px 22px rgba(33, 41, 74, .08);
}

.header-layout {
  min-height: 104px;
}

.category-button,
.search-form,
.hot-deals,
.flash-sale-section,
.featured-categories,
.product-shelf,
.banner-strip,
.wide-promo,
.category-menu {
  box-shadow: 0 1px 0 rgba(18,24,39,.03), 0 10px 24px rgba(23,35,74,.06);
}

.category-button,
.search-form {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.category-button:hover,
.search-form:focus-within {
  border-color: rgba(7, 94, 255, .42);
  box-shadow: 0 0 0 3px rgba(7, 94, 255, .08);
}

.search-form button {
  transition: background .18s ease;
}

.search-form button:hover {
  background: #004fe0;
}

.keyword-row a,
.utility-scroll a,
.category-menu a,
.hot-deal-grid a,
.featured-grid a {
  transition: color .18s ease, transform .18s ease, background .18s ease;
}

.keyword-row a:hover,
.utility-scroll a:hover {
  color: #0b5cff;
}

.category-menu {
  border: 1px solid rgba(231, 234, 243, .9);
}

.category-menu a {
  border-radius: 6px;
  margin-inline: 4px;
}

.category-menu a:hover {
  transform: translateX(2px);
}

.main-slider {
  border: 1px solid rgba(12, 95, 214, .18);
  box-shadow: 0 12px 28px rgba(18, 55, 128, .14);
}

.slider-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #eaf5ff;
}

.slider-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: translateX(5%);
  transition: transform .55s cubic-bezier(.22,.61,.36,1), opacity .55s ease;
  will-change: transform, opacity;
}

.slider-image.is-active {
  z-index: 1;
  opacity: 1;
  transform: translateX(0);
}

.slider-image.from-right {
  transform: translateX(9%);
}

.slider-image.from-left {
  transform: translateX(-9%);
}

.slider-image.exit-left {
  z-index: 0;
  opacity: 0;
  transform: translateX(-9%);
}

.slider-image.exit-right {
  z-index: 0;
  opacity: 0;
  transform: translateX(9%);
}

.slider-arrow {
  width: 34px;
  height: 34px;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.main-slider:hover .slider-arrow,
.main-slider:focus-within .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.slider-dots {
  bottom: 12px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  transition: width .18s ease, background .18s ease;
}

.slider-dots .active {
  width: 22px;
  border-radius: 999px;
  background: #0a5bff;
}

.image-tile,
.vertical-banner,
.banner-strip,
.wide-promo {
  transition: transform .2s ease, box-shadow .2s ease;
}

.image-tile:hover,
.vertical-banner:hover,
.banner-strip:hover,
.wide-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(19, 43, 98, .13);
}

.hot-deals {
  border: 1px solid rgba(232, 235, 244, .9);
}

.image-badge-grid a:hover,
.featured-grid a:hover {
  color: #0b50e8;
  transform: translateY(-2px);
}

.image-badge-grid img,
.featured-grid span {
  transition: transform .2s ease, box-shadow .2s ease;
}

.image-badge-grid a:hover img,
.featured-grid a:hover span {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 18px rgba(28, 60, 129, .12);
}

.flash-sale-section {
  border: 1px solid rgba(255, 179, 72, .6);
}

.deal-tabs a {
  border-bottom: 1px solid rgba(232,235,244,.9);
  transition: background .18s ease, color .18s ease;
}

.deal-tabs a:not(.active):hover {
  background: #f6f8ff;
  color: #075eff;
}

.product-card {
  border: 1px solid rgba(229, 232, 241, .95);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(18,24,39,.02);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-card:hover {
  border-color: rgba(7,94,255,.32);
  box-shadow: 0 12px 24px rgba(22, 44, 92, .12);
  transform: translateY(-3px);
}

.product-card > img {
  transition: transform .22s ease;
}

.product-card:hover > img {
  transform: scale(1.035);
}

.product-card button:last-child {
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.product-card button:last-child:hover {
  background: #075eff;
  color: #fff;
  transform: translateY(-1px);
}

.save-label {
  box-shadow: 0 6px 12px rgba(78, 58, 255, .18);
}

.shelf-head {
  position: relative;
  overflow: hidden;
}

.shelf-head::after {
  content: "";
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
}

.contact-float a,
.contact-float .assistant-link,
.contact-float .lead-float-button {
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-float a:hover,
.contact-float .assistant-link:hover,
.contact-float .lead-float-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(19,65,165,.24);
}

@media (prefers-reduced-motion: reduce) {
  .slider-image {
    transition: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 20px, 1200px);
  }

  .slider-arrow {
    opacity: 1;
  }

  .utility-links {
    justify-content: flex-start;
    padding-right: 0;
  }

  .product-card:hover,
  .image-tile:hover,
  .vertical-banner:hover,
  .banner-strip:hover,
  .wide-promo:hover {
    transform: none;
  }
}

/* Category mega menu */
.hero-layout {
  position: relative;
}

.category-menu {
  position: relative;
  z-index: 18;
}

.category-menu a.is-active {
  color: #003ed8;
  background: #eef3ff;
}

.category-menu a.is-active span {
  color: #003ed8;
}

.mega-menu {
  position: absolute;
  top: 0;
  left: 200px;
  right: 0;
  z-index: 17;
  min-height: 424px;
  max-height: min(590px, calc(100vh - 170px));
  overflow: auto;
  padding: 18px 20px 24px;
  border: 1px solid rgba(228, 232, 242, .95);
  border-radius: 0 8px 8px 0;
  background: rgba(255,255,255,.98);
  box-shadow: 0 20px 42px rgba(16, 29, 70, .15);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity .18s ease, transform .18s ease;
}

.hero-layout.mega-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(132px, 1fr));
  gap: 24px 34px;
  align-items: start;
}

.mega-column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}

.mega-column h3 {
  margin: 0 0 3px;
  color: #0038c9;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.mega-column a {
  width: fit-content;
  max-width: 100%;
  color: #3f4658;
  font-size: 14px;
  line-height: 1.18;
  word-break: break-word;
  transition: color .16s ease, transform .16s ease;
}

.mega-column a:hover,
.mega-column a:focus {
  color: #075eff;
  transform: translateX(2px);
}

.mega-menu::-webkit-scrollbar {
  width: 8px;
}

.mega-menu::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #d8deec;
}

@media (max-width: 1040px) {
  .mega-menu {
    left: 196px;
  }

  .mega-grid {
    grid-template-columns: repeat(3, minmax(138px, 1fr));
  }
}

@media (max-width: 760px) {
  .mega-menu {
    display: none;
  }

  .category-menu a.is-active {
    background: #fff;
    color: #111;
  }
}

/* Header category button alignment */
.header-layout {
  grid-template-columns: 48px 190px minmax(260px, 1fr) 350px;
}

.category-button {
  width: 100%;
  min-width: 0;
  padding-inline: 14px;
  justify-content: flex-start;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.menu-icon {
  flex: 0 0 15px;
}

@media (max-width: 1040px) {
  .header-layout {
    grid-template-columns: 48px 190px minmax(240px, 1fr);
  }
}

@media (max-width: 760px) {
  .header-layout {
    grid-template-columns: 42px minmax(190px, 1fr);
  }
}

@media (max-width: 460px) {
  .category-button {
    font-size: 12px;
    padding-inline: 12px;
  }
}

/* Fixed top campaign banner */
.art-banner {
  min-height: 57px;
}

.art-banner img {
  height: 57px;
  object-fit: cover;
  object-position: center;
}

.vertical-banner.month-fallback {
  background:
    radial-gradient(circle at 50% 86%, #fff7a8 0 52px, transparent 53px),
    linear-gradient(#e9fbff 0 28%, #9ff0ff 29% 100%);
  color: #ff641e;
}

.vertical-banner.month-fallback span {
  align-self: start;
  padding: 8px 12px;
  border-radius: 20px;
  border: 2px solid #ffd24b;
  background: linear-gradient(#ff9e25, #ff651b);
  color: #fff45e;
  font-size: 14px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.vertical-banner.month-fallback strong {
  color: #ff641e;
  font-size: 30px;
  line-height: .92;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 #ffbf2e;
}

@media (max-width: 760px) {
  .art-banner img {
    height: 57px;
  }
}

/* Desktop proportion match */
@media (min-width: 1041px) {
  .container {
    width: min(1200px, calc(100% - 28px));
  }

  .header-layout {
    min-height: 112px;
    grid-template-columns: 48px 180px minmax(0, 1fr) 350px;
    gap: 16px;
    padding-block: 0;
  }

  .category-button {
    height: 37px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .main-content {
    padding-top: 16px;
  }

  .hero-layout {
    grid-template-columns: 184px minmax(0, 1fr) 182px;
    gap: 16px;
  }

  .category-menu {
    min-height: 424px;
    max-height: 424px;
    overflow: visible;
    padding-block: 4px;
  }

  .category-menu a {
    min-height: 28px;
    height: 28px;
    gap: 9px;
    padding-inline: 8px;
    overflow: hidden;
    color: #111;
    font-size: 12px;
    font-weight: 720;
    line-height: 28px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .category-menu span {
    flex: 0 0 18px;
  }

  .main-slider {
    height: 282px;
  }

  .mini-promo-grid {
    gap: 16px;
  }

  .mini-promo {
    height: 127px;
  }

  .right-banner-list {
    gap: 26px;
  }

  .vertical-banner {
    height: 200px;
  }

  .hot-deals {
    margin-top: 22px;
  }
}

/* AI sales agent split-screen demo */
:root {
  --assistant-width: clamp(420px, 40vw, 620px);
}

body.assistant-compact {
  --assistant-width: clamp(340px, 25vw, 430px);
}

body.assistant-split-open {
  overflow-x: hidden;
  background:
    linear-gradient(90deg, #f7f9ff 0 calc(100vw - var(--assistant-width)), #101828 calc(100vw - var(--assistant-width)) 100%);
}

body.assistant-split-open .page-shell {
  width: calc(100vw - var(--assistant-width));
  min-height: 100vh;
  transition: width .24s ease;
}

body.assistant-split-open .contact-float,
body.assistant-split-open .side-float {
  display: none;
}

.catalog-workspace {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #dfe7f5;
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 16px;
  align-items: stretch;
}

.catalog-hero > div:first-child {
  min-height: 166px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 51, 198, .92), rgba(0, 149, 255, .82)),
    url("assets/images/banners/sam-acer-gaming-giftcode.webp") center / cover;
  color: #fff;
}

.catalog-hero span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-hero h2,
.catalog-hero p {
  margin: 0;
}

.catalog-hero h2 {
  max-width: 680px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.04;
}

.catalog-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  line-height: 1.5;
}

.catalog-kpi-panel {
  padding: 18px;
  border-radius: 8px;
  background: #101828;
  color: #fff;
}

.catalog-kpi-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
}

.catalog-kpi-panel dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.catalog-kpi-panel div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: #1d2939;
}

.catalog-kpi-panel dt {
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-kpi-panel dd {
  margin: 0;
  color: #7dd3fc;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.catalog-controls {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, auto);
  gap: 12px;
  align-items: center;
}

.catalog-search-form {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 8px;
  padding: 8px;
  border: 1px solid #d8e2f1;
  border-radius: 8px;
  background: #fff;
}

.catalog-search-form input,
.catalog-filter-row select,
.lead-capture-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8e2f1;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  outline: none;
}

.catalog-search-form input {
  height: 42px;
  border: 0;
  padding-inline: 10px;
}

.catalog-search-form button,
.catalog-ai-prompt,
.lead-capture-form button,
.catalog-card-actions button,
.recommendation-card button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: #0b63ff;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.catalog-filter-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
  gap: 8px;
}

.catalog-filter-row select {
  height: 42px;
  padding-inline: 10px;
}

.catalog-ai-prompt {
  padding-inline: 14px;
  background: #ec4899;
  white-space: nowrap;
}

.catalog-status {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: #475467;
}

.catalog-status strong {
  color: #101828;
}

.catalog-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 14px;
}

.catalog-insights {
  align-self: start;
  position: sticky;
  top: 12px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e4eaf4;
  border-radius: 8px;
  background: #fff;
}

.catalog-insights h3 {
  margin: 0;
  color: #101828;
  font-size: 14px;
}

.context-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.context-chip-list span,
.assistant-context-bar span,
.product-badge {
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1646c8;
  font-size: 12px;
  font-weight: 800;
}

.event-stream {
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #475467;
  font-size: 12px;
}

.catalog-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.catalog-product-card {
  min-width: 0;
  min-height: 500px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 9px;
  padding: 14px;
  border: 1px solid #e4eaf4;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.catalog-empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 28px;
  border: 1px dashed #b8c7dc;
  border-radius: 8px;
  background: #fff;
  color: #475467;
  text-align: center;
}

.catalog-empty-state strong {
  color: #101828;
  font-size: 18px;
}

.catalog-empty-state p {
  max-width: 440px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.catalog-product-card.is-focused {
  border-color: #0b63ff;
  box-shadow: 0 0 0 3px rgba(11, 99, 255, .14), 0 12px 26px rgba(15, 23, 42, .1);
}

.catalog-product-card img {
  width: 100%;
  height: 148px;
  object-fit: contain;
}

.catalog-product-card h3 {
  margin: 0;
  color: #101828;
  font-size: 15px;
  line-height: 1.35;
}

.catalog-product-card p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.catalog-product-card strong {
  color: #0b63ff;
  font-size: 18px;
}

.catalog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.catalog-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.catalog-card-actions button {
  min-height: 36px;
  padding-inline: 8px;
  background: #0b63ff;
  font-size: 12px;
}

.catalog-card-actions button[data-action="shortlist"] {
  background: #12b76a;
}

.catalog-card-actions button[data-action="detail"] {
  background: #101828;
}

.catalog-card-actions button[data-action="compare"] {
  background: #7c3aed;
}

.catalog-card-actions button[data-action="cart"] {
  grid-column: 1 / -1;
  background: #f97316;
}

.product-detail-drawer {
  grid-column: 2;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #d8e2f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .09);
}

.product-detail-drawer[hidden] {
  display: none;
}

.detail-drawer-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: start;
}

.detail-drawer-header span {
  color: #0b63ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-drawer-header h3 {
  margin: 4px 0 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.3;
}

.detail-drawer-header button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eef4ff;
  color: #0b63ff;
  font-size: 24px;
  cursor: pointer;
}

.detail-drawer-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
}

.detail-drawer-body img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.detail-drawer-body dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.detail-drawer-body dt {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-drawer-body dd {
  margin: 3px 0 0;
  color: #101828;
  font-size: 13px;
  font-weight: 800;
}

.detail-drawer-body ul {
  grid-column: 1 / -1;
  margin: 0;
  padding-left: 18px;
  color: #475467;
  font-size: 13px;
  line-height: 1.55;
}

.detail-drawer-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-drawer-actions button,
.detail-drawer-actions a {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding-inline: 12px;
  border: 0;
  border-radius: 6px;
  background: #0b63ff;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.detail-drawer-actions button[data-detail-action="compare"] {
  background: #7c3aed;
}

.detail-drawer-actions a {
  background: #101828;
}

.sales-agent-pane {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  width: var(--assistant-width);
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transform-origin: right center;
  transition: opacity .22s ease, transform .22s ease;
}

body.assistant-split-open .sales-agent-pane {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.sales-agent-pane.assistant-chat {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  color: #1f2937;
  box-shadow: -24px 0 54px rgba(15, 23, 42, .28);
}

.sales-agent-pane header {
  position: relative;
  z-index: 3;
  min-height: 86px;
  grid-template-columns: 54px 1fr 42px 42px;
  background: linear-gradient(135deg, #0b63ff, #13b6d8 55%, #12b76a);
}

.assistant-resize {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.assistant-context-bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #e8eef8;
  background: #f8fbff;
}

.sales-agent-pane .assistant-chat-body {
  padding: 16px;
  background:
    linear-gradient(180deg, #f7fbff, #fff 56%),
    #fff;
}

.chat-recommendations {
  display: grid;
  gap: 10px;
}

.recommendation-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid #dce8fb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

.recommendation-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.recommendation-card h4,
.recommendation-card p {
  margin: 0;
}

.recommendation-card h4 {
  color: #101828;
  font-size: 13px;
  line-height: 1.3;
}

.recommendation-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 5px 0 3px;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid #d0d5dd;
  background: #f8fafc;
  color: #475467;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.recommendation-badge.is-in-budget {
  border-color: #9bd8b4;
  background: #ecfdf3;
  color: #067647;
}

.recommendation-badge.is-near-budget {
  border-color: #fedf89;
  background: #fffaeb;
  color: #b54708;
}

.recommendation-badge.is-out-of-stock,
.recommendation-badge.is-needs-check {
  border-color: #d0d5dd;
  background: #f2f4f7;
  color: #344054;
}

.recommendation-card p {
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
}

.recommendation-card strong {
  display: block;
  color: #0b63ff;
  font-size: 14px;
}

.recommendation-warnings {
  display: grid;
  gap: 3px;
  margin: 6px 0 0;
  padding-left: 16px;
  color: #b54708;
  font-size: 11px;
  line-height: 1.3;
}

.recommendation-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.recommendation-card button {
  min-height: 30px;
  padding-inline: 9px;
  font-size: 11px;
}

.chat-comparison {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dce8fb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

.chat-comparison > strong {
  color: #101828;
  font-size: 14px;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table-wrap:focus-visible {
  outline: 3px solid rgba(249, 115, 22, .35);
  outline-offset: 2px;
}

.chat-comparison table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #344054;
  font-size: 12px;
}

.chat-comparison th,
.chat-comparison td {
  padding: 8px;
  border: 1px solid #e4eaf4;
  text-align: left;
  vertical-align: top;
}

.chat-comparison thead th {
  background: #eef4ff;
  color: #1646c8;
}

.chat-comparison tbody th {
  width: 86px;
  background: #f8fbff;
  color: #101828;
}

/* D2 (locked): first (criteria) column stays put while the rest of the table scrolls
   horizontally on mobile. Every first-column cell is a <th> (row/col headers), which already
   has an opaque background above, so it never shows scrolled cells through underneath. */
.chat-comparison th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
}

/* Best-value column badge: phongvu's CTA orange paired with --ink text (AA-safe), never
   orange-on-white and never color-only (the badge also carries the "Tốt nhất/Best value" text). */
.comparison-best-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f97316;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

/* Winner cell per dimension: subtle bg + an explicit ✓ glyph (with aria-label) — the shape,
   not just the color, carries the meaning, so it still reads for color-blind/low-vision users. */
.comparison-winner-cell {
  background: rgba(249, 115, 22, .12);
  font-weight: 600;
}

.comparison-winner-mark {
  margin-left: 4px;
  color: #c2410c;
  font-weight: 900;
}

/* Advisory build sheet (§ build-a-PC): a vertical slot list, not a wide table — a build is
   7 rows, so mobile needs no special-casing. Card chrome matches .chat-comparison. */
.chat-pc-build {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dce8fb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

.chat-pc-build > strong {
  color: #101828;
  font-size: 14px;
}

.pc-build-slots {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-build-slot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #eef1f6;
}

.pc-build-slot:last-child {
  border-bottom: 0;
}

.pc-build-slot-label {
  flex: 0 0 78px;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
}

.pc-build-slot-info {
  flex: 1 1 140px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.pc-build-slot-name {
  color: #101828;
  font-size: 12.5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pc-build-slot-price {
  color: #0b63ff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.pc-build-slot-tag {
  padding: 2px 7px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #f8fafc;
  color: #475467;
  font-size: 10px;
  font-weight: 700;
}

.pc-build-slot-missing {
  color: #667085;
  font-size: 12px;
  font-style: italic;
}

.pc-build-slot-swap {
  flex-shrink: 0;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid rgba(11, 99, 255, .24);
  border-radius: 6px;
  background: #fff;
  color: #0b5cff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.pc-build-slot-swap:hover {
  background: #eaf3ff;
  border-color: rgba(11, 99, 255, .4);
}

.pc-build-total-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 6px 0 6px 10px;
  border-left: 3px solid #f97316;
}

.pc-build-total-label {
  color: #667085;
  font-size: 12px;
}

.pc-build-total-amount {
  color: #101828;
  font-size: 16px;
  font-weight: 900;
}

.pc-build-total-amount.is-under-budget {
  color: #067647;
}

.pc-build-total-amount.is-over-budget {
  color: #b54708;
}

.pc-build-budget {
  color: #667085;
  font-size: 12px;
}

.pc-build-vouches {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #344054;
  font-size: 12px;
  line-height: 1.4;
}

.pc-build-vouches li span {
  color: #067647;
  font-weight: 900;
}

.pc-build-fit-note {
  margin: 0;
  color: #667085;
  font-size: 12px;
  font-style: italic;
  line-height: 1.4;
}

.pc-build-cta {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: #f97316;
  color: #121827;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease;
}

.pc-build-cta:hover {
  background: #ea6c0f;
}

/* §12.4 cross-sell: subordinate to the main cards above it — smaller padding/font, one row,
   horizontal scroll instead of wrapping so it never competes for vertical space. */
.chat-addons {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.addon-card {
  flex: 0 0 auto;
  width: 148px;
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid #e8ebf3;
  border-radius: 8px;
  background: #fff;
}

.addon-kind-tag {
  display: inline-flex;
  width: fit-content;
  padding: 1px 6px;
  border: 1px solid #f97316;
  border-radius: 999px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.addon-card h5 {
  margin: 0;
  color: #101828;
  font-size: 11.5px;
  line-height: 1.3;
}

.addon-card strong {
  color: #0b63ff;
  font-size: 12px;
}

.addon-card p {
  margin: 0;
  color: #667085;
  font-size: 10.5px;
  line-height: 1.3;
}

.lead-capture-form {
  display: grid;
  gap: 9px;
  min-height: 0;
  max-height: clamp(260px, calc(100vh - 230px), 620px);
  max-height: clamp(260px, calc(100dvh - 230px), 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 14px 16px;
  border-top: 1px solid #e8eef8;
  background: #f8fbff;
}

.lead-capture-form[hidden] {
  display: none;
}

.lead-capture-form strong {
  position: sticky;
  top: 0;
  z-index: 1;
  padding-block: 2px 4px;
  background: #f8fbff;
  color: #101828;
  line-height: 1.25;
}

.lead-capture-form input {
  height: 40px;
  padding-inline: 12px;
}

.lead-capture-form input[aria-invalid="true"] {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .1);
}

.lead-capture-form label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #475467;
  font-size: 12px;
  line-height: 1.35;
}

.lead-capture-form label input {
  width: auto;
  height: auto;
  margin-top: 2px;
}

.lead-capture-form div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lead-form-error {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #fecdd3;
  border-radius: 6px;
  background: #fff1f2;
  color: #be123c;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.lead-form-error[hidden] {
  display: none;
}

.lead-capture-form button[type="button"] {
  background: #667085;
}

.mobile-split-tabs {
  display: none;
}

/* Stable storefront card and floating-contact layout */
.countdown {
  justify-content: center;
}

.countdown b {
  width: 42px;
  font-variant-numeric: tabular-nums;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-content: initial;
  min-height: 520px;
}

.blue-shelf .product-card {
  min-height: 470px;
}

.product-card > img {
  flex: 0 0 126px;
}

.product-card h3 {
  min-height: 46px;
  padding-right: 38px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card .heart,
.blue-shelf .product-card .heart {
  top: 214px;
  right: 18px;
  z-index: 3;
}

.product-card button:last-child {
  width: 100%;
  margin-top: auto;
  flex: 0 0 auto;
}

.laptop-type {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef4ff;
  color: #075eff;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.laptop-gaming .laptop-type {
  background: #fff0e8;
  color: #f05a1a;
}

.contact-float {
  right: 22px;
  bottom: 104px;
  grid-auto-flow: row;
  grid-auto-rows: max-content;
  gap: 18px;
  justify-items: center;
  align-items: center;
  z-index: 70;
  pointer-events: none;
}

.contact-float a,
.contact-float .assistant-link,
.contact-float .lead-float-button,
.contact-float b {
  pointer-events: auto;
}

.contact-float .phone-link {
  min-height: 46px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
}

.contact-float a:not(.phone-link) {
  width: 54px;
  height: 54px;
}

.contact-float .assistant-link {
  width: 72px;
  height: 72px;
}

.contact-float b {
  margin-top: -6px;
}

.image-side-ad {
  --side-ad-top: clamp(356px, 39vh, 418px);
  position: fixed;
  top: var(--side-ad-top);
  bottom: auto;
  width: 151px;
  height: auto;
  max-height: calc(100vh - var(--side-ad-top) - 24px);
  z-index: 24;
}

.image-side-ad.left {
  left: max(18px, calc((100vw - 1200px) / 2 - 181px));
}

.image-side-ad.right {
  right: max(190px, calc((100vw - 1200px) / 2 - 151px));
}

.image-side-ad img {
  width: 100%;
  height: auto;
  max-height: inherit;
}

.flash-sale-section {
  border: 1px solid rgba(255, 190, 82, .78);
  border-radius: 0;
}

.flash-sale-section .deal-tabs {
  min-height: 60px;
}

.flash-sale-section .deal-tabs button {
  min-height: 60px;
  letter-spacing: 0;
}

.flash-sale-section .deal-tabs button:not(.active):hover {
  background: #fff8ee;
  color: #172033;
}

.flash-sale-section .flash-panel {
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 407px;
  background: linear-gradient(90deg, #ffd27a 0, #fff8df 100%);
}

.flash-sale-section .flash-info {
  min-height: 407px;
  gap: 12px;
  padding: 46px 20px 22px;
  align-content: start;
  background: linear-gradient(#ffbd50 0%, #ffe6ac 100%);
}

.flash-sale-section .flash-logo {
  position: relative;
  width: 220px;
  margin: 2px auto 0;
  display: grid;
  justify-items: center;
  row-gap: 7px;
  font-size: 28px;
  line-height: .95;
  letter-spacing: 0;
  text-align: center;
}

.flash-sale-section .flash-logo i {
  position: absolute;
  top: -2px;
  left: 2px;
  width: 28px;
  font-style: normal;
  line-height: 1;
  text-align: center;
}

.flash-sale-section .flash-logo strong {
  display: block;
  width: 168px;
  min-width: 0;
  text-align: center;
}

.flash-sale-section .flash-logo span {
  width: 220px;
  box-sizing: border-box;
  margin-top: 0;
  padding: 3px 18px 4px;
  font-size: 17px;
  line-height: 1;
  text-align: center;
}

.flash-sale-section .flash-info p {
  margin: 34px 0 0;
  font-size: 16px;
}

.flash-sale-section .countdown {
  gap: 8px;
}

.flash-sale-section .countdown b {
  width: 44px;
  height: 44px;
  border-radius: 5px;
  font-size: 20px;
}

.flash-sale-section .flash-info small {
  margin-top: auto;
  color: #e8423f;
  font-size: 19px;
  line-height: 1.1;
}

.flash-sale-section .flash-info a {
  width: 204px;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #d82135;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.flash-sale-section .product-row {
  gap: 10px;
  padding: 60px 14px 0 0;
}

.flash-sale-section .product-row::before {
  top: 14px;
  font-size: 16px;
  line-height: 1.3;
}

.flash-sale-section .product-card {
  min-height: 347px;
  padding: 16px 16px 14px;
  border-radius: 0;
  gap: 7px;
}

.flash-sale-section .product-card > img {
  flex-basis: 112px;
  height: 112px;
}

.flash-sale-section .save-label {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 10px;
  line-height: 1.05;
}

.flash-sale-section .product-card b {
  font-size: 11px;
}

.flash-sale-section .product-card h3 {
  min-height: 42px;
  padding-right: 34px;
  color: #3b4456;
  font-size: 11px;
  line-height: 1.35;
}

.flash-sale-section .product-card .heart {
  top: 174px;
  right: 14px;
  width: 24px;
  height: 24px;
  font-size: 28px;
}

.flash-sale-section .product-card em,
.flash-sale-section .product-card ul {
  display: none;
}

.flash-sale-section .product-card strong {
  font-size: 16px;
  line-height: 1.1;
}

.flash-sale-section .sale-old-price {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 16px;
}

.flash-sale-section .sale-old-price del {
  font-size: 11px;
}

.flash-sale-section .sale-percent {
  color: #e53935;
  font-size: 10px;
}

.flash-sale-section .product-card button:last-child {
  min-height: 33px;
  font-size: 12px;
  font-weight: 500;
}

.chat-message,
.recommendation-card,
.chat-comparison,
.chat-pc-build {
  position: relative;
  z-index: 0;
}

@media (max-width: 1180px) {
  .catalog-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-ai-prompt {
    grid-column: 1 / -1;
  }

  .catalog-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1740px), (max-height: 760px) {
  .image-side-ad {
    display: none;
  }
}

@media (max-width: 900px) {
  body.assistant-split-open .page-shell {
    width: 100%;
  }

  .contact-float {
    right: 14px;
    bottom: 82px;
    gap: 14px;
  }

  .contact-float .phone-link {
    min-height: 42px;
    font-size: 16px;
  }

  .contact-float .lead-float-button {
    min-height: 36px;
    max-width: 120px;
    font-size: 11px;
  }

  .contact-float a:not(.phone-link) {
    width: 50px;
    height: 50px;
  }

  .contact-float .assistant-link {
    width: 64px;
    height: 64px;
  }

  .sales-agent-pane {
    width: 100vw;
  }

  body.assistant-split-open .sales-agent-pane.assistant-chat {
    padding-bottom: 68px;
  }

  body.assistant-split-open.assistant-mobile-store .sales-agent-pane {
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
  }

  body.assistant-split-open .mobile-split-tabs {
    position: fixed;
    left: 50%;
    bottom: 14px;
    z-index: 95;
    width: min(360px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    border: 1px solid #d8e2f1;
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .22);
    transform: translateX(-50%);
  }

  .mobile-split-tabs button {
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #475467;
    font-weight: 900;
    cursor: pointer;
  }

  .mobile-split-tabs button.is-active {
    background: #0b63ff;
    color: #fff;
  }

  .catalog-hero,
  .catalog-controls,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-insights {
    position: static;
  }

  .product-detail-drawer {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .catalog-filter-row,
  .catalog-results,
  .catalog-kpi-panel dl {
    grid-template-columns: 1fr;
  }

  .catalog-card-actions {
    grid-template-columns: 1fr;
  }

  .catalog-card-actions button[data-action="cart"] {
    grid-column: auto;
  }

  .detail-drawer-body,
  .detail-drawer-body dl {
    grid-template-columns: 1fr;
  }

  .sales-agent-pane header {
    grid-template-columns: 48px 1fr 38px 38px;
    gap: 8px;
    padding-inline: 12px;
  }

  .assistant-context-bar {
    padding-inline: 12px;
  }

  .sales-agent-pane .assistant-chat-body {
    padding: 12px;
  }
}

/* PhongVu desktop proportion lock */
html,
body,
.page-shell {
  max-width: 100%;
  overflow-x: hidden;
}

@media (min-width: 1041px) {
  .container {
    width: min(1208px, calc(100% - 32px));
  }

  .art-banner,
  .art-banner img {
    height: 57px;
    min-height: 57px;
  }

  .utility-scroll {
    min-height: 43px;
    font-size: 13px;
  }

  .utility-links {
    gap: 18px;
    padding-left: 34px;
    padding-right: 0;
  }

  .site-header {
    min-height: 112px;
  }

  .header-layout {
    min-height: 112px;
    grid-template-columns: 260px minmax(0, 530px) minmax(330px, 1fr);
    gap: 16px;
    padding-block: 0;
  }

  .header-layout > .category-button {
    display: none;
  }

  .image-brand {
    width: 260px;
    height: 64px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
  }

  .image-brand img {
    width: 42px;
    height: 42px;
    max-width: none;
    max-height: none;
  }

  .image-brand::after {
    content: "PHONGVU.VN";
    color: #1433c6;
    font-size: 25px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 2px;
    white-space: nowrap;
  }

  .search-form {
    height: 42px;
  }

  .account-actions {
    grid-template-columns: 128px 42px minmax(145px, 1fr);
    gap: 24px;
    font-size: 13px;
  }

  .main-content {
    padding-top: 16px;
  }

  .hero-layout {
    grid-template-columns: 184px minmax(0, 1fr) 184px;
    gap: 16px;
    align-items: start;
  }

  .category-menu {
    min-height: 428px;
    max-height: 428px;
    padding-block: 4px;
    overflow: hidden;
  }

  .category-menu a {
    height: 28px;
    min-height: 28px;
    padding-inline: 8px;
    font-size: 12px;
    line-height: 28px;
  }

  .mega-menu {
    left: 200px;
    min-height: 428px;
  }

  .main-slider {
    height: 282px;
    border-radius: 8px;
  }

  .mini-promo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .mini-promo {
    height: 127px;
  }

  .right-banner-list {
    gap: 38px;
  }

  .vertical-banner {
    height: 204px;
    border-radius: 8px;
  }

  .hot-deals {
    margin-top: 22px;
  }

  .contact-float {
    right: 32px;
    bottom: 82px;
  }

  .image-side-ad.left {
    left: max(18px, calc((100vw - 1208px) / 2 - 183px));
  }

  .image-side-ad.right {
    right: max(188px, calc((100vw - 1208px) / 2 - 151px));
  }
}

@media (min-width: 1041px) and (max-width: 1260px) {
  .utility-scroll {
    gap: 16px;
    font-size: 12px;
  }

  .utility-links {
    gap: 10px;
    padding-left: 12px;
  }

  .utility-scroll a {
    gap: 5px;
  }

  .language-toggle {
    margin-right: 0;
  }
}

/* Cart page */
.cart-header-link {
  border-radius: 8px;
}

.cart-header-link:focus-visible {
  outline: 3px solid rgba(7, 94, 255, .24);
  outline-offset: 4px;
}

.cart-header-link.is-active {
  color: #1433c6;
}

.cart-main {
  padding: 24px 0 64px;
  background:
    linear-gradient(180deg, #f3f5fb 0, #f7f9ff 230px, #f3f5fb 100%);
}

.cart-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667085;
  font-size: 14px;
}

.cart-breadcrumb a {
  color: #0b5cff;
  font-weight: 700;
}

.cart-breadcrumb strong {
  color: #344054;
}

.cart-main h1 {
  margin: 18px 0 16px;
  color: #101828;
  font-size: 28px;
  line-height: 1.2;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.cart-empty-card,
.cart-summary-card {
  border: 1px solid #e5eaf3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
}

.cart-empty-card {
  min-height: 360px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  padding: 44px 28px;
  text-align: center;
}

.cart-empty-icon {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  color: #6f7890;
}

.cart-empty-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-empty-card h2,
.cart-summary-card h2 {
  margin: 0;
  color: #101828;
  font-size: 22px;
}

.cart-empty-card p,
.cart-summary-card p {
  max-width: 460px;
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.5;
}

.cart-empty-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cart-empty-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #075eff;
  border-radius: 6px;
  color: #075eff;
  font-weight: 800;
}

.cart-empty-actions a.primary {
  background: #075eff;
  color: #fff;
}

.cart-summary-card {
  padding: 18px;
}

.cart-summary-card dl {
  margin: 16px 0;
  display: grid;
  gap: 12px;
}

.cart-summary-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #475467;
}

.cart-summary-card dt,
.cart-summary-card dd {
  margin: 0;
}

.cart-summary-card dd {
  color: #101828;
  font-weight: 800;
}

.cart-summary-card .total {
  padding-top: 14px;
  border-top: 1px solid #edf1f7;
  color: #101828;
  font-size: 18px;
  font-weight: 900;
}

.cart-summary-card .total dd {
  color: #e11d2e;
}

.cart-summary-card button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: #ccd3df;
  color: #fff;
  font-weight: 900;
  cursor: not-allowed;
}

.cart-summary-card p {
  margin-top: 12px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-card {
    order: -1;
  }
}

.cart-toast {
  position: fixed;
  top: 154px;
  right: 24px;
  z-index: 120;
  min-width: min(390px, calc(100vw - 32px));
  min-height: 64px;
  display: grid;
  grid-template-columns: 28px 1fr 30px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}

.cart-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-toast span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-weight: 900;
}

.cart-toast strong {
  font-size: 15px;
}

.cart-toast button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 28px;
  line-height: 1;
}

.mini-cart-panel {
  position: fixed;
  z-index: 115;
  max-height: min(520px, calc(100vh - 110px));
  overflow: auto;
  padding: 14px;
  border: 1px solid #e5eaf3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}

.mini-cart-panel.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mini-cart-empty {
  display: grid;
  gap: 6px;
  padding: 14px;
  color: #667085;
  text-align: center;
}

.mini-cart-empty strong {
  color: #101828;
}

.mini-cart-list {
  display: grid;
  gap: 12px;
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 74px 1fr 90px;
  gap: 12px;
  align-items: center;
}

.mini-cart-item img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border: 1px solid #edf1f7;
  border-radius: 5px;
}

.mini-cart-item h3 {
  margin: 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.mini-cart-item small {
  display: block;
  margin-top: 4px;
  color: #667085;
}

.mini-cart-item strong {
  display: block;
  margin-top: 3px;
  color: #101828;
}

.mini-cart-stepper,
.cart-line-stepper,
.cart-stepper-button {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  justify-items: center;
}

.mini-cart-stepper,
.cart-line-stepper {
  height: 34px;
  border: 1px solid #d8e2f1;
  border-radius: 4px;
  overflow: hidden;
}

.mini-cart-stepper button,
.cart-line-stepper button {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f6f8fc;
  color: #1433c6;
  font-size: 18px;
}

.mini-cart-stepper span,
.cart-line-stepper span {
  color: #1433c6;
  font-weight: 800;
}

.mini-cart-total {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edf1f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mini-cart-total span {
  color: #475467;
}

.mini-cart-total strong {
  color: #101828;
  font-size: 18px;
}

.mini-cart-view {
  min-height: 42px;
  margin-top: 12px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #1738d3;
  color: #fff;
  font-weight: 900;
}

.cart-stepper-button {
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.cart-stepper-button span,
.cart-stepper-button strong {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #1433c6;
}

.cart-stepper-button strong {
  font-size: 14px;
}

.cart-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 16px;
}

.cart-title-row h1 {
  margin: 0;
}

.cart-title-row button {
  border: 0;
  background: transparent;
  color: #22a8e8;
  font-weight: 700;
}

.cart-layout.has-items {
  grid-template-columns: minmax(0, 1fr) 404px;
}

.cart-items-card {
  overflow: hidden;
  border: 1px solid #e5eaf3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
}

.cart-items-head {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 128px 124px;
  gap: 16px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid #edf1f7;
  color: #101828;
  font-size: 13px;
  font-weight: 800;
}

.cart-items-head label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-items-list {
  display: grid;
  gap: 0;
}

.cart-line-item {
  position: relative;
  display: grid;
  grid-template-columns: 20px 92px minmax(0, 1fr) 120px 120px 124px;
  gap: 16px;
  align-items: start;
  padding: 24px 18px 46px;
  border-bottom: 1px solid #edf1f7;
}

.cart-line-item:last-child {
  border-bottom: 0;
}

.cart-line-check {
  padding-top: 28px;
}

.cart-line-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 1px solid #dce5f3;
  border-radius: 5px;
}

.cart-line-info h2 {
  margin: 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.cart-line-info p,
.cart-line-info small {
  display: block;
  margin: 4px 0 0;
  color: #667085;
  font-size: 12px;
}

.proactive-nudge {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #ffd79a;
  border-radius: 8px;
  background: #fff8eb;
  color: #7a3f00;
}

.proactive-nudge[hidden],
.lead-honeypot {
  display: none;
}

.proactive-nudge strong,
.proactive-nudge p {
  margin: 0;
}

.proactive-nudge strong {
  color: #9a4f00;
  font-size: 13px;
}

.proactive-nudge p {
  font-size: 12px;
  line-height: 1.45;
}

.proactive-nudge div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.proactive-nudge button {
  min-height: 32px;
  padding-inline: 10px;
  border: 0;
  border-radius: 6px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.proactive-nudge button[data-nudge-action="lead"] {
  background: #0b63ff;
}

.proactive-nudge button[data-nudge-action="dismiss"] {
  background: #fff;
  color: #7a3f00;
  border: 1px solid #ffd79a;
}

.funnel-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.funnel-summary div {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: #f2f6ff;
}

.funnel-summary dt {
  color: #667085;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.funnel-summary dd {
  margin: 3px 0 0;
  color: #0b63ff;
  font-size: 18px;
  font-weight: 900;
}

.cart-line-promo {
  position: absolute;
  left: 48px;
  right: 18px;
  bottom: 12px;
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 4px;
  background: #f2f4f8;
  color: #344054;
  font-size: 13px;
}

.cart-line-price strong,
.cart-line-total {
  color: #101828;
  font-size: 16px;
}

.cart-line-price del {
  display: block;
  margin-top: 6px;
  color: #98a2b3;
  font-size: 13px;
}

.cart-line-remove {
  position: absolute;
  right: 200px;
  bottom: 54px;
  border: 0;
  background: transparent;
  color: #075eff;
  font-size: 13px;
}

.cart-promo-box {
  margin: -2px -2px 16px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px 14px;
  border-bottom: 1px solid #edf1f7;
}

.cart-promo-box a {
  color: #075eff;
  font-size: 13px;
}

.cart-checkout-button {
  background: #1738d3 !important;
  cursor: pointer !important;
}

.cart-checkout-button small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .cart-layout.has-items {
    grid-template-columns: 1fr;
  }

  .cart-items-head {
    display: none;
  }

  .cart-line-item {
    grid-template-columns: 24px 86px minmax(0, 1fr);
  }

  .cart-line-price,
  .cart-line-stepper,
  .cart-line-total {
    grid-column: 3;
  }

  .cart-line-remove {
    position: static;
    grid-column: 3;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .cart-toast {
    top: 14px;
    right: 14px;
  }

  .mini-cart-panel {
    left: 12px !important;
    right: 12px;
    width: auto !important;
  }
}

/* --- Footer (Part 6 gap #1) --------------------------------------------
   Bilingual via CSS only: index.html/cart.html already flip
   document.documentElement.lang between "vi"/"en" (script.js / cart.js's
   existing toggle) — each string below has a [lang="vi"]/[lang="en"] pair,
   this just shows the one matching the current page language. */
.site-footer [lang="vi"],
.site-footer [lang="en"] {
  display: none;
}

html[lang="vi"] .site-footer [lang="vi"],
html[lang="en"] .site-footer [lang="en"] {
  display: inline;
}

.site-footer {
  margin-top: 32px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: #4a5060;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding-block: 40px 28px;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 900;
  font-size: 16px;
  color: var(--ink);
}

.footer-logo img {
  width: 30px;
  height: 30px;
}

.footer-brand p {
  margin: 0 0 16px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  transition: color .15s ease;
}

.footer-list a:hover {
  color: var(--blue-strong);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact span[aria-hidden] {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
  font-size: 11px;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-payments span {
  height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--page);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #4a5060;
}

.footer-bottom {
  padding-block: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1040px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px 20px;
  }
}
