/* === Fallback font with Open Sans metrics to prevent CLS === */
@font-face {
    font-family: 'Open Sans Fallback';
    src: local('Arial');
    ascent-override: 101.2%;
    descent-override: 27.73%;
    line-gap-override: 0%;
    size-adjust: 105.3%;
}

/* === Self-hosted Open Sans (variable font, latin + latin-ext) === */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/opensans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/opensans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === Self-hosted Font Awesome 6 — brands subset (4 icons) === */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../fonts/fa-brands-400.woff2') format('woff2');
}
.fa-brands { font-family: 'Font Awesome 6 Brands'; font-weight: 400; }
.fa-brands, .fa-brands::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.fa-facebook-f::before { content: "\f39e"; }
.fa-youtube::before { content: "\f167"; }
.fa-instagram::before { content: "\f16d"; }
.fa-tiktok::before { content: "\e07b"; }

a:hover, a:focus {
    color: #b28ef1;
}

:root{
  --bs-font-sans-serif: "Open Sans", "Open Sans Fallback", Helvetica, Arial, sans-serif;
  --font-family-base: "Open Sans", "Open Sans Fallback", Helvetica, Arial, sans-serif;
}
html, body,
body *:not(.material-icons):not([class*="fa-"]):not([class*="fa "]) {
  font-family: "Open Sans", "Open Sans Fallback", Helvetica, Arial, sans-serif !important;
}

body {
  line-height: 1.4;
}
/* =========================================================
   CodeBreaker Forge – Global layout width
   ========================================================= */

@media (min-width: 1200px) {
    .container {
        width: 1270px;
        max-width: 100%;
    }
}

/* =========================================================
   Custom Header Styles - Based on Gonga.ro Design
   ========================================================= */

/* Header Top Section - Logo, Search, Icons */
.header-top-custom {
    background-color: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid #e8e8e8;
    min-height: 64px;
}
.top-campaign-bar{
  text-align:center;
  padding:2px;
  background:#f2f2f2;
  color:#666;
  border-bottom:1px solid rgba(0,0,0,.07);
  font-size:12px;
  letter-spacing:1px;
  line-height:normal;
  -webkit-font-smoothing:antialiased;
}

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

/* Logo Styling */
#_desktop_logo {
    display: flex;
    align-items: center;
}

#_desktop_logo h1 {
    margin: 0;
    line-height: 1;
}

#_desktop_logo a {
    display: block;
    max-width: 100%;
}

#_desktop_logo img {
    max-height: 60px;
    width: auto;
}

/* Search Bar Styling */
.search-widget-custom {
    width: 100%;
    max-width: 100%;
}

/* Style PrestaShop search module to match our design */
.search-widget-custom #search_widget {
    width: 100%;
}

.search-widget-custom .search-widget form {
    width: 100%;
    display: flex;
    margin: 0;
}

.search-widget-custom .search-widgets-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #8b2fe5;
    border-radius: 8px;
    overflow: visible;
    background-color: #ffffff;
    height: 50px;
    width: 100%;
    position: relative;
}

.search-widget-custom input[type="text"] {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    outline: none;
    background-color: transparent;
    color: #333;
    height: 100%;
}

.search-widget-custom input[type="text"]::placeholder {
    color: #999;
}

.search-widget-custom button[type="submit"] {
    background: linear-gradient(135deg, #8b2fe5 0%, #6b1fb5 100%);
    border: none;
    color: #ffffff;
    padding: 0 30px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0 6px 6px 0;
}

.search-widget-custom button[type="submit"]:hover {
    background: linear-gradient(135deg, #7526c9 0%, #5a1a9a 100%);
}

.search-widget-custom button[type="submit"] i,
.search-widget-custom button[type="submit"]::before {
    font-family: 'Material Icons';
    content: '\E8B6';
    font-size: 20px;
    display: inline-block;
}

/* Add "Cauta" text after icon */
.search-widget-custom button[type="submit"]::after {
    content: 'Cauta';
    font-family: inherit;
    font-weight: 500;
}

/* Autocomplete dropdown styling - Override ps_searchbar.css */
.search-widget-custom .ui-autocomplete.searchbar-autocomplete,
.search-widget-custom .ui-autocomplete {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    min-width: 100% !important;
    background: #ffffff !important;
    border: 2px solid #8b2fe5 !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 4px 12px rgba(139, 47, 229, 0.15) !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: 1000 !important;
    margin-top: -2px !important;
    margin: -2px 0 0 0 !important;
    list-style: none !important;
    padding: 15px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

/* Limit to 6 products */
.search-widget-custom .ui-autocomplete.searchbar-autocomplete .ui-menu-item:nth-child(n+7),
.search-widget-custom .ui-autocomplete .ui-menu-item:nth-child(n+7) {
    display: none !important;
}

.search-widget-custom .ui-autocomplete.searchbar-autocomplete .ui-menu-item,
.search-widget-custom .ui-autocomplete .ui-menu-item {
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
    background: #fff !important;
    width: auto !important;
    float: none !important;
}

.search-widget-custom .ui-autocomplete.searchbar-autocomplete .ui-menu-item:hover,
.search-widget-custom .ui-autocomplete .ui-menu-item:hover {
    border-color: #8b2fe5 !important;
    box-shadow: 0 2px 8px rgba(139, 47, 229, 0.1) !important;
}

.search-widget-custom .ui-autocomplete.searchbar-autocomplete li a,
.search-widget-custom .ui-autocomplete.searchbar-autocomplete li a.ui-state-focus,
.search-widget-custom .ui-autocomplete .ui-menu-item a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 12px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease !important;
    gap: 10px !important;
    height: 100% !important;
    overflow: visible !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

.search-widget-custom .ui-autocomplete.searchbar-autocomplete li a:hover,
.search-widget-custom .ui-autocomplete.searchbar-autocomplete li a.ui-state-focus,
.search-widget-custom .ui-autocomplete .ui-menu-item a:hover,
.search-widget-custom .ui-autocomplete .ui-menu-item.ui-state-focus a {
    background-color: #f8f8f8 !important;
    cursor: pointer !important;
}

/* Image styling - Override float:left from ps_searchbar */
.search-widget-custom .ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail,
.search-widget-custom .ui-autocomplete .autocomplete-thumbnail,
.search-widget-custom .ui-autocomplete img {
    width: 100% !important;
    height: 120px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
}

/* Product name */
.search-widget-custom .ui-autocomplete.searchbar-autocomplete .product,
.search-widget-custom .ui-autocomplete .product {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: #333 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    /* Limit to 2 lines */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* "Mai Multe Produse" button - using a wrapper div */
.search-widget-custom .ui-autocomplete-more-results {
    grid-column: 1 / -1 !important;
    background: linear-gradient(135deg, #8b2fe5 0%, #6b1fb5 100%) !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 5px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: block !important;
    border: none !important;
}

.search-widget-custom .ui-autocomplete-more-results:hover {
    background: linear-gradient(135deg, #7526c9 0%, #5a1a9a 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(139, 47, 229, 0.2) !important;
}

/* Hide default PrestaShop search icon, we're adding our own */
.search-widget-custom button[type="submit"] i.material-icons {
    display: none;
}

/* Header Icons - User & Cart */
.header-icons-custom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.user-icon-wrapper a,
.wishlist-icon-wrapper a,
.cart-icon-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6921e4;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.user-icon-wrapper a:hover,
.wishlist-icon-wrapper a:hover,
.cart-icon-wrapper a:hover {
    color: #8b2fe5;
}

.user-icon-wrapper .material-icons,
.wishlist-icon-wrapper .material-icons,
.cart-icon-wrapper .material-icons {
    font-size: 28px;
    color: #6921e4;
}

/* Cart Badge */
.cart-products-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff9000;
    color: #ffffff;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    padding: 2px;
}

/* Wishlist Badge */
.wishlist-icon-wrapper .wishlist-products-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff9000;
    color: #ffffff;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    line-height: normal;
    padding: 2px;
}

/* Navigation Menu - Second Row */
.header-nav-custom {
    background: linear-gradient(41deg, rgba(105, 33, 228, 1) 0%, rgba(254, 145, 0, 1) 60%);
    border-top: 1px solid rgba(0, 0, 0, .07);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    padding: 0;
    min-height: 41px;
}

.menu-wrapper-custom {
    display: flex;
    align-items: center;
}

/* Menu Styling */
.header-nav-custom #top-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.header-nav-custom #top-menu > li {
    margin: 0;
    padding-left: 5px;
}

.header-nav-custom #top-menu > li > a {
    display: block;
    padding: 0 20px;
    margin: 4px 2px;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 33px;
    text-shadow: rgba(255, 255, 255, 0.52) 0px 0px 0px;
    -webkit-font-smoothing: antialiased;
    border-radius: 9px;
}

.header-nav-custom #top-menu > li > a:hover,
.header-nav-custom #top-menu > li.current > a,
#header .top-menu a[data-depth="0"]:hover {
    background-color: #6921e4;
    color: #fff !important;
}

/* Dropdown Menus */
.header-nav-custom #top-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.header-nav-custom #top-menu li:hover > .sub-menu {
    display: block;
}

.header-nav-custom #top-menu .sub-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.header-nav-custom #top-menu .sub-menu li:last-child {
    border-bottom: none;
}

.header-nav-custom #top-menu .sub-menu a {
    color: #333;
    padding: 12px 20px;
    display: block;
}

.header-nav-custom #top-menu .sub-menu a:hover {
    background-color: #f8f8f8;
    color: #8b2fe5;
}


