@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CUSTOM VARIABLES & THEME SYSTEM --- */
:root {
  --theme-bg: #FAF9F6;           /* Alabaster / Off-white */
  --theme-card-bg: #FFFFFF;
  --theme-text-dark: #1E2229;     /* Deep Slate / Charcoal */
  --theme-text-muted: #7A7F85;
  --theme-gold: #C5A880;          /* Luxurious Muted Gold */
  --theme-gold-dark: #A88C66;
  --theme-gold-light: #F2ECE4;
  --theme-sage: #8A9A86;          /* Raw Gem Green / Sage */
  --theme-sage-dark: #6C7A69;
  --theme-sage-light: #F0F3EF;
  --theme-border: #E8E5DF;        /* Soft Organic Border */
  --theme-border-dark: #BEB9AF;
  --theme-font-serif: 'Cinzel', serif;
  --theme-font-sans: 'Outfit', sans-serif;
  --theme-shadow-sm: 0 2px 8px rgba(30, 34, 41, 0.04);
  --theme-shadow: 0 8px 24px rgba(30, 34, 41, 0.08);
  --theme-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- BASE STYLES --- */
body {
  background-color: var(--theme-bg);
  color: var(--theme-text-dark);
  font-family: var(--theme-font-sans);
  font-size: 0.875rem; /* Compact body font size */
  line-height: 1.5;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-serif);
  font-weight: 500;
  color: var(--theme-text-dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

a {
  color: var(--theme-text-dark);
  text-decoration: none;
  transition: var(--theme-transition);
}
a:hover {
  color: var(--theme-gold);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--theme-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--theme-border-dark);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--theme-gold);
}

/* --- TYPOGRAPHY UTILITIES (COMPACT) --- */
.text-serif {
  font-family: var(--theme-font-serif) !important;
}
.text-sans {
  font-family: var(--theme-font-sans) !important;
}
.fs-xs {
  font-size: 0.75rem !important;
}
.fs-xxs {
  font-size: 0.65rem !important;
}
.letter-spacing-lg {
  letter-spacing: 0.15em !important;
}
.letter-spacing-sm {
  letter-spacing: 0.05em !important;
}

/* --- PADDING & SPACING ADJUSTMENTS (COMPACT & MOBILE FIRST) --- */
.section-py {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .section-py {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
.card-padding-sm {
  padding: 0.75rem;
}
.gap-compact {
  gap: 0.5rem !important;
}

/* --- STICKY COMPACT HEADER --- */
.navbar-announcement {
  background-color: var(--theme-text-dark);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.35rem 0;
  text-transform: uppercase;
}

.custom-navbar {
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--theme-border);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: var(--theme-transition);
}
.custom-navbar.scrolled {
  padding: 0.35rem 0;
  box-shadow: var(--theme-shadow-sm);
}

.navbar-brand {
  font-family: var(--theme-font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--theme-text-dark) !important;
}
.navbar-brand span {
  color: var(--theme-gold);
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.75rem !important;
  color: var(--theme-text-dark) !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--theme-gold) !important;
}

.navbar-icon-btn {
  background: none;
  border: none;
  color: var(--theme-text-dark);
  position: relative;
  padding: 0.35rem;
  font-size: 1.15rem;
  transition: var(--theme-transition);
}
.navbar-icon-btn:hover {
  color: var(--theme-gold);
}
.navbar-icon-btn .badge-counter {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--theme-gold);
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.15rem 0.3rem;
  border-radius: 50%;
  transform: translate(25%, -25%);
}

