/* =============================================
   OLIEY - Clean Stylesheet
   ============================================= */

:root {
  --primary-color: #1a1a1a;
  --primary-hover: #333333;
  --secondary-color: #444444;
  --text-color: #1a1a1a;
  --text-light: #666;
  --light-gray: #f5f5f5;
  --medium-gray: #757575;
  --border-color: #e0e0e0;
  --background: #F8F9FA;
  --white: #FFFFFF;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: 0.2s ease;
  --radius: 8px;
  --radius-sm: 6px;
  /* Artistic accents */
  --accent-gold: #c9a96e;
  --accent-gold-light: #dfc9a0;
  --accent-gold-dark: #a8874e;
  --accent-champagne: #ffffff;
  --accent-warm-bg: #ffffff;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-brand: Didot, 'Bodoni 72', 'Bodoni MT', 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Garamond, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background: var(--accent-warm-bg);
  font-size: 16px;
  min-height: 100vh;
}

/* Prevent scroll shift when overlay opens */
html {
  overflow-y: scroll;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
  padding-right: 0 !important;
}

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

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

/* Disable focus animations on buttons across storefront */
button:focus:not(.image-nav),
button:focus-visible:not(.image-nav),
.btn:focus,
.btn:focus-visible,
.product-item .add-to-cart:focus,
.product-item .add-to-bag:focus,
.product-item .favorite-btn:focus,
.view-toggle button:focus,
.view-toggle button:focus-visible {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

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

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

/* =============================================
   HEADER
   ============================================= */
header {
  background-color: var(--white);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  width: 100%;
  z-index: 1200;
  position: sticky;
  top: 0;
  overflow: visible;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  flex-wrap: wrap;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header-desktop-link {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #5f5448;
  transition: color var(--transition), opacity var(--transition);
  white-space: nowrap;
}
.header-desktop-link:hover {
  color: #1a1713;
}
.header-contact-link {
  left: 76px;
}
.header-properties-link {
  left: 190px;
}
.header-admin-link {
  left: 336px;
}
.header-icons { order: 2; margin-left: auto; }
.header-search { order: 1; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  border-radius: 50%;
  order: 10;
  margin-left: 0;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.logo {
  font-family: var(--font-brand);
  font-size: 1.78rem;
  font-weight: 400;
  color: #171410;
  letter-spacing: 0.12em;
  line-height: 1;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  white-space: nowrap;
}

.primary-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 20px 24px;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  border-bottom: 1px solid var(--border-color);
  z-index: 1100;
  font-size: 0.95rem;
  display: flex;
}

.primary-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.primary-nav a {
  color: var(--text-color);
  position: relative;
  padding: 14px 0;
  font-weight: 500;
  transition: color var(--transition);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.primary-nav a:last-child {
  border-bottom: none;
}

.primary-nav a::after {
  display: none;
}

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

@media (min-width: 820px) {
  .header-desktop-link {
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 820px) and (max-width: 1023px) {
  .header-contact-link {
    left: 60px;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }
  .header-properties-link {
    left: 152px;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }
  .header-admin-link {
    left: 276px;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }
}

.header-search {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

header.search-visible .header-search {
  display: block;
}

.header-search .search-field {
  display: flex;
  align-items: center;
  background: var(--light-gray);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header-search .search-field:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
  background: var(--white);
}

.header-search .search-bar {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
}

.header-search .search-bar::placeholder {
  color: var(--medium-gray);
}

.header-search .search-submit {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
  order: -1;
}

.header-search .search-submit:hover {
  background: var(--primary-hover);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn.search-toggle {
  display: flex;
}

.icon-btn {
  position: relative;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.icon-btn:hover {
  background: var(--light-gray);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  transition: fill var(--transition), stroke var(--transition);
}

.icon-btn.search-toggle svg {
  fill: none;
  stroke: var(--text-color);
}

.icon-btn.user-icon svg,
.icon-btn.cart-icon svg {
  fill: var(--text-color);
  stroke: none;
}

.icon-btn:hover svg {
  stroke: var(--primary-color);
}

.icon-btn.user-icon:hover svg,
.icon-btn.cart-icon:hover svg {
  fill: var(--primary-color);
}

/* Cart Badge */
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transition: transform 0.2s ease;
}

.cart-badge.pulse {
  animation: badgePulse 0.3s ease;
}

@keyframes badgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.nav-open {
  overflow: hidden;
}

/* =============================================
   OLIEY SHORTER BAR
   ============================================= */
.oliey-shorter-bar {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent-champagne) 0%, #ede7db 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.shorter-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-color);
  letter-spacing: 0.02em;
}

.shorter-bar-item svg {
  stroke: var(--accent-gold-dark);
  flex-shrink: 0;
}

/* =============================================
   OLIEY DISPLAY
   ============================================= */
.oliey-display {
  height: 420px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(201, 169, 110, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 40%, #2a2a2a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  gap: 16px;
}

.oliey-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.oliey-display::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.oliey-text {
  font-family: var(--font-serif);
  font-size: clamp(60px, 15vw, 150px);
  font-weight: 600;
  color: transparent;
  background: linear-gradient(90deg, var(--accent-gold-light), #fff, var(--accent-gold-light));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 18px;
  position: relative;
  z-index: 1;
  animation: goldShimmer 6s ease-in-out infinite, glow 4s ease-in-out infinite alternate;
}

.oliey-subtext {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--accent-gold-light);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  z-index: 1;
}

.oliey-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-gold-light);
  border-radius: 50%;
  z-index: 2;
  animation: sparkle 3s ease-in-out infinite;
}

.oliey-sparkle-1 { top: 25%; left: 15%; animation-delay: 0s; }
.oliey-sparkle-2 { top: 35%; right: 20%; animation-delay: 1s; }
.oliey-sparkle-3 { bottom: 30%; left: 40%; animation-delay: 2s; }

.oliey-ornament {
  position: absolute;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--accent-gold-dark), rgba(201, 169, 110, 0.3));
  border-radius: 50%;
  opacity: 0.2;
  animation: float-ornament 8s ease-in-out infinite;
}

.oliey-ornament:nth-child(6) {
  top: 20%;
  left: 10%;
  animation-delay: -2s;
}

.oliey-ornament:nth-child(7) {
  top: 60%;
  right: 15%;
  width: 70px;
  height: 70px;
  animation-delay: -4s;
}

.oliey-ornament:nth-child(8) {
  bottom: 20%;
  left: 20%;
  width: 40px;
  height: 40px;
  animation-delay: -6s;
}

@keyframes goldShimmer {
  0% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.5); }
}

