:root {
  /* Colors */
  --bg-gradient-start: #fde1c9;
  --bg-gradient-end: #fcb3ab;
  --text-dark-brown: #5c3d2e;
  --text-saddle-brown: #8b4513;
  --text-sienna: #a0522d;
  --text-chocolate: #d2691e;
  --accent-gold-light: #e6be8a;
  --accent-gold-med: #d4af37;
  --accent-gold-dark: #b8860b;
  --off-white: #f5f5f5;
  --floral-white: #fffaf0;
  --white: #ffffff;

  /* Fonts */
  --font-heading: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;

  /* Spacing */
  --section-padding: 80px 20px;
}

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

html {
  overflow-x: hidden;
  max-width: 100%;
  height: auto;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark-brown);
  /* background: radial-gradient(circle at center,
      var(--bg-gradient-start),
      var(--bg-gradient-end)); */
  /* background: radial-gradient(
        circle at 20% 0%,
        #fff4e3 0%,
        #f6d6a6 35%,
        #e0b274 70%,
        #bf8544 100%
      ); */
  /* background:
      radial-gradient(circle at top, #fff7ec 0%, #f7ddba 40%, transparent 70%),
      linear-gradient(180deg, #e8c798 0%, #c89354 100%);   */

  /* background: linear-gradient(
        135deg,
        #fde5d6 0%,
        #f7c6a3 35%,
        #e7a06c 70%,
        #c27b4f 100%
      ); */
  /* background: linear-gradient(
        180deg,
        #fdf3e5 0%,
        #f4d3a3 45%,
        #e3b26e 100%
      ); */
  /* ============================== */
  /* background: radial-gradient(circle at center, #FCEADC 0%, #FCE2CB 40%, #FCD9BD 75%, #FED1BA 100%); */
  /* background: linear-gradient(to bottom, #FCEADC, #FCE2CB, #FCD9BD, #FED1BA); */
  /* background: linear-gradient(135deg, #FCEADC, #FCD9BD, #FED1BA); */
  /* background: radial-gradient(circle at 50% 30%, #FCEADC 0%, #FCE2CB 35%, #FCD9BD 70%, #FED1BA 100%); */
  background: linear-gradient(to bottom right, #FCEADC 0%, #FCE2CB 50%, #FED1BA 100%);
  /* ================================== */
  /* background: linear-gradient(135deg, #F6EEE3 0%, #E5CAAB 100%); */
  /* background: radial-gradient(circle at center, #F6EEE3 0%, #ECDAC3 50%, #E5CAAB 100%); */
  /* background: radial-gradient(circle at top, #F6EEE3 0%, #ECDAC3 40%, #E5CAAB 85%); */
  /* background: linear-gradient(180deg, #D3B26D 0%, #C8A45A 100%)
; */
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: cover;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100%;
  position: relative;
}

main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: var(--font-heading); */
  font-family: "Cinzel", serif;
  color: var(--text-dark-brown);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* --- Particles --- */
/* Particles container: constrain to viewport and avoid scrollbars */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  /* ensure particle canvas doesn't create scrollbars */
}

/* --- Live Market Ticker --- */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(92, 61, 46, 0.97) 0%, rgba(75, 50, 38, 0.97) 100%);
  color: var(--floral-white);
  padding: 10px 0;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
}

.ticker-text {
  display: inline-block;
  padding-right: 4rem;
  flex-shrink: 0;
}

.ticker-link {
  color: var(--accent-gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ticker-link:hover {
  color: var(--white);
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-inner {
    animation-duration: 90s;
  }
}

/* --- Top Info Bar (Locations & Contact) --- */
.top-info-bar {
  width: 100%;
  background: rgba(255, 250, 240, 0.98);
  border-bottom: 1px solid rgba(139, 69, 19, 0.12);
  padding: 12px 5%;
  position: relative;
  z-index: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.top-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: var(--text-dark-brown);
  line-height: 1.5;
}

.top-info-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.top-info-icon {
  flex-shrink: 0;
  font-size: 1em;
}

.top-info-link {
  color: var(--text-saddle-brown);
  font-weight: 600;
}

.top-info-link:hover {
  color: var(--accent-gold-dark);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .top-info-bar {
    padding: 10px 4%;
  }

  .top-info-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .top-info-inner {
    text-align: left;
    align-items: flex-start;
  }

  .top-info-item {
    text-align: left;
    justify-content: flex-start;
    gap: 0.35rem;
    max-width: 100%;
  }
}

/* --- Utilities --- */
.section-padding {
  padding: var(--section-padding);
}

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

.section-header h2 {
  /* Match Best Sellers responsive heading behavior */
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: clamp(6px, 1.2vw, 10px);
}

.separator-gold {
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg,
      transparent,
      var(--accent-gold-med),
      transparent);
  margin: 10px auto;
  flex-shrink: 0;
  /* prevent shrinking on overflow */
  overflow: hidden;
  /* hide any overflow */
}

.product-gallery .gallery-header {
  text-align: left;
}

.product-gallery .gallery-header-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-gallery .gallery-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-gallery .gallery-header-main h2 {
  margin-bottom: 0;
}

.product-gallery .gallery-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-gallery .gallery-sort label {
  font-size: 0.85rem;
  color: var(--text-sienna);
  font-weight: 600;
}

.product-gallery .gallery-sort-select {
  padding: 8px 32px 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--accent-gold-light);
  background: var(--white);
  color: var(--text-dark-brown);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

.product-gallery .gallery-sort-select:focus {
  border-color: var(--accent-gold-med);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

@media (max-width: 768px) {
  .product-gallery .gallery-header-row {
    flex-wrap: wrap;
    row-gap: 8px;
  }
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-gold-med);
  color: var(--white);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--text-saddle-brown);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid var(--text-saddle-brown);
  color: var(--text-saddle-brown);
  text-transform: uppercase;
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--text-saddle-brown);
  color: var(--white);
}

.btn-text {
  color: var(--text-chocolate);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 20px;
  border: 1px solid #5c3d2e;
}

.btn-text:hover {
  color: var(--text-dark-brown);
  transform: translateX(5px);
  display: inline-block;
  border: 1px solid #8b4513;
}

/* --- Header --- */
.hero-wrapper {
  min-height: 80vh;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

header {
  background: rgba(255, 250, 240, 0.9);
  /* background-color: #fcb3ab; */
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(139, 69, 19, 0.1);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.logo-area {
  display: flex;
  align-items: center;
  /* gap: 10px; */
}

.logo-area img {
  width: 65px;
  height: 65px;
}

.logo img {
  width: 150px;
  height: 55px;

}

.logo h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #963E34;
  /* background: linear-gradient(
    45deg,
    var(--text-dark-brown),
    var(--accent-gold-dark)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; */
  /* letter-spacing: -1px; */
  margin-bottom: 5px;
}

.logo span {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  /* letter-spacing: 3px; */
  text-transform: uppercase;
  color: var(--text-sienna);
  text-align: center;
  margin-top: -5px;
}

.search-bar {
  position: relative;
  width: 400px;
}

.search-bar input {
  width: 100%;
  padding: 10px 40px 10px 20px;
  border-radius: 25px;
  border: 1px solid var(--accent-gold-light);
  background: var(--floral-white);
  font-family: var(--font-body);
  color: var(--text-dark-brown);
  outline: none;
  transition: all 0.3s;
}

.search-bar input:focus {
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  border-color: var(--accent-gold-med);
}

.search-bar button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-sienna);
  cursor: pointer;
}

.header-actions {
  display: flex;
  gap: 20px;
}

.action-icon {
  position: relative;
  font-size: 1.2rem;
  color: var(--text-saddle-brown);
}

.action-icon:hover {
  color: var(--accent-gold-med);
  transform: scale(1.1);
}

