/* ==========================================================================
   Premium Site Styles
   ========================================================================== */

/* Typography Overrides for Premium feel */
body {
  background-color: #09080b;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(251, 219, 180, 0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 85px 60px, rgba(255, 255, 255, 0.22) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 148px 24px, rgba(251, 219, 180, 0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 208px 78px, rgba(255, 255, 255, 0.18) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 244px 11px, rgba(251, 219, 180, 0.4) 0%, transparent 100%),
    radial-gradient(0.8px 0.8px at 52px 128px, rgba(255, 255, 255, 0.18) 0%, transparent 100%),
    radial-gradient(1.2px 1.2px at 114px 168px, rgba(251, 219, 180, 0.28) 0%, transparent 100%),
    radial-gradient(1px 1px at 194px 143px, rgba(255, 255, 255, 0.14) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 31px 210px, rgba(251, 219, 180, 0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 160px 230px, rgba(255, 255, 255, 0.18) 0%, transparent 100%),
    radial-gradient(1.2px 1.2px at 240px 196px, rgba(251, 219, 180, 0.25) 0%, transparent 100%),
    radial-gradient(0.8px 0.8px at 90px 246px, rgba(255, 255, 255, 0.22) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 200px 182px, rgba(251, 219, 180, 0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 140px 106px, rgba(255, 255, 255, 0.14) 0%, transparent 100%),
    radial-gradient(1.2px 1.2px at 37px 76px, rgba(251, 219, 180, 0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 226px 256px, rgba(255, 255, 255, 0.18) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 66px 240px, rgba(251, 219, 180, 0.28) 0%, transparent 100%),
    radial-gradient(1px 1px at 176px 50px, rgba(255, 255, 255, 0.22) 0%, transparent 100%),
    radial-gradient(0.8px 0.8px at 11px 161px, rgba(251, 219, 180, 0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 246px 120px, rgba(255, 255, 255, 0.18) 0%, transparent 100%);
  background-size: 260px 260px;
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.site-logo {
  padding-top: 36px;
  font-family: var(--font-display);
  font-weight: 700;
}

/* Base Utility Classes */
.mb-1-5 {
  margin-bottom: 1.5rem;
}

.mb-6 {
  margin-bottom: 6rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.text-primary {
  color: var(--color-primary);
}

.text-sm {
  font-size: 0.8rem;
}

.text-xs {
  font-size: 0.7rem;
}

.text-success {
  color: var(--color-success);
}

.d-none {
  display: none !important;
}

.hidden {
  display: none !important;
}

.inline-form {
  display: inline-block;
}

/* Responsive Utilities */
@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }

  .d-lg-block {
    display: block !important;
  }

  .d-lg-flex {
    display: flex !important;
  }

  .d-lg-grid {
    display: grid !important;
  }
}

@media (max-width: 991.98px) {
  .d-lg-only-none {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }

  .d-md-block {
    display: block !important;
  }

  .d-md-flex {
    display: flex !important;
  }
}

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--color-dark) url('/img/premium-marble.png') repeat;
  height: 600px;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.4) 60%, rgba(10, 10, 10, 0.1) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 5rem;
  max-width: 700px;
}

.slide-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.02em;
}

.slide-subtitle {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-light);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  width: 30px;
  border-radius: var(--radius-full);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-gold);
}

.slider-arrow.prev {
  left: 2rem;
}

.slider-arrow.next {
  right: 2rem;
}

/* Grid Systems */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  background: linear-gradient(145deg, var(--color-dark-2), var(--color-dark-3)), url('/img/premium-marble.png') repeat;
  text-align: center;
  transition: var(--transition);
  color: var(--color-text-muted);
}

.category-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-gold-hover);
  transform: translateY(-5px);
  color: var(--color-primary);
  background: linear-gradient(145deg, var(--color-dark-3), var(--color-surface));
}

.category-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--color-dark);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Product Card Premium Redesign */
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-dark-2);
  border: 1px solid var(--color-border-light);
  transition: var(--transition-slow);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.product-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--color-dark-3);
  display: block;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 5;
}

.badge {
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  z-index: 5;
}

.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.action-btn:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  border-color: var(--color-primary);
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.5rem;
}

