/* 
    Color Palette:
   - Warm Off-White: #efeeed (60%)
   - Near Black:     #161615 (30%)
   - Muted Olive:     #86876b (10%)
   Typography:
   - Headings: Instrument Serif / Cormorant Garamond
   - Interface: Manrope / Inter
*/

/* --- Reset & Base Styles --- */
html {
  font-size: 17px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --color-bg: #efeeed;
  --color-text: #161615;
  --color-brand: #86876b;
  --color-brand-light: rgba(134, 135, 107, 0.15);
  --color-white: #ffffff;
  --color-border: rgba(22, 22, 21, 0.1);
  --color-overlay: rgba(22, 22, 21, 0.55);
  
  --font-serif: 'Jost', 'Montserrat', -apple-system, sans-serif;
  --font-sans: 'Jost', 'Montserrat', -apple-system, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease-out;
  
  --header-height-normal: 84px;
  --header-height-scrolled: 66px;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* --- Typographical Utilities --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

/* Global Paragraph Font Size Boost */
p {
  font-size: 0.9375rem; /* 15px baseline */
  line-height: 1.7;
}

p.text-xs, p.text-\[11px\], p.text-\[10px\] {
  font-size: 0.875rem !important; /* 14px */
  line-height: 1.65 !important;
}

p.text-sm {
  font-size: 0.9375rem !important; /* 15px */
  line-height: 1.7 !important;
}

p.text-base {
  font-size: 1rem !important; /* 16px */
  line-height: 1.75 !important;
}

.label-caps {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

/* --- Buttons & CTAs --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-brand);
  color: var(--color-white);
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  border: 1px solid var(--color-brand);
}

.btn-primary:hover {
  background-color: var(--color-text);
  border-color: var(--color-text);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-text);
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--color-text);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.btn-text-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.btn-text-link:hover::after {
  transform: scaleX(0.4);
  transform-origin: right;
}

/* --- Announcement Bar --- */
.announcement-bar {
  background-color: var(--color-text);
  color: var(--color-bg);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 6px 0;
  border-bottom: 1px solid rgba(239, 238, 237, 0.08);
  z-index: 1000;
  position: relative;
}

.announcement-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-item span {
  color: var(--color-brand);
  font-weight: bold;
}

/* --- Sticky Header --- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height-normal);
  background-color: rgba(239, 238, 237, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 999;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(239, 238, 237, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-desktop,
.nav-desktop-right {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-desktop {
  flex: 1;
}

.nav-desktop-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
  height: 100%;
}

.nav-desktop-item {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-desktop-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.3s ease;
}

.nav-desktop-link:hover,
.nav-desktop-item.active .nav-desktop-link {
  color: var(--color-brand);
}

.nav-desktop-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition-smooth);
}

.nav-desktop-link:hover::after,
.nav-desktop-item.active .nav-desktop-link::after {
  transform: scaleX(1);
}

.logo-container {
  flex: 0 0 auto;
  text-align: center;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 0.15em;
  font-weight: 400;
  color: var(--color-text);
}

.site-logo-img-wrapper {
  display: inline-flex;
  align-items: center;
  height: 100%;
  max-height: 54px;
  transition: var(--transition-smooth);
}

.site-logo-img {
  height: 100%;
  max-height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.site-header.scrolled .site-logo-img {
  max-height: 38px;
}

.footer-brand-logo-img-wrapper {
  display: inline-block;
  max-height: 48px;
}

.footer-brand-logo-img-wrapper .site-logo-img {
  max-height: 42px;
}

.header-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  height: 100%;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 13px;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.action-btn-hamburger {
  display: none !important;
}

.action-btn:hover {
  background-color: rgba(22, 22, 21, 0.05);
}

.cart-count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--color-brand);
  color: var(--color-white);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-bg);
}

/* --- User Account Dropdown --- */
.user-dropdown-wrapper {
  position: relative;
}

.user-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-dropdown-wrapper.active .user-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* --- Mega Menus --- */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 998;
}

/* When hover state is active */
.nav-desktop-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 40px;
  min-height: 480px;
}