.wishlist-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent-gold-med);
  color: var(--white);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(255, 250, 240, 0.98);
  border: 1px solid var(--accent-gold-light);
  border-radius: 10px;
  min-width: 250px;
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 2000;
  overflow: hidden;
}

/* .account-dropdown[data-locked="true"] {
  pointer-events: none;
}

.account-dropdown[data-locked="true"].active {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
} */

.account-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--accent-gold-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark-brown);
}

.dropdown-header strong {
  font-size: 0.95rem;
}

.dropdown-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-sienna);
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}

.dropdown-close:hover {
  color: var(--accent-gold-dark);
  transform: rotate(90deg);
}

.dropdown-menu {
  list-style: none;
  padding: 10px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-dark-brown);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-item i {
  color: var(--accent-gold-med);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.dropdown-item span {
  font-weight: 500;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-left-color: var(--accent-gold-med);
  padding-left: 17px;
}

.dropdown-item:hover i {
  color: var(--accent-gold-dark);
  transform: scale(1.1);
}

.dropdown-item:hover span {
  color: var(--accent-gold-dark);
}

/* --- Category Menu --- */
.category-menu {
  background: var(--floral-white);
  position: relative;
}

#main-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 0;
}

@media (max-width: 1150px) {
  #main-nav {
    gap: 20px;
  }
}

.nav-item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark-brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 5px 0;
}

.nav-item i {
  font-size: 0.9rem;
  color: var(--accent-gold-dark);
}

.nav-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--accent-gold-med);
  transition: all 0.3s ease;
}

.nav-item:hover {
  color: var(--accent-gold-med);
}

.nav-item:hover::after {
  width: 100%;
  left: 0;
}

/* --- Mega Dropdown --- */
.mega-dropdown {
  position: absolute;
  top: 100%;
  /* Below header */
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--accent-gold-light);
  height: 0;
  overflow: hidden;
  transition:
    height 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Open state handled by JS */
.mega-dropdown.active {
  height: 450px;
  opacity: 1;
}

/* Helper state to force the mega dropdown visible
   while tweaking responsive design (e.g. via DevTools). */
/* .mega-dropdown.mega-dropdown--debug-visible {
  display: block;
  height: auto;
  opacity: 1;
  overflow: visible;
} */

.dropdown-content {
  display: flex;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.dropdown-col {
  padding: 30px;
  height: 100%;
}

.filters-panel {
  width: 25%;
  border-right: 1px solid var(--bg-gradient-start);
  background: var(--floral-white);
  overflow-y: auto;
  /* Allow scrolling if content is too tall */
  /* Hide scrollbar for cleaner look if preferred, or style it */
}

.filters-panel::-webkit-scrollbar {
  width: 4px;
}

.filters-panel::-webkit-scrollbar-thumb {
  background: var(--accent-gold-light);
  border-radius: 2px;
}

.filters-panel h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--text-saddle-brown);
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.category-grid-area {
  width: 50%;
  overflow-y: auto;
}

/* Custom Scrollbar for dropdown */
.category-grid-area::-webkit-scrollbar {
  width: 6px;
}

.category-grid-area::-webkit-scrollbar-thumb {
  background: var(--accent-gold-light);
  border-radius: 3px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 10px;
}

/* Subcategory Images in Dropdown */
.dropdown-item {
  display: flex;
  /* Ensure flex for alignment */
  align-items: center;
  gap: 12px;
  /* Increased gap */
  cursor: pointer;
  padding: 10px 12px;
  /* Add padding for better touch area */
  border-radius: 8px;
  /* Rounded corners for item */
  transition: all 0.3s ease;
}

.dropdown-item.has-image {
  padding: 8px 12px;
  /* Slightly tighter padding for image items */
}

.dropdown-item i {
  color: var(--accent-gold-med);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.dropdown-sub-img {
  width: 45px;
  height: 45px;
  /* border-radius: 50%;  */
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--off-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Bouncy transition */
}

.dropdown-item span {
  font-size: 0.95rem;
  color: var(--text-dark-brown);
  transition:
    color 0.3s ease,
    margin-left 0.3s ease;
  font-weight: 500;
}

.dropdown-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(139, 69, 19, 0.15);
  /* Enhanced shadow on hover */
  border-color: rgba(212, 175, 55, 0.3);
}

.dropdown-item:hover i {
  transform: scale(1.2);
  color: var(--text-saddle-brown);
}

.dropdown-item:hover span {
  color: var(--text-saddle-brown);
}

.visual-section {
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-frame {
  width: 100%;
  height: 90%;
  border: 2px solid var(--accent-gold-med);
  padding: 10px;
  position: relative;
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-left: 3px solid var(--accent-gold-med);
}

/* Filter Controls Styles */
.gold-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--accent-gold-light);
  outline: none;
  border-radius: 2px;
}

.gold-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  background: var(--accent-gold-med);
  border-radius: 50%;
  cursor: pointer;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-top: 5px;
  color: var(--text-sienna);
}

.gold-select {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--accent-gold-light);
  border-radius: 4px;
  background: white;
  font-family: var(--font-body);
}

/* Gender Options Chips */
.gender-options {
  display: flex;
  flex-wrap: nowrap;
  /* Single line */
  gap: 8px;
  width: 100%;
}

.gender-option {
  cursor: pointer;
  flex: 1;
  /* Distribute space equally */
  min-width: 0;
  /* Allow text truncation/shrink if needed */
}

.gender-option input {
  display: none;
}

.gender-option .option-content {
  display: block;
  padding: 8px 4px;
  /* Reduced side padding to fit text */
  border: 1px solid var(--accent-gold-light);
  border-radius: 20px;
  text-align: center;
  font-size: 0.8rem;
  /* Slightly smaller to ensure fit */
  white-space: nowrap;
  color: var(--text-saddle-brown);
  background: white;
  transition: all 0.3s ease;
}

.gender-option:hover .option-content {
  border-color: var(--accent-gold-med);
  background: var(--floral-white);
}

