:root {
    /* Stealth Gold & Obsidian Black Palette (Ultimate Premium Dark Mode) */
    --accent-gold: #D4AF37;          /* Rich champagne gold */
    --accent-sand: #DFD5C6;          /* Pale warm neutral */
    --dark-obsidian: #09090B;        /* Stealth deepest black */
    --card-bg: #121214;              /* Matte charcoal card bg */
    --card-border: rgba(212, 175, 55, 0.28); /* Visible thin gold borders */
    --white: #ffffff;
    --text-primary: #F4F4F5;         /* Soft ivory white */
    --text-secondary: #9A9A9E;       /* Mineral gray */
    --transition-luxurious: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snap: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    --glow-color: rgba(212, 175, 55, 0.15);
    --glow-gold: rgba(212, 175, 55, 0.25);
    
    /* Apple System Font Stack */
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Compact Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-heading: "SF Pro Display", -apple-system, BlinkMacSystemFont, "New York", Georgia, serif;
}

/* --- Premium Motion System --- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmerSweep {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

@keyframes gentlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

/* Scroll-triggered reveal: elements start subtly hidden/offset, then
   settle into place once they enter the viewport (toggled via JS
   IntersectionObserver adding .visible) */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible > * {
    animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-stagger.visible > *:nth-child(1) { animation-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { animation-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { animation-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { animation-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(5) { animation-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(6) { animation-delay: 0.55s; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-stagger > *, .hero-meta, .hero-title, .hero-subtitle, .hero-actions {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Reset & Base Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--dark-obsidian);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-luxurious);
}

/* Typography & Headers */
h1, h2, h3, h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
}

.section-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.text-center { text-align: center; }

/* Upper Informational Utility Bar */
.utility-bar {
    background: rgba(11, 11, 12, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--accent-gold);
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.5px;
}

.utility-bar a {
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

.utility-bar a:hover {
    color: var(--white);
}

/* Sticky Premium Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-luxurious);
}

.navbar.scrolled {
    padding: 0.7rem 5%;
    background: rgba(9, 9, 11, 0.97);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(212, 175, 55, 0.12);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.logo-box i {
    font-size: 1.1rem;
}

.logo-text {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: var(--transition-luxurious);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon-link {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-luxurious);
}

.icon-link:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.badge-container {
    position: relative;
    display: flex;
    align-items: center;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-gold);
    color: var(--dark-obsidian);
    font-size: 0.65rem;
    font-weight: 800;
    height: 16px;
    width: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--glow-color);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dynamic Multi-Page View Layout Rules */
.page-view {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page-view.active {
    display: block;
    opacity: 1;
}

/* Standalone dynamic catalog page breadcrumb styles */
.catalog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.back-to-home-btn {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-luxurious);
}

.back-to-home-btn:hover {
    color: var(--white);
    transform: translateX(-4px);
}

/* Categories Section */
.categories {
    padding: 6rem 8%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, rgba(9, 9, 11, 1) 100%), #14120E; 
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    position: relative;
}

.category-grid {
    display: flex;
    gap: 1.8rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
}

.category-grid::-webkit-scrollbar {
    height: 3px;
}

.category-grid::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
}

.category-item {
    flex: 0 0 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-luxurious);
}

/* Glass Logo Container for Classifications */
.category-img.logo-bg {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background-color: rgba(9, 9, 11, 0.65); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    background-size: 50% !important;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-luxurious);
}

.category-img.rounded-logo-bg {
    border-radius: 8px;
    background-size: 70% !important;
}

/* The black & white -> full color reveal only makes sense on devices with
   a real hover state (mouse/trackpad). On touch devices there's no hover,
   so this filter would otherwise stay permanently grayscale and look dull -
   phones/tablets get the full-color brand logos by default instead. */
@media (hover: hover) and (pointer: fine) {
    .category-img.logo-bg {
        filter: grayscale(100%) brightness(1.3) contrast(1.1);
    }

    .category-item:hover .category-img.logo-bg {
        transform: translateY(-6px);
        background-color: rgba(212, 175, 55, 0.05);
        border-color: var(--accent-gold);
        filter: grayscale(0%) brightness(1.1) contrast(1);
        box-shadow: 0 10px 25px var(--glow-color);
    }
}

/* Touch devices: keep the lift/glow tap feedback, just skip the grayscale swap */
@media not all and (hover: hover) {
    .category-item:active .category-img.logo-bg {
        transform: translateY(-4px) scale(0.98);
        border-color: var(--accent-gold);
        box-shadow: 0 10px 25px var(--glow-color);
    }
}

.category-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    transition: var(--transition-luxurious);
}

