/* Phase 2 — Home spotlight (layout GEARVN: category rail + slider + bento) */
.shop-home-spotlight {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: var(--space-3);
  margin: var(--space-5) 0 var(--space-7);
  align-items: stretch;
}

.shop-category-rail {
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shop-category-rail__head {
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-style: var(--font-display-style);
  font-size: var(--text-small);
  color: var(--primary);
  background: var(--background-muted);
  border-bottom: 1px solid var(--border);
}

.shop-category-rail__list {
  list-style: none;
  flex: 1;
}

.shop-category-rail__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  color: var(--primary);
  font-size: var(--text-small);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background var(--duration-fast);
}

.shop-category-rail__link:last-child { border-bottom: none; }

.shop-category-rail__link:hover {
  background: var(--background-muted);
  color: var(--color-blue);
}

.shop-category-rail__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(0, 174, 239, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-blue);
  flex-shrink: 0;
}

.shop-category-rail__chev {
  margin-left: auto;
  color: var(--muted-foreground);
  font-size: var(--text-h4);
  line-height: 1;
}

.shop-category-rail__badge {
  margin-left: auto;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(227, 108, 9, 0.12);
  color: var(--color-orange);
}

.shop-spotlight-banners {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

/* Shop Spotlight Live - Restructured */
.shop-spotlight-live {
  width: 100%;
  min-width: 0;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-cyan);
  background: var(--color-white);
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 122, 0, 0.1);
}

.shop-spotlight-live__wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.shop-spotlight-live__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  background: #000;
  flex-shrink: 0;
}

.shop-spotlight-live__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.shop-spotlight-live__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: #e53935;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.45);
}

.shop-spotlight-live__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-white);
  flex-shrink: 0;
  animation: shop-live-pulse 1.4s ease-in-out infinite;
}

.shop-spotlight-live__viewers {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  z-index: 2;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-white);
  background: rgba(11, 36, 59, 0.72);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.shop-spotlight-live__content {
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  width: 100%;
  min-width: 0;
  text-align: left;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.06), rgba(227, 108, 9, 0.05));
  border-top: 1px solid var(--border);
}

.shop-spotlight-live__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.shop-spotlight-live__icon svg {
  width: 14px;
  height: 14px;
}

.shop-spotlight-live__icon--live {
  background: rgba(229, 57, 53, 0.12);
  color: #e53935;
}

.shop-spotlight-live__icon--time {
  background: rgba(0, 174, 239, 0.12);
  color: var(--color-cyan);
}

.shop-spotlight-live__icon--sale {
  background: rgba(227, 108, 9, 0.12);
  color: var(--color-orange);
}

.shop-spotlight-live__icon--pay {
  background: rgba(0, 174, 239, 0.12);
  color: var(--color-cyan);
}

.shop-spotlight-live__icon--gift {
  background: rgba(0, 114, 188, 0.12);
  color: var(--color-blue);
}

.shop-spotlight-live__icon--truck {
  background: rgba(11, 36, 59, 0.08);
  color: var(--primary);
}

.shop-spotlight-live__title {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  width: 100%;
  margin: 0 0 var(--space-2) 0;
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
}

.shop-spotlight-live__title .shop-spotlight-live__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.shop-spotlight-live__title > span:last-child {
  flex: 1;
  min-width: 0;
}

.shop-spotlight-live__desc {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  width: 100%;
  margin: 0 0 var(--space-2) 0;
  font-size: var(--text-small);
  line-height: 1.55;
  color: var(--muted-foreground);
}

.shop-spotlight-live__desc .shop-spotlight-live__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.shop-spotlight-live__desc > span:last-child {
  flex: 1;
  min-width: 0;
}

.shop-spotlight-live__highlights {
  margin: var(--space-1) 0 var(--space-3) 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.shop-spotlight-live__highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  width: 100%;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--primary);
}

.shop-spotlight-live__highlight:last-child {
  margin-bottom: 0;
}

.shop-spotlight-live__highlight .shop-spotlight-live__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.shop-spotlight-live__highlight > span:last-child {
  flex: 1;
  min-width: 0;
}

.shop-spotlight-live__cta {
  display: inline-flex;
  margin: var(--space-2) auto 0;
}

.shop-spotlight-promos {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

@keyframes shop-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .shop-spotlight-live__pulse {
    animation: none;
  }
}

/* Desktop: Video trái, Content phải */
@media (min-width: 993px) {
  .shop-spotlight-live__wrapper {
    flex-direction: row;
    align-items: stretch;
  }

  .shop-spotlight-live__video {
    flex: 1 1 60%;
    max-width: 60%;
    aspect-ratio: 16 / 6;
  }

  .shop-spotlight-live__content {
    flex: 1 1 40%;
    max-width: 40%;
    border-top: none;
    border-left: 1px solid var(--border);
    background: transparent;
  }

  .shop-spotlight-live__title {
    font-size: var(--text-small);
    line-height: 1.3;
  }

  .shop-spotlight-live__desc {
    font-size: 12px;
    line-height: 1.45;
  }

  .shop-spotlight-live__highlight {
    font-size: 11px;
    line-height: 1.35;
  }

  .shop-spotlight-live__icon {
    width: 20px;
    height: 20px;
  }

  .shop-spotlight-live__icon svg {
    width: 12px;
    height: 12px;
  }
}

.shop-spotlight-top {
  display: grid;
  grid-template-columns: 1fr 238px;
  gap: var(--space-3);
  min-height: 260px;
}

.shop-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--primary);
  min-height: 260px;
}

.shop-slider__viewport { overflow: hidden; height: 100%; min-height: 260px; }

.shop-slider__track {
  display: flex;
  height: 100%;
  min-height: 260px;
  transition: transform 0.45s var(--ease-out);
}

.shop-slider__slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 260px;
}

.shop-slider__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 36, 59, 0.82) 0%, rgba(11, 36, 59, 0.35) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-6);
  color: var(--color-white);
  z-index: 1;
}

.shop-slider__overlay-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: min(38ch, 92%);
}

.shop-slider__overlay-content .btn-primary {
  width: auto;
  align-self: flex-start;
  margin-top: var(--space-2);
}

.shop-slider__overlay h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-h3), 2.5vw, var(--text-h2));
  font-weight: var(--font-display-weight);
  font-style: var(--font-display-style);
  letter-spacing: 0.03em;
  margin: 0;
  max-width: 22ch;
}

.shop-slider__overlay p {
  font-family: var(--font-body);
  font-size: var(--text-small);
  opacity: 0.92;
  margin: 0;
  max-width: 36ch;
}

.shop-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: var(--text-h4);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast);
}

.shop-slider__nav:hover { background: var(--color-white); }

.shop-slider__nav--prev { left: var(--space-3); }
.shop-slider__nav--next { right: var(--space-3); }

.shop-slider__dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: var(--space-2);
}

.shop-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform var(--duration-fast), background var(--duration-fast);
}

.shop-slider__dot.is-active {
  background: var(--color-white);
  transform: scale(1.2);
}

.shop-spotlight-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.shop-spotlight-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.shop-bento-tile {
  position: relative;
  display: block;
  min-height: 115px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: box-shadow var(--duration-normal), transform var(--duration-fast);
}

.shop-bento-tile--tall { min-height: 0; flex: 1; }

.shop-spotlight-stack .shop-bento-tile {
  flex: 1;
  min-height: 122px;
}

.shop-bento-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.shop-bento-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-bento-tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 36, 59, 0.88) 0%, rgba(11, 36, 59, 0.25) 55%, transparent 100%);
  z-index: 1;
}

.shop-bento-tile__body {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4);
  color: var(--color-white);
}

.shop-bento-tile__badge {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--color-orange);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.shop-bento-tile__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-body);
}

.shop-category-rail--mobile-label {
  display: none;
}

/* Promo bar + home promo rows (GEARVN-style) */
.shop-promo-bar-wrap {
  background: var(--background-muted);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: calc(var(--shop-z-header) - 1);
}

.shop-promo-bar {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  overflow-x: auto;
  padding: 9px 0;
  scrollbar-width: none;
}

.shop-promo-bar::-webkit-scrollbar { display: none; }

.shop-promo-bar__link {
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  transition: color var(--duration-fast);
}

.shop-promo-bar__link:hover { color: var(--color-blue); }

.shop-promo-bar__link.is-highlight {
  color: var(--color-orange);
}

.shop-promo-deals {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.shop-promo-deals > .shop-promo-card {
  position: relative;
  flex: 0 0 220px;
  min-height: 245px;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: box-shadow var(--duration-normal), transform var(--duration-fast);
}

.shop-promo-deals > .shop-promo-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.shop-promo-deals > .shop-promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-promo-deals > .shop-promo-card .shop-promo-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 36, 59, 0.92) 0%, rgba(11, 36, 59, 0.35) 50%, transparent 100%);
  z-index: 1;
}

.shop-promo-deals > .shop-promo-card .shop-promo-card__body {
  position: relative;
  z-index: 2;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4);
  color: var(--color-white);
}

.shop-promo-deals > .shop-promo-card .shop-promo-card__badge {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--color-orange);
  margin-bottom: var(--space-2);
}

