:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c5a065;
    --secondary-light: #e2c9a0;
    --bg-warm: #f9f8f6;
    --gray-color: #7f8c8d;
    --light-gray: #f1f2f6;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --border-color: #e5e5e5;
    --antique-border: 1px solid rgba(0,0,0,0.06);
}

body {
    font-family: var(--font-body);
    color: var(--primary-color);
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-warm);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Utility Classes for Antique Feel */
.text-serif-italic {
    font-family: var(--font-heading);
    font-style: italic;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .welcome-code {
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.top-bar-icons i {
    color: var(--secondary-color);
    transition: color 0.3s ease;
    cursor: pointer;
    font-size: 20px;
}
.top-bar-icons i:hover {
    color: var(--secondary-light);
}

/* Header & Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    color: var(--primary-color);
    position: relative;
    font-size: 1rem;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    left: 1.2rem;
    bottom: 5px;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link.active:after {
    width: calc(100% - 2.4rem);
}

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

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-warm);
    padding-left: 25px;
}

/* Hero Section */
#heroCarousel .carousel-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    filter: brightness(0.6); /* Darken image for text readability */
}
#heroCarousel .carousel-item {
    height: 85vh; /* A good viewport height */
    min-height: 550px; /* Minimum height for smaller screens */
    background-color: var(--primary-color); /* Fallback color */
}
#heroCarousel .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: left;
    max-width: 700px;
    right: auto;
    left: 10%;
}
#heroCarousel .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}
#heroCarousel .carousel-caption p {
    font-size: 1.2rem;
    font-weight: 300;
}

.btn-hero {
    background-color: var(--secondary-color);
    color: white;
    padding: 18px 40px;
    border-radius: 0;
    font-weight: 600;
    border: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.btn-hero:hover {
    background-color: #a3824d;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-hero {
    background-color: transparent;
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 0;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.btn-outline-hero:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child):after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--light-gray), transparent);
}

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-warm);
    border-top: 1px solid var(--border-color);
}

.feature-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

/* Categories Section */
.categories-section {
    padding: 100px 0;
    background-color: var(--bg-warm);
}

.section-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    letter-spacing: 2px;
}

.section-title:after {
    display: none;
}

.ornamental-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}
.ornamental-divider::before, .ornamental-divider::after {
    content: "";
    height: 1px;
    width: 100px;
    background-color: var(--secondary-color);
    margin: 0 15px;
    opacity: 0.25;
}
.ornamental-divider span {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.section-subtitle {
    text-align: center;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--gray-color);
    margin-top: -0.5rem;
    margin-bottom: 2rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    height: 350px;
    margin-bottom: 30px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px 30px;
    color: white;
}

.category-overlay h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 400;
}

/* Trusted By Section */
.trusted-section {
    padding: 50px 0;
    background-color: white;
}

.trusted-item {
    text-align: center;
    padding: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 600;
}

.trusted-item:hover {
    opacity: 1;
}

/* Collections & Products */
.products-section {
    padding: 100px 0;
    background-color: white;
}

.product-card {
    border: var(--antique-border);
    background: white;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--secondary-color);
}

