/* E-commerce Application Styles */

/* Brand: Lovely Naturals - Enhanced Color Scheme for Better Hierarchy */
:root {
    /* Primary Brand Colors - Enhanced for better hierarchy */
    --brand-primary: #1D5E2F;         /* darker, more saturated green for primary actions */
    --brand-primary-2: #2F7E42;       /* hover state */
    --brand-primary-light: #E8F4EE;   /* light green background for highlights */
    
    /* Accent Colors - Better contrast */
    --brand-accent: #8B4513;          /* darker saddle brown */
    --brand-accent-2: #A0522D;        /* hover state */
    --brand-accent-light: #FFF5EB;    /* warm cream background */
    
    /* Neutral Colors - Improved hierarchy */
    --text-primary: #1A1A1A;          /* darker for better readability */
    --text-secondary: #4A4A4A;        /* medium gray for secondary text */
    --text-muted: #757575;            /* lighter gray for muted text */
    --text-light: #ABABAB;            /* very light gray */
    
    /* Surface & Background */
    --surface-primary: #FFFFFF;       /* primary white surface */
    --surface-secondary: #F9F7F4;     /* warm off-white for sections */
    --bg-main: #FAF8F5;               /* main background - warmer tone */
    
    /* Status & Semantic Colors */
    --color-success: #2D8C4D;         /* green for positive actions */
    --color-warning: #D97706;         /* amber for warnings */
    --color-error: #DC2626;           /* red for errors */
    --color-info: #0891B2;            /* cyan for info */
    
    /* Borders & Dividers */
    --border-color: #E5E5E5;          /* subtle borders */
    --border-subtle: rgba(0,0,0,0.05);\n    --divider: rgba(0,0,0,0.08);\n    \n    /* Shadows - Better depth */\n    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);\n    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);\n    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);\n    --shadow-xl: 0 20px 48px rgba(0,0,0,0.14);\n    \n    /* Font Family - Helvetica Neue (matching Vilvah Store) */\n    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;\n    --font-fallback: 'Helvetica', 'Arial', sans-serif;\n}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-main);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--surface-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    gap: 2rem;
}