.gender-option input:checked+.option-content {
  background: var(--accent-gold-med);
  color: white;
  border-color: var(--accent-gold-med);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Metal Checkbox Group */
.checkbox-group {
  display: flex;
  flex-wrap: nowrap;
  /* Single line */
  justify-content: space-between;
  gap: 5px;
}

.checkbox-group label {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
  /* Space between checkbox and text */
  white-space: nowrap;
  cursor: pointer;
}

/* --- Hero Slider (3D Page Turn) --- */
.hero-slider-section {
  position: relative;
  width: 100%;
  /* Slightly taller so the active slide image is fully visible */
  height: clamp(260px, 55vh, calc(100vh - 260px));
  overflow: hidden;
  background: var(--floral-white);
  padding: 20px;
}

.premium-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.premium-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Slide Styling */
.premium-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.premium-slide.active {
  opacity: 1;
  z-index: 2;
  align-items: stretch;
  animation: slideInFade 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.premium-slide.prev {
  animation: slideOutFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.premium-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* transition: transform 8s ease-out; */
}

.premium-slide.active img {
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  /* transform: scale(.75); */
  /* animation: zoomInSlow 12s ease-out forwards; */
}

/* Slide Animations */
@keyframes slideInFade {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutFade {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(-40px);
  }
}

@keyframes zoomInSlow {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

/* Gradient Overlays */
.slider-overlay {
  position: absolute;
  top: 0;
  height: 100%;
  width: 200px;
  z-index: 3;
  pointer-events: none;
}

.slider-overlay-left {
  left: 0;
  background: linear-gradient(to right, rgba(255, 250, 240, 0.4), transparent);
}

.slider-overlay-right {
  right: 0;
  background: linear-gradient(to left, rgba(255, 250, 240, 0.3), transparent);
}

/* Premium Controls */
.slider-controls-premium {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 10;
  /* padding: 15px 30px; */
  /* background: rgba(20, 20, 20, 0.5); */
  border-radius: 50px;
  /* backdrop-filter: blur(10px); */
  /* border: 1px solid rgba(212, 175, 55, 0.2); */
}

.slider-nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold-med);
  background: transparent;
  color: var(--accent-gold-med);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.slider-nav-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--accent-gold-med);
  border-radius: 50%;
  z-index: -1;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-nav-btn:hover::before {
  transform: scale(1);
}

.slider-nav-btn:hover {
  color: white;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Dots Container */
.dots-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dots-container span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.dots-container span:hover {
  background: rgba(212, 175, 55, 0.7);
}

.dots-container span.active {
  background: var(--accent-gold-med);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  transform: scale(1.4);
}

/* Slide Counter */
.slide-counter {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10;
  font-size: 1rem;
  color: var(--accent-gold-med);
  font-weight: 600;
  letter-spacing: 2px;
  font-family: "Montserrat", sans-serif;
}

.slide-counter .separator {
  margin: 0 5px;
  opacity: 0.6;
}

/* --- Featured Collections --- */
.featured-collections {
  width: 100%;
  min-width: 0;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 25px;
  margin: 0 auto;
  padding: 0 15px 0 0;
  min-width: 0;
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
  background: var(--white);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.collection-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  height: 350px;
  flex-shrink: 0;
  /* background: var(--floral-white); */
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-sienna);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-btn:hover {
  background: var(--accent-gold-light);
  color: var(--white);
  transform: scale(1.1);
}

.wishlist-btn.active {
  background: var(--accent-gold-med);
  color: var(--white);
}

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

.card-content {
  padding: 20px;
  text-align: center;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1.3;
}

.price {
  color: var(--text-chocolate);
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

.card-img-link {
  display: block;
  height: 100%;
}

/* --- Best Sellers --- */
.bestsellers {
  overflow-anchor: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.bestsellers .carousel-track-container {
  min-width: 0;
}

.bestsellers.section-padding {
  padding-top: clamp(40px, 8vw, 80px);
  padding-bottom: clamp(40px, 8vw, 80px);
  padding-left: clamp(16px, 3vw, 20px);
  padding-right: clamp(16px, 3vw, 20px);
}

.bestsellers .section-header {
  margin-bottom: clamp(28px, 5vw, 50px);
}

.bestsellers .section-header h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: clamp(6px, 1.2vw, 10px);
}

.bestsellers .separator-gold {
  width: clamp(50px, 12vw, 80px);
  height: clamp(2px, 0.4vw, 3px);
  margin: clamp(6px, 1.2vw, 10px) auto;
}

.bg-light {
  background-color: var(--floral-white);
}

.carousel-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 20px) clamp(24px, 4vw, 50px);
  overflow: hidden;
}

.carousel-track-container {
  overflow: hidden;
  padding-bottom: clamp(12px, 2vw, 20px);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: clamp(16px, 2.5vw, 30px);
}

.product-card {
  /* Ensure at least one card fits in carousel visible area (padding + buttons ~144px) */
  flex: 0 0 min(300px, 85vw, calc(100vw - 144px));
  background: var(--white);
  border-radius: clamp(6px, 1vw, 8px);
  padding: clamp(10px, 1.5vw, 15px);
  text-align: center;
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: clamp(320px, 70vw, 450px);
}

.product-card h4 {
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  margin-bottom: 0.25em;
}

.product-card p {
  font-size: clamp(0.85rem, 2vw, 1rem);
}

.bestseller-badge {
  position: absolute;
  top: clamp(6px, 1.2vw, 10px);
  left: clamp(6px, 1.2vw, 10px);
  right: auto;
  background: var(--accent-gold-med);
  color: white;
  padding: clamp(3px, 0.5vw, 4px) clamp(6px, 1.5vw, 10px);
  font-size: clamp(0.6rem, 1.5vw, 0.7rem);
  text-transform: uppercase;
  border-radius: 20px;
  z-index: 2;
}

.product-card .wishlist-btn {
  top: clamp(6px, 1.2vw, 10px);
  right: clamp(6px, 1.2vw, 10px);
  left: auto;
  z-index: 10;
  width: clamp(32px, 6vw, 40px);
  height: clamp(32px, 6vw, 40px);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Ensure View button is visible */
.product-card .btn-primary {
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 5;
  padding: clamp(6px, 1.2vw, 8px) clamp(12px, 2.5vw, 15px) !important;
  font-size: clamp(0.75rem, 1.8vw, 0.8rem) !important;
}

.product-card img {
  height: clamp(160px, 35vw, 250px);
  width: 100%;
  object-fit: contain;
  margin-bottom: clamp(10px, 1.5vw, 15px);
}

.product-card .rating {
  color: var(--accent-gold-med);
  font-size: clamp(0.7rem, 1.6vw, 0.8rem);
  margin-bottom: 5px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--accent-gold-light);
  width: clamp(32px, 6vw, 40px);
  height: clamp(32px, 6vw, 40px);
  border-radius: 50%;
  cursor: pointer;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--text-saddle-brown);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--accent-gold-med);
  color: white;
}

.carousel-btn.prev {
  left: clamp(6px, 1.2vw, 10px);
}

.carousel-btn.next {
  right: clamp(6px, 1.2vw, 10px);
}

/* --- Wedding Highlight --- */
.wedding-highlight {
  background: url("../images/bdr11.jpg") no-repeat center center/cover;
  padding: clamp(40px, 10vw, 100px) 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.wedding-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wedding-content {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 1000px;
  width: min(90%, 100% - 20px);
  border-radius: clamp(8px, 1.5vw, 12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  min-width: 0;
}

.wedding-content h2 {
  color: var(--floral-white);
  font-size: clamp(1.5rem, 6vw, 3.5rem);
  margin-bottom: clamp(6px, 1.2vw, 10px);
  font-family: var(--font-heading);
}

.wedding-content p {
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  color: var(--off-white);
  margin-bottom: clamp(20px, 4vw, 40px);
  font-weight: 300;
}

.wedding-content .btn-primary {
  padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 30px);
  font-size: clamp(0.85rem, 2vw, 1rem);
}

/* --- Wedding Gallery Slider --- */
.gallery-wrapper {
  position: relative;
  width: 100%;
  padding: 0 clamp(36px, 6vw, 60px);
  margin: 0 auto;
  min-width: 0;
}

.horizontal-gallery {
  display: flex;
  overflow-x: auto;
  gap: clamp(12px, 2.5vw, 25px);
  padding: clamp(12px, 2vw, 20px) 5px;
  margin-bottom: clamp(16px, 3vw, 30px);
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.horizontal-gallery::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 min(280px, 85vw);
  position: relative;
  border-radius: clamp(6px, 1.2vw, 8px);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.gallery-item img {
  width: 100%;
  height: clamp(180px, 50vw, 320px);
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark-brown);
  padding: clamp(10px, 2vw, 20px) clamp(8px, 1.5vw, 10px) clamp(8px, 1.5vw, 10px);
  font-weight: 500;
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.5px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  text-align: center;
}

/* Hover Effects */
.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.gallery-item:hover img {
  transform: scale(1.08);
  /* Smoother zoom */
}

.gallery-item:hover span {
  transform: translateY(0);
}

/* Navigation Buttons */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: clamp(36px, 8vw, 50px);
  height: clamp(36px, 8vw, 50px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  color: var(--white);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-nav:hover {
  background: var(--accent-gold-med);
  border-color: var(--accent-gold-med);
  color: var(--white);
  transform: translateY(-60%) scale(1.1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.gallery-nav.prev {
  left: 0;
}

.gallery-nav.next {
  right: 0;
}

/* --- Daily Wear --- */
.daily-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,
      minmax(280px, 1fr));
  /* Responsive Grid */
  gap: 30px;
  margin-top: 40px;
}

.daily-item {
  position: relative;
  height: 350px;
  /* Taller cards */
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.08);
  transition: all 0.3s ease;
}

.daily-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(139, 69, 19, 0.15);
}

