/* ═══════════════════════════════════════════════
   MediaByteX Store — Universal Ecommerce Design System
   Modern · Animated · Mobile-First · Light Theme
═══════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

/* ─── TOKENS ─── */
:root {
  /* Brand */
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-light: #eff6ff;
  --brand-mid: #bfdbfe;

  /* Surface */
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e2e8f0;

  /* Text */
  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;

  /* Semantic */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;

  /* Structure */
  --border: #e2e8f0;
  --border-focus: #93c5fd;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm:
    0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg:
    0 8px 32px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.06);
  --shadow-brand: 0 4px 18px rgba(37, 99, 235, 0.3);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 150ms;
  --t-base: 240ms;
  --t-slow: 400ms;

  /* Layout */
  --container: 1280px;
  --header-h: 60px;

  /* Font */
  --font: "Outfit", "Plus Jakarta Sans", sans-serif;
  --font-alt: "Plus Jakarta Sans", sans-serif;
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  font: inherit;
  border: none;
  outline: none;
  background: none;
}
input,
textarea,
select {
  font: inherit;
  outline: none;
}
ul {
  list-style: none;
}

/* ─── UTILS ─── */
.container {
  width: min(calc(100% - 24px), var(--container));
  margin: 0 auto;
}
.hidden-mobile {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes shimmer {
  from {
    background-position: -400px 0;
  }
  to {
    background-position: 400px 0;
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Page entrance */
.page-enter {
  animation: fadeUp var(--t-slow) var(--ease-out) both;
}
.page-enter-2 {
  animation: fadeUp var(--t-slow) var(--ease-out) 80ms both;
}
.page-enter-3 {
  animation: fadeUp var(--t-slow) var(--ease-out) 160ms both;
}
.page-enter-4 {
  animation: fadeUp var(--t-slow) var(--ease-out) 240ms both;
}

/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base) var(--ease-out);
}
.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(calc(100% - 24px), var(--container));
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo img {
  height: 26px;
}
.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  gap: 2px;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--t-fast);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--brand-light);
  color: var(--brand);
}

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

.icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 16px;
  transition: all var(--t-fast);
  background: transparent;
}
.icon-btn:hover {
  background: var(--surface-2);
  color: var(--brand);
}
.icon-btn .badge-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid white;
  animation: pulse-dot 2s ease infinite;
}

/* Search bar in header (desktop) */
.header-search {
  display: none;
  flex: 1;
  max-width: 380px;
  background: var(--surface-2);
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  padding: 0 16px;
  height: 38px;
  align-items: center;
  gap: 10px;
  transition: all var(--t-base);
}
.header-search:focus-within {
  background: white;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.header-search i {
  color: var(--text-3);
  font-size: 13px;
  flex-shrink: 0;
}
.header-search input {
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-1);
  width: 100%;
}
.header-search input::placeholder {
  color: var(--text-3);
}

/* ═══════════════════════════════
   HERO — UNIVERSAL
═══════════════════════════════ */
.hero-wrap {
  margin: 12px auto 0;
  width: min(calc(100% - 24px), var(--container));
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  color: white;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  transition: transform 8s linear;
}
.hero:hover .hero-bg-img {
  transform: scale(1.04);
}

/* Gradient overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 23, 42, 0.1) 0%,
    rgba(15, 23, 42, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 12px;
  animation: fadeIn var(--t-slow) var(--ease-out) both;
}
.hero-tag i {
  font-size: 9px;
  color: #fbbf24;
  animation: pulse-dot 1.8s ease infinite;
}

.hero h1 {
  font-size: clamp(26px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  animation: fadeUp var(--t-slow) var(--ease-out) 80ms both;
}
.hero p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 20px;
  animation: fadeUp var(--t-slow) var(--ease-out) 160ms both;
}
.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  animation: fadeUp var(--t-slow) var(--ease-out) 240ms both;
}

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--t-base) var(--ease-out);
  white-space: nowrap;
  border: 1.5px solid transparent;
  user-select: none;
}
.btn {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
}
.btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.38);
}
.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background: white;
  color: var(--text-1);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}
.btn-full {
  width: 100%;
}

/* ═══════════════════════════════
   SECTIONS
═══════════════════════════════ */
.section {
  padding: 20px 0 8px;
}
.section + .section {
  padding-top: 0;
}

.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.sec-head h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sec-head a {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.sec-head a:hover {
  text-decoration: underline;
}

.sec-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}