.shop-promo-deals > .shop-promo-card .shop-promo-card__discount {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-size: var(--text-small);
  font-weight: 700;
  padding: 4px 8px;
  background: rgba(227, 108, 9, 0.9);
  border-radius: var(--radius-sm);
}

.shop-promo-deals > .shop-promo-card .shop-promo-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-small);
  line-height: 1.35;
  margin-bottom: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-promo-deals > .shop-promo-card .shop-promo-card__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
}

.shop-promo-deals > .shop-promo-card .shop-promo-card__price {
  font-weight: 700;
  font-size: var(--text-body);
  color: var(--color-gold);
}

.shop-promo-deals > .shop-promo-card .shop-promo-card__old {
  font-size: var(--text-xs);
  text-decoration: line-through;
  opacity: 0.75;
}

.shop-promo-campaigns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.shop-promo-campaign {
  position: relative;
  display: block;
  min-height: 122px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: box-shadow var(--duration-normal), transform var(--duration-fast);
}

.shop-promo-campaign:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.shop-promo-campaign img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-promo-campaign__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 36, 59, 0.9) 0%, rgba(11, 36, 59, 0.45) 55%, transparent 100%);
  z-index: 1;
}

.shop-promo-campaign__body {
  position: relative;
  z-index: 2;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-5);
  color: var(--color-white);
  max-width: 70%;
}

.shop-promo-campaign__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h4);
  margin-bottom: var(--space-2);
}

.shop-promo-campaign__desc {
  font-size: var(--text-small);
  opacity: 0.9;
}

.shop-category-shortcuts {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: var(--space-2);
}

.shop-cat-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-2);
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--primary);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.shop-cat-shortcut:hover {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-sm);
}

.shop-cat-shortcut__thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--background-muted);
}

.shop-cat-shortcut__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-cat-shortcut__icon {
  display: none;
}

.shop-cat-shortcut__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 1200px) {
  .shop-category-shortcuts {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 992px) {
  .shop-promo-campaigns {
    grid-template-columns: 1fr;
  }
  .shop-category-shortcuts {
    grid-template-columns: repeat(4, 1fr);
  }
  .shop-promo-deals > .shop-promo-card {
    flex: 0 0 200px;
    min-height: 228px;
  }
}

@media (max-width: 640px) {
  .shop-section__title {
    font-size: var(--text-h3);
  }

  .shop-category-shortcuts-section {
    display: none;
  }

  .shop-product-grid {
    gap: var(--space-3);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-pdp .shop-pdp__actions {
    flex-direction: column;
  }

  .shop-pdp .shop-pdp__btn {
    width: 100%;
  }

  .shop-pdp__thumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: var(--space-2);
    -webkit-overflow-scrolling: touch;
  }
}

.shop-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-7) 0;
  background: var(--gradient-sun-soft), var(--background-muted);
  border-radius: var(--radius-lg);
  margin: var(--space-5) 0 var(--space-7);
  border: 1px solid var(--border);
  overflow: hidden;
}

.shop-hero__content { padding: var(--space-6); }

.shop-hero__eyebrow {
  font-family: var(--font-tech);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue);
  margin-bottom: var(--space-3);
}

.shop-hero__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-h2), 4vw, var(--text-h1));
  font-weight: 700;
  color: var(--primary);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

.shop-hero__desc {
  color: var(--muted-foreground);
  margin-bottom: var(--space-5);
  max-width: 42ch;
}

.shop-hero__visual {
  min-height: 245px;
  background: var(--gradient-tech);
  position: relative;
}

.shop-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 245px;
}

.shop-section { margin-bottom: var(--space-8); }

.shop-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.shop-section__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--font-display-weight);
  font-style: var(--font-display-style);
  letter-spacing: 0.03em;
  color: var(--primary);
}

.shop-section__more {
  font-size: var(--text-small);
  font-weight: 600;
  text-decoration: none;
  color: var(--color-blue);
}

.shop-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.shop-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--primary);
  transition: box-shadow var(--duration-normal), border-color var(--duration-normal);
}

.shop-cat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-cyan);
}

.shop-cat-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: var(--space-3);
}

.shop-cat-card span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-small);
}

.shop-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.shop-promo-legacy-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-promo-legacy-card--tech { background: var(--gradient-tech); }
.shop-promo-legacy-card--energy { background: var(--gradient-energy); }

.shop-promo-legacy-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  margin-bottom: var(--space-2);
}

.shop-promo-legacy-card p {
  font-size: var(--text-small);
  opacity: 0.95;
  margin-bottom: var(--space-4);
}

.shop-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-2);
}

.shop-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: none;
  background: transparent;
  min-height: var(--btn-height);
  height: var(--btn-height);
  padding: 0 var(--btn-padding-sm-x);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--btn-font-size-sm);
  line-height: 1;
  color: var(--muted-foreground);
  cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  white-space: nowrap;
}

.shop-tab.is-active {
  color: var(--primary);
  background: var(--background-muted);
  box-shadow: inset 0 -2px 0 var(--color-cyan);
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--space-5);
}

.shop-product-grid--2col,
.shop-product-grid--bestseller {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .shop-product-grid--bestseller {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: var(--space-5);
  }
}

@media (min-width: 993px) {
  .shop-product-grid--2col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--duration-normal);
}

.product-card:hover { box-shadow: var(--shadow-md); }

.product-card__media {
  position: relative;
  aspect-ratio: var(--shop-card-img-ratio);
  background: var(--background-muted);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badges {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.product-card__badge {
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  color: var(--color-white);
}

.product-card__badge--sale { background: var(--shop-sale-color); }
.product-card__badge--hot { background: var(--color-orange); }
.product-card__badge--new { background: var(--color-blue); }

.product-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-2);
}

.product-card__cat {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--primary);
  line-height: var(--leading-snug);
  text-decoration: none;
}

.product-card__name:hover { color: var(--accent); }

.product-card__specs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-card__specs-row {
  display: block;
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--muted-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__specs-row--meta {
  font-size: 0.625rem;
  opacity: 0.75;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: auto;
}

.product-card__price-current {
  font-weight: 700;
  color: var(--shop-price-color);
  font-size: var(--text-body);
}

.product-card__price-old {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.product-card__actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.product-card__actions .btn-primary,
.product-card__actions .btn-outline-sm {
  flex: 1;
  min-height: var(--btn-height-xs);
  height: var(--btn-height-xs);
  padding: 0 var(--btn-padding-xs-x);
  font-size: var(--btn-font-size-xs);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--btn-height);
  height: var(--btn-height);
  padding: 0 var(--btn-padding-sm-x);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--btn-font-size-sm);
  line-height: 1;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--color-blue);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
}

.btn-outline-sm:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.shop-plp {
  display: grid;
  grid-template-columns: var(--shop-sidebar-w) 1fr;
  gap: var(--space-6);
  padding: var(--space-5) 0 var(--space-8);
}

.shop-sidebar {
  background: var(--background-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
}

.shop-sidebar h3 {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.shop-filter-section {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

.shop-filter-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.shop-filter-section__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 700;
  font-style: var(--font-display-style);
  letter-spacing: 0.02em;
  margin: 0 0 var(--space-4);
  padding: var(--space-2) 0;
  color: var(--primary);
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.shop-filter-section__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-orange);
}

.shop-filter-section:not(.shop-filter-section--categories) .shop-filter-section__title-icon {
  color: var(--primary);
}

.shop-filter-section__title-icon svg {
  width: 18px;
  height: 18px;
}

.shop-filter-section__title-text {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.shop-filter-section__scroll-hint {
  display: none;
}

.shop-filter-accordion {
  border: none;
}

.shop-filter-accordion summary {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  padding: var(--space-3) var(--space-4);
  background: var(--background-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.shop-filter-accordion summary::-webkit-details-marker {
  display: none;
}

.shop-filter-accordion summary::after {
  content: "+";
  margin-left: auto;
  font-weight: 700;
  color: var(--color-blue);
}

.shop-filter-accordion[open] summary::after {
  content: "−";
}

.shop-filter-accordion .shop-filter-group {
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--color-white);
}

@media (min-width: 993px) {
  .shop-filter-accordion summary {
    display: none;
  }
  .shop-filter-accordion .shop-filter-group {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
  }
}

.shop-filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.shop-filter-group label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-small);
  cursor: pointer;
}

/* Enhanced category filters with icons (inspired by shop-category-rail) */
.shop-filter-section--categories {
  border-bottom: 2px solid var(--border);
  padding-bottom: var(--space-5);
}

.shop-filter-categories {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.shop-filter-category {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--duration-fast), padding-left var(--duration-fast);
}

.shop-filter-category:last-child {
  border-bottom: none;
}

.shop-filter-category:hover {
  background: rgba(11, 36, 59, 0.04);
  padding-left: calc(var(--space-4) + 4px);
}

.shop-filter-category input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.shop-filter-category:has(input:checked) {
  background: rgba(227, 108, 9, 0.06);
  border-left: 3px solid var(--color-orange);
  padding-left: calc(var(--space-4) - 3px);
}

.shop-filter-category:has(input:checked) .shop-filter-category__icon {
  background: rgba(227, 108, 9, 0.15);
  color: var(--color-orange);
  box-shadow: 0 0 0 1px rgba(227, 108, 9, 0.2);
}

.shop-filter-category:has(input:checked) .shop-filter-category__label {
  color: var(--primary);
  font-weight: 600;
}

.shop-filter-category__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(11, 36, 59, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--duration-fast);
}