/* Mobile Styles */
@media (max-width: 991px) {
    .header-top-custom {
        padding: 0;
        overflow-x: hidden;
    }

    .header-top-custom .container {
        padding: 0;
        max-width: 100%;
    }

    .header-top-custom .row {
        margin: 0;
    }

    /* Hide desktop elements on mobile */
    .hidden-sm-down {
        display: none !important;
    }

    /* Mobile Header Top */
    .mobile-header-top {
        background-color: #ffffff;
        padding: 10px 10px;
        width: 100%;
        box-sizing: border-box;
        min-height: 63px;
    }

    .mobile-header-row {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        height: 43px;
    }

    /* Hamburger Menu Icon */
    .mobile-menu-icon {
        flex-shrink: 0;
        cursor: pointer;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-icon i {
        font-size: 26px;
        color: #333;
        width: 26px;
        height: 26px;
        line-height: 1;
    }

    /* Mobile Search Wrapper */
    .mobile-search-wrapper {
        flex: 1;
        min-width: 0;
        max-width: calc(100% - 130px);
    }

    .mobile-search-prestashop {
        width: 100%;
    }

    .mobile-search-prestashop #search_widget {
        width: 100%;
    }

    .mobile-search-prestashop .search-widget form {
        width: 100%;
        margin: 0;
    }

    .mobile-search-prestashop .search-widgets-wrapper {
        display: flex;
        align-items: center;
        border: 2px solid #8b2fe5;
        border-radius: 25px;
        overflow: visible;
        background-color: #ffffff;
        height: 38px;
        width: 100%;
        box-sizing: border-box;
        position: relative;
    }

    .mobile-search-prestashop input[type="text"] {
        flex: 1;
        border: none;
        padding: 6px 10px;
        font-size: 16px;
        outline: none;
        background-color: transparent;
        color: #333;
        min-width: 0;
        width: 100%;
        height: 100%;
    }

    .mobile-search-prestashop input[type="text"]::placeholder {
        color: #999;
        font-size: 16px;
    }

    .mobile-search-prestashop button[type="submit"] {
        background: linear-gradient(135deg, #8b2fe5 0%, #6b1fb5 100%);
        border: none;
        color: #ffffff;
        padding: 0 12px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
        border-radius: 0 23px 23px 0;
    }

    .mobile-search-prestashop button[type="submit"]:hover {
        background: linear-gradient(135deg, #7526c9 0%, #5a1a9a 100%);
    }

    .mobile-search-prestashop button[type="submit"]::before {
        font-family: inherit;
        content: '\E8B6';
        font-size: 18px;
    }

    .mobile-search-prestashop button[type="submit"]::after {
        content: none;
    }

    .mobile-search-prestashop button[type="submit"] i {
        display: none;
    }

    /* Mobile autocomplete - Override ps_searchbar */
    .mobile-search-prestashop .ui-autocomplete.searchbar-autocomplete,
    .mobile-search-prestashop .ui-autocomplete {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
        min-width: 100% !important;
        background: #ffffff !important;
        border: 2px solid #8b2fe5 !important;
        border-top: none !important;
        border-radius: 0 0 15px 15px !important;
        box-shadow: 0 4px 12px rgba(139, 47, 229, 0.15) !important;
        max-height: none !important;
        overflow: visible !important;
        z-index: 1000 !important;
        margin: -2px 0 0 0 !important;
        list-style: none !important;
        padding: 10px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    /* Limit to 6 products on mobile */
    .mobile-search-prestashop .ui-autocomplete.searchbar-autocomplete .ui-menu-item:nth-child(n+7),
    .mobile-search-prestashop .ui-autocomplete .ui-menu-item:nth-child(n+7) {
        display: none !important;
    }

    .mobile-search-prestashop .ui-autocomplete.searchbar-autocomplete .ui-menu-item,
    .mobile-search-prestashop .ui-autocomplete .ui-menu-item {
        padding: 0 !important;
        margin: 0 !important;
        border: 1px solid #f0f0f0 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        background: #fff !important;
        float: none !important;
        width: auto !important;
    }

    .mobile-search-prestashop .ui-autocomplete.searchbar-autocomplete .ui-menu-item:hover,
    .mobile-search-prestashop .ui-autocomplete .ui-menu-item:hover {
        border-color: #8b2fe5 !important;
    }

    .mobile-search-prestashop .ui-autocomplete.searchbar-autocomplete li a,
    .mobile-search-prestashop .ui-autocomplete.searchbar-autocomplete li a.ui-state-focus,
    .mobile-search-prestashop .ui-autocomplete .ui-menu-item a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 8px !important;
        color: #333 !important;
        text-decoration: none !important;
        gap: 6px !important;
        height: 100% !important;
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    .mobile-search-prestashop .ui-autocomplete.searchbar-autocomplete li a:hover,
    .mobile-search-prestashop .ui-autocomplete .ui-menu-item a:hover {
        background-color: #f8f8f8 !important;
        cursor: pointer !important;
    }

    .mobile-search-prestashop .ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail,
    .mobile-search-prestashop .ui-autocomplete .autocomplete-thumbnail,
    .mobile-search-prestashop .ui-autocomplete img {
        width: 100% !important;
        height: 80px !important;
        max-width: 100% !important;
        object-fit: cover !important;
        border-radius: 4px !important;
        margin: 0 !important;
        display: block !important;
        float: none !important;
    }

    .mobile-search-prestashop .ui-autocomplete.searchbar-autocomplete .product,
    .mobile-search-prestashop .ui-autocomplete .product {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        color: #333 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    /* "Mai Multe Produse" button for mobile */
    .mobile-search-prestashop .ui-autocomplete-more-results {
        grid-column: 1 / -1 !important;
        background: linear-gradient(135deg, #8b2fe5 0%, #6b1fb5 100%) !important;
        color: #ffffff !important;
        text-align: center !important;
        padding: 10px 15px !important;
        border-radius: 6px !important;
        font-weight: 600 !important;
        font-size: 13px !important;
        cursor: pointer !important;
        margin-top: 5px !important;
        text-decoration: none !important;
        display: block !important;
        border: none !important;
    }

    /* Mobile Logo */
    .mobile-logo-wrapper {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        width: auto;
        justify-content: flex-end;
    }

    .mobile-logo-wrapper img {
        max-width: 200px;
        min-width: 100px;
        max-height: 43px;
        width: auto;
        height: auto;
    }

    /* Mobile Cart */
    .mobile-cart-wrapper {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 5px;
    }

    .mobile-cart-wrapper a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        text-decoration: none;
        position: relative;
        padding: 5px;
    }

    .mobile-cart-wrapper a:hover {
        color: #8b2fe5;
    }

    .mobile-cart-wrapper .material-icons {
        font-size: 26px;
    }

    .mobile-cart-wrapper .cart-products-count {
        position: absolute;
        top: -2px;
        right: -2px;
        background: #8b2fe5;
        color: #ffffff;
        border-radius: 50%;
        min-width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 600;
        padding: 1px;
    }

    /* Custom Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .mobile-menu-overlay.active {
        transform: translateX(0);
    }

    .mobile-menu-content {
        display: flex;
        flex-direction: column;
        min-height: 100%;
        padding: 0;
    }

    /* Mobile Menu Header */
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 20px;
        border-bottom: 1px solid #f0f0f0;
        background-color: #ffffff;
        position: relative;
    }

    .mobile-menu-title,
    .mobile-menu-header h2 {
        font-size: 17px;
        font-weight: 500;
        color: #333;
        margin: 0;
        text-align: left;
    }

    .mobile-menu-close {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-close i {
        font-size: 24px;
        color: #333;
    }

    /* Mobile Menu Navigation */
    .mobile-menu-nav {
        flex: 1;
        padding: 10px 0;
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-list li {
        border-bottom: none;
    }

    .mobile-menu-list li a {
        display: block;
        padding: 16px 25px;
        color: #333;
        text-decoration: none;
        font-size: 15px;
        font-weight: 400;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: rgba(139, 47, 229, 0.15);
    }

    .mobile-menu-list li a:hover,
    .mobile-menu-list li a:active {
        background-color: #f8f5fc;
        color: #8b2fe5;
    }

    /* Mobile Menu Footer */
    .mobile-menu-nav .mobile-menu-contact {
        padding: 16px 25px;
        border-top: 1px solid #f0f0f0;
    }

    .mobile-menu-contact {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #333;
    }

    .mobile-menu-contact i {
        font-size: 20px;
        color: #666;
    }

    .mobile-menu-contact a {
        color: #333;
        text-decoration: none;
        font-size: 15px;
        font-weight: 400;
    }

    .mobile-menu-contact a:hover {
        color: #8b2fe5;
    }

    /* Prevent body scroll when menu is open */
    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Hide navigation gradient on mobile */
    .header-nav-custom {
        display: none;
    }

    /* Hide any old mobile menu systems */
    #mobile_top_menu_wrapper,
    .js-top-menu.mobile,
    #_mobile_top_menu,
    .mobile-header {
        display: none !important;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    .page-wrapper {
        overflow-x: hidden;
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .mobile-header-top {
        padding: 8px 8px;
    }

    .mobile-header-row {
        gap: 6px;
    }

    .mobile-menu-icon {
        width: 36px;
    }

    .mobile-menu-icon i {
        font-size: 24px;
    }

    .mobile-search-wrapper {
        max-width: calc(100% - 115px);
    }

    .mobile-search-input-wrapper {
        height: 36px;
    }

    .mobile-search-input {
        font-size: 16px;
        padding: 5px 8px;
    }

    .mobile-search-input::placeholder {
        font-size: 16px;
    }

    .mobile-search-button {
        padding: 0 10px;
    }

    .mobile-search-button i {
        font-size: 16px;
    }

    .mobile-logo-wrapper {
        width: auto;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .search-input-custom {
        font-size: 14px;
        padding: 10px 15px;
    }

    .search-button-custom {
        padding: 0 20px;
        font-size: 14px;
    }

    .search-input-wrapper {
        height: 45px;
    }
}

/* Hide default header elements */
.header #header .header-top {
    display: none;
}

.header #header .header-nav {
    display: none;
}

/* Ensure custom header is visible */
.header-top-custom {
    display: block !important;
}

@media (min-width: 992px) {
    .header-nav-custom {
        display: block !important;
    }
}

/* Hide search widget that appears in displayTop hook */
#desktop-menu-custom .search-widget,
#desktop-menu-custom #search_widget,
.menu-wrapper-custom .search-widget,
.menu-wrapper-custom #search_widget {
    display: none !important;
}

/* Hide any PrestaShop search bars in the navigation */
.header-nav-custom .search-widget,
.header-nav-custom #search_widget,
.header-nav-custom .blocksearch {
    display: none !important;
}

/* Mobile Menu Custom (for hardcoded version) */
.mobile-menu-custom {
    padding: 15px 0;
}

.mobile-menu-custom ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-custom ul li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-custom ul li:last-child {
    border-bottom: none;
}

.mobile-menu-custom ul li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.mobile-menu-custom ul li a:hover {
    background-color: #f8f8f8;
    color: #8b2fe5;
    padding-left: 25px;
}

/* =========================================================
   CodeBreaker Forge – Product Card Styles
   Design matching Image 6 - Centered layout
   ========================================================= */

/* -------------------------
   Product Card Container
   ------------------------- */
.cb-product-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid #f0f0f0;
}

.cb-product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* -------------------------
   Image Container
   ------------------------- */
.cb-product-card__image-container {
    position: relative;
    padding: 0;
    background: #ffffff;
}

.cb-product-card__image-link {
    display: block;
    text-decoration: none;
}

.cb-product-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* -------------------------
   Discount Badge - Top Right
   ------------------------- */
.cb-product-card__discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff9000;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
    line-height: 1;
}

/* -------------------------
   Product Info Container
   ------------------------- */
.cb-product-card__info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    gap: 10px;
}

/* -------------------------
   Star Rating (productcomments module)
   ------------------------- */
.cb-product-card__rating {
    display: flex;
    justify-content: center;
}

/* Module stars: hide empty hook output for unreviewed products */
.cb-product-card:not(.has-reviews) .product-list-reviews {
    display: none !important;
}

/* Module stars: show for reviewed products */
.cb-product-card.has-reviews .product-list-reviews {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cb-product-card__rating .grade-stars {
    position: relative;
    display: inline-flex;
    justify-content: center;
}

/* Base layer: gray empty stars */
.cb-product-card__rating .grade-stars .star-content.star-empty {
    display: flex;
    gap: 1px;
    margin: 0;
}

/* Overlay: filled yellow stars on top */
.cb-product-card__rating .grade-stars .star-content.star-full {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    gap: 1px;
    margin: 0;
    overflow: hidden;
}

.cb-product-card__rating .star-content div.star,
.cb-product-card__rating .star-content div.star-on,
.cb-product-card__rating .star-content div.star-hover {
    background: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 1px;
    font-size: 0;
}

.cb-product-card__rating .star-content div.star::before,
.cb-product-card__rating .star-content div.star-on::before,
.cb-product-card__rating .star-content div.star-hover::before {
    font-family: 'Material Icons';
    content: '\e838';
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: #ccc;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.cb-product-card__rating .star-content div.star-on::before,
.cb-product-card__rating .star-content div.star-hover::before {
    color: #ffc107;
}

.cb-product-card__rating .comments-nb {
    display: none;
}

/* Fallback gray stars: visible by default, hidden when module provides real stars */
.cb-product-card__stars-default {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 1px;
}

.cb-product-card__star {
    font-family: 'Material Icons';
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: #ccc;
    -webkit-font-smoothing: antialiased;
    margin: 0 1px;
}

.has-reviews .cb-product-card__stars-default {
    display: none;
}

/* -------------------------
   Product Title
   ------------------------- */
.cb-product-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-product-card__title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cb-product-card__title a:hover {
    color: #8b2fe5;
}

/* -------------------------
   Prices
   ------------------------- */
.cb-product-card__prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cb-product-card__price-current {
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    color: #6921e4;
}

.cb-product-card__price-old {
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: rgb(102, 102, 102);
    text-decoration: line-through;
}

/* -------------------------
   Add to Cart Button
   ------------------------- */
.cb-product-card__actions {
    width: 100%;
    margin-top: auto;
    padding-top: 10px;
}

.cb-product-card__add-to-cart-form {
    width: 100%;
}

.cb-product-card .cb-product-card__add-to-cart-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    margin-bottom: 0;
    background: linear-gradient(to right, #4a60c1 10%, #6921E4);
    background-image: linear-gradient(to right, #4a60c1 10%, #6921E4);
    background-color: transparent;
    color: #fefefe;
    border: none;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 400;
    line-height: 30px;
    box-shadow: none;
    user-select: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.cb-product-card .cb-product-card__add-to-cart-btn:hover {
    background: linear-gradient(to right, #5a70d1 10%, #7931F4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(105, 33, 228, 0.3);
}

.cb-product-card .cb-product-card__add-to-cart-btn i.material-icons {
    flex-shrink: 0;
    height: 30px;
    width: 35px;
    line-height: 30px;
    font-size: 20px;
    padding: 0;
    color: #fff;
    background: #FE9100;
    clip-path: polygon(0 0%, 80% 0, 100% 100%, 0 100%);
    text-align: center;
}

.cb-product-card .cb-product-card__add-to-cart-btn span {
    flex: 1;
    text-align: center;
    padding-right: 10px;
}

.cb-product-card .cb-product-card__add-to-cart-btn--out-of-stock {
    background: #999;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}

.cb-product-card .cb-product-card__add-to-cart-btn--out-of-stock i.material-icons {
    background: #777;
}

.cb-product-card .cb-product-card__add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* -------------------------
   Product Grid Layout
   ------------------------- */
/* Override PrestaShop default product grid */
#products .products,
.featured-products .products,
.product-accessories .products,
.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#products .products > .product,
.featured-products .products > .product,
.product-accessories .products > .product,
.products > .product,
.products > article {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide default PrestaShop product miniature styles */
.product-miniature {
    width: 100% !important;
    max-width: 100% !important;
}

/* -------------------------
   Responsive Adjustments
   ------------------------- */
@media (min-width: 1200px) {
    #products .products,
    .featured-products .products,
    .products {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #products .products,
    .featured-products .products,
    .products {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #products .products,
    .featured-products .products,
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cb-product-card__title {
        font-size: 13px;
    }
    
    .cb-product-card__price-current {
        font-size: 16px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    #products .products,
    .featured-products .products,
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cb-product-card__info {
        padding: 12px;
    }
    
    .cb-product-card .cb-product-card__add-to-cart-btn {
        font-size: 11px;
    }
}

@media (max-width: 575px) {
    #products .products,
    .featured-products .products,
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .cb-product-card__image-container {
        padding: 0;
    }
    
    .cb-product-card__info {
        padding: 10px;
        gap: 8px;
    }
    
    .cb-product-card__title {
        font-size: 12px;
        min-height: 34px;
    }
    
    .cb-product-card__price-current {
        font-size: 15px;
    }
    
    .cb-product-card__price-old {
        font-size: 11px;
    }
    
    .cb-product-card .cb-product-card__add-to-cart-btn {
        font-size: 10px;
    }

    .cb-product-card .cb-product-card__add-to-cart-btn i.material-icons {
        font-size: 16px;
        width: 28px;
    }
    
    .cb-product-card__discount-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
}

/* -------------------------
   Animation for Add to Cart
   ------------------------- */
@keyframes addToCartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.cb-product-card .cb-product-card__add-to-cart-btn:active {
    animation: addToCartPulse 0.2s ease;
}

/* -------------------------
   Quick View Compatibility
   ------------------------- */
.cb-product-card__quick-view {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #ddd;
}

.cb-product-card__image-container:hover .cb-product-card__quick-view {
    opacity: 1;
    bottom: 20px;
}

/* -------------------------
   Out of Stock State
   ------------------------- */
.cb-product-card--out-of-stock .cb-product-card__image {
    opacity: 0.6;
}

.cb-product-card__out-of-stock-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* =========================================================
   CB Custom Search Widget
   ========================================================= */

/* Hide default PrestaShop search widget */
#search_widget,
.search-widget {
    display: none !important;
}

/* Search Widget Container */
.cb-search-widget {
    width: 100%;
    position: relative;
}

.cb-search-widget form {
    margin: 0;
}

/* Search Wrapper - Input + Button */
.cb-search-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 9px;
    background-color: #ffffff;
    height: 45px;
    width: 100%;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cb-search-wrapper:focus-within {
    border-color: #6b1fb5;
    box-shadow: 0 0 0 3px rgba(139, 47, 229, 0.1);
}

/* Search Input */
.cb-search-input {
    flex: 1;
    border: none;
    padding: 0 0 0 16px;
    font-size: 15px;
    outline: none;
    background-color: transparent;
    color: #222;
    height: 52px;
    min-width: 0;
}

.cb-search-input::placeholder {
    color: #999;
}

/* Search Button */
.cb-search-btn {
    background: #6921e4;
    border: none;
    color: #ffffff;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    flex-shrink: 0;
    border-radius: 9px;
}

.cb-search-btn:hover {
    background: #5a1bc4;
}

.cb-search-btn i {
    font-size: 20px;
}

.cb-search-btn span {
    font-weight: 500;
}

/* =========================================================
   Search Dropdown Results
   ========================================================= */
.cb-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #8b2fe5;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(139, 47, 229, 0.15);
    z-index: 1000;
    margin-top: -2px;
    max-height: 500px;
    overflow: hidden;
}

/* Dropdown Header */
.cb-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.cb-search-header-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.cb-search-header-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.2s ease;
}

.cb-search-header-close:hover {
    color: #333;
}

.cb-search-header-close i {
    font-size: 20px;
}

/* Products Grid */
.cb-search-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
    max-height: 350px;
    overflow-y: auto;
}

/* Product Item */
.cb-search-product {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    gap: 12px;
}

.cb-search-product:hover {
    border-color: #8b2fe5;
    box-shadow: 0 2px 8px rgba(139, 47, 229, 0.1);
    text-decoration: none;
    color: #333;
}

/* Product Image */
.cb-search-product-img {
    width: 70px;
    min-width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

/* Product Info */
.cb-search-product-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

/* Product Name */
.cb-search-product-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price Container */
.cb-search-product-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Current Price */
.cb-search-product-price {
    font-size: 15px;
    font-weight: 700;
    color: #ff5722;
}

/* Old Price */
.cb-search-product-price-old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

/* More Results Button */
.cb-search-more {
    display: block;
    background: linear-gradient(135deg, #8b2fe5 0%, #6b1fb5 100%);
    color: #ffffff;
    text-align: center;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    border: none;
    width: 100%;
}

.cb-search-more:hover {
    background: linear-gradient(135deg, #7526c9 0%, #5a1a9a 100%);
    color: #ffffff;
    text-decoration: none;
}

/* Loading State */
.cb-search-loading {
    padding: 30px;
    text-align: center;
    color: #666;
}

/* No Results */
.cb-search-no-results {
    padding: 30px;
    text-align: center;
    color: #666;
}

/* =========================================================
   Mobile Search Styles
   ========================================================= */
@media (max-width: 991px) {
    .cb-search-mobile .cb-search-wrapper {
        height: 40px;
    }

    .cb-search-mobile .cb-search-input {
        padding: 8px 15px;
        font-size: 16px;
    }

    .cb-search-mobile .cb-search-btn {
        padding: 0 12px;
        border-radius: 9px;
    }

    .cb-search-mobile .cb-search-btn span {
        display: none;
    }

    .cb-search-mobile .cb-search-btn i {
        font-size: 18px;
    }

    .cb-search-dropdown {
        border-radius: 0 0 15px 15px;
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        max-height: 70vh;
    }

    .cb-search-products {
        padding: 10px;
        gap: 8px;
        grid-template-columns: 1fr;
    }

    .cb-search-product {
        padding: 10px;
        gap: 12px;
    }

    .cb-search-product-img {
        width: 70px;
        min-width: 70px;
        height: 70px;
    }

    .cb-search-product-name {
        font-size: 13px;
    }

    .cb-search-product-price {
        font-size: 15px;
    }

    .cb-search-product-price-old {
        font-size: 12px;
    }

    .cb-search-more {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* =========================================================
   Add to Cart Modal
   ========================================================= */

/* Modal Overlay */
.cb-cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.cb-cart-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.cb-cart-modal {
    background: #ffffff;
    border-radius: 12px;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.cb-cart-modal-overlay.active .cb-cart-modal {
    transform: translateY(0);
}

/* Modal Header */
.cb-cart-modal-header {
    background: linear-gradient(135deg, #4CAF50 0%, #43A047 100%);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cb-cart-modal-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.cb-cart-modal-header-title i {
    font-size: 22px;
}

.cb-cart-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.cb-cart-modal-close:hover {
    opacity: 1;
}

.cb-cart-modal-close i {
    font-size: 24px;
}

/* Modal Body */
.cb-cart-modal-body {
    padding: 20px;
    display: flex;
    gap: 20px;
}

/* Product Image */
.cb-cart-modal-image {
    width: 120px;
    min-width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

/* Product Info */
.cb-cart-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cb-cart-modal-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cb-cart-modal-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff5722;
}

.cb-cart-modal-details {
    font-size: 13px;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cb-cart-modal-details span {
    display: block;
}

.cb-cart-modal-details strong {
    color: #333;
}

/* Cart Total */
.cb-cart-modal-total {
    background: #f8f8f8;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cb-cart-modal-total-label {
    font-size: 14px;
    color: #666;
}

.cb-cart-modal-total-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* Modal Footer - Buttons */
.cb-cart-modal-footer {
    padding: 20px;
    display: flex;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
}

.cb-cart-modal-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cb-cart-modal-btn-continue {
    background: #ffffff;
    color: #8b2fe5;
    border: 2px solid #8b2fe5;
}

.cb-cart-modal-btn-continue:hover {
    background: #f5f0fa;
    color: #8b2fe5;
    text-decoration: none;
}

.cb-cart-modal-btn-checkout {
    background: linear-gradient(135deg, #8b2fe5 0%, #6b1fb5 100%);
    color: #ffffff;
}

.cb-cart-modal-btn-checkout:hover {
    background: linear-gradient(135deg, #7526c9 0%, #5a1a9a 100%);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 47, 229, 0.3);
}

/* Mobile Styles */
@media (max-width: 576px) {
    .cb-cart-modal-overlay {
        padding: 15px;
        align-items: center;
    }

    .cb-cart-modal {
        max-width: 100%;
        border-radius: 12px;
    }

    .cb-cart-modal-body {
        padding: 15px;
        gap: 15px;
    }

    .cb-cart-modal-image {
        width: 90px;
        min-width: 90px;
        height: 90px;
    }

    .cb-cart-modal-name {
        font-size: 14px;
    }

    .cb-cart-modal-price {
        font-size: 18px;
    }

    .cb-cart-modal-footer {
        flex-direction: column;
        padding: 15px;
    }

    .cb-cart-modal-btn {
        padding: 12px 15px;
    }
}

/* =========================================================
   Mobile Bottom Navigation
   ========================================================= */
.cb-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid #eee;
}

.cb-mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    font-size: 11px;
    padding: 4px 12px;
    transition: color 0.2s ease;
    position: relative;
}

.cb-mobile-nav__item i {
    font-size: 24px;
    margin-bottom: 2px;
    color: rgb(105, 33, 228);
}

.cb-mobile-nav__item span {
    line-height: 1.2;
}

.cb-mobile-nav__item:hover,
.cb-mobile-nav__item.active {
    color: #8b2fe5;
    text-decoration: none;
}

.cb-mobile-nav__item--cart {
    position: relative;
}

.cb-mobile-nav__badge {
    position: absolute;
    top: 0;
    right: 5px;
    background: #fe9100;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Add padding to prevent content being hidden behind mobile nav */
@media (max-width: 991px) {
    /* Footer padding to account for mobile nav */
    #footer,
    footer,
    .footer-container {
        padding-bottom: 30px !important;
    }
    
    /* Responsive iframes (YouTube videos in product descriptions) */
    .product-information iframe,
    .product-description iframe,
    #product iframe {
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
}

/* Responsive images in product descriptions */
.product-description img,
.product-information img,
#product .product-description img {
    max-width: 100% !important;
    height: auto !important;
}

/* =========================================================
   Wrapper - remove top padding to stick to header
   ========================================================= */
#wrapper {
    padding-top: 0;
}

/* Hide breadcrumb on homepage */
#index .cb-breadcrumb-wrapper {
    display: none;
}

/* =========================================================
   Breadcrumb - Centered style matching gonga.ro
   ========================================================= */
.cb-breadcrumb-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px 10px;
    margin-bottom: 0;
    padding: 10px 0;
}

@media (max-width: 991px) {
    .cb-breadcrumb-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    #wrapper .cb-breadcrumb-wrapper .breadcrumb {
        display: block !important;
        width: 100%;
        max-width: 100%;
    }

    #wrapper .cb-breadcrumb-wrapper .breadcrumb ol {
        width: auto;
        margin: 0;
        text-align: center;
        white-space: normal;
    }

    .cb-breadcrumb-back {
        align-self: flex-start;
    }
}

.cb-breadcrumb-back {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8b2fe5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.cb-breadcrumb-back i {
    font-size: 20px;
}

.cb-breadcrumb-back:hover {
    color: #6b1fb5;
    text-decoration: none;
}

#wrapper .cb-breadcrumb-wrapper .breadcrumb {
    overflow-x: auto;
    padding: 0;
    margin: 0;
    background: none;
    border-radius: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

#wrapper .cb-breadcrumb-wrapper .breadcrumb::-webkit-scrollbar {
    display: none;
}

#wrapper .cb-breadcrumb-wrapper .breadcrumb ol {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    font-size: 11px;
}

#wrapper .cb-breadcrumb-wrapper .breadcrumb[data-depth="1"] {
    display: block;
}

#category .cb-breadcrumb-wrapper {
    margin-bottom: 0;
}

#wrapper .cb-breadcrumb-wrapper .breadcrumb li {
    display: flex !important;
    align-items: center;
    white-space: nowrap;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: #333;
    float: none !important;
}

#wrapper .cb-breadcrumb-wrapper .breadcrumb li::after {
    content: '>' !important;
    margin: 0 8px !important;
    color: #999 !important;
}

#wrapper .cb-breadcrumb-wrapper .breadcrumb li:last-child::after {
    content: '' !important;
}

#wrapper .cb-breadcrumb-wrapper .breadcrumb li a {
    color: #333 !important;
    text-decoration: none;
}

#wrapper .cb-breadcrumb-wrapper .breadcrumb li a:hover {
    color: #8b2fe5 !important;
}

#wrapper .cb-breadcrumb-wrapper .breadcrumb li:last-child,
#wrapper .cb-breadcrumb-wrapper .breadcrumb li:last-child span,
#wrapper .cb-breadcrumb-wrapper .breadcrumb li:last-child a {
    color: #b28ef1 !important;
    font-weight: 600;
}

/* =========================================================
   Sticky Add to Cart Bar - Mobile Product Page
   ========================================================= */
.cb-sticky-cart {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 990;
    border-top: 1px solid #eee;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Hide sticky cart when modals are open */
body.modal-open .cb-sticky-cart,
.cb-categories-modal.active ~ .cb-sticky-cart,
.mobile-menu-overlay.active ~ .cb-sticky-cart {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Out of Stock Button Style */
.cb-sticky-cart__btn--disabled,
.cb-sticky-cart__btn:disabled {
    background: #cccccc !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.cb-sticky-cart__btn--out-of-stock {
    background: #999999 !important;
    cursor: not-allowed !important;
}

.cb-sticky-cart__btn--notify {
    background: #6921e4 !important;
    cursor: pointer !important;
}

/* Notify Me When In Stock */
.cb-notify-stock {
    margin-top: 12px;
}
.cb-notify-stock__email {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 8px;
    outline: none;
}
.cb-notify-stock__email:focus {
    border-color: #6921e4;
}
.cb-notify-stock__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #6921e4;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.cb-notify-stock__btn:hover {
    background: #5a1bc7;
}
.cb-notify-stock__btn:disabled {
    opacity: 0.7;
    cursor: default;
}
.cb-notify-stock__btn .material-icons {
    font-size: 18px;
}
.cb-notify-stock__msg {
    margin-top: 8px;
    font-size: 13px;
}
.cb-notify-stock__success {
    color: #27ae60;
}
.cb-notify-stock__error {
    color: #e74c3c;
}

/* Quantity Controls */
.cb-sticky-cart__qty {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cb-sticky-cart__qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cb-sticky-cart__qty-btn:hover {
    background: #e0e0e0;
}

.cb-sticky-cart__qty-btn:active {
    background: #d0d0d0;
}

.cb-sticky-cart__qty-btn i {
    font-size: 20px;
    color: #333;
}

.cb-sticky-cart__qty-input {
    width: 45px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}

.cb-sticky-cart__qty-input::-webkit-outer-spin-button,
.cb-sticky-cart__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button */
.cb-sticky-cart__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #8b2fe5 0%, #6b1fb5 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cb-sticky-cart__btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #7526c9 0%, #5a1a9a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 47, 229, 0.3);
}

.cb-sticky-cart__btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.cb-sticky-cart__btn i {
    font-size: 20px;
}

/* Hide mobile-only elements on desktop (992px+) */
@media (min-width: 992px) {
    .cb-mobile-nav,
    .cb-sticky-cart,
    .mobile-header-top,
    .cb-categories-modal,
    .cb-breadcrumb-back,
    .cb-mobile-wishlist-btn {
        display: none !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
}

/* Adjustments for very small screens */
@media (max-width: 360px) {
    .cb-sticky-cart {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .cb-sticky-cart__qty-btn {
        width: 36px;
        height: 36px;
    }
    
    .cb-sticky-cart__qty-input {
        width: 40px;
        height: 36px;
        font-size: 14px;
    }
    
    .cb-sticky-cart__btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .cb-sticky-cart__btn span {
        display: none;
    }
}

/* =========================================================
   Categories Modal
   ========================================================= */
.cb-categories-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 60px;
    z-index: 10000;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.cb-categories-modal.active {
    transform: translateX(0);
}

.cb-categories-modal__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.cb-categories-modal__header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.cb-categories-modal__back {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.cb-categories-modal__back i {
    font-size: 28px;
    color: #333;
}

.cb-categories-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    -webkit-overflow-scrolling: touch;
}

/* Categories Grid */
.cb-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cb-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 12px 8px;
    border-radius: 12px;
    background: #f8f8f8;
    transition: all 0.2s ease;
}

.cb-category-item:hover {
    background: #f0e6fa;
    text-decoration: none;
}

.cb-category-item__img {
    width: 93px;
    height: 93px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 8px;
    border: none;
}

.cb-category-item__placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    border-radius: 50%;
    margin-bottom: 8px;
}

.cb-category-item__placeholder i {
    font-size: 32px;
    color: #999;
}

.cb-category-item__name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile nav button style fix */
.cb-mobile-nav__item--categories {
    background: none;
    border: none;
    cursor: pointer;
}

/* Hide original add to cart on mobile when sticky exists (sr-only pattern keeps form functional) */
@media (max-width: 991px) {
    body.product-page-with-sticky .product-add-to-cart {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        border: 0 !important;
    }
}

/* =========================================================
   Custom Footer - Gonga.ro Design
   ========================================================= */
.cb-footer {
    background-color: #ffffff;
    border-top: 1px solid #e8e8e8;
}

#footer {
    padding-top: 0;
}

.cb-footer__columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 40px 0 30px;
}

.cb-footer__col {
    min-width: 0;
}

.cb-footer__title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px;
    text-transform: none;
}

/* Store info text */
.cb-footer__store-info p {
    margin: 0 0 5px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.cb-footer__store-info a {
    color: #555;
    text-decoration: none;
}

.cb-footer__store-info a:hover {
    color: #8b2fe5;
}

/* Link lists */
.cb-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cb-footer__links li {
    margin-bottom: 8px;
}

.cb-footer__links a {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.cb-footer__links a:hover {
    color: #8b2fe5;
}

/* Social icons */
.cb-footer__social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.cb-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.cb-footer__social a:hover {
    background: #8b2fe5;
    color: #fff;
}

/* Payment logos */
.cb-footer__payments {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.cb-footer__payments img {
    max-width: 160px;
    height: auto;
    object-fit: contain;
}

/* ANPC badges */
.cb-footer__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cb-footer__badges img {
    height: 40px;
    width: auto;
}

/* Copyright bar */
.cb-footer__copyright {
    background: #f2f2f2;
    padding: 15px 0;
    text-align: center;
}

.cb-footer__copyright p {
    margin: 0;
    font-size: 10px;
    line-height: 27px;
    font-weight: 400;
    color: #888;
}

/* Tablet: 2 columns */
@media (max-width: 991px) {
    .cb-footer__columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 30px 0 20px;
    }
}

/* Mobile footer: accordion + centered social/payments */
@media (max-width: 767px) {
    .cb-footer__columns {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .cb-footer {
        margin-top: 0;
        padding-bottom: 30px;
    }

    /* Accordion items */
    .cb-footer__accordion {
        border-bottom: 1px solid #e0e0e0;
    }

    .cb-footer__accordion .cb-footer__title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        padding: 16px 15px;
        cursor: pointer;
        font-size: 15px;
        font-weight: 600;
        color: #333;
    }

    .cb-footer__accordion .cb-footer__title::after {
        content: '\e5cf';
        font-family: 'Material Icons';
        font-size: 24px;
        color: #999;
        transition: transform 0.2s ease;
    }

    .cb-footer__accordion.is-open .cb-footer__title::after {
        transform: rotate(180deg);
    }

    .cb-footer__accordion .cb-footer__body {
        display: none;
        padding: 0 15px 16px;
    }

    .cb-footer__accordion.is-open .cb-footer__body {
        display: block;
    }

    /* Social column on mobile */
    .cb-footer__col--social {
        padding: 20px 15px;
        text-align: center;
    }

    .cb-footer__col--social .cb-footer__title--center {
        text-align: center;
        margin: 0 0 15px;
        padding: 0;
        border: none;
    }

    .cb-footer__social {
        justify-content: center;
        margin-bottom: 20px;
    }

    .cb-footer__social a {
        width: auto;
        height: auto;
        border-radius: 0;
        background: transparent;
        color: #333;
        font-size: 22px;
    }

    .cb-footer__social a:hover {
        background: transparent;
        color: #8b2fe5;
    }

    .cb-footer__payments {
        justify-content: center;
        margin-bottom: 15px;
    }

    .cb-footer__payments img {
        height: 40px;
    }

    .cb-footer__badges {
        justify-content: center;
    }

    .cb-footer__badges img {
        height: 45px;
    }

    .cb-footer__copyright {
        padding-bottom: 15px;
    }
}

/* =========================================================
   Left Column / Sidebar – Match gonga.ro
   ========================================================= */
#left-column {
    padding-right: 20px;
}

/* Category tree */
.cb-sidebar-categories {
    margin-bottom: 20px;
    background: #F6E4D0;
    padding: 15px;
}

.cb-sidebar-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #000;
    text-transform: uppercase;
    margin: 0;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.cb-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cb-cat-list a {
    display: block;
    padding: 8px 0;
    color: #333;
    font-size: 14px;
    line-height: normal;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cb-cat-list a:hover {
    color: #8b2fe5;
}

.cb-cat-count {
    color: #999;
    font-weight: 400;
}

/* Faceted search / Filters */
#left-column #search_filters_wrapper {
    margin-top: 0;
}

#left-column .facet-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 12px;
}

#left-column .facet {
    margin-bottom: 20px;
}

