/*
Theme Name: Questwood Hardware
Theme URI: https://questwoodhardware.com/
Author: Questwood Hardaware
Author URI: https://questwoodhardware.com/
Description: Custom theme for Questwood Hardware
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: questwood-hardware
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, woocommerce
*/

/* Basic Reset */
* {
    box-sizing: border-box;
}
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}
a {
    color: #0056b3;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 clamp(16px, 3vw, 60px);
}

/* Header Redesign */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    padding: 0;
}
.top-bar {
    background-color: #333;
    height: 8px;
    width: 100%;
}
.header-main-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    flex-wrap: nowrap;
    width: 100%;
}
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
}
.menu-toggle:hover {
    border-color: #d32f2f;
    color: #d32f2f;
}
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 998;
}
.site-branding {
    flex: 0 1 auto;
    max-width: 320px;
}
.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.site-branding .custom-logo {
    display: block;
    width: auto;
    max-width: 320px;
    max-height: 56px;
    height: auto;
}
.site-branding svg {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
    max-height: 56px;
}
.site-title {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}
.site-title a {
    color: #333;
    text-decoration: none;
}
.site-description {
    margin: 4px 0 0;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.2px;
}

/* Navigation */
.main-navigation {
    flex: 1 1 auto;
    margin-left: 40px;
}
.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 35px;
}
.main-navigation ul li a {
    color: #444;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 20px 0;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.main-navigation ul li a:hover {
    color: #d32f2f;
}

/* Header Right Actions */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}
.header-search {
    position: relative;
}
.header-search form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 10px;
    width: 300px;
}
.header-search input[type="search"] {
    border: none;
    outline: none;
    padding: 8px;
    width: 100%;
    font-size: 14px;
    color: #666;
    background: transparent;
}
.header-search button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    padding: 0 5px;
}
.qwh-search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    z-index: 1000;
}
.qwh-search-suggestion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: #111;
}
.qwh-search-suggestion:hover {
    background: #f6f6f6;
    text-decoration: none;
}
.qwh-search-suggestion img {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    flex: 0 0 auto;
    background: #f3f3f3;
}
.qwh-search-suggestion-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.qwh-search-suggestion-title {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.qwh-search-suggestion-price {
    font-size: 12px;
    font-weight: 700;
    color: #666;
}
.qwh-search-suggestion-empty {
    padding: 12px;
    font-size: 13px;
    color: #666;
}
.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}
.header-icons .cart-icon {
    margin-right: 8px;
}
.header-icons a {
    color: #333;
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.header-icons a:hover {
    color: #d32f2f;
}
.header-icons .badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #222;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Content Area */
.site-content {
    padding: 0;
    background-color: #fff;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
}
.site-main {
    width: 100%;
    padding: 40px clamp(16px, 3vw, 60px);
}

.error-page {
    padding: 64px clamp(16px, 3vw, 60px);
    background: #f8fafc;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
}
.error-page-inner {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
.error-left {
    width: min(840px, 100%);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    text-align: center;
}
.error-code {
    font-size: 96px;
    font-weight: 900;
    color: #111;
    line-height: 1;
    letter-spacing: -1px;
}
.error-title {
    margin: 6px 0 10px;
    font-size: 28px;
    font-weight: 800;
    color: #111;
}
.error-text {
    color: #666;
    margin-bottom: 16px;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}
.error-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.error-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    background: #111;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border-radius: 10px;
    text-decoration: none;
}
.error-btn:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}
.error-btn.secondary {
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
}
.error-btn.secondary:hover {
    border-color: #000;
}
.woocommerce-cart .qwh-empty-panel .error-btn {
    background: #16a34a;
}
.woocommerce-cart .qwh-empty-panel .error-btn:hover {
    background: #15803d;
}
.woocommerce-cart .return-to-shop a.button,
.woocommerce-cart .return-to-shop a.button.wc-backward {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}
.woocommerce-cart .return-to-shop a.button:hover,
.woocommerce-cart .return-to-shop a.button.wc-backward:hover {
    background: #15803d;
    border-color: #15803d;
    color: #fff;
}
.error-search {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 10px;
    margin-top: 18px;
    justify-content: center;
}
.error-search-input {
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 12px;
}
.error-search-btn {
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
}
.woocommerce-cart .qwh-empty-panel .error-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.woocommerce-cart .qwh-empty-panel .error-search-input {
    flex: 1 1 260px;
    min-width: 220px;
}
.woocommerce-cart .qwh-empty-panel .error-search-btn {
    width: auto;
    padding: 0 16px;
    background: #16a34a;
}
.woocommerce-cart .qwh-empty-panel .error-search-btn:hover {
    background: #15803d;
}
.error-cats {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 16px;
}
.error-cats-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
    color: #111;
}
.error-cats-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}
.error-cats-list a {
    color: #444;
    text-decoration: none;
    font-weight: 700;
}
.error-cats-list a:hover {
    color: #d32f2f;
    text-decoration: none;
}
.error-bottom {
    margin-top: 30px;
}

@media (max-width: 992px) {
    .error-page {
        min-height: auto;
        align-items: stretch;
        padding: 44px 16px;
    }
    .error-left {
        padding: 24px;
    }
    .error-code {
        font-size: 80px;
    }
    .error-search {
        grid-template-columns: 1fr;
    }
}
/* Footer Redesign */
.qwh-empty-panel {
    padding: 34px 16px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
    margin: 20px 0;
}
.qwh-empty-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.qwh-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #111;
}
.qwh-empty-title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #111;
}
.qwh-empty-text {
    color: #666;
    margin-bottom: 14px;
}
.qwh-empty-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
}
/* Footer Redesign */
.site-footer {
    background-color: #1a1a1a;
    color: #b3b3b3;
    font-size: 14px;
    margin-top: 0;
    position: relative;
    padding: 0;
}
.footer-top {
    padding: 60px 40px;
    border-bottom: 1px solid #333;
    width: 100%;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    width: 100%;
}

/* Footer Column 1: About */
.footer-logo {
    color: #fff;
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.footer-logo .custom-logo {
    display: block;
    width: auto;
    max-height: 60px;
    max-width: 260px;
    height: auto;
}
.footer-logo svg {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    max-height: 60px;
}

@media (max-width: 768px) {
    .site-branding {
        max-width: 240px;
    }
    .site-branding .custom-logo {
        max-width: 240px;
        max-height: 46px;
    }
    .site-branding svg {
        width: 240px;
        max-height: 46px;
    }
}
.footer-about p {
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 90%;
}
.app-buttons {
    display: flex;
    gap: 15px;
}
.app-btn img {
    height: 35px;
    width: auto;
}

/* Footer Links Columns */
.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li {
    margin-bottom: 15px;
}
.footer-links ul li a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links ul li a:hover {
    color: #fff;
}

/* Footer Contact Column */
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.footer-contact ul li svg {
    color: #b3b3b3;
    flex-shrink: 0;
    margin-top: 3px;
}
.footer-contact ul li a {
    color: #b3b3b3;
    text-decoration: none;
}
.footer-contact ul li a:hover {
    color: #fff;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 40px;
    background-color: #1a1a1a;
    width: 100%;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #333;
    color: #b3b3b3;
    border-radius: 50%;
    transition: all 0.3s;
}
.social-icons a:hover {
    background-color: #d32f2f;
    color: #fff;
}
.copyright {
    font-size: 13px;
    letter-spacing: 0.5px;
}
.payment-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}
.payment-icons img {
    background: #fff;
    padding: 2px 4px;
    border-radius: 2px;
    height: 18px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.qwh-cookie-consent {
    position: fixed;
    inset: 0;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
    background: rgba(2, 6, 23, 0.55);
}
.qwh-cookie-consent.is-visible {
    display: flex;
}
.qwh-cookie-card {
    width: min(720px, 100%);
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 18px 18px 14px;
    color: #e5e7eb;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.qwh-cookie-title {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 8px;
}
.qwh-cookie-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(229, 231, 235, 0.92);
}
.qwh-cookie-desc a {
    color: #fbbf24;
    text-decoration: underline;
}
.qwh-cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.qwh-cookie-btn {
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: #e5e7eb;
    cursor: pointer;
}
.qwh-cookie-accept {
    background: #d32f2f;
    border-color: #d32f2f;
}
.qwh-cookie-accept:hover {
    background: #b71c1c;
    border-color: #b71c1c;
}
.qwh-cookie-decline:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

/* Back to top button */
.back-to-top {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #d32f2f;
    text-decoration: none;
    transition: all 0.3s;
}
.back-to-top:hover {
    background-color: #b71c1c;
    border-color: #b71c1c;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .footer-top {
        padding: 50px 16px;
        text-align: center;
    }
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    .footer-logo .custom-logo-link {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .footer-logo .custom-logo,
    .footer-logo svg {
        max-width: min(320px, 100%);
        height: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    .app-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-contact ul li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
    .footer-contact ul li svg {
        margin-top: 0;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .payment-icons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* WooCommerce Overrides */
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
    background: #fff;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    text-align: center;
}
.woocommerce ul.products li.product .button {
    background-color: #d32f2f;
    color: #fff;
}
.woocommerce ul.products li.product .button:hover {
    background-color: #b71c1c;
}

/* Homepage Overrides */
.homepage-wrapper .container {
    max-width: none;
    margin: 0;
    padding: 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    text-transform: uppercase;
}

/* 1. Hero Section */
.hero-section {
    width: 100%;
    margin-bottom: 50px;
}
.hero-carousel {
    width: 100%;
    height: 600px;
}
.hero-carousel .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    border-radius: 8px;
    color: #fff;
    max-width: 600px;
}
.hero-content h2 {
    font-size: 40px;
    margin: 0 0 15px;
}
.hero-content p {
    font-size: 18px;
    margin: 0 0 25px;
}
.btn-primary {
    display: inline-block;
    background-color: #d32f2f;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
}
.btn-primary:hover {
    background-color: #b71c1c;
    color: #fff;
    text-decoration: none;
}

/* 2. Tabs Section */
.products-tabbed-section {
    margin-bottom: 60px;
    width: 100%;
    padding: 0 40px;
}
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
    color: #555;
    text-transform: uppercase;
}
.tab-btn.active, .tab-btn:hover {
    color: #d32f2f;
    border-bottom-color: #d32f2f;
}
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.tab-pane .woocommerce ul.products::before,
.tab-pane .woocommerce ul.products::after {
    display: none;
}
.tab-pane .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}
@media (max-width: 992px) {
    .tab-pane .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 576px) {
    .tab-pane .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
    .tabs-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 18px;
    }
    .tab-btn {
        font-size: 14px;
        padding: 8px 10px;
    }
}