.shop-filter-category__icon svg {
  width: 18px;
  height: 18px;
}

.shop-filter-category__label {
  flex: 1;
  min-width: 0;
  transition: color var(--duration-fast);
}

.shop-filter-category__chev {
  margin-left: auto;
  color: var(--muted-foreground);
  font-size: var(--text-h3);
  line-height: 1;
  opacity: 0;
  transition: opacity var(--duration-fast), transform var(--duration-fast);
}

.shop-filter-category:hover .shop-filter-category__chev {
  opacity: 1;
  transform: translateX(2px);
}

.shop-filter-category:has(input:checked) .shop-filter-category__chev {
  opacity: 1;
  color: var(--color-orange);
}

/* Enhanced checkbox style for brands */
.shop-filter-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--text-small);
  cursor: pointer;
  transition: padding-left var(--duration-fast);
}

.shop-filter-checkbox:hover {
  padding-left: 4px;
}

.shop-filter-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.shop-filter-checkbox__check {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 3px;
  background: var(--color-white);
  flex-shrink: 0;
  transition: all var(--duration-fast);
}

.shop-filter-checkbox:hover .shop-filter-checkbox__check {
  border-color: var(--color-blue);
}

.shop-filter-checkbox:has(input:checked) .shop-filter-checkbox__check {
  background: var(--color-blue);
  border-color: var(--color-blue);
}

.shop-filter-checkbox:has(input:checked) .shop-filter-checkbox__check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.shop-filter-checkbox__label {
  flex: 1;
  color: var(--foreground);
  transition: color var(--duration-fast);
}

.shop-filter-checkbox:has(input:checked) .shop-filter-checkbox__label {
  color: var(--primary);
  font-weight: 600;
}

.shop-plp__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: var(--background-muted);
  border-radius: var(--radius-md);
}

.shop-plp__count { font-size: var(--text-small); color: var(--muted-foreground); }

.shop-plp__sort {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-small);
}

.shop-plp__sort select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
}

.shop-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.shop-pagination button {
  min-width: 30px;
  height: 30px;
  font-size: var(--btn-font-size-sm);
  border: 1px solid var(--border);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}

.shop-pagination button.is-active {
  background: var(--gradient-tech);
  color: var(--color-white);
  border-color: transparent;
}

.shop-pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  padding: var(--space-5) 0 var(--space-8);
}

.shop-pdp__gallery-main {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--background-muted);
  aspect-ratio: 1;
}

.shop-pdp__gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-pdp__thumbs {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.shop-pdp__thumb {
  width: 72px;
  height: 72px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
}

.shop-pdp__thumb.is-active { border-color: var(--color-cyan); }

.shop-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }

.shop-pdp__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.shop-pdp__meta {
  font-size: var(--text-small);
  color: var(--muted-foreground);
  margin-bottom: var(--space-4);
}

.shop-pdp__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.shop-pdp__price-current {
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--shop-price-color);
}

.shop-pdp__price-old {
  font-size: var(--text-body);
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.shop-pdp__discount {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--shop-sale-color);
}

.shop-pdp__bullets {
  margin: var(--space-5) 0;
  padding-left: var(--space-5);
  color: var(--foreground);
  font-size: var(--text-small);
}

.shop-pdp__bullets li { margin-bottom: var(--space-2); }

.shop-pdp__highlight-specs {
  margin: var(--space-5) 0;
}

.shop-pdp__highlight-specs-label {
  display: inline-block;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-3);
}

.shop-spec-table--highlight {
  margin-top: 0;
}

.shop-spec-table--highlight th {
  width: 40%;
  font-size: var(--text-small);
  padding: var(--space-2) var(--space-3);
}

.shop-spec-table--highlight td {
  font-size: var(--text-small);
  padding: var(--space-2) var(--space-3);
  word-break: break-word;
}

.shop-pdp__qty {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.shop-pdp__qty input {
  width: 64px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.shop-pdp__actions {
  display: flex;
  align-items: stretch;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.shop-pdp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex: 1;
  min-height: var(--btn-height);
  padding: 0 var(--btn-padding-x);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--btn-font-size);
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.shop-pdp__btn--outstock {
  color: var(--muted-foreground);
  background: var(--background-muted);
  border-color: var(--border);
  cursor: not-allowed;
  opacity: 0.85;
}

.shop-pdp__btn--outstock:disabled {
  pointer-events: none;
}

.shop-pdp__btn--zalo {
  color: var(--color-white);
  background: #0068ff;
  border-color: #0068ff;
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.28);
}

.shop-pdp__btn--zalo:hover,
.shop-pdp__btn--zalo:focus-visible {
  filter: brightness(1.06);
  color: var(--color-white);
  outline: none;
}

.shop-pdp__btn-zalo-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.shop-pdp__btn--zalo .shop-pdp__btn-zalo-icon path:first-child {
  fill: rgba(255, 255, 255, 0.25);
}

.shop-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-small);
  margin-top: var(--space-5);
}

.shop-spec-table th,
.shop-spec-table td {
  border: 1px solid var(--border);
  padding: var(--space-3) var(--space-4);
  text-align: left;
}

.shop-spec-table th {
  background: var(--background-muted);
  width: 40%;
  font-weight: 600;
  color: var(--primary);
}

/* PDP — video trải nghiệm & bài quảng bá */
.shop-pdp-detail {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.shop-pdp-detail__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.shop-pdp-detail__main {
  grid-column: span 8;
  min-width: 0;
}

.shop-pdp-detail__specs {
  grid-column: span 4;
  min-width: 0;
}

.shop-pdp-detail__specs-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--background);
  padding: var(--space-5);
}

.shop-pdp-detail__specs-label {
  display: inline-block;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.shop-pdp-detail__specs-title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--primary);
  margin: 0 0 var(--space-4);
  line-height: 1.3;
}

.shop-spec-table--detail {
  margin-top: 0;
}

.shop-spec-table--detail th {
  width: 42%;
  font-size: 0.8125rem;
  padding: var(--space-2) var(--space-3);
}

.shop-spec-table--detail td {
  font-size: 0.8125rem;
  padding: var(--space-2) var(--space-3);
  word-break: break-word;
}

.shop-pdp-video {
  margin-bottom: var(--space-8);
}

.shop-pdp-video__head {
  margin-bottom: var(--space-5);
}

.shop-pdp-video__label {
  display: inline-block;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: var(--space-2);
}

.shop-pdp-video__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--primary);
  margin: 0;
  line-height: 1.3;
}

.shop-pdp-video__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.shop-pdp-video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.shop-pdp-article {
  max-width: none;
}

.shop-pdp-article__head {
  margin-bottom: var(--space-6);
}

.shop-pdp-article__label {
  display: inline-block;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shop-sale-color);
  margin-bottom: var(--space-2);
}

.shop-pdp-article__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--primary);
  margin: 0 0 var(--space-3);
  line-height: 1.25;
}

.shop-pdp-article__lead {
  font-size: var(--text-body);
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
}

.shop-pdp-article__body {
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--foreground);
}

.shop-pdp-article__p {
  margin: 0 0 var(--space-5);
}

.shop-pdp-article__figure {
  margin: 0 0 var(--space-6);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--background-muted);
}

.shop-pdp-article__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.shop-pdp-article__figure figcaption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-small);
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  background: var(--background);
}

.shop-pdp-article__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.shop-pdp-article__figure--half {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .shop-pdp-detail__grid {
    grid-template-columns: 1fr;
  }

  .shop-pdp-detail__main,
  .shop-pdp-detail__specs {
    grid-column: span 1;
  }

  .shop-pdp-article__grid {
    grid-template-columns: 1fr;
  }

  .shop-pdp-article__title {
    font-size: var(--text-h3);
  }
}

@media (min-width: 768px) {
  .shop-pdp-detail__specs {
    position: sticky;
    top: var(--space-5);
  }
}

