:root {
  --ff-icon-blank: 'icons-blank-theme';
  --ff-primary: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --theme-color: #d63031;
  --cat-page-width: 1280px;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body{
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    padding: 0 !important;
    font-family: var(--ff-primary);

}

h1,h2,h3,h4,h5{
  font-weight: 700;
  font-style: normal;
  color: #253D4E;
}

.action.primary.tocart{
    background: var(--theme-color) !important;
}


#search_mini_form {
    position: relative;
    z-index: 9999; /* Set a higher value than the overlay's z-index */
}

/* Overlay background */
#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent black */
    z-index: 45; /* Ensure it's behind the search box */
}

#search_mini_form,
.header .block.block-search {
    position: relative;
    z-index: 99; /* Higher than the overlay */
}

/* To disable scrolling when overlay is active */
body.overlay-active {
    overflow: hidden;
}


body:not(.cms-index-index) header.page-header {
    margin-bottom: 20px;
}

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

.cms-index-index .page-main {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.main-panel-top .main-panel-inner .panel.header {
    width: 100% !important;
    max-width: 100% !important;
}
.page-header .header.content {
    max-width: 100%;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    gap: 20px;
}
.page-header div.block-search .action.search:before {
    width: 30px !important;
    height: 30px !important;
    right: 50% !important;
    position: absolute;
    top: 78% !important;
    /* transform: translate(-50%, 0); */
    margin-top: 5px;
    margin-right: 10px;
}

.header-section-left {
    vertical-align: middle;
    width: 100%;
    float: left;
    max-width: 20%;
}

.form.minisearch input#search {
    background: #F9FAFE;
    padding: 20px 20px;
    border-radius: 30px;
    border: 1px solid #D6D6D6;
}
.form.minisearch input#search:focus {
    box-shadow: 0 0 5px #bababa !important;
}

.sections.nav-sections .navigation ul{
    text-align: center;
}

.navigation .level0 > .level-top {
    font-weight: 400;
    font-size: 17px;
    transition: 0.5s;
}
.navigation .level0 > .level-top:hover{
    color: #D63031;
}

.navigation .level0 > .level-top > span:after {
    content: '';
    position: absolute;
    background: #D63031;
    width: 10px;
    height: 2px;
    bottom: 8px;
    width: 90%;
    left: 0;
    transform: translate(10px, 0);
    transition: .5s;
    opacity: 0;
}
.navigation .level0 > .level-top:hover > span:after {
    opacity: 1;
}

.nav-sections{
    margin: 0;
}
.navigation{
    background: #fff !important;
}
.nav-sections-item-content {
    background: #fff;
    /* box-shadow: 0 0 5px #D6D6D6; */
    /* border-top: 1px solid #D6D6D6;
    border-bottom: 1px solid #D6D6D6; */
}

.navigation .level0.active>.level-top, .navigation .level0.has-active>.level-top{
    border: none !important;
}
body.page-products .sections.nav-sections {
    margin-bottom: 0;
}
.searchsuite-autocomplete{
    width: 100% !important;
    left: 0 !important;
	border-radius: 0 0px 24px 24px;
    border: none;
    max-height: 400px;
    overflow-y: auto;
}

/* width */
.searchsuite-autocomplete::-webkit-scrollbar {
  width: 6px;
}

/* Track */
.searchsuite-autocomplete::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.searchsuite-autocomplete::-webkit-scrollbar-thumb {
  background: var(--theme-color);
}

/* Handle on hover */
.searchsuite-autocomplete::-webkit-scrollbar-thumb:hover {
  background: #555;
}


.sections.nav-sections .navigation .level0 .submenu a {
    text-align: left;
}

/* .sections.nav-sections .navigation .level0 .submenu{
    font-weight: 700 !important;
} */

.cms-index-index .product-item  .product-image-container {
    width: 100%;
}

.product-item-details .price-final_price .price-container .price{
    font-size: 24px;
}

.product-item-info .product-item-details span.old-price .price {
    font-size: 14px !important;
}

header .minicart-wrapper .action.showcart .counter.qty {
    background: #D63031;
    width: 16px !important;
    height: 16px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    font-size: 10px;
    position: absolute;
    right: -8px !important;
    top: -8px !important;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.my-account-header-wrapper .header.links a {
        color: #333;
}
.header .minicart-wrapper .block-minicart {
    border: 0;
}
.my-account-header-wrapper:hover .header.links {
    display: block;
}
.my-account-header-wrapper .header.links:before {
    display: none;
}
div.header.content {
    padding: 20px 20px;
}
.panel.header ul.header.links {
    display: none;
}
.my-account-header-wrapper .header.links {
    display: none;
    position: absolute;
    z-index: 99;
    background: #fff;
    box-shadow: 0 3px 3px rgba(0,0,0,0.15);
    padding: 10px;
    list-style: none;
    top: 50px;
    width: 170px;
}
div.nav-sections-item-content div#switcher-currency-nav {
    display: none;
}
.header .block.block-search {
    float: unset;
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 440px);
    padding-left: 0px;
}
.my-account-header-wrapper {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
    font-size: 14px;
}
.header .minicart-wrapper {
    float: unset;
    vertical-align: middle;
}
.header .block-search .nested {
    display: none;
}
.header .block-search .control {
    padding-bottom: 0px;
}

.block-minicart .block-content > .actions > .primary .action.primary{
    background: #D63031;
    border: none;
}

.searchsuite-autocomplete ul li a {
    cursor: pointer;
    color: #000;
}

.qs-option-reviews {
    display: none !important;
}

.searchsuite-autocomplete .special-price span.price {
    font-size: 22px;
}

.catalogsearch-result-index button.action.tocart.primary,
.catalog-category-view button.action.tocart.primary  {
    background: #D63031;
    border: none;
}

.navigation .level0.has-active > .level-top {
    border: none;
}

.main-footer .page-main {
    max-width: 100%;
}

header.page-header.active .main-panel-top {
    display: none;
}
header.page-header{
    background: #fff ;
    box-shadow: 0 0 5px #D6D6D6;
}
span.my-account-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;
    background: url(../images/home-new/user.svg);
    background-size: 100%;
}

span.my-account-header-btn{
    display: flex;
    align-items: center;
    gap: 10px;
}

span.my-account-bg {
    display: inline-block;
    background: #F1F2F6;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.page-header div.block-search .action.search:before {
    font-family: none !important;
    content: '' !important;
    background: url(../images/home-new/search.svg) no-repeat !important;

}
div.block-search .action.search {
    padding: 0;
    right: 0;
}
div.minicart-wrapper .action.showcart:before {
    background: url(../images/home-new/addto.svg) no-repeat;
    background-size: 100%;
    width: 22px;
    height: 22px;
    content: "";
    display: inherit;

}

span.support-icon:before {
    background: url(../images/home-new/hireus.svg) no-repeat;
     width: 22px;
    height: 22px;
    content: "";
    margin-right: 5px;
    content: '' !important;
}