/* ═══════════════════════════════
   MARQUEE STRIP
═══════════════════════════════ */
.trust-strip {
  background: var(--brand);
  color: white;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  margin: 12px 0 0;
}
.trust-inner {
  display: inline-flex;
  gap: 40px;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.95;
}
.trust-item i {
  font-size: 11px;
}

/* ═══════════════════════════════
   CATEGORY PILLS (horizontal scroll)
═══════════════════════════════ */
.cat-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 4px;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  min-width: 90px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--t-base) var(--ease-out);
  cursor: pointer;
}
.cat-pill:hover,
.cat-pill.active {
  background: var(--brand-light);
  border-color: var(--brand-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cat-pill.active {
  border-color: var(--brand);
}
.cat-pill .cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.cat-pill .cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-pill span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.cat-pill.active span {
  color: var(--brand);
}

/* ═══════════════════════════════
   PRODUCT CARDS
═══════════════════════════════ */
.grid-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.product-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 100%);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition:
    transform 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out);
  position: relative;
  animation: fadeUp var(--t-slow) var(--ease-out) both;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--brand-mid);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Stagger children */
.product-card:nth-child(1) {
  animation-delay: 0ms;
}
.product-card:nth-child(2) {
  animation-delay: 60ms;
}
.product-card:nth-child(3) {
  animation-delay: 120ms;
}
.product-card:nth-child(4) {
  animation-delay: 180ms;
}
.product-card:nth-child(5) {
  animation-delay: 240ms;
}
.product-card:nth-child(6) {
  animation-delay: 300ms;
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 1 / 1.05;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

/* subtle overlay */
.product-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0));
  pointer-events: none;
}

/* Badge */
.p-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.p-badge.new {
  background: var(--brand);
  color: #fff;
}
.p-badge.sale {
  background: var(--danger);
  color: #fff;
}
.p-badge.hot {
  background: var(--warning);
  color: var(--text-1);
}
.p-badge.best {
  background: var(--success);
  color: #fff;
}
.p-badge.trending {
  background: var(--danger);
  color: #fff;
}
/* Wish button */
.wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
  transition: all var(--t-fast);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.wish-btn:hover {
  color: var(--danger);
  transform: scale(1.08);
  background: #fff;
}

.wish-btn.active {
  color: var(--danger);
}

.product-info {
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.p-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.p-name {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--text-1);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}

.p-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.p-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.p-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.1;
}

.p-old {
  font-size: 11px;
  color: var(--text-3);
  text-decoration: line-through;
  line-height: 1;
}

.p-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--warning);
  white-space: nowrap;
  background: rgba(255, 193, 7, 0.1);
  padding: 5px 8px;
  border-radius: 999px;
}

/* tablet */
@media (min-width: 768px) {
  .grid-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .product-card {
    border-radius: 20px;
  }

  .product-info {
    padding: 15px;
  }

  .p-name {
    font-size: 15px;
    min-height: 42px;
  }

  .p-price {
    font-size: 17px;
  }
}

/* desktop */
@media (min-width: 1200px) {
  .grid-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .product-card:hover {
    transform: translateY(-6px);
  }

  .product-info {
    padding: 16px;
  }

  .p-name {
    font-size: 15px;
  }

  .p-price {
    font-size: 18px;
  }
}

/* small mobile */
@media (max-width: 575px) {
  .grid-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-img-wrap {
    aspect-ratio: 1 / 1.08;
  }

  .product-info {
    padding: 10px;
    gap: 6px;
  }

  .p-cat {
    font-size: 9px;
  }

  .p-name {
    font-size: 13px;
    min-height: 36px;
  }

  .p-price {
    font-size: 14px;
  }

  .p-old {
    font-size: 10px;
  }

  .p-rating {
    font-size: 10px;
    padding: 4px 7px;
  }

  .wish-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
    top: 7px;
    right: 7px;
  }

  .p-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 9px;
  }
}

/* very small devices */
@media (max-width: 380px) {
  .grid-products {
    gap: 8px;
  }

  .product-info {
    padding: 9px;
  }

  .p-name {
    font-size: 12.5px;
  }

  .p-price {
    font-size: 13px;
  }

  .p-rating {
    font-size: 9px;
    padding: 3px 6px;
  }
}
/* ═══════════════════════════════
   PROMO BANNER (UPDATED)
═══════════════════════════════ */
.promo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: center;
  padding: 22px 18px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
}