.product-card-category {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.product-card-name {
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  height: 2.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover .product-card-name {
  color: var(--color-primary);
}

.product-card-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 1.5rem;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 1px;
  color: rgba(181, 151, 106, 0.3);
}

.star-icon.active {
  color: var(--color-primary);
}

.rating-count {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-left: 2px;
}

.stock-warning {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-secondary);
  background: rgba(140, 26, 26, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 0.75rem;
}

.product-card-price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.price-original {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.price-original {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.btn-add-cart-simple {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(251, 219, 180, 0.1);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart-simple:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  box-shadow: var(--shadow-gold);
}

/* Brands */
.brands-strip {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  overflow-x: auto;
  padding: 1.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.brands-strip::-webkit-scrollbar {
  height: 6px;
}

.brands-strip::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.brand-item {
  flex-shrink: 0;
  padding: 1rem 2rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-display);
  color: var(--color-text-muted);
  transition: var(--transition);
  background: var(--color-dark-2);
}

.brand-item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

/* Banners */
.banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 4rem 0;
}

.banner-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 21/9;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.banner-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.6) 0%, transparent 50%);
  pointer-events: none;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.banner-item:hover img {
  transform: scale(1.08);
}

.banner-item:hover {
  box-shadow: var(--shadow-gold-hover);
}


/* Section Titles */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
}

.section-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-link:hover {
  color: var(--color-text);
}


/* Responsive Refinements */
@media (max-width: 1024px) {
  .hero-slider {
    height: 500px;
  }

  .slide-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 420px;
  }

  .slide-content {
    padding: 0 2rem;
  }

  .slide-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .banner-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }

  .action-btn {
    opacity: 1;
    transform: none;
    width: 32px;
    height: 32px;
  }

  .product-card-actions {
    opacity: 1;
    transform: none;
  }

  .category-card {
    padding: 1.5rem 1rem;
  }

  .brands-strip {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 280px;
  }

  .slide-content {
    padding: 0 1.5rem;
    text-align: center;
  }

  .slide-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .slide-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    height: auto;
  }

  .section-padding {
    padding: 2rem 0;
  }

  .section-header {
    margin-bottom: 1.25rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .category-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 1.25rem;
    margin: 0 -1.25rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .category-grid::-webkit-scrollbar {
    display: none;
  }

  .category-card {
    flex: 0 0 100px;
    padding: 1rem 0.5rem;
    scroll-snap-align: start;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .category-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
  }

  .category-name {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 0 0.75rem !important;
  }

  .product-card {
    border-radius: 12px;
    background: var(--color-dark-2);
  }

  .product-card-body {
    padding: 0.75rem 0.6rem;
    gap: 0.2rem;
  }

  .product-card-name {
    font-size: 0.75rem;
    height: 2rem;
  }

  .price-current {
    font-size: 0.9rem;
  }

  .btn-add-cart-simple {
    width: 28px;
    height: 28px;
    border-radius: 5px;
  }

  .form-control {
    height: 48px;
    font-size: 0.9rem;
  }

  .btn {
    height: 48px;
    border-radius: 10px;
    font-size: 0.9rem;
  }
}

.section-title-centered {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-centered::before,
.section-title-centered::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(251, 219, 180, 0.6));
}

.section-title-centered::after {
  background: linear-gradient(to left, transparent, rgba(251, 219, 180, 0.6));
}

.section-title-centered span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.section-title-centered.on-cream::before {
  background: linear-gradient(to right, transparent, rgba(44, 31, 16, 0.4));
}

.section-title-centered.on-cream::after {
  background: linear-gradient(to left, transparent, rgba(44, 31, 16, 0.4));
}

.section-title-centered.on-cream span {
  color: var(--color-cream-text);
}

@media (max-width: 768px) {
  .section-title-centered span {
    font-size: 1.35rem;
  }

  .section-title-centered {
    gap: 1rem;
    margin-bottom: 2rem;
  }
}

.region-nav {
  background: rgba(10, 8, 9, 0.9);
  border-bottom: 1px solid var(--color-border-light);
  padding: 0.75rem 0;
}

.region-tabs {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.region-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(251, 219, 180, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: var(--transition);
  letter-spacing: 0.04em;
}

.region-tab:hover,
.region-tab.active {
  background: rgba(251, 219, 180, 0.1);
  border-color: rgba(251, 219, 180, 0.5);
  color: var(--color-primary);
}

.region-tab svg {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .region-tabs {
    gap: 0.4rem;
  }

  .region-tab {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
  }
}

.hero-mosaic-section {
  padding: calc(1.25rem + 44px) 1.25rem 0;
  max-width: var(--container-max);
  margin: -44px auto 0;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 1rem;
  height: 560px;
}

.mosaic-main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
  background: linear-gradient(145deg, #1a1208, #0d0a06);
  height: 100%;
  min-height: 0;
}

.mosaic-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.mosaic-main:hover img {
  transform: scale(1.04);
}

.mosaic-main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(10, 8, 9, 0.85) 0%, transparent 100%);
  z-index: 2;
}

