/**
 * Redgaming Theme Styles for PrestaShop 9 (Alysum)
 * Layout & visual design matching theme_ecolife & Creative Elements
 */

@import url('/modules/creativeelements/views/lib/font-awesome/css/solid.min.css');
@import url('/modules/creativeelements/views/lib/font-awesome/css/v4-shims.min.css');

:root {
    --rg-primary: #d80100;
    --rg-primary-hover: #b80000;
    --rg-dark: #253237;
    --rg-dark-hover: #1e292d;
    --rg-black: #111111;
    --rg-text: #333333;
    --rg-text-muted: #666666;
    --rg-bg-light: #f6f6f6;
    --rg-border: #ebebeb;
}

/* Typography & Base */
body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--rg-text);
}

h1, h2, h3, h4, h5, h6, .page-header h1 {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    color: var(--rg-dark);
}

a {
    color: var(--rg-dark);
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: var(--rg-primary);
}

/* Buttons */
.btn-primary,
body .btn,
button.btn-primary,
input[type="submit"].btn-primary {
    background-color: var(--rg-primary) !important;
    border-color: var(--rg-primary) !important;
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-primary:hover,
body .btn:hover,
button.btn-primary:hover,
input[type="submit"].btn-primary:hover {
    background-color: var(--rg-dark) !important;
    border-color: var(--rg-dark) !important;
    color: #ffffff !important;
}

/* Header Top Bar */
.header-topbar,
.elementor-section.header-topbar {
    background-color: #ffffff;
    border-bottom: 2px solid #e1e1e1;
    font-size: 13px;
    color: var(--rg-text-muted);
}

.header-topbar strong {
    color: var(--rg-dark);
    font-weight: 700;
}

/* Main Header */
.main-header,
.elementor-section.main-header {
    background-color: #000000;
    padding: 15px 0;
}

/* Instant Search Input */
.pksearch-wrapper input,
.search-widget form input[type="text"] {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.pksearch-wrapper button,
.search-widget form button[type="submit"] {
    background-color: var(--rg-primary);
    color: #ffffff;
    border-radius: 0 4px 4px 0;
}

/* Navigation Menu */
.navbar-nav,
.pknav-wrapper,
.elementor-widget-pknav {
    font-weight: 600;
    text-transform: uppercase;
}

.pos-sub-menu .ul-column > li.submenu-item:first-child > a,
.pos-sub-menu .ul-column > li.submenu-item:first-child > a span {
    font-weight: 700 !important;
    color: var(--rg-dark);
}

.pos-sub-menu .ul-column > li.submenu-item > a,
.pos-sub-menu .ul-column > li.submenu-item > a span {
    font-weight: 400 !important;
    color: var(--rg-text-muted);
}

.pos-sub-menu .ul-column > li.submenu-item > a:hover {
    color: var(--rg-primary) !important;
}

/* Product Miniatures & Cards */
.product-miniature,
.thumbnail-container {
    background: #ffffff;
    border: 1px solid var(--rg-border);
    border-radius: 4px;
    padding: 12px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.product-miniature:hover,
.thumbnail-container:hover {
    border-color: #d1d1d1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.product-miniature .product-title a {
    font-size: 14px;
    font-weight: 600;
    color: var(--rg-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-miniature .product-title a:hover {
    color: var(--rg-primary);
}

.product-miniature .product-price-and-shipping .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--rg-primary);
}

.product-miniature .product-price-and-shipping .regular-price {
    font-size: 13px;
    color: #999999;
    text-decoration: line-through;
    margin-right: 6px;
}

/* Badges / Flags */
.product-flags .product-flag.on-sale,
.product-flags .product-flag.discount {
    background-color: var(--rg-primary) !important;
    color: #ffffff;
    font-weight: 700;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 11px;
    text-transform: uppercase;
}

.product-flags .product-flag.new {
    background-color: var(--rg-dark) !important;
    color: #ffffff;
    font-weight: 700;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 11px;
    text-transform: uppercase;
}

/* Reassurance Bar */
.footer-reassurance {
    background-color: #f7f7f7;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
    padding: 25px 0;
}

.footer-reassurance .image-box-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--rg-dark);
    text-transform: uppercase;
    margin-top: 8px;
}

.footer-reassurance .image-box-description {
    font-size: 12px;
    color: var(--rg-text-muted);
}

/* Footer Links & Columns */
.footer-links-section {
    background-color: #d9d9d9;
    padding: 40px 0 30px;
}

.footer-links-section h4,
.footer-links-section .pos_links_title,
.footer-links-section .widget-title {
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-links-section ul li a {
    font-size: 13px;
    color: #222222;
    line-height: 2;
    transition: color 0.2s ease;
}

.footer-links-section ul li a:hover {
    color: var(--rg-primary);
    padding-left: 3px;
}

/* Newsletter & Social Section */
.footer-newsletter-section {
    background-color: #d9d9d9;
    border-top: 1px solid #cccccc;
    padding: 30px 0;
}

.footer-newsletter-section input[type="email"] {
    border-radius: 4px 0 0 4px;
    border: 1px solid #bbb;
    padding: 10px 15px;
    height: 44px;
}

.footer-newsletter-section button[type="submit"] {
    background-color: var(--rg-primary);
    border: none;
    border-radius: 0 4px 4px 0;
    color: #ffffff;
    height: 44px;
    padding: 0 20px;
    font-weight: 600;
}

/* Copyright & Payment Badges */
.footer-bottom {
    background-color: var(--rg-black);
    color: #aaaaaa;
    font-size: 12px;
    padding: 20px 0;
}

.footer-bottom strong {
    color: #ffffff;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom img {
    max-width: 100%;
    height: auto;
}

/* Section Headings with Red Accent */
.elementor-widget-heading .elementor-heading-title {
    position: relative;
    padding-bottom: 8px;
}

.section-title-accent .elementor-heading-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--rg-primary);
}

