/**
 * VAEL Perfumes - Main Stylesheet
 * Luxury Theme: Matte Black, Gold, Frosted White
 * Molecular/Alchemy Aesthetic
 */

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
    /* Primary Colors */
    --vael-black: #0a0a0a;
    --vael-dark: #1a1a1a;
    --vael-darker: #121212;
    --vael-gold: #d4af37;
    --vael-gold-light: #e8c252;
    --vael-gold-dark: #b8962e;
    --vael-white: #ffffff;
    --vael-frost: rgba(255, 255, 255, 0.9);
    --vael-frost-light: rgba(255, 255, 255, 0.1);
    
    /* Accent Colors */
    --vael-gray: #888888;
    --vael-gray-light: #cccccc;
    --vael-gray-dark: #333333;
    
    /* Typography */
    /* --font-heading: 'Cormorant Garamond', serif; */
    --font-heading: 'bank gothic', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 5px 20px rgba(212, 175, 55, 0.3);
}

/* =====================================================
   BASE STYLES
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--vael-gray-light);
    background-color: var(--vael-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--vael-white);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: 0.1em; }
h2 { font-size: 2.5rem; letter-spacing: 0.08em; }
h3 { font-size: 2rem; letter-spacing: 0.05em; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--vael-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--vael-gold-light);
}

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

::selection {
    background: var(--vael-gold);
    color: var(--vael-black);
}

/* =====================================================
   TOP BAR
   ===================================================== */
.top-bar {
    background: var(--vael-darker);
    padding: 0.5rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vael-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar i {
    color: var(--vael-gold);
    margin-right: 0.5rem;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    background: var(--vael-dark) !important;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--vael-gold) !important;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vael-gray) !important;
    margin-top: 0.25rem;
}

.navbar-nav .nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--vael-white) !important;
    padding: 0.5rem 1.25rem !important;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--vael-gold);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--vael-gold) !important;
}

/* Dropdown */
.dropdown-menu {
    background: var(--vael-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0;
    padding: 0.5rem 0;
    margin-top: 0.5rem !important;
}

.dropdown-item {
    color: var(--vael-white);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 0.5rem 1.5rem;
    transition: var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(212, 175, 55, 0.1);
    color: var(--vael-gold);
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Nav Icons */
.nav-icons {
    display: flex;
    gap: 0.5rem;
}

.nav-icons .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0.75rem !important;
}

.nav-icons .nav-link::after {
    display: none;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--vael-gold);
    color: var(--vael-black);
    font-size: 0.65rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border-radius: 0;
    border: none;
    transition: var(--transition-normal);
}

.btn-gold {
    background: var(--vael-gold);
    color: var(--vael-black);
}

.btn-gold:hover {
    background: var(--vael-gold-light);
    color: var(--vael-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

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

.btn-outline-gold:hover {
    background: var(--vael-gold);
    color: var(--vael-black);
}

.btn-dark {
    background: var(--vael-dark);
    color: var(--vael-white);
    border: 1px solid var(--vael-gray-dark);
}

.btn-dark:hover {
    background: var(--vael-gray-dark);
    color: var(--vael-white);
}

.btn-white {
    background: var(--vael-white);
    color: var(--vael-black);
}

.btn-white:hover {
    background: var(--vael-frost);
    color: var(--vael-black);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--vael-black) 0%, var(--vael-dark) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 1rem 0;
}

/* Dark overlay when hero has a background image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: url('../images/hero-pattern.png');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0.75rem 1rem;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--vael-gold);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Bebas Neue', 'bank gothic', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--vael-white);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
}

.hero-title span {
    color: var(--vael-gold);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--vael-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Molecular Animation Background */
.molecular-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.1;
}

.molecule {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--vael-gold);
    border-radius: 50%;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section {
    padding: 3rem 0;
}

.section-dark {
    background: var(--vael-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--vael-gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--vael-white);
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 1px;
    background: var(--vael-gold);
    margin: 1rem auto;
}