.category-item:hover h3 {
    color: var(--accent-gold);
}

.category-item p {
    color: var(--text-secondary);
    font-size: 0.78rem;
    max-width: 160px;
}

/* NEW: Trending / Popular Carousel Layout section on home */
.trending-carousel {
    padding: 6rem 8% 4rem;
}

.featured-scroll-grid {
    display: flex;
    gap: 1.8rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
}

.featured-scroll-grid::-webkit-scrollbar {
    height: 3px;
}

.featured-scroll-grid::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.15);
}

.featured-scroll-grid .product-card {
    flex: 0 0 320px; /* Locked carousel sizing */
}

/* Live Full-Screen Blurred Search Modal */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 4000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.close-search {
    position: absolute;
    top: 2rem;
    right: 5%;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-luxurious);
}

.close-search:hover {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.search-container {
    width: 90%;
    max-width: 800px;
    text-align: left;
}

#search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(212, 175, 55, 0.15);
    color: var(--white);
    font-size: 1.8rem;
    padding: 1rem 0;
    outline: none;
    font-family: var(--font-sans);
    font-weight: 300;
    transition: var(--transition-luxurious);
    margin-bottom: 2.5rem;
}

#search-input:focus {
    border-bottom-color: var(--accent-gold);
}

.search-results-box {
    max-height: 50vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 10px;
}

.search-prompt {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 3rem 0;
}

/* Individual Search Result Row card style */
.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px 1.5rem;
    border-radius: 4px;
    transition: var(--transition-luxurious);
}

.search-result-item:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.02);
}

.search-result-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.search-result-thumb {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.search-result-details h4 {
    font-size: 1rem;
    color: var(--white);
}

.search-result-details span {
    font-size: 0.72rem;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.search-result-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-result-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
}

.search-result-price span {
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Date Picker Selector Bar inside Cart Drawer */
.cart-drawer-dates {
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.drawer-date-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-date-field label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

.drawer-date-field input {
    background: #080809;
    border: 1px solid var(--card-border);
    color: var(--white);
    padding: 0.7rem 0.9rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-luxurious);
}

.drawer-date-field input:focus {
    border-color: var(--accent-gold);
}

/* Mobile Hamburger Menu Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu Drawer Layout */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--dark-obsidian);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 2101;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.active {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-menu {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.mobile-nav-links a.active, .mobile-nav-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.mobile-menu-cta {
    margin-top: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Side Cart Slide-Out Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: var(--card-bg);
    border-left: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
    right: 0;
}

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

.cart-drawer-header h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.close-drawer {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-luxurious);
}

.close-drawer:hover {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.empty-cart-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-secondary);
}

.empty-cart-message i {
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.15);
    margin-bottom: 1rem;
}

.empty-cart-message p {
    font-weight: 500;
    color: var(--text-primary);
}

.empty-cart-message p.sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Individual Drawer Card */
.drawer-item {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.01);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.drawer-item-img {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
}

.drawer-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drawer-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.drawer-item-price {
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.remove-drawer-item {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    align-self: center;
    padding: 5px;
    transition: var(--transition-luxurious);
}

.remove-drawer-item:hover {
    color: var(--accent-gold);
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(11, 11, 12, 0.5);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.total-price {
    color: var(--accent-gold);
}

.tax-info {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.checkout-btn {
    width: 100%;
    padding: 1.1rem;
    background: var(--accent-gold);
    color: var(--dark-obsidian);
    border: none;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: var(--transition-luxurious);
}

.checkout-btn:hover {
    background: var(--accent-sand);
    box-shadow: 0 4px 15px var(--glow-gold);
}

.checkout-btn:active {
    transform: scale(0.97);
}

/* Cinematic Hero Section */
.hero {
    height: 85vh;
    min-height: 550px;
    background: linear-gradient(to right, rgba(11, 11, 12, 0.95), rgba(11, 11, 12, 0.55)), 
                url('assets/Logo.png') center/32% no-repeat, 
                var(--dark-obsidian);
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 8%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.03);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, var(--dark-obsidian), transparent);
}

.hero-container {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero-meta {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 1.2rem;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 4rem;
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
}

.btn {
    padding: 1rem 2.2rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: var(--transition-luxurious);
    border-radius: 0;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--dark-obsidian);
    box-shadow: 0 4px 15px var(--glow-gold);
}

.btn-primary:hover {
    background: var(--white);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn:active {
    transform: scale(0.96);
    transition: var(--transition-snap);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.03);
}

/* Hero Stats Bar */
.hero-stats {
    display: flex;
    gap: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Premium Dynamic Catalog */
.new-arrivals {
    padding: 5rem 8%;
    background: rgba(255, 255, 255, 0.005);
}

/* Dynamic Filter Menu Styles */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-menu {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-luxurious);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--dark-obsidian);
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.2rem;
    transition: var(--transition-luxurious);
}

