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

:root {
    --primary: #B76E3E;
    --primary-dark: #9B5A32;
    --primary-light: #E2C2A3;
    --secondary: #2C5F4A;
    --secondary-dark: #1E3D2F;
    --bg-light: #FDFBF7;
    --bg-white: #FFFFFF;
    --bg-gray: #F5F3EF;
    --text-dark: #2C3E2F;
    --text-light: #6B7B6E;
    --border: #E8E0D5;
    --shadow: 0 8px 24px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 35px -8px rgba(0,0,0,0.1);
    --shadow-hover: 0 25px 40px -12px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-light: #1a1a2e;
    --bg-white: #16213e;
    --bg-gray: #0f3460;
    --text-dark: #e8e8e8;
    --text-light: #a0a0a0;
    --border: #2a3a4a;
    --shadow: 0 8px 24px rgba(0,0,0,0.2);
    --shadow-lg: 0 20px 35px -8px rgba(0,0,0,0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    transition: var(--transition);
}

/* Header */
.main-header {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

[data-theme="dark"] .main-header {
    background: rgba(22, 33, 62, 0.96);
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 40px;
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: rgba(183,110,62,0.1);
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 40px;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(183,110,62,0.1);
}

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

.site-logo {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--text-light);
}

/* Sidebars */
.sidebar {
    position: fixed;
    top: 0;
    width: 340px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    transform: translateX(0);
}

.left-sidebar {
    left: 0;
}

.right-sidebar {
    right: 0;
    transform: translateX(100%);
}

.right-sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    color: var(--primary);
    font-size: 1.3rem;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-sidebar:hover {
    color: var(--primary);
}

.sidebar-nav, .categories-nav {
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link, .category-link {
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 14px;
    transition: var(--transition);
    cursor: pointer;
    font-weight: 500;
}

.nav-link i, .category-link i {
    width: 24px;
    color: var(--primary);
}

.nav-link:hover, .category-link:hover {
    background: rgba(183,110,62,0.08);
    transform: translateX(5px);
    color: var(--primary);
}

.nav-divider {
    height: 1px;
    background: var(--border);
    margin: 0.8rem 0;
}

.search-container {
    padding: 1rem 1.2rem;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.7rem 2rem 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 40px;
    font-family: inherit;
    background: var(--bg-light);
    color: var(--text-dark);
}

.search-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1050;
    display: none;
    backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
    display: block;
}

/* Main content */
.main-content {
    min-height: 70vh;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeInUp 0.4s ease;
}

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

/* Hero Banner - Professional Blog Style */
.hero-banner {
    width: 100%;
    margin-bottom: 2.5rem;
    border-radius: 0;
    overflow: hidden;
}

.hero-banner img, .hero-banner video {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.hero-banner-default {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 2.5rem;
    text-align: center;
    color: white;
    border-radius: 0;
    margin-bottom: 2.5rem;
}

.hero-banner-default h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
}

.hero-banner-default p {
    font-size: 1rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .hero-banner-default h2 { font-size: 1.4rem; }
    .hero-banner-default p { font-size: 0.85rem; }
    .hero-banner img, .hero-banner video { max-height: 250px; }
}

/* Home page grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.product-card {
    background: var(--bg-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

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

.product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-dark);
    line-height: 1.4;
}

.price-bubble {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 0;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.page-btn {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.page-btn.active, .page-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Category Page - Professional Blog Style */
.category-page {
    animation: fadeInUp 0.4s ease;
}

.category-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0;
    background: none;
    border-radius: 0;
}

.category-title {
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: center;
}

@media (max-width: 768px) {
    .category-title {
        font-size: 2rem;
    }
}

/* Category Image - Professional Blog Style (No rounded corners) */
.category-image-wrapper {
    width: 100%;
    margin: 1.5rem 0;
}

.category-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.category-image-slider {
    position: relative;
    width: 100%;
    margin: 1.5rem 0;
    overflow: hidden;
    background: var(--bg-gray);
    border-radius: 0;
}

.category-image-slider .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.category-image-slider .slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.category-image-slider .slider-slide {
    flex: 0 0 100%;
}

.category-image-slider .slider-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

.category-image-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image-slider .slider-btn:hover {
    background: var(--primary);
}

.category-image-slider .slider-prev {
    left: 0;
}

.category-image-slider .slider-next {
    right: 0;
}

.category-image-slider .slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.category-image-slider .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.category-image-slider .slider-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* Category Description - Professional Blog Style */
.category-description {
    max-width: 850px;
    margin: 2rem auto 0;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-dark);
    text-align: left;
}

.category-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.category-description ul, .category-description ol {
    padding-left: 1.8rem;
    margin: 1rem 0;
    line-height: 1.8;
}

.category-description li {
    margin-bottom: 0.5rem;
}

.category-description h1, .category-description h2, .category-description h3 {
    margin: 1.5rem 0 0.8rem;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
}

.category-description strong, .category-description b {
    color: inherit;
    font-weight: 700;
}

.category-description em {
    font-style: italic;
}

.section-heading {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-align: center;
    margin: 2.5rem 0 2rem;
    color: var(--secondary);
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 1.5rem;
    }
}