div.header-section-right {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.header .minicart-wrapper .action.showcart.active:before {
    content: "";
}

.header .minicart-wrapper {
    float: unset;
    vertical-align: middle;
    margin: 0;
    background: #F1F2F6;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
span.support-icon:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 45px;
    line-height: 24px;
    color: inherit;
    content: "\e61d";
    font-family: var(--ff-icon-blank);
    vertical-align: top;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: center;
}
.custom-hire-us-link {
    color: #fff;
    display: inline-block;
    background: #D63031;
    font-size: 16px;
    padding: 10px 10px;
    border-radius: 30px;
    text-decoration: none !important;
}

.product-info-main h1.page-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4 !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
.info_short_description ul li:before {
    position: absolute;
    width: 20px;
    height: 20px;
    content: "";
    left: 0;
    top: 2px;
    border-radius: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23E4F7EC'/%3E%3Cpath fill='%2314AE5C' d='M8.5 13.5L5.5 10.5 6.9 9.1 8.5 10.7 13.1 6.1 14.5 7.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.product-options-wrapper .product-custom-option.admin__control-select {
    -moz-appearance: none;
    /* Firefox */
    -webkit-appearance: none;
    /* Safari and Chrome */
    appearance: none;
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 5px;
    background-image: url("../images/keyboard_arrow_up.svg");
}

.fotorama__arr.fotorama__arr--next .fotorama__arr__arr {
    background-image: url("../images/pdp_page/arrow-right-solid.svg");
    background-position: center;
}

.fotorama__arr.fotorama__arr--prev .fotorama__arr__arr {
    background-image: url("../images/pdp_page/arrow-left-solid.svg");
    background-position: center;
}

.rating_section {
    width: 164px;
}

.rating_section .rating {
    border: none;
}

.rating_section .rating > label {
    color: #ddd;
    float: right;
}

.review_count,
.qunatity_sold {
    margin-left: 36px;
    position: relative;
}

.review_count:before,
.qunatity_sold:before {
    position: absolute;
    content: "";
    width: 2px;
    height: 55%;
    background: #979797;
    top: 5px;
    left: -20px;
}

.price-box.price-final_price {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row-reverse;
    gap: 10px;
    flex-wrap: wrap;

}

.price-box.price-final_price .price-label {
    display: none;
}

.product-info-main span.old-price .price-final_price span.price {
    font-size: 16px;
    margin-left: 20px;
    margin-right: 20px;
    color: #585858;
}

.product-info-main span.special-price .price-final_price span.price {
    font-size: 24px;
    color: #262626;
}

.product-info-main .price-box .price-wrapper .price,
.product-options-bottom .price-box .price-wrapper .price {
    font-weight: 400;
}

.product-info-main,
.page-product-downloadable .product-add-form {
    padding-left: 52px;
}

.product-info-main .special-price,
.product-options-bottom .special-price {
    margin: 0;
    line-height: 1;
}

.product-info-main .price-box {
    margin-top: 24px;
}

.discount_box span {
    border-radius: 20px;
    background: rgba(30, 183, 101, 0.41);
    padding: 6px 5px;
    color: #186d35;
    line-height: 10px;
    font-size: 12px;
    /* margin-bottom: 5px; */
    display: inline-block;
}

.info_short_description {
    border-top: 1px solid #979797;
    margin-top: 24px;
}

.info_short_description br {
    display: none;
}

.info_short_description h2,
.info_short_description h3 {
    font-weight: 700;
    font-size: 18px;
    color: #262626;
    margin: 0 0 12px;
}

.info_short_description p {
    margin: 0 0 12px;
}

.info_short_description ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.info_short_description ul li {
    font-size: 16px;
    position: relative;
    list-style: none;
    margin: 0 0 14px;
    padding: 0 0 0 32px;
    line-height: 1.5;
    color: #333;
}

.info_short_description ul li:last-child {
    margin-bottom: 0;
}

.product-info-main .product-add-form .box-tocart .field.qty {
    display: none;
}

.product-info-main .box-tocart,
.product-info-main .admin_demo_btn {
    float: left;
    padding-top: 0;
}

.box-tocart .action.primary.tocart {
    background: #f56f25;
}


.product-add-form .fieldset:last-child {
    margin: 0;
}

.product-info-main .price-box .price-container.price-final_price {
    margin-bottom: -3px;
}

/* .product-info-main
.price-box
.price-container.price-final_price
.price-wrapper
.price {
    font-weight: 700;
} */

.product-info-main .box-tocart .actions,
.product-options-bottom .box-tocart .actions {
    padding-top: 0;
}

.product-info-main .product-addto-links,
.product-info-main .box-tocart {
    margin: 0;
}

.discount_box {
    margin-left: 10px;
}

.buttons_addto_cart {
    display: flex;
    align-items: center;
    float: left;
}

.product-social-links {
    float: right;
    /* padding-top: 25px; */
}
.panel.header {
    padding: 0 !important;
}

div#product-options-wrapper {
    margin-bottom: 30px;
}

.product.data.items > .item.title > .switch {
    height: auto !important;
    font-size: 24px !important;
}

.product-options-wrapper .input-text.product-custom-option,
.product-options-wrapper .product-custom-option.admin__control-select {
    border-radius: 5px;
    height: 40px;
    border-color: #000;
}

.product-options-wrapper h2 {
    font-size: 20px;
    margin-top: 0;
}

.product-info-main {
    margin-bottom: 10px;
}

/* .catalog-product-view.page-layout-1column .product.media {
    width: 70%;
} */

.catalog-product-view .column.main {
    min-height: auto;
    padding: 0 !important;
    overflow: visible !important;
}

.catalog-product-view.page-layout-1column .product.media,
.catalog-product-view.page-layout-1column .product-info-main,
.catalog-product-view .product-social-links {
    width: calc(100% - 490px) !important;
    max-width: calc(100% - 490px);
    float: left;
    clear: left;
}

.catalog-product-view.page-layout-1column .product-info-main {
    padding: 0;
}

.catalog-product-view .product-info-main .product.info.detailed {
    width: 100% !important;
    max-width: 100%;
    float: none;
    clear: none;
    position: static;
    opacity: 1;
    margin-top: 30px;
}

.catalog-product-view .custom-right-container {
    float: right;
    width: 400px;
    max-width: 400px;
    display: block;
    clear: right;
    overflow: visible;
    height: auto;
    max-height: none;
}

.catalog-product-view .custom-right-container .fixed-sidebarbar.desktop-view {
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    overflow: visible;
    height: auto;
    max-height: none;
    position: sticky;
    top: 20px;
    z-index: 5;
}

.catalog-product-view .custom-right-container .fixed-sidebarbar.desktop-view.fixed {
    width: 100%;
    max-width: 400px;
}

.page-product-downloadable.catalog-product-view .custom-right-container .product-add-form,
.page-product-downloadable.catalog-product-view .custom-right-container .product-options-wrapper,
.page-product-downloadable.catalog-product-view .custom-right-container .product-options-bottom {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    padding-left: 0 !important;
    clear: both !important;
}

.catalog-product-view .custom-right-container .product_options_container,
.catalog-product-view .custom-right-container .other_description {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

/* PDP right sidebar — revamp (match reference design) */
.catalog-product-view .pdp-sidebar-revamp {
    font-family: var(--ff-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-buy-now-wrap,
.catalog-product-view .pdp-sidebar-revamp .pdp-buy-now-wrap .action.buy-now {
    width: 100%;
}

.catalog-product-view .pdp-sidebar-revamp .action.buy-now {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    border: none;
    border-radius: 6px;
    background: #e53935;
    color: #fff;
    text-transform: none;
    box-sizing: border-box;
    cursor: pointer;
}

.catalog-product-view .pdp-sidebar-revamp .action.buy-now:hover,
.catalog-product-view .pdp-sidebar-revamp .action.buy-now:focus {
    background: #c62828;
    color: #fff;
}

.catalog-product-view .pdp-sidebar-revamp .action.buy-now:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    align-items: stretch;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions .box-tocart,
.catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions .admin_demo_btn {
    width: 100%;
    margin: 0;
    min-width: 0;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions .box-tocart .actions {
    padding: 0;
    width: 100%;
}

.catalog-product-view .pdp-sidebar-revamp .box-tocart .action.tocart.secondary,
.catalog-product-view .pdp-sidebar-revamp .buttons_addto_cart .admin_demo_btn .trigger,
.catalog-product-view .pdp-sidebar-revamp .buttons_addto_cart .admin_demo_btn button.trigger,
.catalog-product-view .pdp-sidebar-revamp .buttons_addto_cart .admin_demo_btn button {
    width: 100% !important;
    min-height: 48px;
    padding: 12px 14px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    border-radius: 6px !important;
    border: 1px solid #d0d0d0 !important;
    background: #fff !important;
    color: #333 !important;
    text-transform: none !important;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
}

.catalog-product-view .pdp-sidebar-revamp .box-tocart .action.tocart.secondary:hover,
.catalog-product-view .pdp-sidebar-revamp .buttons_addto_cart .admin_demo_btn .trigger:hover,
.catalog-product-view .pdp-sidebar-revamp .buttons_addto_cart .admin_demo_btn button:hover {
    background: #f5f5f5 !important;
    border-color: #bdbdbd !important;
    color: #111 !important;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions .admin_demo_btn:empty {
    display: none;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions:has(.admin_demo_btn:empty) {
    grid-template-columns: 1fr;
}

.catalog-product-view .pdp-sidebar-revamp .other_description ul li a {
    display: inline;
}

.catalog-product-view .pdp-sidebar-revamp .other_description p {
    margin: 0 0 8px;
}

.catalog-product-view .pdp-sidebar-revamp .other_description > ul > li.pdp-sidebar-version {
    padding-left: 16px;
}

.catalog-product-view .pdp-sidebar-revamp .other_description > ul > li.pdp-sidebar-version::before {
    display: none;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-documentations {
    margin-top: 16px;
    padding: 0;
    border: none;
    background: transparent;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-documentations ul,
.catalog-product-view .pdp-sidebar-revamp .pdp-promotion-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none !important;
}

.catalog-product-view .pdp-sidebar-revamp .other_description .pdp-promotion-list > li,
.catalog-product-view .pdp-sidebar-revamp .pdp-documentations .pdp-promotion-list > li {
    list-style: none !important;
    display: block;
    margin: 0 0 8px 0 !important;
    padding: 0 0 0 26px;
    position: relative;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #333;
}

.catalog-product-view .pdp-sidebar-revamp .other_description .pdp-promotion-list > li:last-child,
.catalog-product-view .pdp-sidebar-revamp .pdp-documentations .pdp-promotion-list > li:last-child {
    margin-bottom: 0 !important;
}

.catalog-product-view .pdp-sidebar-revamp .other_description .pdp-promotion-list > li::before,
.catalog-product-view .pdp-sidebar-revamp .pdp-documentations .pdp-promotion-list > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2314AE5C' d='M6.5 12.5L2 8l1.4-1.4 3.1 3.1 6.1-6.1L14 5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-documentations h3,
.catalog-product-view .pdp-sidebar-revamp .pdp-documentations h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    display: block;
    color: #111;
    line-height: 1.3;
}

.catalog-product-view .pdp-sidebar-revamp .other_description .pdp-promotion-list > li strong,
.catalog-product-view .pdp-sidebar-revamp .other_description .pdp-promotion-list > li a,
.catalog-product-view .pdp-sidebar-revamp .pdp-documentations .pdp-promotion-list > li strong,
.catalog-product-view .pdp-sidebar-revamp .pdp-documentations .pdp-promotion-list > li a {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
}

.catalog-product-view .pdp-sidebar-revamp .other_description .pdp-promotion-list > li a:hover,
.catalog-product-view .pdp-sidebar-revamp .pdp-documentations .pdp-promotion-list > li a:hover {
    color: #111;
    text-decoration: underline;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-documentations .right-bar-support,
.catalog-product-view .pdp-sidebar-revamp .pdp-documentations .right-bar-section {
    margin: 0;
    padding: 0;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-sidebar-categories {
    margin-top: 16px;
    padding: 0;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-sidebar-categories h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
    color: #111;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none !important;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-category-list li {
    margin: 0 !important;
    padding: 0;
    list-style: none !important;
    display: block;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-category-pill {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-category-pill:hover,
.catalog-product-view .pdp-sidebar-revamp .pdp-category-pill:focus {
    background: #e5e7eb;
    color: #111;
    text-decoration: none !important;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-extension-information {
    margin-top: 16px;
    padding: 0;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-extension-information h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
    color: #111;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-extension-info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none !important;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-extension-info-list li {
    margin: 0 !important;
    padding: 0;
    list-style: none !important;
    display: block;
}

.catalog-product-view .pdp-sidebar-revamp .pdp-info-pill {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.catalog-product-view .product.data.items > .item.content {
    margin-top: 33px;
}

.catalog-product-view .product.data.items > .item.title > .switch {
    border: none;
    background: transparent;
    padding-left: 0;
}

.catalog-product-view .data.item.title.active .data.switch {
    border-bottom: 2px solid #000;
}

.catalog-product-view .data.item.title .data.switch {
    font-size: 24px !important;
    font-weight: 700 !important;
}

.catalog-product-view .product.data.items > .item.title {
    margin: 0 100px 0 0;
}

.catalog-product-view .product.attribute.description p {
    font-size: 16px;
    color: #585858;
}

.page-product-downloadable.catalog-product-view.page-layout-1column
.product-options-bottom {
    float: none;
    width: 100%;
}

.page-product-downloadable .product-add-form {
    clear: none;
    /* margin-bottom: 25px; */
    float: right;
    width: 45%;
}

/* rating section */

.rating-summary .rating-result {
    width: 140px;
}

.rating-summary .rating-result:before,
.rating-summary .rating-result > span:before {
    font-size: 36px;
}

.rating-summary .rating-result {
    margin-left: 0px;
}

.reviews-actions a,
.qunatity_sold span {
    color: #585858;
    font-size: 15px;
    /* font-weight: 700; */
    display: inline-block;
}


.fotorama__wrap .fotorama__arr {
    background-color: rgb(255, 255, 255);
    height: 35px;
    width: 35px;
    border-radius: 5px;
    box-shadow: 4px 6px 6px 0px rgba(92, 92, 92, 0.25);
    padding: 20px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%) !important;
}

.fotorama__arr.fotorama__arr--next {
    transform: translate(-6px, -50%) !important;
}

.fotorama__arr.fotorama__arr--prev {
    transform: translate(6px, -50%) !important;
}

.product.info.detailed .product.data.items > .item.content {
    padding: 20px 0;
}

.product-info-main h1.page-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info-main .box-tocart .actions {
    padding-top: 0 !important;
}

.page-product-downloadable .product-options-wrapper {
    width: 100% !important;
}

.catalog-product-view.page-layout-1column main#maincontent {
    margin-top: 0;
}

.main-panel-inner .panel.wrapper .switcher {
    display: none;
}


.header-penal-span{
    display: flex;
    align-items: center;
    gap: 20px;

}
.header_mobile_bottom.mobile_only {
    display: none;
}

.catalog-product-view .fixed-sidebarbar .box-tocart {
    width: 100%;
}

.page-header .header.panel{
    padding: 0;
}

.fotorama__arr .fotorama__arr__arr{
    height: 15px !important;
    width: 15px !important;
}


.certifications img {
    padding: 0px;
}
/* Homepage Product Block Heading Start */
.cms-index-index .block-new-products .block-title {
    text-align: center;
    margin-top: 60px;
}
.cms-index-index .block-new-products .block-title strong {
    font-weight: bold;
    color: black;
    text-align: center;
    border-bottom: Solid 2px #c10000;
    width: auto;
    line-height: 1.1;
    font-size: 2.6rem;
}
/* Homepage Product Block Heading End */

.product.data.items>.item.title>.switch{height: auto!important;}
.support-header-wrapper a:hover {
    color: #fff;
}
.support-header-wrapper a:visited {
    color: #fff;
}

/* widget gaps start */

.cms-index-index .widget.block.block-static-block {
    float: left;
    width: 100%;
}

/* widget gaps end*/

.product.info.detailed {
    position: relative;
    opacity: 1;
}
.my-account-header-wrapper ul.header.links > header.page-header {
    display:none;
}
.my-account-header-wrapper ul.header.links > header.page-header {
    display:none;
}

.saas-hub-logo img.tr-pilot-img {
    width: 150px !important;
    height: 100% !important;
}
.saas-hub-logo {
    left: -52px !important;
}


.custom-right-container .product-social-links {
    display: none;
}
.page-product-downloadable .product-options-wrapper{
    float: none !important;

}
body.page-product-downloadable.catalog-product-view .column.main .product-add-form {
    width: 100%;
    clear: both;
    float: none;
    padding-left: 0;
}



.main-footer ul {
    padding-left: 0;
    list-style: none;
}

ul.items .item {
    font-size: 16px;
    color: #575757;
}
.breadcrumbs a:hover{
    text-decoration: none;
    color: var(--theme-color);
}

body button.primary{
    background: var(--theme-color) !important;
    border: 1px solid var(--theme-color) !important;
}

.catalog-product-view .page-bottom,
.catalog-product-view .breadcrumbs,
.catalog-product-view #maincontent.page-main{
    width: 100%;
    max-width: var(--cat-page-width) !important;
    padding-right: .75rem !important;
    padding-left: .75rem !important;
}

body.page-products .page-bottom,
body.page-products .breadcrumbs,
body.page-products #maincontent.page-main{
    width: 100%;
    max-width: var(--cat-page-width) !important;
    padding-right: .75rem !important;
    padding-left: .75rem !important;
}


.catalog-product-view header.page-header,
body.page-products header.page-header{
    margin-bottom: 0 !important;
}
.catalog-product-view .nav-sections{
    margin-bottom: 0;
}


body.page-products  .product-item-actions .actions-primary,
body.page-products button.action.tocart.primary{
    width: 100%;
}

.page-products .products-grid .product-item-info {
    width: 100%;
}

body.page-products .products-grid button.action.tocart.primary{
    padding: 12px 0;
}

body.page-products .product.actions.product-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

body.page-products span.product-image-container.product-image-container-5 {
    width: 100%;
}
body.page-products .products-grid a.product.photo.product-item-photo {
    width: 100%;
    display: block;
    max-width: 100%;
}
body.page-products .products-grid img.product-image-photo {
    display: block;
    width: 100% !important;
}

.page-products .product.details.product-item-details {
    padding: 14px 10px;
}

.page-products .products-grid .product-item-info {
    width: 100%;
    /* border: 1px solid #bababa; */
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 3px rgba(13, 40, 95, .05), 0 4px 8px rgba(112, 128, 160, .12);
    transition: min-height .4s ease-in-out;
}

.page-products .products-grid .product-image-container{
    display: inline-block;
    max-width: 100% !important;
    width: 100% !important;
}


.page-products  .page-wrapper {
    background: #F9FAFB;
}

.page-products .product-item-details .product-item-link{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    min-height: 48px;
    transition: .5s;
}

.page-products .product-item-details .product-item-link:hover{
    text-decoration: none;
    color: var(--theme-color);
}

.page-products .products-grid ol.products.list.items.product-items {
    display: flex;
    flex-wrap: wrap;
}

.page-products .products-grid li.item.product.product-item {
    align-items: stretch;
    display: flex;
    transition: .5s;
}

.page-products .products-grid li.item.product.product-item:hover {
    transform: scale(1.04);
}

.page-products .products-grid div.product-item-info{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-products .products-grid .product-items .product-item .review-block {
    min-height: 32px;
}

.page-products.page-layout-2columns-left .sidebar-main{
    width: 24%;
    padding-right: 0;
    margin: 0 0 15px;
    padding: 25px 20px;
    border-radius: 4px;
    background: #f3f4f6;
}

.page-products.page-layout-2columns-left .column.main {
    width: 75%;
    padding-left: 0;

}
.sidebar.sidebar-main .filter-subtitle {
    display: none;
}

.sidebar.sidebar-main .block.filter .filter-title strong {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    display: block;
    margin-bottom: 8px;
}

/* PLP sidebar — accordion filters (parent rows + 1px divider) */
.page-products .sidebar.sidebar-main .filter-options {
    margin: 0;
}

.page-products .sidebar.sidebar-main .filter-options-item {
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    padding: 0;
}

.page-products .sidebar.sidebar-main .filter-options-item:last-child {
    border-bottom: none;
}

.page-products .sidebar.sidebar-main .filter-options-title {
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    margin: 0 !important;
    padding: 14px 28px 14px 0;
    cursor: pointer;
    position: relative;
    word-break: normal;
}

.page-products .sidebar.sidebar-main .filter-options-title:after {
    content: '';
    position: absolute;
    right: 2px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -2px;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-products .sidebar.sidebar-main .filter-options-item.active .filter-options-title:after {
    transform: translateY(-50%) rotate(-135deg);
    border-color: #6b7280;
}

.page-products .sidebar.sidebar-main .filter-options-content {
    margin: 0 !important;
    padding: 0 0 14px;
}

.page-products .sidebar.sidebar-main .filter-options-content ol.items {
    padding: 0;
    margin: 0;
    list-style: none;
}

.page-products .sidebar.sidebar-main .filter-options-content .item {
    margin: 0;
    padding: 7px 0;
    line-height: 1.4;
}

.filter-options-content .items a {
    color: #374151;
    font-size: 14px;
    transition: color 0.2s ease;
    display: block;
}

.filter-options-content .items a:hover {
    color: var(--theme-color);
    text-decoration: none;
}

.sidebar.sidebar-main .filter-options .count {
    color: #9ca3af;
    float: right;
    font-size: 13px;
}

.sidebar.sidebar-main .filter-options .count:before,
.sidebar.sidebar-main .filter-options .count:after {
    display: none;
}
body .breadcrumbs {
    margin: 0 auto;
    padding: 20px 0 !important;
}
/* .catalog-product-view .fotorama__stage__frame .fotorama__img{
    width: 100%;
} */
.button_group_set a.action.tocompare img,
.admin_demo_btn button img {
    width: 20px;
    opacity: .5;
}

.demo-admin-detail table, .demo-admin-detail th, .demo-admin-detail td {
  border:1px solid #bababa;
  font-size: 15px;
}

.demo-admin-detail p {
    margin-top: 20px;
    font-size: 14px;
}

.admin_demo_btn button.trigger,
.button_group_set a.action.tocompare {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin_demo_btn .modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
    z-index: 10000;
}
.admin_demo_btn .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem;
    width: 500px;
    border-radius: 0.5rem;
}
.admin_demo_btn .close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}
.admin_demo_btn .close-button:hover {
    background-color: darkgray;
}
.admin_demo_btn .modal.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.catalog-product-view .custom-right-container .admin_demo_btn .modal {
    position: fixed;
    z-index: 10050;
}

a.action.mailto.friend {
    display: none;
}

.custom-style-product-list .slick-track {
    margin-left: 0;
}

.custom-style-product-list .slick-slide{
    margin-right: 10px;
}

.product-item-actions .actions-secondary{
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px;
}

.mp-social-popup {
    width: 100%;
}
.mp-social-popup #social-form-create label{
    text-align: left;
}
.mp-social-popup label[for="captcha_user_create"] {
    /* background: red; */
    width: 100% !important;
    margin-bottom: 20px !important;
}
.mp-social-popup .control.captcha {
    width: 100% !important;
}

.block.social-login-authentication-channel {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 2rem;

}

.navigation .level0 .submenu a {
    font-weight: 500;
    font-size: 16px;
}

#customPopup .tab-content .right-column .title,
#customPopup .tab-content .right-column .short_description{
	display: none;
}


.social-container ul li a,
.main-footer .box ul li a,
.badges-container ul li a {
    transition: .2s;
    display: inline-block;

}
.social-container ul li a:hover,
.badges-container ul li a:hover {
    transform: scale(1.1);
    font-weight: 700;
}
.main-footer .box ul li a:hover {
    color: #D63031;
}
.minicart-wrapper .block-minicart:before, .minicart-wrapper .block-minicart:after{
    display: none;
}

.my-account-header-wrapper .header.links a:hover {
    color: #D63031;
    text-decoration: none;
}

/* =====================================================================
   AALOGICS HEADER REDESIGN (mobile-first, dynamic Magento nav)
   Layout: [hamburger + logo] | [inline nav (desktop) / drawer (mobile)] | [actions]
   ===================================================================== */

:root {
    --aal-header-accent: #FF5722;
    --aal-header-accent-hover: #e64a19;
    --aal-header-text: #2c2c2c;
    --aal-header-muted: #6b7280;
    --aal-topbar-bg: #FF5722;
    --aal-topbar-text: #ffffff;
}

/* Hide the legacy standalone nav row (we render catalog.topnav inline in the header) */
header.page-header .core-navigation-section-wrapper {
    display: none !important;
}

/* ===== TOPBAR (overrides the CMS block's inline styling) ===== */
header.page-header .main-panel-top,
header.page-header .main-panel-top .topbar-inner {
    background: linear-gradient(90deg, #FF5722 0%, #FF6B35 50%, #FF5722 100%) !important;
    color: var(--aal-topbar-text) !important;
    font-size: 14px;
    line-height: 1.4;
}
header.page-header .main-panel-top .container,
header.page-header .main-panel-top .main-panel-inner,
header.page-header .main-panel-top .panel.wrapper,
header.page-header .main-panel-top .panel.header,
header.page-header .main-panel-top .topbar-inner .container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    background: transparent !important;
}
header.page-header .main-panel-top .panel.header {
    padding: 0;
    display: block;
}
header.page-header .main-panel-top .header-panel-block { display: block; }
header.page-header .main-panel-top .topbar-inner p {
    margin: 0 !important;
    padding: 10px 16px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    letter-spacing: 0.2px;
}
/* Lightning bolt icon before the text (matches the first picture) */
header.page-header .main-panel-top .topbar-inner p:before {
    content: '\26A1';
    display: inline-block;
    margin-right: 8px;
    font-size: 16px;
    vertical-align: middle;
    line-height: 1;
}
/* Links inside the topbar - white, underlined, bold (like "Shop Now") */
header.page-header .main-panel-top a,
header.page-header .main-panel-top .topbar-inner p a {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    margin-inline-start: 10px;
    transition: opacity .2s ease;
    background: transparent !important;
}
header.page-header .main-panel-top a:hover,
header.page-header .main-panel-top .topbar-inner p a:hover {
    color: #fff5ee !important;
    opacity: 0.92;
}
header.page-header .main-panel-top p { margin: 0; }

/* Header shell */
header.page-header {
    margin-bottom: 0 !important;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 2px 6px rgba(0,0,0,0.04);
    position: relative;
    z-index: 50;
}
body:not(.cms-index-index) header.page-header { margin-bottom: 20px; }

/* The flex row */
.page-header .header.content {
    max-width: 1280px;
    width: 100% !important;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
}

/* ===== LEFT: hamburger + brand logo ===== */
.page-header .header-section-left {
    flex: 0 0 auto;
    max-width: none;
    width: auto;
    float: none;
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
}
.header-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--aal-header-text);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}
body.aal-nav-open .header-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.aal-nav-open .header-nav-toggle span:nth-child(2) { opacity: 0; }
body.aal-nav-open .header-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}
.header-brand-logo img {
    height: 44px;
    width: auto;
    max-width: none;
    display: block;
}

/* Hide the default Magento .logo + .nav-toggle if still rendered elsewhere */
.page-header .header-section-left .logo,
.page-header .header-section-left .action.nav-toggle {
    display: none !important;
}

/* ===== MIDDLE: navigation (inline on desktop, drawer on mobile) ===== */
.page-header .header-section-middle {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    min-width: 0;
    min-height: 0;
    height: auto;
    position: relative;
}
.page-header .header-section-left,
.page-header .header-section-right {
    align-self: center;
}

/* Drawer header (only visible on mobile when drawer is open) */
.header-nav-drawer-head { display: none; }
.header-nav-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: var(--aal-header-text);
    cursor: pointer;
    padding: 0;
}
.header-brand-logo--drawer img { height: 36px; }

/* Catalog topnav: we now render <nav class="navigation"> directly inside .header-section-middle (no .nav-sections wrappers) */
.page-header .header-section-middle > .navigation {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none;
    height: auto !important;
    min-height: 0 !important;
    width: auto !important;
    display: flex;
    align-items: center;
    align-self: center;
}
.page-header .header-section-middle .navigation > ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 38px;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
    text-align: center;
    align-items: center;
    background: transparent !important;
    box-shadow: none !important;
}
/* Target only the TOP-LEVEL list items (li.level0.level-top), NOT the .level0 submenu UL */
.page-header .header-section-middle .navigation li.level0 {
    margin: 0 !important;
    border: 0 !important;
    position: relative;
    display: inline-flex !important;
    align-items: center;
}
.page-header .header-section-middle .navigation .level0 > .level-top {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--aal-header-text);
    padding: 8px 4px;
    text-decoration: none;
    position: relative;
    background: transparent !important;
    border: 0 !important;
    transition: color .25s ease;
    display: inline-block;
}
.page-header .header-section-middle .navigation .level0 > .level-top:hover,
.page-header .header-section-middle .navigation .level0.active > .level-top,
.page-header .header-section-middle .navigation .level0.has-active > .level-top {
    color: var(--aal-header-accent);
}