#left-column .facet-label {
    font-size: 13px;
    color: #333;
}

#left-column .facet-label a {
    color: #333;
    text-decoration: none;
}

#left-column .facet-label a:hover {
    color: #8b2fe5;
}

/* Hide sidebar on mobile/tablet, expand content to full width */
@media (max-width: 991px) {
    #left-column {
        display: none;
    }

    #content-wrapper.left-column {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}

/* =========================================================
   Subcategories – Horizontal Slider (single row)
   ========================================================= */
.cb-subcategories-wrap {
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
}

.cb-subcategories-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 15px 20px;
}

.cb-subcategories-slider::-webkit-scrollbar {
    display: none;
}

.cb-subcategories-slider.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.cb-subcategories-slider:not(.is-dragging) {
    cursor: grab;
}

/* Arrow buttons */
.cb-subcat-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.cb-subcat-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}

.cb-subcat-arrow:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.cb-subcat-arrow i {
    font-size: 24px;
    color: #333;
}

.cb-subcat-arrow--left {
    left: -10px;
}

.cb-subcat-arrow--right {
    right: -10px;
}

@media (min-width: 992px) {
    .cb-subcat-arrow {
        display: flex;
    }
}

.cb-subcat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    width: 90px;
}

.cb-subcat-item:hover {
    text-decoration: none;
}

