/* ============================================
   SHARKBLUE E-COMMERCE — Global Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  /* Surface */
  --surface: #f7f9fc;
  --surface-dim: #d8dadd;
  --surface-bright: #f7f9fc;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f2f4f7;
  --surface-container: #eceef1;
  --surface-container-high: #e6e8eb;
  --surface-container-highest: #e0e3e6;
  --on-surface: #191c1e;
  --on-surface-variant: #5a4136;
  --inverse-surface: #2d3133;
  --inverse-on-surface: #eff1f4;

  /* Outline */
  --outline: #8e7164;
  --outline-variant: #e3bfb1;

  /* Primary — Action Orange */
  --primary: #a33e00;
  --on-primary: #ffffff;
  --primary-container: #ff6500;
  --on-primary-container: #551d00;
  --inverse-primary: #ffb596;

  /* Secondary — Trust Navy */
  --secondary: #005faf;
  --on-secondary: #ffffff;
  --secondary-container: #68a8fd;
  --on-secondary-container: #003c72;

  /* Tertiary */
  --tertiary: #4a607d;
  --on-tertiary: #ffffff;
  --tertiary-container: #8298b8;
  --on-tertiary-container: #1a304b;

  /* Error */
  --error: #ba1a1a;
  --on-error: #ffffff;
  --error-container: #ffdad6;
  --on-error-container: #93000a;

  /* Semantic shortcuts */
  --action-orange: #ff6500;
  --action-orange-hover: #e55b00;
  --trust-navy: #0060b1;
  --trust-navy-hover: #004d8e;
  --deep-space: #001933;
  --bg-page: #f2f4f7;
  --white: #ffffff;
  --border-light: #e2e8f0;
  --border-input: #cbd5e1;
  --text-muted: #64748b;

  /* Spacing (4px grid) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* Rounding */
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-dropdown: 0 8px 24px rgba(0,0,0,0.12);

  /* Container */
  --container-max: 1280px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
  background: var(--bg-page);
}

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

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-4); }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Typography --- */
.display-lg {
  font-size: 48px; font-weight: 700; line-height: 56px; letter-spacing: -0.02em;
}
.headline-lg {
  font-size: 32px; font-weight: 700; line-height: 40px;
}
.headline-md {
  font-size: 24px; font-weight: 700; line-height: 32px;
}
.price-xl {
  font-size: 36px; font-weight: 800; line-height: 36px; letter-spacing: -0.01em;
}
.body-lg {
  font-size: 18px; font-weight: 400; line-height: 28px;
}
.body-md {
  font-size: 16px; font-weight: 400; line-height: 24px;
}
.body-sm {
  font-size: 14px; font-weight: 400; line-height: 20px;
}
.label-bold {
  font-size: 12px; font-weight: 700; line-height: 16px;
}

@media (max-width: 768px) {
  .headline-lg { font-size: 24px; line-height: 30px; }
  .display-lg { font-size: 32px; line-height: 40px; }
}

/* ============================================
   TOP BAR (Benefits strip)
   ============================================ */
.top-bar {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
  padding: var(--sp-2) 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--on-surface);
}

.top-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  white-space: nowrap;
}

.top-bar__icon {
  font-size: 14px;
}

@media (max-width: 640px) {
  .top-bar__inner { gap: var(--sp-4); font-size: 11px; }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-3) 0;
  min-height: 56px;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--deep-space);
}

.header__logo-text span {
  color: var(--deep-space);
}

.header__nav {
  display: flex;
  gap: var(--sp-5);
  margin-left: var(--sp-2);
}

.header__nav li {
  list-style: none;
}

.header__nav a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--deep-space);
  transition: color 0.15s;
  white-space: nowrap;
}

.header__nav a:hover {
  color: var(--action-orange);
}

.header__search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.header__search-input {
  width: 100%;
  height: 40px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0 44px 0 var(--sp-4);
  font-size: 14px;
  background: var(--surface-container-low);
  transition: border-color 0.15s;
}

.header__search-input:focus {
  outline: none;
  border-color: var(--trust-navy);
  background: var(--white);
}

.header__search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--surface-container-high);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface);
  transition: background 0.15s;
}

.header__search-btn:hover {
  background: var(--surface-container-highest);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}

.header__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--deep-space);
  transition: background 0.15s, color 0.15s;
  position: relative;
}

.header__action-btn:hover {
  background: var(--surface-container);
  color: var(--action-orange);
}

.header__cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--action-orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu toggle */
.header__menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--deep-space);
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__menu-toggle { display: flex; }
  .header__search { max-width: 320px; }
}

