/* ============================================
   DERRICK DION — SANDAL BRAND STYLES
   ============================================ */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink:    #E8547A;
  --orange:  #F07C3B;
  --green:   #4CAF72;
  --yellow:  #F5C842;
  --sand:    #F7F3EE;
  --white:   #FFFFFF;
  --black:   #2C2C2C;
  --gray:    #6B6B6B;
  --light-gray: #F0EDE9;
  --border:  #E5E0DA;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Montserrat', Arial, sans-serif;

  --nav-height: 144px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  line-height: 1.2;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
  box-shadow: 0 4px 20px rgba(232, 84, 122, 0.35);
}

.btn-primary:hover {
  background: #d43d68;
  border-color: #d43d68;
  box-shadow: 0 6px 28px rgba(232, 84, 122, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border-color: #3D3530;
  font-weight: 800;
}

.btn-secondary:hover {
  background: #3D3530;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
  font-weight: 800;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.25);
}

.btn-disabled {
  background: #ccc;
  color: #888;
  border-color: #ccc;
  cursor: not-allowed;
}

.btn-large {
  padding: 18px 44px;
  font-size: 0.92rem;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  z-index: 900;
  display: flex;
  align-items: center;
  backdrop-filter: blur(8px);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-logo span {
  color: var(--pink);
}

.car-carousel-image {
  height: 144px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--pink);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

/* Cart Icon */
.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--black);
  transition: color 0.2s;
}

.cart-icon:hover {
  color: var(--pink);
}

.cart-icon svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--pink);
  color: var(--white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* === CART DRAWER === */
#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}

#cart-drawer.active {
  visibility: visible;
  pointer-events: none;
}

.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

#cart-drawer.active .cart-drawer-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-content {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

#cart-drawer.active .cart-drawer-content {
  right: 0;
}

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

.cart-drawer-header h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
}

.close-cart {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray);
  line-height: 1;
  transition: color 0.2s;
}

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

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 24px;
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
}

#cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--light-gray);
}

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

.cart-item-details h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-details .variant-title {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 4px;
}

.cart-item-details .item-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
}

.cart-item-status {
  font-size: 0.78rem;
  font-weight: 600;
  margin: 4px 0;
}

.cart-item-status.out-of-stock {
  color: #c62828;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.quantity-controls button {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}

.quantity-controls button:hover {
  background: var(--light-gray);
}

.quantity-controls span {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.remove-btn {
  font-size: 0.75rem;
  color: var(--gray);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

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

.cart-footer {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-footer .btn {
  width: 100%;
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  top: calc(var(--nav-height) + 12px);
  right: 20px;
  padding: 14px 24px;
  background: #3D3530;
  color: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 2000;
  pointer-events: none;
}

.cart-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--nav-height);
}

/* === HERO SLIDESHOW === */
.hero-slideshow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Slideshow arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.8);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.hero-arrow-prev { left: 28px; }
.hero-arrow-next { right: 28px; }

/* Slideshow dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.hero-dot:hover {
  background: rgba(255,255,255,0.8);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40, 30, 20, 0.38);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 28px;
  max-width: 780px;
  text-shadow: 0 3px 30px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(245,200,66,0.5);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  max-width: 500px;
  margin-bottom: 44px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-color-swatches {
  display: flex;
  gap: 10px;
  margin-top: 48px;
  align-items: center;
}

.hero-color-swatches span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-right: 4px;
}

.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.6);
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.swatch:hover {
  transform: scale(1.25);
  border-color: white;
}

/* === SECTION BASE === */
.section {
  padding: 100px 24px;
}

.section-sm {
  padding: 64px 24px;
}

.section-bg-sand {
  background: var(--sand);
}

.section-bg-black {
  background: var(--black);
  color: var(--white);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 18px;
  position: relative;
  padding-left: 20px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 540px;
  line-height: 1.7;
}

.section-sub.center {
  margin: 0 auto;
}

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

/* === FEATURES STRIP === */
.features-strip {
  background: #3D3530;
  padding: 28px 24px;
  overflow: hidden;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--orange), var(--green), var(--yellow)) 1;
}

.features-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon.pink   { background: var(--pink); }
.feature-icon.orange { background: var(--orange); }
.feature-icon.green  { background: var(--green); }
.feature-icon.yellow { background: var(--yellow); }

.feature-icon svg {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: none;
}

.feature-item span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* === FEATURED PRODUCTS === */
.featured-section {
  padding: 110px 24px;
  background: var(--white);
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}

#featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* === PRODUCT CARDS === */
.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid var(--border);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.product-card:nth-child(4n+1):hover { border-color: var(--pink); }
.product-card:nth-child(4n+2):hover { border-color: var(--orange); }
.product-card:nth-child(4n+3):hover { border-color: var(--green); }
.product-card:nth-child(4n+4):hover { border-color: var(--yellow); }

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--light-gray);
  cursor: pointer;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--pink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.product-info {
  padding: 16px 20px 20px;
}