/* =====================================================
   PRODUCT CARDS
   ===================================================== */
.product-card {
    background: var(--vael-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--vael-darker);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--vael-gold);
    color: var(--vael-black);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transition: var(--transition-normal);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-actions .btn {
    flex: 1;
    padding: 0.75rem;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-category {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vael-gold);
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--vael-white);
    margin-bottom: 0.5rem;
}

.product-name a {
    color: inherit;
}

.product-name a:hover {
    color: var(--vael-gold);
}

.product-inspiration {
    font-size: 0.8rem;
    color: var(--vael-gray);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--vael-gold);
}

.product-price .old-price {
    font-size: 0.9rem;
    color: var(--vael-gray);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */
.product-detail {
    padding: 4rem 0;
}

.product-gallery {
    position: relative;
}

.main-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--vael-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Gallery Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.gallery-thumb {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    background: var(--vael-dark);
}

.gallery-thumb:hover {
    opacity: 0.9;
}

.gallery-thumb.active {
    border-color: var(--vael-gold);
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    padding-left: 2rem;
}

.product-detail-category {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--vael-gold);
    margin-bottom: 0.5rem;
}

.product-detail-name {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.product-detail-inspiration {
    font-size: 1rem;
    color: var(--vael-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--vael-gold);
    margin-bottom: 1.5rem;
}

.product-detail-description {
    color: var(--vael-gray-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Fragrance Notes */
.fragrance-notes {
    background: var(--vael-darker);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.fragrance-notes-title {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vael-gold);
    margin-bottom: 1.5rem;
}

.note-category {
    margin-bottom: 1.5rem;
}

.note-category:last-child {
    margin-bottom: 0;
}

.note-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--vael-gray);
    margin-bottom: 0.5rem;
}

.note-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.note-item {
    background: rgba(212, 175, 55, 0.1);
    color: var(--vael-gold);
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Variant Selector */
.variant-selector {
    margin-bottom: 1.5rem;
}

.variant-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vael-gray-light);
    margin-bottom: 0.75rem;
}

.variant-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.variant-option {
    position: relative;
}

.variant-option input {
    position: absolute;
    opacity: 0;
}

.variant-option label {
    display: block;
    padding: 0.75rem 1.5rem;
    background: var(--vael-darker);
    border: 1px solid var(--vael-gray-dark);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.variant-option label:hover {
    border-color: var(--vael-gold);
}

.variant-option input:checked + label {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--vael-gold);
    color: var(--vael-gold);
}

.variant-size {
    font-weight: 600;
    display: block;
}

.variant-price {
    font-size: 0.85rem;
    color: var(--vael-gray);
    margin-top: 0.25rem;
}

.variant-option input:checked + label .variant-price {
    color: var(--vael-gold);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quantity-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vael-gray-light);
}

.quantity-input {
    display: flex;
    border: 1px solid var(--vael-gray-dark);
}