.mega-categories-list {
  list-style: none;
  border-right: 1px solid var(--color-border);
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-category-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.mega-category-btn:hover,
.mega-category-btn.active {
  background-color: var(--color-brand-light);
  color: var(--color-brand);
}

.mega-subcategories-pane {
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.subcat-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subcat-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 4px;
}

.subcat-link {
  font-size: 13px;
  color: rgba(22, 22, 21, 0.7);
  padding: 4px 0;
  display: inline-block;
}

.subcat-link:hover {
  color: var(--color-brand);
  transform: translateX(4px);
}

.mega-promo-pane {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-promo-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-brand);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mega-promo-title {
  font-size: 20px;
  font-family: var(--font-serif);
  margin-bottom: 16px;
}

.mega-promo-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* --- Wholesale Mega Menu --- */
.wholesale-menu-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.wholesale-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.benefit-card {
  padding: 20px;
  background-color: var(--color-white);
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.benefit-icon {
  font-size: 24px;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.benefit-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.benefit-desc {
  font-size: 12px;
  color: rgba(22, 22, 21, 0.65);
}

/* --- Drawers (Sidebars & Modals) --- */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 22, 21, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.35s ease, backdrop-filter 0.35s ease;
}

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

.drawer {
  position: fixed;
  top: 0;
  height: 100%;
  background-color: var(--color-bg);
  box-shadow: 0 0 40px rgba(0,0,0,0.15);
  z-index: 1060;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.drawer-left {
  left: 0;
  width: 380px;
  max-width: 90vw;
  transform: translateX(-100%);
}

.drawer-right {
  right: 0;
  width: 440px;
  max-width: 90vw;
  transform: translateX(100%);
}

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

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

.drawer-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drawer-close-btn {
  font-size: 18px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.drawer-close-btn:hover {
  transform: rotate(90deg);
  color: var(--color-brand);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* --- Cart Drawer Specifics --- */
.cart-shipping-tracker {
  margin-bottom: 24px;
}

.cart-shipping-msg {
  font-size: 13px;
  margin-bottom: 8px;
}

.cart-shipping-msg strong {
  color: var(--color-brand);
}

.progress-bar-container {
  height: 6px;
  background-color: rgba(22, 22, 21, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--color-brand);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.1, 0.8, 0.1, 1);
}

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

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 11px;
  color: rgba(22, 22, 21, 0.6);
  margin-bottom: 6px;
}

.cart-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background-color: var(--color-white);
  height: 30px;
}

.qty-btn {
  width: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.qty-input {
  width: 28px;
  height: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 600;
}

.cart-item-remove {
  font-size: 11px;
  color: rgba(22, 22, 21, 0.45);
  text-decoration: underline;
  cursor: pointer;
}

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

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

.cart-note-trigger {
  font-size: 12px;
  font-weight: 600;
  color: rgba(22, 22, 21, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-bottom: 12px;
}

.cart-note-pane {
  display: none;
  margin-bottom: 16px;
}

.cart-note-pane.active {
  display: block;
}

.cart-note-pane textarea {
  width: 100%;
  height: 80px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 10px;
  font-size: 12px;
  resize: none;
}

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

.subtotal-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.subtotal-amount {
  font-size: 18px;
  font-weight: 700;
}

.cart-checkout-btn {
  width: 100%;
  margin-bottom: 12px;
}

.cart-view-btn {
  width: 100%;
  text-align: center;
}

.empty-cart-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  height: 100%;
}

.empty-cart-icon {
  font-size: 40px;
  color: var(--color-brand);
  margin-bottom: 20px;
}

.empty-cart-title {
  font-size: 18px;
  font-family: var(--font-serif);
  margin-bottom: 10px;
}

.empty-cart-text {
  font-size: 13px;
  color: rgba(22, 22, 21, 0.6);
  margin-bottom: 24px;
}

/* --- Mobile Navigation Drawer --- */
.mobile-nav-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.mobile-nav-view {
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background-color: var(--color-bg);
}

.mobile-nav-view.view-sub {
  transform: translateX(100%);
}

.mobile-nav-view.active {
  transform: translateX(0);
}

.mobile-nav-view.view-parent {
  transform: translateX(-100%);
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: auto;
}

.mobile-menu-link {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(22, 22, 21, 0.05);
}

.mobile-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--color-brand);
}

.mobile-nav-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-socials {
  display: flex;
  gap: 14px;
  font-size: 16px;
}

/* --- Search Overlay --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 80px 40px;
  overflow-y: auto;
}

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

.search-close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 24px;
  transition: var(--transition-fast);
}

.search-close-btn:hover {
  transform: rotate(90deg);
  color: var(--color-brand);
}

.search-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.search-input-group {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-text);
  padding-bottom: 12px;
  margin-bottom: 40px;
}

.search-input-field {
  flex: 1;
  font-size: 24px;
  font-family: var(--font-serif);
  outline: none;
}

.search-input-field::placeholder {
  color: rgba(22, 22, 21, 0.35);
}

.search-icon {
  font-size: 22px;
}

.search-suggestions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.search-suggestions-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 18px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-tag-link {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
}

.search-tag-link:hover {
  background-color: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}

.search-results-container {
  display: none;
  margin-top: 20px;
}

.search-results-container.active {
  display: block;
}

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

/* --- Hero Slideshow --- */
.hero-slideshow {
  width: 100%;
  height: 80vh;
  position: relative;
  overflow: hidden;
  background-color: var(--color-text);
}

.slides-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  display: flex;
  align-items: center;
}

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