.promo-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -50px;
  right: -40px;
}

.promo-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.25);
  bottom: -20px;
  right: 40px;
}

/* Content */
.promo-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 4px;
}

.promo-card h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.promo-card p {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Input row */
.promo-row {
  display: flex;
  gap: 8px;
}

.promo-row input {
  flex: 1;
  border-radius: 8px;
  border: none;
  padding: 10px 12px;
  font-size: 13px;
  outline: none;
}

.promo-row button {
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 8px;
}

/* ═══════════════════════════════
   MOBILE OPTIMIZATION
═══════════════════════════════ */
@media (max-width: 576px) {

  .promo-card {
    padding: 16px 14px;
    gap: 10px !important;
  }

  .promo-card h3 {
    font-size: 17px;
  }

  .promo-card p {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .promo-tag {
    font-size: 9px;
  }

  /* Stack input + button */
  .promo-row {
    flex-direction: column;
    gap: 8px;
  }

  .promo-row input {
    width: 100%;
    padding: 10px;
    font-size: 13px;
  }

  .promo-row button {
    width: 100%;
    padding: 10px;
    font-size: 13px;
  }

  #subscribeMsg {
    font-size: 12px;
  }

  /* reduce background circles */
  .promo-card::before,
  .promo-card::after {
    display: none;
  }
}

/* ═══════════════════════════════
   SEARCH BOX
═══════════════════════════════ */
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0 18px;
  height: 52px;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
}
.search-box:focus-within {
  border-color: var(--border-focus);
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.1),
    var(--shadow-sm);
}
.search-box i {
  color: var(--text-3);
  font-size: 15px;
  flex-shrink: 0;
}
.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--text-1);
}
.search-box input::placeholder {
  color: var(--text-3);
}
.search-box .filter-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.search-box .filter-btn:hover {
  background: var(--brand);
  color: white;
}

/* ═══════════════════════════════
   FILTER CHIPS
═══════════════════════════════ */
.filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filter-scroll::-webkit-scrollbar {
  display: none;
}

.fchip {
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: all var(--t-fast);
}
.fchip:hover {
  border-color: var(--brand-mid);
  color: var(--brand);
  background: var(--brand-light);
}
.fchip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  font-weight: 600;
}

/* ═══════════════════════════════
   PAGE HEADER
═══════════════════════════════ */
.page-head {
  padding: 20px 0 14px;
}
.page-head h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.page-head p {
  font-size: 14px;
  color: var(--text-2);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 8px;
}
.breadcrumb a {
  color: var(--text-3);
}
.breadcrumb a:hover {
  color: var(--brand);
}
.breadcrumb i {
  font-size: 9px;
}

/* ═══════════════════════════════
   CARD (generic white card)
═══════════════════════════════ */
.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════
   FORMS
═══════════════════════════════ */
.form-stack {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  height: 48px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-1);
  transition: all var(--t-fast);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--border-focus);
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.field textarea {
  height: auto;
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-icon {
  position: relative;
}
.input-icon i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 14px;
  pointer-events: none;
}
.input-icon input {
  padding-left: 40px;
}

/* ═══════════════════════════════
   PRODUCT DETAIL PAGE
═══════════════════════════════ */
.pd-grid {
  display: grid;
  gap: 16px;
}
.pd-gallery {
  position: relative;
}
.pd-main-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 1/1.05;
  position: relative;
}
.pd-main-img img {
  width: 100%;
  height: 100%;
}
.pd-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.thumb-strip::-webkit-scrollbar {
  display: none;
}
.thumb {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  border: 2px solid transparent;
  transition: all var(--t-fast);
  cursor: pointer;
}
.thumb:hover {
  border-color: var(--brand-mid);
}
.thumb.active {
  border-color: var(--brand);
}
.thumb img {
  width: 100%;
  height: 100%;
}

.pd-info {
}
.pd-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}
.pd-name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.pd-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.stars {
  color: var(--warning);
  font-size: 13px;
}
.review-count {
  font-size: 13px;
  color: var(--text-2);
}
.pd-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.pd-price .price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pd-price .old-price {
  font-size: 16px;
  color: var(--text-3);
  text-decoration: line-through;
}
.pd-price .discount {
  padding: 3px 10px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}
.pd-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}

