/* Aarnika - Custom Stylesheet (Premium Dark & Gold Theme) */

/* Core Theme Colors */
:root {
    --ink-950: #070E1D;
    --ink-900: #0A1328;
    --ink-800: #0F1C3A;
    
    --sand-50: #FAF7F1;
    --sand-100: #F3EBDD;
    --sand-200: #E7D8BF;
    
    --gold-300: #F0D38C;
    --gold-400: #E7C46C;
    --gold-500: #D8AE4A;
    --gold-600: #B88D2F;
    
    --white-6: rgba(255, 255, 255, 0.06);
    --white-8: rgba(255, 255, 255, 0.08);
    --white-10: rgba(255, 255, 255, 0.10);
    --white-12: rgba(255, 255, 255, 0.12);
}

/* Base Body Override */
body {
    background: radial-gradient(1200px 600px at 20% -10%, rgba(231, 196, 108, 0.08), transparent 60%),
                radial-gradient(900px 500px at 80% 10%, rgba(240, 211, 140, 0.06), transparent 55%),
                linear-gradient(180deg, var(--ink-950), var(--ink-950));
    background-attachment: fixed;
    color: var(--sand-50);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Selection Highlight */
::selection {
    background: rgba(231, 196, 108, 0.28);
    color: var(--sand-50);
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0.02em;
}

.text-gold {
    color: var(--gold-300);
}
.text-gold-hover:hover {
    color: var(--gold-400) !important;
}
.text-sand-50 {
    color: var(--sand-50) !important;
}
.text-sand-muted {
    color: rgba(250, 247, 241, 0.6) !important;
}

/* Glassmorphism Announcement / Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid var(--white-10);
    background-color: rgba(7, 14, 29, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Container limits */
.custom-container {
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

/* Premium Buttons */
.btn-gold {
    background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
    color: var(--ink-950) !important;
    font-weight: 600;
    border: none;
    border-radius: 50rem;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(216, 174, 74, 0.25);
}
.btn-gold:hover, .btn-gold:focus {
    background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(216, 174, 74, 0.35);
}
.btn-gold:disabled {
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-300) !important;
    border: 1px solid rgba(231, 196, 108, 0.4);
    border-radius: 50rem;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover, .btn-outline-gold:focus {
    background: var(--white-8);
    border-color: var(--gold-300);
    color: var(--sand-50) !important;
}

/* Card Glow & Layout Styles */
.premium-card {
    background: var(--white-6);
    border: 1px solid var(--white-10);
    border-radius: 1.5rem;
    transition: all 0.4s ease;
    overflow: hidden;
}
.premium-card:hover {
    background: var(--white-8);
    border-color: rgba(231, 196, 108, 0.25);
    box-shadow: 0 0 0 1px rgba(231, 196, 108, 0.20), 0 20px 80px rgba(7, 14, 29, 0.55);
    transform: translateY(-2px);
}
.shadow-glow {
    box-shadow: 0 0 0 1px rgba(231, 196, 108, 0.25), 0 20px 80px rgba(7, 14, 29, 0.55);
}

/* Badge Chip styling */
.badge-chip {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(7, 14, 29, 0.45);
    color: var(--sand-100);
}
.badge-chip-gold {
    border-color: rgba(231, 196, 108, 0.3);
    background-color: rgba(216, 174, 74, 0.1);
    color: var(--gold-300);
}

/* Form Override Elements */
.custom-input, .custom-select, .custom-textarea {
    background-color: rgba(7, 14, 29, 0.4) !important;
    border: 1px solid var(--white-12) !important;
    color: var(--sand-50) !important;
    border-radius: 1rem !important;
    padding: 0.65rem 1rem !important;
    transition: all 0.3s ease !important;
}
.custom-input:focus, .custom-select:focus, .custom-textarea:focus {
    background-color: rgba(7, 14, 29, 0.5) !important;
    border-color: rgba(231, 196, 108, 0.4) !important;
    box-shadow: 0 0 0 4px rgba(231, 196, 108, 0.15) !important;
    outline: none !important;
}
.custom-input::placeholder, .custom-textarea::placeholder {
    color: rgba(250, 247, 241, 0.35);
}
.custom-select option {
    background-color: var(--ink-950) !important;
    color: var(--sand-50) !important;
}

/* Product Card Grid elements */
.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card .img-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background-color: rgba(10, 19, 40, 0.3);
}
.product-card img {
    aspect-ratio: 3 / 4;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover img {
    transform: scale(1.03);
}

/* Details Table Specs */
.specs-box {
    border-radius: 1.25rem;
    border: 1px solid var(--white-10);
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem;
}
.spec-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(250, 247, 241, 0.45);
}
.spec-value {
    color: rgba(250, 247, 241, 0.85);
    font-size: 0.8rem;
}

/* Hero collection slider overrides */
.hero-slider-container {
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--white-10);
    position: relative;
}
.hero-slider-img {
    aspect-ratio: 4 / 5;
    width: 100%;
    object-fit: cover;
}
.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 14, 29, 0.92) 0%, rgba(7, 14, 29, 0.25) 50%, transparent 100%);
    pointer-events: none;
}

/* Custom size circle selectors */
.size-btn {
    border-radius: 50rem;
    border: 1px solid var(--white-10);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(250, 247, 241, 0.8);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    transition: all 0.2s ease;
}
.size-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}
.size-btn.active {
    background: var(--gold-500);
    color: var(--ink-950);
    border-color: var(--gold-500);
    font-weight: 700;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--ink-950);
}
::-webkit-scrollbar-thumb {
    background: var(--white-12);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(231, 196, 108, 0.25);
}

/* Custom notifications */
.custom-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1090;
    background: var(--ink-900);
    border: 1px solid var(--gold-400);
    color: var(--sand-50);
    border-radius: 1rem;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
    animation: fadeInUp 0.3s forwards;
}

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