.product-img-container {
    height: 350px;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
    border-radius: 0;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: white;
    color: var(--primary-color);
    padding: 5px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.card-body {
    padding: 25px 20px;
    text-align: center;
}

.product-category {
    font-size: 0.8rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    font-weight: 600;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

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

.original-price {
    text-decoration: line-through;
    color: var(--gray-color);
    font-weight: 400;
    font-size: 1rem;
    margin-left: 8px;
}

/* Story Section */
.story-section {
    padding: 120px 0;
    background-color: white;
    position: relative;
}

.story-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

.story-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.benefit-item {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.benefit-icon {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background-color: white;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* Design Services */
.design-services-section {
    padding: 100px 0;
    background-color: white;
}

.service-card {
    padding: 40px 30px;
    background-color: var(--bg-warm);
    height: 100%;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

/* Testimonial */
.testimonial-section {
    padding: 100px 0;
    background-color: var(--bg-warm);
}

.testimonial-card {
    background-color: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin: 15px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.stars {
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Newsletter */
.newsletter-section {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 20px;
    border-radius: 0;
    border-right: none;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 0;
    padding: 15px 30px;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.newsletter-form .btn:hover {
    background-color: #a3824d;
}

/* Footer */
.footer {
    background-color: white;
    color: var(--gray-color);
    padding: 80px 0 30px;
    border-top: 1px solid #eee;
}

.footer-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid #eee;
    padding-top: 25px;
    margin-top: 60px;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #a3824d;
}

/* Shop By Size */
.size-card {
    transition: all 0.3s ease;
    background-color: white;
}
.size-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--secondary-color) !important;
}

/* Hover Dropdown */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Modern Header Styles */
.header-middle {
    padding: 1rem 0;
    background-color: white;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
    display: inline-block;
}

.search-wrapper .input-group {
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 5px 20px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.search-wrapper .input-group:focus-within {
    background-color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.search-wrapper .form-control {
    border: none;
    padding: 8px 0;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.95rem;
    background: transparent;
    box-shadow: none;
}

.search-wrapper .input-group-text {
    background: transparent;
    border: none;
    color: var(--gray-color);
    padding-right: 0;
}

.header-icons {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.header-icons a {
    transition: transform 0.2s ease, color 0.2s ease;
}

.header-icons a:hover {
    transform: translateY(-2px);
    color: var(--secondary-color) !important;
}

.navbar-custom {
    border: none;
    padding: 0;
    background-color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    z-index: 100;
}

.navbar-custom .nav-link {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 1rem 1.5rem !important;
    color: var(--primary-color);
    transition: color 0.3s ease;
    position: relative;
}

.navbar-custom .nav-link:hover {
    color: var(--secondary-color);
}

/* Modern Nav Hover Effect */
.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after {
    width: 25px;
}

/* Refined Dropdown */
.dropdown-menu {
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px !important;
    background: #ffffff;
    min-width: 240px;
    animation: dropdownSlideUp 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    transform-origin: top center;
}

@keyframes dropdownSlideUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    padding: 12px 20px;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.dropdown-item:hover {
    background-color: var(--bg-warm);
    color: var(--secondary-color);
    padding-left: 25px;
    transform: translateX(5px);
}

/* Image Frame Effect */
.antique-frame {
    position: relative;
    padding: 10px;
    border: 1px solid rgba(0,0,0,0.08);
}
.antique-frame img {
    display: block;
    width: 100%;
}

/* --- Modern Redesign Styles --- */

/* Modern Hero */
.hero-modern {
    height: 85vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: zoomSlow 20s infinite alternate;
}
@keyframes zoomSlow {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
    z-index: 1;
}
.hero-content-modern {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding-left: 5%;
}
.hero-title-modern {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

/* Collection Grid (Bento Style) */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}
.collection-item {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}
.collection-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.collection-item:hover img {
    transform: scale(1.05);
}
.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    z-index: 1;
}
.collection-title {
    font-size: 1.8rem;
    font-weight: 600;
    bottom: 0;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

/* Grid Spans */
.span-2-row { grid-column: span 2; grid-row: span 2; }
.span-2-col { grid-column: span 2; grid-row: span 1; }
.span-1 { grid-column: span 1; grid-row: span 1; }

/* Modern Story Section */
.story-modern-img-wrapper {
    position: relative;
    height: 600px;
}
.story-img-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 85%;
    object-fit: cover;
    z-index: 1;
}
.story-img-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    object-fit: cover;
    z-index: 2;
    border: 15px solid white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Clean Product Card Overrides */
.product-card {
    border: none !important;
    box-shadow: none !important;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-img-container {
    border-radius: 0;
}

/* Size Cards Modern */
.size-card-modern {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    height: 100%;
}
.size-card-modern:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.size-card-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}
.size-info {
    flex-grow: 1;
}

@media (max-width: 768px) {
    .hero-title-modern { font-size: 3rem; }
    .story-modern-img-wrapper { height: 400px; margin-top: 30px; }
    .collection-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .span-2-row, .span-2-col, .span-1 { grid-column: span 1; grid-row: span 1; height: 250px; }
}

/* Mobile Navigation Improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 0 15px 20px;
        border-top: 1px solid rgba(0,0,0,0.05);
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    }
    
    .navbar-nav .nav-item {
        border-bottom: 1px solid #f5f5f5;
    }
    
    .navbar-nav .nav-link {
        padding: 15px 0 !important;
        font-size: 1rem;
        font-weight: 600;
    }
    
    .navbar-nav .nav-link:after {
        display: none;
    }
    
    .dropdown-menu {
        padding: 0 0 10px 20px;
        border: none;
        background: transparent;
        box-shadow: none;
        margin-top: 0 !important;
    }
    
    .dropdown-item {
        padding: 8px 0;
        color: var(--gray-color);
    }
    
    .header-icons.d-lg-none {
        background-color: var(--bg-warm);
        border-radius: 8px;
        padding: 20px;
        margin-top: 20px;
        border-top: none !important;
    }
}

/* Generic Slider Styles */
.slider-wrapper {
    position: relative;
    padding: 0 20px;
}
.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 5px 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.slider-container::-webkit-scrollbar {
    display: none;
}
.slide-item {
    min-width: 300px;
    flex: 0 0 auto;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: var(--primary-color);
}
.slider-arrow:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}
.arrow-left { left: -10px; }
.arrow-right { right: -10px; }

@media (max-width: 768px) {
    .slide-item { min-width: 260px; }
    .arrow-left { left: 0; }
    .arrow-right { right: 0; }
}

/* Consolidated Responsive Styles */
@media (max-width: 991.98px) {
    /* Tablet & Small Desktop */
    #heroCarousel .carousel-caption h1 { font-size: 2.8rem; }
    .section-title, .story-title { font-size: 2.5rem; }
    .stat-item:not(:last-child):after { display: none; }
    
    /* Collection Grid - 2 Columns */
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 15px;
    }
    .span-2-row { grid-column: span 2; height: 300px; }
    .span-2-col { grid-column: span 2; height: 250px; }
    .span-1 { grid-column: span 1; height: 250px; }
    
    .story-modern-img-wrapper { height: 500px; margin-top: 40px; }
    
    /* Adjust padding */
    .products-section, .categories-section, .story-section, .video-section, .design-services-section, .testimonial-section, .newsletter-section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    /* Mobile Landscape & Portrait */
    #heroCarousel .carousel-item { height: 65vh; min-height: 400px; }
    #heroCarousel .carousel-caption { bottom: 40px; left: 5%; right: 5%; padding-bottom: 0; transform: none; }
    #heroCarousel .carousel-caption h1 { font-size: 2rem; }
    #heroCarousel .carousel-caption p { font-size: 1rem; -webkit-line-clamp: 3; line-clamp: 3; }
    
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 2rem; }
    .display-4 { font-size: 2rem; }
    .newsletter-title { font-size: 1.8rem; }
    
    .navbar-nav .nav-link { padding: 0.5rem 0; }
    .navbar-nav .nav-link:after { left: 0; }
    .navbar-nav .nav-link:hover:after, .navbar-nav .nav-link.active:after { width: 100%; }
    
    /* Collection Grid - 1 Column */
    .collection-grid { grid-template-columns: 1fr; }
    .span-2-row, .span-2-col, .span-1 { grid-column: span 1; height: 250px; }
    
    .story-modern-img-wrapper { height: 350px; margin-top: 30px; }
    .story-img-2 { border-width: 8px; }
    .product-img-container { height: 250px; }
    
    .btn-hero, .btn-outline-hero { padding: 12px 25px; font-size: 0.8rem; }
    
    .size-card-modern { flex-direction: column; text-align: center; padding: 15px; }
    .size-card-img { margin-right: 0; margin-bottom: 10px; }
    .size-info { margin-bottom: 10px; }
    .size-card-modern i { display: none; }
    
    .card-body { padding: 15px; }
    
    .product-name { font-size: 1rem; }
    .product-price { font-size: 1rem; }
    
    .products-section, .categories-section, .story-section, .video-section, .design-services-section, .testimonial-section, .newsletter-section {
        padding: 40px 0;
    }

    .dropdown-menu {
        box-shadow: none;
        border: none;
        padding-left: 20px;
        margin-top: 0 !important;
        background-color: transparent;
    }
    .dropdown-item { padding: 8px 0; }
    .dropdown-item:hover { background-color: transparent; color: var(--secondary-color); padding-left: 5px; }
    
    /* Footer Responsive */
    .footer { padding: 50px 0 30px; text-align: center; }
    .footer .social-icons { justify-content: center; }
    .footer .contact-item { justify-content: center; text-align: left; }
}

@media (max-width: 576px) {
    /* Small Mobile */
    #heroCarousel .carousel-caption h1 { font-size: 1.8rem; }
    .navbar-brand { font-size: 1.8rem; }
    .stat-number { font-size: 2.5rem; }
    .product-img-container { height: 200px; }
}

/* Product Detail Page */
.product-detail-section {
    background-color: white;
}

/* Buttons Override for Detail Page */
.btn-hero {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 35px;
    border-radius: 0;
    font-weight: 600;
    border: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-hero:hover {
    background-color: #a3824d;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Size Selector */
.size-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.size-option {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}
.size-option:hover {
    background-color: var(--bg-warm);
    border-color: var(--secondary-color);
}
.size-option.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
}
.quantity-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    padding: 5px 15px;
    cursor: pointer;
    color: var(--gray-color);
}
.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 8px 0;
    font-weight: 600;
}
.quantity-input:focus {
    outline: none;
}

.product-gallery-main {
    height: 500px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.5s ease;
}

.product-gallery-main:hover img {
    transform: scale(1.05);
}

.product-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail.active, .thumbnail:hover {
    opacity: 1;
    border-color: var(--secondary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-price-large {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.retail-price {
    text-decoration: line-through;
    color: var(--gray-color);
    margin-left: 10px;
    font-size: 1.1rem;
}

.stock-badge {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.review-summary {
    color: #FFD700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.review-count {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-left: 8px;
    text-decoration: underline;
    cursor: pointer;
}

.rug-pad-option {
    background-color: var(--bg-warm);
    padding: 20px;
    border-radius: 5px;
    margin: 25px 0;
    border: 1px solid #eee;
}

.shipping-info {
    font-size: 0.9rem;
    color: #555;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.shipping-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.shipping-info i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Tabs */
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
    color: var(--gray-color);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid var(--secondary-color);
    color: var(--primary-color);
    background: transparent;
}

.tab-content {
    padding: 40px 0;
    color: #555;
    font-size: 1.05rem;
}

/* Reviews */
.review-card {
    background-color: white;
    border-radius: 0;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: transparent;
}

.review-stars {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.review-text {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.reviews-overview {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.review-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.review-author {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.review-date {
    color: #aaa;
    font-style: italic;
}

.verified-badge {
    color: #198754;
    margin-left: 5px;
}

.review-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.review-bar-label {
    width: 20px;
    font-weight: 600;
}

.review-bar-bg {
    flex-grow: 1;
    height: 8px;
    background-color: #eee;
    margin: 0 10px;
    border-radius: 4px;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 4px;
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #eee;
    }
}

.review-bar-count {
    width: 30px;
    text-align: right;
    color: var(--gray-color);
}

/* Review Carousel Styles */
.reviews-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.reviews-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 5px 20px 5px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.reviews-scroll-container::-webkit-scrollbar {
    display: none;
}

.reviews-scroll-container .review-card {
    width: 400px;
    min-width: 400px;
    height: 280px;
    flex: 0 0 auto;
    margin-bottom: 0;
}

.review-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.review-nav-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.review-nav-btn.prev-btn {
    left: 0;
}

.review-nav-btn.next-btn {
    right: 0;
}

@media (max-width: 768px) {
    .reviews-carousel-wrapper {
        padding: 0;
    }
    .reviews-scroll-container .review-card {
        width: 300px;
        min-width: 300px;
    }
    .review-nav-btn {
        display: none;
    }
    .product-gallery-main {
        height: 350px;
    }
    .product-price-large {
        font-size: 1.8rem;
    }
}

/* Cart Page Styles */
.cart-table thead th {
    border-bottom: 2px solid #eee;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding-bottom: 15px;
    color: var(--primary-color);
}

.cart-item-row {
    border-bottom: 1px solid #eee;
}

.cart-item-row td {
    padding: 25px 0;
    vertical-align: middle;
}

.cart-product-img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-product-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-decoration: none;
    color: var(--primary-color);
    display: block;
}

.cart-product-meta {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    width: fit-content;
    border-radius: 4px;
}

.qty-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    color: var(--gray-color);
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-weight: 600;
    background: transparent;
}

.remove-btn {
    color: var(--gray-color);
    background: none;
    border: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.remove-btn:hover {
    color: #dc3545;
}

.order-summary {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.btn-checkout {
    background-color: var(--secondary-color);
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 25px;
    transition: all 0.3s;
}

.btn-checkout:hover {
    background-color: #a3824d;
    color: white;
}

/* Account Page Styles */
.account-container {
    min-height: calc(100vh - 300px);
}

.account-sidebar {
    background-color: white;
    padding: 30px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.account-sidebar .nav-link {
    color: var(--primary-color);
    padding: 12px 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.account-sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.account-sidebar .nav-link:hover,
.account-sidebar .nav-link.active {
    background-color: rgba(197, 160, 101, 0.1);
    border-left-color: var(--secondary-color);
    color: var(--secondary-color);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 auto 15px;
}

.user-name {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

.user-email {
    color: var(--gray-color);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 30px;
}

/* Dashboard Content */
.dashboard-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.profile-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    font-family: var(--font-heading);
}

.dashboard-date {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--secondary-light);
}

.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(197, 160, 101, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-info {
    flex-grow: 1;
}

.stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 2px;
    font-family: var(--font-body);
}

.stat-card .stat-label {
    color: var(--gray-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.recent-activity {
    background-color: white;
    padding: 0;
}

.activity-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.activity-timeline {
    position: relative;
    padding-left: 20px;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 5px;
    bottom: 20px;
    width: 2px;
    background-color: #f0f0f0;
}

.activity-item {
    position: relative;
    padding-bottom: 35px;
    padding-left: 35px;
}

.activity-item:last-child {
    padding-bottom: 0;
}

.activity-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid var(--secondary-color);
    z-index: 1;
}

.activity-content {
    background-color: var(--bg-warm);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.2s;
    border: 1px solid transparent;
}

.activity-content:hover {
    transform: translateX(5px);
    border-color: rgba(197, 160, 101, 0.3);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.activity-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.activity-text {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.activity-time {
    color: var(--gray-color);
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Breadcrumb */
.breadcrumb-container {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Checkout Page Styles */
.checkout-section {
    padding: 50px 0;
}

.checkout-form-container {
    background: white;
    padding: 30px;
    border-radius: 5px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-right: 15px;
    font-family: var(--font-body);
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 0;
    border: 1px solid #ddd;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.order-summary-sticky {
    position: sticky;
    top: 100px;
}

.order-summary-card {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.summary-product-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.summary-product-img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    position: relative;
}

.summary-product-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--gray-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-product-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.summary-product-meta {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--gray-color);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.btn-place-order {
    background-color: var(--secondary-color);
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 25px;
    transition: all 0.3s;
}

.btn-place-order:hover {
    background-color: #a3824d;
    color: white;
}

.payment-option {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option.active {
    border-color: var(--secondary-color);
    background-color: rgba(197, 160, 101, 0.05);
}

.payment-option .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Category Page Styles */
.hero-section {
    background-color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.page-title {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-count {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Sidebar Filters */
.filter-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.filter-options {
    list-style: none;
    padding-left: 0;
}

.filter-options li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: var(--gray-color);
}

.filter-options input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: var(--secondary-color);
}

.filter-options label {
    cursor: pointer;
    margin-bottom: 0;
}

/* Promo Banner */
.promo-banner {
    background-color: var(--bg-warm);
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.promo-banner i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #eee;
    margin: 0 5px;
    border-radius: 0;
    padding: 10px 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination .page-link:hover {
    background-color: var(--bg-warm);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    background-color: transparent;
    border-color: #eee;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
}
.empty-cart i {
    font-size: 4rem;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.btn-shop {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 600;
    border: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-shop:hover {
    background-color: #a3824d;
    color: white;
}

/* Favorites Page Styles */
.empty-favorites {
    text-align: center;
    padding: 80px 20px;
    background-color: white;
    border-radius: 5px;
    border: 2px dashed #eee;
}

.empty-favorites i {
    font-size: 4rem;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.empty-favorites h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.empty-favorites p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

/* Orders Page Styles */
.orders-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.order-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.order-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.order-id {
    font-weight: 600;
    color: var(--primary-color);
}

.order-date {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.order-status {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-delivered {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-processing {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-shipped {
    background-color: #fff3e0;
    color: #ef6c00;
}

.order-details {
    display: flex;
    align-items: center;
}

.order-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 15px;
}

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

.order-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.order-info p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.order-total {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

/* Payment & Checkout Page Styles */
.checkout-section {
    padding: 50px 0;
}

.checkout-form-container {
    background: white;
    padding: 30px;
    border-radius: 5px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 0;
    border: 1px solid #ddd;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

.order-summary-sticky {
    position: sticky;
    top: 100px;
}

.order-summary-card {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.summary-product-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.summary-product-img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    position: relative;
}

.summary-product-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--gray-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-product-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.summary-product-meta {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--gray-color);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.btn-place-order {
    background-color: var(--secondary-color);
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 25px;
    transition: all 0.3s;
}

.btn-place-order:hover {
    background-color: #a3824d;
    color: white;
}

.payment-option {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option.active {
    border-color: var(--secondary-color);
    background-color: rgba(197, 160, 101, 0.05);
}

.payment-option .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Profile Page Styles */
.profile-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.edit-btn {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.edit-btn i {
    margin-right: 5px;
}

.edit-btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.save-btn {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.save-btn i {
    margin-right: 5px;
}

.save-btn:hover {
    background-color: #a3824d;
    border-color: #a3824d;
}

.cancel-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    color: var(--gray-color);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    margin-left: 10px;
}

.cancel-btn:hover {
    background-color: #f8f9fa;
    border-color: #aaa;
}

.profile-field {
    margin-bottom: 25px;
}

.field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.field-value {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.field-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
}

.field-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(197, 160, 101, 0.2);
}

/* Addresses Content */
.addresses-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.address-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s;
    position: relative;
}

.address-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.address-default {
    border-color: var(--secondary-color);
    background-color: rgba(197, 160, 101, 0.05);
}

.default-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.address-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.address-actions .btn {
    padding: 6px 15px;
    font-size: 0.85rem;
}

.btn-outline-hero {
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 0;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-outline-hero:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .account-sidebar {
        margin-bottom: 30px;
    }
    
    .profile-content,
    .orders-content,
    .dashboard-content,
    .addresses-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .edit-btn {
        margin-top: 15px;
    }
}

/* Security Page Styles */
/* (Uses Profile Page Styles: .profile-content, .profile-field, .field-label, .field-input, .save-btn) */

/* Wishlist Page Styles */
.orders-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.order-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.order-details {
    display: flex;
    align-items: center;
}

.order-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 15px;
}

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

.order-card .btn-hero, 
.order-card .btn-outline-hero {
    padding: 8px 20px;
    font-size: 0.8rem;
    border-width: 1px;
}