.option-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-1);
}
.size-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.sz-btn {
  min-width: 48px;
  height: 44px;
  padding: 0 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  transition: all var(--t-fast);
}
.sz-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.sz-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.color-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.clr-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid transparent;
  outline: 2px solid transparent;
  transition: all var(--t-fast);
  cursor: pointer;
}
.clr-btn.active {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 44px;
}
.qty-ctrl button {
  width: 44px;
  height: 100%;
  font-size: 18px;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--text-1);
  transition: background var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-ctrl button:hover {
  background: var(--brand-light);
  color: var(--brand);
}
.qty-ctrl span {
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  line-height: 42px;
}

.pd-actions {
  display: flex;
  gap: 10px;
}
.pd-actions .btn,
.pd-actions .btn-outline {
  flex: 1;
  height: 52px;
  font-size: 15px;
  border-radius: var(--radius);
}
.pd-wish {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-2);
  transition: all var(--t-fast);
}
.pd-wish:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-bg);
}

.features-list {
  display: grid;
  gap: 10px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.feature-item i {
  color: var(--success);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ═══════════════════════════════
   CHECKOUT
═══════════════════════════════ */
.checkout-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.step {
  flex: 1;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--surface-3);
  overflow: hidden;
}
.step.done {
  background: var(--success);
}
.step.active {
  background: var(--brand);
  position: relative;
  overflow: visible;
}
.step.active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}

.checkout-layout {
  display: grid;
  gap: 16px;
}

/* ═══════════════════════════════
   STICKY BOTTOM BAR
═══════════════════════════════ */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 800;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 10px 12px 14px;
  animation: fadeUp 300ms var(--ease-out) both;
}
.sticky-bar-inner {
  display: flex;
  gap: 10px;
  max-width: var(--container);
  margin: 0 auto;
}
.wish-bar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-2);
  transition: all var(--t-fast);
}
.wish-bar:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: var(--danger-bg);
}
.sticky-bar .btn {
  flex: 1;
  height: 52px;
  font-size: 15px;
  border-radius: var(--radius);
}
.sticky-bar .btn-outline {
  flex: 1;
  height: 52px;
  font-size: 15px;
  border-radius: var(--radius);
}

/* Checkout sticky */
.checkout-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 800;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 10px 12px 14px;
}
.checkout-bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--container);
  margin: 0 auto;
}
.total-label {
  flex: 1;
}
.total-label span {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.total-label strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.checkout-bar .btn {
  min-width: 160px;
  height: 52px;
  border-radius: var(--radius);
}

/* ═══════════════════════════════
   BOTTOM NAV
═══════════════════════════════ */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}

.bottom-nav a {
  position: relative;
  min-width: 0;
  text-decoration: none;
  color: var(--text-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 16px;
  transition: all 0.22s ease;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.bottom-nav a i {
  font-size: 18px;
  line-height: 1;
  transition: all 0.22s ease;
}

.bottom-nav a span {
  display: block;
}

.bottom-nav a:hover {
  color: var(--text-1);
  background: rgba(148, 163, 184, 0.08);
}

.bottom-nav a.active {
  color: var(--brand);
  background: rgba(37, 99, 235, 0.08);
}

.bottom-nav a.active i {
  transform: translateY(-1px) scale(1.04);
}

.bottom-nav-badge {
  position: absolute;
  top: 6px;
  left: 50%;
  margin-left: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5a5f, #ef4444);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(239, 68, 68, 0.22);
  transform: scale(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
  pointer-events: none;
  z-index: 2;
}

.bottom-nav-badge[data-count]:not([data-count="0"]) {
  transform: scale(1);
  opacity: 1;
}

.bottom-nav-badge.bump {
  animation: bottomBadgeBump 0.28s ease;
}

@keyframes bottomBadgeBump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.22);
  }
  100% {
    transform: scale(1);
  }
}

@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}

@media (max-width: 420px) {
  .bottom-nav a {
    font-size: 10px;
    padding: 7px 2px;
    gap: 3px;
  }

  .bottom-nav a i {
    font-size: 17px;
  }

  .bottom-nav-badge {
    top: 5px;
    margin-left: 10px;
    min-width: 12px;
    height: 14px;
    font-size: 10px;
    border-width: 1.5px;
  }
}
/* ═══════════════════════════════
   AUTH PAGES
═══════════════════════════════ */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 20px 12px 80px;
}
.auth-card {
  width: min(100%, 420px);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  animation: scaleIn 350ms var(--ease-spring) both;
}
.auth-logo {
  text-align: center;
  margin-bottom: 20px;
}
.auth-logo .logo-text {
  font-size: 22px;
}
.auth-card h1 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.auth-card .sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 22px;
}
.auth-footer {
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
  margin-top: 16px;
}
.auth-footer a {
  color: var(--brand);
  font-weight: 600;
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}
.divider span {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  transition: all var(--t-fast);
}
.social-btn:hover {
  background: var(--surface-2);
  border-color: var(--brand-mid);
}