/* Mobile (≤767): rail ngang; tablet (768+) giữ sidebar dọc 220px */
@media (max-width: 767px) {
  .shop-home-spotlight {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .shop-category-rail {
    flex: none;
    max-height: none;
  }

  .shop-category-rail__head {
    display: none;
  }

  .shop-category-rail--mobile-label {
    display: block;
    padding: var(--space-2) var(--space-3) 0;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .shop-category-rail__list {
    flex: none;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .shop-category-rail__link {
    flex: 0 0 auto;
    border-bottom: none;
    border-right: 1px solid var(--border);
    white-space: nowrap;
    padding: 10px 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .shop-category-rail__chev { display: none; }

  .shop-category-rail__icon { display: none; }
}

/* Mobile/Tablet: Stack vertical */
@media (max-width: 992px) {
  .shop-spotlight-live__wrapper {
    flex-direction: column;
  }

  .shop-spotlight-live__video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 6;
  }

  .shop-spotlight-live__content {
    width: 100%;
    max-width: 100%;
    padding: var(--space-3);
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .shop-spotlight-top {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .shop-slider,
  .shop-slider__viewport,
  .shop-slider__track,
  .shop-slider__slide {
    min-height: 210px;
  }

  .shop-spotlight-stack {
    flex-direction: row;
  }

  .shop-spotlight-stack .shop-bento-tile {
    flex: 1;
    min-height: 105px;
  }

  .shop-spotlight-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: var(--space-2);
  }

  .shop-tab {
    flex: 0 0 auto;
  }

  .shop-slider__dots {
    padding: var(--space-2) 0;
  }

  .shop-slider__dot {
    width: 28px;
    height: 10px;
    padding: 12px 4px;
    background-clip: content-box;
    box-sizing: content-box;
  }

  .shop-plp__toolbar {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .shop-hero { grid-template-columns: 1fr; }
  .shop-cats { grid-template-columns: repeat(2, 1fr); }
  .shop-promo { grid-template-columns: 1fr; }
  .shop-plp { grid-template-columns: 1fr; }
  .shop-sidebar { 
    position: static;
    padding: var(--space-4);
  }
  
  /* Mobile: category filters become horizontal scrollable */
  .shop-filter-section--categories {
    padding-bottom: var(--space-4);
  }
  
  .shop-filter-categories {
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: var(--space-2);
  }
  
  .shop-filter-category {
    flex: 0 0 auto;
    min-width: 135px;
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: var(--space-3);
    white-space: nowrap;
  }
  
  .shop-filter-category:last-child {
    border-right: none;
  }
  
  .shop-filter-category:hover {
    padding-left: var(--space-3);
  }
  
  .shop-filter-category:has(input:checked) {
    border-left: none;
    border-bottom: 3px solid var(--color-orange);
    padding-left: var(--space-3);
    padding-bottom: calc(var(--space-3) - 3px);
  }
  
  .shop-filter-category__icon {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  
  .shop-filter-category__chev {
    display: none;
  }

  /* Mobile: brand filters — horizontal scroll chips */
  .shop-filter-section--brands {
    padding-bottom: var(--space-4);
  }

  .shop-filter-section--brands .shop-filter-section__scroll-hint {
    display: block;
    margin: calc(-1 * var(--space-2)) 0 var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .shop-filter-section--brands .shop-filter-group--brands {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: var(--space-2);
    margin: 0 calc(-1 * var(--space-4));
    padding: 0 var(--space-4) var(--space-2);
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .shop-filter-section--brands .shop-filter-checkbox {
    flex: 0 0 auto;
    gap: 0;
    padding: 0;
    scroll-snap-align: start;
  }

  .shop-filter-section--brands .shop-filter-checkbox:hover {
    padding-left: 0;
  }

  .shop-filter-section--brands .shop-filter-checkbox__check {
    display: none;
  }

  .shop-filter-section--brands .shop-filter-checkbox__label {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--color-white);
    white-space: nowrap;
    font-size: var(--text-xs);
    font-weight: 600;
    transition: background var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast);
  }

  .shop-filter-section--brands .shop-filter-checkbox:has(input:checked) .shop-filter-checkbox__label {
    background: rgba(0, 114, 188, 0.1);
    border-color: var(--color-blue);
    color: var(--primary);
    font-weight: 700;
  }
  
  .shop-pdp { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shop-spotlight-stack { flex-direction: column; }
  .shop-slider__nav { display: none; }
}

@media (max-width: 400px) {
  .shop-spotlight-bottom {
    grid-template-columns: 1fr;
  }

  .shop-product-grid:not(.shop-product-grid--bestseller):not(.shop-product-grid--2col) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .shop-cats { grid-template-columns: 1fr; }
}

/* --- Cart page --- */
.shop-cart-page__head {
  margin-bottom: var(--space-6);
  padding-top: var(--space-2);
}

.shop-cart-page__title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 var(--space-2);
}

.shop-cart-page__count {
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--muted-foreground);
}

.shop-cart-page__meta {
  font-size: var(--text-small);
  color: var(--muted-foreground);
  margin: 0;
}

.shop-cart-empty {
  text-align: center;
  padding: var(--space-9) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  margin-bottom: var(--space-8);
}

.shop-cart-empty__text {
  max-width: 368px;
  margin: 0 auto var(--space-5);
  color: var(--muted-foreground);
  font-size: var(--text-body);
}

.shop-cart-layout {
  display: grid;
  grid-template-columns: 1fr minmax(245px, 315px);
  gap: var(--space-7);
  align-items: start;
  margin-bottom: var(--space-8);
}

.shop-cart-lines-wrap {
  min-width: 0;
}

.shop-cart-lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.shop-cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.shop-cart-item__thumb {
  display: block;
  width: 96px;
  height: 96px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--background-muted);
  flex-shrink: 0;
}

.shop-cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-cart-item__body {
  min-width: 0;
}

.shop-cart-item__cat {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  margin-bottom: var(--space-1);
}

.shop-cart-item__name {
  display: block;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: var(--space-2);
  line-height: 1.35;
}

.shop-cart-item__name:hover { color: var(--color-cyan); }

.shop-cart-item__unit {
  font-size: var(--text-small);
  color: var(--muted-foreground);
  margin: 0;
}

.shop-cart-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}

.shop-cart-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-white);
}

.shop-cart-qty__btn {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--background-muted);
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.shop-cart-qty__btn:hover {
  background: var(--color-cyan);
  color: var(--color-white);
}

.shop-cart-qty__input {
  width: 48px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: var(--text-small);
  -moz-appearance: textfield;
}

.shop-cart-qty__input::-webkit-outer-spin-button,
.shop-cart-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shop-cart-item__line-total {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--shop-price-color);
  margin: 0;
}

.shop-cart-item__remove {
  border: none;
  background: none;
  color: var(--muted-foreground);
  font-size: var(--text-small);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.shop-cart-item__remove:hover { color: var(--shop-sale-color); }

.shop-cart-summary {
  position: sticky;
  top: calc(var(--header-h, 72px) + var(--space-4));
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.shop-cart-summary__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--primary);
  margin: 0 0 var(--space-5);
}

.shop-cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-small);
}

.shop-cart-summary__row--muted {
  color: var(--muted-foreground);
}

.shop-cart-summary__row--total {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: var(--text-body);
  font-weight: 600;
}

.shop-cart-summary__grand {
  font-size: var(--text-h3);
  color: var(--shop-price-color);
}

.shop-cart-summary__note {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  margin: var(--space-2) 0 var(--space-5);
  line-height: 1.45;
}

.shop-cart-summary__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.shop-cart-summary__continue {
  text-align: center;
  display: block;
  width: 100%;
}

.shop-cart-summary__checkout {
  width: 100%;
}

@media (max-width: 992px) {
  .shop-cart-layout {
    grid-template-columns: 1fr;
  }

  .shop-cart-summary {
    position: static;
  }
}

/* --- Checkout page --- */
.shop-checkout-page__head {
  margin-bottom: var(--space-6);
}

.shop-checkout-page__title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 var(--space-2);
}

.shop-checkout-page__lead {
  margin: 0;
  font-size: var(--text-small);
  color: var(--muted-foreground);
}

.shop-checkout-empty {
  text-align: center;
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.shop-checkout-layout {
  display: grid;
  grid-template-columns: 1fr minmax(263px, 350px);
  gap: var(--space-7);
  align-items: start;
}

.shop-checkout-panel {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  margin-bottom: var(--space-5);
}

.shop-checkout-panel__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--primary);
  margin: 0 0 var(--space-2);
}

.shop-checkout-panel__meta,
.shop-checkout-panel__hint {
  font-size: var(--text-small);
  color: var(--muted-foreground);
  margin: 0 0 var(--space-4);
}

.shop-checkout-lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  max-height: 280px;
  overflow-y: auto;
}

.shop-checkout-line {
  display: grid;
  grid-template-columns: 49px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.shop-checkout-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.shop-checkout-line__thumb {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--background-muted);
}

.shop-checkout-line__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-checkout-line__name {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 var(--space-1);
  line-height: 1.35;
}

.shop-checkout-line__meta {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  margin: 0;
}

.shop-checkout-line__total {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--shop-price-color);
  white-space: nowrap;
}

.shop-checkout-totals__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-small);
  margin-bottom: var(--space-2);
}

.shop-checkout-totals__coupon {
  margin: var(--space-4) 0;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
}

.shop-checkout-totals__coupon-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.shop-checkout-coupon {
  display: flex;
  gap: var(--space-2);
  align-items: stretch;
}

.shop-checkout-coupon input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
}

.shop-checkout-coupon .btn-outline-sm {
  flex-shrink: 0;
  white-space: nowrap;
}

.shop-checkout-coupon__applied {
  margin: var(--space-4) 0 0;
  font-size: var(--text-small);
  line-height: 1.45;
  color: var(--shop-price-color);
  font-weight: 500;
  text-align: right;
}

.shop-checkout-coupon__applied #checkoutDiscountAmount {
  font-weight: 600;
}

.shop-checkout-coupon__msg {
  margin: var(--space-2) 0 0;
  font-size: var(--text-xs);
  line-height: 1.4;
}

.shop-checkout-coupon__msg--error {
  color: var(--shop-sale-color);
}