.product-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--black);
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-current { color: var(--black); }
.price-compare {
  color: var(--gray);
  text-decoration: line-through;
  font-size: 0.85rem;
  font-weight: 400;
}
.price-discount {
  background: var(--pink);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

.product-info .btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.loading {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px;
  color: var(--gray);
  font-size: 0.9rem;
}

.no-products, .error {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px;
  color: var(--gray);
  font-size: 0.9rem;
}

/* === WHY DERRICK DION === */
.why-section {
  background: var(--sand);
  padding: 110px 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.why-content {
  max-width: 500px;
}

.why-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.pillar {
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border-bottom: 4px solid transparent;
  transition: border-color 0.25s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.pillar:nth-child(1) { border-color: var(--pink); }
.pillar:nth-child(2) { border-color: var(--orange); }
.pillar:nth-child(3) { border-color: var(--green); }
.pillar:nth-child(4) { border-color: var(--yellow); }

.pillar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.pillar:nth-child(1) .pillar-dot { background: var(--pink); }
.pillar:nth-child(2) .pillar-dot { background: var(--orange); }
.pillar:nth-child(3) .pillar-dot { background: var(--green); }
.pillar:nth-child(4) .pillar-dot { background: var(--yellow); }

.pillar h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--black);
}

.pillar p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.55;
}

/* === LIFESTYLE SECTION === */
.lifestyle-section {
  padding: 110px 24px;
  background: var(--sand);
}

/* === LIFESTYLE CAROUSEL === */
.lifestyle-carousel-wrap {
  margin-top: 56px;
  overflow: hidden;
  position: relative;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.lifestyle-carousel {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: lifestyleScroll 22s linear infinite;
}

.lifestyle-carousel:hover {
  animation-play-state: paused;
}

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

.lifestyle-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  width: 320px;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}

.lifestyle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.lifestyle-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.lifestyle-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
}

.lifestyle-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}

.lifestyle-card-overlay h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
}

/* === PERKS SECTION === */
.perks-section {
  background: var(--white);
  padding: 0;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.perk-card {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.perk-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.07;
  transition: opacity 0.3s;
}

.perk-card:hover::before {
  opacity: 0.14;
}

.perk-pink  { background: var(--white); border-top: 5px solid var(--pink); }
.perk-orange{ background: var(--sand);  border-top: 5px solid var(--orange); }
.perk-green { background: var(--white); border-top: 5px solid var(--green); }
.perk-yellow{ background: var(--sand);  border-top: 5px solid var(--yellow); }

.perk-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-pink  .perk-icon { background: rgba(232,84,122,0.12); }
.perk-orange .perk-icon { background: rgba(240,124,59,0.12); }
.perk-green .perk-icon { background: rgba(76,175,114,0.12); }
.perk-yellow .perk-icon { background: rgba(245,200,66,0.15); }

.perk-pink   .perk-icon svg { stroke: var(--pink); }
.perk-orange .perk-icon svg { stroke: var(--orange); }
.perk-green  .perk-icon svg { stroke: var(--green); }
.perk-yellow .perk-icon svg { stroke: var(--black); }

.perk-icon svg {
  width: 26px;
  height: 26px;
}

.perk-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

.perk-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
}

/* === CTA BANNER === */
.cta-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.cta-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,84,122,0.82) 0%, rgba(26,26,26,0.88) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 100px 24px;
  max-width: 700px;
  margin: 0 auto;
}

.cta-label {
  color: var(--yellow) !important;
}

.cta-label::before {
  background: var(--yellow) !important;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 3px 24px rgba(0,0,0,0.3);
}

.cta-headline em {
  font-style: italic;
  color: var(--yellow);
}

.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === COLOR SPLASH STRIP === */
.color-strip {
  height: 8px;
  display: flex;
}

.color-strip span {
  flex: 1;
}

/* === FOOTER === */
.footer {
  background: #2A2420;
  color: var(--white);
  padding: 80px 24px 40px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--orange), var(--green), var(--yellow)) 1;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .nav-logo {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--pink);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* === SHOP PAGE === */
.page-hero {
  background: #3D3530;
  padding: 72px 24px 64px;
  margin-top: var(--nav-height);
  text-align: center;
}

.page-hero .section-label {
  color: var(--yellow);
}

.page-hero .section-label::before {
  background: var(--yellow);
}

.page-hero .section-title {
  color: var(--white);
}

.page-hero p {
  color: rgba(255,255,255,0.6);
}

.page-hero .section-title {
  margin-bottom: 12px;
}

.shop-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 100px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.filters-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.filters-header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

.btn-text {
  background: none;
  border: none;
  font-size: 0.78rem;
  color: var(--pink);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

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

.filter-group h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  margin-bottom: 14px;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price-input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--black);
  background: var(--white);
}