.daily-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.daily-item:hover img {
  transform: scale(1.1);
}

.daily-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Desktop: show overlay only on hover */
.daily-item:hover .daily-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* Below 1024px: overlay visible by default (no hover/click needed) */
@media (max-width: 1024px) {
  .daily-item .daily-overlay {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Daily Wear: proportional scaling below 1024px, fully responsive down to 300px */
@media (max-width: 1024px) {
  .daily-wear.section-padding {
    padding: clamp(23px, 7.8125vw, 80px) clamp(6px, 1.953vw, 20px);
  }

  .daily-wear .section-header {
    margin-bottom: clamp(14px, 4.88vw, 50px);
  }

  .daily-wear .separator-gold {
    height: clamp(1px, 0.29vw, 3px);
    width: clamp(23px, 7.8vw, 80px);
    margin: clamp(3px, 0.98vw, 10px) auto;
  }

  .daily-wear .daily-grid {
    gap: clamp(10px, 2.93vw, 30px);
    margin-top: clamp(12px, 3.9vw, 40px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  }

  .daily-wear .daily-item {
    height: clamp(200px, 34.18vw, 350px);
    border-radius: clamp(6px, 1.17vw, 12px);
  }

  .daily-wear .daily-overlay {
    bottom: clamp(8px, 1.95vw, 20px);
    left: clamp(8px, 1.95vw, 20px);
    right: clamp(8px, 1.95vw, 20px);
    padding: clamp(8px, 1.46vw, 15px);
    border-radius: clamp(4px, 0.78vw, 8px);
  }

  .daily-wear .daily-overlay h3 {
    font-size: clamp(0.7rem, calc(1.2rem * (100vw / 1024)), 1.2rem);
    margin-bottom: clamp(2px, 0.49vw, 5px);
  }

  .daily-wear .daily-overlay p {
    font-size: clamp(0.55rem, calc(0.9rem * (100vw / 1024)), 0.9rem);
  }

  .daily-wear .center-btn {
    margin-top: clamp(12px, 3.9vw, 40px);
  }

  .daily-wear .center-btn .btn-secondary {
    padding: clamp(6px, 0.98vw, 10px) clamp(14px, 2.44vw, 25px);
    font-size: clamp(0.65rem, calc(0.9rem * (100vw / 1024)), 0.9rem);
  }
}

.daily-overlay h3 {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--text-dark-brown);
  margin-bottom: 5px;
}

.daily-overlay p {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: var(--text-sienna);
  margin: 0;
}

/* --- Testimonials --- */
/* --- 3D Book Testimonials --- */
.book-perspective {
  width: 100%;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1500px;
  /* Essential for 3D effect */
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.book {
  position: relative;
  width: 700px;
  /* Total width of open book */
  height: 400px;
  transform-style: preserve-3d;
  display: flex;
  /* Helps align content inside */
}

/* Sheets (Paper) */
.sheet {
  position: absolute;
  top: 0;
  left: 50%;
  /* Pivot point in center */
  width: 350px;
  /* Half the book width */
  height: 100%;
  transform-origin: left center;
  /* Hinge */
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  cursor: pointer;
  z-index: 1;
  /* Dynamic */
}

/* Page Sides (Front and Back) */
.page-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: #fdfaf7;
  /* Off-white paper */
  border: 1px solid #e0d0b8;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
  /* Inner paper shadow */
}

/* Specific styling for front vs back */
.sheet .front {
  z-index: 2;
  transform: rotateY(0deg);
  /* Default */
  background: linear-gradient(to right,
      #e8dccb 0%,
      #fffbf5 10%,
      #fffbf5 100%);
  /* Shadow near spine (left) */
  border-radius: 0 5px 5px 0;
  /* Rounded outer corners */
}

.sheet .back {
  z-index: 1;
  transform: rotateY(180deg);
  background: linear-gradient(to left,
      #e8dccb 0%,
      #fffbf5 10%,
      #fffbf5 100%);
  /* Shadow near spine (right) */
  border-radius: 5px 0 0 5px;
}

/* Base pages (Left and Right static bases) */
.book-base-left,
.book-base-right {
  position: absolute;
  top: 0;
  /* width: 350px; */
  width: 50%;
  height: 100%;
  background: #fdfaf7;
  border: 1px solid #e0d0b8;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 0;
}

.book-base-left {
  left: 0;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(to left, #e3d5c0 0%, #fffbf5 10%, #fffbf5 100%);
  box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.15);
  /* Book shadow */
}

.book-base-right {
  right: 0;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(to right, #e3d5c0 0%, #fffbf5 10%, #fffbf5 100%);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15);
}

/* Flipped State */
.sheet.flipped {
  transform: rotateY(-180deg);
}

/* Content Styling */
.user-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid var(--accent-gold-med);
  object-fit: cover;
}

.quote-icon {
  font-size: 1.5rem;
  color: var(--accent-gold-med);
  margin-bottom: 15px;
  opacity: 0.6;
}

.page-side p,
.book-base-left p,
.book-base-right p {
  font-size: 0.95rem;
  color: var(--text-dark-brown);
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-side h4,
.book-base-left h4,
.book-base-right h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-saddle-brown);
  margin-bottom: 5px;
}

/* Manual Navigation Controls (Invisible clickable areas or actual buttons) */
.book-controls {
  position: absolute;
  width: 820px;
  /* Wider than book */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  /* Allow clicks through to book */
  z-index: 10;
}

.book-nav {
  pointer-events: auto;
  /* Re-enable clicks */
  width: 40px;
  height: 40px;
  font-size: clamp(0.85rem, 2vw, 1rem);
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--accent-gold-light);
  color: var(--accent-gold-med);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.book-nav:hover {
  background: var(--accent-gold-med);
  color: var(--white);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .book {
    width: 100%;
    height: 350px;
  }

  .sheet {
    width: 50%;
  }

  .book-controls {
    width: 100%;
    padding: 0 10px;
  }
}

@media (max-width: 570px) {
  .book {
    /* width: 100%; */
    height: 450px;
  }
}

@media (max-width: 500px) {
  .page-side {
    padding: 20px;
  }
}

@media (max-width: 441px) {
  .book {
    /* width: 100%; */
    height: 520px;
  }
}

/* --- Store Locator --- */
.locator-container {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  /* Align top */
  max-width: 1300px;
  margin: 0 auto;
}

.map-visual {
  width: 45%;
  /* Slightly larger map */
  height: 500px;
  /* Taller map */
  background: #e6e6e6;
  /* Placeholder for map */
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--accent-gold-light);
  /* Sticky map functionality if desired, but kept simple for now */
}

.locator-info {
  width: 55%;
  /* Increased width */
}

.locator-info h2 {
  /* Match Best Sellers responsive heading behavior */
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: clamp(6px, 1.2vw, 10px);
}

/* Subtext under "Find Our Stores" */
.locator-info p {
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
}

.city-search {
  display: flex;
  gap: 10px;
  margin: 25px 0 35px;
  /* More spacing below */
}

.city-search input {
  flex-grow: 1;
  padding: 12px 15px;
  border: 1px solid var(--accent-gold-light);
  border-radius: 6px;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
}

.city-search button {
  padding: 10px 25px;
  background: var(--text-saddle-brown);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.city-search button:hover {
  background: var(--accent-gold-med);
}

.city-list {
  list-style: none;
  margin-bottom: 20px;
}

.store-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Vertically centered */
  padding: 25px;
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;

  /* clip-path: polygon(
  5% 0%, 10% 2%, 15% 0%, 85% 0%, 90% 2%, 95% 0%,
  100% 5%, 98% 10%, 100% 15%, 100% 85%, 98% 90%, 100% 95%,
  95% 100%, 90% 98%, 85% 100%, 15% 100%, 10% 98%, 5% 100%,
  0% 95%, 2% 90%, 0% 85%, 0% 15%, 2% 10%, 0% 5%
); */
}

.store-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(139, 69, 19, 0.1);
  border-color: var(--accent-gold-light);
}

.store-details {
  flex-grow: 1;
  padding-right: 20px;
  padding-top: 15px;
}

.store-details h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--text-dark-brown);
  margin-bottom: 8px;
  font-weight: 700;
}