.shop-checkout-totals__row--grand {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: var(--text-body);
  font-weight: 600;
}

.shop-checkout-totals__grand {
  font-size: var(--text-h3);
  color: var(--shop-price-color);
}

.shop-checkout-banks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.shop-checkout-bank {
  padding: var(--space-3) var(--space-4);
  border: 1px dashed rgba(0, 114, 188, 0.35);
  background: var(--background-muted);
}

.shop-checkout-bank--pick {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: flex-start;
  cursor: pointer;
  border: 2px solid rgba(0, 114, 188, 0.25);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-checkout-bank--pick:has(input:checked) {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.35);
  background: rgba(0, 174, 239, 0.06);
}

.shop-checkout-bank--pick input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.shop-checkout-bank__pick {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 2px solid var(--border);
  background: var(--color-white);
  flex-shrink: 0;
  position: relative;
}

.shop-checkout-bank--pick:has(input:checked) .shop-checkout-bank__pick {
  border-color: var(--color-cyan);
  background: var(--color-cyan);
}

.shop-checkout-bank--pick:has(input:checked) .shop-checkout-bank__pick::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.shop-checkout-bank__body {
  min-width: 0;
}

.shop-checkout-qr__bank {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 var(--space-4);
}

.shop-checkout-bank__name {
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 var(--space-1);
  font-size: var(--text-small);
}

.shop-checkout-bank__account {
  margin: 0 0 var(--space-1);
  font-size: var(--text-body);
}

.shop-checkout-bank__account span {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  margin-right: var(--space-2);
}

.shop-checkout-bank__account strong {
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.04em;
  color: var(--color-cyan);
}

.shop-checkout-bank__owner,
.shop-checkout-bank__branch {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}

.shop-checkout-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.shop-checkout-field label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.shop-checkout-field input,
.shop-checkout-coupon input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-body);
  background: var(--color-white);
  color: var(--foreground);
}

.shop-checkout-field input:focus,
.shop-checkout-coupon input:focus {
  outline: 2px solid var(--color-cyan);
  outline-offset: 1px;
}

.shop-checkout-form__submit {
  width: 100%;
  margin-top: var(--space-2);
}

.shop-checkout-qr {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  text-align: center;
}

.shop-checkout-qr__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--primary);
  margin: 0 0 var(--space-2);
}

.shop-checkout-qr__meta {
  font-size: var(--text-small);
  color: var(--muted-foreground);
  margin: 0 0 var(--space-4);
}

.shop-checkout-qr__frame {
  display: inline-block;
  padding: var(--space-3);
  border: 2px solid var(--primary);
  background: var(--color-white);
  margin-bottom: var(--space-3);
}

.shop-checkout-qr__frame canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.shop-checkout-qr__note {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
  max-width: 315px;
  margin-left: auto;
  margin-right: auto;
}

.shop-checkout-back {
  display: block;
  text-align: center;
  width: 100%;
}

a.shop-cart-summary__checkout,
a.btn-primary.shop-cart-summary__checkout {
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .shop-checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shop-cart-item {
    grid-template-columns: 63px 1fr;
    grid-template-rows: auto auto;
  }

  .shop-cart-item__thumb {
    width: 72px;
    height: 72px;
  }

  .shop-cart-item__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-slider__track { transition: none; }
}
.btn-sm {
  min-height: var(--btn-height);
  height: var(--btn-height);
  padding: 0 var(--btn-padding-sm-x);
  font-size: var(--btn-font-size-sm);
  line-height: 1;
}

/* --- AI Build PC entry (home) --- */
.shop-ai-entry {
  margin-bottom: var(--space-6);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--border);
  background: var(--surface-solid);
}

.shop-ai-entry__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.shop-ai-entry__badge {
  flex-shrink: 0;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: var(--gradient-tech);
}

.shop-ai-entry__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-style: italic;
  color: var(--primary);
  margin: 0 0 var(--space-1);
}

.shop-ai-entry__desc {
  margin: 0;
  font-size: var(--text-small);
  color: var(--muted-foreground);
}

.shop-ai-entry__form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.shop-ai-entry__form input {
  flex: 1 1 220px;
  min-width: 0;
  box-sizing: border-box;
  min-height: var(--btn-height);
  height: var(--btn-height);
  padding: 0 var(--btn-padding-x);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: var(--text-body);
  background: var(--color-white);
  color: var(--foreground);
}

.shop-ai-entry__form input:focus {
  outline: 2px solid var(--color-cyan);
  outline-offset: 1px;
}

.shop-ai-entry__submit {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .shop-ai-entry {
    padding: var(--space-4);
  }
  .shop-ai-entry__submit {
    width: 100%;
  }
}

/* --- AI Build page --- */
.shop-ai-build-page__head {
  margin-bottom: var(--space-6);
}

.shop-ai-build-page__title {
  font-style: italic;
}

.shop-ai-build-page__lead {
  font-size: var(--text-xs);
  font-style: italic;
}

.shop-ai-build-page__meta {
  margin: 0;
  font-size: var(--text-small);
  color: var(--muted-foreground);
}

.shop-ai-workflow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding: 0;
  list-style: none;
}

.shop-ai-workflow__step {
  flex: 1 1 140px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--surface-solid);
}

.shop-ai-workflow__step.is-active {
  color: var(--primary);
  border-color: var(--color-cyan);
}

.shop-ai-workflow__step.is-done {
  color: var(--foreground);
  border-color: var(--accent);
}

.shop-ai-build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  min-height: 175px;
}

.shop-ai-build-grid--loading {
  opacity: 0.55;
  pointer-events: none;
}

.shop-ai-build-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  min-height: 245px;
}

.shop-ai-build-card.is-selected {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.35);
}

.shop-ai-build-card--empty {
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: var(--text-small);
  text-align: center;
  padding: var(--space-6);
}

.shop-ai-build-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
}

.shop-ai-build-card__title {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  margin: 0;
  color: var(--primary);
}

.shop-ai-build-card__prompt {
  margin: var(--space-1) 0 0;
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-ai-build-card__delete {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--color-white);
  color: var(--muted-foreground);
  cursor: pointer;
}

.shop-ai-build-card__delete:hover {
  color: var(--destructive, #c62828);
  border-color: var(--destructive, #c62828);
}

.shop-ai-build-card__delete svg {
  width: 18px;
  height: 18px;
}

.shop-ai-build-card__body {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  overflow: auto;
}

.shop-ai-build-parts {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-xs);
}

.shop-ai-build-parts th,
.shop-ai-build-parts td {
  padding: 6px 4px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.shop-ai-build-parts th {
  width: 28%;
  font-weight: 600;
  color: var(--muted-foreground);
}

.shop-ai-build-parts__price {
  color: var(--muted-foreground);
  font-size: 0.95em;
}

.shop-ai-build-card__foot {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border);
}

.shop-ai-build-card__total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-body);
  color: var(--accent);
  margin: 0 0 var(--space-3);
}

.shop-ai-build-card__select {
  width: 100%;
}

.shop-ai-compare-wrap {
  margin-bottom: var(--space-6);
}

.shop-ai-compare-wrap.shop-ai-compare-panel {
  margin-bottom: 0;
}

.shop-ai-compare-wrap.shop-ai-compare-panel #aiBuildCompareInner {
  margin-top: var(--space-2);
}

.shop-ai-compare-wrap--loading {
  opacity: 0.55;
  pointer-events: none;
}

.shop-ai-compare-scroll {
  overflow-x: auto;
  overflow-y: visible;
  margin: 0 calc(-1 * var(--space-1));
  padding: 0 var(--space-1) var(--space-2);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.shop-ai-compare-scroll:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
}

.shop-ai-compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: var(--text-small);
  background: var(--color-white);
}

.shop-ai-compare-table--compare {
  min-width: 100%;
}

.shop-ai-compare-table col.shop-ai-compare-table__build-col {
  width: calc(100% / 3);
}

.shop-ai-compare-table th,
.shop-ai-compare-table td {
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.shop-ai-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.shop-ai-compare-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  background: var(--surface-muted, #f5f7fa);
  vertical-align: top;
  border-bottom: 2px solid var(--border);
}

.shop-ai-compare-col--empty {
  cursor: default;
  color: var(--muted-foreground);
  font-weight: 500;
}

.shop-ai-compare-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.shop-ai-compare-col__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange, var(--accent));
}

.shop-ai-compare-col__delete {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(0, 174, 239, 0.35);
  background: var(--color-white);
  color: var(--muted-foreground);
  cursor: pointer;
}

.shop-ai-compare-col__delete:hover {
  color: #c62828;
  border-color: #c62828;
}

.shop-ai-compare-col__delete svg {
  width: 16px;
  height: 16px;
}

.shop-ai-compare-col__prompt {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--muted-foreground);
  line-height: 1.4;
  text-align: left;
}

.shop-ai-compare-col__empty {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  margin-top: var(--space-1);
}

.shop-ai-compare-table__empty {
  color: var(--muted-foreground);
  text-align: center;
}

.shop-ai-compare-table__row-total td {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  font-weight: 600;
  background: var(--surface-muted, #f5f7fa);
  border-top: 2px solid var(--border);
  border-bottom: none;
  vertical-align: middle;
}

.shop-ai-compare-table__total-label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: var(--space-1);
}

