/* ==================== Base Styles ==================== */


/* Preloader */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.logo-preloader {
    margin-bottom: 30px;
}

.logo-preloader img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: var(--shadow-light);
    animation: pulse 2s ease-in-out infinite;
}

.logo-preloader h2 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(128, 0, 32, 0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

:root {
    --primary-color: #800020;
    /* Deep burgundy */
    --primary-color-dark: #6a001a;
    --accent-color: #c5a059;
    /* Luxury gold */
    --accent-color-light: #d4b375;
    --light-bg: #f8f5f0;
    /* Warm off-white */
    --light-bg-accent: #f0ebe8;
    --dark-bg: #1a1a1a;
    /* Rich black */
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light-gray: #999999;
    --border-color: #e0e0e0;
    --border-color-dark: #d0d0d0;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 6px 25px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    --radius-small: 6px;
    --radius-medium: 12px;
    --radius-large: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px), linear-gradient(135deg, rgba(128, 0, 32, 0.03) 0%, transparent 25%, transparent 75%, rgba(197, 160, 89, 0.03) 100%);
    background-size: 20px 20px, 100% 100%;
    background-attachment: fixed;
    line-height: 1.7;
    font-size: 16px;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.03em;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-small);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-light);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--primary-color-dark), var(--accent-color));
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-block {
    display: block;
    width: 100%;
}

.checkout-form .btn-primary {
    padding: 18px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-small);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.checkout-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(128, 0, 32, 0.4);
    background: linear-gradient(135deg, var(--primary-color-dark), var(--accent-color));
}

.checkout-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.checkout-form .btn-primary:hover::before {
    left: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 300;
}


/* ==================== Navbar ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    /* Removed blur effect to prevent Actions preview from appearing blurry */
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(128, 0, 32, 0.1);
    box-shadow: var(--shadow-light);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.logo img {
    height: 45px;
    margin-right: 12px;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
}

.logo span {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.admin-link {
    background: linear-gradient(135deg, #800020, #c5a059);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(128, 0, 32, 0.2);
}

.nav-links a.admin-link:hover {
    background: linear-gradient(135deg, #6a001a, #d4b375);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3);
}

.nav-links a.admin-link i {
    font-size: 1.1rem;
}

.nav-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
}


/* ==================== Hero Section ==================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.85) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Removed blur effect to prevent Actions preview from appearing blurry */
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 80px 20px 0;
    z-index: 10;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 30px;
    color: var(--text-light);
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtext {
    margin-top: 30px;
}

.hero-subtext p {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ==================== Shop Section ==================== */

.shop-section {
    padding: 120px 0;
    background-color: white;
    position: relative;
}

.shop-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.premium-filters {
    margin-bottom: 40px;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.category-btn {
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: var(--shadow-light);
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    transform: translateY(0);
    border: 1px solid var(--border-color);
    isolation: isolate;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
    position: relative;
}

.product-card:hover .product-image {
    transform: scale(1.03);
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.quick-view-btn,
.add-to-cart-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius-small);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.quick-view-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-light);
}

.quick-view-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.add-to-cart-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-light);
}

