/* =========================================================
   PAYGERFIE — ULTRA LUXURY CSS v2
   Quiet Luxury · 4K image quality · Mobile 2-col grid
   Gymshark-inspired · White Edition
========================================================= */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --off-white: #fafafa;
  --cream: #f5f3ee;
  --beige: #e8e3d8;
  --light-grey: #f0f0f0;
  --grey: #8a8a8a;
  --dark-grey: #4a4a4a;
  --black: #0a0a0a;
  --pure-black: #000000;
  --gold: #b8985a;
  --soft-gold: #d4b878;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1400px;
  --section-pad: clamp(50px, 7vw, 110px);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-luxury: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* =========================================================
   ULTRA 4K IMAGE RENDERING
========================================================= */

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: bicubic;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

video {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; border: none; outline: none; }
ul { list-style: none; }

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

/* =========================================================
   APP LOADER
========================================================= */

#appLoader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  font-size: clamp(24px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--black);
  animation: loaderPulse 1.6s var(--ease) infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

/* =========================================================
   ANNOUNCEMENT BAR
========================================================= */

.announcement-bar {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 9px 0;
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  z-index: 50;
}

.announcement-track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: scrollLeft 38s linear infinite;
  width: max-content;
}

.announcement-track span { flex-shrink: 0; }

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

/* =========================================================
   HEADER
========================================================= */

.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 100;
  transition: all 0.4s var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  height: 20px;
  justify-content: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--black);
  transition: all 0.4s var(--ease);
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--black);
  flex-shrink: 0;
  transition: opacity 0.3s var(--ease);
}

.logo:hover { opacity: 0.7; }

.desktop-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.desktop-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.4s var(--ease-luxury);
}

.desktop-nav a:hover::after { width: 100%; }

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

.header-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s var(--ease);
}

.header-icon:hover { background: var(--light-grey); }

.header-icon svg {
  width: 19px;
  height: 19px;
  stroke: var(--black);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-icon #cartCount {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-luxury);
  overflow-y: auto;
}

.mobile-menu-overlay.active { transform: translateX(0); }

.mobile-menu-content { padding: 24px; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--light-grey);
  margin-bottom: 36px;
}

.mobile-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
}

#closeMobileMenu {
  font-size: 24px;
  color: var(--black);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-grey);
  color: var(--black);
  transition: padding-left 0.3s var(--ease);
}

.mobile-nav a:hover { padding-left: 8px; }

/* =========================================================
   HERO SECTION (4K)
========================================================= */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 580px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--cream);
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: saturate(1.05) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(0, 0, 0, 0.15) 50%,
      rgba(0, 0, 0, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 920px;
  padding: 0 24px;
  animation: heroFadeUp 1.4s var(--ease-luxury) forwards;
  opacity: 0;
  transform: translateY(40px);
  color: var(--white);
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--white);
}

.hero-title {
  font-size: clamp(42px, 8vw, 120px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.hero-title span {
  display: block;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.65;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  padding: 17px 42px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-luxury);
  display: inline-block;
  border: 1px solid var(--white);
}

.primary-btn {
  background: var(--white);
  color: var(--black);
}

.primary-btn:hover {
  background: transparent;
  color: var(--white);
}

.secondary-btn {
  background: transparent;
  color: var(--white);
}

.secondary-btn:hover {
  background: var(--white);
  color: var(--black);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--white);
  font-weight: 500;
  z-index: 3;
  animation: scrollBounce 2s var(--ease) infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* =========================================================
   SECTION HEADERS
========================================================= */

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
  position: relative;
  padding: 0 30px;
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--grey);
}

.section-label::before { left: 0; }
.section-label::after { right: 0; }

.section-header h2 {
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1;
  color: var(--black);
}

.section-header h2 span {
  display: block;
  font-style: italic;
  font-weight: 300;
}

.section-header p {
  margin-top: 18px;
  color: var(--grey);
  font-size: 14px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   CATEGORIES (4K)
========================================================= */

.collections-section {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  display: block;
}

.category-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s var(--ease-luxury);
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: saturate(1.05);
}

.category-card:hover .category-image img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 35%,
    rgba(0, 0, 0, 0.25) 65%,
    rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}

.category-overlay span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.85;
}

.category-overlay h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.15;
}

.category-overlay button {
  align-self: flex-start;
  background: var(--white);
  color: var(--black);
  padding: 11px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.5s var(--ease-luxury);
}

.category-card:hover .category-overlay button {
  transform: translateY(0);
  opacity: 1;
}

/* =========================================================
   FEATURED PRODUCTS — GYMSHARK STYLE 4K
========================================================= */

.featured-products-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  cursor: pointer;
  transition: transform 0.5s var(--ease-luxury);
  display: flex;
  flex-direction: column;
}

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

.product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--off-white);
  margin-bottom: 14px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s var(--ease-luxury), opacity 0.4s ease;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: saturate(1.04);
}

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

.product-image .img-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-image .img-secondary {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  color: var(--black);
  padding: 5px 11px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.product-badge.sale {
  background: var(--black);
  color: var(--white);
}

.product-content { padding: 0 2px; }

.product-category {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.product-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-price .old {
  font-size: 13px;
  color: var(--grey);
  text-decoration: line-through;
  font-weight: 400;
}

.product-card-actions { margin-top: auto; }

.add-to-cart-btn {
  width: 100%;
  background: var(--black);
  color: var(--white);
  padding: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-luxury);
}

.add-to-cart-btn:hover {
  background: var(--dark-grey);
  letter-spacing: 3px;
}

.add-to-cart-btn.added { background: var(--gold); }

.view-all-products {
  text-align: center;
  margin-top: 56px;
}

.view-all-btn {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 17px 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-luxury);
  display: inline-block;
}

.view-all-btn:hover {
  background: var(--black);
  color: var(--white);
}

/* =========================================================
   LUXURY BANNER (4K)
========================================================= */

.luxury-banner {
  position: relative;
  height: 65vh;
  min-height: 460px;
  background-image:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
    url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?w=2400&q=95&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

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

.banner-content span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.banner-content h2 {
  font-size: clamp(38px, 6.5vw, 84px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 22px;
}

.banner-content p {
  font-size: 16px;
  margin-bottom: 32px;
  opacity: 0.92;
  font-weight: 300;
}

.banner-content button {
  background: var(--white);
  color: var(--black);
  padding: 17px 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-luxury);
  border: 1px solid var(--white);
}

.banner-content button:hover {
  background: transparent;
  color: var(--white);
}

/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.5s var(--ease-luxury), box-shadow 0.5s var(--ease-luxury);
}

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

.testimonial-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 4px;
  margin-bottom: 22px;
}

.testimonial-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--dark-grey);
  font-style: italic;
  margin-bottom: 24px;
  font-weight: 300;
}

.testimonial-author {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--black);
  padding-top: 18px;
  border-top: 1px solid var(--light-grey);
}

/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-section {
  padding: var(--section-pad) 0;
  background: var(--black);
  color: var(--white);
}

.newsletter-container {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.newsletter-container > span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 18px;
}

.newsletter-container h2 {
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1;
  margin-bottom: 18px;
}

.newsletter-container h2 span {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -1px;
}

.newsletter-container p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-weight: 300;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease);
}

.newsletter-form:focus-within {
  border-bottom-color: var(--white);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  color: var(--white);
  padding: 13px 0;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background: transparent;
  color: var(--white);
  padding: 13px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: opacity 0.3s var(--ease);
  white-space: nowrap;
}

.newsletter-form button:hover { opacity: 0.7; }

/* =========================================================
   FOOTER
========================================================= */

.footer {
  background: var(--white);
  padding: 70px 0 32px;
  border-top: 1px solid var(--light-grey);
}

.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--black);
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 340px;
  font-weight: 300;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--black);
  margin-bottom: 22px;
  text-transform: uppercase;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-column a {
  font-size: 13px;
  color: var(--grey);
  transition: color 0.3s var(--ease);
}

.footer-column a:hover { color: var(--black); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 24px 0;
  border-top: 1px solid var(--light-grey);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--grey);
  text-transform: uppercase;
}

/* =========================================================
   WHATSAPP FLOAT
========================================================= */

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.4s var(--ease-luxury);
  animation: whatsappPulse 2.5s var(--ease) infinite;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: whatsappRing 2.5s var(--ease) infinite;
}

.whatsapp-float:hover { transform: scale(1.1); }

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6); }
}

@keyframes whatsappRing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* =========================================================
   SEARCH MODAL
========================================================= */

.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-luxury);
}

.search-modal.active { opacity: 1; visibility: visible; }

.search-modal-content {
  width: 90%;
  max-width: 700px;
}

.search-modal input {
  width: 100%;
  font-size: clamp(20px, 4vw, 34px);
  font-weight: 300;
  background: transparent;
  border-bottom: 1px solid var(--black);
  padding: 16px 0;
  color: var(--black);
  letter-spacing: -0.5px;
}

.search-modal input::placeholder { color: var(--grey); }

/* =========================================================
   CART DRAWER
========================================================= */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-luxury);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active { transform: translateX(0); }

.cart-drawer-header {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--light-grey);
}

.cart-drawer-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-drawer-title span:first-child {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--black);
}

.cart-drawer-title span:last-child {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--grey);
  text-transform: uppercase;
}

.cart-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s var(--ease);
}

.cart-close:hover { background: var(--light-grey); }

.cart-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--black);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--light-grey);
}

.cart-item-image {
  width: 84px;
  height: 105px;
  background: var(--off-white);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info { flex: 1; }

.cart-item-info h4 {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--black);
  line-height: 1.3;
}

.cart-item-info p {
  font-size: 11px;
  color: var(--grey);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cart-item-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.cart-item-controls {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--light-grey);
  background: var(--white);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
}

.cart-qty-btn:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.cart-qty-num {
  min-width: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.cart-remove-btn {
  margin-left: auto;
  font-size: 11px;
  color: var(--grey);
  text-decoration: underline;
  letter-spacing: 0.5px;
}

.cart-remove-btn:hover { color: var(--black); }

.empty-cart {
  text-align: center;
  padding: 50px 20px;
}

.empty-cart-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-cart-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--grey);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
}

.empty-cart h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.empty-cart p {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 22px;
  line-height: 1.6;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.empty-cart a {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 13px 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
}

.empty-cart a:hover { background: var(--dark-grey); }

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--light-grey);
  background: var(--white);
}

.cart-summary { margin-bottom: 18px; }

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  color: var(--dark-grey);
}

.cart-summary-total {
  border-top: 1px solid var(--light-grey);
  margin-top: 6px;
  padding-top: 14px !important;
  font-size: 15px !important;
  font-weight: 700;
  color: var(--black) !important;
}

.free-shipping {
  background: var(--off-white);
  padding: 14px;
  margin-bottom: 18px;
  border-left: 3px solid var(--gold);
}

.free-shipping-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 5px;
}

.free-shipping p {
  font-size: 11px;
  color: var(--grey);
  margin-bottom: 10px;
}