.shop-ai-compare-cell__meta {
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}

.shop-ai-compare-cell__meta--specs-only {
  margin-bottom: var(--space-1);
  padding-bottom: var(--space-1);
  border-bottom: none;
}

.shop-ai-compare-table__part-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0 0 var(--space-1);
}

.shop-ai-compare-table__part-category {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.shop-ai-compare-table__part-name {
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary);
}

.shop-ai-compare-table__part-price {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--shop-price-color);
  white-space: nowrap;
}

.shop-ai-compare-table__specs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-ai-compare-table__spec-line {
  font-size: var(--text-small);
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted-foreground);
  margin-bottom: 4px;
}

.shop-ai-compare-table__spec-line:last-child {
  margin-bottom: 0;
}

.shop-ai-compare-table__spec-value {
  display: block;
}

/* Dòng thông số thắng so sánh (có thể nhiều cột hòa điểm cao nhất) */
.shop-ai-compare-table__spec-value.is-spec-win {
  color: var(--shop-price-color);
  font-weight: 700;
}

.shop-ai-compare-table__total-price {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--primary);
}

.shop-ai-compare-table__total-price.is-spec-win {
  font-size: var(--text-body);
  color: var(--shop-price-color);
  font-weight: 700;
}

.shop-ai-compare-col__badge {
  display: inline-block;
  margin-top: var(--space-1);
  padding: 2px 8px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--gradient-tech);
}

/* Config table — cart / checkout */
.shop-config-table-scroll {
  overflow-x: auto;
  margin-bottom: var(--space-4);
}

.shop-config-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: var(--text-small);
  background: var(--color-white);
  border: 1px solid var(--border);
}

.shop-config-table th,
.shop-config-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  text-align: left;
}

.shop-config-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  background: var(--surface-muted, #f5f7fa);
}

.shop-config-table tbody th {
  width: 100px;
  font-weight: 600;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.shop-config-table__name {
  font-weight: 600;
  color: var(--primary);
}

.shop-config-table__name a {
  color: inherit;
  text-decoration: none;
}

.shop-config-table__name a:hover {
  color: var(--color-cyan);
}

.shop-config-table__price,
.shop-config-table__total {
  white-space: nowrap;
}

.shop-config-table__total {
  font-weight: 700;
  color: var(--shop-price-color);
}

.shop-config-table__act {
  text-align: right;
}

.shop-cart-lines__title,
.shop-checkout-lines__title {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 var(--space-3);
}

.shop-cart-build-compare {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
}

.shop-cart-build-compare__hint {
  margin: -8px 0 var(--space-4);
  font-size: var(--text-small);
  color: var(--muted-foreground);
}

.shop-cart-build-compare__link {
  margin-top: var(--space-3);
  display: inline-block;
}

.shop-checkout-build-compare {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.shop-checkout-build-compare__title {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 var(--space-3);
}

@media (max-width: 768px) {
  .shop-ai-compare-scroll {
    scroll-snap-type: x proximity;
    padding-bottom: var(--space-3);
  }

  .shop-ai-compare-table--compare {
    min-width: 36rem;
  }

  .shop-ai-compare-table--compare col.shop-ai-compare-table__build-col {
    width: calc(36rem / 3);
  }

  .shop-ai-compare-table th,
  .shop-ai-compare-table td {
    padding: 10px 8px;
  }

  .shop-ai-compare-col__prompt {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.shop-ai-prompt-bar {
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  border: 1px solid var(--border);
  background: var(--surface-solid);
}

.shop-ai-prompt-bar__targets {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.shop-ai-prompt-bar__target {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  font-size: var(--text-small);
  font-weight: 600;
  cursor: pointer;
  background: var(--color-white);
}

.shop-ai-prompt-bar__target:has(input:checked) {
  border-color: var(--color-cyan);
  color: var(--primary);
}

.shop-ai-prompt-bar__target input {
  margin: 0;
}

.shop-ai-prompt-bar__target.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.shop-ai-prompt-bar__form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: flex-end;
}

.shop-ai-prompt-bar__form textarea {
  flex: 1 1 280px;
  min-height: 63px;
  padding: var(--space-2) var(--btn-padding-x);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: var(--text-body);
  resize: vertical;
  background: var(--color-white);
}

.shop-ai-prompt-bar__form textarea:focus {
  outline: 2px solid var(--color-cyan);
  outline-offset: 1px;
}

.shop-ai-prompt-bar__submit {
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .shop-ai-build-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shop-ai-prompt-bar__submit {
    width: 100%;
  }
}

/* Summer promo modal */
body.shop-modal-open {
  overflow: hidden;
}

.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal), visibility var(--duration-normal);
}

.shop-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.shop-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 36, 59, 0.55);
  backdrop-filter: blur(4px);
}

.shop-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 92vw);
  max-height: min(90vh, 640px);
  overflow-y: auto;
  padding: var(--space-6);
  background: var(--color-white);
  border: 2px solid var(--color-cyan);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 122, 0, 0.15);
}

.shop-modal__close.btn-outline-sm {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1;
  color: var(--color-orange);
}

.shop-modal__close.btn-outline-sm:hover {
  color: var(--color-orange);
}

.shop-modal__visual {
  margin: calc(-1 * var(--space-2)) calc(-1 * var(--space-2)) var(--space-4);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--background-muted);
}

.shop-modal__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-modal__badge {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-orange), #ff9a3c);
  border-radius: var(--radius-sm);
}

.shop-modal__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-h3), 4vw, 1.3125rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 var(--space-3);
  padding-right: var(--space-6);
}

.shop-modal__desc {
  font-size: var(--text-body);
  color: var(--muted-foreground);
  line-height: 1.55;
  margin: 0 0 var(--space-4);
}

.shop-modal__list {
  margin: 0 0 var(--space-5);
  padding-left: 1.25rem;
  font-size: var(--text-small);
  color: var(--foreground);
  line-height: 1.6;
}

.shop-modal__list li + li {
  margin-top: var(--space-2);
}

.shop-modal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
}

.shop-modal__actions .btn-primary,
.shop-modal__actions .btn-outline-sm {
  flex: 0 0 auto;
  min-width: 0;
  min-height: var(--btn-height);
  height: var(--btn-height);
  padding: 0 var(--btn-padding-x);
  font-size: var(--btn-font-size-sm);
  text-decoration: none;
}

.shop-modal__actions .btn-outline-sm {
  background: var(--color-white);
}

/* Ads banner popup — full image, no scrollbars */
.shop-modal--ads {
  overflow: hidden;
  padding: var(--space-2);
}

.shop-modal--ads .shop-modal__panel {
  width: min(960px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.shop-modal--ads .shop-modal__close {
  top: var(--space-2);
  right: var(--space-2);
  background: var(--color-white);
}

.shop-modal--ads .shop-modal__banner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  line-height: 0;
}

.shop-modal--ads .shop-modal__banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.shop-modal__copy--ads {
  flex-shrink: 0;
  padding: var(--space-3) var(--space-4) var(--space-2);
  border-top: 1px solid var(--border);
  background: var(--color-white);
}

.shop-modal__copy--ads .shop-modal__badge {
  margin-bottom: var(--space-2);
  padding: 4px 10px;
  font-size: 0.65rem;
}

.shop-modal__copy--ads .shop-modal__title {
  font-size: clamp(var(--text-body), 2.8vw, 1.05rem);
  margin-bottom: var(--space-2);
  padding-right: var(--space-5);
}

.shop-modal__copy--ads .shop-modal__desc {
  font-size: var(--text-small);
  margin-bottom: var(--space-2);
  line-height: 1.45;
}

.shop-modal__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.shop-modal__perk {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-small);
  line-height: 1.45;
  color: var(--foreground);
}

.shop-modal__perk-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}

.shop-modal__perk-icon svg {
  width: 16px;
  height: 16px;
}

.shop-modal__perk-icon--sale {
  background: rgba(227, 108, 9, 0.12);
  color: var(--color-orange);
}

.shop-modal__perk-icon--pay {
  background: rgba(0, 174, 239, 0.12);
  color: var(--color-cyan);
}

.shop-modal__perk-icon--gift {
  background: rgba(0, 114, 188, 0.12);
  color: var(--color-blue);
}

.shop-modal--ads .shop-modal__actions--compact {
  flex-shrink: 0;
  padding: var(--space-2) var(--space-3);
  border-top: 1px solid var(--border);
  background: var(--color-white);
}

/* Side promo banners — desktop only */
.shop-side-promo {
  display: none;
}