.slide-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(22, 22, 21, 0.25) 0%, rgba(22, 22, 21, 0.5) 100%);
  z-index: 2;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease-out;
}

.hero-slide.active .slide-image {
  transform: scale(1.06);
}

.slide-content-container {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 80px;
  z-index: 3;
  color: var(--color-bg);
}

.slide-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.4s;
}

.slide-title {
  font-size: 56px;
  font-family: var(--font-serif);
  line-height: 1.1;
  max-width: 600px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.6s;
}

.slide-desc {
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 32px;
  color: rgba(239, 238, 237, 0.8);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.8s;
}

.slide-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 1s;
}

.hero-slide.active .slide-label,
.hero-slide.active .slide-title,
.hero-slide.active .slide-desc,
.hero-slide.active .slide-cta {
  opacity: 1;
  transform: translateY(0);
}

.slide-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 4;
}

.slide-indicator {
  display: flex;
  gap: 8px;
}

.dot-indicator {
  width: 32px;
  height: 2px;
  background-color: rgba(239, 238, 237, 0.35);
  cursor: pointer;
  position: relative;
}

.dot-indicator::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: var(--color-brand);
}

.dot-indicator.active::after {
  width: 100%;
  transition: width 5s linear;
}

.dot-indicator.active {
  background-color: rgba(239, 238, 237, 0.6);
}

.slide-nav-btn {
  color: var(--color-bg);
  font-size: 14px;
  padding: 8px;
  transition: var(--transition-fast);
}

.slide-nav-btn:hover {
  color: var(--color-brand);
}

/* --- Section Container Styles --- */
.section-padding {
  padding: 90px 0;
  border-bottom: 1px solid var(--color-border);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 8px;
}

.section-title {
  font-size: 40px;
  font-family: var(--font-serif);
  color: var(--color-text);
}

.section-desc {
  max-width: 500px;
  font-size: 14px;
  color: rgba(22, 22, 21, 0.65);
  margin-top: 8px;
}

/* --- Section Layout Alternations --- */
/* Layout A: Standard 4-Column Grid */
.layout-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Layout B: Image Banner on Left + 3 Column Grid on Right */
.layout-split-banner {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
}

.split-banner-card {
  background-color: var(--color-text);
  color: var(--color-bg);
  padding: 40px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

.split-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 1;
}

.split-banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.layout-slider-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Layout C: Dark Editorial Theme */
.theme-dark-section {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.theme-dark-section .section-title {
  color: var(--color-white);
}

.theme-dark-section .section-desc {
  color: rgba(239, 238, 237, 0.65);
}

/* Layout D: Scrolling Horizontal Carousel */
.slider-wrapper {
  position: relative;
}

.layout-horizontal-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 20px;
}

.layout-horizontal-slider::-webkit-scrollbar {
  display: none;
}

.layout-horizontal-slider .product-card {
  flex: 0 0 calc(25% - 18px);
  scroll-snap-align: start;
}