/* ═══════════════════════════════
   ACCOUNT PAGE
═══════════════════════════════ */
.account-layout {
  display: grid;
  gap: 14px;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: linear-gradient(135deg, var(--brand) 0%, #3b82f6 100%);
  border-radius: var(--radius-xl);
  color: white;
}
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}
.profile-name {
  font-size: 17px;
  font-weight: 700;
}
.profile-email {
  font-size: 13px;
  opacity: 0.8;
}

.account-menu {
  display: grid;
  gap: 8px;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--t-fast);
}
.menu-item:hover {
  background: var(--brand-light);
  border-color: var(--brand-mid);
}
.menu-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--brand);
  flex-shrink: 0;
}
.menu-label {
  font-size: 14px;
  font-weight: 600;
}
.menu-desc {
  font-size: 12px;
  color: var(--text-3);
}
.menu-arrow {
  color: var(--text-3);
  font-size: 12px;
}

/* ═══════════════════════════════
   ORDERS
═══════════════════════════════ */
.order-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: grid;
  gap: 10px;
  animation: fadeUp var(--t-base) var(--ease-out) both;
}
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.order-id {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
}
.order-date {
  font-size: 12px;
  color: var(--text-3);
}
.status-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.status-pill.processing {
  background: var(--brand-light);
  color: var(--brand);
}
.status-pill.shipped {
  background: var(--warning-bg);
  color: var(--warning);
}
.status-pill.delivered {
  background: var(--success-bg);
  color: var(--success);
}
.status-pill.cancelled {
  background: var(--danger-bg);
  color: var(--danger);
}

.order-items-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.order-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}
.order-thumb img {
  width: 100%;
  height: 100%;
}

.timeline {
  display: grid;
  gap: 0;
}
.tl-item {
  display: flex;
  gap: 14px;
  position: relative;
}
.tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  width: 2px;
  height: calc(100% - 4px);
  background: var(--border);
}
.tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-light);
  border: 2px solid var(--brand);
  display: grid;
  place-items: center;
  font-size: 8px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}
.tl-dot.done {
  background: var(--brand);
  color: white;
}
.tl-body {
  padding-bottom: 16px;
}
.tl-title {
  font-size: 14px;
  font-weight: 600;
}
.tl-text {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.55;
}

/* ═══════════════════════════════
   WISHLIST
═══════════════════════════════ */
.wishlist-layout {
  display: grid;
  gap: 14px;
}
.wishlist-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  animation: fadeUp var(--t-base) var(--ease-out) both;
}
.wishlist-img {
  width: 80px;
  height: 92px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}
.wishlist-img img {
  width: 100%;
  height: 100%;
}
.wishlist-meta {
  flex: 1;
}
.wishlist-meta h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.wishlist-meta .price {
  font-size: 17px;
  font-weight: 700;
  margin: 6px 0;
}
.wishlist-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

/* ═══════════════════════════════
   ORDER SUCCESS
═══════════════════════════════ */
.success-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 16px 80px;
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 32px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 2px solid var(--success);
  animation: scaleIn 500ms var(--ease-spring) both;
}
.success-page h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.success-page p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  max-width: 340px;
  margin: 0 auto 24px;
}
.order-number {
  display: inline-block;
  padding: 8px 20px;
  background: var(--brand-light);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 24px;
}

/* ═══════════════════════════════
   FAQ
═══════════════════════════════ */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  gap: 12px;
  background: none;
  cursor: pointer;
}
.faq-q i {
  color: var(--text-3);
  transition: transform var(--t-base);
  flex-shrink: 0;
}
.faq-item.open .faq-q i {
  transform: rotate(180deg);
  color: var(--brand);
}
.faq-a {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  padding-bottom: 16px;
  display: none;
}
.faq-item.open .faq-a {
  display: block;
  animation: fadeUp 250ms var(--ease-out) both;
}