.quantity-input button {
    background: var(--vael-darker);
    border: none;
    color: var(--vael-white);
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quantity-input button:hover {
    background: var(--vael-gold);
    color: var(--vael-black);
}

.quantity-input input {
    width: 60px;
    height: 40px;
    background: var(--vael-dark);
    border: none;
    border-left: 1px solid var(--vael-gray-dark);
    border-right: 1px solid var(--vael-gray-dark);
    color: var(--vael-white);
    text-align: center;
    font-weight: 600;
}

.quantity-input input:focus {
    outline: none;
}

/* Add to Cart */
.add-to-cart-btn {
    width: 100%;
    margin-bottom: 1rem;
}

/* =====================================================
   CART PAGE
   ===================================================== */
.cart-table {
    background: var(--vael-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Force dark background on all table elements - override Bootstrap */
.cart-table,
.cart-table thead,
.cart-table tbody,
.cart-table tr,
.cart-table th,
.cart-table td {
    background: var(--vael-dark) !important;
    color: var(--vael-gray-light);
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.cart-table th {
    background: var(--vael-darker) !important;
    color: var(--vael-gold);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-table td {
    padding: 1.5rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    background: var(--vael-darker);
    overflow: hidden;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--vael-white);
    margin-bottom: 0.25rem;
}

.cart-product-variant {
    font-size: 0.85rem;
    color: var(--vael-gray);
}

.cart-remove {
    color: var(--vael-gray);
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.cart-remove:hover {
    color: #dc3545;
}

/* Cart Summary */
.cart-summary {
    background: var(--vael-dark);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 2rem;
}

.cart-summary-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--vael-gray-light);
}

.cart-summary-row.total {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--vael-white);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-summary-row.total span:last-child {
    color: var(--vael-gold);
}

.free-shipping-badge {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* =====================================================
   CHECKOUT PAGE
   ===================================================== */
.checkout-form {
    background: var(--vael-dark);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.checkout-section-title {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* =====================================================
   FORMS
   ===================================================== */
.form-control,
.form-select {
    background: var(--vael-darker);
    border: 1px solid var(--vael-gray-dark);
    border-radius: 0;
    color: var(--vael-white);
    padding: 0.875rem 1rem;
    transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    background: var(--vael-darker);
    border-color: var(--vael-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
    color: var(--vael-white);
}

.form-control::placeholder {
    color: var(--vael-gray);
}

.form-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vael-gray-light);
    margin-bottom: 0.5rem;
}

.form-check-input {
    background-color: var(--vael-darker);
    border-color: var(--vael-gray-dark);
}

.form-check-input:checked {
    background-color: var(--vael-gold);
    border-color: var(--vael-gold);
}

.form-check-input:focus {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* =====================================================
   ALERTS
   ===================================================== */
.alert {
    border-radius: 0;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.alert-info {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: var(--vael-darker);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-top {
    padding: 2.5rem 0;
}

.footer-brand .brand-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--vael-gold);
    margin-bottom: 0.25rem;
}

.footer-brand .brand-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vael-gray);
}

.footer-description {
    color: var(--vael-gray);
    margin: 1.5rem 0;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vael-dark);
    color: var(--vael-white);
    border: 1px solid var(--vael-gray-dark);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--vael-gold);
    border-color: var(--vael-gold);
    color: var(--vael-black);
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--vael-gold);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--vael-gray);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--vael-gold);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--vael-gray);
}

.footer-contact i {
    color: var(--vael-gold);
    margin-top: 0.25rem;
}

.footer-contact a {
    color: var(--vael-gray);
}

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

.newsletter-form h6 {
    font-size: 0.85rem;
    color: var(--vael-gray-light);
    margin-bottom: 0.75rem;
}

.newsletter-form .form-control {
    font-size: 0.9rem;
}

.footer-bottom {
    background: var(--vael-black);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: var(--vael-gray);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: var(--vael-gray);
    font-size: 0.85rem;
}

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

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
    background: var(--vael-dark);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-item {
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--vael-gray);
}

.breadcrumb-item.active {
    color: var(--vael-gold);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--vael-gray-dark);
}

