:root {
    --primary-color: #0c4d36;
    /* Logo'daki Koyu Yeşil */
    --secondary-color: #bfa36a;
    /* Logo'daki Altın/Bronz Tonu */
    --text-color: #1e1e1e;
    --bg-light: #fdfdfd;
    --white: #ffffff;
    --shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.98);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    height: 60px;
    /* Biraz küçülterek daha dengeli bir görünüm sağlandı */
    width: auto;
    display: block;
    transition: var(--transition);
}

.header-mobile-toggle {
    display: none;
}

.header-mobile-toggle button {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

.header-search-container {
    flex: 0 1 500px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #eee;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-bar input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(191, 163, 106, 0.1);
}

.header-actions {
    display: flex;
    gap: 25px;
    align-items: center;
}

.action-item {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    /* Icon above text */
    align-items: center;
    gap: 4px;
    /* Tighter gap for vertical layout */
    transition: var(--transition);
}

.action-item i {
    font-size: 20px;
    /* Slightly larger icon for vertical layout */
}

.action-item span {
    font-size: 11px;
    /* Smaller label for more professional look */
    letter-spacing: 0.3px;
    font-weight: 600;
}

.action-item:hover {
    color: var(--secondary-color);
}

/* Navigation & Mega Menu */
.main-nav {
    display: flex;
    justify-content: center;
    border-top: 1px solid #f9f9f9;
}

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

.nav-item {
    position: static;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: var(--transition);
}

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

/* Mega Menu Content */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 1px solid #eee;
    z-index: 1001;
    /* Diğer öğelerin üzerinde kalsın */
}

/* Menü geçişinde boşluk kalmaması için nav-item yüksekliğiyle oynayalım */
.nav-item {
    position: static;
    display: flex;
    align-items: center;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
    align-items: flex-start;
}

.mega-column {
    flex: 1;
    min-width: 180px;
}

.mega-column h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-column ul {
    list-style: none;
}

.mega-column ul li {
    margin-bottom: 10px;
}

.mega-column ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.mega-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.mega-featured {
    flex: 1.5;
    background: #f8f8f8;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
}