/* Underline indicator - sized to text via inline span; never causes layout shift */
.page-header .header-section-middle .navigation .level0 > .level-top > span {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}
.page-header .header-section-middle .navigation .level0 > .level-top > span:after {
    content: '';
    position: absolute;
    background: var(--aal-header-accent);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    transform: none;
    border-radius: 2px;
    opacity: 0;
    transition: opacity .25s ease;
}
.page-header .header-section-middle .navigation .level0:hover > .level-top > span:after,
.page-header .header-section-middle .navigation .level0.active > .level-top > span:after,
.page-header .header-section-middle .navigation .level0.has-active > .level-top > span:after {
    opacity: 1;
}

/* Restore the small caret arrow on parent items (e.g. Extensions ▾) */
.page-header .header-section-middle .navigation li.level0.parent > .level-top {
    padding-right: 18px;
}
.page-header .header-section-middle .navigation li.level0.parent > .level-top > .ui-menu-icon {
    display: inline-block !important;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    text-decoration: none;
    color: inherit;
}
.page-header .header-section-middle .navigation li.level0.parent > .level-top > .ui-menu-icon:after {
    content: '' !important;
    display: block;
    width: 7px;
    height: 7px;
    border: 0 !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 1px;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    background: none !important;
}

/* ---- Submenu dropdown (hover) - VERTICAL list ---- */
.page-header .header-section-middle .navigation li.level0 ul.submenu {
    display: none;
    position: absolute;
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.10) !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    min-width: 260px !important;
    width: auto !important;
    height: auto !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    z-index: 100;
    list-style: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
}
.page-header .header-section-middle .navigation li.level0:hover > ul.submenu,
.page-header .header-section-middle .navigation li.level0.ui-state-active > ul.submenu {
    display: block !important;
}

