/* ============================================================
   CAOMISA — Pet Clothing E-Commerce
   Complete Stylesheet
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS (Custom Properties)
   ---------------------------------------------------------- */
:root {
  /* Brand palette */
  --brand-primary: #f97c00;
  --brand-primary-hover: #e06e00;
  --brand-secondary: #001a64;
  --brand-dark: #000b2f;
  --accent: #d96500;
  --success: #11a827;
  --danger: #e53e3e;

  /* Text */
  --text-main: #2d3748;
  --text-muted: #718096;
  --text-on-dark: #ffffff;
  --text-on-primary: #ffffff;

  /* Backgrounds */
  --bg-light: #f7fafc;
  --bg-card: #ffffff;
  --bg-body: #f7fafc;

  /* Lines / borders */
  --line: #edf2f7;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.14);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transition */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1300px;
  --footer-max-width: 1200px;
}

/* ----------------------------------------------------------
   2. GLOBAL RESETS
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.cart-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

[hidden] {
  display: none !important;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ----------------------------------------------------------
   3. TOP STRIP — Announcement Ticker
   ---------------------------------------------------------- */
.top-strip {
  min-height: 40px;
  background: linear-gradient(90deg, #f97c00, #ff9a1f, #f97c00);
  color: var(--text-on-primary);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.top-strip .promo-marquee {
  display: flex;
  width: max-content;
  animation: promoMarquee 22s linear infinite;
  will-change: transform;
}

.top-strip .promo-marquee-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@keyframes promoMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ----------------------------------------------------------
   4. HEADER
   ---------------------------------------------------------- */
.site-header {
  background: linear-gradient(90deg, #020b36, #061d68, #0a348e);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 900;
}

.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Left slot (search) */
.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Center slot (brand) */
.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.brand-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-on-dark);
  letter-spacing: 0.02em;
}

/* Right slot (cart) */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* Icon buttons */
.icon-button {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  position: relative;
  border: none;
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.icon-button svg,
.icon-button img {
  width: 22px;
  height: 22px;
}

/* Cart badge */
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--brand-primary);
  color: var(--text-on-primary);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}

/* Main navigation */
.main-nav {
  background: rgba(0, 0, 0, 0.12);
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 46px;
}

.main-nav .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 0;
  transition: var(--transition);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: #ffffff;
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  width: 100%;
}

/* Menu toggle — hidden on desktop */
.menu-toggle {
  display: none;
}

/* ----------------------------------------------------------
   5. BANNER SLIDER
   ---------------------------------------------------------- */
.store-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.banner-slider {
  position: relative;
  min-height: clamp(320px, 34vw, 520px);
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.banner-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.banner-slide.prev {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 1;
}

.banner-slide.next {
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-controls {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active {
  width: 24px;
  background: var(--brand-primary);
}

/* ----------------------------------------------------------
   6. SEARCH PANEL
   ---------------------------------------------------------- */
.search-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-card);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-xl);
  padding: 20px 24px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.search-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  animation: slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.search-panel .search-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  align-items: center;
}

.search-panel input[type='search'],
.search-panel input[type='text'] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-family);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.search-panel input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(249, 124, 0, 0.15);
}

.search-panel .search-close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.search-panel .search-close:hover {
  background: var(--bg-light);
  color: var(--text-main);
}

/* ----------------------------------------------------------
   7. SECTIONS (Shared)
   ---------------------------------------------------------- */
.section {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 0 24px;
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  padding-bottom: 12px;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
}

.section-heading p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

/* ----------------------------------------------------------
   8. PRODUCT GRID
   ---------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: var(--transition);
  will-change: transform, box-shadow;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card .product-image {
  position: relative;
  aspect-ratio: 1 / 0.98;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #f97c00, #ff9a1f);
  color: var(--text-on-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 3;
  letter-spacing: 0.02em;
}

.product-info {
  padding: 14px 16px 18px;
  text-align: center;
}

.product-info h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-line .current-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #11a827;
}

.price-line .old-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ----------------------------------------------------------
   9. BUTTONS
   ---------------------------------------------------------- */
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--brand-primary);
  color: var(--text-on-primary);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  will-change: transform;
}

.primary-button:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.primary-button:active {
  transform: translateY(0);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--bg-card);
  color: var(--brand-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  border: 2px solid var(--line);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.secondary-button:hover {
  background: var(--brand-secondary);
  color: var(--text-on-dark);
  border-color: var(--brand-secondary);
}

/* ----------------------------------------------------------
   10. COLLECTIONS GRID
   ---------------------------------------------------------- */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.collection-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: var(--transition);
  cursor: pointer;
}

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

.collection-card .collection-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.collection-card .collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .collection-image img {
  transform: scale(1.06);
}

.collection-card .collection-title {
  padding: 12px 14px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Collection carousel arrows */
.collection-carousel {
  position: relative;
}

.collection-carousel .carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  color: var(--text-main);
}

.collection-carousel .carousel-arrow:hover {
  background: var(--brand-primary);
  color: var(--text-on-primary);
  border-color: var(--brand-primary);
}

.collection-carousel .carousel-arrow.prev {
  left: -16px;
}