/* Slick Carousel adjustments */
.elementor-image-carousel.slick-initialized {
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-topbar {
        display: none;
    }
    .footer-links-section {
        padding: 25px 0;
    }
    .footer-links-section .col-xs-12 {
        margin-bottom: 20px;
    }
}

/* Posthemes & Ecolife Original Custom CSS */
.pos-brand-widgets .brand-item img { height: 49px !important; }
.my-h-t-txt { color: #d80100; font-weight: 700; }
.my-h-btn { background: #d80100; color: #fff; padding: 5px 10px; border-radius: 5px; }
.my-home-ban .elementor-image-box-content { padding: 0px 15px 15px 15px !important; }
.page-title-wrapper.p_tilte_small { background: #f8f8f8 !important; }
#search_filters > p { display: none !important; }
#blockcart-modal .modal-title { text-transform: uppercase !important; }
#blockcart-modal .product-name { text-transform: uppercase !important; }
#advansedwishlist_block { display: none !important; }
#product #left-column { margin-top: 50px !important; }
#custom-text { padding: 0 !important; margin-bottom: 0px !important; }
.wishlist a.wl-checked, .wishlist a.wl-checked i { color: #d80100 !important; }
.my-right-prdt-aditnal-info #wishlist_button_block { display: none !important; }
#mobile_menu_wrapper { z-index: 9999 !important; }

#_desktop_cart_block .block-promo,
body#cart .cart-voucher { display: none; }
body#checkout .cart-voucher { display: none; }
body#checkout.enable--voucher .cart-voucher { display: block; }
@media (max-width: 600px) {
    #header {
        position: relative;
        z-index: 9999;
    }
    .ispro-top-full {
        z-index: 10 !important;
    }
    .ispro-top-full #instantsearchpro .search-box {
        border: 0;
        padding: 0 15px;
    }
    #instantsearchpro .button { right: 19px !important; }
}

/* Redgaming Brand Navbar & Megamenu Styles */
.elementor-element-puylfnz {
    z-index: 9999 !important;
    position: relative !important;
    overflow: visible !important;
}

.elementor-element-puylfnz .elementor-container,
.elementor-element-puylfnz .elementor-row,
.elementor-element-puylfnz .elementor-column,
.elementor-element-puylfnz .elementor-column-wrap,
.elementor-element-puylfnz .elementor-widget-wrap,
.elementor-element-puylfnz .elementor-widget,
.elementor-element-puylfnz .elementor-widget-container,
.elementor-element-puylfnz .pk-ce-widget-wrapper,
.elementor-element-puylfnz .pk-ce-widget {
    overflow: visible !important;
}

.elementor-widget-pos_menu .pk-nav {
    position: relative !important;
    width: 100% !important;
}
.elementor-widget-pos_menu .pk-nav-ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 26px;
}
.elementor-widget-pos_menu .pk-nav-li {
    list-style: none;
    position: static !important;
}
.elementor-widget-pos_menu .pk-nav-link {
    font-size: 15px;
    font-weight: 700;
    color: #d80000 !important;
    text-transform: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    transition: color 0.2s ease;
}
.elementor-widget-pos_menu .pk-nav-link:hover,
.elementor-widget-pos_menu .pk-nav-li:hover > .flex-container .pk-nav-link {
    color: #b00000 !important;
}
.elementor-widget-pos_menu .pk-nav-link i.fa {
    font-size: 15px;
    margin-right: 4px;
}
.elementor-widget-pos_menu .pk-dropdown-toggler {
    display: none !important;
}
.elementor-widget-pos_menu .pk-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100% !important;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid #ebebeb;
    border-top: 2px solid #d80000;
    border-radius: 0 0 6px 6px;
    padding: 20px 25px;
    z-index: 99999;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.elementor-widget-pos_menu .pk-nav-li:hover > .pk-dropdown,
.elementor-widget-pos_menu .pk-nav-li:hover .pk-dropdown,
.elementor-widget-pos_menu .pk-dropdown:hover,
.elementor-widget-pos_menu .pk-dropdown-open > .pk-dropdown,
.elementor-widget-pos_menu .pk-dropdown-open .pk-dropdown {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

/* Megamenu Informatica internal styling */
.elementor-14010000 {
    width: 100%;
}
.elementor-14010000 .elementor-top-section {
    padding: 5px 0 !important;
}
.elementor-14010000 .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
    padding: 5px 15px !important;
}
.elementor-14010000 .elementor-widget-heading .elementor-heading-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 10px !important;
    text-transform: none !important;
}
.elementor-14010000 .elementor-widget-text-editor {
    font-size: 13px !important;
    line-height: 1.75 !important;
}
.elementor-14010000 .elementor-widget-text-editor a {
    color: #444444 !important;
    text-decoration: none !important;
    display: block;
    padding: 2px 0;
    transition: color 0.15s ease, padding-left 0.15s ease;
}
.elementor-14010000 .elementor-widget-text-editor a:hover {
    color: #d80000 !important;
    padding-left: 3px;
}

