/* ========================================
   CUSTOM CURSOR
======================================== */
.custom-cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
    z-index: 100001;
}

.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
    z-index: 100000;
}

body.cursor-hover .cursor-dot {
    width: 12px;
    height: 12px;
    background: var(--gold-light);
}

body.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: rgba(212, 175, 55, 0.8);
}

/* ========================================
   GRAIN OVERLAY
======================================== */
.grain-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    animation: grainShift 0.5s steps(10) infinite;
}

@keyframes grainShift {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* ========================================
   PAGE TRANSITION OVERLAY
======================================== */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-deep);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transition-line {
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.8s var(--ease-out);
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.page-transition-overlay.active .transition-line {
    width: 200px;
}

/* ========================================
   NAVIGATION
======================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--container-padding);
    z-index: 1000;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.95) 0%, rgba(11, 11, 11, 0) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 6px;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.nav-logo:hover {
    color: var(--gold-light);
}

.nav-est {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 300;
    color: var(--ivory-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--ivory-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.5s var(--ease-out);
}

.nav-link:hover {
    color: var(--gold-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px;
    transition: transform var(--transition-fast);
}

.nav-cart:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: 0;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--gold-primary);
    color: var(--black-deep);
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
}

.cart-count.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   SCROLL PROGRESS
======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 1001;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
    transition: width 0.1s linear;
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-number {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 200;
    color: var(--gold-primary);
    letter-spacing: 4px;
    display: block;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--ivory);
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
    position: relative;
}

.section-subtitle {
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ivory-dim);
    letter-spacing: 1px;
    font-style: italic;
}

/* ========================================
   GOLD SHIMMER EFFECT
======================================== */
.shimmer-text {
    background: linear-gradient(
        120deg,
        var(--ivory) 0%,
        var(--ivory) 40%,
        var(--gold-primary) 50%,
        var(--ivory) 60%,
        var(--ivory) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ========================================
   BUTTONS
======================================== */
.add-to-cart-btn,
.checkout-btn {
    position: relative;
    width: 100%;
    padding: 18px 40px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-primary);
    overflow: hidden;
    transition: color 0.5s var(--ease-out);
}

.btn-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold-primary);
    pointer-events: none;
    transition: border-color 0.5s var(--ease-out);
}

.btn-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gold-primary);
    transition: width 0.6s var(--ease-out);
    z-index: -1;
}

.add-to-cart-btn:hover,
.checkout-btn:hover {
    color: var(--black-deep);
}

.add-to-cart-btn:hover .btn-fill,
.checkout-btn:hover .btn-fill {
    width: 100%;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* ========================================
   FOOTER
======================================== */
.main-footer {
    background: var(--black-deep);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: var(--space-xl) var(--container-padding) var(--space-lg);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: var(--space-lg);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 8px;
    display: block;
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    font-family: var(--font-elegant);
    font-size: 0.9rem;
    color: var(--ivory-dim);
    font-style: italic;
    letter-spacing: 2px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 200;
    color: var(--ivory-dim);
    letter-spacing: 1px;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 200;
    color: var(--ivory-dim);
    letter-spacing: 1px;
}
/* ========================================
   WISHLIST TOGGLE BUTTON (Product page)
======================================== */
.wishlist-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--ivory-dim);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-out);
    margin-bottom: var(--space-md);
}

.wishlist-toggle-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.wishlist-toggle-btn.active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.wishlist-toggle-btn.active .heart-icon {
    fill: var(--gold-primary);
}

/* ========================================
   WISHLIST NOTIFICATION
======================================== */
.wishlist-notification {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateX(100%) translateY(-50%);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

.wishlist-notification.show {
    animation: notificationSlide 3s var(--ease-out) forwards;
}

/* ========================================
   NAV WISHLIST (for all pages)
======================================== */
.nav-wishlist {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px;
    margin-right: 15px;
    transition: transform var(--transition-fast);
}

.nav-wishlist:hover {
    transform: scale(1.1);
}

.wishlist-count {
    position: absolute;
    top: 0;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--gold-primary);
    color: var(--black-deep);
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
}

.wishlist-count.visible {
    opacity: 1;
    transform: scale(1);
}