.cb-subcat-img {
    width: 93px;
    height: 93px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    margin-bottom: 8px;
}

.cb-subcat-item:hover .cb-subcat-img {
    opacity: 0.85;
}

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

.cb-subcat-name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.cb-subcat-item:hover .cb-subcat-name {
    color: #8b2fe5;
}

/* "Vezi toate categoriile" icon item */
.cb-subcat-img--all {
    background: none;
    border: none;
}

.cb-subcat-item--all .cb-subcat-name {
    color: inherit;
    font-weight: inherit;
}

@media (max-width: 575px) {
    .cb-subcategories-slider {
        gap: 10px;
        padding: 10px 4px;
    }

    .cb-subcat-item {
        width: 75px;
    }

    .cb-subcat-img {
        width: 75px;
        height: 75px;
    }

    .cb-subcat-name {
        font-size: 11px;
    }

    .cb-subcat-img--all i {
        font-size: 26px;
    }
}

/* Homepage categories slider */
.cb-subcategories-wrap--home {
    margin-bottom: 20px;
}

/* =========================================================
   Category Page – Load More (hide classic pagination)
   ========================================================= */
#products .pagination,
#products .hidden-md-up { display: none; }

.cb-products-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 0 15px;
    height: 50px;
    margin-bottom: 30px;
}