.mosaic-main-overlay h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.mosaic-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.8rem;
  height: 100%;
  min-height: 0;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
  background: linear-gradient(145deg, #1a1208, #0d0a06);
  min-height: 0;
}

.mosaic-item--top {
  grid-column: 1 / 3;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.mosaic-item:hover img {
  transform: scale(1.05);
}

.mosaic-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(10, 8, 5, 0.8) 0%, transparent 100%);
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mosaic-item:hover .mosaic-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.mosaic-item-overlay span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.01em;
}

.mosaic-img-out {
  animation: mosaicFadeOut 0.28s ease forwards;
}

.mosaic-img-in {
  animation: mosaicFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.mosaic-title-out {
  animation: mosaicTitleOut 0.2s ease forwards;
}

.mosaic-title-in {
  animation: mosaicTitleIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

@keyframes mosaicFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes mosaicFadeIn {
  from {
    opacity: 0;
    transform: scale(1.06);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes mosaicTitleOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes mosaicTitleIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mosaic-empty {
  background: linear-gradient(145deg, #1a1208 0%, #0d0a06 100%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-mosaic {
    height: 340px;
  }

  .mosaic-main-overlay h1 {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .hero-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 280px;
    position: relative;
  }

  .mosaic-main {
    grid-column: 1;
    grid-row: 1;
  }

  .mosaic-right {
    position: absolute;
    right: 0.6rem;
    bottom: 0.6rem;
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
    height: auto;
    grid-template-columns: unset;
    grid-template-rows: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 3;
    width: calc(72px * 2 + 0.4rem);
  }

  .mosaic-right::-webkit-scrollbar {
    display: none;
  }

  .mosaic-item {
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    min-height: 54px;
    scroll-snap-align: start;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  }

  .mosaic-item.active-thumb {
    border-color: var(--color-primary);
  }

  .mosaic-item-overlay {
    display: none;
  }

  .hero-mosaic-section {
    padding: calc(0.75rem + 18px) 0.75rem 0;
    margin: -18px auto 0;
  }
}

.home-section {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .home-section {
    padding: 2.5rem 0;
  }
}

.btn-add-cart-full {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-top: 0.65rem;
  background: transparent;
  color: #e05a6a;
  border: 1px solid rgba(180, 30, 50, 0.45);
  border-radius: var(--radius);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
}

.btn-add-cart-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(180,30,50,.12) 0%, rgba(220,60,80,.06) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.btn-add-cart-full::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,120,140,.14), transparent);
  transition: left 0.45s ease;
  pointer-events: none;
}

.btn-add-cart-full:hover {
  border-color: rgba(200, 40, 60, 0.75);
  color: #f08090;
  box-shadow: 0 0 18px rgba(180,30,50,.18), inset 0 0 18px rgba(180,30,50,.05);
}

.btn-add-cart-full:hover::before {
  opacity: 1;
}

.btn-add-cart-full:hover::after {
  left: 160%;
}

.btn-add-cart-full:active {
  transform: scale(0.97);
}

.btn-add-cart-oos {
  color: rgba(163,163,163,.4);
  border-color: rgba(163,163,163,.15);
  cursor: not-allowed;
}

.btn-add-cart-oos:hover {
  color: rgba(163,163,163,.4);
  border-color: rgba(163,163,163,.15);
  box-shadow: none;
}

.btn-add-cart-oos::after,
.btn-add-cart-oos::before {
  display: none;
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

@media (max-width: 768px) {
  .btn-add-cart-full {
    padding: 0.5rem 0.4rem;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }
}

.how-we-work-section {
  padding: 4rem 0 0;
  margin-top: 3rem;
}

.hww-images-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.hww-cream-area {
  background: url("/img/home.PNG") center/cover no-repeat;
  padding: 0;
  position: relative;
}

.hww-cream-area>.container,
.hww-cream-area .discover-section {
  position: relative;
  z-index: 1;
}

.hww-desktop-texts {
  display: block;
}

.hww-texts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.hww-mobile-scroll {
  display: none;
}

.hww-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: linear-gradient(145deg, #e8d9c0, #d4c4a5);
  position: relative;
  border: 2px solid rgba(181, 149, 47, 0.45);
  border-bottom: none;
}

.hww-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hww-text {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  border-left: 2px solid rgba(181, 149, 47, 0.45);
  border-right: 2px solid rgba(181, 149, 47, 0.45);
  border-bottom: 2px solid rgba(181, 149, 47, 0.45);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hww-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-cream-text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.hww-desc {
  font-size: 0.9rem;
  color: var(--color-cream-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .how-we-work-section {
    padding: 2.5rem 0 0;
  }

  .hww-images-row {
    display: none;
  }

  .hww-desktop-texts {
    display: none;
  }

  .hww-mobile-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem 0 2.5rem;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    scrollbar-width: none;
  }

  .hww-mobile-scroll::-webkit-scrollbar {
    display: none;
  }

  .hww-mobile-card {
    flex: 0 0 78vw;
    max-width: 320px;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(181, 149, 47, 0.45);
  }

  .hww-mobile-card .hww-img {
    border: none;
    border-radius: 0;
    aspect-ratio: 4/3;
  }

  .hww-mobile-text {
    background: var(--color-cream);
    text-align: center;
    padding: 1.25rem 1rem 1.75rem;
  }

  .hww-mobile-text .hww-title {
    color: var(--color-cream-text);
  }

  .hww-mobile-text .hww-desc {
    color: var(--color-cream-muted);
  }
}

.discover-section {
  padding: 3rem 0 5rem;
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.discover-card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
}

.discover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.discover-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-gold);
}

.discover-card:hover img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .discover-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .discover-section {
    padding: 2.5rem 0 3.5rem;
  }
}