.add-to-cart-btn:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.products-per-page-control {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.products-per-page-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.products-per-page-selector label {
    font-weight: 500;
    color: var(--text-dark);
}

.products-per-page-selector select {
    padding: 5px 10px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination button {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.pagination button:hover,
.pagination button.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}


/* ==================== Gallery Section ==================== */

.gallery-section {
    padding: 120px 0;
    background-color: var(--light-bg);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-medium);
    overflow: hidden;
    cursor: pointer;
    height: 280px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    transform: translateY(0);
    border: 1px solid var(--border-color);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(128, 0, 32, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
    color: var(--text-light);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 700;
}

.gallery-overlay p {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 300;
}


/* ==================== Contact Section ==================== */

.contact-section {
    padding: 120px 0;
    background-color: white;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 25px;
    background: var(--light-bg-accent);
    border-radius: var(--radius-medium);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 5px;
    background: rgba(128, 0, 32, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

.map-container {
    margin-top: 30px;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: var(--light-bg-accent);
    padding: 30px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    position: relative;
    padding-left: 10px;
}

.form-group label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 16px;
    border: 2px solid rgba(197, 160, 89, 0.3);
    border-radius: var(--radius-small);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: linear-gradient(135deg, #ffffff, #f8f5f0);
    box-shadow: var(--shadow-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.25);
    background: white;
}


/* ==================== Footer ==================== */

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--text-light);
    padding: 80px 0 40px;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
    border: 3px solid rgba(197, 160, 89, 0.3);
}

.footer-logo h3 {
    color: var(--text-light);
    font-size: 2.2rem;
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.footer-logo p {
    color: #ccc;
    max-width: 350px;
    line-height: 1.8;
    font-size: 1rem;
}

.footer-links h4,
.footer-social h4,
.footer-contact h4,
.footer-newsletter h4 {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.footer-links h4::after,
.footer-social h4::after,
.footer-contact h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.footer-links ul,
.footer-contact ul,
.footer-newsletter ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    display: block;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.footer-links ul li a::before,
.footer-contact ul li a::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links ul li a:hover::before,
.footer-contact ul li a:hover::before {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.footer-contact ul li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-contact ul li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-newsletter p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 2px solid rgba(197, 160, 89, 0.3);
    border-radius: var(--radius-small);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-small);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #bbb;
    font-size: 1.1rem;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}


/* Footer Responsive Design */

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-logo img {
        height: 70px;
    }
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 60px 0 30px;
    }
    .footer-logo img {
        height: 60px;
    }
    .footer-links h4,
    .footer-social h4,
    .footer-contact h4,
    .footer-newsletter h4 {
        font-size: 1.3rem;
    }
}


/* ==================== Slide-in Drawer ==================== */

.slide-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.slide-drawer.open {
    right: 0;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.close-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--primary-color);
    background: rgba(128, 0, 32, 0.1);
    transform: rotate(90deg);
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ==================== Cart Drawer ==================== */

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin-bottom: 5px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-item-actions button {
    width: 30px;
    height: 30px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: var(--transition);
}

.cart-item-actions button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.remove-btn {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
}

.cart-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.empty-cart {
    text-align: center;
    color: var(--text-gray);
    font-style: italic;
    padding: 40px 0;
}


/* ==================== Checkout Drawer ==================== */

.checkout-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.05), rgba(197, 160, 89, 0.05));
    border-radius: var(--radius-medium);
}

.checkout-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.checkout-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.checkout-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.checkout-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.3;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    position: relative;
}

.progress-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.progress-step .step-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: var(--primary-color);
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.checkout-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.checkout-card {
    background: rgba(255, 255, 255, 0.9);
    /* Removed blur effect to prevent Actions preview from appearing blurry */
    border-radius: var(--radius-large);
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 10px 30px rgba(128, 0, 32, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.checkout-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(128, 0, 32, 0.15);
}

.card-header {
    padding: 20px;
    background: linear-gradient(90deg, rgba(128, 0, 32, 0.1), rgba(197, 160, 89, 0.1));
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.card-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.card-body {
    padding: 25px;
}

.floating-label {
    position: relative;
    margin-bottom: 25px;
}

.floating-label input,
.floating-label select {
    width: 100%;
    padding: 18px 16px 8px;
    border: 2px solid rgba(197, 160, 89, 0.3);
    border-radius: var(--radius-small);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.floating-label label {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
    font-weight: 500;
}

.floating-label input:focus,
.floating-label select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.25);
}

.floating-label input:focus+label,
.floating-label input:not(:placeholder-shown)+label,
.floating-label select:focus+label,
.floating-label select:not([value=""])+label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--radius-small);
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 500;
}

.payment-option:hover,
.payment-option.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.payment-option i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.payment-option.active i {
    color: white;
}

.order-summary-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.secure-checkout-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.1), transparent);
    border-radius: var(--radius-small);
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: center;
    justify-content: center;
}

.secure-checkout-note i {
    color: var(--accent-color);
}


/* Order Items Styles */

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    background: linear-gradient(90deg, rgba(248, 245, 240, 0.5), transparent);
    border-radius: var(--radius-small);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.order-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.order-item:hover {
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.1), transparent);
    transform: translateX(5px);
}

.order-item-details h4 {
    margin: 0 0 5px 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.order-item-details p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-style: italic;
}

.order-item-total {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    align-self: center;
}


/* Checkout Totals Styles */

.checkout-totals {
    border-top: 2px solid rgba(197, 160, 89, 0.3);
    padding-top: 20px;
    background: linear-gradient(135deg, rgba(248, 245, 240, 0.7), rgba(255, 255, 255, 0.7));
    padding: 20px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(197, 160, 89, 0.2);
}

