/* ===================================
   HomeCraft Furniture - Main Stylesheet
   =================================== */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #d35400;
    --text-color: #333;
    --text-light: #666;
    --text-muted: #888;
    --bg-light: #faf9f7;
    --bg-white: #fff;
    --border-color: #eee;
    --shadow: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #fff;
    font-weight: 700;
}

.logo span { color: var(--secondary-color); }

nav ul { display: flex; list-style: none; gap: 30px; }
nav a { color: #fff; font-weight: 400; font-size: 15px; }
nav a:hover, nav a.active { color: var(--secondary-color); }

.header-icons { display: flex; align-items: center; gap: 15px; }
.cart-icon { color: #fff; font-size: 20px; position: relative; }
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary { background: var(--secondary-color); color: #fff; }
.btn-primary:hover { background: var(--accent-color); }
.btn-secondary { background: var(--primary-color); color: #fff; }
.btn-secondary:hover { background: #1a252f; }
.btn-outline { background: transparent; border-color: var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: #fff; }
.btn-outline-white { background: transparent; border-color: #fff; color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--primary-color); }
.btn-large { padding: 16px 36px; font-size: 16px; }
.btn-small { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; }
.btn-icon { padding: 12px 16px; }

.btn-add-cart {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    transition: background var(--transition);
}
.btn-add-cart:hover { background: var(--secondary-color); }

/* Hero Sections */
.hero-home {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=1600') center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content {
    max-width: 600px;
    padding: 0 20px;
    margin-left: 10%;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 15px; }

.page-header {
    background: linear-gradient(rgba(44,62,80,0.9), rgba(44,62,80,0.9)), 
                url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=1600') center/cover;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p { font-size: 18px; opacity: 0.9; }
.breadcrumb { font-size: 14px; margin-top: 15px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--secondary-color); }

.breadcrumb-bar { background: #f5f5f5; padding: 15px 0; }
.breadcrumb-bar .breadcrumb { margin-top: 0; color: var(--text-muted); }
.breadcrumb-bar .breadcrumb a { color: var(--text-light); }

/* Section Styling */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.section-header p { color: var(--text-light); font-size: 16px; }

/* Features Bar */
.features-bar {
    background: var(--bg-white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.features-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.feature { display: flex; align-items: center; gap: 15px; }
.feature-icon { font-size: 28px; }
.feature h4 { font-size: 14px; margin-bottom: 2px; }
.feature p { font-size: 13px; color: var(--text-muted); }

/* Categories Section */
.categories-section { padding: 80px 0; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.category-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 5px;
}

.category-overlay span { font-size: 14px; opacity: 0.8; }

/* Products Grid */
.featured-products, .related-products, .cart-recommendations {
    padding: 80px 0;
    background: var(--bg-white);
}

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-image { position: relative; height: 280px; overflow: hidden; }
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.product-card:hover .product-image img { transform: scale(1.05); }

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.product-badge.sale { background: #e74c3c; }

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity var(--transition);
}
.product-card:hover .product-actions { opacity: 1; }

.action-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.action-btn:hover { background: var(--secondary-color); }

.product-info { padding: 20px; }
.product-category {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h3 { font-size: 16px; margin: 8px 0; line-height: 1.4; }
.product-info h3 a:hover { color: var(--secondary-color); }
.product-rating { font-size: 13px; margin-bottom: 10px; }
.product-rating span { color: var(--text-muted); }

.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.current-price { font-size: 20px; font-weight: 700; color: var(--primary-color); }
.original-price { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
.view-all-container { text-align: center; margin-top: 50px; }

/* Promo Banner */
.promo-banner {
    background: linear-gradient(rgba(230,126,34,0.95), rgba(211,84,0,0.95)), 
                url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=1600') center/cover;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.promo-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 10px;
}
.promo-content p { font-size: 20px; margin-bottom: 25px; opacity: 0.9; }

/* Why Choose Us */
.why-us { padding: 80px 0; }
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.why-us-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.why-us-content p { color: var(--text-light); margin-bottom: 25px; }
.why-us-list { list-style: none; margin-bottom: 30px; }
.why-us-list li { padding: 10px 0; font-size: 16px; color: var(--text-color); }
.why-us-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-hover); }

/* Testimonials */
.testimonials { padding: 80px 0; background: var(--bg-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
}
.testimonial-rating { font-size: 18px; margin-bottom: 15px; }
.testimonial-card p { color: var(--text-light); font-style: italic; margin-bottom: 20px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-author h4 { font-size: 15px; margin-bottom: 3px; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }

/* Blog Preview */
.blog-preview { padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.blog-card-home {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card-home:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.blog-card-home img { width: 100%; height: 220px; object-fit: cover; }

.blog-card-content { padding: 25px; }
.blog-date { font-size: 13px; color: var(--text-muted); }
.blog-card-content h3 { font-size: 18px; margin: 10px 0; line-height: 1.4; }
.blog-card-content h3 a:hover { color: var(--secondary-color); }
.blog-card-content p { font-size: 14px; color: var(--text-light); margin-bottom: 15px; }
.read-more { color: var(--secondary-color); font-weight: 600; font-size: 14px; }
.read-more:hover { color: var(--accent-color); }

/* Newsletter */
.newsletter { background: var(--primary-color); padding: 60px 0; }
.newsletter-content { text-align: center; color: #fff; }
.newsletter-content h2 { font-family: 'Playfair Display', serif; font-size: 32px; margin-bottom: 10px; }
.newsletter-content p { margin-bottom: 25px; opacity: 0.9; }
.newsletter-form-home { display: flex; max-width: 500px; margin: 0 auto; gap: 10px; }
.newsletter-form-home input { flex: 1; padding: 15px 20px; border: none; border-radius: var(--radius-sm); font-size: 15px; }
.newsletter-note { display: block; margin-top: 15px; font-size: 13px; opacity: 0.7; }

/* Footer */
footer { background: var(--primary-color); color: #fff; padding: 60px 0 30px; }
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
}

.footer-logo { font-family: 'Playfair Display', serif; font-size: 24px; display: block; margin-bottom: 15px; }
.footer-logo span { color: var(--secondary-color); }
.footer-col p { color: #aaa; font-size: 14px; margin-bottom: 20px; }
.footer-col h4 { font-size: 16px; margin-bottom: 20px; color: var(--secondary-color); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #aaa; font-size: 14px; }
.footer-col ul a:hover { color: var(--secondary-color); }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.social-links a:hover { background: var(--secondary-color); }

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #aaa;
    font-size: 14px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #aaa; }
.footer-links a:hover { color: var(--secondary-color); }
.payment-methods { display: flex; gap: 10px; align-items: center; }

/* Shop Page */
.shop-section { padding: 60px 0; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.shop-sidebar { position: sticky; top: 100px; height: fit-content; }

.filter-section {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.filter-section h3 { font-size: 16px; margin-bottom: 15px; color: var(--primary-color); }
.filter-list { list-style: none; }
.filter-list li { margin-bottom: 10px; }
.filter-list label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.filter-list span { margin-left: auto; color: var(--text-muted); font-size: 13px; }

.price-range { padding: 10px 0; }
.price-slider { width: 100%; margin-bottom: 15px; }
.price-inputs { display: flex; align-items: center; gap: 10px; }
.price-inputs input { width: 80px; padding: 8px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 14px; }

.color-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.color-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}
.color-btn:hover, .color-btn.active { border-color: var(--primary-color); transform: scale(1.1); }

.shop-main { min-width: 0; }
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.results-count { font-size: 14px; color: var(--text-light); }
.toolbar-right { display: flex; align-items: center; gap: 20px; }
.sort-by { display: flex; align-items: center; gap: 10px; }
.sort-by label { font-size: 14px; color: var(--text-light); }
.sort-by select { padding: 8px 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 14px; }

.view-toggle { display: flex; gap: 5px; }
.view-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}
.view-btn.active, .view-btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 50px; }
.page-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: all var(--transition);
}
.page-btn:hover:not(.disabled) { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.page-btn.disabled { opacity: 0.5; cursor: not-allowed; }
.page-numbers { display: flex; gap: 5px; }
.page-num {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: all var(--transition);
}
.page-num.active, .page-num:hover { background: var(--secondary-color); color: #fff; border-color: var(--secondary-color); }

/* Product Detail Page */
.product-detail { padding: 60px 0; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.product-gallery { position: sticky; top: 100px; height: fit-content; }

.main-image { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 15px; }
.main-image img { width: 100%; height: 500px; object-fit: cover; }
.zoom-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: var(--shadow);
}

.thumbnail-gallery { display: flex; gap: 10px; }
.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}
.thumbnail.active, .thumbnail:hover { border-color: var(--secondary-color); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.product-info-detail { padding-top: 20px; }
.product-badge-large {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-info-detail h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-rating-detail { font-size: 16px; margin-bottom: 20px; }
.product-rating-detail span { font-weight: 600; margin: 0 5px; }
.product-rating-detail a { color: var(--secondary-color); }

.product-price-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.product-price-detail .current-price { font-size: 32px; }
.discount-badge {
    background: #e74c3c;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.product-description { color: var(--text-light); margin-bottom: 25px; line-height: 1.8; }

.product-option { margin-bottom: 25px; }
.product-option h4 { font-size: 14px; margin-bottom: 12px; }
.product-option h4 span { font-weight: 400; color: var(--text-muted); }

.color-options { display: flex; gap: 10px; }
.color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}
.color-option.active, .color-option:hover { border-color: var(--primary-color); transform: scale(1.1); }

.size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-option {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: all var(--transition);
}
.size-option.active, .size-option:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: #fff;
}

.product-actions-detail { display: flex; gap: 15px; margin-bottom: 15px; }
.quantity-selector { display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: var(--radius-sm); }
.qty-btn {
    width: 40px;
    height: 48px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    transition: background var(--transition);
}
.qty-btn:hover { background: var(--bg-light); }
.quantity-selector input { width: 50px; height: 48px; border: none; text-align: center; font-size: 16px; font-weight: 600; }

.product-meta { margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--border-color); }
.meta-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.meta-label { font-weight: 600; color: var(--text-light); }
.meta-item a { color: var(--secondary-color); }
.in-stock { color: #27ae60; font-weight: 600; }

.product-features { margin-top: 30px; padding: 25px; background: var(--bg-light); border-radius: var(--radius); }
.feature-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.feature-item:last-child { margin-bottom: 0; }
.feature-item span:first-child { font-size: 24px; }
.feature-item strong { display: block; margin-bottom: 3px; }
.feature-item p { font-size: 13px; color: var(--text-muted); }

/* Product Tabs */
.product-tabs { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tab-buttons { display: flex; border-bottom: 1px solid var(--border-color); }
.tab-btn {
    flex: 1;
    padding: 18px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}
.tab-btn.active, .tab-btn:hover { color: var(--secondary-color); border-bottom-color: var(--secondary-color); }
.tab-content { display: none; padding: 40px; }
.tab-content.active { display: block; }
.tab-content h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 20px; color: var(--primary-color); }
.tab-content h4 { font-size: 16px; margin: 25px 0 15px; }
.tab-content p { color: var(--text-light); margin-bottom: 15px; }
.tab-content ul { margin-left: 20px; color: var(--text-light); }
.tab-content ul li { margin-bottom: 8px; }

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border-color); }
.specs-table td { padding: 15px; }
.specs-table td:first-child { font-weight: 600; width: 40%; color: var(--text-light); }

/* Reviews */
.reviews-summary { display: flex; gap: 60px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border-color); }
.rating-overview { text-align: center; }
.rating-big { font-size: 60px; font-weight: 700; color: var(--primary-color); }
.rating-stars { font-size: 24px; margin: 10px 0; }
.rating-count { font-size: 14px; color: var(--text-muted); }
.rating-bars { flex: 1; }
.rating-bar { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; font-size: 14px; }
.rating-bar .bar { flex: 1; height: 10px; background: var(--border-color); border-radius: 5px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--secondary-color); border-radius: 5px; }

.reviews-list { margin: 30px 0; }
.review-item { padding: 25px 0; border-bottom: 1px solid var(--border-color); }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.reviewer-info { display: flex; align-items: center; gap: 15px; }
.reviewer-info img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.reviewer-info strong { display: block; }
.verified { font-size: 12px; color: #27ae60; }
.review-rating { font-size: 14px; }
.review-item h4 { font-size: 16px; margin-bottom: 10px; }
.review-item p { color: var(--text-light); line-height: 1.7; }
.review-date { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

/* Blog Page */
.blog-header {
    background: linear-gradient(rgba(44,62,80,0.9), rgba(44,62,80,0.9)), 
                url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=1600') center/cover;
}
.blog-section { padding: 60px 0; }
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; }

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.blog-card.featured { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 50px; }

.blog-card-image { position: relative; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; min-height: 250px; }
.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card-content { padding: 30px; }
.blog-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); margin-bottom: 15px; }
.blog-card h2 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 15px; line-height: 1.3; }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--secondary-color); }
.blog-card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--text-light); margin-bottom: 15px; }
.read-more-btn { display: inline-block; color: var(--secondary-color); font-weight: 600; font-size: 14px; }

.blog-grid-page { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.blog-grid-page .blog-card { margin-bottom: 0; }
.blog-grid-page .blog-card-image img { height: 200px; }

/* Blog Sidebar */
.blog-sidebar .sidebar-widget {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}
.blog-sidebar .sidebar-widget h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    color: var(--primary-color);
}

.search-form { display: flex; }
.search-form input { flex: 1; padding: 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 14px; }
.search-form button { padding: 12px 18px; background: var(--secondary-color); border: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; cursor: pointer; }

.category-list { list-style: none; }
.category-list li { border-bottom: 1px solid var(--border-color); }
.category-list li:last-child { border-bottom: none; }
.category-list a { display: flex; justify-content: space-between; padding: 12px 0; font-size: 14px; color: var(--text-light); }
.category-list a:hover { color: var(--secondary-color); }
.category-list span { color: var(--text-muted); }

.popular-posts { display: flex; flex-direction: column; gap: 15px; }
.popular-post { display: flex; gap: 15px; }
.popular-post img { width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: cover; }
.popular-post h4 { font-size: 14px; line-height: 1.4; margin-bottom: 5px; }
.popular-post h4:hover { color: var(--secondary-color); }
.popular-post span { font-size: 12px; color: var(--text-muted); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 14px; background: var(--bg-light); border-radius: 20px; font-size: 13px; color: var(--text-light); transition: all var(--transition); }
.tag:hover { background: var(--secondary-color); color: #fff; }

.newsletter-widget { background: var(--primary-color) !important; color: #fff; }
.newsletter-widget h3 { color: #fff !important; border-bottom-color: var(--secondary-color) !important; }
.newsletter-widget p { font-size: 14px; margin-bottom: 15px; opacity: 0.9; }
.newsletter-form-sidebar input { width: 100%; padding: 12px; border: none; border-radius: var(--radius-sm); margin-bottom: 10px; }

.instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.instagram-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.instagram-follow { display: block; text-align: center; margin-top: 15px; color: var(--secondary-color); font-weight: 600; }

/* About Page */
.about-hero {
    background: linear-gradient(rgba(44,62,80,0.8), rgba(44,62,80,0.8)), 
                url('https://images.unsplash.com/photo-1631679706909-1844bbd07221?w=1600') center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.about-hero h1 { font-family: 'Playfair Display', serif; font-size: 52px; margin-bottom: 15px; }
.about-hero p { font-size: 18px; opacity: 0.9; }

.our-story { padding: 80px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-content h2 { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--primary-color); margin-bottom: 25px; }
.story-content p { color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.story-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-hover); }

.mission-values { padding: 80px 0; background: var(--bg-white); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.value-card { text-align: center; padding: 30px; }
.value-icon { font-size: 48px; margin-bottom: 20px; }
.value-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--primary-color); }
.value-card p { font-size: 14px; color: var(--text-light); }

.stats-section { background: var(--secondary-color); padding: 60px 0; }
.stats-grid { display: flex; justify-content: space-around; text-align: center; color: #fff; }
.stat-number { display: block; font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; margin-bottom: 5px; }
.stat-label { font-size: 14px; opacity: 0.9; }

.our-process { padding: 80px 0; }
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.process-step { text-align: center; padding: 20px; }
.step-number { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--secondary-color); margin-bottom: 15px; }
.process-step h3 { font-size: 16px; margin-bottom: 10px; color: var(--primary-color); }
.process-step p { font-size: 13px; color: var(--text-light); }

.team-section { padding: 80px 0; background: var(--bg-white); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-member { text-align: center; }
.team-image { margin-bottom: 20px; }
.team-image img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; }
.team-member h3 { font-size: 18px; margin-bottom: 5px; }
.team-role { display: block; color: var(--secondary-color); font-size: 14px; margin-bottom: 10px; }
.team-member p { font-size: 14px; color: var(--text-light); }

.workshop-gallery { padding: 80px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.about-cta { background: var(--primary-color); padding: 80px 0; text-align: center; color: #fff; }
.about-cta h2 { font-family: 'Playfair Display', serif; font-size: 36px; margin-bottom: 15px; }
.about-cta p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.cta-buttons { display: flex; justify-content: center; gap: 15px; }

/* Contact Page */
.contact-section { padding: 60px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info h2, .contact-form-container h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--primary-color); margin-bottom: 15px; }
.contact-info > p { color: var(--text-light); margin-bottom: 30px; }
.contact-methods { display: flex; flex-direction: column; gap: 25px; margin-bottom: 40px; }
.contact-method { display: flex; gap: 20px; }
.method-icon { font-size: 32px; }
.method-details h3 { font-size: 16px; margin-bottom: 5px; }
.method-details p { margin-bottom: 5px; }
.method-details span { font-size: 13px; color: var(--text-muted); }
.method-details a { color: var(--secondary-color); }

.social-connect h3 { font-size: 16px; margin-bottom: 15px; }
.social-links-large { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all var(--transition);
}
.social-link span {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.social-link:hover { background: var(--secondary-color); color: #fff; }

.contact-form-container { background: var(--bg-white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-color); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary-color); }
.checkbox-group label { display: flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 15px; }

.map-section { padding: 60px 0 0; }
.map-section h2 { font-family: 'Playfair Display', serif; font-size: 28px; text-align: center; margin-bottom: 10px; }
.map-section > p { text-align: center; color: var(--text-light); margin-bottom: 30px; }
.map-container { width: 100%; }

.contact-faq { padding: 80px 0; background: var(--bg-white); }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.faq-item { padding: 25px; background: var(--bg-light); border-radius: var(--radius); }
.faq-item h3 { font-size: 16px; margin-bottom: 10px; color: var(--primary-color); }
.faq-item p { font-size: 14px; color: var(--text-light); }
.faq-item a { color: var(--secondary-color); }
.faq-cta { text-align: center; margin-top: 40px; }
.faq-cta p { margin-bottom: 15px; color: var(--text-light); }

.store-hours { padding: 60px 0; }
.hours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.hours-card { background: var(--bg-white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.hours-card h3 { font-size: 18px; margin-bottom: 20px; color: var(--primary-color); }
.hours-table { width: 100%; }
.hours-table td { padding: 10px 0; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.hours-table td:last-child { text-align: right; color: var(--text-light); }
.hours-note { display: block; font-size: 13px; color: var(--text-muted); margin-top: 15px; }

/* Cart Page */
.cart-section { padding: 60px 0; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
.cart-items { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
}
.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    gap: 20px;
    padding: 25px 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.cart-product { display: flex; gap: 20px; }
.cart-product img { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-product-info h3 { font-size: 16px; margin-bottom: 5px; }
.cart-product-info h3 a:hover { color: var(--secondary-color); }
.cart-product-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 5px; }
.cart-product-sku { font-size: 12px; color: var(--text-muted); }
.cart-price, .cart-total { font-weight: 600; font-size: 16px; }

.cart-quantity { display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: var(--radius-sm); width: fit-content; }
.cart-quantity .qty-btn { width: 32px; height: 36px; font-size: 16px; }
.cart-quantity input { width: 40px; height: 36px; border: none; text-align: center; font-size: 14px; }

.cart-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    transition: color var(--transition);
}
.cart-remove:hover { color: #e74c3c; }
.cart-actions { display: flex; justify-content: space-between; padding: 20px; }

.cart-summary {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.cart-summary h2 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 25px; color: var(--primary-color); }
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}
.free-shipping { color: #27ae60; font-weight: 600; }

.promo-code { padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.promo-code h4 { font-size: 14px; margin-bottom: 10px; }
.promo-input { display: flex; gap: 10px; }
.promo-input input { flex: 1; padding: 10px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); }

.summary-total { display: flex; justify-content: space-between; padding: 20px 0; font-size: 20px; font-weight: 700; }

.payment-icons { text-align: center; padding: 20px 0; border-top: 1px solid var(--border-color); margin-top: 20px; }
.payment-icons span:first-child { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.payment-icons .icons { display: flex; justify-content: center; gap: 10px; font-size: 13px; color: var(--text-light); }

.cart-benefits { margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--border-color); }
.cart-benefits .benefit { display: flex; gap: 12px; margin-bottom: 15px; }
.cart-benefits .benefit span:first-child { font-size: 20px; }
.cart-benefits strong { display: block; font-size: 13px; }
.cart-benefits p { font-size: 12px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-container { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .hero-content h1 { font-size: 42px; }
    .categories-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid, .story-grid, .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .testimonials-grid, .blog-grid, .blog-layout { grid-template-columns: 1fr; }
    .blog-card.featured { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .contact-grid, .faq-grid, .hours-grid { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-container { flex-wrap: wrap; }
    nav { display: none; width: 100%; padding-top: 20px; }
    nav.active { display: block; }
    nav ul { flex-direction: column; gap: 15px; }
    .mobile-menu-btn { display: block; }
    .hero-home { height: 500px; }
    .hero-content { margin-left: 0; text-align: center; }
    .hero-content h1 { font-size: 32px; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .features-bar .container { flex-direction: column; align-items: flex-start; }
    .categories-grid, .products-grid, .blog-grid-page { grid-template-columns: 1fr; }
    .shop-sidebar, .values-grid, .team-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.large { grid-column: span 1; grid-row: span 1; }
    .stats-grid { flex-wrap: wrap; gap: 30px; }
    .stat-item { width: 45%; }
    .cart-header { display: none; }
    .cart-item { grid-template-columns: 1fr; gap: 15px; }
    .cart-product { flex-direction: column; align-items: flex-start; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .newsletter-form-home { flex-direction: column; }
    .section-header h2 { font-size: 28px; }
    .page-header h1, .about-hero h1 { font-size: 32px; }
    .product-tabs .tab-buttons { flex-wrap: wrap; }
    .tab-btn { flex: 1 1 50%; }
    .reviews-summary { flex-direction: column; gap: 30px; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .hero-content h1 { font-size: 28px; }
    .btn { padding: 10px 20px; font-size: 13px; }
    .btn-large { padding: 14px 28px; }
    .product-card { margin: 0 auto; max-width: 350px; }
    .stat-item { width: 100%; }
    .process-steps { grid-template-columns: 1fr; }
    .thumbnail-gallery { flex-wrap: wrap; }
    .product-actions-detail { flex-direction: column; }
    .product-actions-detail .btn { width: 100%; }
}