.cb-products-top__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cb-products-top__count {
    font-size: 14px;
    font-weight: 400;
    color: rgb(0, 0, 0);
}

.cb-products-top__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cb-products-top__sort-label {
    font-size: 14px;
    font-weight: 400;
    color: rgb(0, 0, 0);
}

.cb-products-top__sort-dropdown {
    position: relative;
}

.cb-products-top__sort-dropdown .dropdown-menu {
    right: 0;
    left: auto;
}

.cb-products-top__sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: rgb(0, 0, 0);
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.cb-products-top__sort-btn i.material-icons {
    font-size: 18px;
    line-height: 1;
}

/* Filter button — mobile only */
.cb-products-top__filter-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    color: rgb(0, 0, 0);
    cursor: pointer;
}

.cb-products-top__filter-btn i.material-icons {
    font-size: 18px;
    color: rgb(0, 0, 0);
}

@media (max-width: 991px) {
    .cb-products-top__filter-btn {
        display: inline-flex;
    }

    .cb-products-top__sort-label,
    .cb-products-top__sort-text {
        display: none;
    }

    .cb-products-top__sort-btn {
        padding: 6px 8px;
        gap: 0;
    }
}

/* Filter modal */
.cb-filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.cb-filter-modal.is-open {
    display: block;
}

.cb-filter-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.cb-filter-modal__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
}

.cb-filter-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.cb-filter-modal__title {
    font-size: 18px;
    font-weight: 600;
    color: rgb(0, 0, 0);
}

.cb-filter-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.cb-filter-modal__close i.material-icons {
    font-size: 24px;
    color: #333;
}

.cb-filter-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    -webkit-overflow-scrolling: touch;
}

.cb-filter-modal__body .facet {
    margin-bottom: 15px;
}

.cb-filter-modal__body .facet-title {
    display: block !important;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cb-filter-modal__body .facet ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cb-filter-modal__body .facet li {
    padding: 4px 0;
}

.cb-filter-modal__body .facet-label {
    font-size: 13px;
    cursor: pointer;
}

.cb-filter-modal__body #left-column {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    position: static !important;
}

.cb-filter-modal__body .cb-sidebar-categories {
    display: none;
}

.cb-filter-modal__body .hidden-sm-down {
    display: block !important;
}

.cb-filter-modal__body .collapse {
    display: block !important;
    height: auto !important;
}

.cb-filter-modal__body .facet-label a {
    color: #333;
    text-decoration: none;
}

#category .cb-product-card .cb-product-card__add-to-cart-btn {
    font-size: 11px;
}