/* Hover bridge so the cursor moving from link to submenu doesn't close it */
.page-header .header-section-middle .navigation li.level0 ul.submenu:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

/* Submenu list items - VERTICAL, full-width */
.page-header .header-section-middle .navigation li.level0 ul.submenu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    text-align: left;
    display: block !important;
    width: 100% !important;
    border: 0 !important;
    position: relative;
    float: none !important;
}
.page-header .header-section-middle .navigation li.level0 ul.submenu li a {
    display: block !important;
    padding: 12px 22px !important;
    color: var(--aal-header-text) !important;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none !important;
    line-height: 1.4;
    transition: background .15s ease, color .15s ease;
    border-bottom: 0;
    background: transparent !important;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}
.page-header .header-section-middle .navigation li.level0 ul.submenu li a:hover,
.page-header .header-section-middle .navigation li.level0 ul.submenu li.active > a,
.page-header .header-section-middle .navigation li.level0 ul.submenu li.has-active > a {
    background: rgba(255, 87, 34, 0.06) !important;
    color: var(--aal-header-accent) !important;
}

/* Nested submenus: open to the right of the parent submenu item */
.page-header .header-section-middle .navigation li.level0 ul.submenu ul.submenu {
    top: -9px !important;
    left: 100% !important;
    margin-left: 4px;
}

/* Right-arrow indicator on submenu items that have a nested submenu (matches first picture) */
.page-header .header-section-middle .navigation li.level0 ul.submenu li.parent > a {
    padding-right: 36px !important;
    position: relative;
}
.page-header .header-section-middle .navigation li.level0 ul.submenu li.parent > a > .ui-menu-icon {
    display: inline-block !important;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
}
.page-header .header-section-middle .navigation li.level0 ul.submenu li.parent > a > .ui-menu-icon:after {
    content: '' !important;
    display: block;
    width: 6px;
    height: 6px;
    border: 0 !important;
    border-right: 2px solid currentColor !important;
    border-top: 2px solid currentColor !important;
    transform: rotate(45deg);
    position: absolute;
    top: 1px;
    left: 0;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    background: none !important;
}
.page-header .header-section-middle .navigation li.level0 ul.submenu li.parent > a > .ui-menu-icon.ui-icon {
    background: none !important;
    text-indent: 0 !important;
    overflow: visible !important;
}
.page-header .header-section-middle .navigation li.level0 ul.submenu li.parent > a > .ui-menu-icon.ui-icon:before {
    display: none !important;
    content: none !important;
}

/* ===== RIGHT: actions ===== */
.page-header .header-section-right {
    flex: 0 0 auto;
    width: auto;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}
.page-header .header-section-right .header-search-toggle,
.page-header .header-section-right .my-account-bg,
.page-header .header-section-right .minicart-wrapper .action.showcart {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: var(--aal-header-text);
    transition: background .2s ease;
}
.page-header .header-section-right .header-search-toggle:hover,
.page-header .header-section-right .my-account-header-btn:hover .my-account-bg,
.page-header .header-section-right .minicart-wrapper .action.showcart:hover {
    background: #f5f5f5;
}

/* Search: icon + full-width overlay panel */
.header-search-wrapper { position: relative; display: inline-block; }
.header-search-toggle .header-search-icon {
    width: 22px;
    height: 22px;
    background: url('../images/home-new/search.svg') no-repeat center / contain;
    display: inline-block;
}

.header-search-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
body.aal-search-open .header-search-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
body.aal-search-open {
    overflow: hidden;
}

.header-search-panel {
    position: fixed;
    top: 120px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-12px);
    width: min(650px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    background: #fff;
    padding: 16px 20px 20px;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    z-index: 410;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: block;
    box-sizing: border-box;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}
body.aal-search-open .header-search-panel,
.header-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.header-search-panel .block.block-search { width: 100% !important; padding: 0; float: none; }
.header-search-panel .block.block-search .block-title { display: none; }
.header-search-panel .form.minisearch { width: 100%; }
.header-search-panel .form.minisearch .field.search,
.header-search-panel .form.minisearch .field.search .control {
    width: 100%;
    position: relative;
}
.header-search-panel .block-search:not(.aalogics-ai-enhanced) .form.minisearch input#search {
    background: #f7f7f9;
    padding: 12px 44px 12px 16px;
    border-radius: 24px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}
.header-search-panel .form.minisearch .nested { display: none; }
.header-search-panel .form.minisearch .actions { position: relative; }
.header-search-panel .form.minisearch .action.search {
    position: absolute;
    right: 8px;
    top: -34px;
    width: 30px;
    height: 30px;
    padding: 0;
    opacity: 1;
}
.header-search-panel .form.minisearch .action.search:before {
    width: 18px !important;
    height: 18px !important;
    top: 50% !important;
    right: 50% !important;
    transform: translate(50%, -50%);
    margin: 0 !important;
    position: absolute;
    background: url('../images/home-new/search.svg') no-repeat center / contain !important;
    content: '' !important;
}

/* Autocomplete: full width inside search panel (no right-side gap) */
.header-search-panel .searchsuite-autocomplete,
body.aal-search-open .header-search-panel .searchsuite-autocomplete {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 0 !important;
    transform: none !important;
    border-radius: 12px;
    border: 1px solid #ececec;
    box-shadow: none;
    box-sizing: border-box;
}
.header-search-panel .searchsuite-autocomplete .product,
.header-search-panel .searchsuite-autocomplete .suggest {
    width: 100%;
}
.header-search-panel .searchsuite-autocomplete .product ul,
.header-search-panel .searchsuite-autocomplete .suggest ul {
    width: 100%;
    padding: 0 12px;
    margin: 0;
    box-sizing: border-box;
}
.header-search-panel .searchsuite-autocomplete .product ul li {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
}
.header-search-panel .searchsuite-autocomplete .product ul li:after {
    display: none !important;
    content: none !important;
}
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-image {
    float: none !important;
    width: 72px !important;
    max-width: 72px !important;
    flex: 0 0 72px;
}
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-image img {
    width: 100%;
    height: auto;
    display: block;
}
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-info {
    float: none !important;
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box;
}
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-info .qs-option-title,
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-info .qs-option-shortdescription,
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-info .qs-option-description,
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-info .qs-option-price,
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-info .qs-option-sku {
    display: block;
    width: 100%;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-info .qs-option-title a {
    display: inline;
    font-weight: 600;
}
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-info .qs-option-shortdescription,
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-info .qs-option-description {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 4px;
}
.header-search-panel .searchsuite-autocomplete .product ul li .qs-option-info .qs-option-addtocart {
    float: none !important;
    display: none !important;
}
.header-search-panel .searchsuite-autocomplete .title {
    padding: 10px 12px;
    box-sizing: border-box;
}
.header-search-panel .searchsuite-autocomplete::-webkit-scrollbar {
    width: 4px;
}
.header-search-panel .searchsuite-autocomplete::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.header-search-panel #search_mini_form,
.header-search-panel #search_mini_form .field.search,
.header-search-panel #search_mini_form .field.search .control,
.header-search-panel #search_mini_form [data-bind="scope: 'searchsuiteautocomplete_form'"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* AI-enhanced search row inside header panel */
.header-search-panel .aalogics-ai-enhanced .field.search > .control.ai-minisearch-control {
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    padding: 0 !important;
    border: 0 !important;
}
.header-search-panel .aalogics-ai-enhanced .field.search > .ai-minisearch-suffix--in-header {
    display: none !important;
}
.header-search-panel .aalogics-ai-enhanced .ai-minisearch-row {
    display: flex !important;
    margin-top: 0;
}
.header-search-panel .aalogics-ai-enhanced .form.minisearch input#search {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
}

