/* =====================================================
   PREMIUM CIGAR DEPOT - EASY CUSTOMIZATION FILE
   =====================================================

   HOW TO USE:
   Edit the values below to customize your website's appearance.
   This file loads AFTER the main styles, so any changes here
   will override the defaults.

   ===================================================== */

/* =====================================================
   COLORS - Change these to update the entire site
   ===================================================== */
:root {
    /* Primary Gold - buttons, accents, highlights */
    --color-gold: #C9A962;
    --color-gold-light: #E5D4A1;
    --color-gold-dark: #8B7355;

    /* Burgundy - sale badges, alerts */
    --color-burgundy: #722F37;
    --color-burgundy-dark: #4A1F24;

    /* Background Colors */
    --color-cream: #F5F0E6;          /* Main page background */
    --color-cream-dark: #E8E0D0;     /* Borders, dividers */

    /* Dark Colors - header, footer, overlays */
    --color-charcoal: #1A1A1A;
    --color-charcoal-light: #2D2D2D;

    /* Text Colors */
    --text-primary: #1A1A1A;         /* Main body text */
    --text-secondary: #5C5C5C;       /* Subtle text */
    --text-light: #F5F0E6;           /* Text on dark backgrounds */
    --text-muted: #8B8B8B;           /* Very subtle text */
}

/* =====================================================
   FONTS - Change font families here
   ===================================================== */
:root {
    /* Headings - elegant serif */
    --font-display: 'Playfair Display', Georgia, serif;

    /* Body text - readable serif */
    --font-body: 'Cormorant Garamond', Georgia, serif;

    /* Logo & special headings - uppercase style */
    --font-accent: 'Cinzel', serif;

    /* Buttons, labels, small text - clean sans */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =====================================================
   LOGO - Customize your logo text
   ===================================================== */
.logo-text {
    font-size: 1.75rem;        /* Logo size */
    letter-spacing: 0.15em;    /* Space between letters */
    color: var(--color-gold);
}

.logo-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

/* =====================================================
   HEADER - Adjust header appearance
   ===================================================== */

/* Top announcement bar */
.header-top {
    background: var(--color-charcoal);
    padding: 8px 0;
    font-size: 0.875rem;
}

/* Main header */
.header-main {
    background: rgba(26, 26, 26, 0.98);
    padding: 16px 0;
}

/* Navigation links */
.nav-links {
    gap: var(--space-xl);  /* More spacing between menu items */
}

.nav-link {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--text-light);
    padding: 0.5rem 0.75rem;  /* Add padding around links */
}

.nav-link:hover {
    color: var(--color-gold);
}

/* =====================================================
   BUTTONS - Customize button styles
   ===================================================== */

/* Primary button (gold) */
.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
    color: var(--color-charcoal);
    border-radius: 4px;
    padding: 16px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.3);
}

/* Outline button */
.btn-outline-gold {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

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

/* =====================================================
   PRODUCT CARDS - Customize product display
   ===================================================== */
.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 98, 0.1);
    border-radius: 12px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Product brand label */
.product-brand {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    text-transform: uppercase;
}

/* Product title */
.product-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #1A1A1A !important;
}