/* 3. Inspirations */
.inspirations-section {
    margin-bottom: 60px;
    width: 100%;
    padding: 0 40px;
}
.inspirations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.inspiration-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 320px;
}
.inspiration-item img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
    height: 100%;
    object-fit: cover;
}
.inspiration-item .inspiration-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.3s ease;
}
.inspiration-item:hover .inspiration-bg {
    transform: scale(1.05);
}
.inspiration-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 20px;
    text-align: center;
}

.qwh-info-strip {
    width: 100%;
    padding: 40px 40px;
    background: #fff;
    margin-bottom: 60px;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    font-family: inherit;
}
.qwh-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}
.qwh-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 10px;
    font-family: inherit;
}
.qwh-info-icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #111;
}
.qwh-info-title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 800;
    color: #111;
    font-family: inherit;
}
.qwh-info-text {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
    max-width: 260px;
    line-height: 1.5;
    font-family: inherit;
}

.categories-section {
    background-color: #eee;
    padding: 60px 40px;
    margin-bottom: 0;
    width: 100%;
}
.categories-grid {
    --qwh-cat-gap: 22px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--qwh-cat-gap) * 5)) / 6);
    grid-template-rows: 1fr;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--qwh-cat-gap);
}
.categories-grid::-webkit-scrollbar {
    display: none;
}
.categories-grid > .category-card {
    width: 100%;
    scroll-snap-align: start;
}
@media (max-width: 992px) {
    .categories-section {
        padding: 40px 16px;
    }
    .categories-grid {
        grid-auto-columns: calc((100% - var(--qwh-cat-gap)) / 2);
        grid-template-rows: repeat(3, auto);
    }
}
.category-card {
    background: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #111;
    min-height: 100%;
}
.category-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
    transform: translateY(-1px);
}
.category-card-image {
    width: 100%;
    display: block;
}
.category-card-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.category-card-title {
    padding: 16px 12px 18px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.2px;
}
.categories-empty {
    text-align: center;
    margin: 18px 0 0;
    color: #555;
}

@media (max-width: 992px) {
    .qwh-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .qwh-info-strip {
        padding: 30px 16px;
    }
    .qwh-info-grid {
        grid-template-columns: 1fr;
    }
}


/* WooCommerce General Page Layout */
.woocommerce-page .site-content {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
}
.shop-page-wrapper {
    display: flex;
    gap: 30px;
    width: 100%;
    margin: 16px 0 24px;
    padding: 0 40px;
}
.shop-page-wrapper.no-sidebar {
    display: block;
}
.shop-page-wrapper.no-sidebar .shop-main-content {
    width: 100%;
}
.shop-sidebar {
    width: 250px;
    flex-shrink: 0;
}
.tax-product_cat .shop-sidebar {
    width: 280px;
}
.qwh-js .shop-sidebar .product-cat-item.has-children {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 10px;
}
.qwh-js .shop-sidebar .product-cat-item.has-children > .product-cats-children {
    grid-column: 1 / -1;
    display: none;
    padding-left: 14px;
}
.qwh-js .shop-sidebar .product-cat-item.has-children.is-open > .product-cats-children {
    display: block;
}
.qwh-js .shop-sidebar .qwh-cat-toggle {
    width: 28px;
    height: 28px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
}
.qwh-js .shop-sidebar .qwh-cat-toggle::before {
    content: '+';
    font-weight: 800;
    line-height: 1;
}
.qwh-js .shop-sidebar .product-cat-item.has-children.is-open > .qwh-cat-toggle::before {
    content: '−';
}
.qwh-js .shop-sidebar .product-cat-link {
    min-width: 0;
}
.shop-main-content {
    flex-grow: 1;
}
.woocommerce-shop .shop-main-content.site-main,
.tax-product_cat .shop-main-content.site-main {
    padding: 0;
}

@media (max-width: 992px) {
    .shop-page-wrapper {
        flex-direction: column;
        gap: 20px;
        margin: 10px 0 16px;
        padding: 0 16px;
    }
    .shop-sidebar {
        display: none !important;
    }
    .shop-main-content {
        width: 100%;
    }
}

/* Sidebar Widgets Styling */
.widget {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #eee;
}
.widget-title {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
}
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f9f9f9;
}
.widget ul li:last-child {
    border-bottom: none;
}
.widget ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}
.widget ul li a:hover {
    color: #d32f2f;
}

/* Shop Header Controls (Sorting, Results count) */
.woocommerce-products-header {
    margin-bottom: 30px;
}
.woocommerce-shop .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header {
    margin-bottom: 12px;
}
.woocommerce-products-header__title.page-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}
.woocommerce-result-count {
    float: left;
    color: #666;
    margin-top: 10px;
}
.woocommerce-ordering {
    float: right;
    margin-bottom: 20px;
}
.woocommerce-ordering select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}
.woocommerce::after {
    content: "";
    display: table;
    clear: both;
}

.post-type-archive-product .shop-page-wrapper {
    margin-top: 24px;
}
.post-type-archive-product .woocommerce-products-header {
    margin-bottom: 14px;
}
.post-type-archive-product .woocommerce-products-header__title.page-title {
    margin-bottom: 10px;
}
.post-type-archive-product .woocommerce-result-count {
    margin-top: 0;
}
.post-type-archive-product .woocommerce-ordering {
    margin-bottom: 10px;
}

.tax-product_cat.term-drawer-slides .woocommerce-breadcrumb {
    display: none;
}
.tax-product_cat.term-drawer-slides .woocommerce-products-header__title.page-title {
    text-align: center;
}

/* Shop Page / Archive */
.woocommerce .products ul::before,
.woocommerce .products ul::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}
.woocommerce .products ul, .woocommerce ul.products {
    display: grid;
    gap: 20px;
    clear: both;
}
.woocommerce ul.products.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}
.woocommerce ul.products.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}
.woocommerce ul.products.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}
.woocommerce ul.products.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
.woocommerce ul.products.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1200px) {
    .woocommerce ul.products.columns-6 {
        grid-template-columns: repeat(4, 1fr);
    }
    .woocommerce ul.products.columns-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .woocommerce ul.products.columns-6,
    .woocommerce ul.products.columns-5,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .tax-product_cat .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 576px) {
    .woocommerce ul.products.columns-6,
    .woocommerce ul.products.columns-5,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid #eee;
    padding: 0;
    border-radius: 4px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.woocommerce ul.products li.product a img {
    width: 100%;
    height: clamp(140px, 18vw, 220px);
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    background: #f6f6f6;
    display: block;
    color: transparent;
}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: block;
    overflow: hidden;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px;
    color: #222;
    padding: 0;
    margin: 8px 0 6px;
    line-height: 1.3;
    min-height: 2.6em; /* roughly two lines */
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    color: inherit;
    text-decoration: none;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
    color: #d32f2f;
    text-decoration: none;
}
.woocommerce ul.products li.product .price {
    color: #d32f2f;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}
.woocommerce ul.products li.product .price del {
    color: #888;
    margin-right: 6px;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: #d32f2f;
}
.woocommerce ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border-radius: 6px;
    background: #111;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .3px;
    font-weight: 700;
    font-size: 13px;
}
.woocommerce ul.products li.product .button:hover {
    background: #000;
}

.shop-sidebar .product-cats {
    margin: 0;
    padding: 0;
}
.shop-sidebar .product-cats li {
    border-bottom: 1px solid #f2f2f2;
    padding: 10px 0;
}
.shop-sidebar .product-cats li:last-child {
    border-bottom: none;
}
.shop-sidebar .product-cats a {
    display: inline-flex;
    color: #444;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.shop-sidebar .product-cats a:hover {
    color: #d32f2f;
}
.shop-sidebar .product-cats-children {
    margin-top: 8px;
    padding-left: 14px;
}
.shop-sidebar .product-cats-children li {
    border-bottom: none;
    padding: 6px 0;
}
.shop-sidebar .product-cats-children a {
    font-weight: 500;
    font-size: 13px;
    color: #666;
}

.qwh-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.qwh-media {
    position: relative;
    overflow: hidden;
}
.qwh-image-link {
    display: block;
}
.qwh-overlay-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
    pointer-events: none;
}
.woocommerce ul.products li.product:hover .qwh-overlay-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.qwh-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.qwh-action-btn:hover {
    border-color: #d32f2f;
    color: #d32f2f;
}
.qwh-action-btn.is-active {
    border-color: #111;
    background: #111;
    color: #fff;
}
.qwh-view-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin: 6px auto 0;
    background: #111;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    padding: 0 14px;
    border-radius: 4px;
}
.qwh-view-products:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}
.qwh-view-products.qwh-buy-now {
    background: #7A8E75;
    color: #fff;
}
.qwh-view-products.qwh-buy-now:hover {
    background: #6a7e66;
    color: #fff;
}
.qwh-details {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}
.qwh-details .price {
    margin-bottom: 0;
}