/* Account icon-only */
.page-header .header-section-right .my-account-header-wrapper {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    font-size: 0;
}
.page-header .header-section-right .my-account-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
}
.page-header .header-section-right .my-account-label { display: none !important; }
.page-header .header-section-right .my-account-bg { background: transparent; }
.page-header .header-section-right .my-account-bg .my-account-icon {
    width: 22px;
    height: 22px;
    background: url('../images/home-new/user.svg') no-repeat center / contain;
}
.page-header .header-section-right .my-account-header-wrapper .header.links {
    right: 0;
    left: auto;
    top: 48px;
    font-size: 14px;
}

/* Minicart */
.page-header .header-section-right .minicart-wrapper {
    background: transparent;
    width: auto;
    height: auto;
    float: none;
    margin: 0;
    border-radius: 0;
    position: relative;
}
.page-header .header-section-right .minicart-wrapper .action.showcart { position: relative; }
.page-header .header-section-right .minicart-wrapper .action.showcart:before {
    width: 22px;
    height: 22px;
    background-size: 100% !important;
    margin: 0;
}
.page-header .header-section-right .minicart-wrapper .action.showcart .counter.qty {
    background: var(--aal-header-accent);
    right: 2px !important;
    top: 2px !important;
}

/* Contact Us pill button */
.page-header .header-contact-btn {
    background: var(--aal-header-accent);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: background .2s ease, transform .2s ease;
    white-space: nowrap;
    margin-left: 4px;
}
.page-header .header-contact-btn:hover {
    background: var(--aal-header-accent-hover);
    color: #fff !important;
}

/* Drawer backdrop */
.header-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 998;
}
body.aal-nav-open .header-nav-backdrop { display: block; }
body.aal-nav-open { overflow: hidden; }

/* ===== DESKTOP (>= 1024px): hide hamburger & close button ===== */
@media (min-width: 1024px) {
    .header-nav-toggle,
    .header-nav-close { display: none !important; }
}