/* ==========================================================================
   Header USP Strip (Section u8ip1rf)
   ========================================================================== */
.elementor-element-u8ip1rf {
    background-color: #f2f3f4 !important;
    padding: 9px 0 !important;
    border-top: 1px solid #e8e9ea;
    border-bottom: 1px solid #e8e9ea;
}
.elementor-element-u8ip1rf .elementor-icon-box-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.elementor-element-u8ip1rf .elementor-icon-box-icon {
    margin: 0 !important;
    line-height: 1;
}
.elementor-element-u8ip1rf .elementor-icon-box-icon i,
.elementor-element-u8ip1rf .elementor-icon-box-icon svg {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    color: #0a0a0a !important;
    fill: #0a0a0a !important;
}
.elementor-element-u8ip1rf .elementor-icon-box-title {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #0a0a0a !important;
    white-space: nowrap;
}
.elementor-element-u8ip1rf .elementor-icon-box-title a {
    color: #0a0a0a !important;
    text-decoration: none;
}
.elementor-element-u8ip1rf .elementor-icon-box-title a:hover {
    color: #d80000 !important;
}
.elementor-element-u8ip1rf .elementor-icon-box-description {
    display: none !important;
}

/* ========================================================
 * PosMegamenu Redgaming Brand Styling
 * ======================================================== */
