body {
    background-color: #121212;
    color: #F3E5AB;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h1, h2, h3, .font-heading {
    font-family: 'Cinzel', serif;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #FFF099 0%, #D4AF37 50%, #AA820A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Disable image/video saving, dragging, and mobile long-press context menus */
img, video {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;
}

/* Force Shop The Look video wrapper to vertical portrait format on mobile */
@media (max-width: 1024px) {
    #shop-the-look .lg\:col-span-5 {
        height: 520px !important;
        max-height: 75vh !important;
    }
    #stl-active-video {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
    }
}

/* Ensure all product grid images, thumbnails, and modal views fit perfectly without cropping */
#product-grid img, 
#modal-active-slide-container img, 
#modal-thumbnails img, 
#related-products-grid img {
    object-fit: contain !important;
    background-color: #0b0b0b;
}

/* Allow typing inside input fields and textareas */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}


/* Custom Seamless Marquee Ticker Animation */
@keyframes marquee-ticker {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee-ticker {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee-ticker 18s linear infinite;
}

.marquee-container {
    overflow: hidden;
    width: 100%;
}

/* Prevent automatic mobile zooming on input focus and disable double-tap zoom gestures */
html {
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%
}

input, select, textarea {
    font-size: 16px !important; /* Prevents iOS Safari from zooming in on focus when font-size is under 16px */
}

/* Custom Header Brand Logo Styling */
.custom-header-logo {
  max-height: 125px;          /* Increased height so it's clearly visible */
  width: auto;               /* Preserves aspect ratio */
  object-fit: contain;       /* Prevents distortion */
  display: block;
  margin: 0 auto;
}

/* ========================================================== */
/* FIREWORKS OVERLAY STYLES                                   */
/* ========================================================== */
#fireworks-overlay-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* Allows clicks to pass through to your store elements */
  z-index: 99999;       /* Ensures it renders right on top of everything */
  overflow: hidden;
}

#fireworks-overlay-container canvas {
  position: absolute;
  top: 0;
  left: 0;
  mix-blend-mode: lighten;
  transform: translateZ(0);
}

@keyframes luxury-pulse {
    0%, 100% {
        background-color: #121212;
        border-color: rgba(212, 175, 55, 0.1);
    }
    50% {
        background-color: #1f1b13; /* Subtle warm dark-gold tint */
        border-color: rgba(212, 175, 55, 0.3);
    }
}

.tas-skeleton {
    animation: luxury-pulse 1.8s infinite ease-in-out;
    position: relative;
    overflow: hidden;
}

.tas-skeleton-badge {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
    z-index: 5;
}

.tas-skeleton-monogram {
    font-family: serif;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    color: #D4AF37;
    opacity: 0.6;
    animation: tas-fade 1.5s infinite alternate ease-in-out;
}

@keyframes tas-fade {
    0% { opacity: 0.3; transform: scale(0.95); }
    100% { opacity: 0.8; transform: scale(1.05); }
}

.tas-skeleton-shimmer {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    animation: shimmer-move 2s infinite linear;
}

@keyframes shimmer-move {
    0% { transform: translateX(-100px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100px); opacity: 0; }
}
