/*
Theme Name: Novateplica Marketplace
Theme URI: https://novateplica.shop
Author: Antigravity
Author URI: https://google.com
Description: A modern, SEO-optimized WooCommerce theme for a marketplace.
Version: 1.0.1
Text Domain: novateplica
*/



:root {
    --primary-color: #3bc54e;
    --primary-color-rgb: 59, 197, 78;
    --secondary-color: #1e40af;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e5e7eb;
    --bg-color: #f9fafb;
    --white: #ffffff;
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --dropdown-bg: #ffffff;
    --input-bg: #ffffff;
    --top-bar-bg: #1f2937;
    --top-bar-text: #e5e7eb;
    --font-main: 'Inter', sans-serif;
    --container-width: 1540px;
    --danger-color: #ef4444;
    --surface: var(--white);
}

[data-theme="dark"] {
    --text-color: #f3f4f6;
    --text-light: #9ca3af;
    --border-color: #374151;
    --bg-color: #0b0f19;
    --white: #1f2937;
    --header-bg: #111827;
    --card-bg: #1f2937;
    --dropdown-bg: #1f2937;
    --input-bg: #111827;
    --top-bar-bg: #0b0f19;
    --top-bar-text: #f3f4f6;
    --surface: var(--card-bg);
}

/* Dark theme: improve visibility of mega-menu flyout scrollbar */
[data-theme="dark"] .mega-menu-flyout::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .mega-menu-flyout:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .mega-menu-flyout {
    scrollbar-color: rgba(255, 255, 255, 0.06) transparent;
}