#_desktop_megamenu {
    width: 100%;
}
#_desktop_megamenu .pos-menu-horizontal {
    text-align: left;
    position: relative;
}
#_desktop_megamenu .pos-menu-horizontal .menu-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item {
    position: static;
    list-style: none;
    margin: 0 !important;
}
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #d80000 !important;
    text-decoration: none !important;
    padding: 10px 14px !important;
    position: relative;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item > a i.fa {
    margin-right: 4px;
    font-size: 15px;
}
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item > a:after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: transparent;
    transition: background-color 0.2s ease;
}
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item:hover > a:after,
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item.active > a:after {
    background: #d80000;
}
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item:hover > a,
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item.active > a {
    color: #b00000 !important;
}

/* Dropdown Container */
/* Container & Section Overflow for Megamenu */
.elementor-element-puylfnz,
.elementor-element-puylfnz > .elementor-container,
.elementor-element-puylfnz .elementor-row,
.elementor-element-puylfnz .elementor-column,
.elementor-element-puylfnz .elementor-column-wrap,
.elementor-element-puylfnz .elementor-widget-wrap,
.elementor-element-puylfnz .elementor-widget,
.elementor-element-puylfnz .elementor-widget-container {
    overflow: visible !important;
    position: relative !important;
    z-index: 9999 !important;
}

/* Dropdown Container */
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #ebebeb !important;
    border-top: 2px solid #d80000 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    z-index: 99999 !important;
    display: none;
    text-align: left;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-dropdown:before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item:hover > .menu-dropdown,
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item.is-hovered > .menu-dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

#_desktop_megamenu .pos-sub-inner {
    background: #ffffff !important;
    padding: 25px 30px !important;
    opacity: 1 !important;
    transform: none !important;
}

#_desktop_megamenu .pos-menu-row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

#_desktop_megamenu .pos-menu-col.col-sm-3 {
    width: 25% !important;
    flex: 0 0 25% !important;
    max-width: 25% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

#_desktop_megamenu .pos-menu-col.col-sm-4 {
    width: 33.333% !important;
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

#_desktop_megamenu .pos-menu-col.col-sm-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

#_desktop_megamenu .pos-menu-col.col-sm-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

#_desktop_megamenu .pos-sub-inner .column_title,
#_desktop_megamenu .pos-sub-inner h4.column_title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 10px 0 !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid #eaeaea !important;
    text-transform: uppercase !important;
    display: block;
    text-decoration: none;
}

#_desktop_megamenu .pos-sub-inner .ul-column {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
}

#_desktop_megamenu .pos-sub-inner .ul-column > li {
    list-style: none !important;
    margin-bottom: 6px !important;
}

/* Category Column Headers */
#_desktop_megamenu .submenu-item > a {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    text-transform: capitalize !important;
    display: block !important;
    padding-bottom: 5px !important;
    border-bottom: 1px solid #eaeaea !important;
    margin-bottom: 8px !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

#_desktop_megamenu .submenu-item > a:hover {
    color: #d80000 !important;
}

/* Subcategories Tree */
#_desktop_megamenu .category-sub-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 8px 0 0 0 !important;
}

#_desktop_megamenu .category-sub-menu > li {
    list-style: none !important;
    margin-bottom: 5px !important;
}

#_desktop_megamenu .category-sub-menu > li > a {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #555555 !important;
    text-decoration: none !important;
    display: inline-block;
    transition: color 0.15s ease, transform 0.15s ease;
}

#_desktop_megamenu .category-sub-menu > li > a:hover {
    color: #d80000 !important;
    transform: translateX(4px);
    text-decoration: underline !important;
}

/* Hide deep level 4 subcategories in hardware column like production */
#_desktop_megamenu .mmenu-my-hardware .subcategory-sub-sub-menu {
    display: none !important;
}

#_desktop_megamenu .subcategory-sub-sub-menu {
    list-style: none !important;
    padding-left: 10px !important;
    margin: 4px 0 !important;
}

#_desktop_megamenu .subcategory-sub-sub-menu > li > a {
    font-size: 12px !important;
    color: #888888 !important;
    text-decoration: none !important;
}

#_desktop_megamenu .subcategory-sub-sub-menu > li > a:hover {
    color: #d80000 !important;
}

#_desktop_megamenu .menu-item .icon-rt-arrow-down {
    display: none !important;
}

#_desktop_megamenu .icon-drop-mobile {
    display: none !important;
}

/* Sidebar Products in Megamenu */
#_desktop_megamenu .sidebar-products {
    border-left: 1px solid #ebebeb !important;
    padding-left: 20px !important;
    background: #ffffff !important;
}