.store-address {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  color: #777;
  /* Lighter/Greyer */
  line-height: 1.6;
  /* margin-bottom: 12px; */
  max-width: 90%;
}

.store-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  /* Prevent shrinking */
  padding-left: 20px;
  border-left: 1px solid var(--off-white);
}

.icon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--accent-gold-light);
  background: var(--floral-white);
  color: var(--accent-gold-med);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1.2rem;
}

.icon-btn:hover {
  background: var(--accent-gold-med);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* Distance Info Styling */
.distance-info {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
  font-weight: 600;
  color: var(--text-chocolate);
  font-size: 0.95rem;
  background: var(--floral-white);
  padding: 6px 12px;
  border-radius: 20px;
}

.direction-btn-small {
  background: none;
  border: none;
  color: var(--accent-gold-dark);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
}

.direction-btn-small:hover {
  transform: translateX(3px);
  color: var(--text-saddle-brown);
}

.certification img {
  width: 250px;
  height: auto;
  object-fit: cover;
  /* margin-top: 20px; */
}

/* --- Locator Banner --- */
.locator-banner {
  margin-top: 30px;
  background: linear-gradient(135deg, var(--floral-white) 0%, #fff8e7 100%);
  border: 1px solid var(--accent-gold-light);
  border-radius: 8px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.banner-icon {
  font-size: 2rem;
  color: var(--accent-gold-med);
  opacity: 0.8;
}

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

.banner-text span {
  font-weight: 600;
  color: var(--text-dark-brown);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.banner-text small {
  color: var(--text-sienna);
  font-size: 0.9rem;
}

.city-list {
  margin-bottom: 20px;
}

.city-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
  font-weight: 500;
}

.city-list li .count {
  color: var(--accent-gold-dark);
}

/* --- Footer --- */
footer {
  background: var(--floral-white);
  padding: 80px 50px 20px;
  border-top: 5px solid var(--accent-gold-med);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.brand-col p {
  margin: 20px 0;
  color: var(--text-sienna);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 35px;
  height: 35px;
  background: var(--white);
  border: 1px solid var(--accent-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-saddle-brown);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--accent-gold-med);
  color: white;
  transform: translateY(-3px);
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-dark-brown);
}

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

.footer-col ul li a {
  color: var(--text-sienna);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--accent-gold-med);
  padding-left: 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--accent-gold-med);
  margin-top: 2px;
  min-width: 25px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-label {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-sienna);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item a {
  color: var(--text-sienna);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.contact-item .contact-address-text {
  color: var(--text-sienna);
  font-size: 0.9rem;
  margin-top: 2px;
}

.contact-item a:hover {
  color: var(--accent-gold-med);
  padding-left: 5px;
}

.footer-col.app-promo h3 {
  /* font-family: var(--font-heading); */
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  color: var(--text-dark-brown);
  margin-bottom: 10px;
  text-align: center;
}

.app-promo-sub {
  font-size: 0.85rem;
  color: var(--text-light-brown);
  margin-bottom: 16px;
  line-height: 1.5;
}

.app-promo-qr-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.app-promo-qr {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.app-promo-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px);
  transform: scale(1.03);
}

.app-promo-qr-blur {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(92, 40, 40, 0.25),
      rgba(184, 134, 11, 0.25));
  mix-blend-mode: soft-light;
}

.app-promo-badge {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(92, 64, 51, 0.95);
  color: #f8e9c9;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.app-promo-store-buttons {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.app-store-btn {
  flex: 1 1 48%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--accent-gold-med);
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  min-width: 0;
}

