@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');

/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --color-bg: #0D0D0D;
  --color-surface: #131313;
  --color-surface-card: #1A1A1A;
  --color-gold: #C5A059;
  --color-gold-bright: #E2C991;
  --color-text-primary: #F5F5F0;
  --color-text-secondary: #E5E2E1;
  --color-text-muted: #9A8F80;
  
  /* Fonts */
  --font-serif: 'Bodoni Moda', serif;
  --font-sans: 'Hanken Grotesk', sans-serif;
  
  /* Spacing */
  --container-max: 1440px;
  --header-height: 80px;
}

/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* Dividers */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold) 50%, transparent);
  margin: 60px 0;
  position: relative;
  border: none;
}

.gold-divider::after {
  content: "♦";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-gold);
  background: var(--color-bg);
  padding: 0 15px;
  font-size: 14px;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

/* Sticky Header with Glassmorphism */
header.sticky {
  background-color: rgba(13, 13, 13, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3) !important;
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px; /* Luxury centered grouping close to logo */
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  transition: gap 0.3s ease;
}

@media (max-width: 992px) {
  .header-container {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-container {
    gap: 15px;
    padding: 0 16px;
  }
  .nav-links {
    gap: 16px !important;
  }
  .nav-links a {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
  }
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-secondary);
}

.nav-links a:hover {
  color: var(--color-gold-bright);
}

/* TG Logo Style */
.tg-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Original logo image in header */
.header-logo-img {
  height: 44px;
  width: auto;
  filter: invert(1);
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}

.tg-logo:hover .header-logo-img {
  transform: scale(1.05);
  opacity: 0.85;
}

.tg-monogram-circle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.tg-monogram-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.4);
}

.tg-monogram-svg {
  width: 24px;
  height: 24px;
  fill: var(--color-gold);
}

/* Cart Icon Button */
.cart-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: transform 0.3s ease, color 0.3s ease;
}

.cart-icon-btn:hover {
  color: var(--color-gold-bright);
  transform: scale(1.08);
}

.cart-svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 16px 36px;
  border-radius: 0px; /* Sharp corners */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border: none;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-bg);
}

.btn-primary:hover {
  background-color: var(--color-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-text-secondary);
}

.btn-secondary:hover {
  background-color: rgba(197, 160, 89, 0.08);
  border-color: var(--color-gold-bright);
  color: var(--color-text-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text-secondary);
  padding: 8px 0;
  position: relative;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.3s ease;
}

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

.btn-ghost:hover::after {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION & VIDEOS
   ========================================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-bg);
  overflow: hidden;
}

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

.hero-video-wrapper.video-wrapper-2 {
  z-index: 2;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  image-rendering: -webkit-optimize-contrast; /* Optimizes contrast and clarity when scaled */
  transform: translate3d(0, 0, 0);            /* Forces GPU rendering */
  backface-visibility: hidden;
  will-change: transform, opacity;            /* Prepares layer for smooth hardware acceleration */
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0.25) 0%, rgba(13, 13, 13, 0.9) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-container-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.hero-center-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.hero-logo-original {
  max-width: 280px;
  height: auto;
  filter: invert(1) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7));
  opacity: 0; /* Animated with GSAP */
  transform: translateY(20px);
}

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

.hero-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 24px;
  display: block;
}

.hero-title {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.hero-desc {
  font-family: var(--font-sans);
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  font-weight: 300;
}

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

@media (max-width: 576px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================================================
   CRAFT PROCESS SECTION
   ========================================================================== */
.craft-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 992px) {
  .craft-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

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

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--color-text-primary);
}

.craft-text {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.craft-image-wrapper {
  position: relative;
  border: 1px solid var(--color-gold);
  padding: 16px;
  background: var(--color-surface);
}

.craft-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   CREATION PROCESS STEPS SECTION
   ========================================================================== */
.steps-section {
  padding: 100px 0;
  background-color: var(--color-bg);
  border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.steps-grid-header {
  text-align: center;
  margin-bottom: 60px;
}

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

@media (max-width: 992px) {
  .steps-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.step-card {
  background-color: var(--color-surface-card);
  border: 1px solid rgba(197, 160, 89, 0.15);
  padding: 50px 40px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 0px; /* STRICT RULE: Sharp corners only */
}

.step-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.15);
  transform: translateY(-5px);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width 0.4s ease;
}

.step-card:hover::before {
  width: 100%;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 54px;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1;
}

.step-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.step-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ==========================================================================
   CATALOG / BRAND SHOWCASE SECTION
   ========================================================================== */
.catalog-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

@media (max-width: 1100px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
}

/* Escaparate Carousel Wrapper */
.escaparate-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Escaparate Grid (Flex Carousel) */
.escaparate-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 16px 40px; /* Space for buttons */
  -webkit-overflow-scrolling: touch;
}