.cb-loadmore {
    margin-top: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.cb-loadmore__btn {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(to right, #4a60c1 10%, #6921E4);
    color: #fefefe;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cb-loadmore__btn:hover {
    background: linear-gradient(to right, #5a70d1 10%, #7931F4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(105, 33, 228, 0.3);
}

.cb-loadmore__btn.is-loading {
    opacity: 0.7;
    cursor: wait;
}

.cb-loadmore__loading {
    font-size: 14px;
    color: #666;
    padding: 12px 0;
}

.cb-loadmore__sentinel {
    width: 100%;
    height: 1px;
}

/* =========================================================
   Product Page — gonga.ro layout
   ========================================================= */

/* Product page content — override #product #content { max-width: 452px } from theme.css */
#product #content {
    max-width: none;
}

/* Image gallery: main image left, vertical thumbs right */
.cb-images-container {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cb-product-cover {
    flex: 1;
    min-width: 0;
    order: 0;
    position: relative;
    aspect-ratio: 1 / 1;
}

.cb-thumbs-column {
    order: 1;
}

.cb-product-cover img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.cb-thumbs-column {
    width: 75px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cb-thumbs-viewport {
    overflow: hidden;
    max-height: 457px;
    width: 100%;
}

.cb-thumbs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
}

.cb-thumbs-arrow {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 2px 0;
    visibility: hidden;
    transition: color 0.15s;
    line-height: 1;
}
.cb-thumbs-arrow .material-icons { font-size: 22px; width: 22px; height: 22px; }
.cb-thumbs-arrow:hover { color: #8b2fe5; }
.cb-thumbs-arrow.is-visible { visibility: visible; }
.cb-thumbs-arrow.is-disabled { opacity: 0.25; pointer-events: none; }

.cb-thumb-item {
    cursor: pointer;
    border: none;
    border-radius: 4px;
    overflow: hidden;
}

/* Override theme.css blue border on selected/hovered thumbnail img */
.cb-thumb-item .thumb.selected,
.cb-thumb-item .js-thumb-selected,
.product-images > li.thumb-container .thumb.selected,
.product-images > li.thumb-container .thumb:hover {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.cb-thumb-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hide default scroll arrows */
.scroll-box-arrows { display: none; }

/* Hide default mask wrapper */
.js-qv-mask.mask {
    overflow: visible;
    max-height: none;
}

/* Product title */
.cb-product-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-transform: none;
    margin: 0 0 6px;
    line-height: 1.3;
}

/* Product reference */
.cb-product-reference {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

/* Product rating */
.cb-product-rating {
    margin-bottom: 10px;
}

.cb-product-rating .grade-stars,
.cb-product-rating .product-list-reviews {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cb-product-rating .star-content {
    display: inline-flex;
    gap: 1px;
}

.cb-product-rating .star-content div {
    width: 16px;
    height: 16px;
}

.cb-product-rating .comments-nb {
    font-size: 13px;
    color: #999;
    margin-left: 4px;
}

/* Dotted separator */
.cb-dotted-separator {
    border-top: 2px dotted #ddd;
    margin: 15px 0;
}

/* ---- Prices ---- */
.cb-product-prices {
    margin-bottom: 5px;
}

.cb-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.cb-price-current {
    font-size: 28px;
    font-weight: 700;
    color: #8b2fe5;
}

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

.cb-discount-badge {
    display: inline-block;
    background: #ff9000;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
}

.cb-product-card__new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #872ddf;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    line-height: 1;
}

#product .product-flags {
    display: none;
}

.cb-product-flag {
    position: absolute;
    z-index: 2;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    line-height: 1;
}

.cb-product-flag--new {
    top: 10px;
    left: 10px;
    background: #872ddf;
}

.cb-product-flag--discount {
    top: 10px;
    right: 10px;
    background: #ff9000;
}

/* Hide tax label and delivery info in prices */
.cb-product-prices .tax-shipping-delivery-label,
.cb-product-prices .delivery-information,
.product-prices .tax-shipping-delivery-label {
    display: none;
}

/* Hide old product-discount block (we handle it inline now) */
.cb-product-prices .product-discount {
    display: none;
}

/* ---- Variants ---- */
.cb-product-variants {
    margin-bottom: 10px;
}

.cb-variant-item {
    margin-bottom: 10px;
}

.cb-variant-item .control-label {
    display: none;
}

.cb-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cb-color-swatch {
    display: inline-block;
}

.cb-color-swatch input {
    display: none;
}

.cb-swatch-circle {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: border-color 0.2s;
    background-size: cover;
    background-position: center;
}

.cb-color-swatch input:checked + .cb-swatch-circle {
    border-color: #8b2fe5;
    box-shadow: 0 0 0 1px #8b2fe5;
}

.cb-swatch-circle:hover {
    border-color: #8b2fe5;
}

.cb-swatch-has-image {
    background-size: cover !important;
    background-position: center !important;
    background-color: transparent !important;
}

/* Fallback: classic template color swatches */
.product-variants .color.cb-swatch-has-image {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    border: 2px solid #ddd;
    cursor: pointer;
}

.product-variants .input-color:checked + .cb-swatch-has-image {
    border-color: #8b2fe5;
    box-shadow: 0 0 0 1px #8b2fe5;
}

.cb-radio-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ---- Quantity + Add to Cart ---- */
.cb-add-to-cart {
    margin-bottom: 0;
}

.cb-product-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cb-qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    height: 48px;
}

.cb-qty-input {
    width: 45px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
    outline: none;
    height: 100%;
    padding: 0;
}

.cb-qty-input::-webkit-outer-spin-button,
.cb-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0;
}

#quantity_wanted {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

#quantity_wanted::-webkit-outer-spin-button,
#quantity_wanted::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0;
}

/* Hide Bootstrap TouchSpin generated elements (theme.js creates these) */
.bootstrap-touchspin .input-group-btn,
.bootstrap-touchspin .btn-touchspin,
.bootstrap-touchspin-up,
.bootstrap-touchspin-down,
.js-touchspin,
.input-group-btn-vertical,
.cb-qty-wrapper .input-group-btn,
.cb-qty-wrapper .btn-touchspin {
    display: none !important;
}

/* Prevent touchspin from wrapping our input in a table layout */
.bootstrap-touchspin {
    display: flex !important;
    align-items: center;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

.bootstrap-touchspin #quantity_wanted {
    border: none !important;
    box-shadow: none !important;
}

.cb-qty-btn {
    width: 36px;
    height: 100%;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: background 0.2s;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cb-qty-btn:hover {
    background: #e8e8e8;
}
.cb-qty-btn--disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.cb-cart-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.cb-add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #8b2fe5 0%, #6b1fb5 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0 30px;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    white-space: nowrap;
}

.cb-add-to-cart-btn:hover {
    background: linear-gradient(135deg, #7526c9 0%, #5a1a9a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 47, 229, 0.3);
}

.cb-add-to-cart-btn:disabled {
    background: #999 !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.cb-add-to-cart-btn i.material-icons {
    font-size: 22px;
}

/* Wishlist heart button */
/* Old wishlist styles removed */

/* Hide default availability alert (we use custom stock in product.tpl) */
#product-availability {
    display: none;
}

/* Hide productcomments review button from displayProductAdditionalInfo hook
   (reviews are accessible via the Reviews tab) */
.product-additional-info .product-comments-additional-info,
#product .product-comments-additional-info {
    display: none !important;
}

.product-minimal-quantity {
    display: none;
}

/* ---- Stock Row (stock + mobile wishlist) ---- */
.cb-stock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cb-mobile-wishlist-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

.cb-mobile-wishlist-btn .cb-wishlist-icon {
    font-size: 32px;
    color: #6921e4;
    transition: color .2s;
}

.cb-mobile-wishlist-btn.is-active .cb-wishlist-icon,
.cb-mobile-wishlist-btn:hover .cb-wishlist-icon {
    color: #e53935;
}

/* ---- Stock Indicator ---- */
.cb-stock-indicator {
    margin-bottom: 0;
}

.cb-stock-bar {
    width: 80px;
    height: 4px;
    background: #e8e8e8;
    border-radius: 2px;
    margin-bottom: 6px;
    overflow: hidden;
}

.cb-stock-bar__fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease, background-color 0.4s ease;
}

.cb-stock-text {
    font-size: 14px;
    color: #333;
}

.cb-stock-text strong {
    color: #333;
}

.cb-stock-text--low {
    color: #ff9100;
}

.cb-stock-text--out {
    color: #f44336;
}

/* ---- Reassurance ---- */
.cb-reassurance {
    margin: 20px 0 15px;
}

.cb-reassurance__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 14px;
    color: #333;
}

.cb-reassurance__item i.material-icons {
    font-size: 20px;
    color: #000;
}

/* Hide default reassurance module */
.blockreassurance_product,
#block-reassurance {
    display: none !important;
}

/* ---- WhatsApp Button ---- */
.cb-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 10px;
}

.cb-whatsapp-btn:hover {
    background: #1da851;
    color: #fff;
    text-decoration: none;
}

.cb-whatsapp-btn svg {
    flex-shrink: 0;
}

/* ---- Tabs (full-width below product) ---- */
header.page-header {
    display: none;
}

.product-container.js-product-container {
    background: #fff;
    padding: 10px;
    margin-left: 0;
    margin-right: 0;
}

.cb-product-tabs {
    margin-top: 30px;
}

.cb-product-tabs__nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 5px 0;
    gap: 6px;
}

.cb-product-tabs__item {
    margin: 0;
}

.cb-product-tabs__link {
    display: block;
    padding: 10px 29px;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 9px;
    transition: all 0.2s;
}

.cb-product-tabs__link:hover {
    color: #b28ef1;
    text-decoration: none !important;
}

.cb-product-tabs__link.active {
    color: #b28ef1;
    border-color: #b28ef1;
}

.cb-product-tabs .tab-content {
    padding: 20px 0;
    background: #fff;
}

/* Tab panes: hide inactive, show active */
.cb-product-tabs .tab-pane {
    display: none;
}

.cb-product-tabs .tab-pane.active {
    display: block;
}

/* Hide old tabs if still rendered inside column */
.col-md-6 > .tabs,
.product-information > .tabs {
    display: none;
}

/* Hide social sharing */
.social-sharing {
    display: none !important;
}

/* Hide review elements inside footer hook (JS moves them to Reviews tab) */
#cb-footer-product-hook [class*="product-comment"],
#cb-footer-product-hook .product-comment-modal {
    display: none;
}

/* Hide "Product Details" label from old tabs */
.product-information .h1 {
    text-transform: none;
}

/* ---- Specifications Table (product features) ---- */
.cb-product-tabs .product-features .h6 {
    display: none;
}

.cb-product-tabs .product-manufacturer {
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

.cb-product-tabs .product-manufacturer .label {
    font-weight: 700;
    color: #000;
}

.cb-product-tabs .product-manufacturer .label::after {
    content: ':';
}

.cb-product-tabs .product-manufacturer a {
    color: #333;
    text-decoration: none;
}

.cb-product-tabs .product-manufacturer a:hover {
    color: #6921e4;
}

.product-features > dl.data-sheet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 0;
    padding: 0;
}

.product-features > dl.data-sheet dt.name,
.product-features > dl.data-sheet dd.value {
    padding: 10px 15px;
    font-size: 14px;
    margin: 0;
    margin-right: 0;
    margin-bottom: 0;
    border: none;
    min-height: auto;
    text-transform: none;
}

.product-features > dl.data-sheet dt.name {
    padding-left: 5px;
    color: #8b2fe5;
    font-weight: 500;
    background: transparent;
}

.product-features > dl.data-sheet dd.value {
    color: #333;
    background: transparent;
}

/* Alternating row colors */
.product-features > dl.data-sheet dt.name:nth-of-type(odd),
.product-features > dl.data-sheet dd.value:nth-of-type(odd) {
    background-color: #ede3fb;
}

.product-features > dl.data-sheet dt.name:nth-of-type(even),
.product-features > dl.data-sheet dd.value:nth-of-type(even) {
    background-color: #fff;
}

.cb-product-tabs .tab-content .tab-pane {
    padding: 0 24px;
}

.product-features {
    margin-left: 0;
}

/* Product reference/condition inside details tab */
.cb-product-tabs .product-reference,
.cb-product-tabs .product-quantities,
.cb-product-tabs .product-condition {
    display: none;
}

/* ---- Review tab styling ---- */
.cb-product-tabs .product-comment-list-item {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
}

.cb-product-tabs .product-comment-list-item .grade-stars .star-on::before {
    color: #ff9100;
}

/* ---- Mobile Responsive ---- */
@media (max-width: 767px) {
    .cb-images-container {
        flex-direction: column;
    }

    .cb-product-cover {
        flex: none;
        width: 100%;
    }

    .cb-thumbs-column {
        width: 100%;
    }

    .cb-thumbs-arrow {
        display: none !important;
    }

    .cb-thumbs-viewport {
        max-height: none !important;
        overflow: visible;
    }

    .cb-thumbs-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
        transform: none !important;
    }

    .cb-thumb-item {
        width: 60px;
        flex-shrink: 0;
    }

    .cb-product-title {
        font-size: 20px;
    }

    .cb-price-current {
        font-size: 22px;
    }

    .cb-product-quantity {
        flex-wrap: wrap;
    }

    .cb-cart-actions {
        width: 100%;
    }

    .cb-product-tabs__link {
        padding: 8px 16px;
        font-size: 12px;
    }

    .cb-product-tabs__nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991px) {
    .product-container .col-md-6:first-child {
        margin-bottom: 20px;
    }
}

/* =========================================================
   Product Comments / Reviews Section
   ========================================================= */

/* Header: "Comments (N)" + stars */
#product-comments-list-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

#product-comments-list-header .comments-nb {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

#product-comments-list-header .comments-nb .material-icons {
    color: #8b2fe5;
    font-size: 22px;
}

/* Individual review item */
.product-comment-list-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-comment-list-item:last-child {
    border-bottom: none;
}

.product-comment-list-item .comment-infos {
    margin-bottom: 10px;
}

.product-comment-list-item .comment-infos .comment-date {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.product-comment-list-item .comment-infos .comment-author {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.product-comment-list-item .comment-content .h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.product-comment-list-item .comment-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 10px;
}

/* Useful / not-useful / report buttons */
.product-comment-list-item .comment-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.product-comment-list-item .comment-buttons a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.product-comment-list-item .comment-buttons a:hover {
    color: #8b2fe5;
}

.product-comment-list-item .comment-buttons .material-icons {
    font-size: 16px;
}

/* Star rating inside reviews */
.product-comment-list-item .grade-stars .star-content div.star::before,
.product-comment-list-item .grade-stars .star-content div.star-on::before {
    font-family: 'Material Icons';
    content: '\e838';
    font-size: 14px;
    color: #ccc;
    -webkit-font-smoothing: antialiased;
}

.product-comment-list-item .grade-stars .star-content div.star-on::before {
    color: #ffc107;
}

/* Grade stars generic (inside reviews tab) */
#cb-reviews-target .grade-stars .star-content,
#product-comments-list-header .grade-stars .star-content {
    display: flex;
    gap: 1px;
}