.mega-featured h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.mega-featured p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-shop {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-shop:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Showcase Grid Layout */
.showcase-section {
    padding: 40px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.showcase-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f0f0f0;
    transition: var(--transition);
}

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

.showcase-item.large {
    grid-row: span 2;
}

.showcase-img {
    width: 100%;
    height: 100%;
}

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

.showcase-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.showcase-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.btn-view-all {
    background: #000;
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.showcase-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.showcase-tag h3 {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.showcase-tag span {
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

/* Custom backgrounds for artistic feel */
.pink-bg {
    background-color: #ffeef2;
}

.blue-bg {
    background-color: #eef7ff;
}

.teal-bg {
    background-color: #eefffa;
}

.peach-bg {
    background-color: #fff4ee;
}

/* Mobile Side Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: 1002;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.mobile-side-menu.active {
    left: 0;
}

/* Responsive showcase */
@media (max-width: 1100px) {
    .showcase-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .showcase-item.large {
        grid-column: span 2;
        height: 400px;
    }

    .showcase-item.small {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .showcase-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 0 20px 20px 20px;
        margin: 0 -20px;
        scrollbar-width: none;
        /* Firefox için */
    }

    .showcase-grid::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari için */
    }

    .showcase-item {
        flex: 0 0 85%;
        scroll-snap-align: start;
        height: 350px !important;
    }

    .showcase-item.large {
        grid-column: auto;
        grid-row: auto;
    }

    .showcase-content {
        padding: 20px;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .showcase-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

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

/* Featured Products Section */
.featured-products {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.featured-title {
    font-size: 32px;
    font-weight: 800;
    color: #000;
}

.countdown-timer {
    background: #f5f5f5;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-family: monospace;
    font-size: 18px;
    color: #444;
}

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

.product-card {
    transition: var(--transition);
    position: relative;
}

.product-img {
    position: relative;
    border-radius: 24px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f8f8f8;
}

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

.product-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    z-index: 2;
}

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

.action-btn {
    width: 35px;
    height: 35px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-add-cart {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    color: #000;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

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

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

.product-info {
    padding: 0 5px;
}

.author {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

.price {
    font-size: 18px;
    font-weight: 800;
    color: #000;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

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

@media (max-width: 768px) {
    .product-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 20px;
        margin: 0 -20px;
        padding: 0 20px 20px;
        scrollbar-width: none;
    }

    .product-grid::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        flex: 0 0 280px;
    }

    .product-img {
        height: 300px !important;
    }

    .featured-title {
        font-size: 24px;
    }
}

/* Genre Section */
.genre-section {
    padding: 60px 0;
    background: #fdfdfd;
}

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

.genre-card {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

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

.genre-label {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: var(--transition);
}

.genre-name {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.view-all-link {
    font-size: 13px;
    font-weight: 700;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.view-all-link i {
    font-size: 10px;
}

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

.genre-card:hover .genre-label {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.view-all-link:hover {
    color: var(--primary-color);
}

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

@media (max-width: 900px) {
    .genre-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .genre-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 30px;
        margin: 0 -20px;
        padding: 0 20px 30px;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        gap: 20px;
    }

    .genre-grid::-webkit-scrollbar {
        display: none;
    }

    .genre-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
        height: 450px;
    }
}

/* Weekly Products Section */
.weekly-products {
    padding: 100px 0;
    background: #fff;
}

.weekly-header {
    margin-bottom: 50px;
}

.weekly-title {
    font-size: 42px;
    font-weight: 800;
    color: #000;
    margin-bottom: 30px;
}

.weekly-tabs {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 13px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
}

.tab-btn:hover {
    color: #000;
}

.tab-btn.active {
    color: #000;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
}

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

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

@media (max-width: 900px) {
    .weekly-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .weekly-title {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .weekly-tabs {
        gap: 20px;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .tab-btn {
        white-space: nowrap;
    }

    .weekly-grid {
        gap: 20px;
    }

    .weekly-img {
        height: 280px;
    }
}

/* Existing Mobile Header Styles */
@media (max-width: 1024px) {
    .header-mobile-toggle {
        display: block;
    }

    .logo img {
        height: 50px;
    }

    .main-nav {
        display: none;
    }

    .header-top-inner {
        gap: 15px;
        flex-wrap: wrap;
    }

    .header-search-container {
        order: 4;
        flex: 1 1 100%;
        margin-top: 10px;
    }

    .action-item span {
        display: none;
    }

    .action-item i {
        font-size: 20px;
    }

    .header-actions {
        gap: 15px;
    }
}

/* Site Footer */
.site-footer {
    border-top: 1px solid #eee;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    min-height: 400px;
}

.footer-left {
    flex: 0 0 35%;
    background: #fff;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
}

.footer-right {
    flex: 1;
    background: #f8f8f8;
    padding: 80px 100px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 40px;
}

.footer-contact-info p {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-info .footer-email,
.footer-contact-info .footer-phone {
    font-weight: 700;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: auto;
}

.footer-socials a {
    color: #333;
    font-size: 18px;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    font-size: 13px;
    color: #888;
    margin-top: 40px;
}

/* Newsletter */
.newsletter-section {
    margin-bottom: 60px;
}

.newsletter-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
    background: transparent;
}

.newsletter-form button {
    background: none;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

/* Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

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

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

.footer-column ul li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: #000;
    padding-left: 5px;
}

/* Footer Bottom Right */
.footer-bottom-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.secure-payments {
    display: flex;
    align-items: center;
    gap: 20px;
}

.secure-payments span {
    font-size: 14px;
    color: #666;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 24px;
    color: #444;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        flex: 0 0 100%;
        padding: 60px 40px;
    }

    .footer-right {
        background: #f5f5f5;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #fff;
}

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

.blog-card {
    transition: var(--transition);
}

.blog-img {
    position: relative;
    border-radius: 24px;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    color: #000;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-content {
    padding: 0 5px;
}

.blog-date {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-title a {
    color: #000;
    text-decoration: none;
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.read-more i {
    font-size: 10px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
}

.read-more:hover i {
    transform: translateX(5px);
}

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

/* Blog Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .blog-img {
        height: 200px;
    }
}

/* Product Widgets Section */
.product-widgets-section {
    padding: 60px 0 80px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

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

.widget-header {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    padding-bottom: 10px;
    margin: 0;
}

.header-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e62e2e;
    /* Red as per reference */
}

.widget-nav {
    display: flex;
    gap: 15px;
    color: #ccc;
    font-size: 14px;
}

.mini-product-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mini-product {
    display: flex;
    gap: 20px;
    align-items: center;
}

.mini-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f9f9f9;
}

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

.mini-product:hover .mini-img img {
    transform: scale(1.1);
}

.mini-info h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.mini-info h4 a {
    color: #000;
    text-decoration: none;
    transition: var(--transition);
}

.mini-info h4 a:hover {
    color: var(--primary-color);
}

.mini-price {
    font-size: 15px;
    font-weight: 700;
    color: #e62e2e;
    /* Red prices as per reference */
}

.old-price {
    font-size: 13px;
    text-decoration: line-through;
    color: #aaa;
    margin-right: 5px;
    font-weight: 400;
}

/* Product Widgets Responsive */
@media (max-width: 1200px) {
    .widgets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

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

/* Brands Section */
.brands-section {
    padding: 60px 0 80px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.brands-section .featured-title {
    margin-bottom: 40px;
    font-size: 22px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: center;
}

.brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.6;
}

.brand-item img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
}

/* Brands Responsive */
@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product Badges Enhancement (Refined) */
.product-badges {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.product-badges span {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: #fff;
    width: fit-content;
    animation: badgeFadeIn 0.5s ease-out forwards;
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

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

.badge-new {
    background: rgba(12, 77, 54, 0.85);
    /* Brand Green with glass */
}

.badge-discount {
    background: rgba(230, 46, 46, 0.85);
    /* Red with glass */
}

.badge-shipping {
    background: rgba(191, 163, 166, 0.85);
    /* Bronze/Gold with glass */
}

.product-badges span i {
    font-size: 13px;
}

/* Topbar Styles */
.topbar {
    background: #0c4d36;
    /* Brand Green */
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 500;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left .social-links {
    display: flex;
    gap: 15px;
}

.topbar-left .social-links a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.topbar-left .social-links a:hover {
    opacity: 0.7;
}

.topbar-center p {
    margin: 0;
    letter-spacing: 1px;
    font-weight: 700;
}

.topbar-right .topbar-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.topbar-right .topbar-links a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.topbar-right .topbar-links a:hover {
    text-decoration: underline;
}

/* Topbar Responsive */
@media (max-width: 768px) {

    .topbar-left,
    .topbar-right {
        display: none;
    }

    .topbar-center {
        width: 100%;
        text-align: center;
    }

    .topbar-center p {
        font-size: 11px;
    }
}

/* Category Page Styles */
.category-page {
    padding-bottom: 80px;
}

.category-hero {
    background: #fcfcfc;
    padding: 60px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 50px;
}

.breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
}

.breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
}

.category-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-intro {
    max-width: 800px;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.category-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Sidebar */
.category-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    width: fit-content;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-list a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: var(--transition);
}

.filter-list a:hover,
.filter-list a.active {
    color: var(--secondary-color);
    padding-left: 5px;
}

.price-range .slider {
    width: 100%;
    margin-bottom: 15px;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Products Area */
.product-sorting-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 25px;
    background: #f9f9f9;
    border-radius: 12px;
}

.results-count {
    font-size: 14px;
    color: #666;
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.category-products-area .product-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

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

/* SEO Section */
.category-seo-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.seo-content-box {
    background: #fcfcfc;
    padding: 40px;
    border-radius: 24px;
}

.seo-content-box h2 {
    font-size: 24px;
    margin-bottom: 25px;
}

.seo-content-box h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.seo-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Category Responsive */
@media (max-width: 1024px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        display: none;
    }

    .category-products-area .product-grid {
        display: grid !important;
        /* Force grid, prevent flex inheritance */
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
        overflow: visible;
        margin: 0;
        padding: 0;
    }

    .category-products-area .product-img {
        height: 200px !important;
        /* Balanced height for 2-column mobile grid */
    }

    .category-products-area .product-info h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .category-products-area .btn-add-cart {
        padding: 8px 15px;
        font-size: 12px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 600px) {
    .category-products-area .product-grid {
        grid-template-columns: 1fr !important;
    }

    .category-products-area .product-img {
        height: 250px !important;
    }

    .category-title {
        font-size: 32px;
    }

    .popular-subcategories .subcategory-item {
        flex: 0 0 200px;
    }
}

/* Expanded Category Page SEO & Layout */
.popular-subcategories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.subcategory-item {
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.subcategory-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.subcategory-item img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.sub-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}

.sub-info h4 a {
    text-decoration: none;
    color: var(--primary-color);
}

.sub-info p {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* 4-column product grid */
@media (min-width: 1400px) {
    .category-layout {
        grid-template-columns: 280px 1fr;
    }

    .category-products-area .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* FAQ Styles */
.category-faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-container .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.faq-item {
    background: #fcfcfc;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1399px) {
    .category-products-area .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Optimized Category Styles */
.mobile-filter-bar {
    display: none;
    position: sticky;
    top: 90px;
    /* Header-top height approximation on mobile */
    z-index: 99;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.m-filter-btn {
    flex: 1;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    color: var(--primary-color);
}

.m-filter-btn:first-child {
    border-right: 1px solid #eee;
}

/* Category Subcategories Horizontal Scroll */
@media (max-width: 768px) {
    .category-content-section {
        overflow-x: hidden;
        /* Prevent body scroll from negative margins */
    }

    .popular-subcategories {
        display: flex;
        overflow-x: auto;
        padding-bottom: 15px;
        margin: 0 -20px 30px;
        padding: 0 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .popular-subcategories::-webkit-scrollbar {
        display: none;
    }

    .subcategory-item {
        flex: 0 0 240px;
    }

    .mobile-filter-bar {
        display: flex;
    }
}

/* SEO Content Toggle Styles */
.seo-text-wrapper {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.seo-content-box.expanded .seo-text-wrapper {
    max-height: 2000px;
}

.seo-text-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, #fcfcfc);
    transition: opacity 0.3s;
}

.seo-content-box.expanded .seo-text-wrapper::after {
    opacity: 0;
    pointer-events: none;
}

.btn-read-more {
    display: block;
    margin: 20px auto 0;
    background: #fff;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.btn-read-more:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Filter Drawer */
.filter-drawer {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 80vh;
    background: #fff;
    z-index: 2000;
    /* Above header */
    border-radius: 30px 30px 0 0;
    padding: 30px;
    transition: bottom 0.4s ease;
    overflow-y: auto;
}

.filter-drawer.active {
    bottom: 0;
}

.filter-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    /* Below drawer, above everything else */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.filter-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.drawer-header h3 {
    font-size: 20px;
    font-weight: 800;
}

.drawer-header button {
    background: none;
    border: none;
    font-size: 24px;
    color: #888;
}

.btn-apply-filters {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 30px;
}

/* Sidebar SEO Tags */
.seo-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seo-tag {
    font-size: 12px;
    background: #f5f5f5;
    color: #666;
    padding: 6px 12px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.seo-tag:hover {
    background: #fff;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Advanced Category SEO Styles */
.sidebar-info-card {
    background: #fdfaf3;
    padding: 20px;
    border-radius: 16px;
    border: 1px dashed var(--secondary-color);
}

.sidebar-info-card .card-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-info-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.sidebar-info-card .btn-link {
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    color: var(--primary-color);
}

/* Related Searches Section */
.related-searches-section {
    padding: 60px 0;
    background: #fcfcfc;
    border-top: 1px solid #eee;
}

.related-links-box .box-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 40px;
}

.related-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-group h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.link-group ul {
    list-style: none;
    padding: 0;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    font-size: 14px;
    color: #777;
    text-decoration: none;
    transition: var(--transition);
}

.link-group ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

@media (max-width: 768px) {
    .related-links-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Product Detail Page Styles */
.product-detail-page {
    padding-bottom: 80px;
}

.product-breadcrumb {
    padding: 20px 0;
    background: #fcfcfc;
    border-bottom: 1px solid #f0f0f0;
}

.product-main-section {
    padding: 60px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.main-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #f8f8f8;
    margin-bottom: 20px;
    aspect-ratio: 1;
}

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

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumbnail {
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    aspect-ratio: 1;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Product Info Section */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars {
    color: #ffa500;
    font-size: 16px;
}

.stars-large {
    color: #ffa500;
    font-size: 24px;
}

.rating-text {
    color: #666;
    font-size: 14px;
}

.product-price-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.price-main {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
}

.price-old {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #e62e2e;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.product-stock {
    color: #0c4d36;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.product-short-desc p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    width: 40px;
    height: 50px;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 14px;
    transition: var(--transition);
}

.qty-btn:hover {
    background: #f5f5f5;
}

#qty-input {
    width: 60px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.btn-add-to-cart-main {
    flex: 1;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-add-to-cart-main:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-wishlist {
    width: 50px;
    height: 50px;
    border: 2px solid #eee;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    color: #999;
    transition: var(--transition);
}

.btn-wishlist:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Product Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 25px;
    background: #fcfcfc;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    font-size: 24px;
    color: var(--secondary-color);
}

.feature-item div {
    display: flex;
    flex-direction: column;
}

.feature-item strong {
    font-size: 13px;
    color: #000;
}

.feature-item span {
    font-size: 12px;
    color: #888;
}

/* Product Details Tabs */
.product-details-section {
    padding: 80px 0;
    background: #fcfcfc;
}

.product-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #eee;
    margin-bottom: 40px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

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

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.tab-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.tab-content h3 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.tab-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.tab-content ul {
    list-style: none;
    padding-left: 0;
}

.tab-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.tab-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table td {
    padding: 15px 0;
    color: #666;
}

.specs-table td:first-child {
    width: 200px;
}

/* Reviews */
.reviews-summary {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
}

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

.rating-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.review-item {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.review-text {
    color: #666;
    line-height: 1.7;
}

/* Related Products */
.related-products-section {
    padding: 80px 0;
}

.related-products-section .section-title {
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
}

/* Mobile Sticky Cart */
.mobile-sticky-cart {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    z-index: 1000;
    transition: bottom 0.3s ease;
}

.mobile-sticky-cart.visible {
    bottom: 0;
}

.sticky-cart-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.sticky-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.btn-sticky-cart {
    flex: 1;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Product Detail Responsive */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: static;
    }

    .product-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 24px;
    }

    .price-main {
        font-size: 32px;
    }

    .product-actions {
        flex-direction: column;
    }

    .quantity-selector,
    .btn-add-to-cart-main {
        width: 100%;
    }

    .product-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .product-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Product Detail Page V2 - Modern E-commerce Design */
.product-detail-page-v2 {
    background: #fff;
}

.pd-breadcrumb {
    padding: 15px 0;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.pd-breadcrumb .breadcrumb {
    font-size: 13px;
    color: #666;
}

.pd-breadcrumb .breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.pd-breadcrumb .breadcrumb a:hover {
    color: var(--primary-color);
}

/* Main Section */
.pd-main-section {
    padding: 40px 0 80px;
}

.pd-layout {
    display: grid;
    grid-template-columns: 600px 1fr 300px;
    gap: 40px;
}

/* Gallery with Vertical Thumbnails */
.pd-gallery-wrapper {
    display: flex;
    gap: 15px;
}

.pd-thumbnails-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 70px;
}

.pd-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    object-fit: cover;
}

.pd-thumb:hover,
.pd-thumb.active {
    border-color: var(--secondary-color);
}

.pd-main-image {
    position: relative;
    flex: 1;
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.pd-discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

/* Product Info */
.pd-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pd-brand {
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pd-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
}

.pd-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pd-price-current {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.pd-price-old {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.pd-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.pd-rating .stars {
    color: #ffa500;
    font-size: 14px;
}

.pd-review-count {
    font-size: 13px;
    color: #666;
}

.pd-urgency {
    background: #fff3e0;
    border-left: 3px solid #ff9800;
    padding: 10px 15px;
    font-size: 13px;
    color: #e65100;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-urgency i {
    color: #ff9800;
}

.pd-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-features-list li {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pd-features-list li i {
    color: var(--secondary-color);
    margin-top: 2px;
}

/* Color Selection */
.pd-option-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-option-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.pd-color-swatches {
    display: flex;
    gap: 10px;
}

.pd-color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.pd-color-swatch:hover,
.pd-color-swatch.active {
    border-color: #333;
    transform: scale(1.1);
}

.pd-color-swatch.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-weight: 700;
    font-size: 16px;
}

.pd-color-name {
    font-size: 13px;
    color: #666;
}

/* Purchase Section */
.pd-purchase-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pd-quantity-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pd-qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    transition: var(--transition);
    border-radius: 4px;
}

.pd-qty-btn:hover {
    background: #f5f5f5;
    border-color: var(--secondary-color);
}

#pd-qty-input {
    width: 60px;
    height: 40px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
}

.pd-stock-info {
    font-size: 13px;
    color: #666;
}

.pd-stock-info strong {
    color: var(--primary-color);
}

.pd-action-buttons {
    display: flex;
    gap: 10px;
}

.pd-btn-primary {
    flex: 1;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 14px 25px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.pd-btn-primary:hover {
    background: #a68a56;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pd-btn-secondary {
    flex: 1;
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 25px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.pd-btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Quick Actions */
.pd-quick-actions {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.pd-quick-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.pd-quick-btn:hover {
    color: var(--secondary-color);
}

.pd-quick-btn i {
    font-size: 16px;
}

/* Additional Info */
.pd-additional-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-info-item {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pd-info-item i {
    color: var(--secondary-color);
    margin-top: 2px;
}

/* Payment Icons */
.pd-payment-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.pd-payment-label {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.pd-payment-methods {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Sidebar */
.pd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pd-sidebar-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.pd-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pd-sidebar-price {
    text-align: center;
}

.pd-sidebar-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.pd-sidebar-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary-color);
}

.pd-sidebar-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pd-sidebar-product {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    transition: var(--transition);
}

.pd-sidebar-product:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pd-sidebar-product img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

.pd-sidebar-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pd-sidebar-product-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.pd-sidebar-product-rating {
    color: #ffa500;
    font-size: 10px;
}

.pd-sidebar-product-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Tabs Section */
.pd-tabs-section {
    padding: 60px 0;
    background: #fcfcfc;
}

.pd-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}

.pd-tabs::-webkit-scrollbar {
    display: none;
}

.pd-tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.pd-tab-btn:hover {
    color: var(--primary-color);
}

.pd-tab-btn.active {
    color: var(--primary-color);
}

.pd-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
}

.pd-tab-content {
    display: none;
}

.pd-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.pd-tab-content p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.pd-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.pd-specs-table tr {
    border-bottom: 1px solid #eee;
}

.pd-specs-table td {
    padding: 12px 0;
    font-size: 14px;
    color: #666;
}

.pd-specs-table td:first-child {
    width: 200px;
}

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

    .pd-sidebar {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .pd-sidebar-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .pd-layout {
        grid-template-columns: 1fr;
    }

    .pd-gallery-wrapper {
        flex-direction: column-reverse;
    }

    .pd-thumbnails-vertical {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }

    .pd-thumb {
        flex: 0 0 60px;
    }

    .pd-title {
        font-size: 20px;
    }

    .pd-price-current {
        font-size: 26px;
    }

    .pd-rating {
        margin-left: 0;
    }

    .pd-action-buttons {
        flex-direction: column;
    }

    .pd-sidebar {
        flex-direction: column;
    }
}

/* Product Detail Coupon Card */
.pd-coupon-card {
    background: linear-gradient(135deg, #0c4d36 0%, #0a3d2a 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pd-coupon-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.coupon-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.pd-coupon-card .pd-sidebar-title {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.coupon-discount {
    background: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.discount-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.discount-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

.coupon-code {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.code-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.code-value {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

.btn-copy-coupon {
    width: 100%;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-copy-coupon:hover {
    background: #a68a56;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.coupon-terms {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Product Detail Mobile Fixes */
@media (max-width: 768px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pd-gallery-wrapper {
        flex-direction: column-reverse;
    }

    .pd-thumbnails-vertical {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .pd-thumbnails-vertical::-webkit-scrollbar {
        display: none;
    }

    .pd-thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }

    .pd-main-image {
        aspect-ratio: 1;
    }

    .pd-title {
        font-size: 22px;
    }

    .pd-price-current {
        font-size: 28px;
    }

    .pd-rating {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .pd-action-buttons {
        flex-direction: column;
    }

    .pd-btn-primary,
    .pd-btn-secondary {
        width: 100%;
    }

    .pd-quick-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pd-sidebar {
        flex-direction: column;
    }

    .pd-sidebar-card {
        width: 100%;
    }
}

/* Related and Similar Products Sections */
.related-products-section,
.similar-products-section {
    padding: 60px 0;
}

.similar-products-section {
    background: #fcfcfc;
}

.related-products-section .section-title,
.similar-products-section .section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.related-products-section .section-title::after,
.similar-products-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

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

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

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

    .related-products-section,
    .similar-products-section {
        padding: 40px 0;
    }

    .related-products-section .section-title,
    .similar-products-section .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
}

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

/* Customer Reviews Section */
.customer-reviews {
    margin-top: 20px;
}

.review {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.review-header strong {
    font-size: 16px;
    color: #333;
}

.review-date {
    color: #666;
    font-size: 14px;
}

.review-header .stars {
    color: #ffc107;
    font-size: 14px;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.review-helpful button {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.review-helpful button:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* FAQ Section */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Social Share */
.pd-social-share {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.pd-social-share a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pd-social-share a:nth-child(1) {
    background: #1877f2;
    color: #fff;
}

.pd-social-share a:nth-child(2) {
    background: #1da1f2;
    color: #fff;
}

.pd-social-share a:nth-child(3) {
    background: #e60023;
    color: #fff;
}

.pd-social-share a:nth-child(4) {
    background: #25d366;
    color: #fff;
}

.pd-social-share a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Related Keywords Section */
.related-keywords-section {
    padding: 40px 0;
    background: #f8f8f8;
}

.related-keywords-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-tags a {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: all 0.3s ease;
}

.keyword-tags a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .pd-social-share {
        flex-direction: column;
    }

    .pd-social-share a {
        width: 100%;
        justify-content: center;
    }

    .keyword-tags {
        gap: 8px;
    }

    .keyword-tags a {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* Mobile Menu Active State */
@media (max-width: 1024px) {
    .main-nav.active {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        z-index: 2000;
        padding-top: 80px;
        overflow-y: auto;
    }

    .main-nav.active .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* Mobile Mega Menu display when nav item is open */
@media (max-width: 1024px) {
    .nav-item.open .mega-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        position: relative;
        transform: none;
        box-shadow: none;
        padding: 20px 0;
    }
}