.app-store-btn i {
  font-size: 1.1rem;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.app-store-text small {
  font-size: 0.65rem;
  opacity: 0.8;
}

.app-store-text strong {
  font-size: 0.8rem;
}

.app-store-btn.play-store {
  background: linear-gradient(135deg,
      #4b1f1a,
      var(--accent-gold-med));
}

.app-store-btn.app-store {
  background: linear-gradient(135deg,
      #2c1810,
      #8b5e3c);
}

.app-store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 0;
  border-top: 1px solid rgba(139, 69, 19, 0.08);
  margin-bottom: 0;
}

.footer-policy-links a {
  color: var(--text-sienna);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-policy-links a:hover {
  color: var(--accent-gold-med);
}

.footer-bottom {
  border-top: 1px solid rgba(139, 69, 19, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-sienna);
  font-size: 0.8rem;
}

.footer-credit {
  margin: 0;
  color: var(--text-sienna);
  font-size: 0.8rem;
}

/* --- Footer: fully responsive down to 300px --- */
@media (max-width: 1024px) {
  footer {
    padding: clamp(24px, 7.8vw, 80px) clamp(16px, 4.9vw, 50px) clamp(12px, 2vw, 20px);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3.9vw, 40px);
    margin-bottom: clamp(24px, 4.9vw, 50px);
  }

  .footer-col.brand-col {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-col.brand-col .logo-area {
    justify-content: center;
  }

  .footer-col.app-promo {
    grid-column: 1 / -1;
  }

  .footer-col.app-promo .app-promo-qr-wrapper {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(10px, 1.6vw, 16px);
  }

  .footer-col.app-promo .app-promo-qr {
    width: clamp(140px, 23.4vw, 240px);
    height: clamp(140px, 23.4vw, 240px);
    border-radius: clamp(10px, 1.56vw, 16px);
  }

  .footer-col.app-promo .app-promo-store-buttons {
    width: clamp(140px, 23.4vw, 240px);
    margin-left: auto;
    margin-right: auto;
  }

  .footer-policy-links {
    gap: clamp(8px, 1.2vw, 12px) clamp(12px, 2.3vw, 24px);
    padding: clamp(10px, 1.6vw, 16px) 0;
  }

  .footer-policy-links a {
    font-size: clamp(0.75rem, calc(0.9rem * (100vw / 1024)), 0.9rem);
  }

  .footer-bottom {
    padding-top: clamp(12px, 2vw, 20px);
    font-size: clamp(0.65rem, calc(0.8rem * (100vw / 1024)), 0.8rem);
  }

  .footer-credit {
    font-size: clamp(0.65rem, calc(0.8rem * (100vw / 1024)), 0.8rem);
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 28px);
    margin-bottom: clamp(20px, 4vw, 40px);
  }

  .footer-col.brand-col,
  .footer-col.app-promo {
    grid-column: 1;
  }

  .footer-col h3 {
    font-size: clamp(0.95rem, calc(1.1rem * (100vw / 768)), 1.1rem);
    margin-bottom: clamp(12px, 2.6vw, 20px);
  }

  .footer-col ul li {
    margin-bottom: clamp(6px, 1.3vw, 10px);
  }

  .footer-col ul li a,
  .contact-item a,
  .contact-item .contact-address-text- {
    font-size: clamp(0.8rem, calc(0.9rem * (100vw / 768)), 0.9rem);
  }

  .brand-col p {
    margin: clamp(12px, 2.6vw, 20px) 0;
    font-size: clamp(0.8rem, calc(0.9rem * (100vw / 768)), 0.9rem);
  }

  .social-links {
    gap: clamp(10px, 2vw, 15px);
    justify-content: center;
  }

  .social-links a {
    width: clamp(28px, 4.4vw, 35px);
    height: clamp(28px, 4.4vw, 35px);
  }

  .contact-info {
    gap: clamp(10px, 2vw, 15px);
  }

  .contact-item {
    gap: clamp(8px, 1.6vw, 12px);
  }

  .contact-item i {
    font-size: clamp(1rem, calc(1.2rem * (100vw / 768)), 1.2rem);
    min-width: clamp(20px, 2.6vw, 25px);
  }

  .contact-label {
    font-size: clamp(0.7rem, calc(0.8rem * (100vw / 768)), 0.8rem);
  }

  .footer-col.app-promo h3 {
    font-size: clamp(0.95rem, calc(1.1rem * (100vw / 768)), 1.1rem);
    margin-bottom: clamp(8px, 1.3vw, 10px);
  }

  .app-promo-store-buttons {
    gap: clamp(6px, 1vw, 8px);
    justify-content: center;
  }

  .app-store-btn {
    flex: 1 1 100%;
    max-width: 200px;
    padding: clamp(6px, 1vw, 8px) clamp(8px, 1.3vw, 10px);
    font-size: clamp(0.65rem, calc(0.75rem * (100vw / 768)), 0.75rem);
  }

  .app-store-btn i {
    font-size: clamp(0.9rem, calc(1.1rem * (100vw / 768)), 1.1rem);
  }

  .app-store-text small {
    font-size: clamp(0.55rem, calc(0.65rem * (100vw / 768)), 0.65rem);
  }

  .app-store-text strong {
    font-size: clamp(0.7rem, calc(0.8rem * (100vw / 768)), 0.8rem);
  }

  .app-promo-badge {
    font-size: clamp(0.55rem, calc(0.68rem * (100vw / 768)), 0.68rem);
    padding: clamp(3px, 0.5vw, 4px) clamp(6px, 1.3vw, 10px);
    bottom: clamp(60px, 10vw, 100px);
  }

  .footer-bottom {
    flex-direction: column;
    gap: clamp(6px, 1vw, 10px);
    text-align: center;
  }
}

@media (max-width: 480px) {
  footer {
    padding: clamp(16px, 5vw, 24px) clamp(12px, 3.75vw, 20px) clamp(10px, 2vw, 16px);
  }

  .footer-content {
    gap: clamp(14px, 4vw, 20px);
    margin-bottom: clamp(16px, 4vw, 24px);
  }

  .footer-col h3 {
    font-size: clamp(0.85rem, 4.4vw, 1rem);
    margin-bottom: clamp(10px, 2.5vw, 14px);
  }

  .footer-col ul li a,
  .contact-item a,
  .contact-item .contact-address-text,
  .brand-col p {
    font-size: clamp(0.75rem, 3.9vw, 0.9rem);
  }

  .footer-col.app-promo .app-promo-qr {
    width: clamp(120px, 50vw, 180px);
    height: clamp(120px, 50vw, 180px);
  }

  .footer-col.app-promo .app-promo-store-buttons {
    width: clamp(120px, 50vw, 180px);
    margin-left: auto;
    margin-right: auto;
  }

  .footer-policy-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(6px, 1.5vw, 10px);
    padding: clamp(8px, 2vw, 12px) 0;
  }

  .footer-policy-links a {
    font-size: clamp(0.7rem, 3.6vw, 0.85rem);
  }

  .footer-bottom,
  .footer-credit {
    font-size: clamp(0.6rem, 3.1vw, 0.75rem);
  }
}

@media (max-width: 360px) {
  footer {
    padding: 14px 10px 12px;
  }

  .footer-content {
    gap: 12px;
    margin-bottom: 14px;
  }

  .footer-col.brand-col .logo-area img {
    max-width: 50px;
    height: auto;
  }

  .footer-col.brand-col .logo img {
    max-width: 100px;
    height: auto;
  }

  .footer-col.app-promo .app-promo-qr {
    width: 180px;
    height: 180px;
  }

  .footer-col.app-promo .app-promo-store-buttons {
    width: 180px;
    margin-left: auto;
    margin-right: auto;
  }

  .app-store-btn {
    max-width: 100%;
  }

  .footer-policy-links a {
    font-size: 0.65rem;
  }

  .footer-bottom,
  .footer-credit {
    font-size: 0.6rem;
  }
}

@media (max-width: 300px) {
  footer {
    padding: 12px 8px 10px;
    border-top-width: 3px;
  }

  .footer-content {
    gap: 10px;
    margin-bottom: 12px;
  }

  .footer-col.brand-col .logo-area img {
    max-width: 44px;
  }

  .footer-col.brand-col .logo img {
    max-width: 90px;
  }

  .footer-col.app-promo .app-promo-qr {
    width: 160px;
    height: 160px;
  }

  .footer-col.app-promo .app-promo-store-buttons {
    width: 160px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col h3 {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .footer-col ul li a,
  .contact-item a,
  .contact-item .contact-address-text,
  .brand-col p {
    font-size: 0.7rem;
  }

  .social-links a {
    width: 26px;
    height: 26px;
  }

  .contact-item i {
    font-size: 0.9rem;
    min-width: 18px;
  }

  .app-store-btn {
    padding: 6px 8px;
    font-size: 0.6rem;
  }

  .app-store-text small {
    font-size: 0.5rem;
  }

  .app-store-text strong {
    font-size: 0.65rem;
  }

  .app-promo-badge {
    font-size: 0.5rem;
    padding: 2px 6px;
    bottom: 50px;
  }

  .footer-policy-links {
    padding: 6px 0;
    gap: 6px;
  }

  .footer-policy-links a {
    font-size: 0.6rem;
  }

  .footer-bottom,
  .footer-credit {
    font-size: 0.55rem;
  }
}

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--accent-gold-med);
  color: white;
  border: none;
  border-radius: 50%;
  display: none;
  /* Flex when active */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  /* below header z-index 1000, avoids overlap */
  transition: all 0.3s;
  flex-shrink: 0;
  /* prevent shrinking */
  overflow: hidden;
  /* hide any overflow */
}

#back-to-top:hover {
  transform: translateY(-5px);
  background: var(--text-saddle-brown);
}

/* --- Breadcrumb Navigation --- */
.breadcrumb-nav {
  background: var(--floral-white);
  padding: 15px 20px;
  margin: 0;
  border-bottom: 2px solid var(--accent-gold-light);
}

.breadcrumb-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  padding: 10px;
}