@media (max-width: 640px) {
  .header__inner { gap: var(--sp-3); flex-wrap: wrap; }
  .header__search { order: 10; max-width: 100%; flex-basis: 100%; }
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--deep-space) 0%, #0a2a4a 50%, #0d3562 100%);
  min-height: 380px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,25,51,0.92) 0%, rgba(0,25,51,0.6) 50%, rgba(0,25,51,0.2) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-16) 0;
}

.hero__badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--action-orange);
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
}

.hero__title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  max-width: 520px;
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 400px;
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  background: var(--action-orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
}

.hero__cta:hover {
  background: var(--action-orange-hover);
  transform: translateY(-1px);
}

.hero__cta:active {
  transform: translateY(0);
}

/* Decorative glow */
.hero::after {
  content: '';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,101,0,0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero { min-height: 280px; }
  .hero__title { font-size: 28px; }
  .hero__content { padding: var(--sp-10) 0; }
}

/* ============================================
   CATEGORY BAR
   ============================================ */
.categories {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: var(--sp-5) 0;
}

.categories__list {
  display: flex;
  justify-content: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
}

.categories__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  cursor: pointer;
  transition: color 0.15s;
  color: var(--on-surface);
}

.categories__item:hover {
  color: var(--action-orange);
}

.categories__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--trust-navy);
  transition: color 0.15s;
}

.categories__item:hover .categories__icon {
  color: var(--action-orange);
}

.categories__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (max-width: 640px) {
  .categories__list { gap: var(--sp-6); }
  .categories__icon { width: 36px; height: 36px; font-size: 18px; }
}

/* ============================================
   SECTION — Generic
   ============================================ */
.section {
  padding: var(--sp-10) 0;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  gap: var(--sp-4);
}

.section__title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--deep-space);
}

.section__title-icon {
  color: var(--action-orange);
  font-size: 18px;
}

.section__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--trust-navy);
  transition: color 0.15s;
  white-space: nowrap;
}

.section__link:hover {
  color: var(--trust-navy-hover);
  text-decoration: underline;
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.countdown {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--action-orange);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
}

.countdown__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.countdown__digits {
  display: flex;
  align-items: center;
  gap: 4px;
}

.countdown__block {
  background: var(--deep-space);
  color: var(--white);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 800;
  min-width: 32px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.countdown__sep {
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.products-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--surface-container-highest);
}

.product-card:hover .product-card__image img {
  transform: scale(1.03);
}

.product-card__badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 2;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-card__badge--discount {
  background: var(--action-orange);
  color: var(--white);
}

.product-card__badge--new {
  background: #16a34a;
  color: var(--white);
}

.product-card__badge--hot {
  background: var(--error);
  color: var(--white);
}

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  background: var(--surface-container-low);
  overflow: hidden;
}

.product-card__image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card__wishlist {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
  z-index: 2;
}

.product-card__wishlist:hover {
  color: var(--error);
  background: #fff0f0;
}

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

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.product-card__stars {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23e0e3e6'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.56 5.82 22 7 14.14l-5-4.87 6.91-1.01L12 2z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 14px 14px;
}

.product-card__stars::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.56 5.82 22 7 14.14l-5-4.87 6.91-1.01L12 2z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 14px 14px;
  width: var(--star-percent, 100%);
}

.product-card__stars[data-rating="5"]  { --star-percent: 100%; }
.product-card__stars[data-rating="4.5"]{ --star-percent: 90%;  }
.product-card__stars[data-rating="4"]  { --star-percent: 80%;  }
.product-card__stars[data-rating="3.5"]{ --star-percent: 70%;  }
.product-card__stars[data-rating="3"]  { --star-percent: 60%;  }
.product-card__stars[data-rating="2.5"]{ --star-percent: 50%;  }
.product-card__stars[data-rating="2"]  { --star-percent: 40%;  }

.product-card__reviews {
  font-size: 12px;
  color: var(--text-muted);
}

.product-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: var(--on-surface);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: var(--sp-1);
}

/* Stock bar */
.product-card__stock {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-1);
}

.product-card__stock-bar {
  flex: 1;
  height: 6px;
  background: var(--surface-container);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.product-card__stock-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--action-orange), #ff8533);
  border-radius: var(--radius-full);
  position: relative;
}

.product-card__stock-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: stock-shimmer 2s infinite;
}

@keyframes stock-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.product-card__stock-text {
  font-size: 10px;
  font-weight: 700;
  color: var(--action-orange);
  white-space: nowrap;
}