.escaparate-grid::-webkit-scrollbar {
  display: none;
}
.escaparate-grid {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.escaparate-grid .cap-card {
  flex: 0 0 calc(50% - 12px);
  min-width: 280px;
}

@media (max-width: 640px) {
  .escaparate-grid .cap-card {
    flex: 0 0 100%;
  }
}

/* Carousel Buttons */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 1.5rem;
  width: 44px; 
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--color-gold);
  color: var(--color-bg);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

/* Hype Card (Interactive blur card) */
.hype-card {
  position: relative;
  overflow: hidden;
}

.hype-card .cap-card-img,
.hype-card .cap-card-info {
  filter: blur(8px);
  transition: filter 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hype-card-hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 15;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}

.hype-card:hover .cap-card-img,
.hype-card:hover .cap-card-info {
  filter: blur(0px);
}

.hype-card:hover .hype-card-hover-text {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

/* Cap Card Component */
.cap-card {
  background-color: var(--color-surface-card);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid transparent;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
}

.cap-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.25);
  transform: translateY(-4px);
}

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

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

.cap-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.9), transparent);
  z-index: 10;
}

.cap-card-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.cap-card-price {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--color-gold-bright);
}

/* Hype Box (Blur interactive element) */
.hype-box {
  background-color: var(--color-surface-card);
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.15);
  filter: blur(8px);
  transition: filter 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

.hype-box:hover {
  filter: blur(4px);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.25);
}

.hype-box-blur-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/collections-showcase.png') center/cover no-repeat;
  transform: scale(1.15);
}

.hype-box-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  background-color: rgba(13, 13, 13, 0.7);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: background-color 0.5s ease;
}

.hype-box:hover .hype-box-content {
  background-color: rgba(13, 13, 13, 0.4);
}

.hype-box-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.hype-box-text {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hype-box:hover .hype-box-text {
  opacity: 1;
  color: var(--color-gold-bright);
}

/* Brand Showcase Video Panel (Bespoke Glass Showcase) */
.catalog-grid-header {
  margin-bottom: 40px;
}

.showcase-3d-panel {
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px solid #C5A059;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.25);
  background-color: #000;
  display: flex;
}

.showcase-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Glass Showcase reflection overlay */
.showcase-3d-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 3;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.contact-info {
  max-width: 480px;
}

.contact-text {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.detail-value {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-text-primary);
}

/* Contact Form Underline Style */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-text-muted);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease, border-width 0.1s ease;
  border-radius: 0px;
}

.form-input:focus {
  border-bottom: 2px solid var(--color-gold);
}

/* Floating labels */
.form-label {
  position: absolute;
  top: 10px;
  left: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -16px;
  font-size: 9px;
  color: var(--color-gold);
}

textarea.form-input {
  resize: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: #050505;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 40px;
  margin-bottom: 30px;
}

@media (max-width: 576px) {
  .footer-links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

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

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #555552;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==========================================================================
   COLLECTIONS SLIDER & DRAG GALLERY
   ========================================================================== */
.collections-section {
  padding: 120px 0 100px;
  background-color: var(--color-bg);
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.collections-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-desc {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin-top: 16px;
}

.collections-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 0 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  box-sizing: border-box;
}

.collections-slider {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
  cursor: grab;
}

.collections-slider::-webkit-scrollbar {
  display: none; /* Safari/Chrome */
}

.collections-slider.active-drag {
  cursor: grabbing;
  scroll-behavior: auto;
}

.slider-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background-color: var(--color-surface-card);
  border: 1px solid rgba(197, 160, 89, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.slider-item:hover {
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.25);
  transform: translateY(-4px);
}

.slider-image-box {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--color-bg);
}

.slider-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slider-item:hover .slider-image-box img {
  transform: scale(1.06);
}

.slider-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.95), var(--color-surface-card));
}

.item-category {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.item-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-text-primary);
  font-weight: 600;
}