/* ═══════════════════════════════
   CONTACT
═══════════════════════════════ */
.contact-cards {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-info-card p {
  font-size: 13px;
  color: var(--text-2);
}

/* ═══════════════════════════════
   ABOUT PAGE
═══════════════════════════════ */
.about-hero {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
}
.about-hero img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stat-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
}
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
  margin-top: 2px;
}

/* ═══════════════════════════════
   SKELETON LOADER
═══════════════════════════════ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface-3) 50%,
    var(--surface-2) 75%
  );
  background-size: 400px 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════ */
.toast {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-1);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 300ms var(--ease-spring) both;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.toast.success {
  background: var(--success);
}
.toast.error {
  background: var(--danger);
}
.toast i {
  font-size: 16px;
}

/* ═══════════════════════════════
   RESPONSIVE — TABLET & UP
═══════════════════════════════ */
@media (min-width: 600px) {
  .grid-products {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
  .hidden-mobile {
    display: flex !important;
  }
  .nav-links {
    display: flex;
  }
  .header-search {
    display: flex;
  }
  .bottom-nav {
    display: none;
  }
  .sticky-bar {
    display: none;
  }
  .checkout-bar {
    display: none;
  }

  .hero {
    min-height: 480px;
    padding: 48px;
  }
  .hero h1 {
    font-size: 48px;
  }

  .grid-products {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .pd-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .cart-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
  .checkout-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
  .account-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .pd-actions .btn {
    height: 52px;
  }
  .pd-wish {
    height: 52px;
    width: 52px;
  }

  /* Show desktop CTA on product detail */
  .pd-cta-desktop {
    display: flex;
  }
  .pd-cta-mobile {
    display: none;
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-top {
    grid-template-columns: 1.4fr 2fr;
  }
}

@media (min-width: 1024px) {
  .grid-products {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero {
    min-height: 540px;
  }
}

/* Hide desktop CTA on mobile */
.pd-cta-desktop {
  display: none;
}
.pd-cta-mobile {
  display: flex;
}
/* Mobile search overlay bar */
.mobile-search-bar {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 1200;
  padding: 10px 16px 0;
  background: transparent;
  display: none;
}

.mobile-search-bar.show {
  display: block;
}

.mobile-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 0 14px;
  min-height: 52px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.mobile-search-form i.fa-magnifying-glass {
  color: #64748b;
  font-size: 16px;
  flex: 0 0 auto;
}

.mobile-search-form input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #0f172a;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.mobile-search-form input::placeholder {
  color: #94a3b8;
}

.mobile-search-close {
  width: 34px;
  height: 34px;
  border: 0;
  outline: none;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0;
}

.mobile-search-close i {
  font-size: 15px;
  line-height: 1;
}

.mobile-search-close:hover {
  background: #eef2f7;
}

@media (min-width: 768px) {
  .mobile-search-bar {
    display: none !important;
  }
}

/*  */
/* product detail CTA */
.pd-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.pd-wish {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-wish:hover {
  color: var(--danger);
  border-color: var(--danger);
}

.pd-cta-desktop .btn,
.pd-cta-desktop .btn-outline {
  min-width: 0;
}

/* mobile sticky footer */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 70px; /* agar mobile bottom nav hai */
  z-index: 1200;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.sticky-bar-inner {
  display: grid;
  grid-template-columns: 52px 1fr 1fr;
  gap: 10px;
  max-width: 100%;
}

.wish-bar,
.sticky-bar .btn,
.sticky-bar .btn-outline {
  height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.wish-bar {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
}

.wish-bar i {
  font-size: 18px;
}

.sticky-bar .btn-outline {
  padding: 0 14px;
}

.sticky-bar .btn {
  padding: 0 14px;
}

.wish-bar.active,
.pd-wish.active,
.wish-btn.active {
  color: var(--danger);
  border-color: var(--danger);
}

/* related card buttons */
.product-card-wrap {
  min-width: 0;
}

.product-card {
  position: relative;
  height: 100%;
}

.product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
/* Default (desktop) */
.add-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  cursor: pointer;
  transition: all 0.22s ease;
}

.add-btn i {
  font-size: 15px;
}

/* Tablet */
@media (max-width: 991px) {
  .add-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
  }

  .add-btn i {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .add-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 11px;
  }

  .add-btn i {
    font-size: 13px;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .add-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 10px;
  }

  .add-btn i {
    font-size: 12px;
  }
}

/* responsive visibility */
@media (min-width: 768px) {
  .pd-cta-desktop {
    display: flex !important;
  }

  .pd-cta-mobile,
  .sticky-bar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .pd-cta-desktop {
    display: none !important;
  }

  .pd-cta-mobile,
  .sticky-bar {
    display: block !important;
  }

  .pd-info {
    padding-bottom: 92px; /* sticky CTA ke liye space */
  }
}

@media (max-width: 420px) {
  .sticky-bar-inner {
    grid-template-columns: 48px 1fr 1fr;
    gap: 8px;
  }

  .wish-bar,
  .sticky-bar .btn,
  .sticky-bar .btn-outline {
    height: 46px;
    font-size: 13px;
    border-radius: 12px;
  }
}

/*  */

.header-search {
  flex: 1;
  max-width: 420px;
  margin: 0 20px;
}

.header-search-form {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;

  border-radius: 14px;
  padding: 0 14px 0 38px;
  transition: all 0.2s ease;
}

.header-search-form i {
  position: absolute;
  left: 14px;
  font-size: 14px;
  color: #94a3b8;
}

.header-search-form input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #0f172a;
}

.header-search-form input::placeholder {
  color: #94a3b8;
}

/* Focus effect */
.header-search-form:focus-within {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

/* Hover */
.header-search-form:hover {
  background: #fff;
}

/* Responsive */
@media (max-width: 991px) {
  .header-search {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .header-search {
    display: none !important;
  }
}

/*  */
#shopResultsInner {
  transition: opacity 0.18s ease;
}

#shopResultsInner.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.filter-scroll a,
.pagination a,
#sortForm select {
  transition: all 0.18s ease;
}
/*  */
.add-btn,
.wish-btn {
  transition: all 0.22s ease;
}

.add-btn.loading,
.wish-btn.loading {
  pointer-events: none;
  opacity: 0.9;
}

.add-btn.added {
  background: var(--success);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.22);
}

.add-btn.added:hover {
  background: var(--success);
  color: #fff;
}

.wish-btn.active {
  color: var(--danger);
  background: rgba(255, 255, 255, 0.96);
  transform: scale(1.06);
}

.wish-btn.active i {
  color: var(--danger);
}

/*  */
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: var(--text-2);
  font-size: 16px;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: #eef2f7;
  color: var(--text-1);
}