#_desktop_megamenu .sidebar-product-item {
    display: flex !important;
    margin-bottom: 15px !important;
    align-items: center !important;
    padding: 10px !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 4px !important;
    background: #fafafa !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#_desktop_megamenu .sidebar-product-item:hover {
    border-color: #d80000 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
}

#_desktop_megamenu .sidebar-product-img {
    width: 65px !important;
    min-width: 65px !important;
    margin-right: 12px !important;
}

#_desktop_megamenu .sidebar-product-img img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

#_desktop_megamenu .sidebar-product-brand {
    font-size: 10px !important;
    color: #888888 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    margin-bottom: 2px !important;
}

#_desktop_megamenu .sidebar-product-title {
    margin: 0 0 4px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}

#_desktop_megamenu .sidebar-product-title a {
    color: #222222 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

#_desktop_megamenu .sidebar-product-title a:hover {
    color: #d80000 !important;
}

#_desktop_megamenu .sidebar-product-price {
    font-size: 13px !important;
    color: #d80000 !important;
    font-weight: 700 !important;
}

/* ========================================================
   Product Miniature & Carousel / Grid Display Fixes
   ======================================================== */
.pk-ce-widget .product-miniature,
.elementor-widget-pos_products .product-miniature {
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    background: #ffffff;
}

.pk-ce-widget .product-miniature .product-thumbnail,
.elementor-widget-pos_products .product-miniature .product-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    max-height: 240px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #ffffff;
    position: relative;
}

.pk-ce-widget .product-miniature .product-thumbnail img,
.elementor-widget-pos_products .product-miniature .product-thumbnail img {
    max-width: 100% !important;
    max-height: 220px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Slick Carousel slide spacing for products */
.pk-ce-widget-wrapper .elementor-image-carousel .slick-slide {
    padding: 0 10px;
    box-sizing: border-box;
}

.pk-ce-widget-wrapper .elementor-image-carousel.slick-initialized .slick-list {
    margin: 0 -10px;
}

/* Fallback grid if slick slider is not initialized or in grid mode */
.pk-ce-widget.pk-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 20px;
}
@media (max-width: 1400px) {
    .pk-ce-widget.pk-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 991px) {
    .pk-ce-widget.pk-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 15px;
    }
}
@media (max-width: 767px) {
    .pk-ce-widget.pk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }
}

/* Responsive fallback for uninitialized carousels */
#main-content .pk-ce-carousel:not(.slick-initialized) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px;
}
#main-content .pk-ce-carousel:not(.slick-initialized) > article,
#main-content .pk-ce-carousel:not(.slick-initialized) > figure,
#main-content .pk-ce-carousel:not(.widget-pkslider):not(.slick-initialized) > div {
    flex: 0 0 calc(20% - 13px) !important;
    max-width: calc(20% - 13px) !important;
    width: calc(20% - 13px) !important;
    box-sizing: border-box !important;
}
@media (max-width: 1400px) {
    #main-content .pk-ce-carousel:not(.slick-initialized) > article,
    #main-content .pk-ce-carousel:not(.slick-initialized) > figure,
    #main-content .pk-ce-carousel:not(.widget-pkslider):not(.slick-initialized) > div {
        flex: 0 0 calc(25% - 12px) !important;
        max-width: calc(25% - 12px) !important;
        width: calc(25% - 12px) !important;
    }
}
@media (max-width: 991px) {
    #main-content .pk-ce-carousel:not(.slick-initialized) > article,
    #main-content .pk-ce-carousel:not(.slick-initialized) > figure,
    #main-content .pk-ce-carousel:not(.widget-pkslider):not(.slick-initialized) > div {
        flex: 0 0 calc(33.333% - 11px) !important;
        max-width: calc(33.333% - 11px) !important;
        width: calc(33.333% - 11px) !important;
    }
}
@media (max-width: 767px) {
    #main-content .pk-ce-carousel:not(.slick-initialized) > article,
    #main-content .pk-ce-carousel:not(.slick-initialized) > figure,
    #main-content .pk-ce-carousel:not(.widget-pkslider):not(.slick-initialized) > div {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
    }
}