@keyframes glow {
  0% { text-shadow: 0 0 10px rgba(201, 169, 110, 0.3), 0 0 20px rgba(201, 169, 110, 0.15); }
  100% { text-shadow: 0 0 20px rgba(201, 169, 110, 0.5), 0 0 50px rgba(201, 169, 110, 0.25); }
}

@keyframes float-ornament {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.1); }
}

/* =============================================
   BEST SELLERS / PRODUCT LIST
   ============================================= */
.best-sellers {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
}

.best-sellers.alt-bg {
  background: var(--accent-champagne);
  max-width: none;
  padding: 70px 24px;
}

.best-sellers.alt-bg .section-header,
.best-sellers.alt-bg .product-list {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.product-list-wrapper {
  position: relative;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  max-width: 1200px;
}

.product-list .product-item {
  width: 100%;
  max-width: none;
}

.scroll-btn {
  display: none;
}

@media (max-width: 1024px) {
  .product-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
}

@media (max-width: 768px) {
  .product-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
}

.product-item {
  display: flex;
  flex-direction: column;
  background: transparent;
  padding: 0;
  text-align: center;
  cursor: pointer;
  border: none !important;
  border-radius: var(--radius-sm);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  gap: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.product-item:hover {
  transform: none;
  border: none !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.product-item:focus,
.product-item:focus-within {
  outline: none;
  transform: none;
  border: none !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.product-item .product-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  margin: 0;
  display: block;
}

.product-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  display: block;
  background: #f5f5f5;
}

/* Shop-style hover image swap (used on /shop and reused across site) */
.product-preview-frame {
  position: relative;
  display: block;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  aspect-ratio: 10 / 11;
}
.product-image-wrap .product-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-image-wrap .product-image-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
}
.product-image-wrap .product-image-mobile-extra {
  display: none;
}
.product-image-wrap > .product-image-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.product-image-wrap.has-hover:hover .product-image:not(.product-image-hover) {
  opacity: 0;
}
.product-image-wrap.has-hover:hover .product-image-hover {
  opacity: 1;
  transform: scale(1);
}
/* On touch screens, turn secondary preview images into a native horizontal swipe strip. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .product-preview-frame.has-preview-indicator {
    padding-bottom: 2px;
  }
  .product-image-wrap.has-hover,
  .product-image-wrap.has-mobile-gallery {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y pinch-zoom;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
  }
  .product-image-wrap.has-hover::-webkit-scrollbar,
  .product-image-wrap.has-mobile-gallery::-webkit-scrollbar {
    display: none;
  }
  .product-image-wrap.has-hover .product-image,
  .product-image-wrap.has-hover .product-image-hover,
  .product-image-wrap.has-hover .product-image-mobile-extra,
  .product-image-wrap.has-hover > .product-image-placeholder,
  .product-image-wrap.has-mobile-gallery .product-image,
  .product-image-wrap.has-mobile-gallery .product-image-hover,
  .product-image-wrap.has-mobile-gallery .product-image-mobile-extra,
  .product-image-wrap.has-mobile-gallery > .product-image-placeholder {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
  }
  .product-image-wrap.has-hover .product-image-hover,
  .product-image-wrap.has-hover .product-image-mobile-extra,
  .product-image-wrap.has-mobile-gallery .product-image-hover,
  .product-image-wrap.has-mobile-gallery .product-image-mobile-extra {
    display: block !important;
    position: static;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
  }
  .product-image-wrap.has-hover:hover .product-image:not(.product-image-hover) {
    opacity: 1 !important;
    transform: none !important;
  }
  .product-image-wrap.has-hover:hover .product-image-hover {
    opacity: 1 !important;
    transform: none !important;
  }
}

.product-item .product-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.98rem;
  color: #3f382f;
  text-align: center;
  font-style: italic;
  font-weight: 600;
  line-height: 1.28;
  margin: 0;
  padding: 0 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


.product-item .product-title a {
  color: inherit;
  text-decoration: none;
}

.product-item .product-price {
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  color: #4c4034;
  border-top: 0;
  padding: 0 16px;
  margin: 4px 0 14px 0;
  letter-spacing: 0.02em;
}

.product-preview-indicator {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  pointer-events: none;
  align-items: center;
  justify-content: stretch;
  gap: 0;
  width: 100%;
  height: 2px;
  min-height: 2px;
  padding: 0;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.12);
  box-shadow: none;
  --preview-progress: 0;
  --preview-progress-px: 0px;
  --preview-segments: 2;
}
.product-preview-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--preview-progress-px);
  width: calc(100% / var(--preview-segments));
  background: #111111;
  transform: none;
  transition: left 0.06s linear;
}

.product-preview-indicator-segment {
  flex: 1 1 0;
  width: auto;
  height: 100%;
  border-radius: 0;
  background: transparent;
  border-right: 1px solid rgba(17, 17, 17, 0.14);
  box-shadow: none;
  position: relative;
  z-index: 1;
  transition: none;
}
.product-preview-indicator-segment:last-child {
  border-right: 0;
}

.product-preview-indicator-segment.is-active {
  background: transparent;
  transform: none;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .product-preview-indicator {
    display: flex;
  }
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.85em;
  margin-right: 6px;
}
.sale-price {
  color: #ef4444;
  font-weight: 700;
}

.product-item .favorite-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: transparent;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item .favorite-btn:hover {
  transform: scale(1.15);
  background: transparent;
}

.product-item .favorite-btn:focus {
  outline: none;
  transform: scale(1.1);
}

.product-item .favorite-btn svg {
  width: 18px;
  height: 18px;
  fill: rgba(126, 129, 136, 0.24);
  stroke: rgba(118, 121, 127, 0.94);
  stroke-width: 1.35;
  paint-order: stroke fill;
  filter: none;
  opacity: 1;
  transition: fill 0.35s ease, stroke 0.35s ease, filter 0.35s ease, opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item .favorite-btn:hover svg,
.product-item .favorite-btn:focus svg {
  fill: #ff4444;
  stroke: #ff4444;
  filter: none;
  opacity: 1;
}

.product-item .favorite-btn.is-active svg {
  fill: #ff4444;
  stroke: #ff4444;
  filter: none;
  opacity: 1;
}

.product-item .favorite-btn.is-active:hover svg {
  transform: scale(1.1);
}

.product-item .add-to-cart,
.product-item .add-to-bag {
  display: none !important;
  background: var(--white);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  margin: auto 14px 14px;
  border-radius: 0 !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item .add-to-cart:hover,
.product-item .add-to-bag:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.product-item .add-to-cart:focus,
.product-item .add-to-bag:focus {
  outline: none;
}

.product-item .add-to-bag .btn-text {
  transition: opacity 0.3s ease;
}

.product-item .add-to-bag .btn-icon {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-item .add-to-bag .btn-icon svg {
  stroke: var(--secondary-color);
}

.product-item .add-to-bag .btn-success {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-item .add-to-bag .btn-success svg {
  stroke: var(--white);
}

.product-item .add-to-bag.adding {
  background: var(--secondary-color);
  color: var(--white);
  pointer-events: none;
}

.product-item .add-to-bag.adding .btn-text {
  opacity: 0;
}

.product-item .add-to-bag.adding .btn-icon {
  opacity: 1;
}

.product-item .add-to-bag.added {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  pointer-events: none;
}

.product-item .add-to-bag.added .btn-text {
  opacity: 0;
}

.product-item .add-to-bag.added .btn-success {
  opacity: 1;
}

.product-item .add-to-bag .btn-added-text {
  position: absolute;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-item .add-to-bag .btn-added-text svg {
  stroke: var(--white);
}

.product-item .add-to-bag.added .btn-added-text {
  opacity: 1;
}

a.product-item {
  text-decoration: none;
  color: inherit;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 34px 30px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-champagne) 0%, var(--accent-gold-light) 100%);
  color: var(--accent-gold-dark);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-left: 3px solid var(--accent-gold);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-color);
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-gold-dark);
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 460px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold-dark);
  border: 2px solid var(--accent-gold);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--accent-champagne);
  color: var(--accent-gold-dark);
  border-color: var(--accent-gold-dark);
}

.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(120% 120% at 12% 16%, rgba(201, 169, 110, 0.08) 0%, transparent 42%),
    radial-gradient(95% 95% at 86% 20%, rgba(201, 169, 110, 0.1) 0%, transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f3efe8 45%, #ebe5da 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(201, 169, 110, 0.1);
  overflow: hidden;
  isolation: isolate;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  mix-blend-mode: screen;
  opacity: 0.8;
  z-index: 1;
}

.hero-visual::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, transparent 65%);
  filter: blur(8px);
  opacity: 0.5;
  z-index: 0;
  transform: rotate(-8deg);
}

.hero-outline {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 22px;
  transform: rotate(-2deg);
  z-index: 1;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  opacity: 0.35;
  filter: blur(1px);
  z-index: 0;
}

.hero-orb.orb-1 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0) 65%);
  top: 14%;
  left: -30px;
}

.hero-orb.orb-2 {
  width: 190px;
  height: 190px;
  background: radial-gradient(circle at 70% 70%, rgba(150, 150, 150, 0.2), rgba(255, 255, 255, 0) 60%);
  bottom: -30px;
  right: -20px;
}

.hero-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background: #f5f5f5;
}

.hero-image-placeholder {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #f5f5f5 0%, #eaeaea 50%, #e0e0e0 100%);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.hero-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 3;
}

.pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold-dark));
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.15);
  animation: pillPulse 2s ease-in-out infinite;
}

@keyframes pillPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.15); }
  50% { box-shadow: 0 0 0 7px rgba(201, 169, 110, 0.08); }
}

.hero-note {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 220px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}

.note-eyebrow {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent-gold-dark);
  font-weight: 700;
}

.note-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 4px 0;
}

.note-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* =============================================
   FEATURES BAR
   ============================================= */
.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
  position: relative;
}