/* --- PREMIUM BUTTONS --- */
.btn-premium {
  font-family: var(--theme-font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  border-radius: 0;
  transition: var(--theme-transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium-dark {
  background-color: var(--theme-text-dark);
  color: #FFFFFF;
  border: 1px solid var(--theme-text-dark);
}
.btn-premium-dark:hover {
  background-color: var(--theme-gold);
  color: #FFFFFF;
  border-color: var(--theme-gold);
}

.btn-premium-gold {
  background-color: var(--theme-gold);
  color: #FFFFFF;
  border: 1px solid var(--theme-gold);
}
.btn-premium-gold:hover {
  background-color: var(--theme-text-dark);
  color: #FFFFFF;
  border-color: var(--theme-text-dark);
}

.btn-premium-outline {
  background-color: transparent;
  color: var(--theme-text-dark);
  border: 1px solid var(--theme-border-dark);
}
.btn-premium-outline:hover {
  background-color: var(--theme-text-dark);
  color: #FFFFFF;
  border-color: var(--theme-text-dark);
}

.btn-premium-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
}

/* --- COMPACT PREMIUM PRODUCT CARDS --- */
.product-card {
  background-color: var(--theme-card-bg);
  border: 1px solid var(--theme-border);
  border-radius: 0;
  overflow: hidden;
  transition: var(--theme-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  border-color: var(--theme-border-dark);
  box-shadow: var(--theme-shadow-sm);
  transform: translateY(-2px);
}

.product-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--theme-bg);
}
.product-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.product-card-img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.product-card:hover .product-card-img-primary {
  opacity: 0;
  transform: scale(1.05);
}
.product-card:hover .product-card-img-hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Metadata Badges & Tags */
.product-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  padding: 0.2rem 0.5rem;
  z-index: 10;
  background-color: var(--theme-card-bg);
  color: var(--theme-text-dark);
  border: 1px solid var(--theme-border);
}
.product-badge.badge-new {
  background-color: var(--theme-sage-light);
  color: var(--theme-sage-dark);
  border-color: var(--theme-sage);
}

.product-wishlist-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-border);
  color: var(--theme-text-dark);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--theme-transition);
}
.product-wishlist-btn:hover {
  color: #E63946;
  border-color: var(--theme-border-dark);
  transform: scale(1.08);
}
.product-wishlist-btn.active {
  background-color: var(--theme-text-dark);
  color: #FFFFFF;
}

.product-card-info {
  padding: 0.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-stone-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--theme-gold-dark);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.product-card-title {
  font-family: var(--theme-font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

/* Unique feature: chakra/energy label */
.product-card-energy {
  font-size: 0.65rem;
  color: var(--theme-sage-dark);
  background-color: var(--theme-sage-light);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.product-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.product-card-price {
  font-size: 0.85rem;
  font-weight: 600;
}
.product-card-price-old {
  font-size: 0.75rem;
  color: var(--theme-text-muted);
  text-decoration: line-through;
  margin-right: 0.35rem;
}

.product-card-add-btn {
  background: none;
  border: 1px solid var(--theme-border-dark);
  color: var(--theme-text-dark);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  transition: var(--theme-transition);
}
.product-card-add-btn:hover {
  background-color: var(--theme-text-dark);
  color: #FFFFFF;
  border-color: var(--theme-text-dark);
}

/* --- DRAWERS (QUICK CART & FILTERS) --- */
.theme-drawer {
  position: fixed;
  top: 0;
  right: -350px;
  width: 330px;
  max-width: 90vw;
  height: 100vh;
  background-color: var(--theme-card-bg);
  box-shadow: var(--theme-shadow);
  z-index: 1050;
  transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}
.theme-drawer.active {
  right: 0;
}

.theme-drawer-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--theme-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.theme-drawer-header h5 {
  font-size: 0.95rem;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.15rem;
  color: var(--theme-text-dark);
  padding: 0.2rem;
  transition: var(--theme-transition);
}
.drawer-close-btn:hover {
  color: var(--theme-gold);
  transform: rotate(90deg);
}

.theme-drawer-body {
  padding: 1rem;
  overflow-y: auto;
  flex-grow: 1;
}

.theme-drawer-footer {
  padding: 1rem;
  border-top: 1px solid var(--theme-border);
  background-color: var(--theme-bg);
}

/* Overlay Backdrop */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(30, 34, 41, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--theme-transition);
}
.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* --- QUICK CART DRAWER CONTENT --- */
.cart-drawer-item {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--theme-border);
}
.cart-drawer-item-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  background-color: var(--theme-bg);
  border: 1px solid var(--theme-border);
}
.cart-drawer-item-details {
  flex-grow: 1;
}
.cart-drawer-item-title {
  font-family: var(--theme-font-serif);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}