.breadcrumb-home {
  color: var(--accent-gold-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.breadcrumb-home:hover {
  color: var(--text-sienna);
}

.breadcrumb-separator {
  color: var(--text-saddle-brown);
  opacity: 0.6;
}

.breadcrumb-item {
  color: var(--text-dark-brown);
  font-weight: 500;
}

/* --- Product Gallery Page Styles --- */
.gallery-layout {
  display: flex;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.gallery-sidebar-column {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-sidebar {
  width: 100%;
  background: var(--floral-white);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--accent-gold-light);
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-sidebar .filter-box h3 {
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent-gold-light);
  font-size: 1.3rem;
  color: var(--text-dark-brown);
}

/* Reuse existing filter-group styles but ensure they look good in sidebar */
.gallery-sidebar .filter-group {
  margin-bottom: 30px;
}

.gallery-content {
  flex-grow: 1;
}

/* Vertical image slider directly below sidebar (same column) */
.gallery-vertical-slider {
  width: 100%;
  height: min(90vh, 1020px);
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 0;
  gap: 8px;
  /* border: 2px solid var(--accent-gold-light); */
}

.gallery-vertical-slider--fixed {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  /* Keep slider fixed without covering later sections like Daily Wear */
  z-index: 0;
}

.gallery-vertical-slider-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.gallery-vertical-slider-track {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  transition: transform 0.6s ease;
  will-change: transform;
}

.gallery-vertical-slide {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

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

.gallery-vertical-slider-arrow {
  border: none;
  background: rgba(92, 61, 46, 0.9);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  align-self: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, transform 0.2s ease;
}

.gallery-vertical-slider-arrow:hover {
  background: var(--accent-gold-med);
  transform: translateY(-1px);
}

.gallery-vertical-slider-arrow i {
  font-size: 0.85rem;
}

/* Ensure grid matches current collection grid but optimized for gallery */
.gallery-content .collections-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Full-width banner items inserted between collection cards */
.collection-grid-banner {
  grid-column: 1 / -1;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--floral-white);
}

.collection-grid-banner img {
  width: 30%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Gallery mobile header (visible only below 955px) */
.gallery-mobile-header {
  display: none;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  background: var(--floral-white);
  border-bottom: 1px solid var(--accent-gold-light);
}

.gallery-mobile-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.gallery-mobile-row1 .gallery-mobile-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark-brown);
}

.gallery-mobile-row1 .gallery-sort {
  margin: 0;
}

.gallery-mobile-row2 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-mobile-row2.gallery-mobile-row2--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: -9999px;
}

.gallery-filter-by-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 2px solid var(--accent-gold-light);
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-dark-brown);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.gallery-filter-by-btn:hover {
  border-color: var(--accent-gold-med);
  color: var(--accent-gold-med);
}

.gallery-filter-by-btn i {
  font-size: 1rem;
}

.gallery-mobile-filter-labels {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-mobile-filter-labels .filter-label-sep {
  width: 2px;
  height: 1em;
  background: var(--text-dark-brown);
  font-weight: bold;
  flex-shrink: 0;
}

.gallery-mobile-filter-labels .filter-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f0e5d8;
  border-radius: 16px;
  font-size: 0.85rem;
  color: var(--text-dark-brown);
}

/* Filter popup overlay */
.gallery-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.gallery-filter-overlay.gallery-filter-overlay--open {
  display: flex;
}

.gallery-filter-popup {
  background: var(--floral-white);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  margin: auto 0;
}

.gallery-filter-popup .gallery-filter-popup-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.gallery-filter-popup-footer {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--accent-gold-light);
  flex-shrink: 0;
}

.gallery-filter-popup-footer .btn-primary,
.gallery-filter-popup-footer .btn-secondary {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
}

.gallery-filter-result-count {
  font-size: 0.85rem;
  color: var(--text-sienna);
  margin-top: 4px;
}