.features-bar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-item svg {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--accent-champagne);
  border-radius: 50%;
  stroke: var(--accent-gold-dark);
  transition: all 0.3s ease;
}

.feature-item:hover svg {
  background: var(--accent-gold);
  stroke: #fff;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.feature-text span {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* =============================================
   SECTIONS
   ============================================= */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  position: relative;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-color);
  position: relative;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
}

.see-all {
  color: var(--accent-gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.see-all::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.see-all:hover {
  opacity: 1;
  color: var(--accent-gold-dark);
}

.see-all:hover::after {
  width: 100%;
}

/* =============================================
   CATEGORIES
   ============================================= */
.categories {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

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

.category-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 169, 110, 0);
  border-radius: 12px;
  transition: border-color 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

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

.category-card:hover::after {
  border-color: rgba(201, 169, 110, 0.3);
}

.category-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.category-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 14px 16px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* =============================================
   GENDER SECTIONS (For Her / For Him)
   ============================================= */
.gender-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
  position: relative;
}

.gender-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.gender-section .section-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
}

.gender-section .categories-grid {
  margin-bottom: 44px;
}

.gender-section .product-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* For Her - Feminine styling */
.for-her {
  background: linear-gradient(180deg, #fff 0%, var(--accent-champagne) 100%);
}

.for-her .section-header h2 {
  color: #1a1a1a;
}

.for-her .section-header h2::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}