#cb-reviews-target .grade-stars .star-content div,
#product-comments-list-header .grade-stars .star-content div {
    background: none !important;
    width: auto !important;
    height: auto !important;
    font-size: 0;
}

#cb-reviews-target .grade-stars .star-content div::before,
#product-comments-list-header .grade-stars .star-content div::before {
    font-family: 'Material Icons';
    content: '\e838';
    font-size: 16px;
    color: #ccc;
    -webkit-font-smoothing: antialiased;
}

#cb-reviews-target .grade-stars .star-content div.star-on::before,
#product-comments-list-header .grade-stars .star-content div.star-on::before {
    color: #ffc107;
}

/* Pagination */
#product-comments-list-pagination ul {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    justify-content: center;
}

#product-comments-list-pagination li {
    cursor: pointer;
}

#product-comments-list-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    transition: all 0.2s;
}

#product-comments-list-pagination li.active span,
#product-comments-list-pagination li span:hover {
    background: #8b2fe5;
    border-color: #8b2fe5;
    color: #fff;
}

/* Footer write review button */
#product-comments-list-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
}
#product-comments-list-footer .btn-comment {
    background: #8b2fe5;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    padding: 10px 24px;
    height: auto;
    box-shadow: none;
    transition: background 0.2s;
}

#product-comments-list-footer .btn-comment:hover {
    background: #7526c9;
}

/* ---- Empty review state (redesigned) ---- */
#cb-reviews-target #empty-product-comment.cb-empty-review {
    background: #fff;
    border-radius: 6px;
    padding: 25px 30px;
    margin: 0;
    border: none;
    text-align: left;
}

#cb-reviews-target .cb-empty-review__row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#cb-reviews-target .cb-empty-review__text {
    color: #666;
    font-size: 14px;
    flex: 1;
}

#cb-reviews-target .cb-empty-review__btn {
    background: #8b2fe5 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
    padding: 10px 20px !important;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: none !important;
    height: auto !important;
    transition: background 0.2s;
    flex-shrink: 0;
    display: inline-block !important;
    margin: 0 !important;
}

#cb-reviews-target .cb-empty-review__btn:hover {
    background: #7526c9 !important;
}

/* ---- Post review modal (redesigned) ---- */
#post-product-comment-modal {
    padding-right: 0 !important;
}

#post-product-comment-modal .modal-dialog {
    width: calc(100% - 30px);
    margin: 30px auto;
}

@media (min-width: 768px) {
    #post-product-comment-modal .modal-dialog {
        display: flex;
        align-items: center;
        min-height: calc(100vh - 60px);
    }
}

#post-product-comment-modal .modal-header {
    border-bottom: 1px solid #eee;
    padding: 20px 30px;
}

#post-product-comment-modal .modal-header .h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    float: none;
}

#post-product-comment-modal .modal-body {
    padding: 25px 30px;
}

.cb-review-modal__layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cb-review-modal__image {
    flex-shrink: 0;
    width: 45%;
    text-align: center;
}

.cb-review-modal__image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.cb-review-modal__product-name {
    font-size: 13px;
    color: #333;
    margin-top: 10px;
    font-weight: 500;
}

.cb-review-modal__form {
    flex: 1;
    min-width: 0;
}

.cb-review-modal__form #criterions_list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.cb-review-modal__form .criterion-rating {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}

.cb-review-modal__form .criterion-rating label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cb-review-field {
    margin-bottom: 15px;
}

.cb-review-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.cb-review-field input,
.cb-review-field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.cb-review-field input:focus,
.cb-review-field textarea:focus {
    border-color: #8b2fe5;
    outline: none;
}

.cb-review-field textarea {
    min-height: 100px;
    resize: vertical;
}

.cb-review-modal__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.cb-review-modal__actions .required {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.cb-review-modal__actions .btn-comment {
    background: #8b2fe5;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    height: auto;
    box-shadow: none;
}

.cb-review-modal__actions .btn-comment:hover {
    background: #7526c9;
}

@media (max-width: 767px) {
    .cb-review-modal__actions {
        flex-direction: column;
        gap: 10px;
    }

    .cb-review-modal__actions .btn-comment {
        width: 100%;
        text-align: center;
    }
}

/* General modal button theme */
.product-comment-modal .btn-comment {
    background: #8b2fe5;
    box-shadow: none;
}

.product-comment-modal .btn-comment:hover {
    background: #7526c9;
}

/* Comments note (average) */
.comments-note span {
    font-size: 13px;
    color: #666;
    margin-right: 5px;
}

/* ---- Product page rating (stars + Review-uri link) ---- */
.cb-product-rating.js-product-miniature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 5px;
}

.cb-product-rating .product-list-reviews {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    visibility: visible !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 4px;
    width: auto;
}

.cb-product-rating .product-list-reviews .grade-stars {
    position: relative;
    min-width: 80px;
    height: 18px;
    display: inline-block;
}

.cb-product-rating .product-list-reviews .grade-stars .star-content {
    display: flex;
    gap: 1px;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}

.cb-product-rating .product-list-reviews .grade-stars .star-content div {
    background: none !important;
    width: auto !important;
    height: auto !important;
    font-size: 0;
    margin: 0 !important;
}

.cb-product-rating .product-list-reviews .grade-stars .star-content div::before {
    font-family: 'Material Icons';
    content: '\e838';
    font-size: 16px;
    color: #ccc;
    -webkit-font-smoothing: antialiased;
}

.cb-product-rating .product-list-reviews .grade-stars .star-content div.star-on::before {
    color: #ffc107;
}

.cb-product-rating .product-list-reviews .comments-nb {
    font-size: 13px;
    color: #8b2fe5;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.cb-product-rating .product-list-reviews .comments-nb:hover {
    text-decoration: underline;
    color: #7526c9;
}

#cb-review-link {
    display: none !important;
}

/* Center review modal vertically (merged into main rule above) */

/* ---- Reviews list layout (with reviews) ---- */

/* Hide header - not needed in redesign */
#cb-reviews-target #product-comments-list-header {
    display: none !important;
}

/* Flex wrapper: reviews grid left, button right */
.cb-reviews-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Reviews list = 2-column grid */
.cb-reviews-layout #product-comments-list {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Footer (button) sits to the right */
.cb-reviews-layout #product-comments-list-footer {
    flex-shrink: 0;
    padding: 0;
    min-height: auto;
}

/* Hide pagination in clean design */
.cb-reviews-layout #product-comments-list-pagination {
    display: none;
}

/* Always show write-review button in footer */
.cb-reviews-layout #product-comments-list-footer .btn-comment {
    background: #8b2fe5 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
    padding: 10px 20px !important;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: none !important;
    height: auto !important;
}

.cb-reviews-layout #product-comments-list-footer .btn-comment:hover {
    background: #7526c9 !important;
}

/* ---- Review card styling ---- */
.cb-review-card {
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px;
    padding: 20px !important;
    margin: 0 !important;
    background: #fff;
}

.cb-review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.cb-review-card__author {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cb-review-card__date {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.cb-review-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px 0;
}

.cb-review-card__text {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Stars inside review cards */
.cb-review-card .grade-stars {
    position: relative;
    min-width: 90px;
    height: 18px;
}

.cb-review-card .grade-stars .star-content {
    display: flex;
    gap: 1px;
    position: absolute;
    top: 0;
    left: 0;
}

.cb-review-card .grade-stars .star-content div {
    background: none !important;
    width: auto !important;
    height: auto !important;
    font-size: 0;
    margin: 0 !important;
}

.cb-review-card .grade-stars .star-content div::before {
    font-family: 'Material Icons';
    content: '\e838';
    font-size: 16px;
    color: #ccc;
    -webkit-font-smoothing: antialiased;
}

.cb-review-card .grade-stars .star-content div.star-on::before {
    color: #ffc107;
}

/* Mobile responsive for review redesign */
@media (max-width: 767px) {
    #cb-reviews-target .cb-empty-review__row {
        flex-direction: column;
        text-align: center;
    }

    .cb-review-modal__layout {
        flex-direction: column;
    }

    .cb-review-modal__image {
        width: 120px;
        margin: 0 auto;
    }

    .cb-review-modal__form {
        width: 100%;
    }

    #post-product-comment-modal .criterion-rating {
        justify-content: center;
    }

    #post-product-comment-modal .cb-review-field label,
    #post-product-comment-modal .criterion-rating label {
        text-align: center;
    }

    #cb-reviews-target #empty-product-comment.cb-empty-review {
        padding: 20px;
    }

    .cb-reviews-layout {
        flex-direction: column;
    }

    .cb-reviews-layout #product-comments-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Account Dashboard – "Contul meu" redesign
   ========================================================= */

.cb-account-dashboard {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* ── Sidebar ── */
.cb-account-sidebar {
    width: 240px;
    min-width: 240px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 16px;
    background: #fff;
}

.cb-account-sidebar__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

.cb-account-sidebar__avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #8b2fe5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cb-account-sidebar__avatar-small i {
    font-size: 22px;
    color: #8b2fe5;
}

.cb-account-sidebar__company {
    font-size: 13px;
    color: #333;
    line-height: 1.3;
}

.cb-account-sidebar__company strong {
    display: block;
    font-size: 14px;
}

.cb-account-sidebar__type {
    color: #999;
    font-size: 11px;
}

.cb-account-sidebar__nav {
    display: flex;
    flex-direction: column;
}

.cb-account-sidebar__nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: background .15s;
}

.cb-account-sidebar__nav a:hover {
    background: #f5f0fa;
    color: #8b2fe5;
}

.cb-account-sidebar__nav a i {
    font-size: 20px;
    color: #666;
}

.cb-account-sidebar__nav a:hover i {
    color: #8b2fe5;
}

.cb-account-sidebar__logout {
    display: block;
    margin-top: 16px;
    padding: 10px 0;
    text-align: center;
    background: #8b2fe5;
    color: #fff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .15s;
}

.cb-account-sidebar__logout:hover {
    background: #7526c9;
}

/* ── Main content ── */
.cb-account-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Cards ── */
.cb-account-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 24px;
    background: #fff;
}

.cb-account-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px;
    padding: 0;
}

/* ── Datele contului ── */
.cb-account-details__body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cb-account-details__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c06060, #8b4040);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cb-account-details__avatar i {
    font-size: 40px;
    color: rgba(255,255,255,.7);
}

.cb-account-details__info {
    flex: 1;
}

.cb-account-details__table {
    margin: 0 0 12px;
    border-collapse: collapse;
}

.cb-account-details__table td {
    padding: 2px 0;
    font-size: 14px;
    color: #333;
    vertical-align: top;
}

.cb-account-details__label {
    color: #999;
    padding-right: 12px !important;
    white-space: nowrap;
}