/* Badge */
.icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: scale(0);
  transition: all 0.25s ease;
}

/* show badge */
.icon-btn.has-badge .badge[data-count]:not([data-count="0"]) {
  transform: scale(1);
}

/* animate when updated */
.icon-btn .badge.bump {
  animation: bump 0.3s ease;
}

@keyframes bump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

/*  */
/* =========================
   CART PAGE
========================= */

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 420px);
  gap: 22px;
  align-items: start;
}

#cartItemsWrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.cart-img {
  width: 100%;
}

.cart-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  background: var(--surface-2);
}

.cart-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cart-tags .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
}

.cart-bottom-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cart-bottom-row > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.qty-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px !important;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}

.qty-ctrl .qty-change {
  width: 40px !important;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--text-1);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.qty-ctrl .qty-change:hover {
  background: var(--surface-2);
}

.qty-ctrl .qty-display {
  min-width: 42px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.remove-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.remove-btn:hover {
  background: rgba(239, 68, 68, 0.06);
  transform: translateY(-1px);
}

.order-summary,
.card {
  border-radius: 18px;
}

.order-summary {
  position: sticky;
  top: 92px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
}

.summary-row.total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 17px;
}

.free-ship-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--text-1);
  font-size: 13px;
  font-weight: 600;
}

.free-ship-note i {
  color: var(--brand);
  margin-right: 6px;
}

.promo-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-full {
  width: 100%;
}

/* Tablet */
@media (max-width: 991px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .order-summary {
    position: static;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .cart-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .cart-img img {
    border-radius: 12px;
  }

  .cart-item-name {
    font-size: 14px;
  }

  .cart-bottom-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cart-bottom-row > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }

  .cart-bottom-row > div:last-child {
    justify-content: space-between;
    width: 100%;
  }

  .qty-ctrl {
    height: 38px !important;
  }

  .qty-ctrl .qty-change {
    width: 36px !important;
    height: 38px;
    font-size: 17px;
  }

  .qty-ctrl .qty-display {
    min-width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .remove-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 11px;
  }

  .promo-row {
    flex-direction: column;
    align-items: stretch;
  }

  .promo-row .btn,
  .promo-row .btn-sm,
  #applyCoupon {
    width: 100%;
    height: 46px;
  }

  .summary-row {
    font-size: 13px;
  }

  .summary-row.total {
    font-size: 16px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 10px;
    gap: 10px;
  }

  .cart-item-name {
    font-size: 13px;
  }

  .cart-tags .tag {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .qty-ctrl .qty-change {
    width: 34px !important;
  }

  .qty-ctrl .qty-display {
    min-width: 34px;
  }
}