/* For Him - Masculine styling */
.for-him {
  background: linear-gradient(180deg, #fff 0%, #ffffff 100%);
}

.for-him .section-header h2 {
  color: #1a1a1a;
}

.for-him .section-header h2::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #1a1a1a 0%, #444 100%);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .gender-section .product-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gender-section .product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .gender-section .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background-color: #1a1a1a;
  color: var(--white);
  padding: 60px 24px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 16px;
}

.footer-logo p {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.6;
}

.footer-nav h4,
.footer-currency h4,
.footer-subscribe h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: 0.03em;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: #ccc;
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-currency p {
  font-size: 0.9rem;
  color: #d3d3d3;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-currency-dropdown {
  position: relative;
  width: 132px;
  max-width: 100%;
}

.footer-currency-trigger {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-shadow: none;
  transition: none;
}

.footer-currency-trigger:hover,
.footer-currency-trigger:focus,
.footer-currency-trigger:focus-visible,
.footer-currency-trigger:active {
  background: #111;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: none;
  outline: none;
  transform: none;
}

.footer-currency-trigger:disabled {
  opacity: 1;
  cursor: wait;
}

.footer-currency-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 15px;
}

.footer-currency-icon svg {
  width: 15px;
  height: 15px;
}

.footer-currency-value {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.footer-currency-caret {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg) translateY(-1px);
  flex: 0 0 8px;
  transition: transform 0.14s ease;
}