/* ===== TABLET / MOBILE (< 1024px): nav becomes slide-in drawer ===== */
@media (max-width: 1023.98px) {
    .page-header .header.content { padding: 12px 16px; gap: 10px; }

    /* The middle column collapses; the navigation inside escapes via fixed positioning */
    .page-header .header-section-middle {
        flex: 0 0 auto;
        width: 0;
        min-width: 0;
        height: 0;
        overflow: visible;
        display: block;
    }

    /* The <nav class="navigation"> becomes the drawer */
    .page-header .header-section-middle > .navigation {
        position: fixed !important;
        top: 0;
        left: -100%;
        width: 86vw;
        max-width: 320px;
        height: 100vh !important;
        background: #fff !important;
        box-shadow: 2px 0 24px rgba(0,0,0,0.15) !important;
        transition: left .3s ease;
        z-index: 999;
        padding: 0 0 24px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .page-header .header-section-middle > .navigation > ul {
        flex: 1 1 auto;
        width: 100%;
    }
    body.aal-nav-open .page-header .header-section-middle > .navigation {
        left: 0 !important;
    }

    /* Drawer header (sticky inside the sliding nav panel) */
    .page-header .header-section-middle > .navigation .header-nav-drawer-head {
        position: sticky;
        top: 0;
        left: auto;
        width: 100%;
        max-width: none;
        height: 64px;
        background: #fff;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        border-bottom: 1px solid #f0f0f0;
        box-sizing: border-box;
        flex-shrink: 0;
    }
    .header-nav-close { display: inline-flex; align-items: center; justify-content: center; }

    .page-header .header-section-middle > .navigation > ul { padding-top: 0 !important; }

    /* Stack nav items vertically */
    .page-header .header-section-middle .navigation > ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        text-align: left;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-header .header-section-middle .navigation li.level0 {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        display: block !important;
    }
    .page-header .header-section-middle .navigation li.level0 > .level-top {
        display: block !important;
        padding: 14px 22px !important;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }
    .page-header .header-section-middle .navigation li.level0 > .level-top > span { padding-bottom: 0; }
    .page-header .header-section-middle .navigation li.level0 > .level-top > span:after { display: none; }
    .page-header .header-section-middle .navigation li.level0.active > .level-top,
    .page-header .header-section-middle .navigation li.level0.has-active > .level-top {
        background: rgba(255, 87, 34, 0.06);
        color: var(--aal-header-accent);
    }

    /* Submenus inside the drawer: hidden until parent is tapped */
    .page-header .header-section-middle .navigation li.level0 > ul.submenu,
    .page-header .header-section-middle .navigation li.level0 ul.submenu li.parent > ul.submenu {
        position: static !important;
        display: none !important;
        background: #f5f5f7 !important;
        box-shadow: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .page-header .header-section-middle .navigation li.level0.aal-submenu-open > ul.submenu,
    .page-header .header-section-middle .navigation li.level0 ul.submenu li.parent.aal-submenu-open > ul.submenu {
        display: block !important;
    }
    .page-header .header-section-middle .navigation li.level0 ul.submenu:before {
        display: none !important;
    }
    .page-header .header-section-middle .navigation li.level0 ul.submenu li {
        width: 100% !important;
        display: block !important;
        border-bottom: 1px solid #ececec;
    }
    .page-header .header-section-middle .navigation li.level0 ul.submenu li:last-child {
        border-bottom: 0;
    }
    .page-header .header-section-middle .navigation li.level0 ul.submenu li a {
        display: block !important;
        width: 100% !important;
        padding: 13px 20px 13px 32px !important;
        font-size: 14px;
        color: var(--aal-header-text);
        box-sizing: border-box;
    }
    .page-header .header-section-middle .navigation li.level0 ul.submenu ul.submenu {
        left: 0 !important;
        margin-left: 0 !important;
        background: #efeff2 !important;
    }
    .page-header .header-section-middle .navigation li.level0 ul.submenu ul.submenu li a {
        padding-left: 48px !important;
    }
    .page-header .header-section-middle .navigation li.level0.parent > .level-top {
        padding-right: 44px !important;
    }
    /* Mobile drawer: single caret via .level-top:after only */
    .page-header .header-section-middle .navigation li.level0.parent > .level-top > .ui-menu-icon,
    .page-header .header-section-middle .navigation li.level0 ul.submenu li.parent > a > .ui-menu-icon {
        display: none !important;
    }

    .page-header .header-section-middle .navigation li.level0.parent > .level-top:after,
    .page-header .header-section-middle .navigation li.level0 ul.submenu li.parent > a:after {
        content: '' !important;
        display: block !important;
        position: absolute;
        right: 18px;
        top: 50%;
        width: 7px;
        height: 7px;
        margin-top: -5px;
        border: 0 !important;
        border-right: 2px solid currentColor !important;
        border-bottom: 2px solid currentColor !important;
        transform: rotate(45deg);
        box-sizing: border-box;
        pointer-events: none;
    }

    .page-header .header-section-middle .navigation li.level0 ul.submenu li.parent > a:after {
        transform: rotate(-45deg);
        margin-top: -4px;
    }

    .page-header .header-section-middle .navigation li.level0.aal-submenu-open > .level-top:after {
        transform: rotate(-135deg);
        margin-top: -2px;
    }

    .page-header .header-section-middle .navigation li.level0 ul.submenu li.parent.aal-submenu-open > a:after {
        transform: rotate(45deg);
    }

    .page-header .header-section-middle .navigation li.level0 ul.submenu li.parent > a {
        position: relative;
        padding-right: 44px !important;
    }

    /* Topbar on mobile: tighter padding */
    header.page-header .main-panel-top .panel.header { padding: 8px 16px; font-size: 12px; }
}

/* ===== Tablet/medium (768px – 1023px): keep right actions full ===== */
@media (max-width: 1023.98px) and (min-width: 768px) {
    .page-header .header-section-right { gap: 10px; }
    .header-brand-logo img { height: 40px; }
}

/* ===== Small mobile (< 768px) ===== */
@media (max-width: 767.98px) {
    .page-header .header.content { padding: 10px 12px; gap: 6px; }
    .header-brand-logo img { height: 34px; }
    .page-header .header-section-right { gap: 4px; }
    .page-header .header-section-right .header-search-toggle,
    .page-header .header-section-right .my-account-bg,
    .page-header .header-section-right .minicart-wrapper .action.showcart {
        width: 36px;
        height: 36px;
    }
    .page-header .header-contact-btn {
        padding: 8px 14px;
        font-size: 13px;
        margin-left: 0;
    }
    .header-search-panel {
        top: 72px;
        left: 50%;
        right: auto;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        padding: 14px 16px 16px;
        border-radius: 14px;
    }
}

/* ===== Very small (< 480px): hide account icon, shrink Contact Us ===== */
@media (max-width: 479.98px) {
    .page-header .header-section-right .my-account-header-wrapper { display: none; }
    .page-header .header-contact-btn { padding: 7px 12px; font-size: 12px; }
    .header-brand-logo img { height: 30px; }
}

/* ===== Mobile search overlay: keep AI icon + input on one row ===== */
@media (max-width: 769px) {
    .header-search-panel .aalogics-ai-enhanced .field.search > .label {
        display: none !important;
    }
    .header-search-panel .aalogics-ai-enhanced .field.search > .ai-minisearch-suffix--in-header {
        display: none !important;
    }
    .header-search-panel .aalogics-ai-enhanced .field.search > .control.ai-minisearch-control {
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        padding: 0 !important;
        border: 0 !important;
        clear: none !important;
        width: 100% !important;
    }
    .header-search-panel .aalogics-ai-enhanced .field.search > .control .ai-minisearch-suffix {
        display: inline-flex !important;
        flex-shrink: 0;
    }
    .header-search-panel .aalogics-ai-enhanced .field.search > .control .ai-minisearch-row,
    .header-search-panel .aalogics-ai-enhanced .ai-minisearch-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 0 !important;
        gap: 8px !important;
        padding: 6px 10px 6px 14px !important;
        box-sizing: border-box;
    }
    .header-search-panel .aalogics-ai-enhanced .ai-minisearch-input-wrap {
        display: flex !important;
        flex: 1 1 auto;
        min-width: 0;
        align-items: center;
        gap: 8px;
    }
    .header-search-panel .aalogics-ai-enhanced .field.search > .control input#search,
    .header-search-panel .aalogics-ai-enhanced .field.search .ai-minisearch-input-wrap > .input-text {
        position: static !important;
        left: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        min-width: 0;
    }
    .header-search-panel .aalogics-ai-enhanced .field.search > .control .ai-minisearch-suffix #ai-search-btn,
    .header-search-panel .aalogics-ai-enhanced .field.search > .control .ai-minisearch-suffix .action.ai-search {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .header-search-panel .aalogics-ai-enhanced .field.search > .control .ai-minisearch-suffix .ai-text-short {
        display: inline !important;
    }
}

/* =====================================================================
   END AALOGICS HEADER REDESIGN
   ===================================================================== */

/* .fotorama__nav--thumbs .fotorama__nav__frame{
    margin: 0 0 8px 0;
}

.fotorama--fullscreen .fotorama__nav--thumbs .fotorama__nav__frame{
    margin: 0 8px 0 0;
} */

/* =====================================================================
   AALOGICS PRODUCT CARD REDESIGN
   Applies to: Homepage widgets, PLP/category, related, upsell, crosssell,
   search results, and any other product list using Magento's standard
   .product-item markup. Hides ribbons/badges and wishlist/compare icons
   in card view to match the requested design.
   ===================================================================== */

:root {
    --aal-card-radius: 14px;
    --aal-card-bg: #ffffff;
    --aal-card-image-bg: #f4f6f9;
    --aal-card-border: 1px solid #ececf1;
    --aal-card-shadow: 0 2px 6px rgba(13, 40, 95, 0.04), 0 6px 18px rgba(112, 128, 160, 0.08);
    --aal-card-shadow-hover: 0 8px 22px rgba(13, 40, 95, 0.10), 0 14px 30px rgba(112, 128, 160, 0.16);
    --aal-card-accent: #FF5722;
    --aal-card-accent-hover: #e64a19;
    --aal-card-title: #1f2937;
    --aal-card-muted: #6b7280;
    --aal-card-price: #111827;
    --aal-card-star: #f5a623;
    --aal-card-star-empty: #e5e7eb;
}

/* ---------- Card shell ---------- */
.product-item .product-item-info,
.page-products .products-grid .product-item-info,
.widget-new-grid .product-item-info,
.products-new .product-item-info,
.products-related .product-item-info,
.products-upsell .product-item-info,
.products-crosssell .product-item-info {
    width: 100%;
    height: 100%;
    background: var(--aal-card-bg);
    border: var(--aal-card-border);
    border-radius: var(--aal-card-radius);
    overflow: hidden;
    box-shadow: var(--aal-card-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex !important;
    flex-direction: column;
}

.product-item .product-item-info:hover {
    transform: translateY(-3px);
    box-shadow: var(--aal-card-shadow-hover);
}

.page-products .products-grid li.item.product.product-item:hover {
    transform: none;
}

/* ---------- Image area (compact, fills the area, no empty space) ---------- */
.product-item .product-item-photo,
.product-item a.product-item-photo,
.product-item a.product.photo.product-item-photo {
    display: block !important;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    background: var(--aal-card-image-bg);
    aspect-ratio: 5 / 4;
    padding: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
}

.product-item .product-image-container,
.product-item span.product-image-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
}

.product-item .product-image-wrapper {
    padding: 0 !important;
    height: 100% !important;
    width: 100% !important;
    display: block;
    overflow: hidden;
    position: relative;
}

.product-item .product-image-photo {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.product-item .product-item-info:hover .product-image-photo {
    transform: scale(1.05);
}

/* ---------- Card body (grid: label, title, rating, divider, price + button) ---------- */
.product-item .product-item-details,
.product-item .product.details.product-item-details,
.page-products .product.details.product-item-details {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "label label"
        "name name"
        "rating rating"
        "divider divider"
        "price button";
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
    padding: 12px 14px 14px;
    background: var(--aal-card-bg);
}

/* Single divider line that spans the whole row, always at the same Y position */
.product-item .product-item-details::after {
    content: '';
    grid-area: divider;
    width: 100%;
    height: 1px;
    background: #ececf1;
    margin: 2px 0;
    align-self: center;
}

.product-item .product-item-label {
    grid-area: label;
    justify-self: start;
    display: inline-block;
    max-width: 100%;
    padding: 4px 12px;
    background: #fff4ed;
    color: #d2691e;
    border: 1px solid #ffd9bf;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.2px;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.product-item .product-item-name { grid-area: name; margin: 0; }
.product-item .product-reviews-summary { grid-area: rating; margin: 0 !important; }
.product-item .price-box {
    grid-area: price;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    align-self: center;
    min-width: 0;
}
.product-item .product-item-actions,
.product-item .product.actions.product-item-actions {
    grid-area: button;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    align-self: center;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

/* Magento default PLP wraps actions in .product-item-inner which breaks our grid placement.
   `display: contents` makes its children direct grid items, so `grid-area: button` applies. */
.product-item .product-item-inner {
    display: contents;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
}

/* Hide the custom "25% off" pill rendered by final_price.phtml in cards (still visible on PDP) */
.product-item .price-box .discount_box,
.product-item .discount_box {
    display: none !important;
}

/* ---------- Title ---------- */
.product-item .product-item-name .product-item-link,
.page-products .product-item-details .product-item-link {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--aal-card-title);
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 42px;
    transition: color .25s ease;
}

.product-item .product-item-name .product-item-link:hover {
    color: var(--aal-card-accent);
    text-decoration: none !important;
}

/* ---------- Reviews / stars (always show 5 stars, even with no reviews) ---------- */
.cms-index-index .product-item .product-reviews-summary,
.product-item .product-reviews-summary {
    display: flex !important;
    align-items: center;
    gap: 6px;
    min-height: 18px;
}

.product-item .product-reviews-summary .rating-summary {
    display: inline-flex !important;
    align-items: center;
    line-height: 1;
}
.product-item .product-reviews-summary .rating-summary .label { display: none !important; }
.product-item .product-reviews-summary .rating-summary .rating-result,
.product-item .product-reviews-summary .rating-result {
    width: 84px !important;
    height: 16px !important;
    margin: 0 !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    line-height: 1;
}
.product-item .product-reviews-summary .rating-result:before,
.product-item .product-reviews-summary .rating-result > span:before {
    content: '\e605\e605\e605\e605\e605';
    font-family: 'icons-blank-theme';
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
}
.product-item .product-reviews-summary .rating-result:before {
    color: var(--aal-card-star-empty);
}
/* When there ARE reviews (not the empty placeholder), all 5 base stars are yellow */
.product-item .product-reviews-summary:not(.empty):not(.no-rating) .rating-result:before {
    color: var(--aal-card-star);
}
/* Magento case: has reviews but no rating value -> rating-result element is missing,
   so inject 5 yellow stars via ::before on the summary itself */
.product-item .product-reviews-summary.no-rating:not(.empty)::before {
    content: '\e605\e605\e605\e605\e605';
    font-family: 'icons-blank-theme';
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--aal-card-star);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    width: 84px;
    height: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    flex: 0 0 auto;
}
.product-item .product-reviews-summary .rating-result > span {
    display: block !important;
    overflow: hidden !important;
    height: 0 !important;
    padding-top: 16px !important;
    position: absolute !important;
    top: 0;
    left: 0;
}
.product-item .product-reviews-summary .rating-result > span:before {
    color: var(--aal-card-star);
}
.product-item .product-reviews-summary .rating-result > span > span {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.product-item .product-reviews-summary .reviews-actions {
    font-size: 12px;
    color: var(--aal-card-muted);
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.product-item .product-reviews-summary .reviews-actions a,
.product-item .product-reviews-summary .reviews-actions .action,
.product-item .product-reviews-summary .reviews-actions span {
    color: var(--aal-card-muted);
    text-decoration: none;
    border: 0;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    display: inline;
}
.product-item .product-reviews-summary .reviews-actions .action.view:after,
.product-item .product-reviews-summary .reviews-actions .action.add:before {
    content: '';
}
/* Empty-state placeholder: show 5 empty stars + "No Reviews" text */
.product-item .product-reviews-summary.empty .reviews-actions .no-reviews {
    color: #9ca3af;
    font-size: 12px;
}

/* ---------- Price (compact stack: old strikethrough above special) ---------- */
.product-item .price-box.price-final_price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.product-item .price-box .old-price {
    order: 1;
    margin: 0 !important;
    text-decoration: none;
    line-height: 1;
}
.product-item .price-box .special-price {
    order: 2;
    margin: 0 !important;
    line-height: 1;
}
.product-item .price-box .old-price .price,
.product-item-info .product-item-details span.old-price .price {
    font-size: 12px !important;
    color: #9ca3af !important;
    text-decoration: line-through !important;
    font-weight: 400 !important;
    line-height: 1;
}
.product-item .price-box .special-price .price,
.product-item .price-box .price-container .price,
.product-item .price-box .price,
.product-item-details .price-final_price .price-container .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--aal-card-price);
    line-height: 1.2;
}

/* ---------- Add to Cart button (orange like reference) ---------- */
.product-item .action.tocart.primary,
.product-item button.action.tocart.primary,
body.page-products .products-grid button.action.tocart.primary,
.catalogsearch-result-index button.action.tocart.primary,
.catalog-category-view button.action.tocart.primary {
    width: auto !important;
    min-height: 0 !important;
    background: var(--aal-card-accent) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.18);
    transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
}

.product-item .action.tocart.primary:before {
    content: '';
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.product-item .action.tocart.primary:hover {
    background: var(--aal-card-accent-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255, 87, 34, 0.32);
}

.product-item .actions-primary {
    width: auto;
    margin: 0;
    padding: 0;
}

/* ---------- Hide wishlist / compare / badges (match reference) ---------- */
.product-item .product-item-actions .actions-secondary,
.product-item .secondary-addto-links.actions-secondary {
    display: none !important;
}

.product-item .product-item-actions .actions-primary .stock {
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
}

/* Hide common ribbon/badge plugins + discount % labels so cards stay clean like the reference */
.product-item .product-label,
.product-item .product-labels,
.product-item .label-new,
.product-item .label-sale,
.product-item .label-hot,
.product-item .product-ribbon,
.product-item .am-ribbon,
.product-item .new-label,
.product-item .sale-label,
.product-item .product-label-container,
.product-item .product-label-wrapper,
.product-item .discount-percent,
.product-item .discount-percentage,
.product-item .percent-off,
.product-item .sale-percentage,
.product-item .saving-percent,
.product-item .price-saving,
.product-item .label-product,
.product-item .label-discount,
.product-item .product-item-discount,
.product-item .product-discount-percentage,
.product-item .product-image-container .label,
.product-item .product-image-photo + .label,
.product-item [class*="label-discount"],
.product-item [class*="discount-label"],
.product-item [class*="-percent-off"],
.product-item [class*="off-label"],
.product-item .price-box .special-price + .old-price + .price-label,
.product-item .product-image-container .ribbon,
.product-item .product-image-wrapper .ribbon {
    display: none !important;
}

/* ---------- PLP / category cleanup so cards align uniformly ---------- */
.page-products .products-grid .product-item-info {
    box-shadow: var(--aal-card-shadow);
}
.page-products .product.details.product-item-details {
    padding: 16px 18px 18px;
}

/* ---------- Related / Upsell slick slider cards ---------- */
.custom-style-product-list .slick-slide {
    margin-right: 14px;
}
.custom-style-product-list .product-item-info {
    margin: 4px 2px;
}

/* ---------- Strip visual wrapper (bg/border/shadow/hover) from New Products widget ---------- */
.cms-index-index .block.widget.block-new-products,
.block.widget.block-new-products,
.cms-index-index .block.widget.block-new-products .block-content,
.block.widget.block-new-products .block-content,
.cms-index-index .block.widget.block-new-products .products-grid,
.block.widget.block-new-products .products-grid {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    transition: none !important;
    transform: none !important;
    animation: none !important;
}
.cms-index-index .block.widget.block-new-products,
.block.widget.block-new-products {
    margin: 0 0 30px !important;
}
.cms-index-index .block.widget.block-new-products:hover,
.block.widget.block-new-products:hover,
.cms-index-index .block.widget.block-new-products .block-content:hover,
.block.widget.block-new-products .block-content:hover,
.cms-index-index .block.widget.block-new-products .products-grid:hover,
.block.widget.block-new-products .products-grid:hover {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
}

/* ---------- Grid alignment (homepage widget) ---------- */
.block.widget.block-new-products .products-grid .product-items,
.widget-new-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.block.widget.block-new-products .products-grid .product-items > .product-item,
ol.product-items.widget-new-grid > .product-item {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    width: calc(25% - 15px) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent;
}

/* ---------- PLP GRID VIEW (category / search results) ---------- */
.page-products .products.wrapper.grid .products.list.items.product-items,
.catalogsearch-result-index .products.wrapper.grid .products.list.items.product-items {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}
.page-products .products.wrapper.grid .products.list.items.product-items > .product-item,
.catalogsearch-result-index .products.wrapper.grid .products.list.items.product-items > .product-item {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    width: calc(33.333% - 14px) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent;
    display: flex !important;
    align-items: stretch;
}

/* When PLP has NO sidebar, use 4 columns */
.page-products.page-layout-1column .products.wrapper.grid .products.list.items.product-items > .product-item,
.catalogsearch-result-index.page-layout-1column .products.wrapper.grid .products.list.items.product-items > .product-item {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    width: calc(25% - 15px) !important;
}

/* ---------- PLP LIST VIEW (horizontal card layout) ---------- */
.page-products .products.wrapper.list .products.list.items.product-items,
.catalogsearch-result-index .products.wrapper.list .products.list.items.product-items {
    display: block !important;
    list-style: none;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}
.page-products .products.wrapper.list .products.list.items.product-items > .product-item,
.catalogsearch-result-index .products.wrapper.list .products.list.items.product-items > .product-item {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    background: transparent;
}
.page-products .products.wrapper.list .product-item-info,
.catalogsearch-result-index .products.wrapper.list .product-item-info {
    display: grid !important;
    grid-template-columns: 260px 1fr;
    grid-template-areas: "image details";
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: auto;
    flex-direction: row !important;
}
.page-products .products.wrapper.list .product-item-info .product-item-photo,
.page-products .products.wrapper.list .product-item-info a.product-item-photo,
.page-products .products.wrapper.list .product-item-info a.product.photo.product-item-photo,
.catalogsearch-result-index .products.wrapper.list .product-item-info a.product.photo.product-item-photo {
    grid-area: image;
    aspect-ratio: auto !important;
    width: 260px !important;
    max-width: 260px !important;
    height: 100% !important;
    min-height: 240px;
    align-self: stretch;
}
.page-products .products.wrapper.list .product-item-info .product-item-details,
.page-products .products.wrapper.list .product-item-info .product.details.product-item-details,
.catalogsearch-result-index .products.wrapper.list .product-item-info .product.details.product-item-details {
    grid-area: details;
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto auto 1fr auto auto;
    grid-template-areas:
        "label label"
        "name name"
        "rating rating"
        "desc desc"
        "spacer spacer"
        "divider divider"
        "price button" !important;
    column-gap: 14px;
    row-gap: 8px;
    padding: 18px 20px;
    background: var(--aal-card-bg);
    align-items: center;
}
.page-products .products.wrapper.list .product-item-info .product-item-details::after {
    grid-area: divider;
}
.page-products .products.wrapper.list .product-item-info .product-item-description,
.catalogsearch-result-index .products.wrapper.list .product-item-info .product-item-description {
    grid-area: desc;
    margin: 0;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}
.page-products .products.wrapper.list .product-item-info .product-item-description-text,
.catalogsearch-result-index .products.wrapper.list .product-item-info .product-item-description-text {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.page-products .products.wrapper.list .product-item-info .product-item-description .action.more {
    display: inline-block;
    margin-top: 6px;
    color: var(--aal-card-accent);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.page-products .products.wrapper.list .product-item-info .product-item-name .product-item-link,
.catalogsearch-result-index .products.wrapper.list .product-item-info .product-item-name .product-item-link {
    font-size: 18px;
    min-height: auto;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
/* List-view "Add to Cart" form should fit naturally */
.page-products .products.wrapper.list .product-item-actions form[data-role="tocart-form"] {
    margin: 0;
}

/* ---------- Toolbar (sort/view-mode switcher) styling ---------- */
.page-products .toolbar.toolbar-products,
.catalogsearch-result-index .toolbar.toolbar-products {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #ececf1;
    border-radius: 10px;
    margin: 0 0 18px;
}
.page-products .toolbar.toolbar-products .modes,
.catalogsearch-result-index .toolbar.toolbar-products .modes {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}
.page-products .toolbar.toolbar-products .modes-mode,
.catalogsearch-result-index .toolbar.toolbar-products .modes-mode {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #6b7280;
    transition: all .2s ease;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.page-products .toolbar.toolbar-products .modes-mode:hover {
    color: var(--aal-card-accent);
    border-color: var(--aal-card-accent);
}
.page-products .toolbar.toolbar-products .modes-mode.active {
    background: var(--aal-card-accent);
    color: #ffffff;
    border-color: var(--aal-card-accent);
}
.page-products .toolbar.toolbar-products .modes-mode.active:before,
.page-products .toolbar.toolbar-products .modes-mode:before {
    color: inherit;
}

/* ---------- Responsive product card ---------- */
@media (max-width: 1199.98px) {
    .block.widget.block-new-products .products-grid .product-items > .product-item,
    ol.product-items.widget-new-grid > .product-item {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
        width: calc(33.333% - 14px) !important;
    }
    .page-products .products.wrapper.grid .products.list.items.product-items > .product-item,
    .catalogsearch-result-index .products.wrapper.grid .products.list.items.product-items > .product-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        width: calc(50% - 10px) !important;
    }
    .page-products.page-layout-1column .products.wrapper.grid .products.list.items.product-items > .product-item,
    .catalogsearch-result-index.page-layout-1column .products.wrapper.grid .products.list.items.product-items > .product-item {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
        width: calc(33.333% - 14px) !important;
    }
}

@media (max-width: 767.98px) {
    .block.widget.block-new-products .products-grid .product-items > .product-item,
    ol.product-items.widget-new-grid > .product-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        width: calc(50% - 10px) !important;
    }
    .page-products .products.wrapper.grid .products.list.items.product-items,
    .catalogsearch-result-index .products.wrapper.grid .products.list.items.product-items {
        gap: 14px;
    }
    .page-products .products.wrapper.grid .products.list.items.product-items > .product-item,
    .catalogsearch-result-index .products.wrapper.grid .products.list.items.product-items > .product-item,
    .page-products.page-layout-1column .products.wrapper.grid .products.list.items.product-items > .product-item,
    .catalogsearch-result-index.page-layout-1column .products.wrapper.grid .products.list.items.product-items > .product-item {
        flex: 0 0 calc(50% - 7px);
        max-width: calc(50% - 7px);
        width: calc(50% - 7px) !important;
    }
    .product-item .product-item-details {
        padding: 12px 12px 14px;
        column-gap: 8px;
    }
    .product-item .action.tocart.primary {
        padding: 8px 11px !important;
        font-size: 12px !important;
    }
    .product-item .action.tocart.primary:before {
        width: 13px;
        height: 13px;
    }
    .product-item .price-box .special-price .price,
    .product-item .price-box .price-container .price,
    .product-item .price-box .price,
    .product-item-details .price-final_price .price-container .price {
        font-size: 15px;
    }
    /* List view -> stack vertically on tablet+mobile */
    .page-products .products.wrapper.list .product-item-info,
    .catalogsearch-result-index .products.wrapper.list .product-item-info {
        grid-template-columns: 200px 1fr;
    }
    .page-products .products.wrapper.list .product-item-info a.product.photo.product-item-photo,
    .catalogsearch-result-index .products.wrapper.list .product-item-info a.product.photo.product-item-photo {
        width: 200px !important;
        min-height: 200px;
    }
    .page-products .products.wrapper.list .product-item-info .product.details.product-item-details {
        padding: 14px 16px;
    }
    .page-products .products.wrapper.list .product-item-info .product-item-name .product-item-link {
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    /* Stack list view vertically on small screens */
    .page-products .products.wrapper.list .product-item-info,
    .catalogsearch-result-index .products.wrapper.list .product-item-info {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "details";
    }
    .page-products .products.wrapper.list .product-item-info a.product.photo.product-item-photo,
    .catalogsearch-result-index .products.wrapper.list .product-item-info a.product.photo.product-item-photo {
        width: 100% !important;
        min-height: auto;
        aspect-ratio: 5 / 4 !important;
    }
}

@media (max-width: 479.98px) {
    .block.widget.block-new-products .products-grid .product-items > .product-item,
    ol.product-items.widget-new-grid > .product-item {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100% !important;
    }
    .page-products .products.wrapper.grid .products.list.items.product-items > .product-item,
    .catalogsearch-result-index .products.wrapper.grid .products.list.items.product-items > .product-item,
    .page-products.page-layout-1column .products.wrapper.grid .products.list.items.product-items > .product-item,
    .catalogsearch-result-index.page-layout-1column .products.wrapper.grid .products.list.items.product-items > .product-item {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100% !important;
    }
    .product-item .product-item-name .product-item-link {
        font-size: 14px;
        min-height: 38px;
    }
    .page-products .toolbar.toolbar-products,
    .catalogsearch-result-index .toolbar.toolbar-products {
        padding: 8px 10px;
        gap: 8px;
    }
}

/* =====================================================================
   END AALOGICS PRODUCT CARD REDESIGN
   ===================================================================== */

/* =====================================================================
   AALOGICS FOOTER - DARK THEME
   Black background, white text everywhere inside the footer.
   ===================================================================== */

footer.page-footer,
.page-footer,
.main-footer,
.main-footer .page-main {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Subscribe block + main footer + copyright bar all dark */
footer.page-footer .main-footer,
footer.page-footer [data-content-type="row"],
footer.page-footer [data-content-type="row"][data-appearance],
footer.page-footer [data-content-type="row"] > .row-full-width-inner,
.page-footer .main-footer,
.page-footer .main-footer-subscribe,
.page-footer .main-footer-copyright {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* All text elements inside the footer */
footer.page-footer,
footer.page-footer *,
.page-footer,
.page-footer *,
.main-footer,
.main-footer * {
    color: #ffffff !important;
}

/* Headings inside the footer */
footer.page-footer h1, footer.page-footer h2, footer.page-footer h3,
footer.page-footer h4, footer.page-footer h5, footer.page-footer h6,
.page-footer h1, .page-footer h2, .page-footer h3,
.page-footer h4, .page-footer h5, .page-footer h6,
.main-footer h1, .main-footer h2, .main-footer h3,
.main-footer h4, .main-footer h5, .main-footer h6,
.main-footer .box-title,
.main-footer .footer-title,
.main-footer strong {
    color: #ffffff !important;
}

/* Paragraphs / spans / list items */
footer.page-footer p,
footer.page-footer span,
footer.page-footer li,
footer.page-footer div,
.page-footer p,
.page-footer span,
.page-footer li,
.main-footer p,
.main-footer span,
.main-footer li,
.main-footer div {
    color: #ffffff !important;
}

/* Links default + visited */
footer.page-footer a,
footer.page-footer a:visited,
.page-footer a,
.page-footer a:visited,
.main-footer a,
.main-footer a:visited,
.main-footer .box ul li a,
.social-container ul li a,
.badges-container ul li a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Links hover - subtle highlight (light orange to match brand) */
footer.page-footer a:hover,
.page-footer a:hover,
.main-footer a:hover,
.main-footer .box ul li a:hover {
    color: #ff8a65 !important;
    text-decoration: none !important;
}

/* Borders / dividers inside the footer - subtle white */
footer.page-footer hr,
.page-footer hr,
.main-footer hr,
.main-footer .box,
.main-footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Inputs inside the footer (newsletter subscribe) */
footer.page-footer input,
footer.page-footer input[type="text"],
footer.page-footer input[type="email"],
.page-footer input,
.page-footer input[type="text"],
.page-footer input[type="email"],
.main-footer input,
.main-footer input[type="text"],
.main-footer input[type="email"] {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 6px;
}
footer.page-footer input::placeholder,
.page-footer input::placeholder,
.main-footer input::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}
footer.page-footer input:focus,
.page-footer input:focus,
.main-footer input:focus {
    border-color: rgba(255, 255, 255, 0.45) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.25) !important;
}

/* Buttons inside the footer */
footer.page-footer button,
footer.page-footer .action.primary,
footer.page-footer .button,
.page-footer button,
.page-footer .action.primary,
.main-footer button,
.main-footer .action.primary,
.main-footer .button {
    background: #FF5722 !important;
    color: #ffffff !important;
    border: 0 !important;
}
footer.page-footer button:hover,
footer.page-footer .action.primary:hover,
.page-footer button:hover,
.page-footer .action.primary:hover,
.main-footer button:hover,
.main-footer .action.primary:hover {
    background: #e64a19 !important;
    color: #ffffff !important;
}

/* SVG icons in social links - turn them white */
footer.page-footer svg,
footer.page-footer svg path,
footer.page-footer svg circle,
footer.page-footer svg rect,
.page-footer svg,
.page-footer svg path,
.main-footer svg,
.main-footer svg path {
    fill: #ffffff;
    stroke: #ffffff;
}

/* Images / brand logos in footer - lighten if they're dark-on-light */
.main-footer .footer-brand img,
.main-footer .footer-logo img {
    filter: brightness(0) invert(1);
}

/* Copyright bar */
.main-footer-copyright,
.page-footer .copyright,
.main-footer .copyright {
    background: #000000 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.main-footer-copyright a,
.page-footer .copyright a,
.main-footer .copyright a {
    color: #ffffff !important;
}

/* =====================================================================
   END AALOGICS FOOTER - DARK THEME
   ===================================================================== */

/* Self-hosted Font Awesome 6 — keep icons stable (no CDN / FA4 conflict) */
.fa-solid,
.fas,
.fa-classic {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    line-height: 1;
}

.fa-regular,
.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    line-height: 1;
}

.fa-brands,
.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    line-height: 1;
}

/* PDP left column: gallery, SKU, key features */
.catalog-product-view .product-info.extrahint,
.catalog-product-view .product-social-links {
    display: none !important;
}

.catalog-product-view .action.tocompare {
    display: none !important;
}

.catalog-product-view .product.media .product_image {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

.catalog-product-view .product.media .product_image #gallery_09_thumbs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    height: auto;
    max-height: none;
    padding: 0;
    margin-top: 0;
    gap: 10px;
    position: relative;
    align-items: center;
    scrollbar-width: none;
}

.catalog-product-view .product.media .product_image #gallery_09_thumbs::-webkit-scrollbar {
    display: none;
}

.catalog-product-view .product.media #gallery_09_thumbs a {
    flex: 0 0 auto;
    border: 1px solid #d5dbdb;
    outline: none;
    padding: 2px;
    box-shadow: none;
}

.catalog-product-view .product.media #gallery_09_thumbs a.active,
.catalog-product-view .product.media #gallery_09_thumbs a:hover {
    border-color: #b0b0b0;
    outline: none;
    box-shadow: none;
    transform: none;
}

.catalog-product-view .product.media #gallery_09_thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 4px;
}

.catalog-product-view .product.media #gallery_09 .prev-button,
.catalog-product-view .product.media #gallery_09 .next-button {
    display: none;
}