/* ==========================================================================
   Category Product Listing - Grid & List View Switcher
   ========================================================================== */

/* Grid Column Layouts (must override CreativeElements template 29 rules with !important) */
#main-content .elementor-widget-pkcategoryproducts #products.view_grid2 .product_list #js-product-list .grid-container,
#main-content #products.view_grid2 .product_list .grid-container,
#products.view_grid2 .grid-container {
    grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;
}

#main-content .elementor-widget-pkcategoryproducts #products.view_grid3 .product_list #js-product-list .grid-container,
#main-content #products.view_grid3 .product_list .grid-container,
#products.view_grid3 .grid-container {
    grid-template-columns: repeat(3, minmax(100px, 1fr)) !important;
}

#main-content .elementor-widget-pkcategoryproducts #products.view_grid4 .product_list #js-product-list .grid-container,
#main-content #products.view_grid4 .product_list .grid-container,
#products.view_grid4 .grid-container {
    grid-template-columns: repeat(4, minmax(100px, 1fr)) !important;
}

#main-content .elementor-widget-pkcategoryproducts #products.view_grid5 .product_list #js-product-list .grid-container,
#main-content #products.view_grid5 .product_list .grid-container,
#products.view_grid5 .grid-container {
    grid-template-columns: repeat(5, minmax(100px, 1fr)) !important;
}

#main-content .elementor-widget-pkcategoryproducts #products.view_grid6 .product_list #js-product-list .grid-container,
#main-content #products.view_grid6 .product_list .grid-container,
#products.view_grid6 .grid-container {
    grid-template-columns: repeat(6, minmax(100px, 1fr)) !important;
}

/* Auto Grid Mode (magic / id=1) */
#main-content .elementor-widget-pkcategoryproducts #products.view_grid1 .product_list #js-product-list .grid-container,
#main-content #products.view_grid1 .product_list .grid-container,
#products.view_grid1 .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
}

/* List Mode (id=0) */
#main-content .elementor-widget-pkcategoryproducts #products.view_list .product_list #js-product-list .grid-container,
#main-content #products.view_list .product_list .grid-container,
#products.view_list .grid-container {
    display: flex !important;
    flex-direction: column !important;
}

#main-content #products.view_list .product-miniature,
#products.view_list .product-miniature {
    width: 100% !important;
    margin-bottom: 25px !important;
}

/* View Switcher Buttons - Active & Hover Styling */
.listing_view > div.active,
.listing_view > div[aria-pressed="true"] {
    border-color: var(--rg-primary, #d80100) !important;
}

.listing_view > div.active .svgic,
.listing_view > div[aria-pressed="true"] .svgic {
    color: var(--rg-primary, #d80100) !important;
}
/* ==========================================================================
   FontAwesome Brands per Icone Social
   ========================================================================== */
@import url('/modules/creativeelements/views/lib/font-awesome/css/brands.min.css');
/* ==========================================================================
   Header Right - Account & Cart Modern Inline Alignment
   ========================================================================== */
.elementor-element-dbhiryv .elementor-element-gxkkhxj .elementor-widget-wrap,
#header .elementor-element-gxkkhxj .elementor-widget-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 20px !important;
    height: 100% !important;
    min-height: 50px !important;
}
.elementor-element-ipinupf,
.elementor-element-bq8lrz8 {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
}
.elementor-element-ipinupf .current-item {
    padding: 8px !important;
    border-radius: 50% !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}
.elementor-element-ipinupf .current-item svg.svgic {
    width: 24px !important;
    height: 24px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
    transition: transform 0.2s ease, fill 0.2s ease, color 0.2s ease !important;
}
.elementor-element-ipinupf .current-item:hover svg.svgic {
    fill: #d80100 !important;
    color: #d80100 !important;
    stroke: #d80100 !important;
    transform: scale(1.1) !important;
}
.elementor-element-bq8lrz8 .current-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 24px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}
.elementor-element-bq8lrz8 .current-item:hover {
    background: rgba(216, 1, 0, 0.2) !important;
    border-color: #d80100 !important;
}
.elementor-element-bq8lrz8 .current-item svg.svgic {
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
}
.elementor-element-bq8lrz8 .current-item span:not(.header-item-counter) {
    color: #ffffff !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
}
.elementor-element-bq8lrz8 .header-item-counter.cart-products-count {
    background-color: #d80100 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    min-width: 20px !important;
    height: 20px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 6px !important;
    line-height: 1 !important;
    margin-left: 2px !important;
}
/* ==========================================================================
   Footer - Clean Columns, Links, Newsletter & Social Icons
   ========================================================================== */