.footer-currency-dropdown.is-open .footer-currency-caret {
  transform: rotate(-135deg) translateY(-1px);
}

.footer-currency-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0;
  box-shadow: none;
  z-index: 20;
  overflow: hidden;
}

.footer-currency-menu[hidden] {
  display: none;
}

.footer-currency-option {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  color: #fff;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: none;
}

.footer-currency-option:first-child {
  border-top: 0;
}

.footer-currency-option:hover,
.footer-currency-option:focus,
.footer-currency-option:focus-visible,
.footer-currency-option:active {
  background: #1b1b1b;
  color: #fff;
  outline: none;
  box-shadow: none;
}

.footer-currency-option.is-active {
  background: #171717;
  font-weight: 700;
}

.footer-currency-check {
  font-size: 12px;
  color: #fff;
  line-height: 1;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  transition: background var(--transition);
}

.footer-social a:hover {
  background: var(--accent-gold-dark);
}

.footer-social svg {
  fill: var(--white);
  width: 20px;
  height: 20px;
}

.footer-subscribe form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-subscribe input[type="email"] {
  padding: 12px 16px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius-sm);
  background: #2a2a2a;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.footer-subscribe input[type="email"]:focus {
  border-color: var(--accent-gold);
}

.footer-subscribe input[type="email"]::placeholder {
  color: #888;
}

.footer-subscribe button {
  padding: 12px 16px;
  background: var(--accent-gold-dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}

.footer-subscribe button:hover {
  background: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  color: #888;
  font-size: 0.9rem;
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
#scrollToTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

#scrollToTopBtn:hover {
  background: var(--accent-gold-dark);
  transform: translateY(-3px);
  box-shadow: none !important;
}

#scrollToTopBtn svg {
  stroke: currentColor;
}

#scrollToTopBtn.footer-contrast,
#scrollToTopBtn.footer-contrast:hover {
  background: var(--white);
  color: #111111;
  box-shadow: none !important;
}

/* =============================================
   EDITORIAL BANNER
   ============================================= */
.editorial-banner {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #252525 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.editorial-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.editorial-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.editorial-inner {
  max-width: 700px;
  margin: 0 auto;
}

.editorial-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.editorial-quote {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

.editorial-accent {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold));
  margin: 28px auto 0;
}