.collection-carousel .carousel-arrow.next {
  right: -16px;
}

/* ----------------------------------------------------------
   11. PROMO BANNERS
   ---------------------------------------------------------- */
.promo-banner {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.promo-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.visual-loading-slot {
  width: 100%;
  aspect-ratio: 1920 / 600;
  background: linear-gradient(135deg, var(--bg-light), var(--line), var(--bg-light));
  background-size: cover;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ----------------------------------------------------------
   12. ABOUT MORE
   ---------------------------------------------------------- */
.about-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-photo-placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-light), var(--line));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  overflow: hidden;
}

.about-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------
   13. FEATURE ROW
   ---------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-row article {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  will-change: transform;
}

.feature-row article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-row .feature-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  color: var(--brand-primary);
}

.feature-row .feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand-primary);
}

.feature-row article h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.feature-row article p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----------------------------------------------------------
   14. CART DRAWER
   ---------------------------------------------------------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.cart-overlay.open {
  display: block;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 11, 47, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 100%;
  height: 100%;
  background: var(--bg-card);
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: slideInCart 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: transform;
}

@keyframes slideInCart {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Cart header */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.cart-header .cart-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.cart-header .cart-close:hover {
  background: var(--bg-light);
  color: var(--text-main);
}

/* Cart items */
.cart-items {
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item .cart-item-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-light);
}

.cart-item .cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item .cart-item-details h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 4px;
}

.cart-item .cart-item-details .cart-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--success);
}

/* Mini stepper (quantity) */
.mini-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mini-stepper button {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.mini-stepper button:hover {
  background: var(--line);
}

.mini-stepper .qty-value {
  width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-card);
}

.cart-item-remove {
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
  padding: 4px;
}

.cart-item-remove:hover {
  color: var(--danger);
}

/* Empty cart */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.95rem;
  gap: 12px;
}

/* Cart summary / footer */
.cart-summary {
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-light);
}

.cart-summary .summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-summary .summary-row:last-of-type {
  margin-bottom: 16px;
}

.cart-summary .summary-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cart-summary .summary-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.cart-summary .summary-total .summary-value {
  font-size: 1.1rem;
  color: var(--success);
}

.cart-summary .checkout-button {
  width: 100%;
  padding: 14px;
  background: var(--brand-primary);
  color: var(--text-on-primary);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.cart-summary .checkout-button:hover {
  background: var(--brand-primary-hover);
  box-shadow: var(--shadow-lg);
}

/* ----------------------------------------------------------
   15. TOAST NOTIFICATIONS
   ---------------------------------------------------------- */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 3000;
  background: var(--brand-dark);
  color: var(--text-on-dark);
  padding: 14px 24px 14px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-primary);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-12px) translateX(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  will-change: opacity, transform;
}

.toast.show {
  opacity: 1;
  transform: translateY(0) translateX(0);
  pointer-events: auto;
}

.toast.hide {
  opacity: 0;
  transform: translateY(-12px) translateX(20px);
}