.qwh-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.qwh-modal[aria-hidden="false"] {
    display: flex;
}
.qwh-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}
.qwh-modal-dialog {
    position: relative;
    width: min(1120px, 96vw);
    max-height: 88vh;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}
.qwh-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: #111;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.qwh-modal-close:hover {
    border-color: #d32f2f;
    color: #d32f2f;
}
.qwh-modal-body {
    overflow: auto;
}
.qwh-qv {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 560px;
}
.qwh-qv-left {
    background: #f6f6f6;
    position: relative;
    display: flex;
    align-items: stretch;
}
.qwh-qv-gallery {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}
.qwh-qv-images {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}
.qwh-qv-image {
    display: none;
    width: 100%;
    height: 100%;
}
.qwh-qv-image.is-active {
    display: block;
}
.qwh-qv-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.qwh-qv-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: #111;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qwh-qv-prev {
    left: 18px;
}
.qwh-qv-next {
    right: 18px;
}
.qwh-qv-dots {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.qwh-qv-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background: rgba(0,0,0,0.25);
    cursor: pointer;
}
.qwh-qv-dot.is-active {
    background: #111;
}
.qwh-qv-right {
    padding: 28px 28px 34px;
    overflow: auto;
}
.qwh-qv-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
    color: #111;
}
.qwh-qv-price {
    font-size: 20px;
    font-weight: 800;
    margin: 10px 0 16px;
    color: #111;
}
.qwh-qv-excerpt {
    color: #444;
    line-height: 1.8;
    margin-bottom: 16px;
}
.qwh-stock {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
}
.qwh-stock-in {
    background: #eaf7ea;
    color: #0f7b2a;
}
.qwh-stock-out {
    background: #fdecec;
    color: #b91c1c;
}
.qwh-qv-qty-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    margin-top: 18px;
}
.qwh-qv-qty-row input {
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 12px;
}
.qwh-qv-add-single,
.qwh-qv-add-multiple {
    height: 46px;
    border: none;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
}
.qwh-qv-add-single:hover,
.qwh-qv-add-multiple:hover {
    background: #000;
}
.qwh-qv-variations {
    margin-top: 18px;
}
.qwh-qv-variations-head {
    display: grid;
    grid-template-columns: 1fr 130px 110px;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fafafa;
    font-weight: 800;
}
.qwh-qv-variations-body {
    margin-top: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}
.qwh-qv-variation-row {
    display: grid;
    grid-template-columns: 1fr 130px 110px;
    gap: 12px;
    padding: 12px;
    border-top: 1px solid #f1f1f1;
    align-items: center;
}
.qwh-qv-variation-row:first-child {
    border-top: none;
}
.qwh-qv-variation-attrs {
    color: #111;
    font-weight: 700;
    font-size: 13px;
}
.qwh-qv-variation-price {
    font-weight: 800;
    color: #111;
}
.qwh-qv-variation-qty input {
    width: 100%;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
}
.qwh-qv-add-multiple {
    width: 100%;
    margin-top: 14px;
}

@media (max-width: 992px) {
    .qwh-qv {
        grid-template-columns: 1fr;
    }
    .qwh-qv-left {
        min-height: 420px;
    }
    .qwh-qv-gallery {
        padding: 18px;
    }
}

/* Single Product Page */
.single-product .site-main {
    padding: 0;
}
.single-product-wrapper {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 24px clamp(16px, 3vw, 60px);
    background: transparent;
}
.woocommerce div.product.qwh-pdp-product {
    display: block;
}
.qwh-pdp-top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 32px;
    align-items: start;
    width: 100%;
}
.qwh-pdp-gallery {
    background: #f5f5f5;
    border: 0;
    border-radius: 0;
    padding: 18px;
    position: relative;
}
.qwh-gallery-zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: #111;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 7;
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}
.qwh-gallery-zoom::before {
    content: '⌕';
    font-size: 22px;
    line-height: 1;
}
.qwh-gallery-zoom:hover {
    border-color: #d32f2f;
    color: #d32f2f;
}
.qwh-pdp-gallery .woocommerce-product-gallery {
    position: relative;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    display: block !important;
}
.qwh-pdp-gallery .woocommerce-product-gallery__trigger {
    display: none !important;
}
.qwh-pdp-gallery .woocommerce-product-gallery__wrapper {
    width: 100%;
}
.qwh-pdp-gallery .woocommerce-product-gallery__image {
    margin: 0;
}
.qwh-pdp-gallery .flex-control-nav.flex-control-thumbs {
    margin-top: 10px !important;
}
.qwh-pdp-summary {
    width: auto !important;
    margin: 0 !important;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}