@media (max-width: 768px) {
  .editorial-banner {
    padding: 50px 20px;
  }
  .editorial-quote {
    font-size: 1.2rem;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 70px 24px 40px;
  }

  .hero-content {
    max-width: none;
    text-align: center;
  }

  .hero p {
    max-width: none;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-visual {
    max-width: 440px;
    padding: 22px;
  }

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

@media (max-width: 768px) {
  .oliey-shorter-bar {
    gap: 20px;
    padding: 12px 16px;
  }

  .shorter-bar-item {
    font-size: 0.8rem;
  }

  .oliey-display {
    height: 300px;
  }

  header.search-visible {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .header-container {
    gap: 10px;
    padding: 12px 16px;
  }

  .logo {
    position: static;
    transform: none;
    order: 0;
  }

  .header-icons {
    order: 2;
    margin-left: auto;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

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

  .footer-currency-dropdown {
    width: 126px;
  }
}

@media (max-width: 480px) {
  .oliey-shorter-bar {
    flex-direction: column;
    gap: 12px;
  }

  .oliey-display {
    height: 220px;
  }

  .best-sellers {
    padding: 40px 16px;
  }

  .product-list {
    gap: 10px;
  }

  .product-item {
    padding: 10px;
  }

  .product-item .product-image-placeholder,
  .product-item img {
    width: 100%;
    aspect-ratio: 1;
  }

  .product-item .product-title {
    font-size: 0.8rem;
  }

  .product-item .product-price {
    font-size: 0.9rem;
  }

  .product-item .add-to-cart {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .features-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero {
    padding: 50px 16px 32px;
  }

  .hero-visual {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-pill {
    top: 14px;
    left: 14px;
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .hero-note {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 12px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .categories {
    padding: 40px 16px;
  }
}

/* =============================================
   SCROLL & LOAD ANIMATIONS
   ============================================= */

/* Fade in animation for page load */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =============================================
   PAGE LOAD ANIMATIONS - Run once on load, no scroll trigger
   ============================================= */

/* Load animation keyframes */
@keyframes loadFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadFadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hero section - first to appear */
.hero {
  animation: loadFadeIn 0.5s ease-out both;
}

/* Features bar */
.features-bar {
  animation: loadFadeIn 0.5s ease-out 0.1s both;
}

/* Best sellers section */
.best-sellers {
  animation: loadFadeIn 0.5s ease-out 0.15s both;
}

/* Categories section */
.categories {
  animation: loadFadeIn 0.5s ease-out 0.2s both;
}

/* Gender section */
.gender-section {
  animation: loadFadeIn 0.5s ease-out 0.25s both;
}

/* Footer */
.footer {
  animation: loadFadeIn 0.5s ease-out 0.3s both;
}

/* Product items with stagger */
.product-item {
  animation: loadFadeIn 0.4s ease-out both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:nth-child(1) { animation-delay: 0.05s; }
.product-item:nth-child(2) { animation-delay: 0.1s; }
.product-item:nth-child(3) { animation-delay: 0.15s; }
.product-item:nth-child(4) { animation-delay: 0.2s; }
.product-item:nth-child(5) { animation-delay: 0.25s; }
.product-item:nth-child(6) { animation-delay: 0.3s; }
.product-item:nth-child(7) { animation-delay: 0.35s; }
.product-item:nth-child(8) { animation-delay: 0.4s; }
.product-item:nth-child(n+9) { animation-delay: 0.45s; }

.product-item:hover {
  transform: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Category cards with stagger */
.category-card {
  animation: loadFadeIn 0.4s ease-out both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.15s; }
.category-card:nth-child(3) { animation-delay: 0.2s; }
.category-card:nth-child(4) { animation-delay: 0.25s; }

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

/* Feature items with stagger */
.feature-item {
  animation: loadFadeIn 0.4s ease-out both;
  transition: transform 0.3s ease;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.15s; }
.feature-item:nth-child(3) { animation-delay: 0.2s; }
.feature-item:nth-child(4) { animation-delay: 0.25s; }

/* Product page - main image */
.product-main-image {
  animation: loadFadeInScale 0.5s ease-out both;
}

/* Product thumbnails with stagger */
.product-thumbnail {
  animation: loadFadeIn 0.3s ease-out both;
}

.product-thumbnail:nth-child(1) { animation-delay: 0.05s; }
.product-thumbnail:nth-child(2) { animation-delay: 0.1s; }
.product-thumbnail:nth-child(3) { animation-delay: 0.15s; }
.product-thumbnail:nth-child(4) { animation-delay: 0.2s; }

/* Product details section */
.product-details-section {
  animation: loadFadeIn 0.5s ease-out 0.1s both;
}

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

  .hero,
  .features-bar,
  .best-sellers,
  .categories,
  .gender-section,
  .footer,
  .product-item,
  .category-card,
  .feature-item,
  .product-main-image,
  .product-thumbnail,
  .product-details-section {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Global square-corner override across storefront */
body *,
body *::before,
body *::after {
  border-radius: 0 !important;
}
.badge {
  border-radius: 50% !important;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
}