.catalog-product-view .product.media #gallery_09_thumbs .prev-button,
.catalog-product-view .product.media #gallery_09_thumbs .next-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    padding: 0;
    background: #e8e8e8;
    border: none;
    border-radius: 4px;
    color: #555;
    cursor: pointer;
    z-index: 2;
    flex: 0 0 28px;
}

.catalog-product-view .product.media #gallery_09_thumbs .prev-button {
    left: 0;
}

.catalog-product-view .product.media #gallery_09_thumbs .next-button {
    right: 0;
}

.catalog-product-view .product.media #gallery_09_thumbs .prev-button svg,
.catalog-product-view .product.media #gallery_09_thumbs .next-button svg {
    width: 10px;
    height: 10px;
    fill: #555;
}

.catalog-product-view .product.media #gallery_09_thumbs .prev-button.is-disabled,
.catalog-product-view .product.media #gallery_09_thumbs .next-button.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.catalog-product-view .product.media #gallery_09_thumbs.pdp-gallery-thumbs-has-nav {
    padding-left: 34px;
    padding-right: 34px;
}

.catalog-product-view .product.media #zoom_09 {
    width: 100%;
    border-radius: 12px;
}

.catalog-product-view .product.media .product.attribute.sku {
    margin: 16px 0 0;
    font-size: 14px;
    color: #333;
}