/* Layout E: Compact 4-Product Showcase */
.layout-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.layout-grid-compact .product-card-image-box {
  padding-bottom: 110%;
}

/* --- Shop the Collection Grid (All 15 Categories) --- */
.collection-editorial-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 24px;
}

/* Make first three categories large */
.collection-card-item:nth-child(1) {
  grid-column: span 3;
  grid-row: span 2;
}

.collection-card-item:nth-child(2) {
  grid-column: span 3;
  grid-row: span 1;
}

.collection-card-item:nth-child(3) {
  grid-column: span 3;
  grid-row: span 1;
}

/* Remaining categories smaller */
.collection-card-item {
  grid-column: span 2;
  grid-row: span 1;
}

.collection-grid-card {
  width: 100%;
  height: 100%;
  background-color: var(--color-text);
  border: 1px solid rgba(22, 22, 21, 0.08);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.collection-grid-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(22, 22, 21, 0.85) 0%, rgba(22, 22, 21, 0.35) 50%, rgba(22, 22, 21, 0.1) 100%);
  z-index: 2;
  transition: all 0.4s ease;
}

.collection-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: grayscale(10%) contrast(105%);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.collection-grid-card:hover {
  border-color: var(--color-brand);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(22, 22, 21, 0.2);
}

.collection-grid-card:hover .collection-card-img {
  transform: scale(1.08);
  opacity: 0.85;
}

.collection-grid-card:hover::after {
  background: linear-gradient(to top, rgba(22, 22, 21, 0.95) 0%, rgba(22, 22, 21, 0.45) 50%, rgba(22, 22, 21, 0.15) 100%);
}

.collection-card-info {
  position: relative;
  z-index: 3;
  width: 100%;
}

.collection-card-title {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Make first child's text larger for editorial emphasis */
.collection-card-item:nth-child(1) .collection-card-title {
  font-size: 38px;
  margin-bottom: 12px;
}

.collection-card-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-brand);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.collection-card-count i,
.collection-card-count svg {
  transition: transform 0.3s ease, color 0.3s ease;
}

.collection-grid-card:hover .collection-card-count {
  color: var(--color-white);
}

.collection-grid-card:hover .collection-card-count i,
.collection-grid-card:hover .collection-card-count svg {
  transform: translateX(6px);
  color: var(--color-brand);
}

/* --- Global Product Card Design --- */
.product-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(22, 22, 21, 0.08);
  border-radius: 4px !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px -3px rgba(22, 22, 21, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -6px rgba(22, 22, 21, 0.1), 0 6px 12px -3px rgba(134, 135, 107, 0.15);
  border-color: rgba(134, 135, 107, 0.5);
}

.product-card-image-box {
  width: calc(100% - 12px);
  margin: 6px auto 0;
  position: relative;
  padding-bottom: 110%;
  background-color: #f4f3f0;
  overflow: hidden;
  border-radius: 4px !important;
}

.product-card-image-box > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

.product-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

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

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #161615;
  color: #fcfcfb;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.wishlist-icon-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
  color: rgba(22, 22, 21, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wishlist-icon-btn:hover {
  background-color: #ffffff;
  color: #c93b3b;
  transform: scale(1.1);
}

.wishlist-icon-btn.active {
  color: #c93b3b;
  background-color: #ffffff;
}

.product-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to top, rgba(22, 22, 21, 0.88) 0%, rgba(22, 22, 21, 0.4) 60%, transparent 100%);
  display: flex;
  gap: 8px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.product-card:hover .product-card-overlay {
  transform: translateY(0);
}

.overlay-action-btn {
  flex: 1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 4px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.overlay-add-btn {
  background-color: #86876b;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(134, 135, 107, 0.3);
}

.overlay-add-btn:hover {
  background-color: #6e7059;
}

.overlay-view-btn {
  background-color: rgba(255, 255, 255, 0.92);
  color: #161615;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.overlay-view-btn:hover {
  background-color: #ffffff;
}

.product-card-details {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
  background: transparent;
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: #161615;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  transition: color 0.3s ease;
}

.product-card-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: auto;
  border-top: 1px solid rgba(22, 22, 21, 0.06);
  padding-top: 14px;
}