.cart-drawer-item-meta {
  font-size: 0.65rem;
  color: var(--theme-gold-dark);
  margin-bottom: 0.25rem;
}
.cart-drawer-item-price {
  font-size: 0.8rem;
  font-weight: 600;
}
.cart-drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.qty-adjust-btn {
  background: none;
  border: 1px solid var(--theme-border);
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--theme-transition);
}
.qty-adjust-btn:hover {
  background-color: var(--theme-text-dark);
  color: #FFFFFF;
}

.cart-drawer-item-remove {
  background: none;
  border: none;
  color: var(--theme-text-muted);
  font-size: 0.8rem;
  padding: 0.2rem;
  align-self: flex-start;
  transition: var(--theme-transition);
}
.cart-drawer-item-remove:hover {
  color: #E63946;
}

/* --- HOME HERO SECTION --- */
.hero-slider-section {
  position: relative;
  background-color: var(--theme-bg);
  border-bottom: 1px solid var(--theme-border);
}

.hero-slider-row {
  min-height: calc(100vh - 120px);
  align-items: center;
}
@media (max-width: 767px) {
  .hero-slider-row {
    min-height: 500px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

.hero-text-col {
  padding-right: 2.5rem;
}
@media (max-width: 767px) {
  .hero-text-col {
    padding-right: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
}

.hero-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--theme-gold-dark);
  margin-bottom: 0.75rem;
}
.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.25rem;
  }
}
.hero-description {
  font-size: 0.85rem;
  color: var(--theme-text-muted);
  margin-bottom: 1.5rem;
  max-width: 420px;
}
@media (max-width: 767px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--theme-border-dark);
  padding: 0.5rem;
  background-color: var(--theme-card-bg);
  box-shadow: var(--theme-shadow);
}
.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(30, 34, 41, 0.9);
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  font-family: var(--theme-font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-left: 2px solid var(--theme-gold);
}