#footer .elementor-widget-pos_links .pk-ce-widget.pk-grid,
#footer .elementor-widget-pos_links .pk-ce-widget {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
}
#footer .elementor-widget-pos_links .widget-pklinks-title {
    display: none !important;
}
#footer .widget-pklinks {
    list-style: none !important;
    padding: 0 !important;
    margin: 8px 0 0 0 !important;
}
#footer .widget-pklinks li {
    list-style: none !important;
    padding: 5px 0 !important;
    margin: 0 !important;
    border: none !important;
}
#footer .widget-pklinks li:after {
    display: none !important;
}
#footer .widget-pklinks li a {
    color: #666666 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    display: inline-block !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
}
#footer .widget-pklinks li a:hover {
    color: #d80100 !important;
    padding-left: 4px !important;
}
#footer .module-title span {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    color: #222222 !important;
    text-transform: uppercase !important;
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 8px !important;
}
#footer .module-title span:after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 25px !important;
    height: 2px !important;
    background-color: #d80100 !important;
}
#footer .elementor-widget-pos-newsletter .pk-ce-widget.pk-grid {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
}
#footer .newsletter-widget {
    max-width: 380px !important;
    width: 100% !important;
}
#footer .newsletter-widget .pknlinput-wrap {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
}
#footer .newsletter-widget input.newsletter-input {
    width: 100% !important;
    height: 44px !important;
    background: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 22px !important;
    padding: 0 50px 0 18px !important;
    font-size: 13px !important;
    color: #333333 !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
#footer .newsletter-widget input.newsletter-input:focus {
    border-color: #d80100 !important;
    box-shadow: 0 0 0 3px rgba(216, 1, 0, 0.12) !important;
}
#footer .newsletter-widget .submit-widget-newsletter {
    position: absolute !important;
    right: 4px !important;
    top: 4px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: #d80100 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}
#footer .newsletter-widget .submit-widget-newsletter:hover {
    background-color: #253237 !important;
    transform: scale(1.05) !important;
}
#footer .newsletter-widget .submit-widget-newsletter svg.svgic {
    width: 14px !important;
    height: 14px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
}
#footer .newsletter-info {
    font-size: 11px !important;
    color: #888888 !important;
    margin-top: 8px !important;
    line-height: 1.4 !important;
}
#footer .elementor-social-icons-wrapper {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    margin-top: 10px !important;
}
#footer .elementor-social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease !important;
}
#footer .elementor-social-icon:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    opacity: 0.9 !important;
}
#footer .elementor-social-icon i.fab {
    font-size: 18px !important;
    color: #ffffff !important;
    line-height: 1 !important;
}
#footer .elementor-social-icon-facebook {
    background-color: #3b5998 !important;
}
#footer .elementor-social-icon-x-twitter {
    background-color: #000000 !important;
}
#footer .elementor-social-icon-youtube {
    background-color: #cd201f !important;
}/* ==========================================================================
   Header Search Button - Perfect Center Alignment of Magnifying Glass
   ========================================================================== */
