/* CSS Variables for Theme System */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #CD853F;
    --success-color: #228B22;
    --warning-color: #DAA520;
    --error-color: #DC143C;
    --text-primary: #2F1B14;
    --text-secondary: #75533be3;
    --bg-primary: #FFFEF7;
    --bg-secondary: #FDF5E6;
    --border-color: #dea787;
    --shadow-sm: 0 1px 2px 0 rgb(139 69 19 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(139 69 19 / 0.1), 0 2px 4px -2px rgb(139 69 19 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(139 69 19 / 0.1), 0 4px 6px -4px rgb(139 69 19 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(139 69 19 / 0.1), 0 8px 10px -6px rgb(139 69 19 / 0.1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --text-primary: #F5DEB3;
    --text-secondary: #DEB887;
    --bg-primary: #553f34;
    --bg-secondary: #2F1B14;
    --border-color: #8B4513;
    --primary-color: #CD853F;
    --secondary-color: #DEB887;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: context-menu;
}

p {
    color: var(--text-secondary);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Typography */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    position: relative;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Styles */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 254, 247, 0.95) !important;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(26, 15, 10, 0.95) !important;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: transparent !important;
}

/* Theme Toggle */
.theme-toggle-container {
    display: flex;
    align-items: center;
}

.theme-toggle {
    width: 50px;
    height: 25px;
    background: var(--border-color);
    border-radius: 15px;
    position: relative;
    cursor: pointer !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.theme-toggle:hover {
    background: var(--primary-color);
}

.toggle-slider {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    left: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .toggle-slider {
    transform: translateX(30px);
    background: #2F1B14;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}


.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 69, 19, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(139, 69, 19, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(139, 69, 19, 0);
    }
}

/* Quick Access Toggle Section */
.quick-access-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.toggle-buttons {
    flex-wrap: wrap;
}

.toggle-buttons .btn {
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.toggle-buttons .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.toggle-content {
    min-height: 60px;
    position: relative;
}

.content-item {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    position: absolute;
    width: 100%;
    pointer-events: none;
}

.content-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

/* Sign Up */
.auth-modal {
    border-radius: 16px;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    box-shadow: var(--shadow-lg);
}

.auth-modal .form-control {
    border-radius: 10px;
    border: 1px solid var(--border-color, #e5e7eb);
    background: var(--bg-secondary, #fafafa);
    color: var(--text-primary, #111827);
}

.auth-modal .form-control:focus {
    border-color: var(--primary-color, #8B4513);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.2);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 38px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-secondary, #6b7280);
    font-size: 1.2rem;
}

.password-toggle:hover {
    color: var(--primary-color, #8B4513);
}

.forgot-password {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--primary-color, #8B4513);
}

.forgot-password:hover {
    text-decoration: underline;
}

.toast-container {
    z-index: 2000;
}

.toast.text-bg-success {
    background: linear-gradient(135deg, #28a745, #218838);
    color: #fff;
    font-weight: 500;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

button .spinner-border {
    vertical-align: middle;
}

[data-theme="dark"] .auth-modal {
    background: var(--bg-secondary, #111827);
    border-color: var(--border-color, #374151);
}

[data-theme="dark"] .auth-modal .form-control {
    background: #3b2a22;
    color: var(--text-primary, #e5e7eb);
}

/* Floating Card */
.floating-card {
    position: relative;
    z-index: 2;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-card .card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
    margin: 0 auto 8px;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(14px);
    }
}

.scroll-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Category Filter */
.category-filter .btn {
    border-radius: 25px;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

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

/* Search Box */
.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* Design Gallery */
.design-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
}

.product-used p {
    color: var(--text-secondary);
}

.design-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

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

.design-card .card-body {
    padding: 1.5rem;
}

.design-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.design-card .category-badge {
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.detail-btn a {
    text-decoration: none !important;
    color: white !important;
}

/* Product Categories */
.category-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer !important;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--primary-color);
    color: white;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: white;
    color: var(--primary-color);
}

.category-icon i {
    font-size: 1.5rem;
    color: white;
}

.category-card:hover .category-icon i {
    color: var(--primary-color);
}

/* Product Cards */
.product-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-card img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
    padding: 0 !important;

}

.product-card .card-body {
    padding: 1.5rem;
}

.product-rating {
    color: #DAA520;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-btn{
    color: var(--primary-color);
    text-decoration: none;
}

.btn:hover .product-btn{
    color: var(--bg-primary);
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wishlist-btn:hover,
.wishlist-btn.active {
    background: var(--error-color);
    color: white;
}

/* Designer Cards */
.designer-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.designer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.designer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-color);
}

.designer-rating {
    color: #DAA520;
    margin-bottom: 1rem;
}

.designer-rate {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

/* About Features */
.about-features {
    padding: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content h5 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-content p {
    margin: 0;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-primary);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(139, 69, 19, 0.836);
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(83, 76, 76, 0.363);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
}

.contact-form .form-control::placeholder {
    color: var(--text-primary);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.25);
    color: var(--text-primary);
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-item i {
    color: var(--accent-color);
    width: 20px;
}

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

.contact-social-link {
    width: 45px;
    height: 45px;
    background: #75533b46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #743406de;
    color: white;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: #DEB887;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(45deg, #8f4815, #804016d3);
    color: white;
    transform: translateY(-3px);
}


/* Feedback Form */
.feedback-form {
    background: var(--bg-primary);
    border: 1px solid rgba(139, 69, 19, 0.836);
    border-radius: 16px;
    color: var(--text-primary);
    padding: 2rem;
    backdrop-filter: blur(10px);

}

.feedback-form .form-control,
.feedback-form .form-select {
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(83, 76, 76, 0.363);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
}

.feedback-form .form-control::placeholder {
    color: var(--text-primary);
}

.feedback-form .form-control:focus,
.feedback-form .form-select:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.25);
    color: var(--text-primary);
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars i {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer !important;
    transition: color 0.3s ease;
}

.rating-stars i:hover,
.rating-stars i.active {
    color: #DAA520;
}

input,
textarea,
select {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
}

section#feedback::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.2); */
    pointer-events: none;
}

#feedback::before {
    pointer-events: none;
}

/* Wishlist Section */
.wishlist-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.wishlist-items {
    max-height: 300px;
    overflow-y: auto;
}

.wishlist-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.wishlist-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.wishlist-item-info {
    flex: 1;
}

.wishlist-item-info h6 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.wishlist-item-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.remove-wishlist {
    background: none;
    border: none;
    color: var(--error-color);
    font-size: 1.25rem;
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.remove-wishlist:hover {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .toggle-buttons {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .toggle-buttons .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .category-filter .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .sitemap-card,
    .contact-form,
    .feedback-form {
        padding: 1.5rem;
    }

    .section-title::after {
        left: 0;
        transform: none;
    }

    .product-categories .col-6 {
        margin-bottom: 1rem;
    }
}

/* Dark theme specific styles */
[data-theme="dark"] {
    background-color: var(--bg-primary);
}

[data-theme="dark"] .bg-light {
    background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .design-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .designer-card,
[data-theme="dark"] .category-card,
[data-theme="dark"] .sitemap-card,
[data-theme="dark"] .feature-item,
[data-theme="dark"] .stat-item,
[data-theme="dark"] .quick-access-section,
[data-theme="dark"] .wishlist-section,
[data-theme="dark"] .feedback-form {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .floating-card .card {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

/* Smooth transitions for theme switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Enhanced button styles */
.btn {
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    text-decoration: none !important;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-secondary:hover a {
    color: #fff !important;
}

/* Animation classes */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scale-effect {
    transform: scale(1.05) !important;
}

.pulse-active {
    animation: pulseEffect 0.6s ease-out;
}

@keyframes pulseEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.bounce {
    animation: bounceEffect 0.3s ease-out;
}

@keyframes bounceEffect {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(139, 69, 19, 0.1);
}

/* Utility function for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Detail page */
/* Left Side - Product Details */
.detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.product-card {
    height: fit-content;
}

.product-info {
    padding: 10px 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Right Side - Checkout */
.checkout-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    height: fit-content;
}

.checkout-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.checkout-card label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkout-card input {
    width: 100%;
    padding: 0.7rem;
    margin: 0.5rem 0 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    /* padding-right: 10px; */
}

.btn-buy {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: 0.3s ease;
}

.btn-buy:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.summary {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.summary p {
    display: flex;
    justify-content: space-between;
    margin: 0.3rem 0;
}

.summary p.total {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Responsive */
@media(max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}