.qwh-pdp-summary .product_title {
    text-transform: none;
    font-size: 26px;
    color: #111;
}
.qwh-pdp--v2 .qwh-pdp-brand {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}
.qwh-pdp--v2 .qwh-pdp-brand span {
    color: #111;
    font-weight: 800;
}
.qwh-pdp--v2 .qwh-pdp-rating-row {
    margin: 6px 0 10px;
}
.qwh-pdp--v2 .qwh-pdp-price-row {
    margin: 6px 0 12px;
}
.qwh-pdp--v2 .qwh-pdp-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 14px;
}
.qwh-pdp--v2 .qwh-pdp-stock .stock {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e8f5e9;
    color: #0f7b2a;
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 14px;
}
.qwh-pdp--v2 .qwh-pdp-cart form.cart {
    margin-top: 0;
}
.qwh-pdp--v2 .qwh-pdp-cart form.cart .button {
    flex: 1;
    width: 100%;
    border-radius: 6px;
}
.qwh-pdp--v2 .qwh-buy-now-single {
    margin-top: 10px;
    width: 100%;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
}
.qwh-pdp--v2 .qwh-buy-now-single:hover {
    background: #000;
    color: #fff;
}
.qwh-pdp--v2 .qwh-buy-now-single.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}
.qwh-pdp-summary form.cart .button {
    background-color: #0f7b2a;
}
.qwh-pdp-summary form.cart .button:hover {
    background-color: #0b5f20;
}
.qwh-pdp-summary table.variations {
    width: 100%;
}
/* OLD .qwh-pdp-details rules removed — replaced by .qwh-pdp-details-wrap rules below */
.qwh-pdp-details {
    margin-top: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    width: 100%;
}
.qwh-product-fullwidth .single-product-wrapper {
    max-width: none;
    margin: 0 auto;
    padding: 0 40px;
}
.qwh-product-fullwidth .woocommerce-breadcrumb {
    display: none;
}
.qwh-product-fullwidth .woocommerce div.product {
    justify-content: center;
}
.qwh-product-fullwidth .woocommerce div.product div.images {
    width: auto !important;
    max-width: 200px;
    padding: 0;
    border: 0;
    background: transparent;
}
.qwh-product-fullwidth .woocommerce div.product div.images img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.qwh-product-fullwidth .woocommerce div.product .woocommerce-product-gallery {
    gap: 0;
}
.qwh-product-fullwidth .woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
    display: none;
}
.single-product .woocommerce-breadcrumb {
    margin: 10px 0 24px;
    font-size: 13px;
    color: #666;
}
.single-product .woocommerce-breadcrumb a {
    color: #444;
    text-decoration: none;
    font-weight: 700;
}
.single-product .woocommerce-breadcrumb a:hover {
    color: #d32f2f;
    text-decoration: none;
}
.woocommerce div.product:not(.qwh-pdp-product) {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images {
    width: 48% !important;
    margin-bottom: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
}
.woocommerce div.product:not(.qwh-pdp-product) div.summary {
    width: 48% !important;
    margin-bottom: 0;
    padding: 18px 18px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images .woocommerce-product-gallery {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images .woocommerce-product-gallery .flex-viewport {
    flex: 1 1 auto;
    min-width: 0;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
    flex: 0 0 96px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 520px;
    overflow: auto;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
    width: 100%;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li img {
    width: 100%;
    height: auto;
    display: block;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images .woocommerce-product-gallery__image {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images .flex-control-nav.flex-control-thumbs {
    display: flex;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images .flex-control-nav.flex-control-thumbs li {
    width: 100%;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images .flex-control-nav.flex-control-thumbs li img {
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s;
}
.woocommerce div.product:not(.qwh-pdp-product) div.images .flex-control-nav.flex-control-thumbs li img.flex-active,
.woocommerce div.product:not(.qwh-pdp-product) div.images .flex-control-nav.flex-control-thumbs li img:hover {
    border-color: #d32f2f;
}

.woocommerce div.product .product_title {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #d32f2f;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
}
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}
.woocommerce div.product table.variations {
    margin: 10px 0 20px;
}
.woocommerce div.product table.variations tr {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.woocommerce div.product table.variations td.label label {
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-right: 8px;
    font-size: 13px;
}
.woocommerce div.product table.variations td.label {
    flex: 0 0 auto;
}
.woocommerce div.product table.variations td.value {
    flex: 1 1 200px;
    min-width: 0;
    display: flex;
    align-items: center;
}
.woocommerce div.product table.variations td.value select {
    min-width: 220px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    width: min(300px, 100%);
    max-width: 100%;
}
.woocommerce div.product table.variations td.value {
    position: relative;
}
.woocommerce div.product table.variations td.value select.qwh-hidden-select {
    position: absolute;
    left: -99999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.woocommerce div.product table.variations td.value .qwh-variation-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}
.woocommerce div.product table.variations td.value .qwh-variation-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    user-select: none;
}
.woocommerce div.product table.variations td.value .qwh-variation-box input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.woocommerce div.product table.variations td.value .qwh-variation-box.is-selected {
    border-color: #0f7b2a;
    box-shadow: 0 0 0 2px rgba(15, 123, 42, 0.15);
}
.woocommerce div.product table.variations td.value .qwh-variation-box:focus-within {
    outline: 2px solid rgba(15, 123, 42, 0.35);
    outline-offset: 2px;
}
.woocommerce div.product table.variations td.value .qwh-variation-box.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.woocommerce div.product table.variations td.value .qwh-variation-box.is-disabled.is-selected {
    border-color: #ddd;
    box-shadow: none;
}
.woocommerce div.product .single_variation_wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.woocommerce div.product .single_variation_wrap .woocommerce-variation {
    flex: 0 0 auto;
}
.woocommerce div.product .single_variation_wrap .woocommerce-variation-add-to-cart {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: wrap;
}
.woocommerce div.product .single_variation .price {
    font-size: 22px;
    color: #d32f2f;
    font-weight: 700;
}
.woocommerce div.product .reset_variations {
    color: #999;
    margin-left: 8px;
    font-size: 12px;
}
.woocommerce div.product form.cart:not(.variations_form) {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    align-items: center;
}
.woocommerce div.product form.variations_form {
    margin-top: 18px;
}
.woocommerce div.product form.cart .quantity {
    display: flex;
}
.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.woocommerce div.product form.cart .quantity input.qty {
    -moz-appearance: textfield;
}
.woocommerce div.product form.cart .quantity .qwh-qty {
    display: grid;
    grid-template-columns: 72px 34px;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.woocommerce div.product form.cart .quantity input.qty {
    width: 72px;
    height: 48px;
    text-align: center;
    border: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
.woocommerce div.product form.cart .quantity .qwh-qty-btns {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 1px solid #ddd;
}
.woocommerce div.product form.cart .quantity .qwh-qty-btn {
    width: 34px;
    flex: 1;
    border: 0;
    background: #f8fafc;
    color: #0f7b2a;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.woocommerce div.product form.cart .quantity .qwh-qty-btn + .qwh-qty-btn {
    border-top: 1px solid #ddd;
}
.woocommerce div.product form.cart .quantity .qwh-qty-btn:hover {
    background: #eef7f1;
}
.woocommerce div.product form.cart .button {
    background-color: #0f7b2a;
    color: #fff;
    padding: 0 18px;
    height: 50px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    flex: 0 0 auto;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.woocommerce div.product form.cart .button:hover {
    background-color: #0b5f20;
}
.woocommerce div.product .product_meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}
.woocommerce div.product .product_meta > span {
    display: block;
    margin-bottom: 10px;
}
.woocommerce div.product .product_meta > span span,
.woocommerce div.product .product_meta > span a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}
.woocommerce div.product .product_meta > span a:hover {
    color: #d32f2f;
}

/* Product Tabs (Description, Reviews, etc) */
.woocommerce div.product .woocommerce-tabs {
    width: 100%;
    clear: both;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #eee;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 22px 22px 26px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    gap: 0;
    border-bottom: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    flex: 1;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 14px;
    color: #0f7b2a;
    background: #fff;
    border: 1px solid #0f7b2a;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    text-align: center;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #fff;
    background: #0f7b2a;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li + li a {
    border-left: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:first-child a {
    border-top-left-radius: 6px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:last-child a {
    border-top-right-radius: 6px;
}
.woocommerce div.product .woocommerce-Tabs-panel {
    color: #555;
    line-height: 1.8;
}
.woocommerce div.product .woocommerce-Tabs-panel h2 {
    display: none; /* Hide redundant tab titles */
}

@media (max-width: 992px) {
    .single-product-wrapper {
        margin: 24px auto;
        padding: 0 16px;
    }
    .single-product .woocommerce-breadcrumb {
        display: none;
    }
    .qwh-pdp-top {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .qwh-pdp-details {
        padding: 14px 14px 16px;
    }
    .woocommerce div.product:not(.qwh-pdp-product) {
        flex-direction: column;
        gap: 20px;
    }
    .woocommerce div.product:not(.qwh-pdp-product) div.images,
    .woocommerce div.product:not(.qwh-pdp-product) div.summary {
        width: 100% !important;
        float: none !important;
    }
    .woocommerce div.product:not(.qwh-pdp-product) div.images {
        padding: 10px;
    }
    .woocommerce div.product:not(.qwh-pdp-product) div.summary {
        padding: 16px;
    }
    .woocommerce div.product:not(.qwh-pdp-product) div.images .woocommerce-product-gallery {
        flex-direction: column;
    }
    .woocommerce div.product:not(.qwh-pdp-product) div.images .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
        flex-direction: row;
        flex: 0 0 auto;
        max-height: none;
        overflow: visible;
        width: 100%;
    }
    .woocommerce div.product:not(.qwh-pdp-product) div.images .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
        width: calc(25% - 7.5px);
    }
    .woocommerce div.product .product_title {
        font-size: 22px;
    }
    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 20px;
        margin-bottom: 18px;
    }
    .woocommerce div.product .woocommerce-product-details__short-description {
        padding-bottom: 18px;
        margin-bottom: 18px;
    }
    .woocommerce div.product table.variations tr {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .woocommerce div.product table.variations td.value select {
        min-width: 0;
        width: 100%;
    }
    .woocommerce div.product .single_variation_wrap {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    .woocommerce div.product form.cart:not(.variations_form) {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }
    .woocommerce div.product form.cart .quantity {
        flex: 0 0 auto;
    }
    .woocommerce div.product form.cart .quantity input.qty {
        width: 72px;
    }
    .woocommerce div.product form.cart .button {
        flex: 0 0 auto;
        width: auto;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        flex: 1 1 calc(50% - 10px);
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        font-size: 14px;
        padding: 10px 12px;
        border-left: 1px solid #0f7b2a;
        border-radius: 6px;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li + li a {
        border-left: 1px solid #0f7b2a;
    }
    .woocommerce div.product .woocommerce-tabs {
        margin-top: 24px;
        padding-top: 0;
        padding: 16px;
    }
}

@media (max-width: 992px) {
    .qwh-overlay-actions {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
    .qwh-pdp-gallery {
        padding: 10px;
    }
    .qwh-pdp-gallery .woocommerce-product-gallery__trigger {
        top: 8px;
        right: 8px;
    }
    .qwh-gallery-zoom {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 576px) {
    .woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 6px;
        flex-wrap: nowrap;
    }
    .woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
        flex: 0 0 76px;
        width: auto;
    }
    .woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li img {
        border-radius: 6px;
    }
    .woocommerce div.product form.cart .quantity input.qty {
        height: 46px;
        font-size: 15px;
    }
    .woocommerce div.product form.cart .button {
        height: 46px;
        font-size: 14px;
    }
    .qwh-pdp-summary {
        text-align: center;
    }
    .qwh-pdp-summary .product_title,
    .qwh-pdp-summary p.price,
    .qwh-pdp-summary span.price {
        text-align: center;
    }
    .qwh-pdp-summary table.variations tr {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    .qwh-pdp-summary table.variations td.label {
        text-align: center;
    }
    .qwh-pdp-summary table.variations td.value {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .qwh-pdp-summary table.variations td.value select {
        width: min(320px, 100%);
    }
    .qwh-pdp-summary .single_variation_wrap {
        align-items: center;
    }
    .qwh-pdp-summary form.cart {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
    }
    .qwh-pdp-summary form.cart .quantity input.qty {
        width: 72px;
    }
    .qwh-pdp-summary form.cart .button {
        width: auto;
        flex: 0 0 auto;
    }
    .qwh-pdp-details .related > h2,
    .qwh-pdp-details .related.products > h2 {
        text-align: center;
    }
}

.single-product .product-type-variable .summary p.price:empty,
.single-product .product-type-variable .summary span.price:empty {
    display: none;
}

/* Cart (Independent) */
/* ── Cart page: full-width reset ── */
.woocommerce-cart .site-content,
.woocommerce-cart .site-main,
.woocommerce-cart #primary {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}
.woocommerce-cart .woocommerce {
	width: 100%;
	padding: 24px clamp(16px, 4vw, 60px);
}
@media (min-width: 1024px) {
	.woocommerce-cart .woocommerce {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		gap: 24px;
		align-items: start;
	}
	.woocommerce-cart .woocommerce-cart-form { grid-column: 1; min-width: 0; }
	.woocommerce-cart .cart-collaterals { grid-column: 2; min-width: 0; margin: 0; position: sticky; top: 24px; }
}

.woocommerce-cart table.shop_table.qwh-cart-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
}
.woocommerce-cart table.shop_table.qwh-cart-table thead {
	background: #f8fafc;
}
.woocommerce-cart table.shop_table.qwh-cart-table thead th {
	padding: 14px 12px;
	border-bottom: 1px solid #eee;
	font-weight: 900;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #111;
	white-space: nowrap;
	text-align: left;
}
.woocommerce-cart table.shop_table.qwh-cart-table tbody td {
	padding: 14px 12px;
	border-bottom: 1px solid #f0f0f0;
	vertical-align: middle;
}
.woocommerce-cart table.shop_table.qwh-cart-table tbody tr:last-child td {
	border-bottom: 0;
}

.woocommerce-cart table.shop_table.qwh-cart-table th.product-thumbnail,
.woocommerce-cart table.shop_table.qwh-cart-table td.product-thumbnail { width: 128px; }
.woocommerce-cart table.shop_table.qwh-cart-table td.product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.woocommerce-cart table.shop_table.qwh-cart-table th.product-unit,
.woocommerce-cart table.shop_table.qwh-cart-table td.product-unit { width: 90px; text-align: center; white-space: nowrap; }
.woocommerce-cart table.shop_table.qwh-cart-table th.product-quantity,
.woocommerce-cart table.shop_table.qwh-cart-table td.product-quantity { width: 140px; text-align: center; white-space: nowrap; }
.woocommerce-cart table.shop_table.qwh-cart-table th.product-price,
.woocommerce-cart table.shop_table.qwh-cart-table td.product-price,
.woocommerce-cart table.shop_table.qwh-cart-table th.product-subtotal,
.woocommerce-cart table.shop_table.qwh-cart-table td.product-subtotal { width: 140px; text-align: right; white-space: nowrap; }
.woocommerce-cart table.shop_table.qwh-cart-table th.product-remove,
.woocommerce-cart table.shop_table.qwh-cart-table td.product-remove { width: 60px; text-align: center; }

.woocommerce-cart table.shop_table.qwh-cart-table td.product-name a {
	color: #111;
	font-weight: 800;
	text-decoration: none;
}
.woocommerce-cart table.shop_table.qwh-cart-table td.product-name a:hover {
	color: #d32f2f;
}

.woocommerce-cart table.shop_table.qwh-cart-table td.product-quantity .quantity {
	display: inline-flex;
}
.woocommerce-cart table.shop_table.qwh-cart-table td.product-quantity input.qty {
	width: 76px;
	height: 44px;
	border: 1px solid #ddd;
	border-radius: 8px;
	text-align: center;
	font-weight: 800;
}
.woocommerce-cart table.shop_table.qwh-cart-table td.product-unit .qwh-unit-select {
	width: 100%;
	height: 44px;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 0 10px;
	font-weight: 800;
	background: #fff;
}

.woocommerce-cart table.shop_table.qwh-cart-table a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	color: #b91c1c;
	background: #fff;
	border: 1px solid #f1caca;
	line-height: 1;
}
.woocommerce-cart table.shop_table.qwh-cart-table a.remove:hover {
	background: #b91c1c;
	color: #fff;
	border-color: #b91c1c;
}

.woocommerce-cart table.shop_table.qwh-cart-table td.actions {
	background: #f8fafc;
	border-top: 1px solid #eee;
	padding: 14px 12px;
}
.woocommerce-cart table.shop_table.qwh-cart-table td.actions .coupon {
	display: flex;
	align-items: stretch;
	gap: 10px;
	flex-wrap: nowrap;
	max-width: 520px;
}
.woocommerce-cart table.shop_table.qwh-cart-table td.actions .coupon .input-text {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 0 12px;
}
.woocommerce-cart table.shop_table.qwh-cart-table td.actions .coupon button[name="apply_coupon"] {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: #16a34a;
	color: #fff;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.woocommerce-cart table.shop_table.qwh-cart-table td.actions .coupon button[name="apply_coupon"]:hover {
	background: #15803d;
}
.woocommerce-cart table.shop_table.qwh-cart-table td.actions button[name="update_cart"] {
	height: 44px;
	padding: 0 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	color: #111;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-left: auto;
}
.woocommerce-cart table.shop_table.qwh-cart-table td.actions button[name="update_cart"]:hover {
	background: #f3f4f6;
}

.woocommerce-cart .cart-collaterals {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.woocommerce-cart .cart-collaterals > * {
	margin: 0;
}
.woocommerce-cart .cart-collaterals .cart_totals {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 24px 22px;
	text-align: left;
	float: none;
	width: 100%;
	box-shadow: 0 14px 30px rgba(2, 6, 23, 0.06) !important;
	filter: none !important;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
.woocommerce-cart .cart-collaterals .cart_totals > h2 {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 900;
	color: #111;
	text-align: left;
	letter-spacing: 0.2px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f0f0f0;
}
.woocommerce-cart .cart-collaterals .cart_totals table {
	width: 100%;
	max-width: none;
	margin: 0;
	border-collapse: collapse;
}
.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td {
	padding: 12px 0;
	border-bottom: 0;
	font-size: 14px;
	text-align: left;
}
.woocommerce-cart .cart-collaterals .cart_totals table,
.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td,
.woocommerce-cart .cart-collaterals .cart_totals table tr {
	border: 0;
}
.woocommerce-cart .cart-collaterals .cart_totals table th {
	font-weight: 800;
	color: #111;
	text-align: left;
}
.woocommerce-cart .cart-collaterals .cart_totals table td {
	font-weight: 900;
	color: #111;
	white-space: nowrap;
	text-align: right;
}
.woocommerce-cart .cart-collaterals .cart_totals table tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	width: 100%;
	padding: 2px 0;
}
.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td {
	display: block;
}
.woocommerce-cart .cart-collaterals .cart_totals table tr:not(.order-total) {
	border-bottom: 1px solid #eef2f7;
}
.woocommerce-cart .cart-collaterals .cart_totals table tr:last-child {
	border-bottom: 0;
}
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total {
	margin-top: 6px;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total th,
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total td {
	padding: 0;
	font-size: 15px;
}
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total td {
	color: #0f172a;
}
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total th,
.woocommerce-cart .cart-collaterals .cart_totals table tr.order-total td {
	border-bottom: 0;
	font-size: 15px;
}

.woocommerce-cart .wc-proceed-to-checkout {
	margin: 16px 0 0;
	display: flex;
	justify-content: stretch;
	width: 100%;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button.alt {
	display: flex;
	width: 100%;
	height: 50px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #16a34a;
	color: #fff;
	font-weight: 900;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	text-align: center;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button.alt:hover {
	background: #000;
	color: #fff;
}

@media (max-width: 768px) {
	.woocommerce-cart .wc-proceed-to-checkout {
		display: flex;
		justify-content: center;
	}
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button.alt {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.woocommerce-cart table.shop_table.qwh-cart-table thead { display: none; }
	.woocommerce-cart table.shop_table.qwh-cart-table,
	.woocommerce-cart table.shop_table.qwh-cart-table tbody { display: block; width: 100%; }
	.woocommerce-cart table.shop_table.qwh-cart-table tr.cart_item {
		display: grid;
		grid-template-columns: 100px 1fr;
		grid-template-areas:
			"image name"
			"image qty"
			"image unitprice"
			"image total"
			"remove remove";
		gap: 6px 14px;
		padding: 16px;
		border: 1px solid #eee;
		border-radius: 14px;
		margin-bottom: 14px;
		background: #fff;
		box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	}
	.woocommerce-cart table.shop_table.qwh-cart-table td {
		display: block;
		border: 0;
		padding: 0;
		width: auto;
		text-align: left;
	}
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-thumbnail { grid-area: image; }
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-thumbnail img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-name { grid-area: name; }
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-unit { grid-area: unit; }
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-quantity { grid-area: qty; }
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-price { grid-area: unitprice; }
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-subtotal { grid-area: total; }
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-remove { grid-area: remove; justify-self: start; padding-top: 4px !important; border-top: 1px solid #f5f5f5 !important; width: 100%; }

	.woocommerce-cart table.shop_table.qwh-cart-table td.product-unit::before,
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-quantity::before,
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-price::before,
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-subtotal::before {
		content: attr(data-title) ": ";
		font-weight: 800;
		color: #6b7280;
		margin-right: 6px;
	}
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-quantity { text-align: left; }
	.woocommerce-cart table.shop_table.qwh-cart-table td.product-quantity .quantity { display: inline-flex; }

	.woocommerce-cart table.shop_table.qwh-cart-table td.actions {
		display: block;
	}
	.woocommerce-cart table.shop_table.qwh-cart-table td.actions .coupon {
		max-width: none;
		flex-wrap: wrap;
	}
	.woocommerce-cart table.shop_table.qwh-cart-table td.actions .coupon .input-text {
		flex: 1 1 100%;
	}
	.woocommerce-cart table.shop_table.qwh-cart-table td.actions .coupon button[name="apply_coupon"] {
		flex: 1 1 100%;
	}
	.woocommerce-cart table.shop_table.qwh-cart-table td.actions button[name="update_cart"] {
		width: 100%;
		margin-left: 0;
		margin-top: 10px;
	}
}

@media (max-width: 480px) {
	.woocommerce-cart table.shop_table.qwh-cart-table tr.cart_item {
		grid-template-columns: 80px 1fr;
		gap: 4px 10px;
		padding: 12px;
	}
	.woocommerce-cart .cart-collaterals .cart_totals {
		padding: 18px 14px;
		border-radius: 12px;
	}
}
.woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
}
.woocommerce-checkout #payment div.payment_box {
    background-color: #eee;
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: #333;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
    background-color: #d32f2f;
}

.woocommerce-checkout #customer_details {
	margin: 0 0 16px;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout #order_review {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 18px 16px;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
	margin: 0 0 12px;
}
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-shipping-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3,
.woocommerce-checkout #order_review_heading {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 900;
	color: #111;
}
.woocommerce-checkout .form-row label {
	display: block;
	margin: 0 0 6px;
	font-weight: 800;
	font-size: 13px;
	color: #333;
}
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 0 12px;
	height: 44px;
	color: #111;
}
.woocommerce-checkout textarea {
	height: auto;
	padding: 10px 12px;
	min-height: 90px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
	text-align: left;
	font-weight: 800;
	color: #111;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
	text-align: right;
	font-weight: 900;
	color: #111;
	white-space: nowrap;
}
.woocommerce-checkout #payment #place_order {
	display: flex;
	width: 100%;
	height: 46px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #16a34a;
	border: 0;
	color: #fff;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.woocommerce-checkout #payment #place_order:hover {
	background: #15803d;
}

.woocommerce-checkout form.checkout_coupon button[name="apply_coupon"] {
	background: #16a34a;
	border-color: #16a34a;
	color: #fff;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	border-radius: 10px;
	height: 44px;
	padding: 0 14px;
}
.woocommerce-checkout form.checkout_coupon button[name="apply_coupon"]:hover {
	background: #15803d;
	border-color: #15803d;
	color: #fff;
}
@media (min-width: 1024px) {
	.woocommerce-checkout form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
		gap: 16px;
		align-items: start;
	}
	.woocommerce-checkout #customer_details {
		grid-column: 1;
		margin: 0;
	}
	.woocommerce-checkout #order_review_heading,
	.woocommerce-checkout #order_review {
		grid-column: 2;
	}
	.woocommerce-checkout #customer_details .col-1,
	.woocommerce-checkout #customer_details .col-2 {
		margin: 0;
	}
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 25%;
    float: left;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #eee;
    border-radius: 4px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #eee;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 15px 20px;
    color: #555;
    text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #f9f9f9;
    color: #d32f2f;
    font-weight: bold;
}
.woocommerce-account .woocommerce-MyAccount-content {
    width: 70%;
    float: right;
}

.woocommerce-account .woocommerce {
    display: flex;
    gap: 30px;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 30%;
}
.woocommerce-account .woocommerce-MyAccount-content {
    width: 70%;
    float: none;
}
.woocommerce-account .woocommerce form.register,
.woocommerce-account .woocommerce form.login {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 24px;
}
.qwh-register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    margin-top: 10px;
}
.qwh-register-grid .form-row-wide {
    grid-column: 1 / -1;
}
.woocommerce-account .woocommerce form .form-row label {
    font-weight: 700;
    font-size: 13px;
    color: #333;
}
.woocommerce-account .woocommerce form .input-text {
    width: 100%;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 12px;
    color: #333;
}
.woocommerce-account .woocommerce form .button {
    height: 46px;
    border: none;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
}
.woocommerce-account .woocommerce form .button:hover {
    background: #000;
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    margin-top: 0;
}
.woocommerce-account .woocommerce-message {
    border-left: 4px solid #0f7b2a;
}
.woocommerce-account .woocommerce-error {
    border-left: 4px solid #b91c1c;
}


/* Mega Menu */
.header-main-area {
    position: relative;
}
.main-navigation ul {
    align-items: center;
}
.has-mega-menu {
    position: static;
}
.has-mega-menu > a {
    display: flex !important;
    align-items: center;
    gap: 5px;
    padding-bottom: 20px !important;
}
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    width: min(1400px, calc(100vw - 80px));
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 2px solid #333;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 15px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 30px 40px;
    pointer-events: none;
}
.has-mega-menu:hover .mega-menu-wrapper,
.has-mega-menu.is-hover .mega-menu-wrapper,
.mega-menu-wrapper:hover {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}
.mega-menu-column {
    display: flex;
    flex-direction: column;
}
.mega-menu-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.mega-menu-title a {
    color: #333 !important;
}
.mega-menu-title a:hover {
    color: #d32f2f !important;
}
.mega-menu-column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}
.mega-menu-column ul li {
    margin-bottom: 10px;
}
.mega-menu-column ul li a {
    color: #666 !important;
    font-size: 13px !important;
    text-transform: none !important;
    font-weight: 400 !important;
    padding: 0 !important;
    transition: all 0.2s ease;
}
.mega-menu-column ul li a:hover {
    color: #d32f2f !important;
    padding-left: 5px !important;
}

.menu-hot-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    padding: 0 8px;
    border-radius: 999px;
    background: #d32f2f;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    margin-left: 8px;
    line-height: 1;
}

.hot-products-wrapper {
    padding: 24px 40px;
}
.hot-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.hot-products-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #111;
}
.hot-products-viewall {
    color: #666;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.hot-products-viewall:hover {
    color: #d32f2f;
    text-decoration: none;
}
.hot-products-grid {
    display: flex;
    gap: 18px;
    overflow: hidden;
    padding-bottom: 6px;
}
.hot-product-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    background: #fff;
    flex: 0 0 260px;
}
.hot-product-image img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    background: #f6f6f6;
}
.hot-product-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.hot-product-name {
    color: #111;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}
.hot-product-name:hover {
    color: #d32f2f;
    text-decoration: none;
}
.hot-product-price {
    color: #111;
    font-weight: 800;
    font-size: 13px;
}

@media (max-width: 992px) {
    .site-header {
        position: relative;
        z-index: 999;
    }
    .header-main-area {
        padding: 12px 16px;
        display: grid;
        grid-template-columns: 44px 1fr;
        grid-template-areas:
            "branding branding"
            "toggle actions"
            "nav nav";
        gap: 12px;
        align-items: center;
    }
    .site-branding {
        grid-area: branding;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .menu-toggle {
        display: inline-flex;
        grid-area: toggle;
        justify-self: start;
    }
    .header-right-actions {
        grid-area: actions;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: space-between;
        min-width: 0;
    }
    .header-search {
        flex: 0 1 62%;
        min-width: 0;
    }
    .header-search form {
        width: 100%;
        max-width: none;
    }
    .header-search .search-field {
        min-width: 0;
    }
    .header-icons {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 12px;
        flex-direction: row-reverse;
    }
    .header-icons .wishlist-icon {
        display: none;
    }
    .main-navigation {
        grid-area: nav;
        width: 100%;
        margin-left: 0;
        display: none;
        border-top: 1px solid #eee;
        padding-top: 10px;
        background: #fff;
        max-height: calc(100vh - 140px);
        overflow: auto;
    }
    body.nav-open .main-navigation {
        display: block;
    }
    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .main-navigation ul li a {
        display: flex;
        width: 100%;
        padding: 14px 12px;
    }
    .has-mega-menu > a {
        padding-bottom: 14px !important;
    }
    .main-navigation ul li.has-mega-menu > a svg {
        margin-left: auto;
        transition: transform 0.2s ease;
    }
    .main-navigation ul li.has-mega-menu.is-open > a svg {
        transform: rotate(180deg);
    }
    .mega-menu-wrapper {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        z-index: auto;
        padding: 0;
        pointer-events: auto;
        box-shadow: none;
        border-top: 0;
        max-height: none;
        overflow: visible;
        display: none;
        background: #f8f8f8;
    }
    .main-navigation ul li.has-mega-menu.is-open > .mega-menu-wrapper {
        display: block;
        position: static;
        left: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 10px 0;
    }
    .mega-menu-column {
        padding: 0;
    }
    .mega-menu-column ul {
        display: none !important;
    }
    .mega-menu-column.is-open ul {
        display: block !important;
    }
    .mega-menu-title {
        margin: 0;
        padding: 12px 12px 10px;
    }
    .mega-menu-column ul li a {
        display: block !important;
        padding: 10px 12px !important;
    }
    .hot-products-grid {
        grid-template-columns: 1fr;
    }
    body.nav-open .mobile-nav-overlay {
        display: block;
    }
    .products-tabbed-section,
    .inspirations-section,
    .categories-section,
    .shop-page-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hero-carousel {
        height: 420px;
    }
    .hero-content {
        padding: 24px;
        max-width: 520px;
    }
    .hero-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .inspirations-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .inspiration-item {
        height: 220px;
    }
    .inspiration-item h3 {
        padding: 16px;
        font-size: 16px;
    }
    .site-branding {
        justify-content: center;
        align-items: center;
        max-width: none;
    }
    .site-branding .custom-logo {
        max-width: min(320px, 100%);
        max-height: 60px;
    }
    .site-branding svg {
        width: min(320px, 100%);
        max-height: 60px;
    }
    .header-main-area {
        grid-template-columns: 44px 1fr;
    }
    .header-right-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }
    .header-search {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    .header-icons {
        width: auto;
        justify-content: flex-end;
        gap: 10px;
    }
    .header-search form {
        padding: 2px 8px;
    }
    .header-search .search-field {
        font-size: 13px;
    }
    .hero-carousel {
        height: 340px;
    }
    .hero-content h2 {
        font-size: 26px;
    }
    .hero-content p {
        font-size: 16px;
    }
}


/* ============================================================
   SINGLE PRODUCT — FULL-BLEED / NO INNER CONTAINER (v2)
   ============================================================ */

/* 1. Strip all WordPress wrapper padding/margin for single product */
.single-product .site-content,
.single-product #content,
.single-product .site-main,
.single-product #primary {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
	background: transparent !important;
}

/* 2. Full-bleed product shell */
.qwh-pdp-fullbleed {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 2px;
	background: #fff;
}

/* 3. Two-column top split (image | summary), full viewport width */
.qwh-pdp-fullbleed .qwh-pdp-top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	width: 100%;
	min-height: 560px;
}