.catalog-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
    animation: gentlePulse 1.6s ease-in-out infinite;
}

/* Dynamic card filters transitions */
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.95);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 35px var(--glow-gold);
}

.product-card.card-enter {
    animation: heroFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .product-card.card-enter { animation: none; }
}

/* Card Badges */
.product-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: var(--white);
    color: var(--dark-obsidian);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 8px;
    z-index: 10;
}

.product-badge.gold {
    background: var(--accent-gold);
    color: var(--dark-obsidian);
}

.product-img-container {
    height: 240px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.2);
    transition: var(--transition-luxurious);
}

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

.product-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.category-tag {
    font-size: 0.7rem;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-info h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.specs-list {
    list-style: none;
    margin-bottom: 1.8rem;
}

.specs-list li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.specs-list li i {
    font-size: 0.35rem;
    color: var(--accent-gold);
}

.product-action-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
}

.price-display {
    display: flex;
    flex-direction: column;
}

.currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.duration {
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.add-to-cart-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 0.8rem 1.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-luxurious);
}

.add-to-cart-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--dark-obsidian);
}

.add-to-cart-btn:active:not([disabled]) {
    transform: scale(0.94);
}

/* Minimalist Popular Brands Section */
.popular-brands {
    padding: 6rem 8% 4rem;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.brand-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-luxurious);
    overflow: hidden;
    padding: 10px;
}

.brand-logo {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.3) contrast(1.1);
    opacity: 0.5;
    transition: var(--transition-luxurious);
}

.rounded-logo {
    border-radius: 4px;
}

.brand-item:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.02);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--glow-gold);
}

.brand-item:hover .brand-logo {
    filter: grayscale(0%) brightness(1.1) contrast(1);
    opacity: 1;
    transform: scale(1.05);
}

/* "Our Standards" Trust Section */
.about-trust {
    padding: 6rem 8%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.trust-column p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 480px;
}

.trust-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.trust-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 2rem 1.8rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
    transition: var(--transition-luxurious);
}

.trust-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 35px var(--glow-gold);
}

.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--accent-gold);
    font-size: 1.15rem;
    margin-bottom: 1.4rem;
}

.trust-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.trust-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Interactive Map & Physical Location Layout */
.physical-location {
    padding: 6rem 8%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
}

.location-details p.location-address {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.operation-hours {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    margin-bottom: 2.5rem;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hour-row span:last-child {
    color: var(--accent-gold);
    font-weight: 600;
}

.map-placeholder {
    height: 400px;
    border: 1px solid var(--card-border);
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    cursor: pointer;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) contrast(1.2); /* Premium Dark Map Integration */
    opacity: 0.85;
    pointer-events: none;
}

/* Secure Admin Dashboard Modal Styles */
.admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.admin-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.admin-login-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
}

.close-admin-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
}

.admin-login-box h3 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.admin-login-box p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.admin-login-box input {
    width: 100%;
    background: #080809;
    border: 1px solid var(--card-border);
    color: var(--white);
    padding: 1rem;
    margin-bottom: 1.5rem;
    outline: none;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.admin-action-btn {
    width: 100%;
    background: var(--accent-gold);
    color: var(--dark-obsidian);
    border: none;
    padding: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-luxurious);
}

.admin-action-btn.secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
}

.admin-action-btn:hover {
    background: var(--white);
}

.admin-action-btn.secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.error-msg {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 1rem;
    display: none;
}

/* Fullscreen Admin Panel Dashboard Layout */
.admin-dashboard-panel {
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: none;
    flex-direction: column;
    padding: 2.5rem;
}

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

.dashboard-header h2 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.8rem;
    font-weight: 300;
}

.dashboard-header .header-actions {
    width: 180px;
}

.dashboard-tabs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dash-tab {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    transition: var(--transition-luxurious);
}

.dash-tab.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.dashboard-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.dashboard-content.hidden {
    display: none;
}

/* Table & Dynamic Form Styles */
.admin-form-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    padding: 1.8rem;
    margin-bottom: 2.5rem;
    border-radius: 4px;
}

