body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #1a1a1a;
    selection-background-color: #000;
    selection-color: #fff;
}
::selection {
    background: #000;
    color: #d4af37; /* Gold text */
}
.font-serif-logo {
    font-family: 'Playfair Display', serif;
}

.icon-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    background: white;
}
.icon-circle:hover {
    border-color: #000;
    background-color: #000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fff; 
}
::-webkit-scrollbar-thumb {
    background: #d4d4d4; 
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a3a3a3; 
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 60px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 1.2s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 16px 24px;
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(20px);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
#toast.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    bottom: 50px;
}

@keyframes shine-move {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.shine-effect {
    overflow: hidden;
}

.shine-effect::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    animation: shine-move 6s infinite ease-in-out;
}

@keyframes text-shine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.lustra-title-animate {
    background: linear-gradient(
        to right, 
        #ffffff 0%, 
        #e5e7eb 20%, 
        #ffffff 40%, 
        #d4af37 50%, 
        #ffffff 60%,
        #e5e7eb 80%, 
        #ffffff 100%
    );
    background-size: 200% auto;
    color: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shine 6s linear infinite;
}

.dark-shine-text {
    background: linear-gradient(
        to right, 
        #000000 0%, 
        #4b5563 20%, 
        #000000 40%, 
        #d4af37 50%, 
        #000000 60%, 
        #4b5563 80%, 
        #000000 100%
    );
    background-size: 200% auto;
    color: #000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shine 6s linear infinite;
}

.glow-icon {
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}
.group:hover .glow-icon {
    text-shadow: 0 0 20px currentColor;
    transform: scale(1.1);
}

.smooth-card {
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.smooth-card:hover {
    background-color: #000;
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.smooth-card i {
    transition: color 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.smooth-card:hover i {
    color: #facc15; /* Yellow-400 */
}
.smooth-card h4 {
    transition: color 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.smooth-card:hover h4 {
    color: #fff;
}
.smooth-card p {
    transition: color 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.smooth-card:hover p {
    color: #d1d5db; /* Gray-300 */
}

details[open] summary ~ * {
    animation: slideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

details[open].closing summary ~ * {
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
        margin-top: 16px;
        overflow: hidden;
    }
}

@keyframes slideUp {
    0% {
        opacity: 1;
        transform: translateY(0);
        max-height: 200px;
        margin-top: 16px;
        overflow: hidden;
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
    }
}

.icon-wrapper {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
details[open] .icon-wrapper {
    transform: rotate(180deg);
}
details[open].closing .icon-wrapper {
    transform: rotate(0deg);
}

.backdrop-blur-lg {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

/* =========================================
   PAGE TRANSITION LOADER
   ========================================= */

#page-loader {
    position: fixed;
    inset: 0;
    background-color: #FAFAFA;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
    opacity: 0;
    visibility: hidden;
}

#page-loader.active {
    opacity: 1;
    visibility: visible;
}

.buffing-circle {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(0,0,0,0.1); 
    border-top: 3px solid #FACC15; /* Gold */
    border-radius: 50%;
    animation: buffing-spin 1s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
    position: absolute;
}

.loader-brand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 24px;
    color: #000;
    animation: pulse-text 2s infinite ease-in-out;
}

@keyframes buffing-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes cart-shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

.cart-animating {
    animation: cart-shake 0.5s ease-in-out;
    color: #ca8a04; /* Temporarily turns yellow */
}