.product-card__stock-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--error);
  text-transform: uppercase;
}

.product-card__pricing {
  margin-top: auto;
  padding-top: var(--sp-2);
}

.product-card__old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--action-orange);
  letter-spacing: -0.01em;
}

.product-card__price-note {
  font-size: 11px;
  color: var(--text-muted);
}

.product-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--trust-navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0;
  margin-top: var(--sp-2);
  transition: background 0.15s;
}

.product-card__cta:hover {
  background: var(--trust-navy-hover);
}

.product-card__cta svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 480px) {
  .product-card__price { font-size: 18px; }
  .product-card__title { font-size: 12px; }
}

/* ============================================
   PC BUILDER BANNER
   ============================================ */
.pc-builder {
  background: var(--trust-navy);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  overflow: hidden;
  position: relative;
}

.pc-builder__content {
  position: relative;
  z-index: 2;
}

.pc-builder__title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.pc-builder__subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-5);
  max-width: 360px;
}

.pc-builder__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  background: var(--white);
  color: var(--trust-navy);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
}

.pc-builder__cta:hover {
  background: var(--surface-container-low);
  transform: translateY(-1px);
}

.pc-builder__graphic {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  opacity: 0.35;
}

.pc-builder__graphic svg {
  width: 40px;
  height: 40px;
  color: var(--white);
}

/* Pattern overlay */
.pc-builder::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(255,255,255,0.03) 8px,
    rgba(255,255,255,0.03) 16px
  );
  z-index: 1;
}

@media (max-width: 640px) {
  .pc-builder { flex-direction: column; text-align: center; padding: var(--sp-6); }
  .pc-builder__subtitle { max-width: none; }
  .pc-builder__graphic { display: none; }
}

/* ============================================
   COUPON BANNER
   ============================================ */
.coupon-banner {
  background: var(--action-orange);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.coupon-banner__text {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--white);
}

.coupon-banner__icon {
  font-size: 24px;
}

.coupon-banner__label {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.coupon-banner__sublabel {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
}

.coupon-banner__code {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-5);
  background: var(--white);
  color: var(--action-orange);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  border: 2px dashed var(--action-orange);
  cursor: pointer;
  transition: transform 0.1s;
}

.coupon-banner__code:hover {
  transform: scale(1.03);
}

/* ============================================
   PARTNER BRANDS
   ============================================ */
.brands {
  padding: var(--sp-8) 0 var(--sp-10);
}

.brands__title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--trust-navy);
  margin-bottom: var(--sp-6);
}

.brands__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
}

.brands__item {
  font-size: 16px;
  font-weight: 800;
  color: var(--surface-container-highest);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  cursor: pointer;
}

.brands__item:hover {
  color: var(--trust-navy);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--deep-space);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-12) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-8);
}

.footer__brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.footer__brand-desc {
  font-size: 13px;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: var(--sp-5);
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
}

.footer__social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.15s, color 0.15s;
}

.footer__social-btn:hover {
  background: var(--action-orange);
  color: var(--white);
}

.footer__col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.footer__links li {
  margin-bottom: var(--sp-2);
}

.footer__links a {
  font-size: 13px;
  transition: color 0.15s;
}

.footer__links a:hover {
  color: var(--white);
}

/* Newsletter */
.footer__newsletter {
  display: flex;
  margin-top: var(--sp-3);
}

.footer__newsletter-input {
  flex: 1;
  height: 38px;
  padding: 0 var(--sp-3);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--white);
  font-size: 13px;
}

.footer__newsletter-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.footer__newsletter-btn {
  height: 38px;
  padding: 0 var(--sp-4);
  background: var(--action-orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background 0.15s;
}

.footer__newsletter-btn:hover {
  background: var(--action-orange-hover);
}

/* Payment */
.footer__payment-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-3);
}

.footer__payment-icons {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}

.footer__payment-icon {
  width: 36px;
  height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

.footer__payment-pix {
  font-size: 16px;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--sp-10);
  padding: var(--sp-5) 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

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

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

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.breadcrumb {
  padding: var(--sp-4) 0;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: var(--trust-navy);
}

.breadcrumb__sep {
  color: var(--surface-container-highest);
}

.breadcrumb__current {
  color: var(--on-surface);
  font-weight: 500;
}

/* PDP Layout */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  padding: var(--sp-6) 0 var(--sp-16);
}

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* Gallery */
.pdp__gallery {
  display: flex;
  gap: var(--sp-3);
}

.pdp__thumbs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.pdp__thumb {
  width: 64px;
  height: 64px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius);
  padding: var(--sp-1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: border-color 0.15s;
}