/* Dark Mode Overrides for Specific Elements */
[data-theme="dark"] .mega-menu,
[data-theme="dark"] .sub-menu,
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .categories-dropdown,
[data-theme="dark"] .vertical-menu {
    background-color: var(--dropdown-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .mega-menu a,
[data-theme="dark"] .sub-menu a,
[data-theme="dark"] .vertical-menu a {
    color: var(--text-color);
}

/* Dark theme: header catalog menu specific overrides */
[data-theme="dark"] .header-vertical-menu-dropdown {
    background: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .header-vertical-menu-dropdown li {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] #header-vertical-menu>li:hover>a {
    color: var(--white) !important;
    background: var(--primary-color) !important;
}

[data-theme="dark"] .header-vertical-menu-dropdown .menu-item-icon img,
[data-theme="dark"] .header-vertical-menu-dropdown .menu-item-icon i {
    filter: none;
    color: var(--primary-color);
}

[data-theme="dark"] .header-vertical-menu-dropdown .mega-menu-flyout {
    background: var(--surface);
    color: var(--text-color);
    border-left: 1px solid var(--border-color);
    box-shadow: 25px 10px 50px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .mega-menu-flyout::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .mega-menu-flyout:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .vertical-menu li {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .vertical-menu li:hover>a {
    color: var(--primary-color);
}

[data-theme="dark"] .search-wrapper {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .search-field {
    background-color: transparent;
    color: var(--text-color);
}

[data-theme="dark"] .recently-viewed-dropdown,
[data-theme="dark"] .recent-products-list {
    background-color: var(--dropdown-bg);
    color: var(--text-color);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .recent-products-list li {
    border-bottom-color: var(--border-color);
    background: transparent;
}

[data-theme="dark"] .recent-products-list li a {
    color: var(--text-color);
}

[data-theme="dark"] .recent-products-list li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .recent-products-list .product-title {
    color: var(--text-color);
}

[data-theme="dark"] .contact-info span {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .contact-info strong {
    color: #ffffff;
}

[data-theme="dark"] .contact-info strong>a {
    color: #ffffff;
}

[data-theme="dark"] .contact-info strong i {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .contact-dropdown {
    background: #1f2937;
    border-color: #374151;
}

[data-theme="dark"] .contact-dropdown::before {
    background: #1f2937;
    border-top-color: #374151;
    border-left-color: #374151;
}

[data-theme="dark"] .contact-dropdown a {
    color: #ffffff;
}

[data-theme="dark"] .contact-dropdown a i {
    color: var(--primary-color);
}

[data-theme="dark"] .contact-dropdown a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .contact-dropdown .number-item {
    color: #ffffff;
}

[data-theme="dark"] .contact-dropdown .number-item a,
[data-theme="dark"] .contact-dropdown .contact-email,
[data-theme="dark"] .contact-dropdown .contact-address {
    color: #ffffff;
}

[data-theme="dark"] .contact-dropdown .contact-working-hours {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .contact-dropdown .phone-label {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .dropdown-sep {
    background: #374151;
}

[data-theme="dark"] .action-link-wrap i {
    color: #ffffff;
}

[data-theme="dark"] .action-link-wrap span {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .count-badge {
    border-color: #111827;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .header-contact>i,
[data-theme="dark"] .header-action-item .action-link-wrap i {
    background: transparent;
    color: #ebecee;
}

[data-theme="dark"] .header-contact:hover>i,
[data-theme="dark"] .header-action-item:hover .action-link-wrap i {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    [data-theme="dark"] .header-contact {
        width: 40px;
        height: 40px;
    }
}

[data-theme="dark"] .recent-products-list .product-price,
[data-theme="dark"] .recent-products-list .product-price * {
    color: var(--text-light);
}

[data-theme="dark"] .no-recent-products {
    color: var(--text-light);
}

[data-theme="dark"] .shop-sidebar,
[data-theme="dark"] .widget,
[data-theme="dark"] .widget-title,
[data-theme="dark"] .woocommerce-filter-area {
    background-color: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .shop-sidebar .widget {
    border-color: var(--border-color);
}

[data-theme="dark"] .shop-sidebar input,
[data-theme="dark"] .shop-sidebar select {
    background-color: var(--input-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

/* Product Tabs/Filters */
[data-theme="dark"] .woocommerce-tabs ul.tabs li.active {
    background: var(--card-bg) !important;
}

[data-theme="dark"] .woocommerce-tabs .panel {
    background: var(--card-bg) !important;
    color: var(--text-color) !important;
}

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

:root {
    --novateplica-admin-bar: 0px;
}

.has-admin-bar {
    --novateplica-admin-bar: 32px;
}

.admin-bar-mobile {
    --novateplica-admin-bar: 46px;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Header General */
.site-header {
    position: relative;
    background: transparent;
    font-size: 13px;
    z-index: auto;
    /* Allow children to escape stacking context */
}

.header-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.header-bg-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    /* Reduced overlay opacity from 0.9 to 0.6 */
    background-image: linear-gradient(rgb(255 255 255 / 0%), rgb(210 239 93 / 0%)), url(images/header-obl.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
}

/* Top Bar */
.header-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    color: var(--top-bar-text);
    background: var(--top-bar-bg);
    /* Dark Premium Background */
}

/* Theme Switcher Styles */
.header-theme-switcher {
    position: relative;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.theme-btn i {
    font-size: 14px;
    color: #ffd700;
    /* Sun color */
}

[data-theme="dark"] .theme-btn i.fa-moon {
    color: #a5b4fc;
}

.beta-badge {
    background: #4f46e5;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.theme-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 210;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-theme-switcher.active .theme-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.theme-option i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.theme-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .theme-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-option.active {
    background: var(--primary-color);
    color: #fff !important;
}

.theme-option.active i {
    color: #fff !important;
}

/* Theme Switcher Pointer */
.theme-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 25px;
    width: 12px;
    height: 12px;
    background: var(--dropdown-bg);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    transform: rotate(45deg);
}

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

.header-top-left {
    display: flex;
    align-items: center;
}

.header-top-menu__list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-top-menu__list li {
    position: relative;
    padding: 0 14px;
}

.header-top-menu__list li:first-child {
    padding-left: 0;
}

.header-top-menu__list li:last-child {
    padding-right: 0;
}

/* Vertical divider between menu items */
.header-top-menu__list li + li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
    pointer-events: none;
}


.header-top-menu__list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--top-bar-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    opacity: 0.9;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.header-top-menu__list a i,
.header-top-menu__list a .fa,
.header-top-menu__list a .fas,
.header-top-menu__list a .far,
.header-top-menu__list a .fab {
    flex: 0 0 auto;
    margin-right: 0;
    font-size: 15px;
    line-height: 1;
}

.header-top-menu__list a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-lang {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
}

.header-lang-switcher,
.footer-lang-switcher {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.2s;
}

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

.lang-btn i {
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.3s;
}

.lang-current {
    font-weight: 700;
}



.header-lang-switcher.active .lang-btn i,
.footer-lang-switcher.active .lang-btn i {
    transform: rotate(180deg);
}

.lang-dropdown {
    min-width: 150px;
    text-decoration: none;
}

.lang-dropdown .theme-option {
    text-decoration: none;
    justify-content: space-between;
    gap: 15px;
}

.lang-opt-short {
    font-weight: 700;
}

.lang-opt-name {
    font-size: 12px;
    opacity: 0.7;
}

.header-lang-switcher.active .lang-dropdown,
.footer-lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Upwards support for footer */
.footer-lang-switcher .lang-dropdown {
    top: auto;
    bottom: calc(100% + 12px);
    transform: translateY(-15px);
}

.footer-lang-switcher.active .lang-dropdown {
    transform: translateY(0);
}

.footer-lang-switcher .lang-dropdown::before {
    top: auto;
    bottom: -6px;
    border-top: none;
    border-left: none;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.lang-dropdown .theme-option.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 8px;
}

.lang-dropdown .theme-option.active .lang-opt-name,
.lang-dropdown .theme-option.active span {
    color: #fff !important;
    opacity: 1 !important;
}



.header-top-sep {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

.header-user-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
    transition: all 0.2s;
}

.logout-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

.logout-link i {
    font-size: 14px;
}

.user-profile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 5px 0;
}

.user-profile-link i.fa-chevron-down {
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.3s;
}

.user-profile-dropdown.active .user-profile-link i.fa-chevron-down {
    transform: rotate(180deg);
}

.user-avatar img {
    border-radius: 50%;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-name {
    font-weight: 500;
}

/* User Dropdown Menu */
.user-profile-dropdown {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 210;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-profile-dropdown.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 25px;
    width: 12px;
    height: 12px;
    background: var(--dropdown-bg);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    transform: rotate(45deg);
}

.user-dropdown-item {
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.user-dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--primary-color);
}

.user-dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

[data-theme="dark"] .user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 6px 0;
}

.logout-item {
    color: #ef4444;
}

.logout-item i {
    color: #ef4444;
}

.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Middle Bar */
.header-middle {
    padding: 12px 0;
    position: relative;
    background-color: var(--header-bg);
    z-index: 100;
    /* High global z-index */
    /* Creates a new stacking context */
}

/* Ensure contents are below overlay by default */
.header-middle-inner>* {
    position: relative;
    z-index: 1;
}

/* Catalog Overlay (Moved inside header-middle) */
.novateplica-catalog-overlay {
    z-index: 5 !important;
    /* Above Branding(1), Below Menu(1002) */
}

/* Ensure Menu is above Overlay */
.header-categories.dropdown-wrapper {
    z-index: 1002 !important;
    /* Above Overlay (5) */
}

.header-middle::before {
    content: '';
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    inline-size: 100%;
    block-size: 7px;
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    background-image: linear-gradient(to bottom, #0000001a 0%, rgba(255, 255, 255, 0) 100%);
}

[data-theme="dark"] .header-middle::before {
    background-image: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0) 100%);
}

.header-middle>.container {
    position: relative;
    z-index: 2;
}

.header-middle-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.logo-link img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-link:hover {
    opacity: 0.85;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    height: 40px;
    width: auto;
    display: block;
}

/* Catalog Wrapper - High Z-Index */
.header-categories.dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 999;
    /* Ensure above overlay (998) */
}

@media (max-width: 480px) {
    .header-categories.dropdown-wrapper {
        display: none;
    }
}

.novateplica-header-menu-btn {
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    font-family: inherit;
    margin-left: 10px;
}

/* Hover should invert: Green -> White */
.novateplica-header-menu-btn:hover {
    background-color: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Active State: White with Green details */
.novateplica-header-menu-btn.active {
    background-color: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .novateplica-header-menu-btn {
    background-color: #111827;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .novateplica-header-menu-btn:hover,
[data-theme="dark"] .novateplica-header-menu-btn.active {
    background-color: #1f2937;
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(59, 197, 78, 0.28);
}

.novateplica-shortcode-button-wrap {
    display: flex;
    width: 100%;
    margin: 20px 0;
}

.novateplica-shortcode-button-wrap--left {
    justify-content: flex-start;
}

.novateplica-shortcode-button-wrap--center {
    justify-content: center;
}

.novateplica-shortcode-button-wrap--right {
    justify-content: flex-end;
}

.novateplica-shortcode-button {
    text-transform: uppercase;
    white-space: nowrap;
}

.novateplica-shortcode-button--full {
    width: 100%;
}

.novateplica-shortcode-button i {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 480px) {
    .novateplica-shortcode-button {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }
}

/* SVG inherits color from parent button */
.novateplica-header-menu-btn svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: currentColor;
}

.novateplica-header-menu-btn .menu-btn-text {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 992px) {

    .novateplica-header-menu-btn {
        padding: 0 10px;
        height: 36px;
    }

    .novateplica-header-menu-btn svg {
        width: 18px;
        height: 18px;
    }

    /* Logo text visibility handled per-breakpoint in `css/logo.css` and below 768px in header */

    /* On tablet keep the catalog button visible but hide its text and chevron */
    .novateplica-header-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
    }

    .novateplica-header-menu-btn .menu-btn-text,
    .novateplica-header-menu-btn .fa-chevron-down {
        display: none !important;
    }
}

/* Catalog Overlay */
.novateplica-catalog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    /* Below menu (1000) */
    display: none;
}

.novateplica-catalog-overlay.active {
    display: block;
}

/* Header Catalog Dropdown */
.header-vertical-menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
    /* Aligned with button margin-left */
    width: 280px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.header-vertical-menu-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    transform: rotate(45deg);
    pointer-events: none;
}

.header-vertical-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-vertical-menu-dropdown #header-vertical-menu {
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

.header-vertical-menu-dropdown #header-vertical-menu>li {
    position: relative;
}

.header-vertical-menu-dropdown #header-vertical-menu>li>a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.header-vertical-menu-dropdown #header-vertical-menu>li:hover>a {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Fix Huge Icons */
.header-vertical-menu-dropdown .menu-item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-vertical-menu-dropdown .menu-item-icon img,
.header-vertical-menu-dropdown .menu-item-icon i {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    color: var(--text-light);
    filter: brightness(0.9) saturate(0.85);
}

.header-vertical-menu-dropdown #header-vertical-menu>li:hover .menu-item-icon img,
.header-vertical-menu-dropdown #header-vertical-menu>li:hover .menu-item-icon i {
    filter: brightness(0) invert(1);
    color: #fff;
}

/* Arrow */
.header-vertical-menu-dropdown .menu-item-arrow {
    margin-left: auto;
    font-size: 10px;
    opacity: 0.5;
}

.header-vertical-menu-dropdown #header-vertical-menu>li:hover .menu-item-arrow {
    opacity: 1;
    color: #fff;
}

/* Mega Menu Flyout in Header */
.header-vertical-menu-dropdown .mega-menu-flyout {
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    width: 380px !important;
    min-width: 0;
    max-width: min(380px, calc(100vw - 328px));
    max-height: min(620px, calc(100vh - 120px));
    background: #fff;
    box-shadow: 14px 14px 34px rgba(15, 23, 42, 0.14);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.2s ease;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 20px 20px;
    box-sizing: border-box;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.header-vertical-menu-dropdown #header-vertical-menu>li:hover>.mega-menu-flyout {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.header-vertical-menu-dropdown .mega-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Diagnostic: temporarily hide mega menu flyout to check layout issues.
   Add class `show-mega-flyout` to `.header-vertical-menu-dropdown` to enable it again. */
.header-vertical-menu-dropdown .mega-menu-flyout {
    display: none !important;
}

.header-vertical-menu-dropdown.show-mega-flyout .mega-menu-flyout {
    display: block !important;
}

.header-vertical-menu-dropdown .mega-menu-column {
    min-width: 0;
}

.header-vertical-menu-dropdown .mega-menu-panel-title {
    margin: 4px 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--primary-color);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-vertical-menu-dropdown .mega-menu-panel-title-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    border-radius: 8px;
    background: rgba(59, 197, 78, 0.12);
    color: var(--primary-color);
    font-size: 14px;
}

.header-vertical-menu-dropdown .mega-menu-panel-title-icon img {
    display: block;
    max-width: 20px;
    max-height: 20px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.header-vertical-menu-dropdown .mega-menu-column-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

/* Category Icon in Header Mega Menu Header */
.header-vertical-menu-dropdown .mega-menu-column-title .menu-item-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.header-vertical-menu-dropdown .mega-menu-column-title .menu-item-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.header-vertical-menu-dropdown .mega-menu-sub-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-vertical-menu-dropdown .mega-menu-link-item>a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 0;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

@media (max-width: 860px) {
    .header-vertical-menu-dropdown {
        left: 0;
        width: min(320px, calc(100vw - 24px));
    }

    .header-vertical-menu-dropdown .mega-menu-flyout {
        left: calc(100% - 1px);
        width: min(320px, calc(100vw - 340px)) !important;
        max-width: calc(100vw - 340px);
        padding: 16px 18px 18px;
    }
}

@media (max-width: 720px) {
    .header-vertical-menu-dropdown {
        width: calc(100vw - 24px);
        overflow: auto;
        max-height: calc(100vh - 110px);
    }

    .header-vertical-menu-dropdown .mega-menu-flyout {
        position: static;
        width: auto !important;
        max-width: none;
        max-height: none;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        border-width: 1px 0 0;
        transform: none;
    }
}

.header-vertical-menu-dropdown .mega-menu-link-item>a::before {
    content: "\f105";
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    border-radius: 50%;
    background: rgba(59, 197, 78, 0.12);
    color: var(--primary-color);
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.header-vertical-menu-dropdown .mega-menu-link-item>a:hover {
    color: var(--primary-color);
    transform: translateX(2px);
}

.header-vertical-menu-dropdown .mega-menu-sub-list li a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 0;
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s;
}

/* Premium Subcategory Arrow in Header */
.header-vertical-menu-dropdown .mega-menu-sub-list li a .subcategory-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.header-vertical-menu-dropdown .mega-menu-sub-list li a:hover {
    color: var(--primary-color);
    padding-left: 2px;
}

.header-vertical-menu-dropdown .mega-menu-sub-list li a:hover .subcategory-arrow {
    color: var(--primary-color);
    transform: translateX(1px);
}

/* Catalog View All Button */
.catalog-view-all-wrapper {
    padding: 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(59, 197, 78, 0.03);
    border-radius: 0 0 12px 12px;
}

[data-theme="dark"] .catalog-view-all-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(59, 197, 78, 0.05);
}

.catalog-view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.catalog-view-all-btn .catalog-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    transition: transform 0.2s ease;
}

.catalog-view-all-btn:hover {
    color: var(--primary-color);
    background: transparent !important;
}

.catalog-view-all-btn:hover .catalog-arrow {
    transform: translateX(3px);
}

/* =========================================
   Utility Classes
   ========================================= */
.is-hidden {
    display: none !important;
}

/* =========================================
   Button Triggers (styled as text/links)
   ========================================= */
button.recently-viewed-trigger,
button.cart-icon {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

button.recently-viewed-trigger:hover,
button.cart-icon:hover {
    opacity: 0.8;
}


.header-search {
    flex: 1;
    max-width: 600px;
}

.search-wrapper {
    display: flex;
    background: #f6f6f6;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    height: 42px;
    align-items: center;
    transition: all 0.3s;
}

.search-wrapper:hover {
    background: #ededed;

}

/* Prevent header flex children causing horizontal overflow on tablet */
.site-header .header-search,
.site-header .header-actions,
.site-header .site-branding,
.site-header .header-categories {
    min-width: 0;
    /* allow flex items to shrink below their content width */
}

/* Ensure search input can shrink inside flex box */
.site-header .search-input-group,
.site-header .search-input-group .search-field {
    min-width: 0;
    max-width: 100%;
}

.search-cat-select {
    border: none;
    border-right: 1px solid #eee;
    padding: 0 15px;
    background: transparent;
    font-size: 13px;
    color: var(--text-color);
    outline: none;
    cursor: pointer;
    width: 140px;
}

.search-form,
.search-input-group {
    display: flex;
    flex: 1;
    height: 100%;
    align-items: center;
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 15px;
    outline: none;
    font-size: 14px;
    height: 100%;
}

.voice-search-btn {
    background: none;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

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

.search-field:hover {
    background: #ffffff00;
}

.search-submit {
    background: #f6f6f600;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .search-submit {
    color: var(--text-light);
}

[data-theme="dark"] .search-submit:hover {
    color: var(--primary-color);
}

/* Middle Bar */

.header-middle-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search {
    flex: 1;
    max-width: 600px;
}

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

.header-actions::before {
    content: '';
    display: none;
    /* Removed the line separator as it clashes with the new pill styles */
}

.header-contact {
    order: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding: 0 12px 0 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 103;
    cursor: pointer;
    border-right: 1px solid var(--pc-line);
}



.header-icons {
    order: 2;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

/* Header Icons Unified Styles */
.header-action-item .action-link-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    line-height: 1;
}

.header-action-item .action-link-wrap i {
    font-size: 20px;
    color: var(--text-light);
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.header-action-item .action-link-wrap span:last-child {
    font-size: 13px;
    font-weight: 500;
}

.header-action-item:hover i,
.header-action-item:hover span:last-child {
    color: var(--primary-color);
}

/* Badge Styling - Premium Optimized */
.count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger-color);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    line-height: normal;
    box-shadow: 0 0 0 2px var(--white), 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 5;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    /* Badge shouldn't intercept clicks */
}


.count-badge:empty,
.count-badge[style*="display: none"] {
    display: none !important;
}

.header-contact>i {
    font-size: 14px;
    color: #7f8a9a;
    background: #f0f5f9;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    gap: 2px;
}

.header-contact-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}

.contact-dropdown {
    display: flex;
    /* Keep layout but hide visually */
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 200;
    min-width: 207px;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;

    /* Animation definition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

/* Triangle Pointer for Phone Dropdown */
.contact-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    /* Adjust position based on design */
    width: 12px;
    height: 12px;
    background: var(--dropdown-bg);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    transform: rotate(45deg);
}

.header-contact.active .contact-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-contact.active .contact-label {
    /* padding: 0 34px 0 0; */
}

.contact-dropdown a {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-dropdown a i {
    color: var(--primary-color);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.contact-dropdown a:hover {
    color: var(--primary-color);
}

/* Main Header Contact Info (Closed State) */
.contact-info span {
    font-size: 13px;
    color: #888;
}

.contact-info strong {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Footer phone display container */
.footer-phone-display {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 1.2em;
}

.footer-phone-item .footer-phone {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    line-height: 1.2;
}

.phone-full {
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}

.contact-info strong>a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-info strong>a:hover {
    color: var(--primary-color);
}

.contact-info strong i {
    font-size: 10px;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.header-contact.active .contact-info strong i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.contact-dropdown .number-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 8px;
}

.contact-dropdown .number-item.has-sep {
    padding-bottom: 4px;
}

.contact-dropdown .number-item i {
    grid-column: 1;
    grid-row: 1 / span 2;
    font-size: 20px;
    color: var(--primary-color);
}

.contact-dropdown .number-item .phone-label {
    grid-column: 2;
    grid-row: 1;
    font-size: 11px;
    color: #888;
    margin-bottom: 1px;
    font-weight: 500;
    line-height: 1;
    display: block;
}

.contact-dropdown .number-item a {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
}

.contact-dropdown .number-item.main-item i {
    color: var(--primary-color);
}

.contact-dropdown .dropdown-sep {
    height: 1px;
    background: #eee;
}

.contact-dropdown .contact-email,
.contact-dropdown .contact-address {
    display: grid;
    grid-template-columns: 26px 1fr;
    align-items: center;
    gap: 5px;
    /* padding: 8px 10px; */
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-dropdown .contact-email i,
.contact-dropdown .contact-address i,
.contact-dropdown .contact-working-hours .working-title i {
    font-size: 16px;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    top: 2px;
}

.contact-dropdown .contact-working-hours {
    padding: 0 10px 5px 10px;
    font-size: 13px;
    color: #555;
}

.contact-dropdown .contact-working-hours .working-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-dropdown .contact-working-hours .working-times {
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-dropdown .contact-working-hours .working-times div {
    white-space: nowrap;
}

.contact-dropdown .contact-working-hours .working-times span {
    font-weight: 500;
}

.contact-dropdown .contact-callback-link {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 2px 0 0;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.contact-dropdown .contact-callback-link:hover,
.contact-dropdown .contact-callback-link:focus-visible {
    color: var(--text-color);
    transform: translateY(-1px);
    outline: none;
}

.contact-dropdown .contact-callback-link i {
    grid-column: 1;
    grid-row: 1 / span 2;
    color: var(--primary-color);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-dropdown .contact-callback-link .phone-label {
    grid-column: 2;
    grid-row: 1;
    font-size: 11px;
    color: #888;
    margin-bottom: 1px;
    font-weight: 500;
    line-height: 1;
    display: block;
    white-space: nowrap;
}

.contact-dropdown .contact-callback-link span:not(.phone-label) {
    grid-column: 2;
    grid-row: 2;
    width: fit-content;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

/* Removed redundant icon styles */

/* Handled by .count-badge */

/* Cart Dropdown */
.header-cart {
    position: relative;
    /* height: 100%; removed to avoid layout issues */
    display: flex;
    align-items: center;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    padding: 20px;
    margin-top: 15px;
    /* Offset to clear the icon area */
}

/* Triangle Pointer for Cart Dropdown */
.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -7px;
    /* Fine-tune to sit on border */
    right: 20px;
    /* Aligns roughly with the cart icon center */
    width: 14px;
    height: 14px;
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    transform: rotate(45deg);
    z-index: 1;
    /* Ensure above dropdown border */
}

/* Bridge to prevent closing on gap */
.header-cart::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 15px;
    /* Matches margin-top of dropdown */
}

.header-cart:hover .cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* WooCommerce Widgets Styles inside Cart */
.woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

.woocommerce-mini-cart-item {
    display: flex !important;
    align-items: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* Link containing Image + Title */
.woocommerce-mini-cart-item a:not(.remove_from_cart_button) {
    display: flex !important;
    align-items: center;
    gap: 12px;
    flex: 1;
    /* Take up available space */
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    padding-right: 20px;
    /* Space for Remove button */
}

.woocommerce-mini-cart-item img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    margin: 0 !important;
}

/* Quantity and Price */
.woocommerce-mini-cart-item .quantity {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
    /* Keep price together */
    margin-left: auto;
    /* Push to right if wrapped */
}

/* Remove 'x' button */
.woocommerce-mini-cart-item .remove_from_cart_button {
    position: absolute !important;
    top: 5%;
    transform: translateY(-50%);
    right: 0;
    color: #9ca3af !important;
    font-size: 18px !important;
    line-height: 1;
    background: none !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none !important;
}

.woocommerce-mini-cart-item .remove_from_cart_button:hover {
    color: #ef4444 !important;
    background: none !important;
}

.entry-header-wrapper{
    margin: 24px 0 0;
}


/* Quantity wrapper usually printed by Woo */


.woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 0 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 0;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.woocommerce-mini-cart__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
}

/* Button Icons using FontAwesome Unicode */
.woocommerce-mini-cart__buttons .button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

/* "View Cart" Icon (Eye) */
.woocommerce-mini-cart__buttons .button:not(.checkout)::before {
    content: '\f06e';
    /* fa-eye */
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    /* Regular style */
}

/* "Checkout" Icon (Check Circle) */
.woocommerce-mini-cart__buttons .button.checkout::before {
    content: '\f00c';
    /* fa-check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    /* Solid style */
}

.woocommerce-mini-cart__buttons .button:not(.checkout) {
    background-color: #f3f4f6;
    color: var(--text-color);
}

.woocommerce-mini-cart__buttons .button.checkout {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 6px rgba(59, 197, 78, 0.2);
}

.woocommerce-mini-cart__buttons .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



.woocommerce-mini-cart-item .remove_from_cart_button:hover {
    color: #ff4444;
    background: none !important;
}

/* Empty cart message */
.woocommerce-mini-cart__empty-message {
    text-align: center;
    color: var(--text-light);
    padding: 20px 0;
}



.main-navigation ul {
    display: flex;
    gap: 25px;
}

.main-navigation a {
    font-weight: 400;
    font-size: 14px;
    color: var(--text-color);
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.main-navigation a i {
    margin-right: 6px;
}

.header-bottom-right {
    margin-left: auto;
    display: flex;
    gap: 20px;
    font-weight: 500;
}

.header-bottom-right a {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* WooCommerce Overrides (Basic) */
.added_to_cart {
    display: none !important;
}

.woocommerce ul.products li.product {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}



/* Voice Search */
.voice-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
    color: var(--text-light);
    font-size: 16px;
    transition: color 0.2s;
}

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

.voice-search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.voice-search-modal.active {
    display: flex;
}

.voice-modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.voice-icon-wrapper {
    margin-bottom: 20px;
}

.voice-icon {
    width: 80px;
    height: 80px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.voice-icon i {
    font-size: 32px;
    color: #ef4444;
    /* Red color for mic */
}

.voice-modal-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.voice-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.voice-dots span {
    width: 10px;
    height: 10px;
    background-color: #4285f4;
    /* Google Blue */
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.voice-dots span:nth-child(1) {
    animation-delay: -0.32s;
    background-color: #4285f4;
}

.voice-dots span:nth-child(2) {
    animation-delay: -0.16s;
    background-color: #ea4335;
}

.voice-dots span:nth-child(3) {
    animation-delay: 0s;
    background-color: #fbbc05;
}

.voice-dots span:nth-child(4) {
    animation-delay: 0.16s;
    background-color: #34a853;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

#close-voice-modal {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    transition: all 0.2s;
}

#close-voice-modal:hover {
    background: var(--bg-color);
    color: var(--text-color);
}

[data-theme="dark"] .voice-modal-content {
    background: var(--bg-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .voice-modal-content h2 {
    color: #f1f5f9;
}

[data-theme="dark"] .voice-icon {
    background: var(--pc-card);
}

[data-theme="dark"] #close-voice-modal {
    border-color: var(--border-color);
    color: var(--pc-text);
}

[data-theme="dark"] #close-voice-modal:hover {
    background: var(--pc-card);
    color: #f8fafc;
}

/* Mega Menu View More Button */
.vertical-menu>li>.sub-menu>li>.sub-menu>li.view-more-container>a.view-more-btn {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    margin-top: 5px;
    padding: 5px 0;
    display: inline-block;
}

.vertical-menu>li>.sub-menu>li>.sub-menu>li.view-more-container>a.view-more-btn:hover {
    text-decoration: underline;
    padding-left: 0;
    /* Override hover slide effect */
}

/* Responsive Styles */
@media (max-width: 992px) {

    /* Hide Top Bar, Bottom Bar, Catalog, Contacts and other icons */
    .header-top,
    .header-bottom,
    .header-contact,
    .header-recently-viewed,
    .header-wishlist,
    .header-action-item span:last-child,
    .header-middle::before {
        display: none !important;
    }

    /* Header Middle Layout */


    .header-middle {
        padding: 7px;
        border-bottom: 1px solid var(--border-color);
    }

    .logo-icon img {
        height: 37px;
        /* Slightly smaller logo */
    }

    /* Search - Order 3 */
    .header-search {
        flex: 1;
        margin: 0;
        width: auto;
        min-width: 0;
        /* Allow shrinking */
    }

    .voice-search-btn {
        display: none !important;
    }

    .search-wrapper {
        /* border: 1px solid #3bc54e; */
        box-shadow: inset 0 0 0 0 #f3f3f3;
    }

    .search-field {
        padding: 0 10px;
        font-size: 14px;
        height: 100%;
    }

    .search-submit {
        padding: 0 8px;
        font-size: 16px;
        margin-left: -12px;
    }

    /* Icons (Cart) - Order 4 */
    .header-actions {
        order: 4;
        gap: 0;
        margin: 0;
        flex-shrink: 0;
    }

    .header-icons {
        gap: 0;
        align-items: center;
    }

    .header-cart .cart-icon {
        font-size: 22px;
        color: var(--text-color);
        padding: 0;
    }
}

@media (max-width: 576px) {

    /* Further simplifications for phones */
    .header-actions .compare-icon,
    .header-actions .wishlist-icon {
        display: none;
        /* Hide less important icons on very small screens */
    }
}

@media (max-width: 430px) {
    .header-middle {
        padding: 8px 0;
    }

    .header-middle>.container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .header-middle-inner {
        position: relative;
        min-height: 52px;
        gap: 4px;
        justify-content: flex-start;
    }

    .sidebar-menu-toggle {
        width: 42px;
        height: 42px;
        padding: 0;
        margin: 0;
        order: 1;
    }

    .site-branding {
        position: absolute;
        left: 41%;
        top: 50%;
        z-index: 1;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: center;
        max-width: calc(100% - 160px);
    }

    .site-branding .logo-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-branding img,
    .site-branding .logo-icon img {
        max-height: 48px;
        width: auto;
    }

    .header-actions {
        order: 4;
        margin-left: 0;
        display: contents !important;
    }

    .header-icons {
        order: 4;
        gap: 0;
        align-items: center;
    }

    .header-contact {
        order: 2;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        margin-left: auto;
        border: 0;
        background: transparent;
        position: relative;
        z-index: 20;
    }

    .header-contact .contact-info {
        display: none !important;
    }

    .header-contact>i {
        width: 42px;
        height: 42px;
        margin: 0;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: var(--text-light);
        font-size: 20px;
    }

    .header-contact.active>i,
    .header-contact:hover>i {
        color: var(--primary-color);
        background: transparent !important;
    }

    .header-contact .contact-dropdown {
        top: calc(100% + 10px);
        right: -88px;
        left: auto;
        width: min(320px, calc(100vw - 28px));
        min-width: 0;
        max-width: calc(100vw - 28px);
        margin-top: 0;
        text-align: left;
    }

    .header-contact .contact-dropdown::before {
        left: auto;
        right: 102px;
    }

    .header-search {
        order: 3;
        flex: 0 0 42px;
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        margin-left: 0;
        margin-right: -2px;
    }

    .header-search .search-wrapper,
    .header-search .search-form,
    .header-search .search-input-group {
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .header-search .search-wrapper {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0;
        box-shadow: none !important;
    }

    .header-search .search-field {
        position: absolute;
        width: 1px;
        min-width: 1px;
        height: 1px;
        padding: 0;
        border: 0;
        opacity: 0;
        pointer-events: none;
    }

    .header-search .search-submit {
        width: 42px;
        height: 42px;
        margin-left: 0;
        padding: 0;
        border-radius: 0;
        background: transparent !important;
        font-size: 20px;
        color: var(--text-light);
    }

    [data-theme="dark"] .header-search .search-submit {
        color: var(--text-light);
    }

    .header-search .search-submit:hover {
        color: var(--primary-color);
    }

    .header-cart .cart-icon,
    .header-cart .action-link-wrap {
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
    }

    .header-cart .action-link-wrap i {
        width: auto;
        height: auto;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .header-search .novateplica-search-results {
        display: none !important;
    }
}

/* Mobile Submenu Styles */
.mobile-menu-list li {
    position: relative;
}

.mobile-menu-list .sub-menu {
    display: none;
    /* Hidden by default */
    background: #f9f9f9;
    padding-left: 0;
    list-style: none;
}

.mobile-menu-list .sub-menu li a {
    padding-left: 20px;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-light);
}

.mobile-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    /* Matches link height approx */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.02);
    border-left: 1px solid #eee;
    color: var(--text-light);
    font-size: 14px;
}

/* Specific Mobile Categories styling: Expand L1, Collapse L3 */
.mobile-cats .mobile-menu-list>li>.sub-menu {
    display: block !important;
    /* Force Level 2 open */
    padding-left: 10px;
    border-left: 1px solid #eee;
    background: #fff;
}

/* Hide toggle for L1 since it's auto-open */
.mobile-cats .mobile-menu-list>li>.mobile-submenu-toggle {
    display: none;
}

/* Styling for L2 headers (bold, distinct) */
/* Styling for L2 headers (Modern, Clean, Dark Text) */
.mobile-cats .mobile-menu-list>li>.sub-menu>li>a {
    font-weight: 600;
    color: #333;
    /* Dark text - High Contrast (Google Best Practice) */
    font-size: 15px;
    /* Slightly larger for touch */
    background: #fff;
    margin-bottom: 0;
    padding: 14px 15px;
    /* Generous touch target */
    border-bottom: 0px solid #f0f0f0;
    /* Subtle solid divider */
    display: flex;
    align-items: center;
    transition: background 0.2s, color 0.2s;
}

.mobile-cats .mobile-menu-list>li>.sub-menu>li>a:active,
.mobile-cats .mobile-menu-list>li>.sub-menu>li>a:hover {
    background: #fdfdfd;
    color: var(--primary-color);
    /* Highlight only on interaction */
}

/* Icons within L2 - Neutral Grey */
.mobile-cats .mobile-menu-list>li>.sub-menu>li>a i {
    color: #94a3b8;
    /* Muted Slate Grey */
    font-size: 16px;
    width: 24px;
    /* Fixed width for alignment */
    text-align: center;
    margin-right: 12px;
}

.mobile-cats .mobile-menu-list>li>.sub-menu>li>a:hover i {
    color: var(--primary-color);
}

/* Ensure L3 is hidden and styled properly */
.mobile-cats .mobile-menu-list>li>.sub-menu>li>.sub-menu {
    display: none;
    /* Keep L3 hidden */
    background: #fff;
}

.mobile-cats .mobile-menu-list>li>.sub-menu>li>.sub-menu li a {
    font-weight: 400;
    color: var(--text-color);
    padding-left: 30px;
}

/* Toggle for L2 to L3 */
.mobile-cats .mobile-menu-list>li>.sub-menu>li>.mobile-submenu-toggle {
    top: 0;
    right: 0;
    background: none;
    border-left: none;
}

/* Recently Viewed Button & Dropdown */
.header-recently-viewed {
    position: relative;
    margin-left: auto;
    /* Push to right if in flex container */
}

.recently-viewed-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #eef8ff;
    /* Light blue from screenshot */
    padding: 6px 15px 6px 8px;
    /* Less padding left for the circle */
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
    height: 40px;
}

.recently-viewed-btn:hover {
    background-color: #dbeeff;
}

.rv-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border-radius: 50%;
    color: #333;
    font-size: 14px;
    border: 1px solid #dcebf7;
}

.rv-text {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

.rv-arrow {
    font-size: 10px;
    color: #555;
    margin-left: 5px;
}

/* Dropdown */
.recently-viewed-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0;
    /* Remove padding to keep flush */
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    overflow: hidden;
    /* For rounded corners */
}

.header-recently-viewed:hover .recently-viewed-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.recent-products-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-products-list li {
    border-bottom: 1px solid #f5f5f5;
}

.recent-products-list li:last-child {
    border-bottom: none;
}

.recent-products-list a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 15px;
    text-decoration: none;
}

.recent-products-list a:hover {
    background-color: #f9fafb;
}

.recent-products-list img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    /* Contain to show full product */
    border-radius: 4px;
    background: #f9fafb;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 14px;
    color: #333;
    font-weight: 700;
}

.product-price del {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    margin-right: 5px;
}

.product-price ins {
    text-decoration: none;
}

.no-recent-products {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

/* Recently Viewed Dark Mode */
[data-theme="dark"] .recently-viewed-btn {
    background-color: var(--input-bg);
}

[data-theme="dark"] .recently-viewed-btn:hover {
    background-color: var(--border-color);
}

[data-theme="dark"] .rv-icon-circle {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .rv-text {
    color: var(--text-color);
}

[data-theme="dark"] .rv-arrow {
    color: var(--text-light);
}

[data-theme="dark"] .recently-viewed-dropdown {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .recent-products-list li {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .recent-products-list a:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .recent-products-list img {
    background-color: var(--input-bg);
}

[data-theme="dark"] .product-title {
    color: var(--text-color);
}

[data-theme="dark"] .product-price {
    color: var(--text-color);
}

[data-theme="dark"] .product-price del {
    color: var(--text-light);
}

[data-theme="dark"] .no-recent-products {
    color: var(--text-light);
}

[data-theme="dark"] .header-vertical-menu-dropdown::before {
    background: #1f2937;
}



/* Mobile Menu Dark Mode */
[data-theme="dark"] .mobile-menu-sidebar {
    background: var(--card-bg);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .mobile-menu-header {
    background: var(--header-bg);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .mobile-menu-header h3 {
    color: var(--text-color);
}

[data-theme="dark"] .close-mobile-menu {
    color: var(--text-color);
    background: var(--input-bg);
}

[data-theme="dark"] .mobile-menu-section,
[data-theme="dark"] .white-block {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .mobile-section-header {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-color);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .mobile-menu-list li {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .mobile-menu-list li a {
    color: var(--text-color);
}

[data-theme="dark"] .mobile-submenu-toggle {
    background: rgba(255, 255, 255, 0.02);
    border-left-color: var(--border-color);
    color: var(--text-light);
}

[data-theme="dark"] .mobile-cats .mobile-menu-list>li>.sub-menu {
    background: var(--card-bg);
    border-left-color: var(--border-color);
}

[data-theme="dark"] .mobile-cats .mobile-menu-list>li>.sub-menu>li>a {
    background: var(--card-bg);
    color: var(--text-color);
}

[data-theme="dark"] .mobile-cats .mobile-menu-list>li>.sub-menu>li>a:hover {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .mobile-contacts-info {
    background: var(--card-bg);
}

[data-theme="dark"] .mobile-phones a {
    color: var(--text-color);
}

[data-theme="dark"] .mobile-phones a i {
    background: var(--input-bg);
    color: var(--primary-color);
}

[data-theme="dark"] .mobile-email,
[data-theme="dark"] .mobile-address {
    color: var(--text-light);
    border-top-color: var(--border-color);
}

[data-theme="dark"] .mobile-email a {
    color: var(--text-color);
}

[data-theme="dark"] .auth-card {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .auth-card-title {
    color: var(--text-color);
}

[data-theme="dark"] .auth-card-text {
    color: var(--text-light);
}

/* =========================================
   Product Card Design (Custom Refined)
   ========================================= */
:root {
    --pc-bg: #f5f6f7;
    --pc-card: #ffffff;
    --pc-text: #222;
    --pc-muted: #7a7f86;
    --pc-line: #e6e8eb;
    --pc-green: #17a34a;
    --pc-green2: #0f8a3f;
    --pc-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}

[data-theme="dark"] {
    --pc-bg: #0b0f19;
    --pc-card: #1f2937;
    --pc-text: #f3f4f6;
    --pc-muted: #9ca3af;
    --pc-line: #374151;
    --pc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.single-product .site-main {
    background-color: var(--pc-bg);
}


/* Top Tabs */
.top-tabs {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    background: var(--pc-card);
    border: 1px solid var(--pc-line);
    border-radius: 8px;
    padding: 10px 12px 0;
    height: 46px;
    box-shadow: var(--pc-shadow);
    margin-bottom: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* Hide scrollbar for Chrome/Safari */
.top-tabs::-webkit-scrollbar {
    display: none;
}

.top-tabs-mobile {
    display: none;
}

.top-tabs-clone {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    background: var(--pc-card);
    border: 1px solid var(--pc-line);
    border-radius: 8px;
    padding: 10px 12px 0;
    height: 46px;
    box-shadow: var(--pc-shadow);
    margin: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.top-tabs-clone::-webkit-scrollbar {
    display: none;
}

.top-tabs-clone-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.top-tabs-clone-wrapper.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.top-tabs-clone-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Enhanced shadow when clone is visible */
.top-tabs-clone.is-stuck {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.tab {
    border: 0;
    background: transparent;
    padding: 10px 4px 12px;
    font-size: 13px;
    color: #2f343a;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.tab svg {
    flex-shrink: 0;
}

.tab.is-active {
    color: #0c8a47;
    font-weight: 600;
}

.tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #0c8a47;
    border-radius: 2px;
}

.tab-badge {
    font-weight: 600;
    color: #2f343a;
    margin-left: 4px;
}

/* Tablet styles (768px - 1024px) */
@media screen and (max-width: 1024px) {

    .top-tabs,
    .top-tabs-clone {
        gap: 12px;
        padding: 8px 10px 0;
        height: 44px;
    }

    .tab {
        padding: 8px 6px 10px;
        font-size: 13px;
    }
}

/* Mobile styles (max 767px) */
@media screen and (max-width: 767px) {
    .grid {
        margin-top: 0 !important;
        gap: 0 !important;
    }

    .grid>div {
        margin-bottom: 0 !important;
    }

    .mobile-product-header {
        margin-bottom: 0 !important;
        border-bottom: 0 !important;
        border-radius: 10px 10px 0 0 !important;
    }

    .product-card {
        margin: 0 !important;
        border-radius: 0 !important;
        border-top: 1px solid var(--pc-line) !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    .product-info-blocks {
        margin-top: 0 !important;
        gap: 0 !important;
    }

    .info-block {
        margin: 0 !important;
        border-radius: 0 !important;
        border-top: 1px solid var(--pc-line) !important;
        box-shadow: none !important;
    }

    .info-block-header {
        padding: 12px 16px !important;
    }

    .info-block-header h2 {
        font-size: 16px !important;
    }

    .info-block-content {
        padding: 16px !important;
    }

    /* Tabs appearance on mobile should also be seamless */
    .top-tabs {
        display: none !important;
    }

    .top-tabs.top-tabs-mobile {
        display: flex !important;
        position: sticky;
        top: var(--novateplica-admin-bar, 0px);
        z-index: 90;
        margin: 0 0 12px;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .top-tabs-clone-wrapper {
        display: none !important;
        position: sticky !important;
        z-index: 90 !important;
        margin-bottom: 12px;
        background: var(--pc-bg);
    }

    .top-tabs-clone {
        gap: 12px;
        padding: 0 10px;
        height: 50px;
        border-radius: 0;
        /* Full width looks better with sharp corners */
        align-items: center;
        border-left: 0;
        border-right: 0;
    }

    .tab {
        padding: 0 5px;
        height: 100%;
        font-size: 14px;
        display: flex;
        align-items: center;
    }

    .tab.is-active::after {
        bottom: 0px;
        height: 3px;
    }

    .tab-badge {
        font-size: 12px;
        margin-left: 5px;
        background: var(--pc-line);
        padding: 2px 6px;
        border-radius: 10px;
        line-height: 1;
    }

    /* Remove side padding from clone container on mobile */
    .top-tabs-clone-container {
        padding: 0 !important;
    }
}

/* Small mobile (max 480px) */
@media screen and (max-width: 480px) {
    
    .novateplica-buy-now-btn {
        font-size: 12px!important;
    }
    .novateplica-installment-btn {
        font-size: 12px!important;
    }

    .top-tabs,
    .top-tabs-clone {
        gap: 8px;
        padding: 0 8px;
        height: 48px;
    }

    .tab {
        font-size: 13px;
        padding: 0 4px;
    }

    .tab svg {
        width: 16px;
        height: 16px;
        margin-right: 6px !important;
    }

    .info-block-header {
        padding: 10px 14px !important;
    }

    .info-block-header h2 {
        font-size: 15px !important;
    }

    .info-block-content {
        padding: 14px !important;
    }
}

/* Extra small mobile (max 360px) - Less compact, more readable */
@media screen and (max-width: 360px) {

    .top-tabs,
    .top-tabs-clone {
        gap: 4px;
        padding: 0 4px;
        height: 46px;
    }

    .tab {
        padding: 0 2px;
        font-size: 11px;
    }
}

/* Main Grid */
.grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 20px;
    align-items: stretch;
}

.left-bottom {
    display: flex;
    gap: 14px;
    padding-top: 14px;
    justify-content: center;
}

.pill {
    height: 34px;
    min-width: 220px;
    border-radius: 8px;
    border: 1px solid var(--pc-line);
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s;
}

.pill:hover {
    border-color: var(--pc-muted);
}

.pill-arr {
    color: #6b7280;
}

/* Short Description Box (replaces pills) */
.short-description-box {
    padding: 12px;
}

.short-description-content {
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
}

.short-description-content p {
    margin: 0 0 8px 0;
}

.short-description-content p:last-child {
    margin-bottom: 0;
}


/* RIGHT: Product Details */
.product-card {
    background: var(--pc-card);
    border: 1px solid var(--pc-line);
    border-radius: 10px;
    padding: 14px 14px 12px;
    box-shadow: var(--pc-shadow);
}

@media screen and (min-width: 993px) {
    .product-card {
        position: sticky;
        top: 100px;
        z-index: 10;
    }
}

/* Mobile Product Header Style */
.mobile-product-header {
    display: none;
    background: var(--pc-card);
    border: 1px solid var(--pc-line);
    border-radius: 10px 10px 0 0;
    padding: 14px 14px 12px;
    box-shadow: var(--pc-shadow);
}

.mobile-product-header .rating-stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.mobile-product-header .rating-row,
.mobile-product-header .stock-row {
    margin-top: 0;
}

/* In Stock color variants */
.in-stock.out-of-stock {
    color: #ef4444;
}

.title-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.title {
    margin: 0;
    font-size: 18px;
    /* Bumped size slightly */
    line-height: 1.3;
    font-weight: 700;
    color: #1f242a;
}

.code {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    padding-top: 4px;
}

.rating-row {
    margin-top: 9px;
    font-size: 12px;
    color: #0b7f3e;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-row .link {
    color: #0b7f3e;
    text-decoration: none;
    font-size: 12px;
    position: relative;
    top: 1px;
    /* Lower slightly to match stars */
}

.rating-row .link:hover {
    text-decoration: underline;
}

.stock-row {
    margin-top: 10px;
}

.in-stock {
    font-size: 12px;
    color: #0b7f3e;
    font-weight: 600;
}

/* Hide original title/rating/stock on mobile since we show it at top */
@media screen and (max-width: 767px) {
    .mobile-product-header {
        display: block;
    }

    .product-card .title-row,
    .product-card .rating-row,
    .product-card .stock-row {
        display: none;
    }
}

/* Product Short Description Box */
.product-short-description-box {
    background: #fff;
    border: 1px solid var(--pc-line);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Price & Buy Section */
.buy-row {
    margin-top: 15px;
    /* Added spacing */
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    width: 100%;
    margin-bottom: 8px;
}

.buy-buttons {
    display: flex;
    gap: 12px;
    flex: 1;
}

/* Price Override */
.product-card .price-main {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.product-card .price-main,
.product-card .price-main>.amount,
.product-card .price-main ins .amount {
    font-size: 24px !important;
    /* Reduced from 26px */
    font-weight: 700 !important;
    /* Slightly lighter weight */
    color: #222 !important;
    letter-spacing: .2px;
}

.product-card .price-main del {
    opacity: 1;
    color: #777 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
}

.product-card .price-main del .amount {
    color: #777 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

.product-card .price-main ins {
    color: #ef4444 !important;
    text-decoration: none !important;
}

.product-card .price-main ins .amount {
    color: #ef4444 !important;
}

/* Add to Cart Form - Show variations but hide button */
.product-card form.cart {
    margin-bottom: 15px !important;
    display: block !important;
}

/* Hide only the add to cart button and quantity in variations form */
.product-card form.variations_form .single_add_to_cart_button,
.product-card form.variations_form .quantity {
    display: none !important;
}

/* Show variation pills properly */
.product-card form.variations_form .variations {
    display: block !important;
    margin-bottom: 15px;
}

/* Custom Buy Now Button */
.novateplica-buy-now-btn {
    height: 46px;
    padding: 0 32px;
    border-radius: 10px;
    border: none;
    background-color: var(--pc-green) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: none;
    line-height: 1;
    transition: all 0.2s ease;
    font-family: inherit;
    min-width: 160px;
    flex: 1;
}

.novateplica-buy-now-btn svg {
    flex-shrink: 0;
}

.novateplica-buy-now-btn:hover:not(.disabled) {
    background-color: var(--pc-green2) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 163, 74, 0.3);
}

.novateplica-buy-now-btn:active:not(.disabled) {
    transform: translateY(0);
}

.novateplica-buy-now-btn.disabled {
    background-color: #d1d5db !important;
    color: #9ca3af !important;
    cursor: not-allowed;
}

/* Success State (ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¾ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¹Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¹Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¹Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¹Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¹Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¹Ã…â€œÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ) */
.novateplica-buy-now-btn.success-state {
    background-color: #fff !important;
    color: #4b709d !important;
    /* Blueish color from screen */
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 0 10px;
    min-width: 140px;
    cursor: default;
}

.novateplica-buy-now-btn.success-state:hover {
    background-color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

.novateplica-buy-now-btn.success-state span.text-wrap {
    text-decoration: none;
    border-bottom: 2px dotted #4b709d;
    padding-bottom: 2px;
}

.novateplica-buy-now-btn.success-state svg {
    color: #00a046 !important;
    /* Green color for cart/check */
}

/* Installment Button (white with green text) */
.novateplica-installment-btn {
    height: 46px;
    padding: 0 24px;
    border-radius: 10px;
    border: 1px solid var(--pc-green);
    background-color: #fff !important;
    color: var(--pc-green) !important;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
    line-height: 1;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
    flex: 1;
}

.novateplica-installment-btn:hover {
    background-color: rgba(23, 163, 74, 0.05) !important;
    transform: translateY(-1px);
}

.novateplica-installment-btn:active {
    transform: translateY(0);
}

/* Wishlist Icon Button */
.wishlist-icon-btn {
    height: 46px;
    width: 46px;
    border-radius: 10px;
    border: 1px solid var(--pc-line);
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.wishlist-icon-btn svg {
    color: #ffa500;
    stroke: #ffa500;
}

.wishlist-icon-btn:hover {
    border-color: #ffa500;
    background-color: rgba(255, 165, 0, 0.05);
    transform: translateY(-1px);
}

.wishlist-icon-btn:active {
    transform: translateY(0);
}

/* If item is in wishlist, fill the heart */
.wishlist-icon-btn.in-wishlist svg {
    fill: #ffa500;
}


.icon-btn {
    height: 38px;
    width: 44px;
    /* Fixed width */
    border-radius: 10px;
    border: 1px solid var(--pc-line);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
}

.icon-btn:hover {
    border-color: #ccc;
    background: #fdfdfd;
}

.ic-balance,
.ic-heart {
    width: 18px;
    height: 18px;
    display: inline-block;
    position: relative;
    opacity: 0.6;
}

.icon-btn:hover .ic-balance,
.icon-btn:hover .ic-heart {
    opacity: 1;
}

.ic-balance::before {
    content: "";
    position: absolute;
    inset: 3px 2px 2px 2px;
    border: 2px solid #333;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}

.ic-balance::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 1px;
    width: 2px;
    height: 16px;
    background: #333;
}

.ic-heart::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 12px;
    height: 10px;
    border: 2px solid #f59e0b;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
    border-radius: 2px;
}

.product-meta-custom {
    font-size: 12px;
    color: var(--pc-muted);
    margin: 10px 0;
    line-height: 1.5;
}

.product-meta-custom a {
    color: var(--pc-text);
    font-weight: 500;
}

/* Info Rows */
.info-row {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--pc-line);
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
    color: #2f343a;
}

.info-text {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.ico-pay,
.ico-shield {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #e5e7eb;
    flex: 0 0 auto;
    position: relative;
}

.ico-pay::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 12px;
    height: 8px;
    border: 2px solid #6b7280;
    border-radius: 2px;
}

.ico-shield::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 5px;
    width: 8px;
    height: 14px;
    border: 2px solid #6b7280;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Responsive */
@media (max-width: 980px) {
    .grid {
        grid-template-columns: 1fr;
        display: block;
        /* Fallback to block to avoid grid quirks on older devices if any */
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .grid>div {
        width: 100%;
        margin: 0 0 15px 0;
        padding: 0;
    }

    .left,
    .right {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }

    .pill {
        min-width: 160px;
    }
}

/* =========================================
   Variation Pills Styles
   ========================================= */
/* Hide default selects immediately to prevent FOUC */
.variations select {
    display: none !important;
}

.variation-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.variation-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    /* Slightly tighter radius */
    padding: 6px 12px;
    /* Smaller padding */
    min-width: 36px;
    font-size: 13px;
    /* Smaller font */
    color: #333;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
}

.variation-pill:hover {
    border-color: #999;
}

.variation-pill.active {
    border-color: var(--pc-green);
    /* Green border */
    background-color: rgba(23, 163, 74, 0.05);
    /* Slight tint optional */
    color: #0b7f3e;
    font-weight: 600;
    box-shadow: 0 0 0 1px var(--pc-green);
    /* Thicker looking border */
}

.variation-pill.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9f9f9;
    border-color: #eee;
    color: #ccc;
}

/* Ensure labels look good */
.variations label {
    font-size: 12px;
    /* Smaller label */
    color: #6b7280;
    margin-bottom: 2px;
    font-weight: 400;
}

.variations td {
    padding-bottom: 15px;
    display: block;
    /* Stack vertically on all screens for cleaner look */
    text-align: left;
    padding-left: 0 !important;
}

.variations th {
    display: block;
    padding-left: 0 !important;
    line-height: 1em !important;
    text-align: left;
}

.reset_variations {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: #cc0000;
    text-decoration: none;
}

/* Tab SVG Alignment */
.tab {
    display: inline-flex;
    align-items: center;
}

.tab svg {
    margin-right: 6px;
    vertical-align: middle;
    color: #6b7280;
    transition: color 0.2s;
}

/* Wishlist Modern Notification */
.wishlist-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #e6f4ea !important;
    /* Light green from screen */
    color: #333 !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    z-index: 999999 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 320px;
    border: 1px solid #d4ecd9 !important;
    animation: slideInRightToast 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInRightToast {
    from {
        transform: translateX(110%);
        opacity: 0;
    }

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

.wishlist-notification .notif-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wishlist-notification.success .notif-icon {
    background: #00a046;
}

.wishlist-notification.error {
    background: #fdf2f2 !important;
    border-color: #f89a9a !important;
}

.wishlist-notification.error .notif-icon {
    background: #ff4757;
}

.wishlist-notification.error .notif-message {
    color: #9b1c1c;
}

.wishlist-notification .notif-icon svg {
    color: #fff;
}

.wishlist-notification .notif-message {
    flex-grow: 1;
    line-height: 1.4;
    color: #374151;
}

.wishlist-notification .notif-message span.highlight {
    color: #4b709d;
    font-weight: 600;
}

.wishlist-notification .notif-close {
    background: none !important;
    border: none !important;
    padding: 4px !important;
    cursor: pointer !important;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.wishlist-notification .notif-close:hover {
    color: #374151;
}

@media (max-width: 480px) {
    .wishlist-notification {
        left: 20px;
        right: 20px;
        min-width: auto;
    }
}

.tab.is-active svg {
    color: #0c8a47;
}

.tab:hover svg {
    color: #374151;
}

/* Dark Mode Overrides for Custom Single Product Elements */
[data-theme="dark"] .short-description-box,
[data-theme="dark"] .product-short-description-box,
[data-theme="dark"] .pill {
    background: var(--pc-card) !important;
    border-color: var(--pc-line) !important;
}

[data-theme="dark"] .novateplica-installment-btn {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .novateplica-installment-btn:hover {
    background-color: rgba(59, 197, 78, 0.1) !important;
}

[data-theme="dark"] .wishlist-icon-btn {
    background-color: transparent;
    border-color: var(--pc-line);
    color: var(--pc-text);
}

[data-theme="dark"] .wishlist-icon-btn:hover {
    background-color: var(--pc-line);
}

[data-theme="dark"] .tab {
    color: var(--pc-text);
}

[data-theme="dark"] .tab.is-active {
    color: var(--primary-color);
}

/* Dark mode sticky tabs clone shadow */
[data-theme="dark"] .top-tabs-clone.is-stuck {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .tab:hover svg,
[data-theme="dark"] .title,
[data-theme="dark"] .product-card .price-main,
[data-theme="dark"] .product-card .price span.amount,
[data-theme="dark"] .short-description-content,
[data-theme="dark"] .pill {
    color: var(--pc-text) !important;
}

[data-theme="dark"] .code,
[data-theme="dark"] .pill-arr {
    color: var(--pc-muted);
}

[data-theme="dark"] .product-card .price-main ins,
[data-theme="dark"] .product-card .price-main ins .amount {
    color: #ef4444 !important;
}

[data-theme="dark"] .product-card .price-main del,
[data-theme="dark"] .product-card .price-main del .amount {
    color: #9ca3af !important;
}

/* Dark Mode for Product Variations & Swatches */
[data-theme="dark"] .variations label,
[data-theme="dark"] .variations .label,
[data-theme="dark"] table.variations th,
[data-theme="dark"] table.variations td.label {
    color: var(--text-light) !important;
    background-color: transparent !important;
}

/* Target common swatches plugin classes */
[data-theme="dark"] .variable-items-wrapper .variable-item:not(.radio-variable-item),
[data-theme="dark"] .tawcvs-swatches .swatch,
[data-theme="dark"] .vi-wpvs-option-wrap,
[data-theme="dark"] .cfvsw-swatches-option,
[data-theme="dark"] .swatch-label {
    background-color: var(--input-bg) !important;
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
    box-shadow: none !important;
}

/* Selected/Active/Hover States */
[data-theme="dark"] .variable-items-wrapper .variable-item.selected:not(.radio-variable-item),
[data-theme="dark"] .variable-items-wrapper .variable-item:hover:not(.radio-variable-item),
[data-theme="dark"] .tawcvs-swatches .swatch.selected,
[data-theme="dark"] .tawcvs-swatches .swatch:hover,
[data-theme="dark"] .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected,
[data-theme="dark"] .vi-wpvs-option-wrap:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background-color: rgba(59, 197, 78, 0.1) !important;
}

/* Standard Selects in Variations (Fallback) */
[data-theme="dark"] .variations select {
    background-color: var(--input-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

[data-theme="dark"] .reset_variations {
    color: var(--text-light) !important;
}

[data-theme="dark"] .reset_variations:hover {
    color: var(--primary-color) !important;
}

/* Broadest possible selectors to catch persistent white variation buttons */
[data-theme="dark"] ul.variable-items-wrapper li,
[data-theme="dark"] ul.variable-items-wrapper span,
[data-theme="dark"] .variations .value div,
[data-theme="dark"] .variations .value span,
[data-theme="dark"] .swatch,
[data-theme="dark"] .swatch-label,
[data-theme="dark"] .term-label {
    color: var(--text-color) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] ul.variable-items-wrapper li.selected,
[data-theme="dark"] ul.variable-items-wrapper li:hover,
[data-theme="dark"] .variations .value div.selected,
/* Dark Mode for Custom Variation Pills (JS Generated) */
/* Increased specificity to override default light theme styles */
[data-theme="dark"] .variations .variation-pills-container .variation-pill,
[data-theme="dark"] .variation-pills-container .variation-pill,
[data-theme="dark"] .variation-pill {
    background-color: var(--input-bg) !important;
    background: var(--input-bg) !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color) !important;
    border-color: var(--border-color) !important;
    box-shadow: none !important;
}

[data-theme="dark"] .variations .variation-pills-container .variation-pill:hover,
[data-theme="dark"] .variation-pills-container .variation-pill:hover,
[data-theme="dark"] .variation-pill:hover,
[data-theme="dark"] .variations .variation-pills-container .variation-pill.active,
[data-theme="dark"] .variation-pills-container .variation-pill.active,
[data-theme="dark"] .variation-pill.active {
    background-color: rgba(59, 197, 78, 0.1) !important;
    background: rgba(59, 197, 78, 0.1) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 1px var(--primary-color) !important;
}

[data-theme="dark"] .variations .variation-pills-container .variation-pill.disabled,
[data-theme="dark"] .variation-pills-container .variation-pill.disabled,
[data-theme="dark"] .variation-pill.disabled {
    opacity: 0.5;
    background-color: var(--bg-color) !important;
    background: var(--bg-color) !important;
    color: var(--text-light) !important;
    border-color: var(--border-color) !important;
    cursor: not-allowed;
}

/* Override inline JS styles for selected value label */
[data-theme="dark"] .variations label .selected-value,
[data-theme="dark"] .label .selected-value {
    color: var(--primary-color) !important;
}

/* ==========================================
   TABLET LAYOUT (768px - 992px)
   ========================================== */
@media (min-width: 768px) and (max-width: 992px) {

    /* Header middle adjustments */
    .header-middle {
        padding: 12px 0;
    }

    /* Main header container with flexbox order control */
    .header-middle-inner {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }





    .novateplica-header-menu-btn {
        padding: 0 10px;
        height: 36px;
    }

    .novateplica-header-menu-btn svg {
        width: 18px;
        height: 18px;
    }

    /* 4. Search - Fourth */
    .header-search {
        order: 4;
        flex: 1;
        max-width: none;
        margin: 0;
        display: flex !important;
        min-width: 0;
    }

    .search-wrapper {
        height: 36px;
        display: flex !important;
        width: 100%;
    }

    .search-field {
        font-size: 13px;
        padding: 0 10px;
    }

    .search-submit {
        padding: 0 12px;
        font-size: 14px;
    }

    .voice-search-btn {
        padding: 0 8px;
        font-size: 14px;
    }

    /* 5. Header Actions Container (Phone + Icons) - ICON ONLY ON TABLET */
    .header-actions {
        order: 5;
        gap: 12px;
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
    }

    .header-contact {
        padding: 0;
        gap: 0;
        height: 36px;
        width: 36px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: transparent;
        border: none;
        position: relative;
    }

    .header-contact>i,
    .header-action-item .action-link-wrap i {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: #f0f5f9;
        color: #707a8a;
        border-radius: 40%;
        box-shadow: none;
        transition: all 0.2s ease;
        border: 2px solid var(--border-color);
    }

    .header-contact:hover>i,
    .header-action-item:hover .action-link-wrap i {
        background: #e5edf5;
        color: var(--primary-color);
    }

    .contact-info {
        display: none !important;
    }

    .contact-dropdown {
        right: 0;
        left: auto;
        min-width: 220px;
    }

    .contact-dropdown::before {
        left: auto;
        right: 12px;
    }

    /* 6. Action icons (History, Wishlist, Cart) */
    .header-icons {
        gap: 12px;
        display: flex !important;
        flex-shrink: 0;
    }

    /* Show all action items */
    .header-action-item {
        display: flex !important;
    }

    /* Full-bleed header background on tablet: keep content centered but extend header background to full viewport */
    @media (max-width: 1024px) {
        .site-header {
            background: var(--header-bg);
        }

        .site-header>.container {
            max-width: 100%;
            padding-left: 15px;
            padding-right: 15px;
        }
    }

    .header-recently-viewed {
        display: flex !important;
    }

    /* Adjust badge positions for circular icon display */
    .count-badge {
        top: -2px;
        right: -2px;
        width: 16px;
        height: 16px;
        font-size: 9px;
        border-width: 1.5px;
    }
}

/* On small screens (<768px) hide catalog button completely */
@media (max-width: 767px) {
    .novateplica-header-menu-btn {
        display: none !important;
    }
}

/* Mobile product-page layout and variation reset control. */
@media (max-width: 767px) {
    body.single-product,
    body.single-product .site,
    body.single-product .site-content {
        overflow-x: clip;
    }

    body.single-product .woocommerce-tabs,
    body.single-product .woocommerce-tabs .panel,
    body.single-product .woocommerce-tabs .panel p,
    body.single-product .woocommerce-tabs .panel li,
    body.single-product .woocommerce-product-details__short-description,
    body.single-product .woocommerce-product-details__short-description p,
    body.single-product .product-card .price-main,
    body.single-product .product-card .price-main * {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.single-product .woocommerce-tabs .panel table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.single-product .product-card form.variations_form .reset_variations {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        margin: 8px 0 0;
        padding: 8px 12px;
        border: 1px solid #3bc54e;
        border-radius: 7px;
        background: #fff;
        color: #16833b !important;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
    }

    html[lang^="uk"] .novateplica-greenhouse-block__stat-label {
        font-size: 0 !important;
    }

    html[lang^="uk"] .novateplica-greenhouse-block__stat-label::after {
        content: "Ми";
        font-size: 14px;
    }
}

/* Hide logo text in header on small screens (<768px) only */
@media (max-width: 767px) {
    .site-header .logo-text {
        display: none !important;
    }
}

/* ============================================
   MODERN SIDEBAR MENU - Apple/Airbnb Style
   ============================================ */

/* Sidebar Menu Container */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.26s;
}

.sidebar-menu.is-ready,
.sidebar-menu.active {
    visibility: visible;
    transition-delay: 0s;
}

.sidebar-menu.active {
    pointer-events: auto;
}

/* Sidebar Backdrop Overlay */
.sidebar-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.sidebar-menu.active .sidebar-backdrop {
    opacity: 0.36;
    pointer-events: auto;
}

/* Sidebar Content Panel */
.sidebar-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 312px;
    height: 100%;
    background: var(--card-bg);
    box-shadow: none;
    transform: translate3d(-102%, 0, 0);
    opacity: 0.98;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
    will-change: transform;
    contain: strict;
    isolation: isolate;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    -webkit-user-select: none;
    user-select: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Ensure sidebar content adapts cleanly to dark theme */
[data-theme="dark"] .sidebar-content {
    box-shadow: none;
}

.sidebar-menu.active .sidebar-content {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    pointer-events: auto;
}

/* Scrollbar Styling for Sidebar */
.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

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

.sidebar-logo img {
    height: 36px;
    width: auto;
    display: block;
}

/* Close Button */
.sidebar-close-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 8px;
    margin-left: 12px;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.sidebar-close-btn:hover {
    opacity: 1;
    background: var(--border-color);
}

.sidebar-close-icon {
    display: block;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section {
    content-visibility: auto;
    contain-intrinsic-size: 120px;
}

/* Section Titles */
.sidebar-section-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-color);
    border-bottom: 1px solid var(--pc-line);
}

.sidebar-section-title i {
    font-size: 16px;
    color: var(--primary-color);
}

/* Auth Section */
.sidebar-auth-section {
    background: linear-gradient(135deg, var(--bg-color), var(--border-color));
    padding: 20px 24px;
}

.sidebar-user-info {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sidebar-user-avatar {
    flex-shrink: 0;
}

.sidebar-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.sidebar-user-details {
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 6px 0;
}

.sidebar-account-link {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.sidebar-account-link:hover {
    opacity: 0.8;
}

/* Auth Card (Not Logged In) */
.sidebar-auth-card {
    text-align: left;
    padding: 0;
}

.sidebar-auth-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px 0;
}

.sidebar-auth-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.sidebar-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    min-height: 44px;
    width: 100%;
}

.sidebar-auth-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Menu List */
.sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-menu-list li {
    margin: 0;
}

/* Category list item link & default icon sizing */
.sidebar-menu-list .menu-item-link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    color: var(--text-color);
    text-decoration: none;
}

.sidebar-menu-list .menu-item-link .nav-arrow {
    margin-left: auto;
    flex-shrink: 0;
}

.sidebar-menu-list .category-default-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    color: var(--primary-color, #00d45a);
    flex-shrink: 0;
    background: transparent;
}

.sidebar-menu-list .category-default-icon svg {
    width: 44px;
    height: 44px;
}

/* Hide any custom image/icon inside menu items (fallback) */
.sidebar-menu-list img,
.sidebar-menu-list .menu-item-icon {
    display: none !important;
}

.sidebar-menu-list .menu-item-title {
    flex: 1 1 auto;
    font-size: 16px;
}

.sidebar-menu-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.12s ease, color 0.12s ease;
    position: relative;
}

.sidebar-menu-list a:hover {
    background: var(--border-color);
}

.sidebar-menu-list a i {
    font-size: 14px;
    opacity: 0.6;
}

/* Nested Menu Items - REMOVED (using navigation mode instead) */
.sidebar-menu-list .sub-menu {
    display: none !important;
}

/* Nav arrow styling for categories with children */
.sidebar-menu-list .menu-item.has-nav-arrow .menu-item-link {
    cursor: pointer;
    user-select: none;
}

.sidebar-menu-list .nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    margin-left: auto;
    transition: transform 0.2s ease;
}

/* Category Header (Back button + Go to link container) */
.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(39, 174, 96, 0.05);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Back button for submenu navigation */
.category-back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.2s;
    flex: 1;
    text-align: left;
}

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

.category-back-btn svg {
    color: var(--text-light);
    flex-shrink: 0;
}

.back-text {
    flex: 1;
    text-align: left;
}

/* Go to category link */
.category-go-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-go-link:hover {
    background: #27a960;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

/* Category wrapper & navigation */
.sidebar-categories-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Stretch categories wrapper to compensate section padding so back button
   can span full sidebar width */
.sidebar-section.sidebar-categories .sidebar-categories-wrapper {
    padding-left: 0;
    padding-right: 0;
}

.sidebar-categories-nav {
    display: flex;
    flex-direction: column;
    position: relative;
    animation: sidebarSubcategoryEnter 0.18s ease both;
}

@keyframes sidebarSubcategoryEnter {
    from {
        opacity: 0;
        transform: translate3d(10px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sidebar-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.category-item {
    margin: 0;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
    border-bottom: 1px solid var(--pc-line);
}

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

.category-item.is-loading > .category-link {
    color: var(--primary-color);
    background: rgba(59, 197, 78, 0.06);
}

.category-item.is-loading > .category-link .category-arrow {
    opacity: 0.55;
}

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

/* Category thumbnail image (20x20) */
.category-icon-img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    display: block;
}

.category-link:hover {

    /* match screenshot gray */
    border-radius: 0;
}

/* Active / selected state ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â keeps the gray background like screenshot */
.category-link.active,
.category-item.active .category-link {
    background: #f3f4f6;
    color: var(--text-color);
    border-radius: 0;
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #888;
}

.category-icon svg {
    width: 20px;
    height: 20px;
}

.category-name {
    flex: 1;
    text-align: left;
}

.category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.category-arrow svg {
    width: 16px;
    height: 16px;
}

.category-back-btn-new {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px;
    margin-bottom: 8px;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.12s ease;
}

.category-back-btn-new:hover {
    color: var(--primary-color);
}

.category-go-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.12s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: none;
}

.category-go-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-1px);
    opacity: 0.95;
}

/* Footer with category name and button */
.category-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    margin-top: 16px;
    background: var(--bg-color);
}

.category-footer-name {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-color);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contact Info */
.sidebar-contact-info {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.sidebar-contact-item.phone-item {
    display: flex;
    align-items: flex-start;
}

.contact-content {
    display: flex;
    flex-direction: column;
}

.phone-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
    display: block;
}

.sidebar-phone-full {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 24px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.sidebar-contact-item i {
    color: var(--primary-color);
    background: rgb(39 174 96 / 13%);
    padding: 12px;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Small toggle button styling (for old compatibility, removing) */
.category-toggle {
    display: none !important;
}

/* Address item doesn't need to be a link */
.sidebar-address-item {
    pointer-events: none !important;
    cursor: default;
}

.sidebar-address-item:hover {
    color: var(--text-color) !important;
    padding-left: 0 !important;
}

/* Working Hours Item - Special Styling */
.sidebar-contact-item.working-hours-item {
    display: grid;
    grid-template-columns: 35px 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 8px 24px;
    gap: 0 12px;
}

.sidebar-contact-item.working-hours-item .working-header {
    display: contents;
    color: var(--text-color);
}

.sidebar-contact-item.working-hours-item .working-header i {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--primary-color);
    background: rgb(39 174 96 / 13%);
    padding: 10px;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.sidebar-contact-item.working-hours-item .working-label {
    grid-column: 2;
    grid-row: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    display: block;
}

.sidebar-contact-item.working-hours-item .working-times {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 0;
    padding: 0;
}

.sidebar-contact-item.working-hours-item .working-time {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
    display: block;
}

/* Settings Section */
.sidebar-settings {
    padding: 20px 24px;
    margin-top: auto;
}

.sidebar-theme-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sidebar-setting-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-setting-label i {
    font-size: 16px;
    opacity: 0.7;
}

.sidebar-theme-options {
    display: flex;
    gap: 8px;
}

.sidebar-theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.sidebar-theme-btn:hover {
    opacity: 1;
    border-color: var(--primary-color);
}

.sidebar-theme-btn.active {
    opacity: 1;
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Burger Menu Button (Header) */
.sidebar-menu-toggle {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-color);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sidebar-menu-toggle:hover {
    background: var(--border-color);
}

.sidebar-menu-toggle i {
    display: block;
}

/* Disable body scroll when sidebar is open */
body.sidebar-open {
    overflow: hidden;
    touch-action: none;
}

/* ============================================
   RESPONSIVE STYLES FOR SIDEBAR
   ============================================ */

@media (max-width: 992px) {

    /* Show Sidebar Toggle in Header */
    .sidebar-menu-toggle {
        display: flex !important;
    }

    .sidebar-content {
        max-width: 85vw;
    }

}

@media (max-width: 768px) {

    .sidebar-content {
        max-width: 90vw;
    }

    .sidebar-header {
        padding: 16px 20px;
    }

    .sidebar-section {
        padding: 20px;
    }

    .sidebar-section-title {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .sidebar-menu-list a {
        padding: 11px 14px;
        font-size: 14px;
    }

    .sidebar-menu-list a:hover {
        padding-left: 14px;
    }

    .sidebar-menu-list .sub-menu a {
        padding: 9px 14px 9px 28px;
    }

    .sidebar-menu-list .sub-menu a:hover {
        padding-left: 28px;
    }

}

@media (max-width: 480px) {

    .sidebar-content {
        max-width: 100vw;
    }

    .sidebar-header {
        padding: 14px 16px;
    }

    .sidebar-logo img {
        height: 32px;
    }

    .sidebar-section {
        padding: 16px;
    }

    .sidebar-section-title {
        font-size: 12px;
        gap: 8px;
        margin-bottom: 12px;
    }

    .sidebar-menu-list {
        gap: 6px;
    }

    .sidebar-menu-list a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .sidebar-menu-list a:hover {
        padding-left: 12px;
    }

    .sidebar-contact-item {
        font-size: 13px;
        gap: 10px;
    }

    .sidebar-auth-card {
        margin: 0;
    }

    .sidebar-auth-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

}

/* Sidebar Accordion Styles Refined */
.sidebar-accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 32px;
    cursor: pointer;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
}

.accordion-header .category-name {
    flex: 1;
    text-align: left;
}

.accordion-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: #999;
}

.accordion-toggle svg {
    transition: transform 0.2s;
}

.accordion-content {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: #fafafa;
    /* padding: 5px 0 12px 0; */
    transform: translate3d(0, -4px, 0);
    transition: max-height 0.22s ease, opacity 0.16s ease, transform 0.18s ease;
    will-change: max-height, opacity, transform;
}

.sidebar-accordion-item.expanded .accordion-content {
    max-height: 720px;
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Toggle icon state handling via CSS */
.sidebar-accordion-item .icon-minus {
    display: none;
}

.sidebar-accordion-item.expanded .icon-plus {
    display: none !important;
}

.sidebar-accordion-item.expanded .icon-minus {
    display: block !important;
}

.accordion-toggle {
    transition: transform 0.2s ease;
}

.sidebar-accordion-item.expanded {
    background: #fafafa;
}

.sub-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-category-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 14px 8px 46px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.12s ease, background-color 0.12s ease;
    text-align: left;
}

.sub-category-link .category-name {
    flex: 1;
}

.sub-category-link:hover {
    color: var(--primary-color);
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 700;



    /* very light green background */
}

.view-all-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #27ae60;
    /* Specific premium green as seen in screenshot */
}

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

[data-theme="dark"] .accordion-content {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .sidebar-accordion-item.expanded {
    background: rgba(255, 255, 255, 0.01);
}

[data-theme="dark"] .sub-category-link {
    color: var(--text-light);
}

[data-theme="dark"] .sub-category-link:hover {
    color: var(--primary-color);
}

/* ============================================
   SEO DESCRIPTION BLOCK
   Apply this class to a wrapper div in the editor:
   <div class="seo-description-block"> ... </div>
   ============================================ */

.seo-description-block {
    margin: 40px 0 80px;
    padding: 30px clamp(20px, 5vw, 60px);
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    font-family: 'Inter', 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
}

.seo-description-block h1,
.seo-description-block h2,
.seo-description-block h3,
.seo-description-block h4,
.seo-description-block h5,
.seo-description-block h6 {
    margin-top: 1.2em;
    margin-bottom: 0.6em;
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
}

.seo-description-block h1 {
    font-size: clamp(24px, 4vw, 32px);
}

.seo-description-block h2 {
    font-size: clamp(20px, 3.5vw, 26px);
}

.seo-description-block h3 {
    font-size: clamp(18px, 3vw, 22px);
}

.seo-description-block h4 {
    font-size: clamp(17px, 2.5vw, 20px);
}

.seo-description-block h5,
.seo-description-block h6 {
    font-size: clamp(16px, 2.2vw, 18px);
}

.seo-description-block p {
    margin-bottom: 1.2em;
}

.seo-description-block p:last-child {
    margin-bottom: 0;
}

.seo-description-block strong,
.seo-description-block b {
    color: #111827;
    font-weight: 700;
}

.seo-description-block ul,
.seo-description-block ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.seo-description-block li {
    margin-bottom: 0.5em;
}

.seo-description-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
    display: block;
}

.category-description-wrapper.seo-description-block {
    padding: 0;
    box-shadow: none;
}

.category-description-wrapper.seo-description-block h1:first-child,
.category-description-wrapper.seo-description-block h2:first-child,
.category-description-wrapper.seo-description-block h3:first-child,
.category-description-wrapper.seo-description-block p:first-child {
    margin-top: 0;
}

/* Dark Mode */
[data-theme="dark"] .seo-description-block {
    background: #1e293b;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: #94a3b8;
}

[data-theme="dark"] .seo-description-block h1,
[data-theme="dark"] .seo-description-block h2,
[data-theme="dark"] .seo-description-block h3,
[data-theme="dark"] .seo-description-block h4,
[data-theme="dark"] .seo-description-block h5,
[data-theme="dark"] .seo-description-block h6,
[data-theme="dark"] .seo-description-block strong,
[data-theme="dark"] .seo-description-block b {
    color: #f1f5f9;
}

html[data-theme="dark"] .category-description-wrapper.seo-description-block strong,
html[data-theme="dark"] .category-description-wrapper.seo-description-block b {
    color: #f1f5f9 !important;
}

@media (max-width: 768px) {
    .seo-description-block {
        margin: 20px 0 40px;
        padding: 30px 20px;
        font-size: 15px;
    }
}



/* ============================================
   FOOTER CITIES MENU (Horizontal Slider)
   ============================================ */

.footer-cities-section {
    background: #f8fbf9;
    padding: 10px 0;
    border-top: 1px solid var(--border-color, #e5e7eb);
    position: relative;
}

.footer-cities-title {
    margin: 4px 40px 8px;
    color: var(--heading-color, #1f2937);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.cities-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.cities-scroll-container {
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

.cities-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.footer-cities-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.footer-cities-menu .menu-item {
    flex: 0 0 auto;
}

.footer-cities-menu .menu-item a {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    background: #effaf3;
    color: #2d3748;
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.footer-cities-menu .menu-item a:hover,
.footer-cities-menu .current-menu-item a,
.footer-cities-menu .current_page_item a {
    background: var(--primary-color, #3bc54e);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 197, 78, 0.2);
}

.footer-cities-menu .menu-item a i {
    margin-right: 10px;
    font-size: 16px;
    color: var(--primary-color, #3bc54e);
    transition: color 0.2s ease;
}

.footer-cities-menu .menu-item a:hover i,
.footer-cities-menu .current-menu-item a i,
.footer-cities-menu .current_page_item a i {
    color: #ffffff;
}

/* Slider Nav Buttons */
.cities-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color, #e5e7eb);
    color: var(--primary-color, #3bc54e);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cities-nav-btn:hover {
    background: var(--primary-color, #3bc54e);
    color: #ffffff;
    border-color: var(--primary-color, #3bc54e);
}

.cities-nav-btn.prev {
    left: 0;
}

.cities-nav-btn.next {
    right: 0;
}

/* Dark Mode support */
[data-theme="dark"] .footer-cities-section {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .footer-cities-title {
    color: #f8fafc;
}

[data-theme="dark"] .footer-cities-menu .menu-item a {
    background: #1e293b;
    color: #cbd5e1;
}

[data-theme="dark"] .cities-nav-btn {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .footer-cities-title {
        margin: 4px 34px 8px;
        font-size: 20px;
    }

    .cities-slider-wrapper {
        padding: 0 34px;
    }

    .cities-nav-btn {
        display: flex;
        width: 34px;
        height: 34px;
        font-size: 13px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
    }

    .footer-cities-menu .menu-item a {
        padding: 8px 18px;
        font-size: 14px;
    }
}

/* 404 Page Styles */
.novateplica-404-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background-color: #f8fafc;
    text-align: center;
    padding: 60px 20px;
}

[data-theme="dark"] .novateplica-404-wrapper {
    background-color: var(--bg-color);
}

.novateplica-404-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-code-container {
    font-size: 220px;
    font-weight: 300;
    line-height: 1;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -8px;
}

[data-theme="dark"] .error-code-container {
    color: #f1f5f9;
}

.error-code-container .zero {
    color: var(--primary-color);
    position: relative;
    margin: 0 15px;
}

.plant-icon-wrapper {
    position: absolute;
    bottom: 25px;
    right: -15px;
    width: 65px;
    height: 65px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    color: var(--primary-color);
}

[data-theme="dark"] .plant-icon-wrapper {
    background-color: #1e293b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.error-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #0f172a;
}

[data-theme="dark"] .error-title {
    color: #f1f5f9;
}

.error-description {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 450px;
}

[data-theme="dark"] .error-description {
    color: #94a3b8;
}

/* Button overrides for 404 */
.novateplica-buy-now-btn.error-home-btn {
    min-width: 250px;
    flex: none;
    box-shadow: 0 6px 16px rgba(59, 197, 78, 0.25);
    padding: 15px 30px;
    height: auto;
    border-radius: 30px;
}

[data-theme="dark"] .novateplica-buy-now-btn.error-home-btn {
    box-shadow: none;
}

/* Voice search modal: dark theme hard override */
html[data-theme="dark"] .voice-search-modal,
body[data-theme="dark"] .voice-search-modal,
body.dark-theme .voice-search-modal,
body.dark .voice-search-modal {
    background: rgba(2, 6, 23, 0.72) !important;
}

html[data-theme="dark"] .voice-modal-content,
body[data-theme="dark"] .voice-modal-content,
body.dark-theme .voice-modal-content,
body.dark .voice-modal-content {
    background: #111827 !important;
    color: #f8fafc !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55) !important;
}

html[data-theme="dark"] .voice-modal-content h2,
body[data-theme="dark"] .voice-modal-content h2,
body.dark-theme .voice-modal-content h2,
body.dark .voice-modal-content h2 {
    color: #f8fafc !important;
}

html[data-theme="dark"] .voice-icon,
body[data-theme="dark"] .voice-icon,
body.dark-theme .voice-icon,
body.dark .voice-icon {
    background: #1f2937 !important;
}

html[data-theme="dark"] #close-voice-modal,
body[data-theme="dark"] #close-voice-modal,
body.dark-theme #close-voice-modal,
body.dark #close-voice-modal {
    color: #e5e7eb !important;
    border-color: rgba(148, 163, 184, 0.45) !important;
    background: transparent !important;
}

html[data-theme="dark"] #close-voice-modal:hover,
body[data-theme="dark"] #close-voice-modal:hover,
body.dark-theme #close-voice-modal:hover,
body.dark #close-voice-modal:hover {
    color: #ffffff !important;
    background: #1f2937 !important;
}

/* Keep embedded YouTube videos inside article and product content on mobile. */
iframe[src*="youtube.com/embed"],
iframe[src*="youtube-nocookie.com/embed"] {
    display: block;
    max-width: 100%;
}

@media (max-width: 767px) {
    iframe[src*="youtube.com/embed"],
    iframe[src*="youtube-nocookie.com/embed"] {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}

/* Variation reset is an action, not a plain text link. */
body.single-product .product-card form.variations_form .reset_variations {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 22px 0 18px;
    padding: 9px 14px;
    border: 1px solid #18a84a;
    border-radius: 8px;
    background: #fff;
    color: #16833b !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

body.single-product .product-card form.variations_form .reset_variations:hover,
body.single-product .product-card form.variations_form .reset_variations:focus-visible {
    border-color: #16833b;
    background: #eaf8ee;
    color: #0d6e2d !important;
    outline: none;
}