.price-input:focus {
  outline: none;
  border-color: var(--pink);
}

.price-inputs span {
  font-size: 0.85rem;
  color: var(--gray);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--black);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--pink);
  width: 16px;
  height: 16px;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.78rem;
}

.shop-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

#product-count {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
}

.sort-select {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--black);
  background: var(--white);
  cursor: pointer;
}

.sort-select:focus {
  outline: none;
  border-color: var(--pink);
}

#product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Pagination */
#pagination {
  margin-top: 48px;
  grid-column: 1/-1;
}

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

.pagination-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  transition: all 0.2s;
}

.pagination-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.pagination-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.pagination-ellipsis {
  padding: 8px 4px;
  color: var(--gray);
  font-size: 0.85rem;
}

/* === PRODUCT DETAIL PAGE === */
.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  margin-top: var(--nav-height);
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 36px;
}

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

.breadcrumb span {
  margin: 0 8px;
  color: var(--border);
}

#product-details {
  min-height: 400px;
}

.product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.product-images {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.product-images #main-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--light-gray);
  margin-bottom: 12px;
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumbnail-gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.thumbnail-gallery img:hover,
.thumbnail-gallery img.active {
  border-color: var(--pink);
}

.product-info h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.product-info .product-price {
  font-size: 1.5rem;
  margin: 16px 0;
}

.product-inventory {
  margin: 10px 0 20px;
}

.inventory-status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.inventory-status.in-stock {
  background: #e8f5e9;
  color: #2e7d32;
}

.inventory-status.out-of-stock {
  background: #ffebee;
  color: #c62828;
}

.description {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 28px;
}

.variant-selector {
  margin-bottom: 24px;
}

.variant-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--black);
}

.variant-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-button {
  padding: 10px 18px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--black);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.2s;
  min-width: 52px;
  text-align: center;
}

.variant-button:hover:not(:disabled) {
  border-color: var(--black);
}

.variant-button.selected {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.variant-button:disabled,
.variant-button.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.add-to-cart-button {
  width: 100%;
  padding: 17px 32px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 28px;
  box-shadow: 0 4px 20px rgba(232,84,122,0.35);
}

.add-to-cart-button:hover:not(:disabled) {
  background: #d43d68;
  box-shadow: 0 6px 28px rgba(232,84,122,0.55);
  transform: translateY(-2px);
}

.add-to-cart-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* === SEARCH PAGE === */
.search-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 48px) 24px 100px;
}

.search-form-wrap {
  max-width: 600px;
  margin: 0 auto 48px;
  display: flex;
  gap: 12px;
}

#search-input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
}

#search-input:focus {
  outline: none;
  border-color: var(--pink);
}

#search-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

#search-info {
  text-align: center;
  margin-bottom: 28px;
  color: var(--gray);
  font-size: 0.9rem;
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 24px;
  color: var(--gray);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  stroke: var(--border);
  margin: 0 auto 20px;
}

.empty-state p {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.empty-state .btn {
  margin-top: 24px;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pink);
  margin-bottom: 6px;
  display: block;
}

/* === MOBILE NAV MENU === */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.active {
    max-height: 400px;
  }

  .nav-links a,
  .nav-links li > a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }

  #cart-icon {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  #featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-image {
    aspect-ratio: 16/9;
    max-height: 420px;
  }
  .product-details {
    grid-template-columns: 1fr;
  }
  .product-images {
    position: static;
  }
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .filters-sidebar {
    position: static;
  }

  #product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifestyle-card {
    width: 260px;
  }

  #search-results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .perks-grid {
    grid-template-columns: 1fr 1fr;
  }
  .perk-card {
    padding: 36px 24px;
  }
  .cta-section {
    min-height: 500px;
  }
  .section,
  .featured-section,
  .why-section,
  .lifestyle-section,
  .cta-section {
    padding: 64px 20px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  #featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .featured-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }

  .why-pillars {
    grid-template-columns: 1fr;
  }

  .grab-steps {
    margin-top: 28px;
  }

  .cta-section {
    padding: 72px 20px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

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

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

  .cart-drawer-content {
    width: 100%;
    right: -100%;
  }

  .features-strip-inner {
    gap: 24px;
  }

  #search-results {
    grid-template-columns: 1fr 1fr;
  }

  .search-form-wrap {
    flex-direction: column;
  }

  .nav-logo {
    font-size: 1.2rem;
    max-width: 180px;
  }
}

@media (max-width: 400px) {
  .perks-grid {
    grid-template-columns: 1fr;
  }
  #featured-grid {
    grid-template-columns: 1fr;
  }

  #product-grid {
    grid-template-columns: 1fr;
  }

  #search-results {
    grid-template-columns: 1fr;
  }
}