.product-card-price {
  font-size: 18px;
  font-weight: 700;
  color: #161615;
  text-align: center;
  letter-spacing: -0.02em;
}

.product-swatches {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(22, 22, 21, 0.15);
  display: inline-block;
}

.swatch-dot:hover,
.swatch-dot.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 3.5px var(--color-brand);
}

/* Quick Add Button accessible on mobile directly without hover */
.mobile-card-add-btn {
  display: none;
  background-color: var(--color-brand);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
  margin: 0 18px 18px 18px;
  border-radius: 4px;
}

/* --- Quick View Product Modal Overhaul --- */
.quickview-drawer {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  transform: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  z-index: 2050 !important;
}

.quickview-drawer.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.quickview-modal-card {
  width: 100%;
  max-width: 1160px;
  max-height: 88vh;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.quickview-drawer.active .quickview-modal-card {
  transform: scale(1);
}

/* Custom Sleek Scrollbar for Quick View Modal */
.quickview-modal-card::-webkit-scrollbar {
  width: 6px;
}
.quickview-modal-card::-webkit-scrollbar-track {
  background: rgba(22, 22, 21, 0.03);
  border-radius: 9999px;
}
.quickview-modal-card::-webkit-scrollbar-thumb {
  background: rgba(134, 135, 107, 0.3);
  border-radius: 9999px;
}
.quickview-modal-card::-webkit-scrollbar-thumb:hover {
  background: #86876b;
}

.quickview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.quickview-img-box {
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  padding-bottom: 100%; /* Perfect 1:1 Aspect Ratio Square */
  box-shadow: 0 10px 25px rgba(22, 22, 21, 0.03);
}

.quickview-img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.quickview-img-box:hover img {
  transform: scale(1.08);
}

.quickview-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 5px 0;
}

.qv-title {
  font-size: 24px;
  font-family: var(--font-serif);
  color: var(--color-text);
  line-height: 1.25;
  font-weight: 500;
}

.qv-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-brand);
}

.qv-rating {
  margin-bottom: 4px;
}

.qv-desc {
  font-size: 13px;
  color: rgba(22, 22, 21, 0.6);
  line-height: 1.6;
}

.qv-option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.qv-option-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(22, 22, 21, 0.5);
}

.qv-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qv-swatch-btn {
  border: 1px solid var(--color-border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  background-color: var(--color-white);
  transition: all 0.2s ease-out;
  cursor: pointer;
  color: rgba(22, 22, 21, 0.8);
}

.qv-swatch-btn:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background-color: var(--color-brand-light);
}

.qv-swatch-btn.active {
  border-color: var(--color-brand);
  background-color: var(--color-brand);
  color: var(--color-white);
  font-weight: 500;
}

.qv-specs-container {
  margin: 10px 0;
}

#qvSpecs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

#qvSpecs div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(22, 22, 21, 0.05);
}

.qv-actions {
  margin-top: 10px;
}

.qv-full-details-link {
  font-size: 12px;
  text-decoration: underline;
  text-align: left;
  color: rgba(22, 22, 21, 0.5);
  transition: var(--transition-fast);
  display: inline-block;
}

.qv-full-details-link:hover {
  color: var(--color-brand);
}

/* Mobile responsive override */
@media (max-width: 768px) {
  .quickview-drawer {
    width: 92vw !important;
    max-height: 85vh !important;
    border-radius: 12px !important;
  }
  
  .quickview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .qv-title {
    font-size: 20px;
  }
  
  .qv-actions {
    flex-wrap: wrap;
  }
}

/* --- SEO Category Link Directory --- */
.seo-directory-section {
  background-color: var(--color-white);
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

.seo-accordions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.seo-accordion-item {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}

.seo-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-text);
  padding: 12px 0;
}

.seo-accordion-content {
  display: none;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(22, 22, 21, 0.7);
  padding-top: 10px;
  padding-bottom: 15px;
}

.seo-accordion-content.active {
  display: block;
}

.seo-accordion-content a {
  color: rgba(22, 22, 21, 0.75);
  display: inline-block;
  padding: 2px 4px;
}