@media (max-width: 954px) {

  .gallery-sidebar-column,
  .gallery-vertical-slider {
    display: none !important;
  }

  .gallery-mobile-header {
    display: block;
  }

  .product-gallery .gallery-header .gallery-header-row {
    display: none !important;
  }

  .product-gallery .gallery-header .selected-filters,
  .product-gallery .gallery-header .separator-gold {
    display: none !important;
  }

  .product-gallery .gallery-header p {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters-panel,
  .visual-section {
    display: none;
    /* Simplify mega menu for tablet if needed, or stack */
  }

  .category-grid-area {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 22px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .search-bar {
    width: 100%;
  }

  /* .category-menu,
  .mega-dropdown {
    display: none;
  } */

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

  .featured-collections .card-img-wrapper {
    height: 280px;
  }

  .featured-collections .card-content {
    padding: 16px;
  }

  .featured-collections .card-content h3 {
    font-size: 1.2rem;
  }

  .featured-collections .price {
    margin-bottom: 12px;
    font-size: 0.95rem;
  }

  .daily-grid {
    grid-template-columns: 1fr;
  }

  .locator-container {
    flex-direction: column;
  }

  .map-visual,
  .locator-info {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .collections-grid {
    gap: 14px 16px;
  }

  .featured-collections .card-img-wrapper {
    height: 240px;
  }

  .featured-collections .card-content {
    padding: 14px;
  }

  .featured-collections .card-content h3 {
    font-size: 1.1rem;
  }

  .featured-collections .price {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .featured-collections .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .featured-collections.section-padding {
    padding: 50px 16px;
  }

  .collections-grid {
    gap: 12px;
    padding-right: 0;
  }

  .featured-collections .card-img-wrapper {
    height: 220px;
  }

  .featured-collections .card-content {
    padding: 12px;
  }

  .featured-collections .card-content h3 {
    font-size: 1rem;
  }

  .featured-collections .section-header {
    margin-bottom: 32px;
  }

  .featured-collections .section-header h2 {
    font-size: 1.75rem;
  }

  .featured-collections .section-header p {
    font-size: 0.9rem;
  }

  .wedding-highlight {
    padding: 48px 0;
  }

  .wedding-content {
    padding: 24px 16px;
    width: 94%;
  }

  .wedding-content h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }

  .wedding-content p {
    font-size: 1.05rem;
    margin-bottom: 24px;
  }

  .wedding-highlight .gallery-wrapper {
    padding: 0 40px;
  }

  .wedding-highlight .horizontal-gallery {
    gap: 16px;
    padding: 14px 5px;
    margin-bottom: 22px;
  }

  .wedding-highlight .gallery-item {
    flex: 0 0 240px;
  }

  .wedding-highlight .gallery-item img {
    height: 220px;
  }

  .wedding-highlight .gallery-item span {
    padding: 12px 8px 8px;
    font-size: 0.9rem;
  }

  .wedding-highlight .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .wedding-content .btn-primary {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}

@media (max-width: 375px) {
  .bestsellers .product-card .wishlist-btn {
    right: 12px;
  }
}

@media (max-width: 360px) {
  .featured-collections.section-padding {
    padding: 40px 12px;
  }

  .featured-collections .card-img-wrapper {
    height: 200px;
  }

  .featured-collections .card-content {
    padding: 10px;
  }

  .featured-collections .card-content h3 {
    font-size: 0.95rem;
  }

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

  /* Bestsellers: responsive down to 300px */
  .bestsellers.section-padding {
    padding: 32px 12px;
  }

  .bestsellers .section-header {
    margin-bottom: 20px;
  }

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

  .bestsellers .carousel-container {
    padding-left: 36px;
    padding-right: 36px;
    min-width: 0;
  }

  .bestsellers .product-card {
    flex: 0 0 min(260px, calc(100vw - 176px));
    min-height: 280px;
    padding: 10px;
  }

  .bestsellers .product-card img {
    height: 140px;
  }

  .bestsellers .product-card h4 {
    font-size: 0.9rem;
  }

  .bestsellers .product-card p {
    font-size: 0.85rem;
  }

  .bestsellers .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .bestsellers .carousel-btn.prev {
    left: 4px;
  }

  .bestsellers .carousel-btn.next {
    right: 4px;
  }

  .wedding-highlight {
    padding: 40px 0;
  }

  .wedding-content {
    padding: 20px 14px;
    width: 95%;
  }

  .wedding-content h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .wedding-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .wedding-highlight .gallery-wrapper {
    padding: 0 34px;
  }

  .wedding-highlight .horizontal-gallery {
    gap: 12px;
    padding: 12px 5px;
    margin-bottom: 18px;
  }

  .wedding-highlight .gallery-item {
    flex: 0 0 200px;
  }

  .wedding-highlight .gallery-item img {
    height: 180px;
  }

  .wedding-highlight .gallery-item span {
    padding: 10px 6px 6px;
    font-size: 0.85rem;
  }

  .wedding-highlight .gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .wedding-content .btn-primary {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 345px) {
  .bestsellers .product-card .wishlist-btn {
    right: 25px;
  }
}

@media (max-width: 300px) {
  .featured-collections.section-padding {
    padding: 32px 10px;
  }

  .collections-grid {
    gap: 10px;
  }

  .featured-collections .card-img-wrapper {
    height: 180px;
  }

  .featured-collections .card-content {
    padding: 8px;
  }

  .featured-collections .card-content h3 {
    font-size: 0.9rem;
  }

  .featured-collections .price {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .featured-collections .section-header {
    margin-bottom: 24px;
  }

  .featured-collections .section-header h2 {
    font-size: 1.45rem;
  }

  .featured-collections .section-header p {
    font-size: 0.85rem;
  }

  .featured-collections .btn-text {
    font-size: 0.85rem;
  }

  /* Bestsellers at 300px */
  .bestsellers.section-padding {
    padding: 28px 10px;
  }

  .bestsellers .section-header {
    margin-bottom: 16px;
  }

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

  .bestsellers .separator-gold {
    width: 48px;
    height: 2px;
  }

  .bestsellers .carousel-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .bestsellers .carousel-track {
    gap: 12px;
  }

  .bestsellers .product-card {
    flex: 0 0 min(220px, calc(100vw - 132px));
    min-height: 260px;
    padding: 8px;
    border-radius: 6px;
  }

  .bestsellers .product-card img {
    height: 120px;
    margin-bottom: 8px;
  }

  .bestsellers .product-card h4 {
    font-size: 0.85rem;
  }

  .bestsellers .product-card p {
    font-size: 0.8rem;
  }

  .bestsellers .product-card .btn-primary {
    padding: 6px 10px !important;
    font-size: 0.7rem !important;
  }

  .bestsellers .carousel-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .bestsellers .carousel-btn.prev {
    left: 2px;
  }

  .bestsellers .carousel-btn.next {
    right: 2px;
  }

  .bestsellers .bestseller-badge {
    font-size: 0.55rem;
    padding: 2px 6px;
    top: 4px;
    left: 4px;
  }

  .bestsellers .product-card .wishlist-btn {
    width: 28px;
    height: 28px;
    top: 4px;
    right: 16px;
    font-size: 0.8rem;
  }

  .wedding-highlight {
    padding: 32px 0;
  }

  .wedding-content {
    padding: 16px 10px;
    width: 96%;
  }

  .wedding-content h2 {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }

  .wedding-content p {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .wedding-highlight .gallery-wrapper {
    padding: 0 28px;
  }

  .wedding-highlight .horizontal-gallery {
    gap: 10px;
    padding: 10px 4px;
    margin-bottom: 14px;
  }

  .wedding-highlight .gallery-item {
    flex: 0 0 160px;
  }

  .wedding-highlight .gallery-item img {
    height: 140px;
  }

  .wedding-highlight .gallery-item span {
    padding: 8px 4px 4px;
    font-size: 0.75rem;
  }

  .wedding-highlight .gallery-nav {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .wedding-content .btn-primary {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 450px) {
  .mega-dropdown:not(.active) {
    display: none;
  }

  #main-nav .nav-item {
    display: none;
  }

  #main-nav .nav-item[data-category="gold"],
  #main-nav .nav-item[data-category="diamond"],
  #main-nav .nav-item[data-category="silver"] {
    display: flex;
  }

  #main-nav {
    gap: 16px;
    padding: 12px 0;
  }
}

/* --- Sidebar Filter Accordion --- */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sidebar-header h3 {
  font-size: 1.4rem;
  color: var(--text-dark-brown);
}

.clear-filters {
  background: none;
  border: none;
  color: var(--text-sienna);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(139, 69, 19, 0.1);
  margin-bottom: 15px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark-brown);
  transition: color 0.3s;
}

.accordion-header:hover {
  color: var(--accent-gold-med);
}

.accordion-header i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Expanded state logic */
.accordion-item.expanded .accordion-header i {
  transform: rotate(180deg);
}

.accordion-item.expanded .accordion-content {
  max-height: 500px;
  /* Arbitrary large height to allow expansion */
  opacity: 1;
  margin-bottom: 15px;
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

/* --- Filter Components --- */
/* Chips */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 6px 14px;
  border: 1px solid var(--accent-gold-light);
  border-radius: 20px;
  background: white;
  color: var(--text-dark-brown);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.filter-chip:hover {
  background: var(--floral-white);
  border-color: var(--accent-gold-med);
}

.filter-chip.active {
  background: var(--text-dark-brown);
  /* Dark background for selected */
  color: white;
  border-color: var(--text-dark-brown);
}

.filter-chip i {
  font-size: 0.8rem;
}

/* Price ranges */
.price-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.price-btn {
  padding: 6px 12px;
  border: 1px solid var(--accent-gold-light);
  background: white;
  color: var(--text-dark-brown);
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.price-btn:hover {
  background: var(--floral-white);
  border-color: var(--accent-gold-med);
}

.price-btn.active {
  background: var(--accent-gold-med);
  color: var(--white);
  border-color: var(--accent-gold-med);
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-inputs input {
  width: 100px;
  padding: 8px;
  border: 1px solid var(--accent-gold-light);
  border-radius: 4px;
  font-size: 0.9rem;
  outline: none;
}

.price-inputs span {
  font-size: 0.8rem;
  color: var(--text-sienna);
  font-weight: 600;
}

/* --- Account Modal --- */
.account-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  overflow-y: auto;
  /* Allow scrolling within modal if needed */
  overflow-x: hidden;
}

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

.account-modal-container {
  background: var(--white);
  width: 90%;
  max-width: 450px;
  border-radius: 12px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--accent-gold-light);
}

.account-modal-overlay.active .account-modal-container {
  transform: translateY(0);
}

.account-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-saddle-brown);
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s;
}

.account-modal-close:hover {
  transform: rotate(90deg);
  color: var(--accent-gold-med);
}

.account-modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.account-modal-header h2 {
  font-family: var(--font-heading);
  color: var(--text-dark-brown);
  margin-bottom: 5px;
}

.account-modal-header p {
  color: var(--text-sienna);
  font-size: 0.9rem;
}

/* Toggle Switch */
.account-toggle {
  display: flex;
  background: var(--floral-white);
  padding: 5px;
  border-radius: 30px;
  margin-bottom: 30px;
  position: relative;
  border: 1px solid var(--accent-gold-light);
}

.toggle-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 10px;
  border-radius: 25px;
  font-weight: 600;
  color: var(--text-sienna);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.toggle-btn.active {
  background: var(--white);
  color: var(--accent-gold-med);
  box-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
}

/* Forms */
.account-forms {
  position: relative;
  overflow: hidden;
  height: auto;
  /* Allow dynamic height */
}

.account-form {
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.4s ease;
}

.account-form.active {
  display: flex;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-saddle-brown);
}

.form-group input {
  padding: 12px 15px;
  border: 1px solid var(--accent-gold-light);
  border-radius: 6px;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.3s;
}

.form-group input:focus {
  border-color: var(--accent-gold-med);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.full-width {
  width: 100%;
}

.form-link {
  font-size: 0.85rem;
  color: var(--accent-gold-med);
  text-decoration: none;
  text-align: right;
  transition: color 0.3s;
}

.form-link:hover {
  color: var(--accent-gold-dark);
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

#otp-modal {
  z-index: 3000;
}

.maintenance-ticker {
  background: linear-gradient(90deg,
      #c62828 0%,
      #b71c1c 100%);
}

.form-error {
  display: none;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fdeaea;
  border: 1px solid #f5b5b5;
  color: #c62828;
  font-size: 14px;
  line-height: 1.4;
}

.form-error.show {
  display: block;
}

#otp-submit {
  margin-top: 10px;
}