.catalog-product-view .product.media .product.attribute.sku .type {
    font-weight: 400;
    margin-right: 4px;
}

.catalog-product-view .product.media .info_short_description {
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
    padding-top: 20px;
    width: 100%;
}

.catalog-product-view .product.media .info_short_description h2,
.catalog-product-view .product.media .info_short_description h3 {
    font-size: 18px;
    font-weight: 700;
    color: #262626;
    margin: 0 0 12px;
}

.catalog-product-view .product.media .info_short_description ul li {
    font-size: 16px;
    padding-left: 32px;
    margin-bottom: 14px;
}

/* Admin Demo: right sidebar only — hide on PDP left / main column */
.catalog-product-view .product.media .admin_demo_btn,
.catalog-product-view .product.media .demo-admin-detail,
.catalog-product-view .product.media button.trigger,
.catalog-product-view .product.media .close-button,
.catalog-product-view .product.media .modal,
.catalog-product-view .product-info-main .admin_demo_btn,
.catalog-product-view .product-info-main .demo-admin-detail,
.catalog-product-view .info_short_description .admin_demo_btn,
.catalog-product-view .info_short_description .demo-admin-detail,
.catalog-product-view .info_short_description button.trigger,
.catalog-product-view .info_short_description .close-button,
.catalog-product-view .info_short_description .modal {
    display: none !important;
}

.catalog-product-view .custom-right-container .pdp-secondary-actions .admin_demo_btn {
    display: block !important;
}

.catalog-product-view .custom-right-container .admin_demo_btn .trigger,
.catalog-product-view .custom-right-container .admin_demo_btn button.trigger {
    display: flex !important;
}

/* PDP More Information tab */
.catalog-product-view .product.info.detailed .additional-attributes-wrapper {
    margin: 0;
}

.catalog-product-view #product-attribute-specs-table.additional-attributes {
    width: 100%;
    border: none;
    border-collapse: collapse;
}

.catalog-product-view #product-attribute-specs-table > tbody > tr > th.col.label {
    font-weight: 700;
    font-size: 16px;
    color: #262626;
    vertical-align: top;
    width: 38%;
    max-width: 280px;
    padding: 12px 24px 12px 0;
    border: none;
    line-height: 1.5;
}

.catalog-product-view #product-attribute-specs-table > tbody > tr > td.col.data {
    font-size: 16px;
    color: #585858;
    vertical-align: top;
    padding: 12px 0;
    border: none;
    line-height: 1.5;
}

.catalog-product-view #product-attribute-specs-table > tbody > tr {
    border-bottom: 1px solid #e8e8e8;
}

.catalog-product-view #product-attribute-specs-table > tbody > tr:last-child {
    border-bottom: none;
}

.catalog-product-view #product-attribute-specs-table td.col.data br {
    display: none;
}

.catalog-product-view #product-attribute-specs-table td.col.data .pdp-attr-line {
    display: block;
    height: 0;
    margin: 0 0 6px;
    line-height: 0;
}

.catalog-product-view #product-attribute-specs-table td.col.data .pdp-attr-line:last-child {
    margin-bottom: 0;
}

.catalog-product-view #product-attribute-specs-table td.col.data p {
    margin: 0 0 6px;
    line-height: 1.5;
}

.catalog-product-view #product-attribute-specs-table td.col.data p:last-child {
    margin-bottom: 0;
}

.catalog-product-view #product-attribute-specs-table td.col.data ul,
.catalog-product-view #product-attribute-specs-table td.col.data ol {
    margin: 0;
    padding: 0 0 0 18px;
}

.catalog-product-view #product-attribute-specs-table td.col.data li {
    margin: 0 0 6px;
    line-height: 1.5;
}

.catalog-product-view #product-attribute-specs-table td.col.data li:last-child {
    margin-bottom: 0;
}

.catalog-product-view .product.info.detailed .product.data.items > .item.content {
    padding: 16px 0 0;
    margin-top: 16px;
}

/* PDP mobile: full-width sidebar stack below gallery */
@media (max-width: 768px) {
    .catalog-product-view.page-layout-1column .product.media,
    .catalog-product-view.page-layout-1column .product-info-main,
    .catalog-product-view .product-social-links {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both !important;
    }

    .catalog-product-view .custom-right-container {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        height: auto !important;
        overflow: visible !important;
    }

    .catalog-product-view .custom-right-container .fixed-sidebarbar.desktop-view {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .catalog-product-view .product-info-main .price-box,
    .catalog-product-view .product-info-main .product-reviews-summary,
    .catalog-product-view .product-info-main .product-add-form {
        display: none !important;
    }

    .catalog-product-view .pdp-sidebar-revamp .pdp-sidebar-actions {
        margin-top: 16px;
    }

    .catalog-product-view .pdp-sidebar-revamp .action.buy-now {
        width: 100%;
    }

    .catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions .box-tocart,
    .catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions .admin_demo_btn,
    .catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions .box-tocart .actions,
    .catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions .action.tocart,
    .catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions .admin_demo_btn .trigger,
    .catalog-product-view .pdp-sidebar-revamp .pdp-secondary-actions .admin_demo_btn button {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
        box-sizing: border-box;
    }

    .catalog-product-view .product.media .product_image {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .catalog-product-view .product.media #gallery_09_thumbs {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        height: auto !important;
        max-height: none !important;
        padding: 0;
    }

    .catalog-product-view .product.media #gallery_09 {
        min-height: 0;
    }

    .catalog-product-view .product.media .info_short_description,
    .catalog-product-view .product.media .product.attribute.sku {
        display: none !important;
    }

    .catalog-product-view .product-info-main .info_short_description {
        border-top: 1px solid #e0e0e0;
        margin-top: 0;
        padding-top: 20px;
    }

    .catalog-product-view .product-info-main .product.attribute.sku {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .catalog-product-view .page-title-wrapper.product {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .catalog-product-view .column.main {
        display: block;
        overflow: visible !important;
    }
}