.seo-accordion-content a:hover {
  color: var(--color-brand);
}

.seo-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.seo-accordion-item.active .seo-arrow {
  transform: rotate(180deg);
}

/* --- Complete Footer --- */
.site-footer {
  background-color: #111110;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(134, 135, 107, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(134, 135, 107, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(239, 238, 237, 0.015) 0%, transparent 40%);
  color: var(--color-bg);
  padding: 100px 0 40px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(239, 238, 237, 0.05);
}

.footer-top-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    rgba(134, 135, 107, 0) 0%, 
    rgba(134, 135, 107, 0.4) 25%, 
    rgba(239, 238, 237, 0.7) 50%, 
    rgba(134, 135, 107, 0.4) 75%, 
    rgba(134, 135, 107, 0) 100%
  );
  opacity: 0.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

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

.footer-brand-logo {
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: 0.15em;
  color: var(--color-bg);
}

.footer-brand-desc {
  font-size: 13px;
  color: rgba(239, 238, 237, 0.6);
  line-height: 1.65;
}

.footer-socials-list {
  display: flex;
  gap: 12px;
  list-style: none;
}

.footer-socials-list li a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(239, 238, 237, 0.08);
  background-color: rgba(239, 238, 237, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(239, 238, 237, 0.65);
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-socials-list li a:hover {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: #ffffff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 15px rgba(134, 135, 107, 0.35);
}

.footer-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brand);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 15px;
  height: 1px;
  background-color: var(--color-brand);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-column:hover .footer-title::after {
  width: 35px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 13px;
  color: rgba(239, 238, 237, 0.6);
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-links-list a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 6px;
  height: 1px;
  background-color: var(--color-brand);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(12px);
}

.footer-links-list a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

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

.newsletter-desc {
  font-size: 13px;
  color: rgba(239, 238, 237, 0.6);
  line-height: 1.5;
}

.newsletter-input-group {
  display: flex;
  border: 1px solid rgba(239, 238, 237, 0.15);
  border-radius: 4px !important;
  overflow: hidden;
  background-color: rgba(239, 238, 237, 0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 3px;
}

.newsletter-input-group:focus-within {
  border-color: rgba(134, 135, 107, 0.6);
  background-color: rgba(239, 238, 237, 0.05);
  box-shadow: 0 0 12px rgba(134, 135, 107, 0.15);
}

.newsletter-input {
  flex: 1;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--color-bg);
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(239, 238, 237, 0.3);
}

.newsletter-btn {
  background-color: var(--color-brand);
  color: #ffffff;
  padding: 0 24px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
  border-radius: 4px !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.newsletter-btn:hover {
  background-color: #ffffff;
  color: #111110;
  transform: scale(1.02);
}

.footer-bottom {
  border-top: 1px solid rgba(239, 238, 237, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(239, 238, 237, 0.4);
  position: relative;
  z-index: 2;
}

.footer-bottom a {
  position: relative;
  display: inline-block;
}

.footer-bottom a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--color-brand);
}

.footer-bottom a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-payment-icons {
  display: flex;
  gap: 16px;
  font-size: 20px;
  color: rgba(239, 238, 237, 0.35);
}

.footer-payment-icons i {
  transition: all 0.3s ease;
}

.footer-payment-icons i:hover {
  color: var(--color-brand);
  transform: scale(1.15);
}

.footer-wordmark-watermark {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 18vw;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(239, 238, 237, 0.012);
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

/* --- Notification Toast System --- */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background-color: var(--color-text);
  color: var(--color-bg);
  padding: 16px 24px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  animation: toastFadeIn 0.3s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-success-icon {
  color: var(--color-brand);
  font-size: 16px;
}

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

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #161615;
  color: #efeeed;
  border: 1px solid rgba(134, 135, 107, 0.4);
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  cursor: pointer;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-brand);
  color: #ffffff;
  border-color: var(--color-brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(134, 135, 107, 0.3);
}

.back-to-top i {
  transition: transform 0.3s ease;
}