.item-price {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-bright);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.3);
  background: transparent;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  border-color: var(--color-gold);
  background-color: rgba(197, 160, 89, 0.1);
  color: var(--color-gold-bright);
}

.slider-arrow svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-wrapper.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.modal-container {
  position: relative;
  width: 90%;
  max-width: 960px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold);
  z-index: 10;
  padding: 48px;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 40px rgba(197, 160, 89, 0.2);
}

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

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: var(--color-gold-bright);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .modal-container {
    padding: 40px 24px 24px;
    height: 85vh;
    overflow-y: auto;
  }
  
  .modal-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .collections-slider-wrapper {
    padding: 0 24px;
  }
  
  .collections-slider {
    gap: 20px;
  }
  
  .slider-item {
    flex: 0 0 280px;
  }
}

.modal-image-wrapper {
  border: 1px solid rgba(197, 160, 89, 0.15);
  background-color: var(--color-bg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-wrapper {
  display: flex;
  flex-direction: column;
}

.modal-category {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.modal-info-wrapper h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.modal-price {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-gold-bright);
  margin-bottom: 24px;
  font-weight: 600;
}

.modal-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.modal-specs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  border-top: 1px solid rgba(197, 160, 89, 0.1);
  padding-top: 24px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(197, 160, 89, 0.05);
  padding-bottom: 8px;
}

.spec-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.spec-value {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text-primary);
  font-weight: 500;
}

/* ==========================================================================
   TOAST NOTIFICATION (FORM SUCCESS)
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 10000;
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold);
  padding: 24px 32px;
  box-shadow: 0 0 25px rgba(197, 160, 89, 0.25);
  max-width: 400px;
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.toast-icon {
  color: var(--color-gold);
  font-size: 18px;
  line-height: 1;
}

.toast-text h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-gold-bright);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.toast-text p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

@media (max-width: 576px) {
  .toast-notification {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
}

/* ==========================================================================
   SHOPPING CART DRAWER & BADGE
   ========================================================================== */
.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-gold);
  color: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  border: 1px solid var(--color-bg);
  animation: popBadge 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popBadge {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.cart-drawer-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  visibility: hidden;
  transition: visibility 0.4s ease;
}

.cart-drawer-wrapper.active {
  visibility: visible;
}

.cart-drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-wrapper.active .cart-drawer-backdrop {
  opacity: 1;
}

.cart-drawer-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background-color: #0d0d0d;
  border-left: 1px solid rgba(197, 160, 89, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.cart-drawer-wrapper.active .cart-drawer-container {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 24px 30px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-text-primary);
  margin: 0;
}

.cart-drawer-close-btn {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.3s ease;
}

.cart-drawer-close-btn:hover {
  color: var(--color-gold-bright);
}

.cart-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.cart-empty-message {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.cart-empty-message p {
  font-family: var(--font-sans);
  color: var(--color-text-secondary);
  font-size: 14px;
  letter-spacing: 0.05em;
  margin: 0;
}

.cart-close-action {
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 10px 20px;
}

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

/* Cart Item Card */
.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  animation: fadeInItem 0.3s ease-out;
}

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

.cart-item-img-wrapper {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(197, 160, 89, 0.15);
  background-color: #121212;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-item-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.cart-item-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin: 0;
  text-transform: uppercase;
}

.cart-item-remove-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.3s ease;
}

.cart-item-remove-btn:hover {
  color: #ff4d4d;
}

.cart-item-price {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-gold);
  font-weight: 500;
}

.cart-item-qty-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141414;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
  padding: 0;
}

.qty-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
}

.qty-val {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--color-text-primary);
  width: 24px;
  text-align: center;
}

/* Footer */
.cart-drawer-footer {
  padding: 24px 30px;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  background-color: #090909;
}

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

.cart-subtotal-row span:first-child {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
}

.cart-subtotal-row span:last-child {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-gold-bright);
}

.cart-footer-note {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
  margin-top: 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.w-100 {
  width: 100%;
}

@media (max-width: 480px) {
  .cart-drawer-container {
    max-width: 100%;
  }
  .cart-drawer-content {
    padding: 20px;
  }
  .cart-drawer-footer {
    padding: 20px;
  }
}

/* Performance Optimizations */
.anim-fade-up, .anim-grid-item, .craft-content, .craft-image-wrapper {
  will-change: transform, opacity;
}