.admin-form-container h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-group input, .form-group select {
    background: #080809;
    border: 1px solid var(--card-border);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-family: var(--font-sans);
    outline: none;
    font-size: 0.85rem;
    transition: var(--transition-luxurious);
    border-radius: 2px;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent-gold);
}

/* Clean Custom File Input */
.custom-file-input {
    position: relative;
    background: #080809;
    border: 1px solid var(--card-border);
    border-style: dashed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    cursor: pointer;
    transition: var(--transition-luxurious);
}

.custom-file-input:hover {
    border-color: var(--accent-gold);
}

.custom-file-input input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.custom-file-input .file-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.admin-preview-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Table Design */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
    vertical-align: middle;
}

.admin-table th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-input-price {
    background: #080809;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    padding: 0.5rem;
    font-family: var(--font-sans);
    outline: none;
}

.admin-select-status {
    background: #080809;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    padding: 0.5rem;
    outline: none;
}

.admin-row-save {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-luxurious);
}

.admin-row-save:hover {
    background: var(--accent-gold);
    color: var(--dark-obsidian);
}

.admin-row-delete {
    background: transparent;
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-luxurious);
}

.admin-row-delete:hover {
    background: #dc3545;
    color: var(--white);
    border-color: #dc3545;
}

/* Mobile & Tablet Responsiveness Overrides */
@media (max-width: 1024px) {
    .navbar { padding: 1.2rem 5%; }
    .nav-links { gap: 1.5rem; }
    .hero-title { font-size: 3rem; }
    .trust-container { grid-template-columns: 1fr; gap: 3rem; }
    .location-container { grid-template-columns: 1fr; gap: 3rem; }
    .trust-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-newsletter { grid-column: span 2; }
}

@media (max-width: 768px) {
    .utility-bar {
        flex-direction: column;
        gap: 4px;
        padding: 8px 1.5rem;
        text-align: center;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .logo-box {
        font-size: 1.1rem;
    }
    
    .logo-text {
        letter-spacing: 1.5px;
    }

    .hero {
        height: auto;
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.3rem;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .categories, .new-arrivals, .popular-brands, .about-trust, .physical-location, .trending-carousel {
        padding: 3rem 1.2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }

    /* 2-Column Product Grid in separate catalog view page */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .product-card {
        border-radius: 4px;
    }

    .product-img-container {
        height: 130px;
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-info h4 {
        font-size: 0.88rem;
        line-height: 1.35;
        margin-bottom: 0.4rem;
        min-height: 2.4rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Hides specifications list on mobile screens */
    .specs-list {
        display: none; 
    }

    /* Stacks price details and cart button vertically inside product cards */
    .product-action-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 0.8rem;
        margin-top: auto;
    }

    .price-display {
        text-align: center;
        align-items: center;
    }

    .currency {
        font-size: 1rem;
    }

    .duration {
        font-size: 0.62rem;
    }

    .add-to-cart-btn {
        width: 100%;
        justify-content: center;
        padding: 0.6rem;
        font-size: 0.68rem;
    }

    .featured-scroll-grid {
        gap: 1rem;
    }

    .featured-scroll-grid .product-card {
        flex: 0 0 72%;
        max-width: 260px;
    }

    .featured-scroll-grid .product-img-container {
        height: 160px;
    }

    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .trust-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .map-placeholder {
        height: 280px;
    }

    .admin-dashboard-panel {
        padding: 1rem;
        width: 95%;
        height: 90vh;
    }

    .admin-table th, .admin-table td {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .admin-input-price {
        width: 70px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-newsletter {
        grid-column: span 1;
    }
    
    .cart-drawer {
        width: 100%;
        right: -100%;
    }

    .cart-drawer-dates {
        padding: 1rem;
        gap: 0.8rem;
    }
}

/* Extra-small phones: tighten further so nothing feels oversized */
@media (max-width: 400px) {
    .hero {
        padding: 4rem 1.2rem 2.5rem;
    }

    .hero-meta {
        font-size: 0.68rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.6rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .product-img-container {
        height: 105px;
    }

    .product-info {
        padding: 0.65rem;
    }

    .product-info h4 {
        font-size: 0.8rem;
        min-height: 2.15rem;
    }

    .currency {
        font-size: 0.9rem;
    }

    .category-img.logo-bg {
        width: 100px;
        height: 100px;
    }

    .featured-scroll-grid .product-card {
        flex: 0 0 68%;
    }

    .cart-drawer-header h3 {
        font-size: 0.8rem;
    }

    .admin-login-box {
        padding: 2rem 1.5rem;
    }
}