.total-row:last-child {
    border-bottom: none;
}

.total-final {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    border-top: 2px solid rgba(197, 160, 89, 0.3);
    padding-top: 15px;
    margin-top: 10px;
    background: linear-gradient(90deg, rgba(128, 0, 32, 0.05), transparent);
    padding: 15px;
    border-radius: var(--radius-small);
}

.total-final span:last-child {
    font-size: 1.5rem;
}

.place-order-btn {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-small);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 5px 20px rgba(128, 0, 32, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.place-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.4);
    background: linear-gradient(135deg, var(--primary-color-dark), var(--accent-color));
}

.place-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.place-order-btn:hover::before {
    left: 100%;
}

.checkout-assistance {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
}

.checkout-assistance a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkout-assistance a:hover {
    text-decoration: underline;
}


/* ==================== Order Confirmation Popup ==================== */

.order-confirmation-content {
    max-width: 500px;
    text-align: center;
}

.confirmation-layout {
    padding: 40px;
}

.confirmation-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.confirmation-layout h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.confirmation-layout p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.delivery-message {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 20px;
    font-size: 1.1rem;
}


/* Delivery Van Animation */

.delivery-animation {
    margin: 30px 0;
    overflow: hidden;
    position: relative;
    height: 150px;
    background: linear-gradient(to bottom, #87CEEB, #E0F7FA);
    border-radius: var(--radius-medium);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.van-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.sun {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #FFD700, #FFA500);
    border-radius: 50%;
    box-shadow: 0 0 20px #FFD700;
}

.cloud {
    position: absolute;
    top: 20px;
    left: 20%;
    width: 50px;
    height: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: -10px 10px 0 5px white, 20px 5px 0 5px white, -5px 0 0 10px white;
    opacity: 0.8;
    animation: floatCloud 20s linear infinite;
}

.cloud:nth-child(2) {
    top: 30px;
    left: 60%;
    animation-duration: 25s;
}

.van {
    position: absolute;
    top: 70px;
    left: -150px;
    width: 150px;
    height: 70px;
    animation: driveVan 5s linear infinite;
}

.van-cabin {
    position: absolute;
    top: -25px;
    left: 15px;
    width: 50px;
    height: 25px;
    background: linear-gradient(135deg, #2C3E50, #34495E);
    border-radius: 10px 10px 0 0;
    z-index: 2;
}

.van-cabin::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: #87CEEB;
    border-radius: 3px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.van-cabin::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    background: #87CEEB;
    border-radius: 3px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.van-body {
    position: absolute;
    width: 100%;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px 10px 0 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.van-body::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 80px;
    width: 40px;
    height: 25px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50% 50% 0 0;
}

.van-door {
    position: absolute;
    top: 15px;
    left: 90px;
    width: 30px;
    height: 20px;
    border: 2px solid #2C3E50;
    border-radius: 3px;
}

.van-wheel {
    position: absolute;
    bottom: -15px;
    width: 25px;
    height: 25px;
    background: #2C3E50;
    border-radius: 50%;
    border: 3px solid #34495E;
    display: flex;
    align-items: center;
    justify-content: center;
}

.van-wheel::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #7f8c8d;
    border-radius: 50%;
}

.front-wheel {
    right: 15px;
}

.rear-wheel {
    left: 20px;
}

.road {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #7f8c8d, #95a5a6, #7f8c8d);
    animation: roadMove 0.5s linear infinite;
}

.road-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 2px;
    background: #ecf0f1;
    border-radius: 1px;
    animation: roadLineMove 1s linear infinite;
}

.road-line:nth-child(2) {
    left: 40px;
    animation-delay: 0.2s;
}

.road-line:nth-child(3) {
    left: 80px;
    animation-delay: 0.4s;
}

@keyframes driveVan {
    0% {
        transform: translateX(-150px);
    }
    100% {
        transform: translateX(calc(100% + 150px));
    }
}

@keyframes roadMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 0;
    }
}

@keyframes roadLineMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50px);
    }
}

@keyframes floatCloud {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100vw);
    }
}