/* =====================================================
   EMPTY STATES
   ===================================================== */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--vael-gray-dark);
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.empty-state-text {
    color: var(--vael-gray);
    margin-bottom: 1.5rem;
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-gold { color: var(--vael-gold) !important; }
.text-gray-light { color: var(--vael-gray-light) !important; }
.text-white-soft { color: rgba(255, 255, 255, 0.8) !important; }
.bg-dark-custom { background-color: var(--vael-dark) !important; }
.bg-darker { background-color: var(--vael-darker) !important; }

/* Override Bootstrap text-muted for dark theme - make it more visible */
.text-muted,
p.text-muted,
a.text-muted,
span.text-muted,
small.text-muted { 
    color: #aaaaaa !important; 
}

a.text-muted:hover,
a.text-gray-light:hover {
    color: var(--vael-gold) !important;
}

.border-gold { border-color: var(--vael-gold) !important; }
.border-gold-subtle { border-color: rgba(212, 175, 55, 0.2) !important; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991.98px) {
    .hero {
        min-height: 45vh;
        padding: 0.75rem 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .product-detail-info {
        padding-left: 0;
        padding-top: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 40vh;
        padding: 0.5rem 0;
    }
    
    .hero-content {
        padding: 0.5rem 0.75rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
        letter-spacing: 0.1em;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .hero-cta .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .hero-slide {
        background-size: cover;
        background-position: center center;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .product-detail-name {
        font-size: 2rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .cart-table {
        font-size: 0.9rem;
    }
    
    .cart-product-image {
        width: 60px;
        height: 60px;
    }
}

/* =====================================================
   MOBILE SMALL (<=480px) — phones: 360px, 390px, 430px
   ===================================================== */
@media (max-width: 480px) {

    /* ----- A) HERO: reduced vertical padding ----- */
    .hero {
        min-height: 32vh;   /* ~20% reduction vs 40vh at 768px */
        padding: 0 0;
    }

    .hero-content {
        padding: 0.25rem 0.5rem;
    }

    /* ----- B) COLLECTIONS: 3 cards in one row ----- */
    .collections-row {
        --bs-gutter-x: 0.375rem;
        --bs-gutter-y: 0.375rem;
        gap: 0;
    }

    /* Override Bootstrap col-md-4: force 3 equal columns */
    .collections-row > .col-md-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
        width: 33.3333%;
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        padding-right: calc(var(--bs-gutter-x) * 0.5);
    }

    /* Compact collection card */
    .collections-row .category-card {
        padding: 1rem 0.5rem;
    }

    .collections-row .category-card .category-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .collections-row .category-card h3 {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
        letter-spacing: 0;
    }

    .collections-row .category-card p {
        display: none; /* hide description text on smallest screens */
    }

    .collections-row .category-link {
        font-size: 0.65rem;
        letter-spacing: 0;
    }

    /* ----- C) PRODUCTS GRID: 2 per row ----- */
    /* Override Bootstrap col-sm-6: force 2 columns regardless of breakpoint */
    .products-grid > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }

    /* Keep image ratio stable and info compact */
    .products-grid .product-image {
        aspect-ratio: 3 / 4;
    }

    .products-grid .product-info {
        padding: 0.75rem 0.5rem;
    }

    .products-grid .product-name {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .products-grid .product-category {
        font-size: 0.6rem;
    }

    .products-grid .product-price {
        font-size: 0.85rem;
    }

    .products-grid .product-actions .btn {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    /* ----- D) Newsletter feedback states ----- */
    #subscribe-msg {
        margin-top: 0.75rem;
        font-size: 0.9rem;
        min-height: 1.5em;
    }
}

/* ----- Newsletter feedback (all screen sizes) ----- */
#subscribe-msg {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    min-height: 1.5em;
    transition: opacity 0.3s ease;
}

#subscribe-msg.msg-success { color: #4caf50; }
#subscribe-msg.msg-error   { color: #e57373; }
#subscribe-msg.msg-info    { color: var(--vael-gold); }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(212, 175, 55, 0.1); }
}

@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

/* Premium Page Load Animations */
.hero-content {
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-title {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-description {
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease 0.9s both;
}

/* Section Reveal on Scroll */
.section-header {
    animation: fadeInUp 0.8s ease both;
}

/* Product Card Animations */
.product-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-card:hover {
    transform: translateY(-8px);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Button Premium Effects */
.btn-gold {
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-gold:hover::before {
    left: 100%;
}

/* Gold Shimmer Text Effect for Headings */
.hero-title span,
.text-gold-shimmer {
    background: linear-gradient(90deg, var(--vael-gold-dark), var(--vael-gold-light), var(--vael-gold-dark));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Navbar Link Elegant Underline */
.navbar-nav .nav-link::after {
    transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Input Focus Glow */
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
}

/* Card Hover Glow */
.product-card:hover,
.cart-summary:hover,
.account-card:hover,
.admin-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.05);
}

/* Image Zoom Smooth */
.product-image img,
.main-image img {
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Badge Subtle Pulse */
.product-badge {
    animation: goldPulse 2s infinite;
}

/* Footer Social Icons */
.social-links a {
    transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Navigation Scroll Smooth */
.navbar {
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Cart Count Badge Pop */
.cart-count {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-icon:hover .cart-count {
    transform: scale(1.2);
}

/* Fragrance Notes Stagger */
.note-item {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

.note-item:nth-child(1) { animation-delay: 0.1s; }
.note-item:nth-child(2) { animation-delay: 0.15s; }
.note-item:nth-child(3) { animation-delay: 0.2s; }
.note-item:nth-child(4) { animation-delay: 0.25s; }
.note-item:nth-child(5) { animation-delay: 0.3s; }

/* Variant Options Hover */
.variant-option label {
    transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.variant-option label:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Table Row Hover */
.admin-table tr,
.table-hover tbody tr {
    transition: background 0.3s ease;
}

/* Page Header Subtle Animation */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vael-gold), transparent);
    animation: shimmer 4s linear infinite;
}

/* Account Avatar Glow */
.account-avatar {
    transition: all 0.3s ease;
}

.account-avatar:hover {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* Stat Cards Hover */
.stat-card,
.account-stat-card {
    transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.stat-card:hover,
.account-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Smooth Link Transitions */
a, button, .btn {
    transition: all 0.3s ease;
}

/* Order Status Badge */
.badge {
    transition: transform 0.2s ease;
}

.badge:hover {
    transform: scale(1.05);
}

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================
   ADMIN STYLES
   ===================================================== */
.admin-sidebar {
    background: var(--vael-darker);
    min-height: 100vh;
    padding: 2rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-logo {
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.admin-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--vael-gray-light);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--vael-gold);
    border-left-color: var(--vael-gold);
}

.admin-nav li a i {
    font-size: 1.1rem;
}

.admin-content {
    padding: 2rem;
    background: var(--vael-black);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-title {
    font-size: 1.5rem;
    margin: 0;
}

.admin-card {
    background: var(--vael-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-card-title {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vael-gold);
    margin-bottom: 1rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--vael-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--vael-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Admin Tables */
.admin-table {
    width: 100%;
    color: var(--vael-gray-light);
}

.admin-table th {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vael-gold);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--vael-darker);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Badges */
.badge {
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.75rem;
}

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
.announcement-bar {
    background: var(--vael-darker);
    padding: 0.5rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vael-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    height: 2rem;
    text-align: center;
}

.announcement-bar i {
    color: var(--vael-gold);
    margin-right: 0.5rem;
}

.announcement-slider {
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 280ms ease;
    pointer-events: none;
    white-space: nowrap;
}

.announcement-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* =====================================================
   MICROCOPY
   ===================================================== */
.microcopy {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    opacity: 0.55;
    margin-bottom: 1.25rem;
}

/* =====================================================
   TESTIMONIAL ENHANCEMENTS
   ===================================================== */
.testimonial-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(212, 175, 55, 0.25);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--vael-gray);
    vertical-align: middle;
    margin-left: 0.35rem;
}

.verified-badge svg {
    flex-shrink: 0;
    opacity: 0.9;
}

/* =====================================================
   CSS POLISH OVERRIDES
   ===================================================== */
body {
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.04em;
}

.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    transition: all 180ms ease;
    box-shadow: none;
}

.btn:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-gold {
    border-radius: 12px;
}

.btn-outline-gold {
    border-radius: 12px;
}

.btn-lg {
    padding: 0.9rem 2.25rem;
    border-radius: 14px;
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
}

.product-card,
.testimonial-card,
.feature-card,
.category-card,
.cart-summary,
.checkout-form,
.admin-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