.pdp__thumb--active,
.pdp__thumb:hover {
  border-color: var(--trust-navy);
}

.pdp__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pdp__main-image {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8);
  position: relative;
  min-height: 400px;
}

.pdp__main-image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .pdp__gallery { flex-direction: column-reverse; }
  .pdp__thumbs { flex-direction: row; overflow-x: auto; }
  .pdp__thumb { width: 56px; height: 56px; flex-shrink: 0; }
  .pdp__main-image { min-height: 280px; }
}

/* PDP Info */
.pdp__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.pdp__brand {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--trust-navy);
}

.pdp__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--on-surface);
}

.pdp__rating {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.pdp__rating-stars {
  display: inline-block;
  position: relative;
  width: 90px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23e0e3e6'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.56 5.82 22 7 14.14l-5-4.87 6.91-1.01L12 2z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 18px 18px;
}

.pdp__rating-stars::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.56 5.82 22 7 14.14l-5-4.87 6.91-1.01L12 2z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 18px 18px;
  width: var(--star-percent, 100%);
}

.pdp__rating-stars[data-rating="5"]  { --star-percent: 100%; }
.pdp__rating-stars[data-rating="4.5"]{ --star-percent: 90%;  }
.pdp__rating-stars[data-rating="4"]  { --star-percent: 80%;  }
.pdp__rating-stars[data-rating="3.5"]{ --star-percent: 70%;  }
.pdp__rating-stars[data-rating="3"]  { --star-percent: 60%;  }

.pdp__rating-count {
  font-size: 14px;
  color: var(--text-muted);
}

.pdp__sku {
  font-size: 12px;
  color: var(--text-muted);
}

.pdp__divider {
  height: 1px;
  background: var(--border-light);
}

/* PDP Pricing */
.pdp__pricing {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.pdp__old-price {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pdp__price {
  font-size: 36px;
  font-weight: 800;
  color: var(--action-orange);
  letter-spacing: -0.01em;
}

.pdp__price-note {
  font-size: 13px;
  color: var(--text-muted);
}

.pdp__installment {
  font-size: 14px;
  color: var(--on-surface);
}

.pdp__installment strong {
  font-weight: 700;
}

/* PDP Specs mini */
.pdp__specs-mini {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
}

.pdp__spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  gap: var(--sp-4);
}

.pdp__spec-label {
  color: var(--text-muted);
}

.pdp__spec-value {
  font-weight: 600;
  color: var(--on-surface);
  text-align: right;
}

/* PDP Actions */
.pdp__quantity {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.pdp__qty-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface);
}

.pdp__qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-input);
  border-radius: var(--radius);
  overflow: hidden;
}

.pdp__qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--on-surface);
  background: var(--surface-container-low);
  transition: background 0.15s;
}

.pdp__qty-btn:hover {
  background: var(--surface-container);
}

.pdp__qty-value {
  width: 44px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border: none;
  background: var(--white);
}

.pdp__actions {
  display: flex;
  gap: var(--sp-3);
}

.pdp__add-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: var(--action-orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
}

.pdp__add-cart:hover {
  background: var(--action-orange-hover);
  transform: translateY(-1px);
}

.pdp__buy-now {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: var(--trust-navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
}

.pdp__buy-now:hover {
  background: var(--trust-navy-hover);
  transform: translateY(-1px);
}

/* PDP Trust badges */
.pdp__trust {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.pdp__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 12px;
  color: var(--text-muted);
}

.pdp__trust-icon {
  color: #16a34a;
  font-size: 16px;
}

/* PDP Tabs */
.pdp-tabs {
  padding: var(--sp-8) 0 var(--sp-16);
}

.pdp-tabs__nav {
  display: flex;
  border-bottom: 2px solid var(--border-light);
  gap: var(--sp-1);
  margin-bottom: var(--sp-6);
  overflow-x: auto;
}

.pdp-tabs__btn {
  padding: var(--sp-3) var(--sp-5);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.pdp-tabs__btn:hover {
  color: var(--on-surface);
}

.pdp-tabs__btn--active {
  color: var(--trust-navy);
  border-color: var(--trust-navy);
}

.pdp-tabs__content {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}

.pdp-tabs__panel {
  display: none;
}

.pdp-tabs__panel--active {
  display: block;
}

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: var(--sp-3) var(--sp-4);
  font-size: 14px;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--on-surface);
  width: 200px;
  background: var(--surface-container-low);
}

.specs-table td:last-child {
  color: var(--text-muted);
}