/* 4. Gallery column */
.qwh-pdp-fullbleed .qwh-pdp-gallery-col {
	background: #f5f5f5;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
}

.qwh-pdp-fullbleed .qwh-pdp-gallery {
	position: relative;
	background: #f5f5f5;
	padding: 24px;
	flex: 1;
	min-width: 0;
}

/* WC gallery inside column */
.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	display: flex !important;
	flex-direction: column;
	gap: 12px;
}
.qwh-pdp-fullbleed .qwh-pdp-gallery .flex-viewport,
.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery__wrapper,
.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery__image,
.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery__image > a,
.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery__image img {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}
.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery__image {
	margin: 0 !important;
}
.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery__wrapper {
	max-width: 100%;
	margin: 0;
}
.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery__trigger { display: none !important; }
.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	max-height: 600px;
	display: block;
	object-fit: contain;
	margin: 0 auto;
}
.qwh-pdp-fullbleed .qwh-pdp-gallery .flex-viewport {
	width: 100% !important;
}
.qwh-pdp-fullbleed .qwh-pdp-gallery .flex-control-nav.flex-control-thumbs {
	position: static !important;
	width: 100% !important;
	flex: 0 0 auto !important;
	max-height: none !important;
	overflow: visible !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	display: flex !important;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}