.shipping-progress {
  height: 4px;
  background: var(--light-grey);
  border-radius: 2px;
  overflow: hidden;
}

.shipping-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--gold);
  transition: width 0.6s var(--ease-luxury);
}

.checkout-btn {
  width: 100%;
  background: var(--black);
  color: var(--white);
  padding: 17px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: all 0.4s var(--ease-luxury);
}

.checkout-btn:hover {
  background: var(--dark-grey);
  letter-spacing: 3.5px;
}

.continue-shopping {
  width: 100%;
  background: transparent;
  color: var(--black);
  padding: 13px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: underline;
  transition: opacity 0.3s var(--ease);
}

.continue-shopping:hover { opacity: 0.6; }

.cart-payments {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.cart-payment {
  padding: 5px 11px;
  background: var(--off-white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark-grey);
  border-radius: 4px;
}

/* =========================================================
   SKELETON LOADERS
========================================================= */

.skeleton {
  background: linear-gradient(90deg, var(--light-grey) 0%, var(--off-white) 50%, var(--light-grey) 100%);
  background-size: 200% 100%;
  animation: skeletonLoad 1.4s var(--ease) infinite;
}

@keyframes skeletonLoad {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card { aspect-ratio: 3 / 4; }

/* =========================================================
   TOAST NOTIFICATION
========================================================= */

.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black);
  color: var(--white);
  padding: 14px 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 400;
  opacity: 0;
  transition: all 0.4s var(--ease-luxury);
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .luxury-banner {
    background-attachment: scroll;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

/* =========================================================
   MOBILE RESPONSIVE — 2 PRODUCTS PER ROW (GYMSHARK)
========================================================= */

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  .header-container {
    padding: 14px 16px;
    gap: 8px;
  }

  .logo {
    font-size: 17px;
    letter-spacing: 3px;
  }

  .header-actions { gap: 2px; }

  .header-icon {
    width: 38px;
    height: 38px;
  }

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

  .container { padding: 0 16px; }

  .announcement-bar {
    font-size: 10px;
    letter-spacing: 1.8px;
    padding: 8px 0;
  }

  .announcement-track { gap: 32px; }

  /* HERO MOBILE */
  .hero-section {
    height: 88vh;
    height: 88dvh;
    min-height: 540px;
  }

  .hero-content { padding: 0 20px; }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    gap: 10px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    padding: 15px 24px;
  }

  /* SECTIONS MOBILE */
  .section-header { margin-bottom: 36px; }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-card { aspect-ratio: 4 / 5; }

  .category-overlay h3 { font-size: 24px; }

  /* PRODUCTS — 2 PER ROW LIKE GYMSHARK */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-image { margin-bottom: 10px; }

  .product-content h3 {
    font-size: 13px;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
  }

  .product-category {
    font-size: 9.5px;
    letter-spacing: 2px;
    margin-bottom: 5px;
  }

  .product-price {
    font-size: 13px;
    margin-bottom: 10px;
    gap: 6px;
  }

  .product-price .old { font-size: 11px; }

  .product-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .add-to-cart-btn {
    padding: 10px 6px;
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .view-all-products { margin-top: 36px; }

  .view-all-btn {
    padding: 15px 36px;
    font-size: 11px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card { padding: 28px 24px; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }

  .cart-drawer { max-width: 100%; }

  .newsletter-form {
    flex-direction: column;
    gap: 14px;
    border-bottom: none;
  }

  .newsletter-form input {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
  }

  .newsletter-form button {
    background: var(--white);
    color: var(--black);
    padding: 15px;
  }

  .luxury-banner {
    height: 55vh;
    min-height: 380px;
  }
}

@media (max-width: 380px) {
  .products-grid { gap: 10px; }
  .product-content h3 { font-size: 12.5px; }

  .add-to-cart-btn {
    font-size: 9.5px;
    letter-spacing: 1px;
    padding: 9px 4px;
  }

  .footer-links { grid-template-columns: 1fr; }
}

/* =========================================================
   ACCESSIBILITY & PERFORMANCE
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

::selection {
  background: var(--black);
  color: var(--white);
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--grey); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--dark-grey); }

@media (min-resolution: 2dppx),
       (-webkit-min-device-pixel-ratio: 2) {
  img, video {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
  }
}/* =========================================================
   PAYGERFIE — PAGES.CSS v3
   Ultra Luxury · Quiet Luxury Edition
   Pages: Product · Category · Checkout · Cart
   Universal Header · Mobile + Desktop Perfected
========================================================= */


/* =========================================================
   01 — UNIVERSAL HEADER ENFORCEMENT
   The same header structure as the home page MUST appear
   identically on every page (product, category, checkout,
   cart, legal) — both mobile and desktop.
========================================================= */

/* Make sure announcement bar and header look the same everywhere */
body .announcement-bar,
body > .announcement-bar {
  background: var(--black, #0a0a0a);
  color: #fff;
  padding: 9px 0;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  overflow: hidden;
}

/* Header consistency across all pages */
.header,
header.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* If a page used a barebones <nav> with text links inline like
   "Shop Collections Cart 1", neutralize that and force luxury layout */
.header nav,
.header .desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header nav > a,
.header .desktop-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black, #0a0a0a);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
  text-decoration: none;
}

.header nav > a::after,
.header .desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black, #0a0a0a);
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.header nav > a:hover::after,
.header .desktop-nav a:hover::after {
  width: 100%;
}

/* Cart counter (fix the NaN bug visually) */
.header .cart-icon #cartCount,
.header .cart-count {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--black, #0a0a0a);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* MOBILE HEADER — same as desktop, just compact */
@media (max-width: 768px) {
  .header .header-container {
    padding: 14px 16px;
    gap: 8px;
  }

  .header .logo {
    font-size: 17px;
    letter-spacing: 3px;
  }

  .header .desktop-nav,
  .header nav.desktop-nav {
    display: none;
  }

  .header .mobile-menu-toggle {
    display: flex !important;
  }

  .header .header-actions {
    gap: 2px;
  }

  .header .header-icon {
    width: 38px;
    height: 38px;
  }
}


/* =========================================================
   02 — BREADCRUMB (used on product + category pages)
========================================================= */

.breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 24px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey, #8a8a8a);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--grey, #8a8a8a);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--black, #0a0a0a);
}

.breadcrumb-sep {
  opacity: 0.5;
  font-size: 10px;
}

.breadcrumb-current {
  color: var(--black, #0a0a0a);
  font-weight: 600;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 14px 16px;
    font-size: 10px;
    letter-spacing: 1.2px;
  }
}


/* =========================================================
   03 — PRODUCT PAGE — LUXURY DETAIL VIEW
   Two-column layout: gallery left · info right
========================================================= */

.product-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: flex-start;
}

/* GALLERY */
.product-gallery {
  position: sticky;
  top: 90px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
}

.product-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 700px;
  overflow-y: auto;
  padding-right: 4px;
}

.product-gallery-thumbs::-webkit-scrollbar {
  width: 4px;
}

.product-gallery-thumb {
  width: 80px;
  height: 100px;
  background: var(--off-white, #fafafa);
  cursor: pointer;
  overflow: hidden;
  border: 1.5px solid transparent;
  transition: border-color 0.3s ease;
  flex-shrink: 0;
}

.product-gallery-thumb.active {
  border-color: var(--black, #0a0a0a);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.product-gallery-main {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--off-white, #fafafa);
  overflow: hidden;
  cursor: zoom-in;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: saturate(1.04) contrast(1.01);
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.product-gallery-main:hover img {
  transform: scale(1.04);
}

.product-gallery-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-gallery-main:hover .product-gallery-arrows {
  opacity: 1;
}

.gallery-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s ease;
  border: none;
}

.gallery-arrow:hover {
  background: #fff;
}

.gallery-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--black, #0a0a0a);
  stroke-width: 2;
  fill: none;
}

/* PRODUCT INFO PANEL */
.product-info {
  padding: 12px 0;
}

.product-info-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold, #b8985a);
  margin-bottom: 14px;
  display: block;
}

.product-info-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--black, #0a0a0a);
  margin-bottom: 18px;
}

.product-info-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--grey, #8a8a8a);
}

