/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
.section-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.btn-primary:hover {
    background-color: #333;
    border-color: #333;
}

.btn-outline {
    background-color: white;
    color: black;
    border-color: black;
}

.btn-outline:hover {
    background-color: black;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: 1px solid #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo h1 {
    font-family: 'Mariage Regular';
    font-size: 2.2rem;
    font-weight: 200;
    color: rgb(155, 20, 20);
}

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

.nav-link {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1a1a1a;
}

.icon-link {
    color: #333;
    font-size: 1.2rem;
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
}

.hero-content {
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
    opacity: 0.9;
}

/* Featured Section */
.featured-section {
    padding: 5rem 0;
    background-color: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.furniture-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.furniture-card:hover {
    transform: translateY(-5px);
}

.furniture-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.furniture-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.wishlist-toggle-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.wishlist-toggle-btn i {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.wishlist-toggle-btn.in-wishlist i {
    color: #e74c3c;
}

.wishlist-toggle-btn:hover i {
    color: #e74c3c;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #1a1a1a;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.furniture-content {
    padding: 1.5rem;
}

.furniture-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.furniture-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}



.view-details-btn {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

.text-center {
    text-align: center;
}

/* Category Section */
.category-section {
    padding: 5rem 0;
}

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

.category-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.category-image {
    width: 100%;
    height: 100%;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 2rem 1.5rem 1.5rem;
}

.category-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Crafted Section */
.crafted-section {
    padding: 5rem 0;
    background-color: #fafafa;
}

.crafted-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.crafted-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.crafted-text p {
    margin-bottom: 1.5rem;
    color: black;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-info h4 {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #fafafa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: #1a1a1a;
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

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

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

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

.footer-section ul li a:hover {
    color: #fff;
}

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

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .crafted-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-image {
        width: 35px;
        height: 35px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.page-header .page-title, .page-header .page-subtitle {
    color: #fff !important;
}

/* Categories Page Styles */
.categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.category-card p {
    color: #666;
    margin-bottom: 1rem;
}

.item-count {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* About Page Styles */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 0.5rem;
    text-align: center;
}

.image-placeholder span {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: black;
    font-size: 1.1rem;
}

.values-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

.stats-section {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.team-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.member-image {
    margin-bottom: 1.5rem;
}

.member-image .image-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.member-image .image-placeholder span {
    font-size: 3rem;
}

.team-member h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.team-member p:first-of-type {
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member p:last-of-type {
    color: #666;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-info > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.map-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.map-placeholder {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-content span {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.map-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.map-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.map-details {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.map-details p {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Product Details Page Styles */
.product-details-section {
    padding: 120px 0 80px;
}

.product-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-images {
    position: relative;
}

.main-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.product-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.product-badge {
    background: #1a1a1a;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}



.stock-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.stock-status.in-stock {
    background: #e8f5e8;
    color: #2d5a2d;
}

.stock-status.out-of-stock {
    background: #ffe8e8;
    color: #5a2d2d;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.product-specifications {
    margin: 4rem 0;
}

.product-specifications h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

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

.spec-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.spec-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.spec-item p {
    color: #666;
    line-height: 1.6;
}

.related-products {
    margin: 4rem 0;
}

.related-products h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

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

.related-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
}

.related-product-image {
    position: relative;
    height: 200px;
}

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

.related-product-info {
    padding: 1.5rem;
}

.related-product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}



/* Responsive Design for Product Details */
@media (max-width: 768px) {
    .product-details-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-header h1 {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .product-header h1 {
        font-size: 1.8rem;
    }
    

}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 1rem;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 0;
}

.close {
    font-size: 1.5rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #1a1a1a;
}

.modal form {
    padding: 1.5rem 2rem 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    flex: 1;
}

/* User Menu Styles */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    margin-top: 0.5rem;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: #1a1a1a;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.user-dropdown a:hover {
    background-color: #f5f5f5;
}

.user-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.user-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #eee;
}

/* Wishlist Styles */
#wishlist-items {
    padding: 1.5rem 2rem 2rem;
    max-height: 500px;
    overflow-y: auto;
}

.wishlist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.wishlist-item:hover {
    background-color: #f8f9fa;
}

.wishlist-item:last-child {
    border-bottom: none;
}

.wishlist-item-image {
    flex-shrink: 0;
}

.wishlist-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wishlist-item-info {
    flex: 1;
    min-width: 0;
}

.wishlist-item-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.wishlist-item-description {
    margin: 0 0 1rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.wishlist-item-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wishlist-view-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wishlist-view-btn:hover {
    background: #333;
}

.wishlist-item-remove {
    background: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.wishlist-item-remove:hover {
    background-color: #c82333;
}

.empty-wishlist {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.empty-wishlist i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.wishlist-empty-subtitle {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.5rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.view-all-wishlist-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 2rem 2rem;
    width: calc(100% - 4rem);
    justify-content: center;
}

.view-all-wishlist-btn:hover {
    background: #218838;
}

/* Mobile Dropdown Menu Styles */
.menu-btn {
    display: none;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 7px 16px;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 1rem;
    z-index: 1100;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.menu-btn:hover, .menu-btn:active {
    background: #333;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 480px) {
    .menu-btn {
        font-size: 0.95rem;
        padding: 6px 12px;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .menu-btn {
        font-size: 1.05rem;
        padding: 8px 18px;
    }
}

.mobile-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    z-index: 1050;
    padding: 1rem 0;
    gap: 1rem;
    margin: 0;
    list-style: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-10px) scaleY(0.98);
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1);
}
.mobile-dropdown.active {
    display: flex;
    opacity: 1;
    transform: translateY(0) scaleY(1);
    pointer-events: auto;
}
.mobile-dropdown li {
    text-align: center;
    padding: 0.5rem 0;
    transition: background 0.2s;
}
.mobile-dropdown li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.mobile-dropdown li a:hover, .mobile-dropdown li a:active {
    background: #f5f5f5;
    color: #b22222;
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    .menu-btn {
        display: inline-block;
    }
    .mobile-dropdown {
        display: none;
    }
    .mobile-dropdown.active {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
        margin-top: 60px;
        padding-bottom: 2rem;
    }
    .featured-section,
    .category-section,
    .crafted-section,
    .testimonials-section,
    .contact-section,
    .about-section,
    .values-section,
    .stats-section,
    .team-section {
        padding: 2.5rem 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
}
@media (max-width: 480px) {
    .hero {
        height: 45vh;
        margin-top: 45px;
        padding-bottom: 1rem;
    }
    .featured-section,
    .category-section,
    .crafted-section,
    .testimonials-section,
    .contact-section,
    .about-section,
    .values-section,
    .stats-section,
    .team-section {
        padding: 1.2rem 0;
    }
    .section-header {
        margin-bottom: 1.2rem;
    }
    .container {
        padding: 0 8px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}
@media (max-width: 480px) {
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.7rem !important;
    }
}
.products-grid .product-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.products-grid .product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Animated Horizontal Text Section */
.horizontal-text-section {
    background: transparent;
    padding: 2.5rem 0 2rem 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.horizontal-text-anim {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    width: 100vw;
    position: relative;
}
.horizontal-text-anim span {
    display: inline-block;
    font-size: 2.0rem;
    font-weight: 900;
    color: orangered;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    animation: scroll-horizontal-text 15s linear infinite;
}
@keyframes scroll-horizontal-text {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}
@media (max-width: 768px) {
    .horizontal-text-anim span {
        font-size: 1.5rem;
    }
    .horizontal-text-section {
        padding: 1.2rem 0 1rem 0;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0 0 0;
}
.pagination-btn {
    background: #fff;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.pagination-btn.active, .pagination-btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.pagination-btn.prev-btn,
.pagination-btn.next-btn {
    background: #333;
    color: white;
    border-color: #333;
    font-weight: 500;
}

.pagination-btn.prev-btn:hover,
.pagination-btn.next-btn:hover {
    background: #555;
    border-color: #555;
}

/* Category Count Display */
.category-count {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Category Filter Message */
.category-filter-message,
.recent-products-message,
.wishlist-products-message {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    animation: slideInDown 0.3s ease;
}

.filter-message-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.filter-message-content i {
    color: #4caf50;
    font-size: 1.2rem;
}

.filter-message-content span {
    color: #2e7d32;
    font-weight: 500;
}

.clear-filter-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.clear-filter-btn:hover {
    background: #45a049;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User Dashboard Styles */
.user-dashboard-content {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.user-dashboard-body {
    padding: 2rem;
}

.user-info-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.user-avatar {
    font-size: 3rem;
    color: #1a1a1a;
}

.user-details h4 {
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
    font-size: 1.5rem;
}

.user-details p {
    margin: 0.25rem 0;
    color: #666;
}

.member-since {
    font-size: 0.9rem;
    color: #999;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.stat-item i {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.stat-item span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.stat-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.dashboard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dashboard-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dashboard-btn:hover {
    background: #f8f9fa;
    border-color: #1a1a1a;
}

.dashboard-btn.logout-btn {
    color: #dc3545;
    border-color: #dc3545;
}

.dashboard-btn.logout-btn:hover {
    background: #dc3545;
    color: #fff;
}

/* FAQ Styles */
.faq-content {
    max-height: 60vh;
    overflow-y: auto;
}

.faq-section {
    margin-bottom: 2rem;
}

.faq-section h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h5 {
    margin: 0;
    color: #1a1a1a;
    font-size: 1rem;
}

.faq-question i {
    color: #666;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.faq-answer p {
    margin: 0;
    padding: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Policy and Terms Styles */
.policy-content,
.terms-content {
    max-height: 60vh;
    overflow-y: auto;
}

.policy-section,
.terms-section {
    margin-bottom: 2rem;
}

.policy-section h4,
.terms-section h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.policy-section p,
.terms-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1a1a1a;
}

/* Responsive Design for New Features */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-actions {
        grid-template-columns: 1fr;
    }
    
    .user-info-section {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .faq-question h5 {
        font-size: 0.9rem;
    }
    
    .policy-section h4,
    .terms-section h4 {
        font-size: 1.1rem;
    }
}

/* --- HERO SECTION RESPONSIVE IMPROVEMENTS --- */
@media (max-width: 1024px) {
  .hero {
    height: 70vh;
    margin-top: 70px;
    padding-bottom: 2rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-content {
    max-width: 90vw;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .hero {
    height: 55vh;
    margin-top: 60px;
    padding-bottom: 1.5rem;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
  }
  .hero-content {
    max-width: 98vw;
    padding: 0 6px;
  }
  .hero-background video,
  .hero-background img {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
  }
}
@media (max-width: 480px) {
  .hero {
    height: 38vh;
    margin-top: 40px;
    padding-bottom: 0.5rem;
  }
  .hero-title {
    font-size: 1.1rem;
    line-height: 1.2;
    word-break: break-word;
  }
  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.2;
    word-break: break-word;
  }
  .hero-content {
    max-width: 100vw;
    padding: 0 2px;
  }
  .hero-background video,
  .hero-background img {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
  }
}
/* Ensure hero-content is always above background */
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-background {
  z-index: 1;
}

/* --- GLOBAL RESPONSIVE IMPROVEMENTS --- */
@media (max-width: 1024px) {
  .featured-grid, .category-grid, .testimonials-grid, .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .about-content, .crafted-content, .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .header {
    padding: 0.5rem 0;
  }
  .nav-wrapper {
    flex-direction: row;
    padding: 0.5rem 0;
  }
  .featured-grid, .category-grid, .testimonials-grid, .footer-content {
    grid-template-columns: 1fr;
  }
  .category-card, .furniture-card, .testimonial-card {
    margin-bottom: 1rem;
  }
  .about-content, .crafted-content, .contact-content {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .footer-content {
    text-align: center;
    gap: 1.2rem;
  }
  .footer-section {
    margin-bottom: 1.2rem;
  }
  .modal-content {
    width: 95vw;
    min-width: unset;
    padding: 1rem;
  }
}
@media (max-width: 600px) {
  .nav-wrapper {
    flex-direction: row;
    gap: 0.5rem;
  }
  .logo {
    flex-direction: row;
    gap: 0.5rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .footer-section {
    margin-bottom: 0.7rem;
  }
  .modal-content {
    width: 99vw;
    min-width: unset;
    padding: 0.5rem;
  }
}
@media (max-width: 480px) {
  .header {
    padding: 0.2rem 0;
  }
  .nav-wrapper {
    flex-direction: row;
    gap: 0.2rem;
  }
  .logo {
    flex-direction: row;
    gap: 0.2rem;
  }
  .featured-grid, .category-grid, .testimonials-grid, .footer-content {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .category-card, .furniture-card, .testimonial-card {
    margin-bottom: 0.5rem;
  }
  .about-content, .crafted-content, .contact-content {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .footer-section {
    margin-bottom: 0.3rem;
  }
  .modal-content {
    width: 100vw;
    min-width: unset;
    padding: 0.2rem;
  }
  .btn, .btn-primary, .btn-outline, .btn-secondary {
    padding: 10px 12px;
    font-size: 0.95rem;
    min-width: 44px;
    min-height: 44px;
  }
}
/* Touch-friendly modals and buttons */
.modal-content, .btn, .btn-primary, .btn-outline, .btn-secondary {
  touch-action: manipulation;
}

.about-image .image-placeholder img{
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.crafted-text .section-title {
    color: black;
}