.qwh-pdp-fullbleed .qwh-pdp-gallery .flex-control-nav.flex-control-thumbs li { width: 66px !important; }
.qwh-pdp-fullbleed .qwh-pdp-gallery .flex-control-nav.flex-control-thumbs li img {
	width: 66px; height: 66px; object-fit: cover; border-radius: 4px;
	border: 2px solid #e5e5e5; cursor: pointer;
}
.qwh-pdp-fullbleed .qwh-pdp-gallery .flex-control-nav.flex-control-thumbs li img.flex-active,
.qwh-pdp-fullbleed .qwh-pdp-gallery .flex-control-nav.flex-control-thumbs li img:hover { border-color: #111; }

/* Zoom button */
.qwh-pdp-fullbleed .qwh-gallery-zoom {
	position: absolute; top: 14px; right: 14px; z-index: 7;
	width: 38px; height: 38px; border-radius: 999px;
	border: 1px solid #e8e8e8; background: #fff; color: #111; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.qwh-pdp-fullbleed .qwh-gallery-zoom::before { content: '⌕'; font-size: 20px; line-height: 1; }
.qwh-pdp-fullbleed .qwh-gallery-zoom:hover { border-color: #111; }
.qwh-pdp-fullbleed .woocommerce-product-gallery__image > a {
	pointer-events: none;
	cursor: default;
}

/* 5. Trust badge strip */
.qwh-pdp-trust-strip {
	display: flex; align-items: stretch;
	border-top: 1px solid #e5e5e5;
	flex: 0 0 auto;
}
.qwh-trust-item {
	flex: 1; display: flex; align-items: center; justify-content: center;
	gap: 7px; padding: 13px 10px; font-size: 13px; font-weight: 700; color: #333;
	border-right: 1px solid #e5e5e5; background: #fff;
}
.qwh-trust-item:last-child { border-right: 0; }
.qwh-trust-item svg { color: #555; flex-shrink: 0; }

/* 6. Summary column */
.qwh-pdp-fullbleed .qwh-pdp-summary {
	padding: 32px 36px 40px !important;
	width: auto !important; margin: 0 !important;
	background: #fff; float: none !important;
}

/* Title */
.qwh-pdp-fullbleed .qwh-pdp-summary .product_title {
	font-size: 22px; font-weight: 800; color: #111;
	line-height: 1.25; margin: 0 0 10px; text-transform: none;
}

/* Price */
.qwh-pdp-fullbleed .qwh-pdp-summary p.price,
.qwh-pdp-fullbleed .qwh-pdp-summary span.price {
	font-size: 20px; font-weight: 800; color: #111;
	margin: 0; display: inline-flex; align-items: baseline;
	gap: 8px; flex-wrap: wrap;
}
.qwh-pdp-fullbleed .qwh-pdp-summary .price del { color: #aaa; font-size: 16px; font-weight: 500; }
.qwh-pdp-fullbleed .qwh-pdp-summary .price ins { text-decoration: none; color: #111; }

/* Price + rating row */
.qwh-pdp-fullbleed .qwh-pdp-price-rating-row {
	display: flex; align-items: center; flex-wrap: wrap;
	gap: 12px; margin-bottom: 10px;
}

/* Urgency */
.qwh-pdp-fullbleed .qwh-pdp-urgency {
	display: flex; align-items: center; gap: 6px;
	font-size: 14px; font-weight: 600; color: #e25c00; margin-bottom: 14px;
}

/* Short description */
.qwh-pdp-fullbleed .qwh-pdp-excerpt {
	color: #555; font-size: 14px; line-height: 1.7; margin-bottom: 16px;
}
.qwh-pdp-fullbleed .qwh-pdp-excerpt p { margin: 0; }

/* Stock */
.qwh-pdp-fullbleed .qwh-pdp-stock .stock {
	display: inline-flex; align-items: center; height: 24px;
	padding: 0 10px; border-radius: 999px;
	background: #e8f5e9; color: #0f7b2a;
	font-weight: 800; font-size: 12px; margin-bottom: 14px;
}

/* 7. Variations form */
.qwh-pdp-fullbleed .qwh-pdp-cart .variations_form,
.qwh-pdp-fullbleed .qwh-pdp-cart form.cart {
	margin-top: 0 !important;
	width: 100% !important;
}
.qwh-pdp-fullbleed .product-type-variable .qwh-pdp-price-row {
	display: none;
}
.qwh-pdp-fullbleed .product-type-variable .qwh-pdp-stock {
	display: none;
}

/* Variation table rows */
.qwh-pdp-fullbleed .qwh-pdp-cart table.variations {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 14px;
}
.qwh-pdp-fullbleed .qwh-pdp-cart table.variations tr {
	display: flex !important;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.qwh-pdp-fullbleed .qwh-pdp-cart table.variations td.label {
	min-width: 60px;
}
.qwh-pdp-fullbleed .qwh-pdp-cart table.variations td.label label {
	font-weight: 800; font-size: 13px; color: #111;
	text-transform: uppercase; letter-spacing: 0.4px;
	white-space: nowrap;
}
.qwh-pdp-fullbleed .qwh-pdp-cart table.variations td.value {
	flex: 1;
}
.qwh-pdp-fullbleed .qwh-pdp-cart table.variations td.value select {
	width: 100%;
	min-width: 180px;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	color: #333;
	background: #fff;
}

/* Single variation price/stock display */
.qwh-pdp-fullbleed .qwh-pdp-cart .single_variation_wrap {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation.single_variation {
	margin-bottom: 0;
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 14px;
	flex-wrap: wrap;
	width: 100%;
	text-align: left;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation.single_variation .price,
.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation.single_variation .woocommerce-variation-price {
	flex: 0 0 auto;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation.single_variation .woocommerce-variation-availability {
	flex: 0 0 auto;
	font-weight: 800;
	color: #0f7b2a;
	margin: 0;
	text-align: left;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation.single_variation .woocommerce-variation-availability p {
	margin: 0;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation-add-to-cart,
.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation-add-to-cart.variations_button,
.qwh-pdp-fullbleed .qwh-pdp-cart .variations_button.woocommerce-variation-add-to-cart {
	display: flex !important;
	flex-direction: row !important;
	gap: 10px !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
	width: 100%;
}

/* 8. Quantity + Add to Cart row (simple products) */
.qwh-pdp-fullbleed .qwh-pdp-cart form.cart:not(.variations_form) {
	display: flex !important;
	gap: 10px !important;
	align-items: stretch !important;
	margin-top: 14px !important;
	width: 100% !important;
}

/* Qty input wrapper */
.qwh-pdp-fullbleed .qwh-pdp-cart form.cart .quantity,
.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation-add-to-cart .quantity {
	flex: 0 0 auto !important;
	display: flex !important;
	align-items: center !important;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .quantity .qwh-qty {
	display: grid;
	grid-template-columns: 52px 34px;
	height: 50px;
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .quantity input.qty {
	width: 52px; height: 50px;
	text-align: center; border: 0;
	font-size: 16px; font-weight: 700; color: #111;
	-moz-appearance: textfield;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .quantity input.qty::-webkit-outer-spin-button,
.qwh-pdp-fullbleed .qwh-pdp-cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.qwh-pdp-fullbleed .qwh-pdp-cart .quantity .qwh-qty-btns {
	display: flex; flex-direction: column; border-left: 1px solid #ddd;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .quantity .qwh-qty-btn {
	flex: 1; border: 0; background: #f8fafc; color: #333;
	font-size: 13px; font-weight: 900; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .quantity .qwh-qty-btn + .qwh-qty-btn { border-top: 1px solid #ddd; }
.qwh-pdp-fullbleed .qwh-pdp-cart .quantity .qwh-qty-btn:hover { background: #eee; }

/* ADD TO CART button */
.qwh-pdp-fullbleed .qwh-pdp-cart .button.single_add_to_cart_button,
.qwh-pdp-fullbleed .qwh-pdp-cart button.single_add_to_cart_button {
	flex: 0 0 auto !important;
	height: 50px !important;
	background: #111 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 14px !important;
	width: auto !important;
	max-width: 100% !important;
}
.qwh-pdp-fullbleed .qwh-pdp-cart .button.single_add_to_cart_button:hover,
.qwh-pdp-fullbleed .qwh-pdp-cart button.single_add_to_cart_button:hover { background: #000 !important; }

/* BUY NOW button */
.qwh-pdp-fullbleed .qwh-buy-now-single {
	display: inline-flex; align-items: center; justify-content: center;
	width: auto; height: 44px; margin: 10px 0 0;
	padding: 0 18px;
	background: #1f8a3b; color: #fff; border: 0; border-radius: 6px;
	font-size: 14px; font-weight: 900; text-transform: uppercase;
	letter-spacing: 0.5px; text-decoration: none;
	line-height: 1;
	text-align: center;
}
.qwh-pdp-fullbleed .qwh-buy-now-single:hover { background: #166a2c; color: #fff; text-decoration: none; }
.qwh-pdp-fullbleed .qwh-buy-now-single.is-disabled { opacity: 0.5; pointer-events: none; }

/* Action links row */
.qwh-pdp-fullbleed .qwh-pdp-actions-row {
	display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
	margin: 14px 0; padding: 12px 0;
	border-top: 1px solid #eee; border-bottom: 1px solid #eee;
}
.qwh-pdp-fullbleed .qwh-pdp-action-link {
	display: inline-flex; align-items: center; gap: 5px;
	color: #444; font-size: 12px; font-weight: 700;
	letter-spacing: 0.5px; text-decoration: none; text-transform: uppercase;
	padding: 10px 12px;
	border-radius: 999px;
	background: #f7f7f7;
}
.qwh-pdp-fullbleed .qwh-pdp-action-link:hover { color: #111; text-decoration: none; background: #efefef; }

/* Viewers badge */
.qwh-pdp-fullbleed .qwh-pdp-viewers {
	display: flex; align-items: center; gap: 6px;
	font-size: 13px; color: #555; margin-bottom: 14px;
}

/* Product meta */
.qwh-pdp-fullbleed .qwh-pdp-summary .product_meta {
	margin-top: 14px; padding-top: 14px;
	border-top: 1px solid #eee; font-size: 13px; color: #666;
}
.qwh-pdp-fullbleed .qwh-pdp-summary .product_meta > span { display: block; margin-bottom: 6px; }
.qwh-pdp-fullbleed .qwh-pdp-summary .product_meta a { color: #333; font-weight: 700; text-decoration: none; }
.qwh-pdp-fullbleed .qwh-pdp-summary .product_meta a:hover { color: #d32f2f; }

/* 9. Tabs section below the fold */
.qwh-pdp-details-wrap {
	width: 100%; background: #fff;
	border-top: 1px solid #eee;
	padding: 36px clamp(12px, 2vw, 24px);
}
.qwh-pdp-details-wrap .qwh-pdp-details {
	max-width: none;
	margin: 0 auto;
	width: 100%;
}
.qwh-pdp-details-wrap .woocommerce-tabs {
	margin: 0 !important; padding: 0 !important;
	border: 0 !important; background: transparent !important;
}
.qwh-pdp-details-wrap .wc-tabs {
	display: flex; flex-wrap: wrap; gap: 0;
	margin: 0 0 22px !important; padding: 0 !important;
	border-bottom: 2px solid #eee;
}
.qwh-pdp-details-wrap .wc-tabs li {
	list-style: none !important; margin: 0 !important;
	padding: 0 !important; border: 0 !important; background: transparent !important;
	flex: 1 1 0;
}
.qwh-pdp-details-wrap .wc-tabs li a {
	display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 44px; padding: 0 20px;
	background: transparent; color: #666; font-weight: 700; font-size: 14px;
	text-transform: uppercase; letter-spacing: 0.4px; text-decoration: none;
	border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.qwh-pdp-details-wrap .wc-tabs li.active a,
.qwh-pdp-details-wrap .wc-tabs li a:hover { color: #111; border-bottom-color: #111; }
.qwh-pdp-details-wrap .woocommerce-Tabs-panel {
	color: #555; line-height: 1.8; font-size: 14px;
	margin: 0 !important; padding: 0 !important;
}
.qwh-pdp-details-wrap .woocommerce-Tabs-panel h2 { display: none; }
/* Related & Upsell products — full width inside details wrap */
.qwh-pdp-details-wrap .related.products,
.qwh-pdp-details-wrap .upsells.products,
.qwh-pdp-details .related.products,
.qwh-pdp-details .upsells.products {
	width: 100% !important;
	max-width: none !important;
	margin: 32px 0 0 !important;
	padding: 0 !important;
	clear: both;
}
.qwh-pdp-details-wrap .related.products > h2,
.qwh-pdp-details-wrap .upsells.products > h2,
.qwh-pdp-details .related.products > h2,
.qwh-pdp-details .upsells.products > h2 {
	font-size: 20px;
	font-weight: 800;
	color: #111;
	margin: 0 0 18px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	text-align: center;
}
.qwh-pdp-details-wrap .related.products ul.products,
.qwh-pdp-details-wrap .upsells.products ul.products,
.qwh-pdp-details .related.products ul.products,
.qwh-pdp-details .upsells.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
	gap: 20px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.qwh-pdp-details-wrap .related.products ul.products::before,
.qwh-pdp-details-wrap .related.products ul.products::after,
.qwh-pdp-details-wrap .upsells.products ul.products::before,
.qwh-pdp-details-wrap .upsells.products ul.products::after {
	display: none !important;
}
.qwh-pdp-details-wrap .related.products ul.products li.product,
.qwh-pdp-details-wrap .upsells.products ul.products li.product,
.qwh-pdp-details .related.products ul.products li.product,
.qwh-pdp-details .upsells.products ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}


/* Breadcrumb */
.single-product .woocommerce-breadcrumb {
	padding: 12px clamp(20px, 5vw, 72px);
	font-size: 13px; color: #888; background: #fff;
	border-bottom: 1px solid #f0f0f0; margin: 0;
}
.single-product .woocommerce-breadcrumb a { color: #555; font-weight: 600; text-decoration: none; }
.single-product .woocommerce-breadcrumb a:hover { color: #111; }


/* Prevent WooCommerce default product layout from constraining fullbleed */
.qwh-pdp-fullbleed .woocommerce div.product,
.qwh-pdp-fullbleed div.product {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
.qwh-pdp-fullbleed .qwh-pdp-details-wrap .woocommerce-tabs,
.qwh-pdp-fullbleed .qwh-pdp-details-wrap .related.products,
.qwh-pdp-fullbleed .qwh-pdp-details-wrap .upsells.products {
	max-width: none !important;
	width: 100% !important;
}

/* 10. Responsive — tablet */
@media (max-width: 1024px) {
	.qwh-pdp-fullbleed .qwh-pdp-summary { padding: 24px 24px 32px !important; }
}

/* 11. Responsive — mobile */
@media (max-width: 768px) {
	.qwh-pdp-fullbleed .qwh-pdp-top { grid-template-columns: 1fr; }
	.qwh-pdp-gallery-col { order: 1; }
	.qwh-pdp-fullbleed .qwh-pdp-summary { order: 2; padding: 18px 16px 24px !important; }
	.qwh-pdp-fullbleed .qwh-pdp-summary .product_title { font-size: 19px; }
	.qwh-pdp-fullbleed .qwh-pdp-price-rating-row { flex-direction: column; align-items: flex-start; gap: 4px; }
	.qwh-pdp-fullbleed .qwh-pdp-cart form.cart:not(.variations_form) { flex-wrap: wrap; }
	.qwh-pdp-fullbleed .qwh-pdp-cart .button.single_add_to_cart_button { flex: 1 1 auto !important; }
	.qwh-pdp-fullbleed .qwh-pdp-cart table.variations td.value select { min-width: 0; }
	.qwh-pdp-trust-strip { flex-wrap: wrap; }
	.qwh-trust-item { flex: 1 1 33%; }
	.qwh-pdp-details-wrap { padding: 24px 16px; }
	.qwh-pdp-details-wrap .wc-tabs { gap: 8px; border-bottom: 0; }
	.qwh-pdp-details-wrap .wc-tabs li { flex: 1 1 calc(50% - 8px); }
	.qwh-pdp-details-wrap .wc-tabs li a { border: 1px solid #e5e5e5; border-radius: 10px; margin-bottom: 0; height: 44px; }
	.qwh-pdp-details-wrap .wc-tabs li.active a { border-color: #111; }
	.qwh-pdp-fullbleed .qwh-pdp-gallery { padding: 12px; }
	.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery__wrapper { margin-top: 10px; }
	.qwh-pdp-fullbleed .qwh-pdp-gallery .woocommerce-product-gallery__image img { max-height: 420px; }
	.qwh-pdp-fullbleed .qwh-pdp-actions-row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 10px; }
	.qwh-pdp-fullbleed .qwh-pdp-action-link { flex: 0 0 auto; white-space: nowrap; padding: 8px 10px; font-size: 11px; }
	.qwh-pdp-details-wrap .related.products ul.products,
	.qwh-pdp-details-wrap .upsells.products ul.products,
	.qwh-pdp-details .related.products ul.products,
	.qwh-pdp-details .upsells.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
}

@media (max-width: 480px) {
	.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation-add-to-cart { flex-wrap: wrap !important; }
	.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation-add-to-cart .quantity { flex: 1 1 100% !important; }
	.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation-add-to-cart .button.single_add_to_cart_button,
	.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation-add-to-cart button.single_add_to_cart_button { flex: 1 1 100% !important; }
	.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation-add-to-cart .button.single_add_to_cart_button,
	.qwh-pdp-fullbleed .qwh-pdp-cart .woocommerce-variation-add-to-cart button.single_add_to_cart_button { width: 100% !important; }
	.qwh-pdp-fullbleed .qwh-buy-now-single { width: auto; }
	.qwh-pdp-details-wrap .wc-tabs li { flex: 1 1 100%; }
}