.product-info-rating .stars {
  color: var(--gold, #b8985a);
  letter-spacing: 3px;
  font-size: 13px;
}

.product-info-rating .reviews {
  text-decoration: underline;
  cursor: pointer;
}

.product-info-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.product-info-price .current {
  font-size: 28px;
  font-weight: 700;
  color: var(--black, #0a0a0a);
  letter-spacing: -0.5px;
}

.product-info-price .old {
  font-size: 18px;
  color: var(--grey, #8a8a8a);
  text-decoration: line-through;
  font-weight: 400;
}

.product-info-price .save {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--black, #0a0a0a);
  color: #fff;
  padding: 4px 10px;
}

.product-info-price-usd {
  font-size: 12px;
  color: var(--grey, #8a8a8a);
  margin-bottom: 26px;
  letter-spacing: 0.5px;
}

.product-info-divider {
  height: 1px;
  background: var(--light-grey, #f0f0f0);
  margin: 24px 0;
  border: none;
}

/* COLOR + SIZE SELECTORS */
.product-option {
  margin-bottom: 26px;
}

.product-option-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.product-option-label-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black, #0a0a0a);
}

.product-option-label-value {
  font-size: 12px;
  color: var(--grey, #8a8a8a);
  letter-spacing: 0.5px;
}

.size-guide-link {
  font-size: 11px;
  color: var(--black, #0a0a0a);
  text-decoration: underline;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 500;
}

/* COLOR SWATCHES */
.product-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-color {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  background: var(--light-grey, #f0f0f0);
}

.product-color::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: border-color 0.3s ease;
}

.product-color:hover {
  transform: scale(1.08);
}

.product-color.active::after {
  border-color: var(--black, #0a0a0a);
}

.product-color[data-hex="#FFFFFF"],
.product-color[data-hex="#fafafa"] {
  border: 1px solid var(--light-grey, #f0f0f0);
}

/* SIZE PILLS */
.product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-size {
  min-width: 56px;
  height: 46px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--light-grey, #f0f0f0);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black, #0a0a0a);
}

.product-size:hover {
  border-color: var(--black, #0a0a0a);
}

.product-size.active {
  background: var(--black, #0a0a0a);
  color: #fff;
  border-color: var(--black, #0a0a0a);
}

.product-size.disabled {
  color: var(--grey, #8a8a8a);
  cursor: not-allowed;
  position: relative;
  opacity: 0.5;
}

.product-size.disabled::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right,
    transparent calc(50% - 1px),
    var(--grey, #8a8a8a) 50%,
    transparent calc(50% + 1px));
  pointer-events: none;
}

/* STOCK STATUS */
.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 26px;
}

.product-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ea44f;
  box-shadow: 0 0 0 4px rgba(46, 164, 79, 0.15);
}

.product-stock.out .product-stock-dot {
  background: #d04545;
  box-shadow: 0 0 0 4px rgba(208, 69, 69, 0.15);
}

.product-stock.out {
  color: #d04545;
}

/* QUANTITY */
.product-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--light-grey, #f0f0f0);
  width: fit-content;
  margin-bottom: 20px;
}

.product-qty button {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  color: var(--black, #0a0a0a);
}

.product-qty button:hover {
  background: var(--off-white, #fafafa);
}

.product-qty input {
  width: 48px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--light-grey, #f0f0f0);
  border-right: 1px solid var(--light-grey, #f0f0f0);
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  color: var(--black, #0a0a0a);
}

/* CTA BUTTONS — "Add to Cart" + "Buy Now" */
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.product-cta {
  width: 100%;
  padding: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  border: 1px solid var(--black, #0a0a0a);
}

.product-cta-add {
  background: #fff;
  color: var(--black, #0a0a0a);
}

.product-cta-add:hover {
  background: var(--black, #0a0a0a);
  color: #fff;
  letter-spacing: 3px;
}

.product-cta-add.added {
  background: var(--gold, #b8985a);
  color: #fff;
  border-color: var(--gold, #b8985a);
}

.product-cta-buy {
  background: var(--black, #0a0a0a);
  color: #fff;
}

.product-cta-buy:hover {
  background: var(--dark-grey, #4a4a4a);
  letter-spacing: 3px;
}

/* WISHLIST */
.product-wishlist {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--black, #0a0a0a);
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 8px 0;
  margin-bottom: 28px;
  transition: opacity 0.3s ease;
}

.product-wishlist:hover {
  opacity: 0.6;
}

.product-wishlist svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.product-wishlist.active svg {
  fill: var(--gold, #b8985a);
  stroke: var(--gold, #b8985a);
}

/* TRUST BADGES */
.product-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--off-white, #fafafa);
  margin-bottom: 28px;
}

.product-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--dark-grey, #4a4a4a);
}

.product-trust-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--light-grey, #f0f0f0);
}

.product-trust-item-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--black, #0a0a0a);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-trust-item strong {
  display: block;
  font-weight: 600;
  color: var(--black, #0a0a0a);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* DESCRIPTION */
.product-description {
  margin-bottom: 28px;
}

.product-description-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black, #0a0a0a);
  margin-bottom: 14px;
}

.product-description p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--dark-grey, #4a4a4a);
  font-weight: 400;
  white-space: pre-wrap;
}

/* ACCORDION (details/care/shipping) */
.product-accordion {
  border-top: 1px solid var(--light-grey, #f0f0f0);
}

.product-accordion-item {
  border-bottom: 1px solid var(--light-grey, #f0f0f0);
}

.product-accordion-toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black, #0a0a0a);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.product-accordion-toggle::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.product-accordion-item.open .product-accordion-toggle::after {
  content: '−';
}

.product-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.product-accordion-item.open .product-accordion-content {
  max-height: 500px;
}

.product-accordion-content-inner {
  padding: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--dark-grey, #4a4a4a);
}

.product-accordion-content-inner ul {
  padding-left: 18px;
  list-style: disc;
}

.product-accordion-content-inner li {
  margin-bottom: 6px;
}


/* PRODUCT MOBILE */
@media (max-width: 1024px) {
  .product-page {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 20px 16px 60px;
  }

  .product-gallery {
    position: static;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-gallery-thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    order: 2;
    padding: 0;
  }

  .product-gallery-thumb {
    width: 64px;
    height: 80px;
    flex-shrink: 0;
  }

  .product-gallery-main {
    order: 1;
    aspect-ratio: 3 / 4;
  }

  .product-info-title {
    font-size: 24px;
  }

  .product-info-price .current {
    font-size: 22px;
  }

  .product-info-price .old {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .product-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-trust {
    padding: 18px;
  }

  .product-trust-item {
    font-size: 12px;
  }
}


/* =========================================================
   04 — CATEGORY PAGE — IMAGE BEHIND TITLE HERO
========================================================= */

.category-hero {
  position: relative;
  min-height: 380px;
  height: 50vh;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.category-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.category-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: saturate(1.05) contrast(1.02);
}

/* Dark veil so titles are readable above ANY image */
.category-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.65) 100%);
}

.category-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 40px 24px;
}

.category-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--soft-gold, #d4b878);
  margin-bottom: 18px;
}

.category-hero-title {
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.02;
  margin-bottom: 18px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.category-hero-title em,
.category-hero-title span.italic {
  font-style: italic;
  font-weight: 300;
}

.category-hero-description {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 auto 24px;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

.category-hero-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.category-hero-count strong {
  font-size: 14px;
  font-weight: 800;
}

/* TOOLBAR — filter + sort */
.category-toolbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--light-grey, #f0f0f0);
}

.category-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--light-grey, #f0f0f0);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark-grey, #4a4a4a);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 999px;
}

.category-tab:hover {
  border-color: var(--black, #0a0a0a);
  color: var(--black, #0a0a0a);
}

.category-tab.active {
  background: var(--black, #0a0a0a);
  border-color: var(--black, #0a0a0a);
  color: #fff;
}

.category-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey, #8a8a8a);
  font-weight: 500;
}

.category-sort select {
  background: #fff;
  border: 1px solid var(--light-grey, #f0f0f0);
  padding: 10px 36px 10px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--black, #0a0a0a);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  border-radius: 0;
  font-family: inherit;
}

.category-sort select:focus {
  outline: none;
  border-color: var(--black, #0a0a0a);
}

/* CATEGORY PRODUCT GRID */
.category-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}

.category-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.category-products .product-card {
  display: flex;
  flex-direction: column;
}

.category-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--grey, #8a8a8a);
  font-size: 14px;
}

.category-empty h3 {
  font-size: 22px;
  color: var(--black, #0a0a0a);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* CATEGORY MOBILE — 2 products per row */
@media (max-width: 1024px) {
  .category-products {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .category-hero {
    height: 42vh;
    min-height: 320px;
  }

  .category-hero-content {
    padding: 30px 18px;
  }

  .category-toolbar {
    padding: 24px 16px 14px;
    gap: 12px;
  }

  .category-tab {
    padding: 9px 16px;
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .category-sort {
    width: 100%;
    justify-content: flex-end;
  }

  .category-page {
    padding: 24px 16px 60px;
  }

  .category-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .category-products {
    gap: 10px;
  }
}


/* =========================================================
   05 — CART PAGE — STANDALONE CART VIEW
========================================================= */

.cart-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.cart-page-header {
  text-align: center;
  margin-bottom: 50px;
}

.cart-page-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold, #b8985a);
  margin-bottom: 14px;
}

.cart-page-title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--black, #0a0a0a);
}

.cart-page-title em {
  font-style: italic;
  font-weight: 300;
  display: block;
}

.cart-page-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: flex-start;
}

.cart-page-items {
  border-top: 1px solid var(--light-grey, #f0f0f0);
}

.cart-page-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--light-grey, #f0f0f0);
  align-items: flex-start;
}

.cart-page-item-image {
  width: 130px;
  aspect-ratio: 3 / 4;
  background: var(--off-white, #fafafa);
  overflow: hidden;
}

.cart-page-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-page-item-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--black, #0a0a0a);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.cart-page-item-meta {
  font-size: 12px;
  color: var(--grey, #8a8a8a);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cart-page-item-meta span {
  margin-right: 12px;
}

.cart-page-item-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-page-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--light-grey, #f0f0f0);
}

.cart-page-qty button {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--black, #0a0a0a);
  transition: background 0.2s ease;
}

.cart-page-qty button:hover {
  background: var(--off-white, #fafafa);
}

.cart-page-qty input {
  width: 40px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--light-grey, #f0f0f0);
  border-right: 1px solid var(--light-grey, #f0f0f0);
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}

.cart-page-item-remove {
  background: transparent;
  border: none;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey, #8a8a8a);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cart-page-item-remove:hover {
  color: var(--black, #0a0a0a);
}

.cart-page-item-price {
  text-align: right;
  font-size: 16px;
  font-weight: 700;
  color: var(--black, #0a0a0a);
  letter-spacing: -0.3px;
}

.cart-page-item-price .old {
  display: block;
  font-size: 13px;
  color: var(--grey, #8a8a8a);
  text-decoration: line-through;
  font-weight: 400;
  margin-top: 4px;
}

/* SUMMARY SIDEBAR */
.cart-page-summary {
  background: var(--off-white, #fafafa);
  padding: 32px;
  position: sticky;
  top: 90px;
}

.cart-page-summary-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black, #0a0a0a);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-grey, #f0f0f0);
}

.cart-page-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--dark-grey, #4a4a4a);
}

.cart-page-summary-row.total {
  font-size: 17px !important;
  font-weight: 700;
  color: var(--black, #0a0a0a) !important;
  padding-top: 18px;
  margin-top: 12px;
  border-top: 1px solid var(--light-grey, #f0f0f0);
  letter-spacing: -0.2px;
}

.cart-promo {
  display: flex;
  margin: 22px 0;
  border: 1px solid var(--light-grey, #f0f0f0);
  background: #fff;
}

.cart-promo input {
  flex: 1;
  padding: 13px 14px;
  border: none;
  font-size: 13px;
  background: transparent;
  outline: none;
  letter-spacing: 0.5px;
}

.cart-promo button {
  background: transparent;
  border: none;
  border-left: 1px solid var(--light-grey, #f0f0f0);
  padding: 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cart-promo button:hover {
  background: var(--off-white, #fafafa);
}

.cart-page-checkout {
  width: 100%;
  background: var(--black, #0a0a0a);
  color: #fff;
  padding: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--black, #0a0a0a);
  margin-top: 10px;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.cart-page-checkout:hover {
  background: var(--dark-grey, #4a4a4a);
  letter-spacing: 3.5px;
}

.cart-page-continue {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey, #8a8a8a);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

.cart-page-continue:hover {
  color: var(--black, #0a0a0a);
}

.cart-page-trust {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--light-grey, #f0f0f0);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11.5px;
  color: var(--grey, #8a8a8a);
  line-height: 1.5;
}

.cart-page-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-page-trust-item::before {
  content: '✓';
  color: var(--gold, #b8985a);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* EMPTY CART PAGE */
.cart-page-empty {
  text-align: center;
  padding: 80px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.cart-page-empty-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  background: var(--off-white, #fafafa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-page-empty-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--grey, #8a8a8a);
  stroke-width: 1.5;
  fill: none;
}

.cart-page-empty h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--black, #0a0a0a);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.cart-page-empty p {
  font-size: 14px;
  color: var(--grey, #8a8a8a);
  margin-bottom: 28px;
  line-height: 1.7;
}

.cart-page-empty a {
  display: inline-block;
  background: var(--black, #0a0a0a);
  color: #fff;
  padding: 17px 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--black, #0a0a0a);
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.cart-page-empty a:hover {
  background: transparent;
  color: var(--black, #0a0a0a);
}

/* CART MOBILE */
@media (max-width: 1024px) {
  .cart-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 768px) {
  .cart-page {
    padding: 28px 16px 60px;
  }

  .cart-page-header {
    margin-bottom: 32px;
  }

  .cart-page-item {
    grid-template-columns: 90px 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .cart-page-item-image {
    width: 90px;
  }

  .cart-page-item-price {
    grid-column: 1 / -1;
    text-align: left;
    font-size: 15px;
    margin-top: 4px;
  }

  .cart-page-item-info h3 {
    font-size: 14px;
  }

  .cart-page-summary {
    padding: 24px;
  }
}


/* =========================================================
   06 — CHECKOUT PAGE — LUXURY FORM
========================================================= */

.checkout-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.checkout-page-header {
  margin-bottom: 50px;
  text-align: center;
}

.checkout-page-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold, #b8985a);
  margin-bottom: 14px;
}

.checkout-page-title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--black, #0a0a0a);
}

.checkout-page-title em {
  font-style: italic;
  font-weight: 300;
  display: block;
}

/* Progress steps */
.checkout-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--grey, #8a8a8a);
}

.checkout-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--light-grey, #f0f0f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
}

.checkout-step.active {
  color: var(--black, #0a0a0a);
}

.checkout-step.active .checkout-step-num {
  background: var(--black, #0a0a0a);
  color: #fff;
  border-color: var(--black, #0a0a0a);
}

.checkout-step-line {
  width: 40px;
  height: 1px;
  background: var(--light-grey, #f0f0f0);
}

/* Two-col layout */
.checkout-page-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: flex-start;
}

.checkout-section {
  background: #fff;
  border: 1px solid var(--light-grey, #f0f0f0);
  padding: 32px;
  margin-bottom: 24px;
}

.checkout-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black, #0a0a0a);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--light-grey, #f0f0f0);
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-section-title-num {
  width: 24px;
  height: 24px;
  background: var(--black, #0a0a0a);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

/* Form fields */
.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.checkout-field-full {
  grid-column: 1 / -1;
}

.checkout-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark-grey, #4a4a4a);
  margin-bottom: 8px;
}

.checkout-label .required {
  color: #d04545;
  margin-left: 2px;
}

.checkout-input,
.checkout-textarea,
.checkout-select {
  background: #fff;
  border: 1px solid var(--light-grey, #f0f0f0);
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--black, #0a0a0a);
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
  letter-spacing: 0.2px;
  width: 100%;
  border-radius: 0;
}

.checkout-input:focus,
.checkout-textarea:focus,
.checkout-select:focus {
  border-color: var(--black, #0a0a0a);
  background: #fff;
}

.checkout-input::placeholder,
.checkout-textarea::placeholder {
  color: var(--grey, #8a8a8a);
  font-size: 13px;
}

.checkout-textarea {
  min-height: 90px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.checkout-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.checkout-help {
  font-size: 11px;
  color: var(--grey, #8a8a8a);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

/* GPS button */
.checkout-gps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white, #fafafa);
  border: 1px solid var(--light-grey, #f0f0f0);
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black, #0a0a0a);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 6px;
}

.checkout-gps-btn:hover {
  background: var(--black, #0a0a0a);
  color: #fff;
  border-color: var(--black, #0a0a0a);
}

.checkout-gps-btn::before {
  content: '📍';
}

/* File upload */
.checkout-upload {
  border: 1.5px dashed var(--light-grey, #f0f0f0);
  padding: 28px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  background: var(--off-white, #fafafa);
}

.checkout-upload:hover {
  border-color: var(--black, #0a0a0a);
  background: #fff;
}

.checkout-upload input[type="file"] {
  display: none;
}

.checkout-upload-text {
  font-size: 12px;
  color: var(--grey, #8a8a8a);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.checkout-upload-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--black, #0a0a0a);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: underline;
}

/* Payment method radio cards */
.checkout-payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--light-grey, #f0f0f0);
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.checkout-payment-option:hover {
  border-color: var(--grey, #8a8a8a);
}

.checkout-payment-option.active {
  border-color: var(--black, #0a0a0a);
  background: var(--off-white, #fafafa);
}

.checkout-payment-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--light-grey, #f0f0f0);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  margin: 0;
}

.checkout-payment-option input[type="radio"]:checked {
  border-color: var(--black, #0a0a0a);
}

.checkout-payment-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--black, #0a0a0a);
}

.checkout-payment-option-info {
  flex: 1;
}

.checkout-payment-option-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black, #0a0a0a);
}

.checkout-payment-option-desc {
  font-size: 11.5px;
  color: var(--grey, #8a8a8a);
  margin-top: 2px;
}

.checkout-payment-option-logo {
  width: 50px;
  height: 32px;
  background: var(--off-white, #fafafa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Place order button */
.checkout-place-order {
  width: 100%;
  background: var(--black, #0a0a0a);
  color: #fff;
  padding: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--black, #0a0a0a);
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  margin-top: 8px;
}

.checkout-place-order:hover {
  background: var(--dark-grey, #4a4a4a);
  letter-spacing: 3.5px;
}

.checkout-place-order:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-place-order .amount {
  margin-left: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

/* CHECKOUT — ORDER SUMMARY SIDEBAR */
.checkout-summary {
  background: var(--off-white, #fafafa);
  padding: 32px;
  position: sticky;
  top: 90px;
}

.checkout-summary-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black, #0a0a0a);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--light-grey, #f0f0f0);
}

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
}

.checkout-summary-item-image {
  width: 64px;
  height: 80px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.checkout-summary-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-summary-item-image .qty {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--black, #0a0a0a);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-summary-item-info h4 {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--black, #0a0a0a);
  margin-bottom: 3px;
  line-height: 1.3;
  letter-spacing: -0.1px;
}

.checkout-summary-item-info p {
  font-size: 10.5px;
  color: var(--grey, #8a8a8a);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.checkout-summary-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--black, #0a0a0a);
  letter-spacing: -0.2px;
}

.checkout-summary-totals {
  border-top: 1px solid var(--light-grey, #f0f0f0);
  padding-top: 18px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--dark-grey, #4a4a4a);
}

.checkout-summary-row.total {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--black, #0a0a0a) !important;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 1px solid var(--light-grey, #f0f0f0);
  letter-spacing: -0.2px;
}

.checkout-summary-secure {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--light-grey, #f0f0f0);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--grey, #8a8a8a);
  letter-spacing: 0.5px;
}

.checkout-summary-secure svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold, #b8985a);
  fill: none;
  stroke-width: 1.5;
}

/* CHECKOUT MOBILE */
@media (max-width: 1024px) {
  .checkout-page-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .checkout-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .checkout-page {
    padding: 28px 16px 60px;
  }

  .checkout-page-header {
    margin-bottom: 32px;
  }

  .checkout-steps {
    margin-bottom: 32px;
    gap: 12px;
  }

  .checkout-step-line {
    width: 24px;
  }

  .checkout-step span:not(.checkout-step-num) {
    display: none;
  }

  .checkout-section {
    padding: 22px 18px;
  }

  .checkout-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .checkout-summary {
    padding: 22px 18px;
  }
}


/* =========================================================
   07 — UNIVERSAL TOAST + BADGES + UTILITIES
========================================================= */

.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black, #0a0a0a);
  color: #fff;
  padding: 14px 26px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 1000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: #1f7a3a;
}

.toast.error {
  background: #b53737;
}

/* Skeleton loaders for these pages */
.page-skeleton {
  background: linear-gradient(90deg,
    var(--light-grey, #f0f0f0) 0%,
    var(--off-white, #fafafa) 50%,
    var(--light-grey, #f0f0f0) 100%);
  background-size: 200% 100%;
  animation: pageSkeletonLoad 1.4s ease infinite;
}

@keyframes pageSkeletonLoad {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* =========================================================
   08 — IMAGE QUALITY ENFORCEMENT (4K)
========================================================= */

.product-page img,
.category-page img,
.cart-page img,
.checkout-page img,
.category-hero-image img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (min-resolution: 2dppx),
       (-webkit-min-device-pixel-ratio: 2) {
  .product-page img,
  .category-page img,
  .cart-page img,
  .checkout-page img,
  .category-hero-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
  }
}


/* =========================================================
   09 — TINY LEGAL & MISC PAGES
========================================================= */

.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 24px 80px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--dark-grey, #4a4a4a);
}

.legal-page h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--black, #0a0a0a);
  margin-bottom: 30px;
  line-height: 1.1;
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--black, #0a0a0a);
  margin-top: 40px;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--black, #0a0a0a);
  margin-top: 24px;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.legal-page p {
  margin-bottom: 16px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--black, #0a0a0a);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--gold, #b8985a);
}

.legal-page strong {
  color: var(--black, #0a0a0a);
  font-weight: 600;
}


/* =========================================================
   10 — PRINT STYLES (for order confirmations)
========================================================= */

@media print {
  .header,
  .announcement-bar,
  .footer,
  .whatsapp-float,
  .cart-drawer,
  .cart-overlay,
  .mobile-menu-overlay,
  .breadcrumb,
  .product-actions,
  .checkout-place-order,
  .cart-page-checkout,
  .toast {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .checkout-page,
  .cart-page,
  .product-page {
    padding: 0 !important;
  }

  .checkout-section,
  .cart-page-summary,
  .checkout-summary {
    background: #fff !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }
}


/* =========================================================
   11 — ACCESSIBILITY & MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .product-gallery-main img,
  .category-hero-image img,
  .product-card .product-image img {
    transition: none !important;
  }

  .toast {
    transition: opacity 0.2s ease !important;
  }
}

/* Focus visibility */
.checkout-input:focus-visible,
.checkout-textarea:focus-visible,
.checkout-select:focus-visible,
.product-size:focus-visible,
.product-color:focus-visible,
.product-cta:focus-visible,
.checkout-place-order:focus-visible,
.cart-page-checkout:focus-visible {
  outline: 2px solid var(--gold, #b8985a);
  outline-offset: 2px;
}


/* =========================================================
   12 — DARK FALLBACK PROTECTION
   If the page CSS variables are missing, force light theme
========================================================= */

.product-page,
.category-page,
.cart-page,
.checkout-page,
.legal-page {
  background: #fff;
  color: #0a0a0a;
}


/* =========================================================
   13 — IMAGE LOADING STATES
========================================================= */

.img-loading {
  background: linear-gradient(90deg,
    #f0f0f0 0%, #fafafa 50%, #f0f0f0 100%);
  background-size: 200% 100%;
  animation: imgLoad 1.4s ease infinite;
}

@keyframes imgLoad {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

img[data-loading] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img[data-loaded] {
  opacity: 1;
}


/* =========================================================
   14 — OVERRIDES FOR THE BAREBONES LAYOUTS
   Some pages (your screenshots) currently render as plain
   text stacks. These selectors restore luxury layout when
   the markup uses generic tags.
========================================================= */

/* If the product page uses plain h1 as title without class */
.product-page h1:first-of-type {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--black, #0a0a0a);
  margin-bottom: 18px;
}

/* If the checkout page uses plain h1 */
body > h1:first-of-type,
main > h1:first-of-type {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
}

/* Generic form on checkout to look luxury even without classes */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="number"],
form textarea,
form select {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  color: #0a0a0a;
  width: 100%;
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
  box-sizing: border-box;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="number"]:focus,
form textarea:focus,
form select:focus {
  border-color: #0a0a0a;
}


/* =========================================================
   15 — END
========================================================= */
/* =========================================================================
   PAYGERFIE — PRODUCT PAGE LUXURY CSS · V12
   Dior · Fashionnova · Gymshark · Quiet Luxury
   Append at the END of style.css
   Targets existing markup: <main class="product-detail"> ...
   No HTML changes required
   ========================================================================= */


/* =========================================================================
   00 — UNIVERSAL HEADER FORCE (the product page header looked broken,
   plain text "Shop Collections Cart 1" with no luxury layout)
   ========================================================================= */

body:has(.product-detail) .header,
body:has([data-product-detail]) .header,
.product-detail-page .header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}


/* =========================================================================
   01 — PAGE WRAPPER (forces 2-column luxury layout on existing main tag)
   ========================================================================= */

main.product-detail,
.product-detail,
[data-product-detail] {
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 28px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 70px;
  align-items: flex-start;
  background: #ffffff;
}


/* =========================================================================
   02 — IMAGE GALLERY ZONE
   The product page currently shows ONE huge image taking the whole top.
   We isolate it and turn it into a sticky luxury gallery on desktop.
   ========================================================================= */

.product-detail > img,
.product-detail .product-image,
.product-detail .product-photo,
.product-detail .product-gallery,
.product-detail [data-gallery] {
  position: sticky;
  top: 90px;
  margin: 0;
  background: #fafafa;
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 110px);
  object-fit: cover;
  object-position: center;
  display: block;
  overflow: hidden;
  border-radius: 0;
  cursor: zoom-in;

  /* Ultra 4K image rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  filter: saturate(1.04) contrast(1.02);
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.product-detail > img:hover {
  transform: translateZ(0) scale(1.02);
}

/* Gallery container (if multiple images) */
.product-detail .gallery,
.product-detail .images-wrapper {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: flex-start;
}

.product-detail .gallery img,
.product-detail .images-wrapper img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #fafafa;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter: saturate(1.04);
}


/* =========================================================================
   03 — INFO PANEL (right column)
   Wraps everything that isn't the gallery image
   ========================================================================= */

.product-detail > h1,
.product-detail > h2.title,
.product-detail .product-title,
.product-detail [data-title] {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.08;
  color: #0a0a0a;
  margin: 8px 0 18px;
  padding: 0;
  text-transform: none;
}

/* Sub-line below title (reference, brand, etc.) */
.product-detail > h1 + p,
.product-detail .product-subtitle,
.product-detail [data-subtitle] {
  font-size: 13px;
  color: #8a8a8a;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
  line-height: 1.5;
}


/* =========================================================================
   04 — PRICE BLOCK
   Currently rendered as plain text "5 000 CDF  ~$2"
   We catch the first paragraph that contains "CDF"
   ========================================================================= */

.product-detail .price,
.product-detail .product-price,
.product-detail [data-price] {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 4px 0 8px;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
}

.product-detail .price .current,
.product-detail .product-price .current,
.product-detail [data-price-current] {
  font-size: 26px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.5px;
  line-height: 1;
}

.product-detail .price .old,
.product-detail .product-price .old,
.product-detail [data-price-old] {
  font-size: 17px;
  color: #8a8a8a;
  text-decoration: line-through;
  font-weight: 400;
  line-height: 1;
}

.product-detail .price .save,
.product-detail .product-price .save,
.product-detail [data-price-save] {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #0a0a0a;
  color: #fff;
  padding: 4px 10px;
  line-height: 1.2;
}

.product-detail .price-usd,
.product-detail [data-price-usd] {
  display: block;
  font-size: 12px;
  color: #8a8a8a;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}


/* =========================================================================
   05 — SECTION LABELS ("Color", "Size")
   Currently rendered as plain h3
   ========================================================================= */

.product-detail h3,
.product-detail h4,
.product-detail .option-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 26px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.product-detail h3::after,
.product-detail h4::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #f0f0f0, transparent);
}


/* =========================================================================
   06 — COLOR SWATCHES
   ========================================================================= */

.product-detail .colors,
.product-detail .product-colors,
.product-detail [data-colors] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.product-detail .color,
.product-detail .product-colors > *,
.product-detail [data-color],
.product-detail .swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
  background: #f0f0f0;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.product-detail .color::after,
.product-detail [data-color]::after,
.product-detail .swatch::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.product-detail .color:hover,
.product-detail [data-color]:hover,
.product-detail .swatch:hover {
  transform: scale(1.08);
}

.product-detail .color.active::after,
.product-detail .color.selected::after,
.product-detail [data-color].active::after,
.product-detail .swatch.active::after,
.product-detail .swatch.selected::after {
  border-color: #0a0a0a;
}

/* White swatch needs a border to be visible */
.product-detail .color[style*="#fff"],
.product-detail .color[style*="#FFF"],
.product-detail .color[style*="white"],
.product-detail .swatch[style*="#fff"] {
  border: 1px solid #f0f0f0;
}


/* =========================================================================
   07 — SIZE PILLS
   Currently rendered as inline text "27 29 35 39"
   We catch any list of sizes and turn them into pills
   ========================================================================= */

.product-detail .sizes,
.product-detail .product-sizes,
.product-detail [data-sizes] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.product-detail .size,
.product-detail .product-sizes > *,
.product-detail [data-sizes] > *,
.product-detail [data-size],
.product-detail .size-pill {
  min-width: 56px;
  height: 48px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  font-family: inherit;
}

.product-detail .size:hover,
.product-detail [data-size]:hover,
.product-detail .size-pill:hover {
  border-color: #0a0a0a;
  background: #fafafa;
}

.product-detail .size.active,
.product-detail .size.selected,
.product-detail [data-size].active,
.product-detail .size-pill.active {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

.product-detail .size.disabled,
.product-detail .size.out-of-stock,
.product-detail [data-size][disabled] {
  color: #c0c0c0;
  cursor: not-allowed;
  position: relative;
  background: #fafafa;
}

.product-detail .size.disabled::before,
.product-detail .size.out-of-stock::before,
.product-detail [data-size][disabled]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right,
    transparent calc(50% - 0.5px),
    #d0d0d0 50%,
    transparent calc(50% + 0.5px));
  pointer-events: none;
}


/* =========================================================================
   08 — STOCK STATUS ("✓ In stock")
   ========================================================================= */

.product-detail .stock,
.product-detail .product-stock,
.product-detail [data-stock] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 26px;
  color: #1f7a3a;
  padding: 6px 0;
}

.product-detail .stock::before,
.product-detail .product-stock::before,
.product-detail [data-stock]::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ea44f;
  box-shadow: 0 0 0 4px rgba(46, 164, 79, 0.15);
  display: inline-block;
}

.product-detail .stock.out,
.product-detail .product-stock.out,
.product-detail [data-stock="out"] {
  color: #b53737;
}

.product-detail .stock.out::before,
.product-detail .product-stock.out::before,
.product-detail [data-stock="out"]::before {
  background: #d04545;
  box-shadow: 0 0 0 4px rgba(208, 69, 69, 0.15);
}


/* =========================================================================
   09 — CTA BUTTONS — "Buy Now" + "Add to Cart"
   The HTML currently shows them stacked: "Buy Now Add to Cart"
   We force a 2-col grid layout
   ========================================================================= */

.product-detail .cta-group,
.product-detail .product-actions,
.product-detail .actions,
.product-detail .product-cta-group,
.product-detail [data-actions] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 24px;
}

/* Generic button selectors that catch any "buy" / "add to cart" button */
.product-detail button,
.product-detail .btn,
.product-detail [type="submit"] {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  padding: 18px 22px;
  border: 1px solid #0a0a0a;
  background: #0a0a0a;
  color: #ffffff;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  border-radius: 0;
}

/* "Add to Cart" — secondary (outline) */
.product-detail .add-to-cart,
.product-detail .btn-add,
.product-detail [data-action="add"],
.product-detail button.secondary,
.product-detail .product-cta-add {
  background: #ffffff;
  color: #0a0a0a;
  border: 1px solid #0a0a0a;
}

.product-detail .add-to-cart:hover,
.product-detail .btn-add:hover,
.product-detail [data-action="add"]:hover,
.product-detail button.secondary:hover,
.product-detail .product-cta-add:hover {
  background: #0a0a0a;
  color: #ffffff;
  letter-spacing: 3px;
}

/* "Buy Now" — primary (black with shimmer) */
.product-detail .buy-now,
.product-detail .btn-buy,
.product-detail [data-action="buy"],
.product-detail button.primary,
.product-detail .product-cta-buy {
  background: #0a0a0a;
  color: #ffffff;
  border: 1px solid #0a0a0a;
  position: relative;
  overflow: hidden;
}

.product-detail .buy-now::before,
.product-detail .btn-buy::before,
.product-detail [data-action="buy"]::before,
.product-detail .product-cta-buy::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  transition: left 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.product-detail .buy-now:hover::before,
.product-detail .btn-buy:hover::before,
.product-detail [data-action="buy"]:hover::before,
.product-detail .product-cta-buy:hover::before {
  left: 100%;
}

.product-detail .buy-now:hover,
.product-detail .btn-buy:hover,
.product-detail [data-action="buy"]:hover,
.product-detail .product-cta-buy:hover {
  background: #1a1a1a;
  letter-spacing: 3px;
}

/* "Added" success state */
.product-detail button.added,
.product-detail .btn.added {
  background: #b8985a;
  border-color: #b8985a;
  color: #fff;
}


/* =========================================================================
   10 — TRUST BADGES (Secure payment, Fast delivery, WhatsApp support)
   Currently rendered as a plain list with emojis
   ========================================================================= */

.product-detail .trust,
.product-detail .product-trust,
.product-detail .trust-badges,
.product-detail [data-trust] {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px;
  background: #fafafa;
  margin: 24px 0;
  border-left: 3px solid #b8985a;
}

.product-detail .trust > *,
.product-detail .product-trust > *,
.product-detail .trust-badges > *,
.product-detail [data-trust] > * {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: #4a4a4a;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}


/* =========================================================================
   11 — DESCRIPTION
   The long descriptive paragraph at the bottom
   ========================================================================= */

.product-detail .description,
.product-detail .product-description,
.product-detail [data-description] {
  margin: 28px 0;
  padding: 28px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.product-detail .description::before,
.product-detail .product-description::before,
.product-detail [data-description]::before {
  content: 'DESCRIPTION';
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #0a0a0a;
  margin-bottom: 16px;
}

.product-detail .description p,
.product-detail .product-description p,
.product-detail [data-description] p,
.product-detail .description,
.product-detail .product-description {
  font-size: 14.5px;
  line-height: 1.75;
  color: #4a4a4a;
  font-weight: 400;
  letter-spacing: 0.1px;
  white-space: pre-wrap;
}

/* Generic paragraph at the bottom (description fallback) */
.product-detail > p:last-of-type {
  font-size: 14.5px;
  line-height: 1.75;
  color: #4a4a4a;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}


/* =========================================================================
   12 — FLOATING "STICKY" CTA on mobile
   When the user scrolls past the buttons, show them at the bottom
   ========================================================================= */

.product-mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .product-mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    z-index: 89;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
  }

  .product-mobile-sticky-cta.visible {
    transform: translateY(0);
  }

  .product-mobile-sticky-cta button {
    padding: 14px;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid #0a0a0a;
    transition: all 0.3s ease;
  }

  .product-mobile-sticky-cta .add {
    background: #fff;
    color: #0a0a0a;
  }

  .product-mobile-sticky-cta .buy {
    background: #0a0a0a;
    color: #fff;
  }

  /* Push the page up so the sticky CTA doesn't cover the bottom content */
  body:has(.product-detail) {
    padding-bottom: 80px;
  }
}


/* =========================================================================
   13 — RESPONSIVE — TABLET (between mobile and desktop)
   ========================================================================= */

@media (max-width: 1024px) {
  main.product-detail,
  .product-detail,
  [data-product-detail] {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 18px 60px;
  }

  .product-detail > img,
  .product-detail .gallery,
  .product-detail .images-wrapper {
    position: static;
    max-height: none;
    aspect-ratio: 4 / 5;
    margin-bottom: 0;
  }
}


/* =========================================================================
   14 — RESPONSIVE — MOBILE
   The product page on mobile must look like Dior/Fashionnova:
   - Image edge-to-edge, full width
   - Sticky CTA at bottom
   - Compact info zone below
   ========================================================================= */

@media (max-width: 768px) {
  main.product-detail,
  .product-detail,
  [data-product-detail] {
    padding: 0 0 100px;
    gap: 0;
  }

  /* Image takes the full viewport width, no padding */
  .product-detail > img,
  .product-detail .gallery img,
  .product-detail .images-wrapper img {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    aspect-ratio: 3 / 4;
    max-width: 100vw;
    border-radius: 0;
  }

  /* Wrap all info content with side padding */
  .product-detail > h1,
  .product-detail > h2,
  .product-detail > h3,
  .product-detail > h4,
  .product-detail > p,
  .product-detail > div,
  .product-detail > ul,
  .product-detail > section,
  .product-detail > form {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Sections that already have own padding stay */
  .product-detail .trust,
  .product-detail .product-trust,
  .product-detail .trust-badges {
    margin-left: 18px;
    margin-right: 18px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .product-detail > h1,
  .product-detail .product-title {
    font-size: 22px;
    letter-spacing: -0.8px;
    margin-top: 22px;
    margin-bottom: 12px;
    line-height: 1.15;
  }

  .product-detail .price .current,
  .product-detail [data-price-current] {
    font-size: 22px;
  }

  .product-detail .price .old,
  .product-detail [data-price-old] {
    font-size: 15px;
  }

  .product-detail h3,
  .product-detail h4,
  .product-detail .option-label {
    font-size: 11px;
    margin-top: 22px;
    margin-bottom: 10px;
    letter-spacing: 1.8px;
  }

  .product-detail .color,
  .product-detail [data-color],
  .product-detail .swatch {
    width: 36px;
    height: 36px;
  }

  .product-detail .size,
  .product-detail [data-size],
  .product-detail .size-pill {
    min-width: 52px;
    height: 44px;
    font-size: 13px;
    padding: 0 14px;
  }

  /* Hide the desktop CTA group on mobile (we use the sticky one) */
  .product-detail .cta-group,
  .product-detail .product-actions,
  .product-detail .actions,
  .product-detail .product-cta-group,
  .product-detail [data-actions] {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 16px 18px 22px;
    padding: 0;
  }

  .product-detail button,
  .product-detail .btn {
    padding: 15px 16px;
    font-size: 11px;
    letter-spacing: 2px;
  }

  .product-detail .description,
  .product-detail .product-description,
  .product-detail [data-description] {
    margin-left: 18px;
    margin-right: 18px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .product-detail > p:last-of-type {
    margin-left: 18px;
    margin-right: 18px;
  }
}

@media (max-width: 380px) {
  .product-detail > h1,
  .product-detail .product-title {
    font-size: 20px;
  }

  .product-detail .size,
  .product-detail [data-size] {
    min-width: 48px;
    height: 42px;
    font-size: 12px;
  }
}


/* =========================================================================
   15 — IMAGE LIGHTBOX (zoom on click — desktop only)
   ========================================================================= */

.product-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: zoom-out;
}

.product-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.product-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.product-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.product-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}


/* =========================================================================
   16 — IMAGE QUALITY ENFORCEMENT (4K)
   All images on the product page get full-quality treatment
   ========================================================================= */

.product-detail img,
.product-detail picture,
.product-detail video {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@media (min-resolution: 2dppx),
       (-webkit-min-device-pixel-ratio: 2) {
  .product-detail img,
  .product-detail picture,
  .product-detail video {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
  }
}


/* =========================================================================
   17 — MICRO-ANIMATIONS
   ========================================================================= */

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

.product-detail > h1,
.product-detail .product-title,
.product-detail .price,
.product-detail .product-price,
.product-detail h3,
.product-detail h4,
.product-detail .colors,
.product-detail .sizes,
.product-detail .stock,
.product-detail .cta-group,
.product-detail .trust,
.product-detail .description {
  animation: productFadeIn 0.7s cubic-bezier(0.65, 0, 0.35, 1) backwards;
}

.product-detail > h1 { animation-delay: 0.05s; }
.product-detail .price,
.product-detail .product-price { animation-delay: 0.10s; }
.product-detail h3:nth-of-type(1) { animation-delay: 0.15s; }
.product-detail .colors,
.product-detail .product-colors { animation-delay: 0.20s; }
.product-detail h3:nth-of-type(2) { animation-delay: 0.25s; }
.product-detail .sizes,
.product-detail .product-sizes { animation-delay: 0.30s; }
.product-detail .stock,
.product-detail .product-stock { animation-delay: 0.35s; }
.product-detail .cta-group,
.product-detail .product-actions { animation-delay: 0.40s; }
.product-detail .trust,
.product-detail .product-trust { animation-delay: 0.45s; }
.product-detail .description,
.product-detail .product-description { animation-delay: 0.50s; }


/* =========================================================================
   18 — SCROLLBAR (luxury)
   ========================================================================= */

.product-detail ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.product-detail ::-webkit-scrollbar-track {
  background: #fafafa;
}

.product-detail ::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 3px;
}


/* =========================================================================
   19 — FALLBACK FOR FOOTER + ANY GENERIC OVERLAP
   ========================================================================= */

main.product-detail + footer,
.product-detail + footer {
  margin-top: 0;
}


/* =========================================================================
   20 — REDUCED MOTION
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  .product-detail *,
  .product-detail *::before,
  .product-detail *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================================
   END — V12 PRODUCT PAGE LUXURY CSS
   Append after style.css. Do NOT modify your HTML.
   ========================================================================= *//* =========================================================================
   PAYGERFIE — LUXURY FIX V13
   Append at the bottom — fixes ALL conflicts without breaking anything
   Targets: Product page header · Horizontal swipe gallery · Checkout ·
            Cart · Payment logos · Order summary
   ========================================================================= */


/* =========================================================================
   01 — UNIVERSAL HEADER (fixes the broken "Shop Collections Cart 1" header
   that appears as plain text on product / checkout / cart pages)
   ========================================================================= */

body .header,
body header.header,
body > header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 0 !important;
}

body .header .header-container,
body header.header > div:first-child,
body header.header {
  max-width: 1500px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Force the brand mark to look like the home logo */
body .header .logo,
body header.header .logo,
body header.header > a:first-of-type,
body header.header h1:first-of-type {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #0a0a0a;
  text-decoration: none;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Plain text "Shop Collections Cart 1" → upgrade to luxury nav */
body .header nav,
body header.header nav,
body header.header > nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

body .header nav > a,
body header.header nav > a,
body header.header > nav a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0a0a0a;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

body .header nav > a::after,
body header.header nav > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #0a0a0a;
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

body .header nav > a:hover::after,
body header.header nav > a:hover::after {
  width: 100%;
}

/* "Cart 1" link — upgrade to luxury cart icon button */
body .header nav > a[href*="cart"],
body header.header a[href*="cart"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body .header nav > a[href*="cart"]::before,
body header.header a[href*="cart"]::before {
  content: '🛍';
  font-size: 14px;
  filter: grayscale(1);
}


/* MOBILE HEADER — burger menu replaces nav */
@media (max-width: 768px) {
  body .header .header-container,
  body header.header {
    padding: 14px 16px !important;
    gap: 8px;
  }

  body .header .logo,
  body header.header .logo,
  body header.header > a:first-of-type {
    font-size: 17px;
    letter-spacing: 3px;
  }

  /* Hide desktop nav on mobile */
  body .header nav,
  body header.header > nav {
    display: none;
  }

  body .header .desktop-nav {
    display: none !important;
  }

  body .header .mobile-menu-toggle {
    display: flex !important;
  }
}


/* =========================================================================
   02 — PRODUCT PAGE — HORIZONTAL SWIPE GALLERY (mobile)
   The gallery currently shows ONE huge image vertically.
   We turn it into a horizontal swipe like Dior / Fashionnova on mobile.
   ========================================================================= */

/* DESKTOP — keep the sticky 4/5 frame, but add a thumb strip */
@media (min-width: 1025px) {
  .product-detail .gallery,
  .product-detail .product-gallery,
  .product-detail [data-gallery],
  .product-detail .images,
  .product-detail .images-wrapper {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: flex-start;
    max-height: calc(100vh - 110px);
    overflow: hidden;
  }

  .product-detail .gallery > img,
  .product-detail .product-gallery > img,
  .product-detail .images > img,
  .product-detail .images-wrapper > img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #fafafa;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    filter: saturate(1.04) contrast(1.02);
    cursor: zoom-in;
    transition: opacity 0.4s ease;
  }
}

/* MOBILE & TABLET — horizontal swipe carousel */
@media (max-width: 1024px) {
  .product-detail .gallery,
  .product-detail .product-gallery,
  .product-detail [data-gallery],
  .product-detail .images,
  .product-detail .images-wrapper {
    position: relative !important;
    top: auto !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    height: auto !important;
  }

  .product-detail .gallery::-webkit-scrollbar,
  .product-detail .product-gallery::-webkit-scrollbar,
  .product-detail .images::-webkit-scrollbar,
  .product-detail .images-wrapper::-webkit-scrollbar {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
  }

  .product-detail .gallery > img,
  .product-detail .product-gallery > img,
  .product-detail .images > img,
  .product-detail .images-wrapper > img {
    width: 100vw !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    margin: 0 !important;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    filter: saturate(1.04);
  }
}

/* If the page only shows ONE image (no .gallery wrapper),
   make THAT image the swipe carousel container */
@media (max-width: 1024px) {
  .product-detail > img:only-of-type,
  .product-detail > picture:only-of-type img {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    aspect-ratio: 3 / 4 !important;
    max-width: 100vw !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    position: static !important;
  }
}

/* Pagination dots indicator (purely CSS-driven hint) */
.product-detail .gallery-dots,
.product-detail [data-gallery-dots] {
  display: none;
}

@media (max-width: 1024px) {
  .product-detail .gallery-dots,
  .product-detail [data-gallery-dots] {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 14px 0 4px;
    margin: 0;
  }

  .product-detail .gallery-dots > *,
  .product-detail [data-gallery-dots] > * {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d0d0d0;
    transition: background 0.3s ease, width 0.3s ease;
  }

  .product-detail .gallery-dots > .active,
  .product-detail [data-gallery-dots] > .active {
    background: #0a0a0a;
    width: 22px;
    border-radius: 3px;
  }
}


/* =========================================================================
   03 — PRODUCT PAGE — SUB-SECTIONS POLISH
   ========================================================================= */

/* Make sure the 2-column desktop layout doesn't break with mobile gallery */
@media (max-width: 1024px) {
  main.product-detail,
  .product-detail,
  [data-product-detail] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 0 0 100px !important;
  }

  /* Info wrapping */
  .product-detail > h1,
  .product-detail > h2,
  .product-detail > h3,
  .product-detail > h4,
  .product-detail > p,
  .product-detail > div:not(.gallery):not(.product-gallery):not([data-gallery]):not(.images):not(.images-wrapper),
  .product-detail > ul,
  .product-detail > section,
  .product-detail > form {
    padding-left: 18px !important;
    padding-right: 18px !important;
    box-sizing: border-box;
  }

  /* Title comes right after the gallery — no extra margin */
  .product-detail .gallery + h1,
  .product-detail .gallery + h2,
  .product-detail .product-gallery + h1,
  .product-detail .images + h1,
  .product-detail .images-wrapper + h1,
  .product-detail > img + h1,
  .product-detail > img + h2 {
    margin-top: 22px !important;
  }
}


/* =========================================================================
   04 — CHECKOUT PAGE — LUXURY FORM
   The current checkout looks like a raw form. We dress it up.
   ========================================================================= */

main.checkout-page,
.checkout-page,
[data-checkout-page] {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 50px;
  align-items: flex-start;
}

/* "Checkout" big title */
.checkout-page > h1:first-of-type,
.checkout-page .page-title {
  grid-column: 1 / -1;
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  color: #0a0a0a;
  margin: 0 0 36px;
  text-align: center;
  text-transform: none;
}

.checkout-page > h1:first-of-type::after,
.checkout-page .page-title::after {
  content: 'Finalisez votre commande en toute sécurité';
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-top: 14px;
}

/* "Delivery Information" section header */
.checkout-page h2,
.checkout-page > h2,
.checkout-page section > h2,
.checkout-page form > h2 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 22px;
  padding: 0 0 14px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-page h2::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #0a0a0a;
  border-radius: 50%;
  flex-shrink: 0;
}

.checkout-page form h2:nth-of-type(1)::before { background: #0a0a0a; }
.checkout-page form h2:nth-of-type(2)::before { background: #b8985a; }
.checkout-page form h2:nth-of-type(3)::before { background: #b8985a; }

/* Form fields */
.checkout-page form,
.checkout-page > form {
  display: block;
}

.checkout-page label,
.checkout-page form > div > label,
.checkout-page form label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4a4a4a;
  margin: 18px 0 8px;
}

.checkout-page input[type="text"],
.checkout-page input[type="email"],
.checkout-page input[type="tel"],
.checkout-page input[type="number"],
.checkout-page input[type="search"],
.checkout-page textarea,
.checkout-page select {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #0a0a0a;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  letter-spacing: 0.2px;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.checkout-page input:focus,
.checkout-page textarea:focus,
.checkout-page select:focus {
  border-color: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.04);
}

.checkout-page input::placeholder,
.checkout-page textarea::placeholder {
  color: #b0b0b0;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.checkout-page textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.5;
}

/* Help text under inputs ("12 digits, starts with 243") */
.checkout-page small,
.checkout-page .help,
.checkout-page input + p,
.checkout-page input + small {
  display: block;
  font-size: 11px;
  color: #8a8a8a;
  margin-top: 6px;
  letter-spacing: 0.3px;
  font-weight: 400;
}

/* GPS button + Capture GPS link */
.checkout-page button[type="button"]:not(.place-order-btn),
.checkout-page .gps-btn,
.checkout-page a[href*="gps"],
.checkout-page label[for*="gps"] + button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  padding: 11px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0a0a0a;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 6px 0;
  border-radius: 0;
  text-decoration: none;
  font-family: inherit;
}

.checkout-page button[type="button"]:not(.place-order-btn):hover,
.checkout-page .gps-btn:hover {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

/* File input — luxury upload zone */
.checkout-page input[type="file"] {
  width: 100%;
  padding: 22px;
  border: 1.5px dashed #d8d8d8;
  background: #fafafa;
  cursor: pointer;
  font-size: 12px;
  color: #4a4a4a;
  letter-spacing: 0.5px;
  font-family: inherit;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.checkout-page input[type="file"]:hover {
  border-color: #0a0a0a;
  background: #fff;
}

.checkout-page input[type="file"]::-webkit-file-upload-button {
  background: #0a0a0a;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  margin-right: 16px;
  font-family: inherit;
  transition: background 0.3s ease;
}

.checkout-page input[type="file"]::file-selector-button {
  background: #0a0a0a;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  margin-right: 16px;
  font-family: inherit;
  transition: background 0.3s ease;
}


/* =========================================================================
   05 — CHECKOUT — PAYMENT METHODS (the BIG payment logos issue)
   Currently the m-pesa, afrimoney, airtel logos take the full width.
   We force them into a compact card grid like Stripe/Shopify checkout.
   ========================================================================= */

/* Wrap any consecutive payment images into a grid */
.checkout-page .payment-methods,
.checkout-page .payment-options,
.checkout-page [data-payment-methods],
.checkout-page form > div:has(> img[src*="pesa"]),
.checkout-page form > div:has(> img[src*="airtel"]),
.checkout-page form > div:has(> img[src*="orange"]),
.checkout-page form > div:has(> img[src*="afrimoney"]) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
  gap: 10px !important;
  margin: 14px 0 22px !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Each payment option as a card */
.checkout-page .payment-method,
.checkout-page .payment-option,
.checkout-page label.payment-option,
.checkout-page [data-payment-option] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 12px !important;
  background: #fff !important;
  border: 1.5px solid #e8e8e8 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  min-height: 90px !important;
  gap: 8px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.checkout-page .payment-method:hover,
.checkout-page .payment-option:hover,
.checkout-page label.payment-option:hover {
  border-color: #0a0a0a;
}

.checkout-page .payment-method.active,
.checkout-page .payment-method.selected,
.checkout-page .payment-option.active,
.checkout-page .payment-option.selected,
.checkout-page label.payment-option:has(input:checked) {
  border-color: #0a0a0a;
  background: #fafafa;
  box-shadow: inset 0 0 0 1px #0a0a0a;
}

/* CRITICAL: Force payment logos to be SMALL */
.checkout-page .payment-method img,
.checkout-page .payment-option img,
.checkout-page [data-payment-option] img,
.checkout-page label.payment-option img,
.checkout-page form img[src*="pesa"],
.checkout-page form img[src*="airtel"],
.checkout-page form img[src*="orange"],
.checkout-page form img[src*="afrimoney"],
.checkout-page form img[src*="payment"],
.checkout-page form img[src*="logo"] {
  max-width: 70px !important;
  max-height: 38px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
  border-radius: 4px !important;
  background: transparent !important;
}

/* Payment label text */
.checkout-page .payment-method-name,
.checkout-page .payment-option-name,
.checkout-page label.payment-option > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0a0a0a;
  text-align: center;
  margin-top: 4px;
}

/* Radio inputs hidden but functional */
.checkout-page .payment-method input[type="radio"],
.checkout-page .payment-option input[type="radio"],
.checkout-page label.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Selected indicator */
.checkout-page .payment-method.active::after,
.checkout-page .payment-option.active::after,
.checkout-page label.payment-option:has(input:checked)::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  background: #0a0a0a;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================================================================
   06 — CHECKOUT — PLACE ORDER BUTTON
   ========================================================================= */

.checkout-page button[type="submit"],
.checkout-page .place-order-btn,
.checkout-page button.primary,
.checkout-page form > button:last-of-type {
  width: 100%;
  background: #0a0a0a;
  color: #fff;
  padding: 19px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #0a0a0a;
  margin: 24px 0 0;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
}

.checkout-page button[type="submit"]::before,
.checkout-page .place-order-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%);
  transition: left 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.checkout-page button[type="submit"]:hover::before,
.checkout-page .place-order-btn:hover::before {
  left: 100%;
}

.checkout-page button[type="submit"]:hover,
.checkout-page .place-order-btn:hover {
  background: #1a1a1a;
  letter-spacing: 3.5px;
}

.checkout-page button[type="submit"]:disabled,
.checkout-page .place-order-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* =========================================================================
   07 — ORDER SUMMARY (right column)
   Currently rendered with HUGE product image
   ========================================================================= */

.checkout-page .order-summary,
.checkout-page [data-order-summary],
.checkout-page aside,
.checkout-page > aside,
.checkout-page > section.summary {
  background: #fafafa;
  padding: 30px;
  position: sticky;
  top: 90px;
  align-self: flex-start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.checkout-page .order-summary h2,
.checkout-page .order-summary > h3:first-of-type,
.checkout-page [data-order-summary] h2,
.checkout-page aside h2,
.checkout-page aside > h3:first-of-type {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 22px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e8e8e8;
}

.checkout-page .order-summary h2::before,
.checkout-page .order-summary > h3:first-of-type::before,
.checkout-page aside h2::before {
  display: none !important;
}

/* Order summary items list */
.checkout-page .order-summary > div,
.checkout-page .order-summary li,
.checkout-page .order-item,
.checkout-page [data-order-item] {
  display: grid !important;
  grid-template-columns: 64px 1fr auto !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  list-style: none !important;
}

.checkout-page .order-summary > div:last-of-type,
.checkout-page .order-item:last-of-type {
  border-bottom: none;
}

/* CRITICAL: force the product image in order summary to be SMALL */
.checkout-page .order-summary img,
.checkout-page .order-item img,
.checkout-page [data-order-item] img,
.checkout-page aside img,
.checkout-page section.summary img {
  width: 64px !important;
  height: 80px !important;
  max-width: 64px !important;
  max-height: 80px !important;
  object-fit: cover !important;
  background: #fff !important;
  border-radius: 0 !important;
  display: block !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* Item name + variant */
.checkout-page .order-summary .item-info,
.checkout-page .order-item-info,
.checkout-page .order-summary > div > div:nth-child(2),
.checkout-page .order-item > div:nth-child(2) {
  min-width: 0;
  overflow: hidden;
}

.checkout-page .order-summary h4,
.checkout-page .order-item h3,
.checkout-page .order-item h4,
.checkout-page .order-item-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0 0 4px;
  line-height: 1.3;
  letter-spacing: -0.1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: none;
}

.checkout-page .order-summary p,
.checkout-page .order-item p,
.checkout-page .order-item-meta {
  font-size: 10.5px;
  color: #8a8a8a;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.checkout-page .order-item-price,
.checkout-page .order-summary .price,
.checkout-page .order-item > div:last-child {
  font-size: 13px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.2px;
  text-align: right;
  white-space: nowrap;
}

/* Totals block (Total, Subtotal, etc.) */
.checkout-page .order-totals,
.checkout-page .summary-totals,
.checkout-page .order-summary > p:has(strong),
.checkout-page .order-summary .total {
  border-top: 2px solid #0a0a0a;
  margin-top: 16px;
  padding-top: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* =========================================================================
   08 — CHECKOUT — PAYMENT LOGOS BAR (footer logos, the ones that
   are HUGE: m-pesa, afrimoney, airtel)
   These are static logos at the bottom (not interactive) — shrink them
   ========================================================================= */

.checkout-page .payment-logos,
.checkout-page .accepted-payments,
.checkout-page [data-payment-logos],
.checkout-page > div:has(> img[src*="pesa"]):not(:has(input)),
.checkout-page > div:has(> img[src*="airtel"]):not(:has(input)),
.checkout-page > div:has(> img[src*="afrimoney"]):not(:has(input)) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px 16px !important;
  margin: 18px 0 !important;
  background: #fafafa !important;
  border: 1px solid #f0f0f0 !important;
  width: 100% !important;
  box-sizing: border-box;
}

.checkout-page .payment-logos img,
.checkout-page .accepted-payments img,
.checkout-page [data-payment-logos] img {
  max-width: 56px !important;
  max-height: 32px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: grayscale(0.2) opacity(0.85);
  transition: filter 0.3s ease;
  flex-shrink: 0;
}

.checkout-page .payment-logos img:hover,
.checkout-page .accepted-payments img:hover {
  filter: grayscale(0) opacity(1);
}


/* =========================================================================
   09 — CHECKOUT — TRUST BADGES ("Secure Payment", "Fast Delivery")
   ========================================================================= */

.checkout-page .trust-badges,
.checkout-page > ul:last-of-type,
.checkout-page > div:has(> p:contains("Secure")),
.checkout-page > div:has(> p:contains("Fast")) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 24px 0;
  padding: 20px;
  background: #fafafa;
  border-left: 3px solid #b8985a;
}

.checkout-page .trust-badges > *,
.checkout-page .trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #4a4a4a;
  font-weight: 400;
  letter-spacing: 0.3px;
  font-family: 'Inter', sans-serif;
}


/* =========================================================================
   10 — CHECKOUT — RESPONSIVE
   ========================================================================= */

@media (max-width: 1024px) {
  main.checkout-page,
  .checkout-page,
  [data-checkout-page] {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px 18px 60px;
  }

  .checkout-page .order-summary,
  .checkout-page aside,
  .checkout-page > section.summary {
    position: static;
    max-height: none;
    order: -1;
    padding: 22px 18px;
  }

  .checkout-page > h1:first-of-type,
  .checkout-page .page-title {
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .checkout-page > h1:first-of-type,
  .checkout-page .page-title {
    font-size: 28px;
  }

  .checkout-page > h1:first-of-type::after,
  .checkout-page .page-title::after {
    font-size: 11px;
  }

  .checkout-page h2 {
    font-size: 12px;
  }

  .checkout-page input[type="text"],
  .checkout-page input[type="email"],
  .checkout-page input[type="tel"],
  .checkout-page input[type="number"],
  .checkout-page textarea,
  .checkout-page select {
    padding: 13px 14px;
    font-size: 14px;
  }

  .checkout-page .payment-methods,
  .checkout-page .payment-options {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
    gap: 8px !important;
  }

  .checkout-page .payment-method,
  .checkout-page .payment-option {
    padding: 12px 8px !important;
    min-height: 76px !important;
  }

  .checkout-page .payment-method img,
  .checkout-page .payment-option img {
    max-width: 56px !important;
    max-height: 30px !important;
  }

  .checkout-page button[type="submit"],
  .checkout-page .place-order-btn {
    padding: 17px 18px;
    font-size: 11px;
    letter-spacing: 2.5px;
  }
}


/* =========================================================================
   11 — CART PAGE — LUXURY POLISH
   ========================================================================= */

main.cart-page,
.cart-page,
[data-cart-page] {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 50px;
  align-items: flex-start;
}

.cart-page > h1:first-of-type,
.cart-page .page-title {
  grid-column: 1 / -1;
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  color: #0a0a0a;
  margin: 0 0 36px;
  text-align: center;
  text-transform: none;
}

/* Cart item rows */
.cart-page .cart-item,
.cart-page > ul > li,
.cart-page .item {
  display: grid !important;
  grid-template-columns: 110px 1fr auto !important;
  gap: 22px !important;
  padding: 24px 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  align-items: flex-start !important;
  list-style: none !important;
}

.cart-page .cart-item img,
.cart-page > ul > li img,
.cart-page .item img {
  width: 110px !important;
  height: 138px !important;
  max-width: 110px !important;
  max-height: 138px !important;
  object-fit: cover !important;
  background: #fafafa !important;
  border-radius: 0 !important;
  display: block !important;
}

.cart-page .cart-item h3,
.cart-page .cart-item h4,
.cart-page .item-name,
.cart-page > ul > li h3 {
  font-size: 15px;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
  line-height: 1.3;
  text-transform: none;
}

.cart-page .item-meta,
.cart-page .cart-item p:not(.price) {
  font-size: 11.5px;
  color: #8a8a8a;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 500;
}

.cart-page .item-price,
.cart-page .cart-item .price,
.cart-page .item > div:last-child {
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.2px;
  text-align: right;
  white-space: nowrap;
}

/* Quantity widget */
.cart-page .qty,
.cart-page .quantity,
.cart-page .item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e8e8e8;
  background: #fff;
  margin-top: 8px;
}

.cart-page .qty button,
.cart-page .quantity button,
.cart-page .item-qty button {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #0a0a0a;
  transition: background 0.2s ease;
  font-family: inherit;
  padding: 0;
  border-radius: 0;
}

.cart-page .qty button:hover,
.cart-page .quantity button:hover {
  background: #fafafa;
}

.cart-page .qty input,
.cart-page .quantity input,
.cart-page .item-qty input {
  width: 40px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  outline: none;
}

/* Remove link */
.cart-page .remove,
.cart-page .item-remove,
.cart-page button.remove,
.cart-page a.remove {
  background: transparent;
  border: none;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a8a8a;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0;
  margin-top: 10px;
  font-family: inherit;
  display: inline-block;
}

.cart-page .remove:hover,
.cart-page .item-remove:hover {
  color: #0a0a0a;
}

/* Summary sidebar */
.cart-page .cart-summary,
.cart-page aside,
.cart-page > section.summary {
  background: #fafafa;
  padding: 30px;
  position: sticky;
  top: 90px;
  align-self: flex-start;
}

.cart-page .cart-summary h2,
.cart-page .cart-summary h3,
.cart-page aside h2,
.cart-page aside > h3:first-of-type {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 22px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e8e8e8;
}

.cart-page .cart-summary p,
.cart-page .cart-summary > div,
.cart-page aside > p,
.cart-page aside > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13.5px;
  color: #4a4a4a;
  margin: 0;
}

.cart-page .cart-summary .total,
.cart-page .cart-summary > p.total,
.cart-page .cart-summary > div.total,
.cart-page aside .total {
  font-size: 17px !important;
  font-weight: 700;
  color: #0a0a0a !important;
  padding-top: 16px !important;
  margin-top: 12px !important;
  border-top: 1px solid #e8e8e8 !important;
  letter-spacing: -0.2px;
}

/* Checkout button on cart page */
.cart-page .checkout-btn,
.cart-page a.checkout,
.cart-page button[type="submit"],
.cart-page > a[href*="checkout"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #0a0a0a;
  color: #fff;
  padding: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid #0a0a0a;
  margin-top: 20px;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  text-decoration: none;
  font-family: inherit;
  box-sizing: border-box;
}

.cart-page .checkout-btn:hover,
.cart-page a.checkout:hover {
  background: #1a1a1a;
  letter-spacing: 3.5px;
}

@media (max-width: 1024px) {
  main.cart-page,
  .cart-page,
  [data-cart-page] {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px 18px 60px;
  }

  .cart-page .cart-summary,
  .cart-page aside,
  .cart-page > section.summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-page .cart-item,
  .cart-page > ul > li,
  .cart-page .item {
    grid-template-columns: 90px 1fr !important;
    gap: 14px !important;
    padding: 18px 0 !important;
  }

  .cart-page .cart-item img,
  .cart-page > ul > li img,
  .cart-page .item img {
    width: 90px !important;
    height: 112px !important;
  }

  .cart-page .item-price,
  .cart-page .cart-item .price,
  .cart-page .item > div:last-child {
    grid-column: 2 / -1;
    text-align: left;
    font-size: 15px;
    margin-top: 6px;
  }

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

  .cart-page .cart-summary,
  .cart-page aside {
    padding: 22px 18px;
  }
}


/* =========================================================================
   12 — UNIVERSAL FIXES (last safety net)
   Catch any payment image anywhere that's still huge
   ========================================================================= */

/* Force any payment-related image on these pages to be reasonable */
body img[src*="m-pesa"],
body img[src*="mpesa"],
body img[src*="airtel"],
body img[src*="orange"],
body img[src*="afrimoney"]:not(.product-detail img):not(.cart-page .item img) {
  max-width: 80px;
  max-height: 50px;
  object-fit: contain;
}

/* But not in the product gallery! Re-allow large product images */
.product-detail .gallery img,
.product-detail .product-gallery img,
.product-detail [data-gallery] img,
.product-detail .images img,
.product-detail .images-wrapper img,
.product-detail > img {
  max-width: none;
  max-height: none;
}

/* And not in cart item product images */
.cart-page .cart-item img,
.cart-page > ul > li img,
.cart-page .item img {
  max-width: 110px;
  max-height: 138px;
}


/* =========================================================================
   13 — IMAGE QUALITY (4K everywhere)
   ========================================================================= */

.product-detail img,
.cart-page img,
.checkout-page img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


/* =========================================================================
   14 — REDUCED MOTION ACCESSIBILITY
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  .product-detail *,
  .cart-page *,
  .checkout-page *,
  .product-detail *::before,
  .product-detail *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================================
   15 — END V13
   ========================================================================= */