/* ==================== Quick View Modal ==================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    /* Removed blur effect to prevent Actions preview from appearing blurry */
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid rgba(197, 160, 89, 0.3);
    background: linear-gradient(145deg, #ffffff, #f8f5f0);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 1;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    /* Removed blur effect to prevent Actions preview from appearing blurry */
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 245, 240, 0.95));
    border-radius: var(--radius-large);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.quick-view-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
    box-shadow: 0 0 5px rgba(197, 160, 89, 0.3);
}

.quick-view-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-medium);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.15);
    transition: all 0.4s ease;
    background: #ffffff;
    padding: 15px;
    display: block;
    margin: 0 auto;
}

.quick-view-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.quick-view-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 15px 0;
    position: relative;
}

.quick-view-category {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    background: rgba(255, 255, 255, 0.8);
}

.quick-view-category::after {
    display: none;
}

.quick-view-details h2 {
    margin: 0;
    font-size: 2.2rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.quick-view-details h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.quick-view-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quick-view-description {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 300;
    padding: 18px;
    border-radius: var(--radius-small);
    border: 1px solid rgba(197, 160, 89, 0.1);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-small);
    padding: 20px;
}

.quantity-control label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--accent-color);
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.quantity-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    color: var(--primary-color);
}

.quantity-value {
    width: 70px;
    height: 45px;
    padding: 0 15px;
    border: 2px solid var(--accent-color);
    border-radius: var(--radius-small);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    color: var(--primary-color);
}


/* Classic Ornamental Elements */

.classic-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 20px 0;
}

.classic-divider::before,
.classic-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.classic-divider::before {
    left: 20%;
}

.classic-divider::after {
    right: 20%;
}


/* Classic Button Styles */

.btn-classic {
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-small);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    color: white;
    cursor: pointer;
}

.btn-classic:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(128, 0, 32, 0.3);
    background: linear-gradient(135deg, var(--primary-color-dark), var(--accent-color));
}

.btn-classic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-classic:hover::before {
    left: 100%;
}


/* Classic Card Effect */

.classic-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-medium);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 25px;
    transition: all 0.3s ease;
}

.classic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}


/* ==================== Gallery Modal ==================== */

.gallery-modal-content {
    max-width: 85%;
    max-height: 85vh;
}

.gallery-modal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.gallery-modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-heavy);
}

.gallery-modal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-modal-title {
    margin: 0;
    font-size: 2.3rem;
    color: var(--text-dark);
    font-weight: 800;
}