/* Blog Products List */
.blog-products-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-product-item {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

.blog-product-item:hover {
    box-shadow: var(--shadow-hover);
}

.blog-product-header {
    display: flex;
    flex-wrap: wrap;
}

/* Product Image Slider - Professional Blog Style */
.product-image-slider {
    position: relative;
    flex: 0 0 35%;
    max-width: 35%;
    overflow: hidden;
    background: var(--bg-gray);
}

.product-image-slider .slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-image-slider .slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.product-image-slider .slider-slide {
    flex: 0 0 100%;
}

.product-image-slider .slider-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

.product-image-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.product-image-slider .slider-btn:hover {
    background: var(--primary);
}

.product-image-slider .slider-prev {
    left: 10px;
}

.product-image-slider .slider-next {
    right: 10px;
}

.product-image-slider .slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.8rem 0;
}

.product-image-slider .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.product-image-slider .slider-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* Blog Product Image (Single) */
.blog-product-image {
    flex: 0 0 35%;
    max-width: 35%;
    overflow: hidden;
    cursor: pointer;
}

.blog-product-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.blog-product-image:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .product-image-slider {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .blog-product-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.blog-product-details {
    flex: 1;
    padding: 1.5rem;
}

.blog-product-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

[data-theme="dark"] .blog-product-title {
    color: #e8e8e8;
}

/* Product Description - Preserves Quill Rich Text Styles */
.blog-product-description {
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.blog-product-description p {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.blog-product-description ul, .blog-product-description ol {
    padding-left: 1.5rem;
    margin: 0.8rem 0;
    line-height: 1.7;
}

.blog-product-description li {
    margin-bottom: 0.3rem;
}

.blog-product-description strong, .blog-product-description b {
    font-weight: 700;
    color: inherit;
}

.blog-product-description em {
    font-style: italic;
}

.blog-product-description span {
    color: inherit;
}

.blog-product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.price-note {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: normal;
    margin-top: 0.2rem;
}

/* Buy Button */
.buy-button {
    background: linear-gradient(135deg, #FF9900, #FF6600);
    color: white;
    border: none;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-radius: 0;
}

.buy-button.amazon {
    background: linear-gradient(135deg, #FF9900, #FF6600);
}

.buy-button.etsy {
    background: linear-gradient(135deg, #F1641E, #D95B1A);
}

.buy-button.wayfair {
    background: linear-gradient(135deg, #6A1B9A, #4A0072);
}

.buy-button.default {
    background: var(--primary);
}

.buy-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Modal Gallery */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: transparent;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.gallery-modal-content {
    background: transparent;
    box-shadow: none;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 2rem;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.modal-close:hover {
    background: var(--primary);
}

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

.gallery-main-image {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
}

.gallery-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.gallery-prev, .gallery-next {
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    border-radius: 0;
}

.gallery-prev:hover, .gallery-next:hover {
    background: var(--primary);
}

.gallery-thumbnails {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.gallery-thumb.active, .gallery-thumb:hover {
    border-color: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.5rem;
}

.faq-question {
    padding: 1rem 0;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0;
    line-height: 1.6;
    color: var(--text-light);
    font-size: 0.9rem;
}

.faq-answer.active {
    max-height: 400px;
    padding-bottom: 1rem;
}

.faq-categories {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.faq-cat-btn {
    padding: 0.5rem 1.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 0;
}

.faq-cat-btn.active, .faq-cat-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.faq-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-section.active {
    display: block;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
}

.toast {
    background: var(--secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    margin-top: 0.6rem;
    animation: slideInRight 0.3s ease;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    border-radius: 0;
}

.toast i {
    font-size: 1rem;
}

.toast.error {
    background: #c0392b;
}

.toast.success {
    background: #27ae60;
}

.toast.info {
    background: var(--primary);
}

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

/* Footer */
.main-footer {
    background: #1a2a24;
    color: #E2DACF;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

[data-theme="dark"] .main-footer {
    background: #0a0a1a;
}

.footer-content {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

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

.social-links a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    font-family: inherit;
    font-size: 0.85rem;
    border-radius: 0;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    padding: 0.6rem 1.2rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    border-radius: 0;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
}

.affiliate-disclaimer {
    font-size: 0.65rem;
    margin-top: 0.3rem;
    opacity: 0.8;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    font-family: inherit;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s;
    font-size: 0.9rem;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-light);
    z-index: 2;
}

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

.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    border-radius: 0;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

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

/* Auth Status Card */
.auth-status-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    border-radius: 0;
}

.auth-status-card h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.auth-status-card p {
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Tab Buttons */
.tab-btn {
    transition: all 0.3s ease;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.tab-btn.active {
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

/* Product Highlight */
.product-highlight {
    animation: highlightPulse 0.6s ease-out;
}

@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(183, 110, 62, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(183, 110, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(183, 110, 62, 0); }
}

/* Loading States */
.loading-spinner {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 45px;
    height: 45px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error & No Data */
.error {
    text-align: center;
    padding: 3rem;
    color: #c0392b;
    font-size: 0.9rem;
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.category-count {
    margin-left: auto;
    font-size: 0.7rem;
    background: var(--bg-light);
    padding: 0.2rem 0.5rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        padding: 0.7rem 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .sidebar {
        width: 280px;
    }
    
    .blog-product-header {
        flex-direction: column;
    }
    
    .blog-product-details {
        padding: 1rem;
    }
    
    .blog-product-title {
        font-size: 1.2rem;
    }
    
    .blog-product-price {
        font-size: 1.1rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .auth-buttons .btn {
        width: 100%;
        max-width: 220px;
    }
    
    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .toast {
        font-size: 0.8rem;
        padding: 0.7rem 1rem;
    }
}

@media (max-width: 480px) {
    .site-logo {
        font-size: 1.3rem;
    }
    
    .tagline {
        font-size: 0.55rem;
    }
    
    .blog-product-title {
        font-size: 1rem;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .section-heading {
        font-size: 1.3rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus Styles */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}