/* ----------------------------------------------------------
   16. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: linear-gradient(90deg, #020b36, #061d68, #0a348e);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #f97c00, #ff9a1f, #f97c00) 1;
  margin-top: 60px;
  color: var(--text-on-dark);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--footer-max-width);
  margin: 0 auto;
  padding: 48px 24px 40px;
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  margin-bottom: 16px;
}

.footer-section h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}

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

.footer-section p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--brand-primary);
  color: var(--text-on-primary);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

/* CSS-mask based social icons */
.social-icon .icon-mask {
  width: 18px;
  height: 18px;
  background-color: currentColor;
  display: inline-block;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Payment methods */
.payment-methods {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.payment-methods img {
  height: 24px;
  width: auto;
  opacity: 0.8;
  transition: var(--transition);
}

.payment-methods img:hover {
  opacity: 1;
}

/* ----------------------------------------------------------
   17. FOOTER BOTTOM
   ---------------------------------------------------------- */
.footer-bottom {
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
  padding: 16px 24px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

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

/* ----------------------------------------------------------
   18. PERSONALIZATION MODAL
   ---------------------------------------------------------- */
.personalization-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
}

.personalization-overlay.open {
  display: flex;
}

.personalization-overlay .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 11, 47, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease forwards;
}

.personalization-dialog {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 32px 28px;
  width: 420px;
  max-width: 92vw;
  animation: modalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.personalization-dialog h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

.personalization-dialog .field-group {
  margin-bottom: 16px;
}

.personalization-dialog label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.personalization-dialog input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-family: var(--font-family);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.personalization-dialog input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(249, 124, 0, 0.12);
}

.personalization-preview {
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
  text-align: center;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.personalization-preview .preview-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.personalization-preview .preview-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}

.personalization-dialog .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* ----------------------------------------------------------
   19. CART PERSONALIZATION TAG
   ---------------------------------------------------------- */
.cart-personalization {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 3px 10px;
  background: rgba(249, 124, 0, 0.08);
  border: 1px solid rgba(249, 124, 0, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 600;
}

.cart-personalization .pers-name {
  text-transform: uppercase;
}

.cart-personalization .pers-number {
  font-weight: 800;
}

/* ----------------------------------------------------------
   20. MOBILE RESPONSIVE — max-width: 760px
   ---------------------------------------------------------- */
@media (max-width: 760px) {
  /* Menu toggle visible */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-on-dark);
    border: none;
    cursor: pointer;
  }

  /* Nav becomes full-screen overlay */
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 950;
    background: rgba(0, 11, 47, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 24px;
  }

  .main-nav .nav-link {
    font-size: 1.2rem;
  }

  /* Header adjustments */
  .header-main {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand-logo {
    height: 34px;
  }

  /* Banner */
  .banner-slider {
    min-height: clamp(200px, 50vw, 320px);
  }

  /* Sections */
  .section {
    padding: 0 16px;
    margin-top: 28px;
  }

  .section-heading h2 {
    font-size: 1.25rem;
  }

  /* Product grid: 2 columns */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-info {
    padding: 10px 12px 14px;
  }

  .product-info h3 {
    font-size: 0.82rem;
  }

  .price-line .current-price {
    font-size: 0.92rem;
  }

  .price-line .old-price {
    font-size: 0.78rem;
  }

  /* Collections: horizontal scroll */
  .collections-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 8px;
  }

  .collections-grid::-webkit-scrollbar {
    display: none;
  }

  .collection-card {
    min-width: 65vw;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .collection-carousel .carousel-arrow {
    display: flex;
  }

  /* Feature row: 2 columns */
  .feature-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* About grid */
  .about-more-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer single column */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px 32px;
  }

  .footer-section h4::after {
    left: 0;
  }

  /* Cart panel full width */
  .cart-panel {
    width: 100%;
  }

  /* Toast */
  .toast {
    right: 12px;
    left: 12px;
    max-width: none;
  }

  /* Promo banner */
  .visual-loading-slot {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 480px) {
  /* Feature row: 1 column at small screens */
  .feature-row {
    grid-template-columns: 1fr;
  }

  .personalization-dialog {
    padding: 24px 20px;
  }

  .cart-items {
    padding: 12px 16px;
  }

  .cart-summary {
    padding: 14px 16px;
  }

  .cart-header {
    padding: 14px 16px;
  }
}

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

.text-center {
  text-align: center;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------
   SUPPLEMENTARY — Product Sizes
   ---------------------------------------------------------- */
.product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 0 14px 16px;
}

.size-btn {
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--bg-light);
  color: var(--text-main);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.size-btn:hover {
  background: var(--brand-primary);
  color: var(--text-on-primary);
  border-color: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(249, 124, 0, 0.25);
}

/* ----------------------------------------------------------
   SUPPLEMENTARY — Slider Arrows & Track
   ---------------------------------------------------------- */
.slider-track {
  position: relative;
  min-height: clamp(320px, 34vw, 520px);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-main);
}

.slider-arrow:hover {
  background: var(--brand-primary);
  color: var(--text-on-primary);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

/* ----------------------------------------------------------
   SUPPLEMENTARY — Banner Content Overlay
   ---------------------------------------------------------- */
.banner-slide {
  display: flex;
  align-items: center;
  background: var(--brand-dark);
}

.banner-slide picture {
  position: absolute;
  inset: 0;
}

.banner-slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.banner-content {
  position: relative;
  z-index: 3;
  padding: 0 clamp(32px, 6vw, 80px);
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: bannerFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bannerFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.banner-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--brand-primary);
  text-transform: uppercase;
}

.banner-title {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.banner-subtitle {
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 12px 28px;
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(249, 124, 0, 0.35);
  transition: var(--transition);
}

.banner-cta:hover {
  background: #ffffff;
  color: var(--brand-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ----------------------------------------------------------
   SUPPLEMENTARY — Toast Container
   ---------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-container .toast {
  position: relative;
  top: auto;
  right: auto;
}

/* ----------------------------------------------------------
   SUPPLEMENTARY — Search Results
   ---------------------------------------------------------- */
.search-results {
  max-height: 360px;
  overflow-y: auto;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.search-result-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.search-result-card:hover {
  background: var(--bg-light);
}

.search-result-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--bg-light);
}

.search-result-info h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 4px;
}

.search-result-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--success);
}

.search-hint,
.search-empty {
  text-align: center;
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ----------------------------------------------------------
   SUPPLEMENTARY — Feature row & Section in same max-width
   ---------------------------------------------------------- */
.feature-row,
.promo-banner {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.feature-row {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

/* ----------------------------------------------------------
   SUPPLEMENTARY — Cart qty stepper in drawer
   ---------------------------------------------------------- */
.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 8px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text-main);
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--line);
  color: var(--brand-primary);
}

.qty-btn svg {
  width: 14px;
  height: 14px;
}

.qty-value {
  width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.cart-item-size {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--success);
}

.cart-item-remove {
  align-self: start;
  padding: 6px;
  color: var(--text-muted);
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-item-remove svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 760px) {
  .slider-arrow {
    width: 36px;
    height: 36px;
  }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }

  .toast-container {
    left: 12px;
    right: 12px;
  }

  .banner-content {
    padding: 0 24px;
  }
}