@media (min-width: 1280px) {
  .shop-side-promo {
    display: block;
    position: fixed;
    top: 50%;
    z-index: 900;
    width: 210px;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--duration-normal) var(--ease-out),
      visibility var(--duration-normal),
      transform var(--duration-normal) var(--ease-out);
  }

  .shop-side-promo--left {
    left: max(12px, calc((100vw - var(--container-max)) / 2 - 230px));
    transform: translateY(-50%) translateX(-16px);
  }

  .shop-side-promo--right {
    right: max(12px, calc((100vw - var(--container-max)) / 2 - 230px));
    transform: translateY(-50%) translateX(16px);
  }

  .shop-side-promo.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
  }

  .shop-side-promo.is-closed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .shop-side-promo--left.is-closed {
    transform: translateY(-50%) translateX(-24px);
  }

  .shop-side-promo--right.is-closed {
    transform: translateY(-50%) translateX(24px);
  }

  .shop-side-promo[hidden]:not(.is-visible):not(.is-closed) {
    display: none;
  }

  .shop-side-promo.is-visible,
  .shop-side-promo.is-closed {
    display: block;
  }

  .shop-side-promo__panel {
    background: var(--color-white);
    border: 2px solid var(--color-cyan);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 122, 0, 0.12);
    overflow: hidden;
  }

  .shop-side-promo__head {
    position: relative;
    padding: var(--space-3) var(--space-4) var(--space-3);
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.08), rgba(227, 108, 9, 0.06));
    border-bottom: 1px solid var(--border);
  }

  .shop-side-promo__badge {
    display: inline-block;
    margin-bottom: var(--space-2);
    padding: 3px 8px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-orange), #ff9a3c);
    border-radius: var(--radius-sm);
  }

  .shop-side-promo__badge--cyan {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  }

  .shop-side-promo__title {
    margin: 0;
    padding-right: var(--space-6);
    font-family: var(--font-display);
    font-size: var(--text-small);
    font-weight: 700;
    line-height: 1.35;
    color: var(--primary);
  }

  .shop-side-promo__close {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--muted-foreground);
    font-size: var(--text-h4);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: color var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast);
  }

  .shop-side-promo__close:hover,
  .shop-side-promo__close:focus-visible {
    color: var(--color-orange);
    border-color: var(--color-orange);
    background: rgba(227, 108, 9, 0.06);
  }

  .shop-side-promo__list {
    list-style: none;
    margin: 0;
    padding: var(--space-2) 0;
    max-height: min(52vh, 420px);
    overflow-y: auto;
    scrollbar-width: thin;
  }

  .shop-side-promo__item-wrap + .shop-side-promo__item-wrap {
    border-top: 1px solid var(--border);
  }

  .shop-side-promo__item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    text-decoration: none;
    color: inherit;
    transition: background var(--duration-fast);
  }

  .shop-side-promo__item:hover {
    background: var(--background-muted);
  }

  .shop-side-promo__thumb {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--background-muted);
    border: 1px solid var(--border);
  }

  .shop-side-promo__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .shop-side-promo__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--primary);
  }

  .shop-side-promo__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
  }

  .shop-side-promo__price {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-orange);
  }

  .shop-side-promo__old {
    font-size: 10px;
    color: var(--muted-foreground);
    text-decoration: line-through;
  }

  .shop-side-promo__discount {
    flex-shrink: 0;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-orange);
    border-radius: var(--radius-sm);
    line-height: 1.2;
  }

  .shop-side-promo__more {
    display: block;
    padding: var(--space-2) var(--space-3);
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 600;
    text-decoration: none;
    color: var(--color-blue);
    background: var(--background-muted);
    border-top: 1px solid var(--border);
    transition: background var(--duration-fast), color var(--duration-fast);
  }

  .shop-side-promo__more:hover {
    background: rgba(0, 174, 239, 0.1);
    color: var(--color-cyan);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-side-promo,
  .shop-side-promo.is-visible,
  .shop-side-promo.is-closed {
    transition: none;
  }
}

/* Horizontal product rails */
.shop-product-rail-section {
  margin-bottom: var(--space-6);
}

.shop-product-rail-section .shop-section__head {
  margin-bottom: var(--space-3);
}

.shop-rail-tabs {
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin-bottom: var(--space-4);
}

.shop-rail-tabs::-webkit-scrollbar {
  display: none;
}

.shop-rail-tabs .shop-tab {
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: background var(--duration-fast), color var(--duration-fast), box-shadow var(--duration-fast), transform 0.22s var(--ease-out);
}

.shop-rail-tabs .shop-tab.is-activating {
  transform: scale(0.97);
  animation: shop-rail-tab-pulse 0.34s var(--ease-out);
}

@keyframes shop-rail-tab-pulse {
  0% { filter: brightness(1); }
  40% { filter: brightness(1.06); box-shadow: inset 0 -2px 0 var(--color-cyan), 0 0 0 3px rgba(0, 174, 239, 0.14); }
  100% { filter: brightness(1); }
}

.shop-rail-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  align-items: stretch;
}

.shop-rail-panel__main {
  min-width: 0;
}

.shop-rail-panel__aside {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--space-2);
  flex-shrink: 0;
  min-width: auto;
}

.shop-rail-more {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-2);
  min-height: 105px;
  text-decoration: none;
  color: var(--color-white);
  background: linear-gradient(180deg, var(--color-blue) 0%, #0077b3 100%);
  border: 2px solid rgba(0, 174, 239, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), border-color 0.22s;
  box-shadow: var(--shadow-sm);
}

.shop-rail-more__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.35), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.shop-rail-more__icon {
  font-size: var(--text-h2);
  line-height: 1;
  transition: transform 0.25s var(--ease-out);
}

.shop-rail-more__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.shop-rail-more:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.28);
}

.shop-rail-more:hover .shop-rail-more__glow {
  opacity: 1;
}

.shop-rail-more:hover .shop-rail-more__icon {
  transform: translateX(3px);
}

.shop-rail-more:active,
.shop-rail-more.is-activating {
  transform: scale(0.94);
  box-shadow: 0 2px 8px rgba(0, 119, 179, 0.35);
}

.shop-rail-more.is-activating {
  border-color: var(--color-cyan);
  animation: shop-rail-more-pulse 0.34s var(--ease-out);
}

.shop-rail-more.is-activating .shop-rail-more__icon {
  transform: translateX(6px);
}

@keyframes shop-rail-more-pulse {
  0% { filter: brightness(1); }
  40% { filter: brightness(1.15); }
  100% { filter: brightness(1); }
}

.shop-brand-filter {
  display: flex;
  flex: 1;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
  gap: var(--space-2);
  padding: var(--space-2);
  min-width: 0;
  max-height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.shop-brand-filter__label {
  flex: 0 0 100%;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  text-align: right;
  padding-right: 2px;
}

.shop-brand-filter::-webkit-scrollbar {
  width: 4px;
}

.shop-brand-filter::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.shop-brand-chip {
  border: 1px solid var(--border);
  background: var(--color-white);
  color: var(--muted-foreground);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast), transform 0.22s var(--ease-out);
}

.shop-brand-chip:hover {
  border-color: var(--color-cyan);
  color: var(--primary);
}

.shop-brand-chip.is-active {
  background: rgba(0, 174, 239, 0.12);
  border-color: var(--color-cyan);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(0, 174, 239, 0.2);
}

.shop-brand-chip:active,
.shop-brand-chip.is-activating {
  transform: scale(0.94);
}

.shop-brand-chip.is-activating {
  border-color: var(--color-cyan);
  animation: shop-brand-chip-pulse 0.34s var(--ease-out);
}

@keyframes shop-brand-chip-pulse {
  0% { filter: brightness(1); box-shadow: inset 0 0 0 1px rgba(0, 174, 239, 0.2); }
  40% { filter: brightness(1.08); box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.22); }
  100% { filter: brightness(1); box-shadow: inset 0 0 0 1px rgba(0, 174, 239, 0.2); }
}

.shop-rail-empty {
  flex: 0 0 min(260px, 78vw);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 245px;
  padding: var(--space-5);
  margin: 0;
  font-size: var(--text-small);
  color: var(--muted-foreground);
  background: var(--background-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

.shop-product-rail {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-2);
}

.shop-product-rail__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shop-product-rail__viewport::-webkit-scrollbar {
  display: none;
}

.shop-product-rail__track {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-1) var(--space-1) var(--space-3);
  transition: opacity 0.18s var(--ease-out);
}

.shop-product-rail__track.is-filtering {
  opacity: 0.42;
  pointer-events: none;
}

.shop-rail-card-wrap {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  max-width: 245px;
  animation: shop-rail-card-in 0.38s var(--ease-out) both;
  animation-delay: calc(var(--rail-i, 0) * 45ms);
}

@keyframes shop-rail-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-rail-card-wrap {
    animation: none;
  }

  .shop-product-rail__track.is-filtering {
    transition: none;
  }
}

.shop-product-rail__track .product-card {
  flex: 1 1 auto;
  max-width: none;
}

.shop-product-rail--fill .shop-product-rail__viewport {
  overflow-x: visible;
}

.shop-product-rail__track--fill {
  width: 100%;
}

.shop-product-rail__track--fill .shop-rail-card-wrap {
  flex: 1 1 0;
  min-width: 200px;
  max-width: none;
}

.shop-product-rail__nav {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-h4);
  line-height: 1;
  color: var(--primary);
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--duration-fast), opacity var(--duration-fast);
}

.shop-product-rail__nav:hover:not(:disabled) {
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-sm);
}