.back-to-top:hover i {
  transform: translateY(-2px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-column:first-child,
  .footer-column:last-child {
    grid-column: span 3;
  }
  .seo-accordions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1279px) {
  .nav-desktop,
  .nav-desktop-right {
    display: none !important;
  }
  .logo-container {
    flex: 1;
    text-align: left;
  }
  .header-actions {
    flex: 0 0 auto;
  }
  .action-btn-hamburger {
    display: flex !important;
  }
}

@media (max-width: 991px) {
  .hero-slideshow {
    height: 70vh;
  }
  .slide-content-container {
    padding: 0 40px;
  }
  .slide-title {
    font-size: 40px;
  }
  .collection-editorial-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .collection-card-item:nth-child(1),
  .collection-card-item:nth-child(2),
  .collection-card-item:nth-child(3) {
    grid-column: span 2;
  }
  .layout-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout-split-banner {
    grid-template-columns: 1fr;
  }
  .split-banner-card {
    min-height: 250px;
  }
  .layout-slider-right {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout-horizontal-slider .product-card {
    flex: 0 0 calc(50% - 12px);
  }
  .layout-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .announcement-container {
    padding: 0 20px;
    justify-content: center;
  }
  .header-container {
    padding: 0 20px;
  }
  .search-suggestions-grid {
    grid-template-columns: 1fr;
  }
  .search-results-grid {
    grid-template-columns: 1fr 1fr;
  }
  .collection-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .collection-card-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .collection-grid-card {
    padding: 15px;
  }
  .collection-card-title {
    font-size: 18px;
  }
  .seo-accordions {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-column {
    grid-column: span 1 !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .product-card-overlay {
    display: none;
  }
  .mobile-card-add-btn {
    display: block;
  }
}

@media (max-width: 480px) {
  .search-results-grid {
    grid-template-columns: 1fr;
  }
  .slide-title {
    font-size: 32px;
  }
  .layout-grid-4, .layout-slider-right, .layout-grid-compact {
    grid-template-columns: 1fr;
  }
}

/* Custom Input Autofill & Auth Styling */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #161615 !important;
  -webkit-box-shadow: 0 0 0px 1000px #f8f8f7 inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.auth-input-field {
  background-color: #f8f8f7;
  border: 1px solid rgba(22, 22, 21, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-input-field:focus {
  background-color: #ffffff;
  border-color: #86876b;
  box-shadow: 0 0 0 4px rgba(134, 135, 107, 0.15);
}

.social-btn-google {
  background: #ffffff;
  border: 1px solid rgba(22, 22, 21, 0.12);
  transition: all 0.3s ease;
}

.social-btn-google:hover {
  border-color: #ea4335;
  background: rgba(234, 67, 53, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.15);
}

.social-btn-facebook {
  background: #ffffff;
  border: 1px solid rgba(22, 22, 21, 0.12);
  transition: all 0.3s ease;
}

.social-btn-facebook:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.15);
}

.glow-ambient-box {
  position: relative;
}

.glow-ambient-box::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(134,135,107,0.18) 0%, rgba(239,238,237,0) 70%);
  z-index: 0;
  pointer-events: none;
  border-radius: 30px;
}

/* Hide Scrollbars Cleanly */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.hero-zed-watermark {
      background: radial-gradient(
        260px circle at var(--hero-zed-x, 30%) var(--hero-zed-y, 30%), 
        rgba(239, 238, 237, 0.07) 0%, 
        rgba(134, 135, 107, 0.025) 40%, 
        rgba(239, 238, 237, 0.008) 80%
      );
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      transition: background 0.05s ease-out;
    }

/* ==========================================================================
   Global Minimal Border Radius Overrides (Crisp Luxury Theme)
   ========================================================================== */
.rounded-3xl, 
.rounded-2xl, 
.rounded-xl, 
.rounded-lg, 
.rounded-md,
.rounded-sm,
.rounded {
  border-radius: 4px !important;
}

/* Force 4px minimal radius on all UI components & swatches */
.quickview-modal-card,
.product-card,
.product-card-img-wrapper,
.pd-color-pill,
.pd-size-pill,
.qv-swatch-pill,
.qv-size-pill,
.qv-thumb-item,
.glow-ambient-box::before,
.auth-input-field,
.social-btn-google,
.social-btn-facebook,
.btn-primary,
.btn-secondary,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea {
  border-radius: 4px !important;
}