.menu-toggle {
    display: none !important;
    background: var(--surface-primary);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-size: 1.1rem;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.nav {
    width: 100%;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
}

.nav a:hover {
    color: var(--brand-primary);
    background: var(--bg-main);
}

.nav a.active {
    color: var(--brand-primary);
    background: transparent;
    border-bottom: 2px solid var(--brand-primary);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-box {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.search-box input {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 0.85rem;
    width: 180px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px rgba(47, 107, 59, 0.1);
}

.search-box button {
    padding: 0.4rem 0.8rem;
    background: var(--surface-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.search-box button:hover {
    background: var(--bg-main);
    border-color: var(--brand-primary);
}

.header-actions a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.header-actions a:hover {
    background: var(--bg-main);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.cart-count {
    background: var(--brand-accent);
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    text-align: center;
}

/* Button Styles - Modern & Sleek */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #25583b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(47, 107, 59, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #25583b 0%, var(--brand-primary) 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 59, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(47, 107, 59, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--brand-accent) 0%, #5a3222 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(107, 63, 42, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a3222 0%, var(--brand-accent) 100%);
    box-shadow: 0 6px 20px rgba(107, 63, 42, 0.4);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(107, 63, 42, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Popular Categories */
.popular-categories {
    padding: 3rem 0;
    background: var(--bg-main);
}

.popular-categories h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.3rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.categories-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-item {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 1.4rem 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    min-width: 170px;
    max-width: 220px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.category-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.category-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--brand-primary-2) 0%, var(--brand-accent-2) 100%);
    animation: none;
}

.category-shape {
    display: none;
}

.category-icon {
    display: none;
}

/* Shape icons without emojis - just colored shapes */
.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-primary);
}

.icon-star {
    width: 40px;
    height: 40px;
    background: var(--brand-primary);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.icon-heart {
    width: 40px;
    height: 40px;
    background: var(--brand-primary);
    clip-path: path('M12,21.35l-1.45-1.32C5.4,15.36,2,12.28,2,8.5 C2,5.42,4.42,3,7.5,3c1.74,0,3.41,0.81,4.5,2.09C13.09,3.81,14.76,3,16.5,3 C19.58,3,22,5.42,22,8.5c0,3.78-3.4,6.86-8.55,11.54L12,21.35z');
}

.icon-diamond {
    width: 40px;
    height: 40px;
    background: var(--brand-primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.icon-hexagon {
    width: 40px;
    height: 40px;
    background: var(--brand-primary);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.icon-triangle {
    width: 40px;
    height: 40px;
    background: var(--brand-primary);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.category-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.4rem;
}

.category-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Products Grid */
.featured-products {
    padding: 2rem 0;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--brand-accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 100%;
}

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

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    text-align: center;
    line-height: 1.3;
}

/* Tablet Layout - 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.product-card {
    background: var(--surface-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative; /* Safe UI-only tweak: anchor ribbon badge */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.product-card-link:hover .product-card {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Simple slider inside product cards/details */
.product-slider {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-slider > img {
    position: absolute;
    inset: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-slider > img.active { 
    opacity: 1; 
    z-index: 1;
}

.product-slider .slider-prev,
.product-slider .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    line-height: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.product-slider:hover .slider-prev,
.product-slider:hover .slider-next {
    opacity: 1;
}

.product-slider .slider-prev:hover,
.product-slider .slider-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.15);
}

.product-slider .slider-prev:active,
.product-slider .slider-next:active {
    transform: translateY(-50%) scale(1);
}

.product-slider .slider-prev { 
    left: 10px; 
}

.product-slider .slider-next { 
    right: 10px; 
}

/* Slider dots/indicators - replaced with thumbnails */
.slider-dots {
    display: none; /* Legacy - now using thumbnails */
}

/* Slider thumbnails */
.slider-thumbnails {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: all;
}

.slider-thumbnail {
    width: 21px;
    height: 21px;
    object-fit: cover;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    pointer-events: all;
}

/* Safe UI-only tweak: ensure consistent thumbnail sizing in cards */
.product-card .slider-thumbnail {
    width: 21px;
    height: 21px;
}

/* Safe UI-only tweak: smaller thumbnails on homepage cards */
.featured-products .slider-thumbnail {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.featured-products .slider-thumbnails {
    gap: 3px;
    padding: 2px 4px;
}

.slider-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.slider-thumbnail.active {
    border-color: var(--brand-primary);
    opacity: 1;
    box-shadow: 0 2px 6px rgba(47, 107, 59, 0.4);
}

/* Mobile optimization for thumbnails */
@media (max-width: 768px) {
    .slider-thumbnail {
        width: 17px;
        height: 17px;
        border-radius: 2px;
    }
    
    .slider-thumbnails {
        gap: 4px;
        padding: 3px 6px;
        bottom: 6px;
    }
    
    .product-slider .slider-prev,
    .product-slider .slider-next {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    
    .product-slider .slider-prev {
        left: 6px;
    }
    
    .product-slider .slider-next {
        right: 6px;
    }

    /* Safe UI-only tweak: smaller homepage thumbnails on mobile */
    .featured-products .slider-thumbnail {
        width: 13px;
        height: 13px;
    }
    
    .featured-products .slider-thumbnails {
        gap: 2px;
        padding: 2px 3px;
    }

    /* Fix mobile discount ribbon positioning */
    .product-card .discount-badge {
        top: 6px;
        right: -32px;
        padding: 6px 36px;
        font-size: 0.65rem;
    }
}

/* Extra small devices - compact thumbnails */
@media (max-width: 480px) {
    .slider-thumbnail {
        width: 14px;
        height: 14px;
    }
    
    .slider-thumbnails {
        gap: 3px;
        padding: 2px 4px;
    }
    
    .product-slider .slider-prev,
    .product-slider .slider-next {
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }

    /* Safe UI-only tweak: extra compact homepage thumbnails */
    .featured-products .slider-thumbnail {
        width: 12px;
        height: 12px;
    }
    
    .featured-products .slider-thumbnails {
        gap: 2px;
        padding: 2px 3px;
    }

    .product-detail-thumbnails .slider-thumbnail {
        width: 20px;
        height: 20px;
    }
}

.slider-dot {
    display: none; /* Legacy - replaced by thumbnails */
}

.slider-dot:hover {
    display: none;
}

.slider-dot.active {
    display: none;
}

.product-info {
    padding: 0.8rem;
}

.product-info h3 {
    margin-bottom: 0.4rem;
    color: #333;
    font-size: 1rem;
    line-height: 1.3;
}

.product-price {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.discounted-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e74c3c;
}

.original-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    font-weight: normal;
}

.regular-price {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--brand-primary);
}

.discount-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    align-self: flex-start;
    box-shadow: 0 1px 3px rgba(255, 107, 107, 0.3);
}

/* Safe UI-only tweak: modern ribbon style for discount badge on product cards */
.product-card .discount-badge {
    position: absolute;
    top: 8px;
    right: -35px;
    z-index: 10;
    padding: 7px 42px;
    border-radius: 0;
    transform: rotate(45deg);
    box-shadow: 0 3px 12px rgba(238, 90, 36, 0.4), 0 1px 4px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    overflow: visible;
}

.product-card .discount-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    border-left: 4px solid #b8341a;
    border-bottom: 4px solid transparent;
}

.product-card .discount-badge::after {
    content: '';
    position: absolute;
    right: 0;
    top: 100%;
    border-right: 4px solid #b8341a;
    border-bottom: 4px solid transparent;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Product detail sections styling */
.product-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.product-section {
    background: rgba(47, 107, 59, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--brand-primary);
}

.product-section h3 {
    color: var(--brand-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Safe UI-only tweak: modern discount animation on product cards */
.product-card .product-price {
    position: relative;
    min-height: 1.5rem;
}

.product-card .product-price .original-price {
    position: absolute;
    left: 0;
    top: 0;
    filter: blur(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: originalPriceSequence 5s ease-in-out infinite;
}

.product-card .product-price .original-price::after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    top: 50%;
    height: 2.5px;
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(231, 76, 60, 0.3);
    animation: strikeSequence 5s ease-in-out infinite;
}

.product-card .product-price .discounted-price {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: discountedPriceSequence 5s ease-in-out infinite;
}

@keyframes originalPriceSequence {
    0% { opacity: 1; filter: blur(0); transform: scale(1); }
    15% { opacity: 1; filter: blur(0); transform: scale(1); }
    20% { opacity: 1; filter: blur(0); transform: scale(1); }
    30% { opacity: 0.5; filter: blur(2px); transform: scale(0.98); }
    40% { opacity: 0; filter: blur(3px); transform: scale(0.95); }
    50% { opacity: 0; filter: blur(0); transform: scale(1); }
    100% { opacity: 0; filter: blur(0); transform: scale(1); }
}

@keyframes strikeSequence {
    0% { transform: scaleX(0); opacity: 0; }
    10% { transform: scaleX(0); opacity: 1; }
    20% { transform: scaleX(1); opacity: 1; }
    40% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(0); opacity: 0; }
    100% { transform: scaleX(0); opacity: 0; }
}

@keyframes discountedPriceSequence {
    0% { opacity: 0; transform: scale(0.95); }
    40% { opacity: 0; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    55% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
    .product-card .product-price .original-price,
    .product-card .product-price .discounted-price,
    .product-card .product-price .original-price::after {
        animation: none !important;
        filter: none !important;
        position: static !important;
        transform: none !important;
    }
    .product-card .product-price .original-price {
        opacity: 1 !important;
    }
    .product-card .product-price .discounted-price {
        opacity: 1 !important;
    }
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    background: var(--surface-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-top: 2rem;
}

.product-detail-image {
    position: relative;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: visible;
    min-height: 400px;
    max-height: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}

.product-detail-image:hover {
    overflow: visible;
    z-index: 100;
}

.product-detail-image > img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.product-slider-large > img {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

/* Full image enlargement on hover */
.product-detail-image:hover > img,
.product-slider-large:hover > img.active {
    transform: scale(1.5);
    z-index: 50;
}

/* Product detail thumbnails placed below image (outside slider) */
.product-detail-thumbnails.slider-thumbnails {
    position: static;
    transform: none;
    margin-top: 0;
    width: 100%;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* Larger slider for product detail page */
.product-slider-large {
    min-height: 400px;
    max-height: none;
    flex: 1;
    width: 100%;
}

.product-slider-large img {
    object-fit: contain;
}


.product-slider-large .slider-prev,
.product-slider-large .slider-next {
    width: 44px;
    height: 44px;
    font-size: 2rem;
    opacity: 0.8;
}

.product-slider-large:hover .slider-prev,
.product-slider-large:hover .slider-next {
    opacity: 1;
}

.product-detail-thumbnails .slider-thumbnail {
    width: 31px;
    height: 31px;
    border-radius: 4px;
}

.product-detail-thumbnails .slider-thumbnail:hover {
    transform: scale(1.08);
}

/* Legacy dots styling for product detail (now hidden) */
.product-slider-large .slider-dots {
    display: none;
}

.product-slider-large .slider-dot {
    display: none;
}

.product-slider-large .slider-dot.active {
    display: none;
}

.product-detail-info h1 {
    margin-bottom: 0.5rem;
}

.product-detail .product-price {
    font-size: 2rem;
    margin: 0.75rem 0 1rem;
}

.product-detail .product-actions {
    margin-top: 1rem;
}

/* Cart */
.cart-items {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.cart-item {
    background: var(--surface-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Tile/Card variant for cart items */
.cart-tiles {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cart-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
}

.cart-card-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-card-title {
    margin-bottom: 0.35rem;
}

.cart-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.cart-card-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.qty-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-input {
    width: 80px;
}

.cart-item img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-info h4 {
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--brand-primary);
    font-weight: 700;
}

.cart-total {
    background: var(--surface-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Checkout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.checkout-summary,
.checkout-form {
    background: var(--surface-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
}

.checkout-summary h3 { margin-bottom: 1rem; }

.checkout-summary ul {
    list-style: none;
    margin-bottom: 1rem;
}

.checkout-summary li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-subtle);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
}

.form-group { margin-bottom: 1rem; }

.form-control {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.alert-success { background: #e6f4ea; color: #1a7f37; border: 1px solid #b7e1c1; }
.alert-danger { background: #fdecea; color: #b42318; border: 1px solid #f5c2c0; }

/* Footer */
.footer {
    background: var(--brand-accent);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--brand-primary);
}

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

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Order Confirmation Styles */
.order-confirmation {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
}

.order-confirmation h3 {
    color: #28a745;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.thank-you-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.order-details-box {
    background: var(--bg-main);
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: left;
}

.order-details-box h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.order-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-info-item .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.order-info-item .value {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.confirmation-message {
    margin: 25px 0;
    padding: 20px;
    background: #e7f3ff;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.confirmation-message p {
    margin: 8px 0;
    color: #004085;
}

.confirmation-message a {
    color: #0066cc;
    font-weight: 600;
    text-decoration: underline;
}

.confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .order-confirmation {
        padding: 30px 20px;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
    }
}

/* Category Filter Styles */
.category-filter {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.category-filter h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-subtle);
    background: white;
    color: var(--text-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.category-btn:hover {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: white;
}

.category-btn.active {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: white;
    font-weight: 600;
}

/* Stock Badge Styles */
.product-stock {
    margin: 10px 0;
}

.stock-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.stock-available {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.stock-out {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Out of Stock Product Card Treatment */
.product-item.out-of-stock .product-card {
    position: relative;
    opacity: 0.7;
}

.product-item.out-of-stock .product-card .product-image,
.product-item.out-of-stock .product-card .product-info {
    filter: blur(1.5px);
    transition: filter 0.3s ease;
}

.product-item.out-of-stock:hover .product-card .product-image,
.product-item.out-of-stock:hover .product-card .product-info {
    filter: blur(0.8px);
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.out-of-stock-label {
    background: linear-gradient(135deg, rgba(107, 63, 42, 0.95), rgba(138, 85, 55, 0.95));
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(-8deg);
    animation: pulseOutOfStock 2s ease-in-out infinite;
}

@keyframes pulseOutOfStock {
    0%, 100% {
        transform: rotate(-8deg) scale(1);
        opacity: 0.95;
    }
    50% {
        transform: rotate(-8deg) scale(1.05);
        opacity: 1;
    }
}

.product-item.out-of-stock .product-actions .btn:not(:disabled) {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile adjustments for out of stock label */
@media (max-width: 768px) {
    .out-of-stock-label {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        letter-spacing: 1.5px;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination .btn {
    min-width: 40px;
    padding: 10px 15px;
    text-align: center;
}

.pagination .btn-primary {
    cursor: default;
    font-weight: bold;
}

/* Homepage Slider Styles */
.homepage-slider {
    position: relative;
    width: 100%;
    min-height: 450px;
    height: auto;
    overflow: hidden;
    background: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: 100%;
    max-height: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
    aspect-ratio: 12 / 5;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    transition: transform 0.6s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 60px 0 40px;
    z-index: 3;
}

.slide-title {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    animation: slideInUp 0.8s ease;
}

.slide-description {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.95);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    animation: slideInUp 0.8s ease 0.2s both;
}

.slide-btn {
    animation: slideInUp 0.8s ease 0.4s both;
}

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

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-control:hover {
    background: rgba(255,255,255,0.35);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-prev {
    left: 28px;
}

.slider-next {
    right: 28px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
    border-color: white;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.5);
}

.indicator:hover {
    background: rgba(255,255,255,0.9);
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.4);
}

/* Admin Site Settings Styles */
.settings-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.settings-card h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.slider-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.slider-image-card {
    background: var(--surface-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.slider-image-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.slider-image-preview {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

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

.slider-image-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.slider-image-info {
    padding: 15px;
}

.slider-image-info h5 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.slider-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.slider-image-actions {
    padding: 15px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 10px;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

/* Mobile-Specific Checkout Improvements */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.form-hint {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-hint a {
    color: var(--brand-primary);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0;
        flex-wrap: wrap;
        position: relative;
    }
    
    .logo {
        order: 1;
    }
    
    .logo img { 
        height: 32px; 
    }
    
    .search-box {
        order: 2;
        flex: 0 1 auto;
        max-width: 140px;
        margin: 0 auto;
    }
    
    .search-box input {
        width: 100px;
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    .search-box button {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .cart-link {
        order: 3;
    }
    
    .header-actions {
        order: 4;
        display: flex; 
        align-items: center; 
        gap: 0.4rem; 
        flex-wrap: nowrap;
    }
    
    .header-actions a {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .menu-toggle { 
        display: inline-block !important;
        order: 5;
        transition: transform 0.3s ease;
    }
    
    /* Hide menu toggle on scroll up */
    .menu-toggle.hide-on-scroll {
        transform: translateY(-100px);
        opacity: 0;
        pointer-events: none;
    }
    
    /* Mobile nav appears AFTER header content */
    .header .nav { 
        display: none; 
        width: 100%; 
        order: 6;
        flex-basis: 100%;
        position: static;
        background: var(--surface-primary); 
        border-top: 1px solid var(--border-subtle);
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: none;
        padding: 0.4rem 0; /* Safe UI-only tweak: reduce empty space */
        margin-top: 0; /* Safe UI-only tweak: remove gap after header */
    }
    
    .header .nav.active { 
        display: block !important; 
    }
    
    .header .nav ul { 
        flex-direction: column; 
        gap: 0.4rem; 
        width: 100%;
        padding: 0.25rem 0.5rem; /* Safe UI-only tweak: compact list */
    }
    
    .nav a {
        padding: 0.7rem 0.9rem; /* Safe UI-only tweak: better tap target */
        font-size: 0.95rem;
        line-height: 1.2;
        display: block;
        border-radius: 10px; /* Safe UI-only tweak: clearer touch surface */
        background: var(--bg-main);
        border: 1px solid var(--border-subtle);
    }

    .nav a.active {
        border-bottom: none; /* Safe UI-only tweak: avoid double underline on mobile */
        background: rgba(47, 107, 59, 0.08);
        border-color: rgba(47, 107, 59, 0.3);
    }

    body.nav-open {
        overflow: hidden;
    }

    .hero-content h2 { font-size: 2rem; }
    .products-grid { 
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    .product-actions { flex-direction: column; }
    
    /* Safe UI-only tweak: larger tap targets for product actions */
    .product-actions .btn {
        width: 100% !important;
        min-height: 44px !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
    }
    
    /* Product image much shorter on mobile */
    .product-image {
        aspect-ratio: 4 / 3;
    }
    
    /* Product title adjustments for mobile */
    .product-title {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    /* Mobile Product Pricing with Discounts */
    .product-price {
        font-size: 1rem !important;
        gap: 0.25rem !important;
    }
    
    .discounted-price {
        font-size: 1.1rem !important;
    }
    
    .original-price {
        font-size: 0.75rem !important;
    }
    
    .regular-price {
        font-size: 1rem !important;
    }
    
    .discount-badge {
        padding: 2px 5px !important;
        font-size: 0.65rem !important;
        border-radius: 3px !important;
    }
    
    .product-info {
        padding: 0.6rem !important;
    }
    
    .product-info h3 {
        font-size: 0.9rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .product-description {
        font-size: 0.8rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    /* Popular Categories Mobile */
    .popular-categories {
        padding: 1.5rem 0 !important;
    }
    
    .popular-categories h2 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .categories-container {
        gap: 1rem !important;
        padding: 0 15px !important;
    }
    
    .category-item {
        min-width: 120px !important;
        max-width: 140px !important;
        padding: 1rem !important;
    }
    
    .category-shape {
        display: none !important;
    }
    
    .category-icon {
        display: none !important;
    }
    
    .icon-circle, .icon-star, .icon-heart, 
    .icon-diamond, .icon-hexagon, .icon-triangle {
        display: none !important;
    }
    
    .category-info h3 {
        font-size: 1rem !important;
    }
    
    .category-info p {
        font-size: 0.8rem !important;
    }
    
    /* Mobile hover animations - more subtle */
    .category-item:hover {
        transform: translateY(-4px) scale(1.02) !important;
        animation: none !important;
    }
    
    .product-card:hover {
        transform: translateY(-2px) scale(1.01) !important;
    }
    
    .product-card:hover .product-image img {
        animation: none !important;
        transform: scale(1.02) !important;
    }
    
    /* Mobile navbar scroll behavior */
    .header.navbar-hidden {
        transform: translateY(-100%);
    }
    
    /* Product detail adjustments */
    .product-detail { 
        grid-template-columns: 1fr; 
        padding: 1rem; 
    }
    
    .product-detail-image {
        min-height: 300px;
        max-height: none;
    }
    
    .product-slider-large {
        min-height: 300px;
        max-height: none;
    }
    
    /* Smaller slider controls on mobile */
    .product-slider .slider-prev,
    .product-slider .slider-next {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    
    .product-slider-large .slider-prev,
    .product-slider-large .slider-next {
        width: 38px;
        height: 38px;
        font-size: 1.6rem;
    }
    
    .product-slider-large .slider-thumbnails {
        bottom: 14px;
    }
    
    .product-detail-thumbnails .slider-thumbnail {
        width: 23px;
        height: 23px;
    }
    
    .product-slider-large .slider-thumbnails {
        gap: 3px;
        padding: 3px 5px;
    }
    
    .cart-item { align-items: flex-start; }
    .checkout-grid { grid-template-columns: 1fr; }
    
    /* Mobile Cart Optimizations */
    .cart-card {
        padding: 12px !important;
    }
    
    .cart-card-image {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px !important;
    }
    
    .cart-card-title {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
    }
    
    .cart-card-meta {
        font-size: 0.85rem !important;
    }
    
    .cart-card-actions {
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }
    
    .qty-group {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    
    .qty-input {
        width: 100% !important;
        padding: 8px !important;
    }
    
    .cart-total {
        padding: 15px !important;
    }
    
    .cart-total h3 {
        font-size: 1.3rem !important;
    }
    
    /* Mobile Button Optimizations - Smaller, Cleaner */
    .btn {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }
    
    .btn-sm {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
    }
    
    .btn-primary, .btn-success {
        padding: 10px 18px !important;
    }
    
    .btn-place-order {
        width: 100% !important;
        padding: 12px !important;
        font-size: 1rem !important;
    }
    
    .cart-card-actions .btn {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
    
    /* Mobile Orders Page Optimizations */
    .order-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .order-info-card {
        padding: 15px !important;
    }
    
    .order-info-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
    
    .order-info-card p {
        font-size: 0.9rem !important;
        margin: 8px 0 !important;
    }
    
    .order-items-section {
        padding: 15px !important;
    }
    
    .order-items-section h3 {
        font-size: 1.2rem !important;
    }
    
    /* Mobile Table Improvements */
    .admin-table td, .admin-table th {
        padding: 8px !important;
        font-size: 0.85rem !important;
    }
    
    .product-thumb {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Mobile Checkout Form */
    .checkout-form {
        padding: 15px !important;
    }
    
    .checkout-summary {
        padding: 15px !important;
    }
    
    .form-control, .form-control textarea, .form-control select {
        font-size: 0.95rem !important;
        padding: 10px !important;
    }
    
    .form-group label {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    /* Mobile Category Filter */
    .category-btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }
    
    /* Mobile Pagination */
    .pagination .btn {
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
        min-width: 35px !important;
    }
    
    /* Mobile Product Actions */
    .product-actions {
        gap: 8px !important;
    }
    
    .product-actions .btn {
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
    }
    
    /* Mobile Confirmation Actions */
    .confirmation-actions .btn {
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
    }
    
    /* Mobile Index/Homepage Optimizations */
    .hero-content h2 {
        font-size: 1.8rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    .hero-content .btn {
        padding: 10px 20px !important;
        font-size: 0.95rem !important;
    }
    
    .featured-products {
        padding: 1.5rem 0 !important;
    }
    
    .featured-products h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Mobile Header Actions */
    .header-actions a {
        font-size: 0.85rem !important;
        padding: 6px 12px !important;
    }
    
    .search-box input {
        font-size: 0.9rem !important;
        padding: 6px 10px !important;
    }
    
    .search-box button {
        padding: 6px 10px !important;
        font-size: 1.1rem !important;
    }
    
    /* Mobile Footer */
    .footer-section h3, .footer-section h4 {
        font-size: 1.1rem !important;
    }
    
    .footer-section p, .footer-section li {
        font-size: 0.9rem !important;
    }
    
    /* Mobile Homepage Slider */
    .homepage-slider {
        min-height: 300px !important;
        height: auto !important;
        padding: 0 !important;
        margin-top: 0 !important;
    }
    
    .slider-container {
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        border-radius: 16px !important;
        aspect-ratio: 12 / 5 !important;
    }
    
    .slide img {
        border-radius: 10px !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15), 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    }
    
    .slide-title {
        font-size: 1.8rem !important;
    }
    
    .slide-description {
        font-size: 1rem !important;
    }
    
    .slide-content {
        padding: 30px 0 20px !important;
    }
    
    .slider-control {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.2rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .slider-prev {
        left: 10px !important;
    }
    
    .slider-next {
        right: 10px !important;
    }
    
    .slider-indicators {
        bottom: 10px !important;
        gap: 8px !important;
    }
    
    .indicator {
        width: 10px !important;
        height: 10px !important;
    }
    
    .indicator.active {
        width: 30px !important;
    }
}

/* Ensure toggle is hidden on desktop */
@media (min-width: 769px) {
    .menu-toggle { display: none !important; }
}

/* Hover Animations */
@keyframes categoryPulse {
    0% {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }
    50% {
        transform: translateY(-12px) scale(1.08);
        box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    }
    100% {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }
}

@keyframes productBounce {
    0% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }
    50% {
        transform: translateY(-12px) scale(1.04);
        box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    }
    100% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }
}

@keyframes productImageZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Enhanced product image hover effect */
.product-card:hover .product-image img {
    animation: productImageZoom 0.3s ease-in-out forwards;
}

/* Smooth transition improvements */
.category-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== PROMOTIONAL TOPBAR ==================== */

.promo-topbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.topbar-message {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.topbar-message.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.topbar-icon {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    font-size: 1.3rem;
    animation: bounce 2s infinite;
}

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

.topbar-text {
    line-height: 1.4;
}

.topbar-text strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0 3px;
}

.topbar-slider {
    position: relative;
    min-height: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Mobile Topbar Styles */
@media (max-width: 768px) {
    .promo-topbar {
        padding: 10px 0 !important;
    }
    
    .topbar-content {
        padding: 0 40px 0 10px !important; /* Space for close button */
    }
    
    .topbar-message {
        font-size: 0.85rem !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        /* IMPORTANT: Don't override display property! */
    }
    
    /* Keep the active/inactive logic working */
    .topbar-message:not(.active) {
        display: none !important;
    }
    
    .topbar-message.active {
        display: flex !important;
    }
    
    .topbar-icon {
        font-size: 1.1rem !important;
        animation: bounce 2s infinite !important; /* Ensure animation works */
    }
    
    .topbar-text {
        font-size: 0.85rem !important;
    }
    
    .topbar-text strong {
        padding: 2px 6px !important;
        font-size: 0.85rem !important;
    }
    
    .topbar-close {
        width: 24px !important;
        height: 24px !important;
        font-size: 1.3rem !important;
        right: 10px !important;
    }
    
    /* Ensure animations work on mobile */
    .promo-topbar {
        animation: slideDown 0.3s ease-out !important;
    }
    
    .topbar-message.active {
        animation: fadeIn 0.5s ease-in !important;
    }
}

/* ==================== COUPON STYLES ==================== */

/* Coupon Section */
.coupon-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}

.coupon-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

/* Coupon Form */
.coupon-form {
    margin-top: 15px;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.coupon-input-group input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    border: 2px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.coupon-input-group input[type="text"]:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.coupon-input-group .btn {
    padding: 10px 25px;
    white-space: nowrap;
}

/* Applied Coupon Box */
.applied-coupon-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

.coupon-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.coupon-icon {
    font-size: 2rem;
}

.coupon-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.coupon-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.applied-coupon-box .btn-sm {
    padding: 6px 15px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.applied-coupon-box .btn-sm:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Cart Summary */
.cart-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.summary-row:last-child {
    border-bottom: none;
}

.discount-row {
    color: #e74c3c;
}

.discount-amount {
    color: #e74c3c;
    font-weight: 600;
}

.total-row {
    font-size: 1.2rem;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid var(--border-subtle);
}

/* Checkout Summary Totals */
.checkout-summary-totals {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}

.checkout-summary-totals .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 1rem;
}

.checkout-summary-totals .coupon-applied-row {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 12px 15px;
    border-radius: 6px;
    margin: 10px 0;
}

.checkout-summary-totals .coupon-icon {
    font-size: 1.2rem;
    margin-right: 5px;
}

/* Alert Messages */
.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 0.95rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Button Utilities */
.btn-block {
    display: block;
    width: 100%;
}

/* Mobile Coupon Styles */
@media (max-width: 768px) {
    .coupon-section {
        padding: 15px !important;
        margin: 15px 0 !important;
    }
    
    .coupon-section h3 {
        font-size: 1.1rem !important;
    }
    
    .coupon-input-group {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .coupon-input-group input[type="text"] {
        min-width: 100% !important;
        font-size: 0.9rem !important;
        padding: 8px 12px !important;
    }
    
    .coupon-input-group .btn {
        width: 100% !important;
        padding: 10px !important;
    }
    
    .applied-coupon-box {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 12px 15px !important;
    }
    
    .coupon-info {
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
    }
    
    .coupon-icon {
        font-size: 1.5rem !important;
    }
    
    .applied-coupon-box .btn-sm {
        width: 100% !important;
    }
    
    .cart-summary {
        padding: 15px !important;
    }
    
    .summary-row {
        font-size: 0.9rem !important;
        padding: 8px 0 !important;
    }
    
    .total-row {
        font-size: 1.1rem !important;
    }
    
    .checkout-summary-totals {
        padding: 15px !important;
    }
    
    .checkout-summary-totals .summary-row {
        font-size: 0.9rem !important;
        padding: 10px 0 !important;
    }
}
/ *   E n h a n c e d   V i s u a l   H i e r a r c h y   &   U I / U X   I m p r o v e m e n t s   * / 
 
 / *   T h i s   f i l e   s h o u l d   b e   a p p e n d e d   t o   t h e   e n d   o f   s t y l e . c s s   * / 
 
 
 
 / *   H e a d i n g s   -   B e t t e r   h i e r a r c h y   w i t h   w e i g h t   a n d   s p a c i n g   * / 
 
 h 1   { 
 
         f o n t - w e i g h t :   7 0 0 ; 
 
         l e t t e r - s p a c i n g :   - 0 . 5 p x ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
 } 
 
 
 
 h 2   { 
 
         f o n t - w e i g h t :   7 0 0 ; 
 
         l e t t e r - s p a c i n g :   - 0 . 3 p x ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
         m a r g i n - b o t t o m :   1 . 5 r e m ; 
 
 } 
 
 
 
 h 3   { 
 
         f o n t - w e i g h t :   6 0 0 ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
         m a r g i n - b o t t o m :   1 r e m ; 
 
 } 
 
 
 
 h 4 ,   h 5 ,   h 6   { 
 
         f o n t - w e i g h t :   6 0 0 ; 
 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ; 
 
 } 
 
 
 
 / *   L i n k   h i e r a r c h y   -   I m p r o v e d   c o n t r a s t   * / 
 
 a   { 
 
         c o l o r :   v a r ( - - b r a n d - p r i m a r y ) ; 
 
         t r a n s i t i o n :   c o l o r   0 . 3 s   e a s e ; 
 
 } 
 
 
 
 a : h o v e r   { 
 
         c o l o r :   v a r ( - - b r a n d - p r i m a r y - 2 ) ; 
 
         t e x t - d e c o r a t i o n :   u n d e r l i n e ; 
 
 } 
 
 
 
 / *   E m p h a s i s   a n d   s e m a n t i c   c o l o r s   * / 
 
 s t r o n g ,   . b o l d   { 
 
         f o n t - w e i g h t :   6 0 0 ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
 } 
 
 
 
 e m ,   . i t a l i c   { 
 
         f o n t - s t y l e :   i t a l i c ; 
 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ; 
 
 } 
 
 
 
 / *   B a d g e   a n d   l a b e l   h i e r a r c h y   * / 
 
 . b a d g e   { 
 
         d i s p l a y :   i n l i n e - b l o c k ; 
 
         p a d d i n g :   0 . 4 r e m   0 . 8 r e m ; 
 
         b o r d e r - r a d i u s :   2 0 p x ; 
 
         f o n t - s i z e :   0 . 7 5 r e m ; 
 
         f o n t - w e i g h t :   6 0 0 ; 
 
         t e x t - t r a n s f o r m :   u p p e r c a s e ; 
 
         l e t t e r - s p a c i n g :   0 . 3 p x ; 
 
 } 
 
 
 
 . b a d g e - p r i m a r y   { 
 
         b a c k g r o u n d :   v a r ( - - b r a n d - p r i m a r y - l i g h t ) ; 
 
         c o l o r :   v a r ( - - b r a n d - p r i m a r y ) ; 
 
 } 
 
 
 
 . b a d g e - a c c e n t   { 
 
         b a c k g r o u n d :   v a r ( - - b r a n d - a c c e n t - l i g h t ) ; 
 
         c o l o r :   v a r ( - - b r a n d - a c c e n t ) ; 
 
 } 
 
 
 
 . b a d g e - s u c c e s s   { 
 
         b a c k g r o u n d :   r g b a ( 4 5 ,   1 4 0 ,   7 7 ,   0 . 1 5 ) ; 
 
         c o l o r :   v a r ( - - c o l o r - s u c c e s s ) ; 
 
 } 
 
 
 
 . b a d g e - w a r n i n g   { 
 
         b a c k g r o u n d :   r g b a ( 2 1 7 ,   1 1 9 ,   6 ,   0 . 1 5 ) ; 
 
         c o l o r :   v a r ( - - c o l o r - w a r n i n g ) ; 
 
 } 
 
 
 
 . b a d g e - e r r o r   { 
 
         b a c k g r o u n d :   r g b a ( 2 2 0 ,   3 8 ,   3 8 ,   0 . 1 5 ) ; 
 
         c o l o r :   v a r ( - - c o l o r - e r r o r ) ; 
 
 } 
 
 
 
 / *   F o r m   e l e m e n t s   -   B e t t e r   v i s u a l   h i e r a r c h y   * / 
 
 i n p u t [ t y p e = " t e x t " ] , 
 
 i n p u t [ t y p e = " e m a i l " ] , 
 
 i n p u t [ t y p e = " p a s s w o r d " ] , 
 
 i n p u t [ t y p e = " n u m b e r " ] , 
 
 i n p u t [ t y p e = " t e l " ] , 
 
 t e x t a r e a , 
 
 s e l e c t   { 
 
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r - c o l o r ) ; 
 
         b o r d e r - r a d i u s :   8 p x ; 
 
         p a d d i n g :   0 . 7 5 r e m   1 r e m ; 
 
         f o n t - s i z e :   1 r e m ; 
 
         f o n t - f a m i l y :   v a r ( - - f o n t - p r i m a r y ) ; 
 
         b a c k g r o u n d :   v a r ( - - s u r f a c e - p r i m a r y ) ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
         t r a n s i t i o n :   b o r d e r - c o l o r   0 . 3 s   e a s e ,   b o x - s h a d o w   0 . 3 s   e a s e ; 
 
 } 
 
 
 
 i n p u t : f o c u s , 
 
 t e x t a r e a : f o c u s , 
 
 s e l e c t : f o c u s   { 
 
         o u t l i n e :   n o n e ; 
 
         b o r d e r - c o l o r :   v a r ( - - b r a n d - p r i m a r y ) ; 
 
         b o x - s h a d o w :   0   0   0   3 p x   v a r ( - - b r a n d - p r i m a r y - l i g h t ) ; 
 
 } 
 
 
 
 i n p u t : : p l a c e h o l d e r   { 
 
         c o l o r :   v a r ( - - t e x t - l i g h t ) ; 
 
 } 
 
 
 
 l a b e l   { 
 
         d i s p l a y :   b l o c k ; 
 
         m a r g i n - b o t t o m :   0 . 5 r e m ; 
 
         f o n t - w e i g h t :   5 0 0 ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
         f o n t - s i z e :   0 . 9 5 r e m ; 
 
 } 
 
 
 
 / *   S e c t i o n   d i v i d e r s   w i t h   b e t t e r   h i e r a r c h y   * / 
 
 h r ,   . d i v i d e r   { 
 
         b o r d e r :   n o n e ; 
 
         b o r d e r - t o p :   1 p x   s o l i d   v a r ( - - d i v i d e r ) ; 
 
         m a r g i n :   2 r e m   0 ; 
 
 } 
 
 
 
 / *   Q u o t e   a n d   e m p h a s i s   b l o c k s   * / 
 
 b l o c k q u o t e   { 
 
         b o r d e r - l e f t :   4 p x   s o l i d   v a r ( - - b r a n d - p r i m a r y ) ; 
 
         p a d d i n g - l e f t :   1 . 5 r e m ; 
 
         m a r g i n :   1 . 5 r e m   0 ; 
 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ; 
 
         f o n t - s t y l e :   i t a l i c ; 
 
 } 
 
 
 
 / *   C o d e   a n d   t e c h n i c a l   c o n t e n t   * / 
 
 c o d e ,   p r e   { 
 
         b a c k g r o u n d :   v a r ( - - s u r f a c e - s e c o n d a r y ) ; 
 
         b o r d e r :   1 p x   s o l i d   v a r ( - - b o r d e r - c o l o r ) ; 
 
         b o r d e r - r a d i u s :   6 p x ; 
 
         p a d d i n g :   0 . 2 5 r e m   0 . 5 r e m ; 
 
         f o n t - f a m i l y :   ' M o n a c o ' ,   ' C o u r i e r   N e w ' ,   m o n o s p a c e ; 
 
         f o n t - s i z e :   0 . 9 r e m ; 
 
         c o l o r :   v a r ( - - b r a n d - a c c e n t ) ; 
 
 } 
 
 
 
 p r e   { 
 
         p a d d i n g :   1 r e m ; 
 
         o v e r f l o w - x :   a u t o ; 
 
 } 
 
 
 
 / *   A l e r t   a n d   m e s s a g e   b o x e s   * / 
 
 . a l e r t   { 
 
         p a d d i n g :   1 r e m ; 
 
         b o r d e r - r a d i u s :   8 p x ; 
 
         b o r d e r - l e f t :   4 p x   s o l i d ; 
 
         m a r g i n - b o t t o m :   1 r e m ; 
 
 } 
 
 
 
 . a l e r t - s u c c e s s   { 
 
         b a c k g r o u n d :   r g b a ( 4 5 ,   1 4 0 ,   7 7 ,   0 . 1 ) ; 
 
         b o r d e r - l e f t - c o l o r :   v a r ( - - c o l o r - s u c c e s s ) ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
 } 
 
 
 
 . a l e r t - w a r n i n g   { 
 
         b a c k g r o u n d :   r g b a ( 2 1 7 ,   1 1 9 ,   6 ,   0 . 1 ) ; 
 
         b o r d e r - l e f t - c o l o r :   v a r ( - - c o l o r - w a r n i n g ) ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
 } 
 
 
 
 . a l e r t - e r r o r   { 
 
         b a c k g r o u n d :   r g b a ( 2 2 0 ,   3 8 ,   3 8 ,   0 . 1 ) ; 
 
         b o r d e r - l e f t - c o l o r :   v a r ( - - c o l o r - e r r o r ) ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
 } 
 
 
 
 . a l e r t - i n f o   { 
 
         b a c k g r o u n d :   r g b a ( 8 ,   1 4 5 ,   1 7 8 ,   0 . 1 ) ; 
 
         b o r d e r - l e f t - c o l o r :   v a r ( - - c o l o r - i n f o ) ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
 } 
 
 
 
 / *   T a b l e s   -   B e t t e r   v i s u a l   h i e r a r c h y   * / 
 
 t a b l e   { 
 
         w i d t h :   1 0 0 % ; 
 
         b o r d e r - c o l l a p s e :   c o l l a p s e ; 
 
         b a c k g r o u n d :   v a r ( - - s u r f a c e - p r i m a r y ) ; 
 
         b o r d e r - r a d i u s :   8 p x ; 
 
         o v e r f l o w :   h i d d e n ; 
 
         m a r g i n :   1 . 5 r e m   0 ; 
 
 } 
 
 
 
 t h e a d   { 
 
         b a c k g r o u n d :   v a r ( - - b r a n d - p r i m a r y - l i g h t ) ; 
 
         c o l o r :   v a r ( - - b r a n d - p r i m a r y ) ; 
 
 } 
 
 
 
 t h   { 
 
         p a d d i n g :   1 r e m ; 
 
         f o n t - w e i g h t :   6 0 0 ; 
 
         t e x t - a l i g n :   l e f t ; 
 
         b o r d e r - b o t t o m :   2 p x   s o l i d   v a r ( - - b r a n d - p r i m a r y ) ; 
 
 } 
 
 
 
 t d   { 
 
         p a d d i n g :   0 . 7 5 r e m   1 r e m ; 
 
         b o r d e r - b o t t o m :   1 p x   s o l i d   v a r ( - - b o r d e r - c o l o r ) ; 
 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ; 
 
 } 
 
 
 
 t b o d y   t r : h o v e r   { 
 
         b a c k g r o u n d :   v a r ( - - s u r f a c e - s e c o n d a r y ) ; 
 
 } 
 
 
 
 / *   L i s t   s t y l i n g   -   I m p r o v e d   h i e r a r c h y   * / 
 
 u l ,   o l   { 
 
         m a r g i n - l e f t :   1 . 5 r e m ; 
 
         m a r g i n - b o t t o m :   1 r e m ; 
 
 } 
 
 
 
 l i   { 
 
         m a r g i n - b o t t o m :   0 . 5 r e m ; 
 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ; 
 
         l i n e - h e i g h t :   1 . 7 ; 
 
 } 
 
 
 
 u l   l i : b e f o r e   { 
 
         c o n t e n t :   " �    " ; 
 
         c o l o r :   v a r ( - - b r a n d - p r i m a r y ) ; 
 
         f o n t - w e i g h t :   b o l d ; 
 
         m a r g i n - r i g h t :   0 . 7 5 r e m ; 
 
 } 
 
 
 
 / *   T o o l t i p   s t y l i n g   * / 
 
 . t o o l t i p   { 
 
         p o s i t i o n :   r e l a t i v e ; 
 
         c u r s o r :   h e l p ; 
 
         b o r d e r - b o t t o m :   1 p x   d o t t e d   v a r ( - - b r a n d - p r i m a r y ) ; 
 
 } 
 
 
 
 . t o o l t i p : : a f t e r   { 
 
         c o n t e n t :   a t t r ( d a t a - t o o l t i p ) ; 
 
         p o s i t i o n :   a b s o l u t e ; 
 
         b o t t o m :   1 0 0 % ; 
 
         l e f t :   5 0 % ; 
 
         t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % ) ; 
 
         b a c k g r o u n d :   v a r ( - - t e x t - p r i m a r y ) ; 
 
         c o l o r :   w h i t e ; 
 
         p a d d i n g :   0 . 5 r e m   0 . 7 5 r e m ; 
 
         b o r d e r - r a d i u s :   6 p x ; 
 
         f o n t - s i z e :   0 . 8 5 r e m ; 
 
         w h i t e - s p a c e :   n o w r a p ; 
 
         o p a c i t y :   0 ; 
 
         p o i n t e r - e v e n t s :   n o n e ; 
 
         t r a n s i t i o n :   o p a c i t y   0 . 3 s   e a s e ; 
 
         m a r g i n - b o t t o m :   0 . 5 r e m ; 
 
         z - i n d e x :   1 0 0 0 ; 
 
 } 
 
 
 
 . t o o l t i p : h o v e r : : a f t e r   { 
 
         o p a c i t y :   1 ; 
 
 } 
 
 
 
 / *   S e p a r a t o r   l i n e   s t y l i n g   * / 
 
 . s e p a r a t o r   { 
 
         h e i g h t :   2 p x ; 
 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 9 0 d e g ,   t r a n s p a r e n t ,   v a r ( - - b r a n d - p r i m a r y ) ,   t r a n s p a r e n t ) ; 
 
         m a r g i n :   2 r e m   0 ; 
 
 } 
 
 