.newsletter-section {
  background: var(--color-cream);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 380'%3E%3Cpath d='M110 375 C107 348 100 318 94 288 C88 258 82 228 85 198 C88 168 100 146 110 132' fill='none' stroke='rgb(100,72,48)' stroke-width='2.5' stroke-linecap='round'/%3E%3Cellipse cx='80' cy='288' rx='30' ry='11' transform='rotate(-55 80 288)' fill='rgb(100,72,48)'/%3E%3Cellipse cx='124' cy='275' rx='30' ry='11' transform='rotate(43 124 275)' fill='rgb(100,72,48)'/%3E%3Cellipse cx='74' cy='250' rx='28' ry='10' transform='rotate(-58 74 250)' fill='rgb(100,72,48)'/%3E%3Cellipse cx='119' cy='238' rx='28' ry='10' transform='rotate(41 119 238)' fill='rgb(100,72,48)'/%3E%3Cellipse cx='70' cy='214' rx='26' ry='10' transform='rotate(-60 70 214)' fill='rgb(100,72,48)'/%3E%3Cellipse cx='114' cy='202' rx='26' ry='10' transform='rotate(42 114 202)' fill='rgb(100,72,48)'/%3E%3Cellipse cx='74' cy='180' rx='24' ry='9' transform='rotate(-57 74 180)' fill='rgb(100,72,48)'/%3E%3Cellipse cx='112' cy='168' rx='24' ry='9' transform='rotate(40 112 168)' fill='rgb(100,72,48)'/%3E%3Cellipse cx='80' cy='152' rx='21' ry='8' transform='rotate(-52 80 152)' fill='rgb(100,72,48)'/%3E%3Cellipse cx='108' cy='140' rx='21' ry='8' transform='rotate(38 108 140)' fill='rgb(100,72,48)'/%3E%3Ccircle cx='88' cy='302' r='6' fill='rgb(100,72,48)'/%3E%3Ccircle cx='102' cy='320' r='5' fill='rgb(100,72,48)'/%3E%3Ccircle cx='96' cy='340' r='5' fill='rgb(100,72,48)'/%3E%3C/svg%3E");
  background-size: 220px 380px;
  background-repeat: repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.newsletter-section>.container {
  position: relative;
  z-index: 1;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cream-text);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--color-cream-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-cream-text);
  outline: none;
  transition: var(--transition);
}

.newsletter-input:focus {
  border-color: var(--color-cream-muted);
  background: rgba(255, 255, 255, 0.9);
}

.newsletter-input::placeholder {
  color: var(--color-cream-muted);
  opacity: 0.7;
}

.newsletter-btn {
  padding: 0.85rem 1.75rem;
  background: var(--color-cream-text);
  color: var(--color-cream);
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #1a0e06;
  box-shadow: 0 4px 16px rgba(44, 31, 16, 0.35);
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
  }

  .newsletter-section {
    padding: 3rem 0;
  }

  .newsletter-title {
    font-size: 1.2rem;
  }
}