/*  */
.empty-cart-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* vertical center */
  text-align: center;

  min-height: 300px;
  padding: 40px 20px;

  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* icon */
.empty-icon {
  font-size: 48px;
  color: var(--text-3);
  margin-bottom: 14px;
}

/* title */
.empty-cart-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
}

/* description */
.empty-cart-box p {
  color: var(--text-2);
  margin-top: 6px;
  font-size: 14px;
}

/* button */
.empty-btn {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 767px) {
  .empty-cart-box {
    min-height: 240px;
    padding: 30px 16px;
  }

  .empty-icon {
    font-size: 38px;
  }

  .empty-cart-box h3 {
    font-size: 18px;
  }
}
.cart-empty-mode {
  display: flex !important;
  justify-content: center; /* horizontal center */
  align-items: center; /* vertical center */
  min-height: 60vh; /* screen me center */
}

/* empty box width control */
.cart-empty-mode .empty-cart-box {
  width: 100%;
  max-width: 520px;
}

/*  */
.footer {
  margin-top: 48px;
  background: linear-gradient(180deg, var(--text-1) 0%, #111827 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 42px 0 18px;
}

.footer .container {
  max-width: 1200px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 2fr);
  gap: 34px;
  align-items: start;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 14px;
}

.footer-about {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-2);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.footer-contact-info span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--surface-3);
  font-size: 13px;
  line-height: 1.5;
}

.footer-contact-info span i {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.14);
}

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

.footer-links-col h5 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--surface);
  letter-spacing: 0.01em;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-col a {
  text-decoration: none;
  color: var(--surface-3);
  font-size: 13px;
  line-height: 1.5;
  transition: all 0.18s ease;
}

.footer-links-col a:hover {
  color: var(--brand);
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.social-icon:hover {
  color: var(--brand);
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.04);
  transform: translateY(-2px);
}

/* laptop / tablet */
@media (max-width: 991px) {
  .footer {
    padding: 34px 0 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
}

/* mobile */
@media (max-width: 767px) {
  .footer {
    margin-top: 34px;
    padding: 28px 0 14px;
  }

  .footer-top {
    gap: 22px;
  }

  .footer-logo {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .footer-about {
    font-size: 13px;
    line-height: 1.7;
  }

  .footer-contact-info {
    gap: 8px;
    margin-top: 14px;
  }

  .footer-contact-info span {
    font-size: 12.5px;
  }

  .footer-contact-info span i {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 9px;
    font-size: 11px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .footer-links-col h5 {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .footer-links-col a {
    font-size: 12.5px;
  }

  .footer-bottom {
    margin-top: 22px;
    padding-top: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-copy {
    font-size: 12px;
  }

  .social-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 13px;
  }
}

/* very small mobile */
@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }

  .footer-links-col {
    gap: 8px;
  }

  .footer-links-col a {
    line-height: 1.4;
  }
}

/*  */
@media (max-width: 767px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

/*  */
/* ═══════════════════════════════
   OFFER BANNER (BG IMAGE STYLE)
═══════════════════════════════ */

.offer-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 26px 24px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  min-height: 180px;
}

/* FULL BACKGROUND IMAGE */
.offer-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* DARK OVERLAY */
.offer-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.25) 100%
  );
  z-index: 1;
}

/* CONTENT */
.offer-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

/* TEXT */
.offer-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 6px;
}

.offer-banner h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.offer-banner p {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 10px;
}

/* BADGE */
.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

/* ═══════════════════════════════
   MOBILE (IMPORTANT 🔥)
═══════════════════════════════ */
@media (max-width: 576px) {

  .offer-banner {
    padding: 18px 14px;
    min-height: 150px;
  }

  .offer-content {
    max-width: 100%;
  }

  .offer-banner h3 {
    font-size: 16px;
  }

  .offer-banner p {
    font-size: 12px;
  }

  /* stronger overlay for readability */
  .offer-banner::before {
    background: rgba(0,0,0,0.65);
  }
}