.gallery-modal-category {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.gallery-modal-description {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.gallery-modal-meta {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.gallery-modal-id {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
}


/* ==================== Animations ==================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Premium Entrance Animations */

.product-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.product-card:nth-child(6) {
    animation-delay: 0.6s;
}

.product-card:nth-child(7) {
    animation-delay: 0.7s;
}

.product-card:nth-child(8) {
    animation-delay: 0.8s;
}

.product-card:nth-child(9) {
    animation-delay: 0.9s;
}

.product-card:nth-child(10) {
    animation-delay: 1.0s;
}

.product-card:nth-child(11) {
    animation-delay: 1.1s;
}

.product-card:nth-child(12) {
    animation-delay: 1.2s;
}

.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

.gallery-item:nth-child(7) {
    animation-delay: 0.7s;
}

.gallery-item:nth-child(8) {
    animation-delay: 0.8s;
}

.gallery-item:nth-child(9) {
    animation-delay: 0.9s;
}

.gallery-item:nth-child(10) {
    animation-delay: 1.0s;
}


/* Smooth Hover Effects */

.product-card,
.gallery-item,
.contact-item,
.nav-links a,
.footer-links ul li a,
.social-icons a {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}


/* ==================== Responsive Design ==================== */

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .quick-view-product {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .quick-view-image {
        height: 300px;
        object-fit: contain;
    }
    .gallery-modal-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    /* Checkout Responsive */
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-progress {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .slide-drawer {
        width: 100%;
        right: -100%;
    }
    .slide-drawer.open {
        right: 0;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    .footer-links,
    .footer-social {
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    /* Checkout Mobile */
    .checkout-card {
        margin-bottom: 20px;
    }
    .card-body {
        padding: 20px;
    }
    .floating-label {
        margin-bottom: 20px;
    }
    .floating-label input,
    .floating-label select {
        padding: 16px 14px 6px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .category-pills {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .category-btn {
        white-space: nowrap;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .quick-view-image {
        height: 250px;
        object-fit: contain;
    }
    /* Quick View Mobile Enhancements */
    .quick-view-details h2 {
        font-size: 1.6rem;
    }
    .quick-view-price {
        font-size: 1.4rem;
    }
    .quantity-control {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .quantity-input {
        align-self: center;
    }
    .btn-classic {
        width: 100%;
        padding: 16px;
    }
    /* Checkout Mobile Small Screens */
    .checkout-header h3 {
        font-size: 1.5rem;
    }
    .checkout-header p {
        font-size: 1rem;
    }
    .card-header h4 {
        font-size: 1.2rem;
    }
    .payment-option {
        padding: 15px;
        font-size: 1rem;
    }
    .place-order-btn {
        padding: 16px;
        font-size: 1.1rem;
    }
    /* Order Confirmation Popup Mobile */
    .order-confirmation-content {
        max-width: 95%;
        margin: 10px;
    }
    .confirmation-layout {
        padding: 20px;
    }
    .confirmation-icon {
        font-size: 3rem;
    }
    .confirmation-layout h2 {
        font-size: 1.5rem;
    }
    /* Order Summary Mobile */
    .order-item {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    .order-item-total {
        align-self: flex-start;
        font-size: 1.2rem;
    }
    .total-final {
        font-size: 1.2rem;
    }
    .total-final span:last-child {
        font-size: 1.3rem;
    }
}


/* Wishlist Modal */

.wishlist-modal-content {
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.wishlist-layout {
    padding: 30px;
}

.modal-header h2 {
    margin-top: 0;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.wishlist-items {
    margin-top: 20px;
}

.wishlist-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.wishlist-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-small);
}

.wishlist-item-details {
    flex: 1;
}

.wishlist-item-details h4 {
    margin: 0 0 10px 0;
    color: var(--text-dark);
}

.wishlist-item-category {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.wishlist-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.wishlist-item-actions {
    display: flex;
    gap: 10px;
}

.empty-wishlist {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
}


/* Wishlist Count */

.wishlist-count {
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    position: absolute;
    top: -8px;
    right: -8px;
}


/* Responsive Wishlist */

@media (max-width: 768px) {
    .wishlist-item {
        flex-direction: column;
        text-align: center;
    }
    .wishlist-item img {
        width: 150px;
        height: 150px;
    }
    .wishlist-item-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wishlist-layout {
        padding: 20px 15px;
    }
    .wishlist-item img {
        width: 120px;
        height: 120px;
    }
    .wishlist-item-actions {
        flex-direction: column;
    }
    .wishlist-item-actions .btn {
        width: 100%;
    }
}


/* Product Detail Page */

.product-detail-section {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-muted);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
    padding: 20px;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-small);
}

.thumbnail-images {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 5px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-small);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-category {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 2.2rem;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.2;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 10px 0;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars {
    color: #ffc107;
}

.rating-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-description {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.1rem;
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.option-group label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 100px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-small);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

#productQuantity {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.product-meta {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.meta-item i {
    color: var(--primary-color);
}


/* Product Tabs */

.product-tabs {
    background: white;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 60px;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary-color);
    background: rgba(184, 142, 47, 0.05);
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--border-color-light);
}

.spec-name {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    color: var(--text-muted);
}

.review-summary {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.average-rating {
    text-align: center;
}

.rating-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stars-large {
    font-size: 1.5rem;
    color: #ffc107;
    margin: 10px 0;
}

.review-count {
    color: var(--text-muted);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review-item {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-stars {
    color: #ffc107;
    margin-bottom: 10px;
}

.review-content {
    color: var(--text-dark);
    line-height: 1.6;
}


/* Related Products */

.related-products {
    padding: 60px 0;
    background: #f8f9fa;
}

.related-products .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.related-products .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}


/* Responsive Product Detail */

@media (max-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-title {
        font-size: 1.8rem;
    }
    .product-price {
        font-size: 1.8rem;
    }
    .product-actions-detail {
        flex-direction: column;
    }
    .product-meta {
        flex-direction: column;
        gap: 15px;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .product-detail-section {
        padding: 80px 0 40px;
    }
    .product-title {
        font-size: 1.5rem;
    }
    .product-price {
        font-size: 1.5rem;
    }
    .option-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .tab-header {
        flex-direction: column;
    }
    .tab-btn {
        text-align: left;
    }
    .tab-content {
        padding: 20px;
    }
}