.shop-product-rail__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .shop-rail-panel {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .shop-rail-tabs {
    margin-bottom: var(--space-3);
  }

  .shop-rail-panel__aside {
    order: 1;
    min-width: 0;
    align-items: stretch;
  }

  .shop-rail-more {
    flex-direction: row;
    min-height: auto;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    writing-mode: horizontal-tb;
  }

  .shop-rail-more__label {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 0.06em;
  }

  .shop-rail-card-wrap {
    flex: 0 0 min(240px, 82vw);
  }

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

  .shop-product-rail__nav {
    display: none;
  }

  .shop-product-rail__viewport {
    grid-column: 1;
  }
}

/* --- Float contact (Zalo / Messenger / Phone) — SUNTECH tokens --- */

.shop-float-contact {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--space-5) + env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--shop-z-header) - 1);
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: var(--space-2);
  padding: var(--space-2);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 174, 239, 0.35);
  box-shadow: var(--shadow-md);
  pointer-events: auto;
}

.shop-float-contact__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--primary);
  background: var(--color-white);
  border: 1px solid var(--border);
  text-decoration: none;
  pointer-events: auto;
  transition:
    background var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.shop-float-contact__btn svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.shop-float-contact__btn:hover,
.shop-float-contact__btn:focus-visible {
  background: rgba(0, 174, 239, 0.08);
  border-color: var(--color-cyan);
  color: var(--color-blue);
  box-shadow: var(--shadow-glow-cyan);
  outline: none;
}

.shop-float-contact__btn--zalo,
.shop-float-contact__btn--messenger {
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform var(--duration-fast) var(--ease-out);
}

.shop-float-contact__btn--zalo:hover,
.shop-float-contact__btn--zalo:focus-visible,
.shop-float-contact__btn--messenger:hover,
.shop-float-contact__btn--messenger:focus-visible {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: scale(1.08);
}

.shop-float-contact__btn--zalo img,
.shop-float-contact__btn--messenger img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.shop-float-contact__btn--phone.btn-primary {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  color: var(--color-white);
  background: var(--gradient-energy);
  box-shadow: 0 2px 10px rgba(227, 108, 9, 0.2);
}

.shop-float-contact__btn--phone.btn-primary:hover,
.shop-float-contact__btn--phone.btn-primary:focus-visible {
  color: var(--color-white);
  background: var(--gradient-energy);
  border: none;
  filter: brightness(1.05);
  box-shadow: 0 2px 10px rgba(227, 108, 9, 0.2);
  outline: none;
}

.shop-float-contact__btn--phone.btn-primary svg {
  width: 20px;
  height: 20px;
}

.shop-float-contact__label {
  position: absolute;
  right: calc(100% + var(--space-3));
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--primary);
  background: var(--color-white);
  border: 1px solid rgba(0, 174, 239, 0.35);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.shop-float-contact__btn:hover .shop-float-contact__label,
.shop-float-contact__btn:focus-visible .shop-float-contact__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .shop-float-contact__btn,
  .shop-float-contact__label {
    transition: none;
  }
}

@media (max-width: 640px) {
  .shop-float-contact {
    bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
    padding: var(--space-1);
    gap: var(--space-1);
  }

  .shop-float-contact__btn {
    width: 40px;
    height: 40px;
  }

  .shop-float-contact__btn svg {
    width: 18px;
    height: 18px;
  }

  .shop-float-contact__btn--phone.btn-primary {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
  }

  .shop-float-contact__btn--phone.btn-primary svg {
    width: 18px;
    height: 18px;
  }

  .shop-float-contact__label {
    display: none;
  }
}

/* --- Sidebar AI Build - compact version for PLP sidebar --- */
.shop-sidebar-ai {
  margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-5);
  padding: var(--space-4);
  background: linear-gradient(135deg, rgba(227, 108, 9, 0.06), rgba(11, 36, 59, 0.03));
  border-bottom: 2px solid var(--color-orange);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.shop-sidebar-ai__head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.shop-sidebar-ai__badge {
  flex-shrink: 0;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: var(--gradient-tech);
  clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}

.shop-sidebar-ai__title {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  font-style: italic;
  color: var(--primary);
}

.shop-sidebar-ai__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.shop-sidebar-ai__form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-small);
  background: var(--color-white);
  color: var(--foreground);
}

.shop-sidebar-ai__form input:focus {
  outline: 2px solid var(--color-orange);
  outline-offset: 1px;
}

.shop-sidebar-ai__form input::placeholder {
  color: var(--muted-foreground);
  font-size: var(--text-xs);
}

.shop-sidebar-ai__form .btn-primary {
  width: 100%;
}

@media (max-width: 992px) {
  .shop-sidebar-ai {
    margin: 0 0 var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    border-bottom: 2px solid var(--color-orange);
  }
}

/* ============================================================
   Products page — Mobile improvements
   ============================================================ */

/* --- Filter drawer: base (desktop = transparent wrapper, no visual change) --- */
.shop-filter-drawer__close {
  display: none;
}

.shop-filter-drawer-backdrop {
  display: none;
}

.shop-plp__filter-btn {
  display: none;
}

/* --- Filter drawer: mobile off-canvas --- */
@media (max-width: 992px) {
  /* "Bộ lọc" toggle button — visible on mobile only */
  .shop-plp__filter-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0 var(--space-4);
    height: 36px;
    font-family: var(--font-display);
    font-size: var(--text-small);
    font-weight: 700;
    color: var(--primary);
    background: var(--background-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color var(--duration-fast), color var(--duration-fast);
  }

  .shop-plp__filter-btn:hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
  }

  .shop-plp__filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--color-orange);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }

  /* Drawer panel — starts below the sticky header so it never covers logo/nav */
  .shop-filter-drawer {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: min(320px, 88vw);
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 600;
    background: var(--background-muted);
    border-right: 1px solid var(--border);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .shop-filter-drawer.is-open {
    transform: translateX(0);
  }

  /* Drawer header / close button */
  .shop-filter-drawer__close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1;
    padding: var(--space-3) var(--space-4);
    background: var(--background-muted);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: var(--text-small);
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    border-left: none;
    border-right: none;
    border-top: none;
    border-radius: 0;
    min-height: 48px;
  }

  .shop-filter-drawer__close:hover {
    background: var(--color-white);
  }

  /* Sidebar inside drawer: reset positioning/visual since drawer provides the container */
  .shop-filter-drawer .shop-sidebar {
    position: static;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  /* Backdrop — same top offset as the drawer, header remains uncovered */
  .shop-filter-drawer-backdrop {
    display: block;
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 599;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .shop-filter-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* Categories: vertical tile grid filling the drawer width */
  .shop-filter-drawer .shop-filter-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: unset;
    overflow-x: visible;
    gap: var(--space-2);
    padding-bottom: 0;
  }

  .shop-filter-drawer .shop-filter-category {
    flex: none;
    min-width: 0;
    border: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
    white-space: normal;
    align-items: center;
    background: var(--color-white);
    transition: border-color var(--duration-fast), background var(--duration-fast);
  }

  .shop-filter-drawer .shop-filter-category:last-child {
    border-right: 1px solid var(--border);
  }

  .shop-filter-drawer .shop-filter-category:hover {
    padding-left: var(--space-3);
    border-color: var(--color-blue);
  }

  .shop-filter-drawer .shop-filter-category:has(input:checked) {
    border: 1px solid var(--color-orange);
    padding-left: var(--space-3);
    padding-bottom: var(--space-3);
    background: rgba(255, 107, 0, 0.06);
  }

  .shop-filter-drawer .shop-filter-category__chev {
    display: none;
  }

  /* Brands: wrap tile grid — no horizontal scroll, fills drawer width */
  .shop-filter-drawer .shop-filter-section--brands .shop-filter-section__scroll-hint {
    display: none;
  }

  .shop-filter-drawer .shop-filter-section--brands .shop-filter-group--brands {
    flex-direction: row;
    flex-wrap: wrap;
    overflow-x: visible;
    margin: 0;
    padding: 0;
    gap: var(--space-2);
    scroll-snap-type: none;
  }

  .shop-filter-drawer .shop-filter-section--brands .shop-filter-checkbox {
    flex: 0 0 auto;
    scroll-snap-align: none;
  }

  .shop-filter-drawer .shop-filter-section--brands .shop-filter-checkbox__label {
    padding: 10px 16px;
    font-size: var(--text-small);
  }
}

/* --- Toolbar mobile layout --- */
@media (max-width: 992px) {
  .shop-plp__toolbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-2) var(--space-3);
  }

  .shop-plp__sort {
    grid-column: 1 / -1;
    width: 100%;
  }

  .shop-plp__sort label {
    flex-shrink: 0;
  }

  .shop-plp__sort select {
    flex: 1;
    min-width: 0;
  }
}

/* --- Product grid: 1 column on very small screens --- */
@media (max-width: 360px) {
  .shop-product-grid--2col {
    grid-template-columns: 1fr;
  }
}

/* --- Product card: compact on mobile --- */
@media (max-width: 640px) {
  .product-card__body {
    padding: var(--space-3);
    gap: var(--space-1);
  }

  .product-card__actions .btn-primary,
  .product-card__actions .btn-outline-sm {
    min-height: 36px;
    height: 36px;
  }
}

/* --- Pagination: touch-friendly on mobile --- */
@media (max-width: 640px) {
  .shop-pagination button {
    min-width: 40px;
    height: 40px;
    font-size: var(--text-small);
  }
}