/* Product price */
.product-price {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Product images */
.product-card-image {
    position: relative;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* =====================================================
   BRAND CARDS - Customize brand display
   ===================================================== */
.brand-card {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.brand-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
}

/* =====================================================
   HERO SECTION - Main banner
   ===================================================== */
.hero {
    min-height: 100vh;
    background: var(--color-charcoal);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: var(--text-light);
}

.hero-title span {
    color: var(--color-gold);
    font-style: italic;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--color-charcoal);
    color: var(--text-light);
}

.footer-logo {
    color: var(--color-gold);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
}

/* =====================================================
   CART DRAWER (Shopify Integration)
   ===================================================== */
.cart-drawer {
    background: var(--color-charcoal);
}

.cart-drawer-header h3 {
    color: var(--color-gold);
}

/* =====================================================
   SPACING - Adjust overall spacing
   ===================================================== */
:root {
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 6rem;     /* 96px */
}

/* =====================================================
   QUICK CUSTOMIZATIONS - Uncomment to enable
   ===================================================== */

/* Make buttons more rounded */
/*
.btn, .btn-primary, .btn-outline-gold {
    border-radius: 100px;
}
*/

/* Remove hover animations */
/*
.product-card:hover,
.brand-card:hover {
    transform: none;
}
*/

/* Change to a darker theme */
/*
:root {
    --color-cream: #1A1A1A;
    --color-cream-dark: #2D2D2D;
    --text-primary: #F5F0E6;
    --text-secondary: #C0C0C0;
}
*/

/* Hide announcement bar */
/*
.header-top {
    display: none;
}
*/

/* Make product grid 3 columns on desktop */
/*
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
*/

/* =====================================================
   CART DRAWER STYLES (for Shopify integration)
   ===================================================== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: var(--color-charcoal);
    z-index: 10001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.cart-drawer-header h3 {
    font-family: var(--font-accent);
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin: 0;
}

.cart-drawer-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-drawer-close:hover {
    color: var(--color-gold);
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
}

.cart-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--color-charcoal-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 0.7rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: var(--space-xs);
}

.cart-item-variant {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.cart-item-price {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--color-gold);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-sm);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #F44336;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: rgba(244, 67, 54, 0.1);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.quantity-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-charcoal);
}

.cart-drawer-footer {
    padding: var(--space-lg);
    border-top: 1px solid rgba(201, 169, 98, 0.2);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.cart-subtotal-label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cart-subtotal-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold);
}

.cart-checkout-btn {
    width: 100%;
    padding: var(--space-md);
    background: var(--gradient-gold);
    color: var(--color-charcoal);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.cart-empty {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    color: var(--text-muted);
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    opacity: 0.3;
}

/* =====================================================
   MOBILE MENU STYLES
   ===================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 350px;
    height: 100%;
    background: var(--color-charcoal);
    z-index: 10001;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
}

.mobile-nav-link {
    display: block;
    padding: var(--space-md) 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--color-gold);
}

/* =====================================================
   NOTIFICATION/TOAST STYLES
   ===================================================== */
.notification {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-charcoal);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    z-index: 10002;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-success {
    border-color: #4A6741;
}

.notification-error {
    border-color: var(--color-burgundy);
}

/* Navigation dropdown highlight item (See All Brands, Shop All Cigars) */
.nav-dropdown-item-highlight {
    border-top: 1px solid rgba(201, 169, 98, 0.3);
    margin-top: 0.5rem;
    padding-top: 0.75rem !important;
    color: var(--color-gold) !important;
    font-weight: 600;
}

.nav-dropdown-item-highlight:hover {
    background: rgba(201, 169, 98, 0.2) !important;
}

/* =====================================================
   SEE ALL BRANDS BUTTON
   ===================================================== */
.brands-see-all {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: var(--space-2xl) 0;
}

.brands-see-all .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.brands-see-all .btn svg {
    transition: transform 0.3s ease;
}

.brands-see-all .btn:hover svg {
    transform: translateX(4px);
}

/* =====================================================
   SEE ALL CIGARS BUTTON
   ===================================================== */
.products-see-all {
    display: flex;
    justify-content: center;
    padding: var(--space-2xl) 0 0;
}

.products-see-all .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.products-see-all .btn svg {
    transition: transform 0.3s ease;
}

.products-see-all .btn:hover svg {
    transform: translateX(4px);
}

/* =====================================================
   QUICK VIEW MODAL
   ===================================================== */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.quick-view-modal.open {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}

.quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.quick-view-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--color-charcoal);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.quick-view-modal.open .quick-view-content {
    transform: translate(-50%, -50%) scale(1);
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quick-view-close:hover {
    background: var(--color-gold);
    color: var(--color-charcoal);
}

.quick-view-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

@media (max-width: 768px) {
    .quick-view-body {
        grid-template-columns: 1fr;
    }
    .quick-view-content {
        max-height: 95vh;
        overflow-y: auto;
    }
}

.quick-view-image {
    background: var(--color-charcoal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
}

.quick-view-image-placeholder {
    text-align: center;
    color: var(--color-gold);
    font-family: var(--font-display);
    font-size: 1.5rem;
    padding: 2rem;
}

.quick-view-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-light);
}

.quick-view-brand {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.quick-view-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-light);
}

.quick-view-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: 600;
}

.quick-view-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.quick-view-description p {
    margin: 0.5rem 0;
}

.quick-view-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.quick-view-spec {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.quick-view-spec strong {
    color: var(--text-light);
}

.quick-view-variants {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-view-variants label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quick-view-variant-select {
    padding: 0.75rem 1rem;
    background: var(--color-charcoal-light);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 1rem;
}

.quick-view-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-view-quantity label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-selector .quantity-btn {
    width: 40px;
    height: 40px;
    background: var(--color-charcoal-light);
    border: none;
    color: var(--text-light);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-selector .quantity-btn:hover {
    background: var(--color-gold);
    color: var(--color-charcoal);
}

.quantity-selector .quantity-input {
    width: 60px;
    height: 40px;
    background: var(--color-charcoal);
    border: none;
    border-left: 1px solid rgba(201, 169, 98, 0.3);
    border-right: 1px solid rgba(201, 169, 98, 0.3);
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
    -moz-appearance: textfield;
}

.quantity-selector .quantity-input::-webkit-outer-spin-button,
.quantity-selector .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quick-view-add-to-cart {
    margin-top: 0.5rem;
    width: 100%;
}

.quick-view-full-details {
    text-align: center;
    color: var(--color-gold);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.quick-view-full-details:hover {
    color: var(--color-gold-light);
    text-decoration: underline;
}