#instantsearchpro .search-box,
.ispro-top-full #instantsearchpro .search-box {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}
#instantsearchpro .search-input,
.ispro-top-full #instantsearchpro .search-box .search-input {
    padding-right: 52px !important;
}
#instantsearchpro .button,
#instantsearchpro button.button {
    position: absolute !important;
    top: 50% !important;
    right: 4px !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    border-radius: 50% !important;
    background-color: #d80000 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    overflow: hidden !important;
    z-index: 5 !important;
}
#instantsearchpro .button:hover {
    background-color: #253237 !important;
}
#instantsearchpro .button i.fa-search,
#instantsearchpro .button i.fa {
    display: none !important;
}
#instantsearchpro .button svg.search,
#instantsearchpro svg.search {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
    fill: #ffffff !important;
}
#instantsearchpro .button svg.search path {
    fill: #ffffff !important;
}
/* ==========================================================================
   FontAwesome Brands Direct @font-face & Glyph Definitions
   ========================================================================== */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/modules/creativeelements/views/lib/font-awesome/webfonts/fa-brands-400.woff2') format('woff2'),
         url('/modules/creativeelements/views/lib/font-awesome/webfonts/fa-brands-400.woff') format('woff');
}
.fab,
.elementor-social-icon i.fab,
#footer .elementor-social-icon i.fab {
    font-family: 'Font Awesome 6 Brands' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    display: inline-block !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
}
.fa-facebook:before { content: "\f09a" !important; }
.fa-x-twitter:before { content: "\e61b" !important; }
.fa-youtube:before { content: "\f167" !important; }
/* ==========================================================================
   Footer - Newsletter, App Badges & Social Icons (Section jxax8tc)
   ========================================================================== */
.elementor-12010000 .elementor-element.elementor-element-jwhbdah .pk-ce-widget.pk-grid,
.elementor-12010000 .elementor-element.elementor-element-jwhbdah .pk-ce-widget,
#footer .elementor-widget-pos-newsletter .pk-ce-widget.pk-grid,
#footer .elementor-widget-pos-newsletter .pk-ce-widget {
    display: block !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
}
#footer .newsletter-widget {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
}
#footer .newsletter-form {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px 0 !important;
}
#footer .newsletter-widget .pknlinput-wrap {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    max-width: 300px !important;
    background: #ffffff !important;
    border: 1px solid #c8c8c8 !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    height: 44px !important;
    align-items: center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
}
#footer .newsletter-widget input.newsletter-input,
#footer .newsletter-widget input#newsletter-input-footer {
    flex: 1 1 auto !important;
    width: calc(100% - 44px) !important;
    height: 42px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 46px 0 16px !important;
    font-size: 13px !important;
    color: #333333 !important;
    display: block !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}
#footer .newsletter-widget input.newsletter-input::placeholder {
    color: #888888 !important;
    font-size: 13px !important;
}
#footer .newsletter-widget .submit-widget-newsletter {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    background-color: #d80000 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    z-index: 2 !important;
}
#footer .newsletter-widget .submit-widget-newsletter:hover {
    background-color: #253237 !important;
    transform: translateY(-50%) scale(1.05) !important;
}
#footer .newsletter-widget .submit-widget-newsletter svg.svgic {
    width: 14px !important;
    height: 14px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
}
#footer .newsletter-info {
    font-size: 11px !important;
    color: #666666 !important;
    line-height: 1.4 !important;
    display: block !important;
    width: 100% !important;
    max-width: 300px !important;
    word-break: normal !important;
    white-space: normal !important;
}
/* App Store & Google Play Badges */
.elementor-12010000 .elementor-element.elementor-element-l3vn3l6,
.elementor-12010000 .elementor-element.elementor-element-sk8tzdj {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.elementor-12010000 .elementor-element.elementor-element-l3vn3l6 .elementor-image img,
.elementor-12010000 .elementor-element.elementor-element-sk8tzdj .elementor-image img {
    max-height: 42px !important;
    width: auto !important;
    display: inline-block !important;
    border-radius: 6px !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}
.elementor-12010000 .elementor-element.elementor-element-l3vn3l6 .elementor-image img:hover,
.elementor-12010000 .elementor-element.elementor-element-sk8tzdj .elementor-image img:hover {
    transform: scale(1.04) !important;
    opacity: 0.9 !important;
}
/* Social Icons */
.elementor-12010000 .elementor-element.elementor-element-oskxjwb .elementor-social-icons-wrapper {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-top: 6px !important;
}
.elementor-12010000 .elementor-element.elementor-element-oskxjwb .elementor-social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease !important;
}
.elementor-12010000 .elementor-element.elementor-element-oskxjwb .elementor-social-icon:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    opacity: 0.9 !important;
}
.elementor-social-icon-facebook { background-color: #3b5998 !important; }
.elementor-social-icon-x-twitter { background-color: #000000 !important; }
.elementor-social-icon-youtube   { background-color: #cd201f !important; }