.cb-account-btn {
    display: inline-block;
    padding: 6px 16px;
    border: 2px solid #8b2fe5;
    border-radius: 20px;
    color: #8b2fe5;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}

.cb-account-btn:hover {
    background: #8b2fe5;
    color: #fff;
}

.cb-account-details__badge {
    border: 2px solid #8b2fe5;
    border-radius: 12px;
    padding: 14px 18px;
    text-align: center;
    min-width: 160px;
    flex-shrink: 0;
}

.cb-account-details__badge-text {
    font-size: 13px;
    color: #8b2fe5;
    font-weight: 600;
    line-height: 1.4;
}

/* ── Activitatea mea ── */
.cb-account-activity__grid {
    display: flex;
    gap: 24px;
}

.cb-account-activity__item {
    flex: 1;
    text-align: center;
}

.cb-account-activity__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.cb-account-activity__icon--orders {
    background: #e8e0f0;
}

.cb-account-activity__icon--orders i {
    color: #8b2fe5;
    font-size: 20px;
}

.cb-account-activity__icon--favorites {
    background: #e0e8f5;
}

.cb-account-activity__icon--favorites i {
    color: #8b2fe5;
    font-size: 20px;
}

.cb-account-activity__icon--reviews {
    background: #fff8e0;
}

.cb-account-activity__icon--reviews i {
    color: #f5a623;
    font-size: 20px;
}

.cb-account-activity__data {
    margin-bottom: 0;
}

.cb-account-activity__data strong {
    display: block;
    font-size: 14px;
    color: #333;
}

.cb-account-activity__data span {
    font-size: 12px;
    color: #999;
}

.cb-account-activity__link {
    font-size: 13px;
    color: #8b2fe5;
    text-decoration: none;
}

.cb-account-activity__link:hover {
    text-decoration: underline;
}

/* ── Bottom row ── */
.cb-account-bottom {
    display: flex;
    gap: 20px;
}

.cb-account-bottom .cb-account-card {
    flex: 1;
}

.cb-account-pickup__body,
.cb-account-address__body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.cb-account-pickup__icon,
.cb-account-address__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0e6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cb-account-pickup__icon i,
.cb-account-address__icon i {
    color: #8b2fe5;
    font-size: 20px;
}

.cb-account-pickup__info strong,
.cb-account-address__info strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.cb-account-pickup__info span,
.cb-account-address__info span {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* pickup btn uses shared .cb-account-btn */

/* ── My Reviews ── */
.cb-account-reviews {
    margin-top: 20px;
}

.cb-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cb-review-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
}

.cb-review-item__product {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.cb-review-item__img-link {
    flex-shrink: 0;
}

.cb-review-item__img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #eee;
}

.cb-review-item__img-placeholder {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 6px;
    color: #ccc;
}

.cb-review-item__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cb-review-item__product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.cb-review-item__product-name:hover {
    color: #6921e4;
}

.cb-review-item__stars {
    display: flex;
    gap: 1px;
}

.cb-review-star {
    font-size: 16px;
    color: #ddd;
}

.cb-review-star--filled {
    color: #f5a623;
}

.cb-review-item__date {
    font-size: 12px;
    color: #999;
}

.cb-review-item__pending {
    display: inline-block;
    font-size: 11px;
    color: #e67e22;
    background: #fef5e7;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
}

.cb-review-item__title {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.cb-review-item__content {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.cb-review-item__empty {
    color: #999;
    font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .cb-account-dashboard {
        flex-direction: column;
        gap: 16px;
    }

    .cb-account-sidebar {
        width: 100%;
        min-width: 0;
    }

    .cb-account-sidebar__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }

    .cb-account-sidebar__nav a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .cb-account-dashboard {
        gap: 12px;
    }

    .cb-account-main {
        width: 100%;
    }

    .cb-account-main #content.page-content {
        width: 100%;
    }

    .cb-account-card {
        width: 100%;
        box-sizing: border-box;
    }

    .cb-account-details__body {
        flex-direction: column;
        align-items: flex-start;
    }

    .cb-account-details__badge {
        min-width: 0;
        width: 100%;
    }

    .cb-account-activity__grid {
        flex-direction: column;
        gap: 16px;
    }

    .cb-account-activity__item {
        text-align: left;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
    }

    .cb-account-activity__icon {
        margin-bottom: 0 !important;
        flex-shrink: 0;
        display: flex;
    }

    .cb-account-activity__data {
        flex: 1;
        min-width: 0;
    }

    .cb-account-activity__link {
        margin-left: auto;
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 12px;
    }

    .cb-account-bottom {
        flex-direction: column;
        gap: 12px;
    }

    .cb-account-card {
        padding: 16px;
    }

    .page-my-account .cb-account-main .cb-account-card + .cb-account-card,
    .page-my-account .cb-account-main .cb-account-card + .cb-account-bottom {
        margin-top: 12px;
    }
}

/* Hook links inside sidebar (wishlist, GDPR, etc.) */
.cb-account-sidebar__hooks {
    border-top: 1px solid #eee;
    margin-top: 4px;
    padding-top: 4px;
}

.cb-account-sidebar__hooks a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: background .15s;
}

.cb-account-sidebar__hooks a:hover {
    background: #f5f0fa;
    color: #8b2fe5;
}

.cb-account-sidebar__hooks a i {
    font-size: 20px;
    color: #666;
}

.cb-account-sidebar__hooks a:hover i {
    color: #8b2fe5;
}

/* Hide default page footer & header on all customer account pages */
.page-my-account .page-footer,
.page-addresses .page-footer,
.page-address .page-footer,
.page-identity .page-footer,
.page-history .page-footer,
.page-order-detail .page-footer,
.page-order-slip .page-footer,
.page-order-follow .page-footer,
.page-order-return .page-footer,
.page-discount .page-footer {
    display: none;
}

.page-my-account .page-header,
.page-addresses .page-header,
.page-address .page-header,
.page-identity .page-header,
.page-history .page-header,
.page-order-detail .page-header,
.page-order-slip .page-header,
.page-order-follow .page-header,
.page-order-return .page-header,
.page-discount .page-header {
    display: none;
}

/* Subpage main content area — card styling */
.cb-account-main #content.page-content {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    background: #fff;
}

/* On main dashboard page, no card wrapper — cards have their own borders */
.page-my-account .cb-account-main #content.page-content {
    padding: 0;
    border: none;
    background: transparent;
}

/* Space between cards via margin (not gap — avoids empty hook/notification elements adding space) */
.page-my-account .cb-account-main > #content > .cb-account-card + .cb-account-card,
.page-my-account .cb-account-main > #content > .cb-account-card + .cb-account-bottom {
    margin-top: 20px;
}

/* No extra margin between cards inside bottom row (gap handles it) */
.cb-account-bottom > .cb-account-card + .cb-account-card {
    margin-top: 0;
}

/* Subpage content styling — forms, tables, alerts */
.cb-account-main .form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.cb-account-main .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 14px;
}

.cb-account-main .form-control:focus {
    border-color: #8b2fe5;
    box-shadow: 0 0 0 2px rgba(139, 47, 229, .15);
}

.cb-account-main .btn-primary,
.cb-account-main [data-link-action="save-customer"],
.cb-account-main [data-link-action="add-address"] {
    background: #8b2fe5;
    border-color: #8b2fe5;
    border-radius: 8px;
    font-weight: 600;
}

.cb-account-main .btn-primary:hover {
    background: #7526c9;
    border-color: #7526c9;
}

.cb-account-main .table {
    font-size: 14px;
}

.cb-account-main .table thead {
    background: #f8f5fc;
}

.cb-account-main .table th {
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #8b2fe5;
}

/* Address cards on addresses page */
.cb-account-main .address {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

.cb-account-main .address .address-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.cb-account-main .addresses-footer a {
    color: #8b2fe5;
    font-weight: 600;
    font-size: 14px;
}

.cb-account-main .addresses-footer a:hover {
    color: #7526c9;
}

/* Alert info styling */
.cb-account-main .alert-info {
    border-radius: 8px;
    border: 1px solid #d4c5f0;
    background: #f8f5fc;
    color: #333;
}

/* Order detail links */
.cb-account-main .view-order-details-link,
.cb-account-main .reorder-link {
    color: #8b2fe5;
    font-weight: 600;
}

.cb-account-main .view-order-details-link:hover,
.cb-account-main .reorder-link:hover {
    color: #7526c9;
}

/* ==========================================================
   SIMPLE WISHLIST / FAVORITES
   ========================================================== */

/* Hide wishlist button on product cards (keep it on product page via .wishlist-button-product) */
.wishlist-button-add:not(.wishlist-button-product) {
    display: none !important;
}

/* Heart button on product page */
.wishlist-button-add,
.wishlist-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    border: none;
    background: none !important;
    background-color: transparent !important;
    border-radius: 0;
    box-shadow: none !important;
}
.wishlist-button-add .cb-wishlist-icon,
.wishlist-button .cb-wishlist-icon {
    font-size: 40px;
    color: #6921e4;
    margin-bottom: 3px;
    transition: color 0.2s;
}
.wishlist-button-add.is-active .cb-wishlist-icon,
.wishlist-button-add:hover .cb-wishlist-icon,
.wishlist-button.is-active .cb-wishlist-icon,
.wishlist-button:hover .cb-wishlist-icon {
    color: #e53935;
}

/* Toast notification */
.cb-wishlist-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.cb-wishlist-toast .material-icons {
    color: #e53935;
    font-size: 20px;
}
.cb-wishlist-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Hide blockwishlist's broken modal containers if they somehow render */
.wishlist-add-to,
.wishlist-modal {
    display: none !important;
}

/* =========================================================
   Authentication Page — gonga.ro style
   ========================================================= */

#authentication #wrapper {
    background: #f5f5f5;
    padding-bottom: 40px;
}

#authentication #content-wrapper {
    max-width: 600px;
    margin: 0 auto;
    float: none;
}

#authentication .page-header {
    text-align: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 40px 40px 20px;
    margin-bottom: 0;
}

#authentication .page-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

#authentication #content {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 20px 40px 40px;
}

#authentication .form-group.row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

#authentication .form-group .col-md-3,
#authentication .form-group .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
    padding: 0;
}

#authentication .form-group .form-control-label {
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

#authentication .form-group .form-control-comment {
    display: none;
}

#authentication .form-control {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    width: 100%;
    max-width: 100%;
}

#authentication .form-control:focus {
    background: #fff;
    border-color: #872ddf;
    box-shadow: 0 0 0 2px rgba(135, 45, 223, 0.15);
}

#authentication .input-group .form-control {
    border-radius: 6px 0 0 6px;
}

#authentication .input-group-btn .btn {
    background: #555;
    color: #fff;
    border: 1px solid #555;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    padding: 10px 14px;
}

#authentication .forgot-password {
    text-align: center;
    margin: 10px 0 20px;
}

#authentication .forgot-password a {
    color: #872ddf;
    font-size: 14px;
}

#authentication .form-footer {
    text-align: center;
}

#authentication #submit-login {
    background: #872ddf;
    border: none;
    border-radius: 6px;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
}

#authentication #submit-login:hover {
    background: #7525c7;
}

#authentication hr {
    border-color: #e0e0e0;
    margin: 20px 0;
}

#authentication .no-account {
    text-align: center;
}

#authentication .no-account a {
    color: #872ddf;
    font-size: 15px;
    font-weight: 500;
}