/* --- BANNER GRID / COLLECTIONS --- */
.collection-card {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--theme-border);
  background-color: var(--theme-card-bg);
}
.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.collection-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(30, 34, 41, 0.65) 0%, rgba(30, 34, 41, 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  transition: var(--theme-transition);
}
.collection-card:hover img {
  transform: scale(1.05);
}
.collection-card-title {
  color: #FFFFFF;
  font-family: var(--theme-font-serif);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.collection-card-link {
  color: var(--theme-gold-light);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* --- INTERACTIVE ENERGY METADATA SECTION --- */
.stone-energy-showcase {
  background-color: var(--theme-sage-light);
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
}
.stone-selector-btn {
  background-color: var(--theme-card-bg);
  border: 1px solid var(--theme-border);
  padding: 0.5rem 1rem;
  font-family: var(--theme-font-serif);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--theme-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.stone-selector-btn:hover, .stone-selector-btn.active {
  background-color: var(--theme-text-dark);
  color: #FFFFFF;
  border-color: var(--theme-text-dark);
}
.stone-selector-btn.active .stone-dot {
  background-color: var(--theme-gold);
}
.stone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.energy-display-card {
  background-color: var(--theme-card-bg);
  border: 1px solid var(--theme-border);
  padding: 1.25rem;
  box-shadow: var(--theme-shadow-sm);
}
.energy-stone-title {
  font-family: var(--theme-font-serif);
  font-size: 1.25rem;
  color: var(--theme-text-dark);
}
.energy-badge-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.energy-meta-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  background-color: var(--theme-bg);
  border: 1px solid var(--theme-border);
  font-weight: 500;
}

/* --- SHOP PAGE FILTER SIDEBAR & MOBILE HEADER --- */
.shop-filters-sidebar {
  border-right: 1px solid var(--theme-border);
  padding-right: 1rem;
  height: max-content;
}
.filter-group-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--theme-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.filter-options-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 1rem;
}
.filter-option-item {
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}
.filter-option-item label {
  margin-left: 0.5rem;
  cursor: pointer;
  color: var(--theme-text-dark);
  user-select: none;
}
.filter-option-item input[type="checkbox"] {
  accent-color: var(--theme-text-dark);
  cursor: pointer;
}

/* Sticky Mobile Filter Bar */
.mobile-filter-bar {
  background-color: var(--theme-card-bg);
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
  padding: 0.4rem 0;
  position: sticky;
  top: 50px; /* Right below header */
  z-index: 1010;
  display: none;
}
@media (max-width: 991px) {
  .mobile-filter-bar {
    display: block;
  }
}
.mobile-filter-btn {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.35rem;
}
.mobile-filter-btn:not(:last-child) {
  border-right: 1px solid var(--theme-border);
}

/* --- PRODUCT PAGE DETAILS --- */
.product-gallery-primary {
  border: 1px solid var(--theme-border);
  background-color: var(--theme-card-bg);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.product-gallery-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-gallery-primary img:hover {
  transform: scale(1.15);
  cursor: zoom-in;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}
.gallery-thumb-item {
  width: 60px;
  height: 60px;
  border: 1px solid var(--theme-border);
  background-color: var(--theme-card-bg);
  cursor: pointer;
  transition: var(--theme-transition);
  flex-shrink: 0;
}
.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb-item:hover, .gallery-thumb-item.active {
  border-color: var(--theme-gold);
}

.product-meta-pill {
  font-size: 0.7rem;
  font-weight: 500;
  background-color: var(--theme-sage-light);
  color: var(--theme-sage-dark);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.product-price-section {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.product-detail-price {
  font-size: 1.25rem;
  font-weight: 600;
}
.product-detail-price-old {
  font-size: 0.95rem;
  color: var(--theme-text-muted);
  text-decoration: line-through;
}

/* Technical Gemstone Details Table/Box */
.gemstone-specs-box {
  background-color: var(--theme-sage-light);
  border: 1px solid var(--theme-border);
  padding: 0.75rem;
  margin-bottom: 1rem;
}
.gemstone-specs-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--theme-sage-dark);
  margin-bottom: 0.5rem;
}
.gemstone-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.75rem;
}
.gemstone-spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(138, 154, 134, 0.15);
  padding-bottom: 0.15rem;
}
.gemstone-spec-label {
  color: var(--theme-text-muted);
}
.gemstone-spec-value {
  font-weight: 600;
}

/* Compact Accordions for tabs */
.premium-accordion {
  border-top: 1px solid var(--theme-border);
}
.premium-accordion-item {
  border-bottom: 1px solid var(--theme-border);
}
.premium-accordion-header {
  padding: 0.65rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--theme-text-dark);
}
.premium-accordion-content {
  padding: 0.5rem 0 0.75rem 0;
  font-size: 0.8rem;
  color: var(--theme-text-muted);
  display: none;
}

/* Sticky Add to Cart for mobile */
.sticky-mobile-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--theme-card-bg);
  box-shadow: 0 -4px 16px rgba(30, 34, 41, 0.06);
  border-top: 1px solid var(--theme-border);
  padding: 0.5rem 1rem;
  z-index: 999;
  display: none;
}
@media (max-width: 767px) {
  .sticky-mobile-buy-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
}
.sticky-mobile-buy-info {
  display: flex;
  flex-direction: column;
}
.sticky-mobile-buy-title {
  font-family: var(--theme-font-serif);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.sticky-mobile-buy-price {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Offset padding for bottom sticky bar on mobile */
@media (max-width: 767px) {
  .product-page-wrapper {
    padding-bottom: 60px; /* matches mobile bar height */
  }
}

/* --- ALERTS & NOTIFICATIONS --- */
.toast-container-custom {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1060;
}
.toast-custom {
  background-color: var(--theme-text-dark);
  color: #FFFFFF;
  border-radius: 0;
  border-left: 3px solid var(--theme-gold);
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--theme-shadow);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.toast-custom.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- MOBILE OFFCANVAS NAVBAR --- */
@media (max-width: 767px) {
  .mobile-offcanvas {
    width: 50% !important;
    background-color: var(--theme-bg) !important;
  }
  .mobile-offcanvas .nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid var(--theme-border);
  }
  .mobile-offcanvas .btn-close {
    box-shadow: none !important;
  }
}
