/*
|--------------------------------------------------------------------------
| Storefront Header
|--------------------------------------------------------------------------
| Navbar fluida, compatta e leggibile anche con molte categorie.
*/
.storefront-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    isolation: isolate;
    border-bottom: 1px solid #e8ecef;
    background: #fff;
}

.storefront-navbar {
    min-height: 64px;
    padding: 0;
}

.storefront-navbar-container {
    position: relative;
    width: 100%;
    max-width: 100vw;
    padding-left: clamp(.75rem, 1.8vw, 2rem);
    padding-right: clamp(.75rem, 1.8vw, 2rem);
}

.storefront-brand {
    flex: 0 0 auto;
    min-width: 0;
    margin-right: 1.25rem;
    padding: 0;
    font-weight: 700;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.storefront-brand-logo,
.storefront-brand img {
    display: block;
    width: 120px;
    max-width: 120px;
    max-height: 30px !important;
    object-fit: contain;
}

.storefront-brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: .45rem !important;
    font-size: .95rem;
    font-weight: 800;
}

.storefront-brand-name {
    max-width: 13rem;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
}

.storefront-navbar-collapse,
.storefront-main-nav {
    min-width: 0;
    max-width: 100%;
}

.storefront-navbar-collapse {
    align-items: center;
}

.storefront-main-nav {
    gap: .1rem;
    max-width: 100%;
}

.storefront-main-nav > .nav-item {
    position: static;
}

.storefront-nav-link {
    color: #4f5358;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1;
    padding: 1.45rem .42rem !important;
    max-width: 15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.storefront-nav-link:hover,
.storefront-nav-link:focus,
.storefront-nav-link.active {
    color: #15191d;
    border-bottom-color: #15191d;
}

.storefront-nav-link.active {
    font-weight: 700;
}

.storefront-main-nav .dropdown-toggle::after {
    margin-left: .35rem;
    vertical-align: .12em;
    transform: scale(.78);
}

@media (min-width: 1200px) {
    .storefront-main-nav .dropdown:hover > .storefront-category-menu,
    .storefront-main-nav .dropdown:focus-within > .storefront-category-menu,
    .storefront-main-nav .dropdown.show > .storefront-category-menu {
        display: block;
    }

    .storefront-main-nav .dropdown > .storefront-nav-link[data-bs-toggle="dropdown"] {
        pointer-events: auto;
    }

    .storefront-main-nav .dropdown:nth-last-child(-n + 3) > .storefront-category-menu {
        left: auto;
        right: clamp(.75rem, 1.8vw, 2rem);
        transform: none !important;
    }
}

.storefront-category-menu {
    left: clamp(.75rem, 1.8vw, 2rem);
    right: auto;
    width: min(760px, calc(100vw - clamp(1.5rem, 3.6vw, 4rem)));
    min-width: 0 !important;
    max-width: calc(100vw - clamp(1.5rem, 3.6vw, 4rem)) !important;
    max-height: min(72vh, 620px);
    margin-top: 0;
    padding: 0 !important;
    border: 1px solid #e2e6ea !important;
    border-radius: .85rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .14) !important;
}

.storefront-category-menu::-webkit-scrollbar {
    width: 6px;
}

.storefront-category-menu::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd5e1;
}

.storefront-category-menu-header {
    padding: 1rem 1.15rem .85rem;
    border-bottom: 1px solid #edf0f2;
    background: #f8fafc;
}

.storefront-category-menu-eyebrow {
    color: #8a9199;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.storefront-category-menu-title {
    color: #15191d;
    display: inline-flex;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.2;
}

.storefront-category-menu-title:hover,
.storefront-category-menu-title:focus,
.storefront-category-menu-second:hover,
.storefront-category-menu-second:focus {
    color: #0d6efd;
}

.storefront-category-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1.15rem;
    padding: 1rem 1.15rem;
}

.storefront-category-menu-section {
    min-width: 0;
}

.storefront-category-menu-second {
    color: #22272d;
    display: inline-flex;
    max-width: 100%;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: .4rem;
    overflow-wrap: anywhere;
}

.storefront-category-menu-third-list {
    display: flex;
    flex-direction: column;
    gap: .28rem;
    padding-left: .65rem;
    border-left: 1px solid #eef1f4;
}

.storefront-category-menu-third {
    color: #6c737b;
    display: inline-flex;
    max-width: 100%;
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.storefront-category-menu-third:hover,
.storefront-category-menu-third:focus {
    color: #15191d;
}

.storefront-category-menu-footer {
    padding: .85rem 1.15rem 1rem;
    border-top: 1px solid #edf0f2;
    background: #fff;
}

.storefront-category-menu-footer .btn {
    border-radius: .55rem;
    font-weight: 700;
}

.storefront-header-actions {
    flex: 0 0 auto;
    margin-left: 1rem;
    white-space: nowrap;
}

.storefront-header-actions .storefront-search-form {
    display: none !important;
}

.storefront-header-btn,
.storefront-cart-btn {
    min-height: 34px;
    border-radius: .45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1;
}

.storefront-account-btn {
    padding-left: .65rem;
    padding-right: .65rem;
}

.storefront-cart-btn {
    padding-left: .72rem;
    padding-right: .72rem;
}

.storefront-cart-badge {
    min-width: 1.15rem;
    height: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .3rem;
    font-size: .62rem;
}

/*
|--------------------------------------------------------------------------
| Storefront Search
|--------------------------------------------------------------------------
| Searchbar in riga dedicata sotto la navbar, con autocomplete AJAX.
*/
.storefront-search-bar-row {
    position: relative;
    z-index: 1029;
    border-top: 1px solid #eef2f6;
    background: #fff;
    padding: .65rem clamp(.75rem, 1.8vw, 2rem) .8rem;
}

.storefront-search-bar-row .storefront-search-form {
    width: min(760px, 100%);
    max-width: 760px;
    margin: 0 auto;
}

.storefront-search-form {
    position: relative;
    width: 100%;
}

.storefront-search-shell {
    position: relative;
    width: 100%;
}

.storefront-search-control,
.storefront-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

.storefront-search-control:focus-within,
.storefront-search-input-group:focus-within {
    border-color: #111827;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .13), 0 0 0 .2rem rgba(17, 24, 39, .08);
    transform: translateY(-1px);
}

.storefront-search-icon {
    flex: 0 0 auto;
    padding-left: 1rem;
    color: #64748b;
    font-size: .86rem;
}

.storefront-search-input {
    min-width: 0;
    min-height: 44px;
    flex: 1 1 auto;
    border: 0 !important;
    background: transparent !important;
    color: #111827;
    font-size: .88rem;
    font-weight: 650;
    outline: 0;
    padding: .55rem .7rem;
    box-shadow: none !important;
}

.storefront-search-input::placeholder {
    color: #94a3b8;
    font-weight: 550;
}

.storefront-search-input::-webkit-search-cancel-button,
.storefront-search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.storefront-search-clear {
    width: 34px;
    height: 34px;
    min-width: 34px;
    margin-right: .2rem;
    border: 0 !important;
    border-radius: 999px;
    background: transparent !important;
    color: #64748b !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.storefront-search-clear:hover,
.storefront-search-clear:focus {
    background: #f1f5f9 !important;
    color: #111827 !important;
}

.storefront-search-submit {
    min-height: 36px;
    margin-right: .25rem;
    padding: .45rem .95rem;
    border: 0 !important;
    border-radius: 999px;
    background: #111827 !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .38rem;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.storefront-search-submit:hover,
.storefront-search-submit:focus {
    background: #1f2937 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
}

.storefront-search-suggestions {
    position: absolute;
    top: calc(100% + .65rem);
    left: 0;
    right: 0;
    z-index: 1090;
    display: none;
    width: 100%;
    max-height: min(520px, calc(100dvh - 8rem));
    overflow: hidden;
    overflow-x: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
}

.storefront-search-form.is-open .storefront-search-suggestions,
.storefront-search-suggestions.is-open {
    display: block;
}

.storefront-search-suggestions-inner {
    width: 100%;
    max-height: inherit;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.storefront-search-suggestions-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid #eef2f6;
    background: #f8fafc;
}

.storefront-search-suggestions-title {
    margin: 0;
    color: #111827;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.storefront-search-suggestions-count {
    color: #64748b;
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}

.storefront-search-suggestions-list,
.storefront-search-suggest-list {
    min-height: 0;
    max-height: min(408px, calc(100dvh - 15rem));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    display: flex;
    flex-direction: column;
    padding: .35rem;
}

.storefront-search-suggestion-item,
.storefront-search-suggest-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
    padding: .65rem;
    border-radius: .8rem;
    color: #111827;
    text-decoration: none;
    transition: background-color .15s ease, transform .15s ease;
}

.storefront-search-suggestion-item:hover,
.storefront-search-suggestion-item:focus,
.storefront-search-suggestion-item.is-active,
.storefront-search-suggest-item:hover,
.storefront-search-suggest-item:focus,
.storefront-search-suggest-item.is-active {
    color: #111827;
    background: #f8fafc;
    transform: translateX(2px);
}

.storefront-search-suggestion-image,
.storefront-search-suggestion-image-placeholder,
.storefront-search-suggest-thumb {
    width: 54px;
    height: 54px;
    border-radius: .7rem;
    background: #f1f5f9;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex: 0 0 54px;
}

.storefront-search-suggestion-image,
.storefront-search-suggest-thumb img {
    display: block;
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    object-fit: cover;
}

.storefront-search-suggestion-body,
.storefront-search-suggest-body {
    min-width: 0;
}

.storefront-search-suggestion-name,
.storefront-search-suggest-title {
    display: block;
    overflow: hidden;
    color: #111827;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-search-suggestion-meta,
.storefront-search-suggest-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .45rem;
    margin-top: .18rem;
    color: #64748b;
    font-size: .72rem;
    font-weight: 650;
}

.storefront-search-suggestion-price,
.storefront-search-suggest-price {
    color: #111827;
    font-size: .82rem;
    font-weight: 850;
    white-space: nowrap;
}

.storefront-search-suggestions-footer {
    flex: 0 0 auto;
    padding: .75rem;
    border-top: 1px solid #eef2f6;
}

.storefront-search-suggestions-all,
.storefront-search-suggest-all {
    width: calc(100% - .7rem);
    min-height: 38px;
    margin: .35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: .75rem;
    background: #111827;
    color: #fff !important;
    font-size: .8rem;
    font-weight: 850;
    text-decoration: none;
}

.storefront-search-suggestions-all:hover,
.storefront-search-suggestions-all:focus,
.storefront-search-suggest-all:hover,
.storefront-search-suggest-all:focus {
    background: #1f2937;
    color: #fff !important;
}

.storefront-search-suggestions-empty,
.storefront-search-suggestions-loading,
.storefront-search-suggest-state {
    padding: 1rem;
    color: #64748b;
    font-size: .84rem;
    font-weight: 650;
    text-align: center;
}

.storefront-search-page-header {
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
}

.storefront-search-page-form .storefront-search-control,
.storefront-search-page-form .storefront-search-input-group {
    min-height: 52px;
    border-radius: 1rem;
}

.storefront-search-page-form .storefront-search-input {
    min-height: 52px;
    font-size: 1rem;
}

.storefront-search-page-form .storefront-search-submit {
    min-height: 42px;
    padding-inline: 1.15rem;
}

.storefront-search-empty-state {
    border: 1px dashed #d8e0e8;
    border-radius: 1.1rem;
    background: #fff;
}

.storefront-search-results-card {
    border-radius: 1.15rem;
    overflow: hidden;
}

/*
|--------------------------------------------------------------------------
| Mini Cart Dropdown (Header)
|--------------------------------------------------------------------------
*/
.minicart-wrapper {
    position: relative;
}

.minicart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    color: #212529;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    display: none;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    text-align: left;
}

.minicart-dropdown a {
    color: inherit;
}

.minicart-dropdown .text-muted {
    color: #6c757d !important;
}

.minicart-dropdown .btn-link.text-danger {
    color: #dc3545 !important;
}

.minicart-dropdown .badge,
.minicart-dropdown .btn,
.minicart-dropdown .form-control,
.minicart-dropdown strong,
.minicart-dropdown small,
.minicart-dropdown div,
.minicart-dropdown span,
.minicart-dropdown p {
    color: inherit;
}

.minicart-wrapper:hover .minicart-dropdown {
    display: block;
}

/*
|--------------------------------------------------------------------------
| Cart Page
|--------------------------------------------------------------------------
*/
.cart-page .cart-table th,
.cart-page .cart-table td {
    vertical-align: top;
}

.cart-page .cart-product-description {
    line-height: 1.45;
    max-width: 30rem;
}

.cart-page .cart-table .cart-update-form {
    min-width: 180px;
}

.cart-page .cart-table .cart-qty-row {
    flex-wrap: nowrap;
    align-items: center;
}

.cart-page .cart-table .cart-qty-input {
    width: 110px;
    min-width: 110px;
    flex: 0 0 110px;
}

.cart-page .cart-table .cart-update-btn,
.cart-page .cart-table td.text-end,
.cart-page .cart-table th.text-end {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .cart-page .cart-table {
        min-width: 980px;
    }
}

/*
|--------------------------------------------------------------------------
| Product Page
|--------------------------------------------------------------------------
*/
.product-page-corporate {
    color: #24201e;
    max-width: 100%;
    overflow-x: clip;
}

.product-page-corporate .breadcrumb {
    --bs-breadcrumb-divider-color: #b8b2ad;
    color: #8a837d;
    font-size: .78rem;
}

.product-page-corporate .breadcrumb a {
    color: #8a837d;
}

.product-page-corporate .breadcrumb a:hover {
    color: #24201e;
}

.product-page-corporate .product-hero {
    min-height: 560px;
    max-width: 100%;
}

.product-page-corporate .product-gallery-column,
.product-page-corporate .product-info-column,
.product-page-corporate .product-gallery-main {
    min-width: 0;
}

.product-page-corporate .product-gallery-layout {
    width: 100%;
    max-width: 720px;
    min-width: 0;
    overflow: visible;
}

.product-page-corporate .product-gallery-sidebar-wrap {
    width: 64px;
    flex: 0 0 64px;
    position: relative;
}

.product-page-corporate .product-gallery-sidebar {
    width: 64px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 2px;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-page-corporate .product-gallery-sidebar::-webkit-scrollbar {
    display: none;
}

.product-page-corporate .product-gallery-sidebar-wrap.has-gallery-controls .product-gallery-sidebar {
    max-height: 560px;
    padding-block: 4px;
}

.product-page-corporate .product-gallery-scroll-control {
    width: 34px;
    height: 34px;
    margin-inline: auto;
    border: 1px solid rgba(36, 32, 30, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #24201e;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}

.product-page-corporate .product-gallery-scroll-control:hover {
    border-color: rgba(36, 32, 30, .45);
    transform: translateY(-1px);
}

.product-page-corporate .product-gallery-scroll-control.is-next:hover {
    transform: translateY(1px);
}

.product-page-corporate .product-gallery-scroll-control.is-disabled {
    opacity: .28;
    pointer-events: none;
}

.product-page-corporate .product-gallery-scroll-control i {
    font-size: .75rem;
}

.product-page-corporate .product-gallery-thumb {
    width: 60px;
    height: 60px;
    border: 1px solid transparent !important;
    border-radius: .15rem;
    background: transparent !important;
    opacity: .72;
    transition: border-color .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.product-page-corporate .product-gallery-thumb img {
    display: block;
    width: 52px !important;
    height: 52px !important;
    margin: 3px auto;
    object-fit: cover;
}

.product-page-corporate .product-gallery-thumb:hover,
.product-page-corporate .product-gallery-thumb.active {
    border-color: #24201e !important;
    opacity: 1;
    box-shadow: inset 0 0 0 1px #24201e;
}

.product-page-corporate .product-main-image-clean {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    padding: clamp(1rem, 2vw, 1.75rem);
    overflow: hidden;
    background: transparent !important;
    cursor: zoom-in;
}

.product-page-corporate .product-main-image,
.product-page-corporate .product-main-image-clean img {
    display: block;
    width: 100%;
    max-width: 560px;
    max-height: 600px;
    object-fit: contain;
    transition: opacity .22s ease;
}

.product-page-corporate .product-main-image-clean.is-changing img {
    opacity: .18;
}

.product-page-corporate .product-image-lens {
    position: absolute;
    left: var(--lens-x, 50%);
    top: var(--lens-y, 50%);
    width: 210px;
    height: 210px;
    display: none;
    border: 1px solid rgba(36, 32, 30, .28);
    border-radius: 999px;
    background-image: var(--lens-image);
    background-repeat: no-repeat;
    background-size: var(--lens-bg-width, 1120px) var(--lens-bg-height, 1120px);
    background-position: var(--lens-bg-x, 50%) var(--lens-bg-y, 50%);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .22);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.product-page-corporate .product-main-image-clean.is-lens-active .product-image-lens {
    display: block;
}

.product-page-corporate .product-info-panel {
    width: 100%;
    max-width: 680px;
    padding-top: 1.25rem;
}

.product-page-corporate .product-code-label {
    letter-spacing: .04em;
    font-size: .72rem;
}

.product-page-corporate .product-title-price-row {
    border-bottom: 1px solid #eee8e2;
    padding-bottom: 1.15rem;
}

.product-page-corporate .product-info-panel h1 {
    max-width: 34rem;
    letter-spacing: -.018em;
    line-height: 1.14;
    font-size: clamp(1.8rem, 2.25vw, 2.55rem);
    font-weight: 650;
}

.product-page-corporate .product-title-price {
    min-width: 150px;
    padding-top: .1rem;
}

.product-page-corporate #product-price-display {
    letter-spacing: -.015em;
    font-size: 1.28rem;
    font-weight: 650;
}

.product-page-corporate .product-description-lead {
    max-width: 38rem;
    font-size: .94rem;
    line-height: 1.6;
    color: #514b46 !important;
}

.product-page-corporate #product-price-note,
.product-page-corporate #product-add-to-cart-feedback {
    line-height: 1.4;
}

.product-page-corporate .product-color-dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #d6d0cb;
    background: #fff;
    color: #24201e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    font-size: .68rem;
    font-weight: 700;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.product-page-corporate .product-color-dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-page-corporate .product-color-dot:hover,
.product-page-corporate .product-color-dot.is-active {
    border-color: #24201e;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px #24201e;
}

.product-page-corporate .btn-sm {
    border-radius: 999px;
    padding-inline: .9rem;
}

.product-page-corporate .btn-outline-secondary {
    border-color: #bdb7b2;
    color: #24201e;
}

.product-page-corporate .btn-outline-secondary:hover,
.product-page-corporate .btn-outline-secondary:focus {
    border-color: #24201e;
    background: transparent;
    color: #24201e;
}

.product-page-corporate .btn-dark,
.product-page-corporate .btn-primary {
    border-color: #24201e;
    background: #24201e;
    color: #fff;
}

.product-page-corporate .btn-primary {
    border-radius: 0;
    min-height: 42px;
    font-weight: 700;
}

.product-page-corporate .btn-primary:hover,
.product-page-corporate .btn-primary:focus {
    border-color: #3b3530;
    background: #3b3530;
}

.product-page-corporate .product-availability-row {
    font-size: .95rem;
}

.product-page-corporate .product-tier-prices {
    max-width: 560px;
    border-top: 1px solid #eee8e2;
    border-bottom: 1px solid #eee8e2;
    padding: .85rem 0;
}

.product-page-corporate .product-tier-prices-title {
    color: #6f6862;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: .45rem;
    text-transform: uppercase;
}

.product-page-corporate .product-tier-prices .table,
.product-page-corporate .product-spec-table {
    font-size: .86rem;
}

.product-page-corporate .product-tier-prices th,
.product-page-corporate .product-tier-prices td,
.product-page-corporate .product-spec-table th,
.product-page-corporate .product-spec-table td,
.product-page-corporate .table th,
.product-page-corporate .table td {
    vertical-align: middle;
    border-color: #f0ebe6;
    padding: .42rem 0;
}

.product-page-corporate .product-tier-prices th,
.product-page-corporate .product-spec-table th {
    color: #6f6862;
    font-weight: 500;
    background: transparent;
}

.product-page-corporate .product-tier-prices-table,
.product-page-corporate .product-spec-table {
    border-color: transparent;
}

.product-page-corporate .product-tier-prices-table th,
.product-page-corporate .product-tier-prices-table td,
.product-page-corporate .product-spec-table th,
.product-page-corporate .product-spec-table td {
    border-left: 0;
    border-right: 0;
}

.product-page-corporate .product-tier-prices-table tbody tr:first-child td {
    border-top: 0;
}

.product-page-corporate .product-tier-prices-table tbody tr:last-child td {
    border-bottom: 0;
}

.product-page-corporate .product-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.product-page-corporate .product-spec-table th,
.product-page-corporate .product-spec-table td {
   
    padding: .62rem 0;
    background: transparent;
}


.product-page-corporate .product-spec-table th {
    width: 42%;
    color: #7a726b;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.product-page-corporate .product-spec-table td,
.product-page-corporate .product-spec-table td.text-end {
    color: #24201e;
    font-size: .86rem;
    font-weight: 500;
    text-align: left !important;
}

/* Product detail tabs: clean baseline, no boxed 90s borders */
.product-page-corporate #product-details-tabs {
    border-bottom: 0;
    margin-bottom: .7rem;
}

.product-page-corporate #product-details-tabs .nav-link {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #6f6862;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    padding: .45rem 0;
    margin-right: 1rem;
}

.product-page-corporate #product-details-tabs .nav-link:hover,
.product-page-corporate #product-details-tabs .nav-link:focus {
    color: #24201e;
}

.product-page-corporate #product-details-tabs .nav-link.active {
    color: #24201e;
    border: 0;
    box-shadow: inset 0 -2px 0 #24201e;
}

.product-page-corporate #product-details-tabs-content {
    border: 0 !important;
    background: transparent;
    padding: 0 !important;
}

.product-page-corporate .product-buy-row .form-control {
    border-color: #bdb7b2;
    border-radius: 0;
    min-height: 42px;
}

/*
|--------------------------------------------------------------------------
| Product Related Products
|--------------------------------------------------------------------------
*/
.storefront-related-products {
    --storefront-related-gap: clamp(14px, 1.4vw, 22px);
    --storefront-related-per-view: 3;
    overflow: hidden;
}

.storefront-related-products--flow {
    width: min(100%, 1180px);
    margin: clamp(42px, 6vw, 78px) auto 0;
    padding-block: clamp(18px, 3vw, 34px) 0;
}

.storefront-related-products--inline {
    --storefront-related-gap: 14px;
    --storefront-related-per-view: 3;
    width: 100%;
    border-top: 1px solid rgba(36, 32, 30, .12);
    padding-top: 18px;
}

.storefront-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(18px, 3vw, 44px);
    margin-bottom: clamp(16px, 2.2vw, 28px);
}

.storefront-related-title {
    margin: 0;
    color: #111;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.storefront-related-products--inline .storefront-related-header {
    gap: 14px;
    margin-bottom: 12px;
}

.storefront-related-products--inline .storefront-related-title {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.storefront-related-controls {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: none;
}

.storefront-related-control {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(36, 32, 30, .14);
    border-radius: 999px;
    background: #fff;
    color: #111;
    display: inline-grid;
    place-items: center;
    transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.storefront-related-products--inline .storefront-related-control {
    width: 32px;
    height: 32px;
}

.storefront-related-control:hover:not(:disabled) {
    background: #111;
    color: #fff;
    border-color: #111;
}

.storefront-related-control:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.storefront-related-viewport {
    position: relative;
    overflow: hidden;
}

.storefront-related-viewport::before,
.storefront-related-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: clamp(18px, 4vw, 58px);
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}

.storefront-related-viewport::before {
    left: 0;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.storefront-related-viewport::after {
    right: 0;
    background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.storefront-related-products:not(.is-at-start) .storefront-related-viewport::before,
.storefront-related-products:not(.is-at-end) .storefront-related-viewport::after {
    opacity: 1;
}

.storefront-related-track {
    display: flex;
    gap: var(--storefront-related-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 14px;
    margin: 0 -2px;
}

.storefront-related-track::-webkit-scrollbar {
    display: none;
}

.storefront-related-item {
    flex: 0 0 calc((100% - (var(--storefront-related-gap) * (var(--storefront-related-per-view) - 1))) / var(--storefront-related-per-view));
    min-width: 0;
    scroll-snap-align: start;
}

.storefront-related-item .product-listing-card {
    min-width: 0;
    height: 100%;
    transform: translateZ(0);
}

.storefront-related-item .product-listing-image-link,
.storefront-related-item .product-listing-image-empty {
    aspect-ratio: 1 / 1;
}

.storefront-related-item .product-listing-image-link img {
    padding: 9%;
}

.storefront-related-item .product-listing-card .card-body {
    min-width: 0;
    padding-top: 11px !important;
}

.storefront-related-item .product-listing-card .card-title {
    font-size: 11px;
    line-height: 1.34;
}

.storefront-related-item .product-listing-card .small,
.storefront-related-item .product-listing-card small,
.storefront-related-item .product-listing-card .text-muted {
    font-size: 10px;
    line-height: 1.35;
}

.storefront-related-item .product-listing-option-swatch {
    width: 16px;
    height: 16px;
}

.storefront-related-item .product-listing-option-pill {
    min-height: 20px;
    padding: 2px 7px;
    font-size: 9px;
}

.storefront-related-item .product-listing-card .h5,
.storefront-related-item .product-listing-card .fw-bold {
    font-size: 12px;
}

.storefront-related-item .product-listing-card .d-flex,
.storefront-related-item .product-listing-card .btn-group,
.storefront-related-item .product-listing-card form {
    min-width: 0;
}

.storefront-related-item .product-listing-card .btn {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.12;
    padding: 6px;
    font-size: 8.5px;
}

.storefront-related-item .product-listing-card .btn i {
    flex: none;
    margin-right: 4px !important;
}

.storefront-related-products.is-static .storefront-related-controls {
    visibility: hidden;
    pointer-events: none;
}

.storefront-related-products.is-static .storefront-related-viewport::before,
.storefront-related-products.is-static .storefront-related-viewport::after {
    display: none;
}

@media (min-width: 1400px) {
    .storefront-related-products {
        --storefront-related-per-view: 3;
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .storefront-related-products {
        --storefront-related-gap: 16px;
        --storefront-related-per-view: 3.15;
    }

    .storefront-related-products--flow {
        width: min(100%, 1040px);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .storefront-related-products {
        --storefront-related-gap: 14px;
        --storefront-related-per-view: 2.8;
    }

    .storefront-related-item .product-listing-card .btn {
        min-height: 36px;
        font-size: 8.5px;
        padding-inline: 6px;
    }
}

@media (max-width: 767px) {
    .storefront-related-products {
        --storefront-related-gap: 12px;
        --storefront-related-per-view: 1.72;
        width: 100%;
        margin-top: 42px;
        padding-block: 18px 4px;
    }

    .storefront-related-header {
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .storefront-related-title {
        font-size: 1.45rem;
    }

    .storefront-related-controls {
        display: none;
    }

    .storefront-related-track {
        padding-inline: 2px;
        scroll-padding-inline: 2px;
    }

    .storefront-related-item .product-listing-card .card-body {
        padding-top: 9px !important;
    }

    .storefront-related-item .product-listing-card .card-title {
        font-size: 10.5px;
        line-height: 1.28;
    }

    .storefront-related-item .product-listing-card .small,
    .storefront-related-item .product-listing-card small,
    .storefront-related-item .product-listing-card .text-muted {
        font-size: 10px;
    }

    .storefront-related-item .product-listing-option-swatch {
        width: 14px;
        height: 14px;
    }

    .storefront-related-item .product-listing-card .btn {
        min-height: 31px;
        font-size: 0;
        padding-inline: 4px;
    }

    .storefront-related-item .product-listing-card .btn i {
        margin-right: 0 !important;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .storefront-related-products {
        --storefront-related-per-view: 1.52;
    }
}

@media (max-width: 360px) {
    .storefront-related-products {
        --storefront-related-per-view: 1.25;
    }
}

/*
|--------------------------------------------------------------------------
| Product Listing Cards
|--------------------------------------------------------------------------
*/
.product-listing-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    transition: box-shadow .18s ease, transform .18s ease;
}

.product-listing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .12) !important;
}

.product-listing-card .card-body {
    min-height: 1px;
}

.product-listing-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
}

.product-listing-image-empty {
    min-height: 320px;
    border-bottom: 1px solid #eef2f6;
}

.product-listing-image-primary,
.product-listing-image-hover {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: opacity .22s ease, transform .22s ease;
}

.product-listing-image-primary {
    opacity: 1;
}

.product-listing-image-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.product-listing-image-link .has-hover-image:hover .product-listing-image-primary,
.product-listing-image-link .has-hover-image:focus .product-listing-image-primary,
.product-listing-image-link .has-hover-image:focus-visible .product-listing-image-primary {
    opacity: 0;
}

.product-listing-image-link .has-hover-image:hover .product-listing-image-hover,
.product-listing-image-link .has-hover-image:focus .product-listing-image-hover,
.product-listing-image-link .has-hover-image:focus-visible .product-listing-image-hover {
    opacity: 1;
}

.product-listing-image-link .has-hover-image:hover .product-listing-image-primary,
.product-listing-image-link .has-hover-image:hover .product-listing-image-hover,
.product-listing-image-link .has-hover-image:focus .product-listing-image-primary,
.product-listing-image-link .has-hover-image:focus .product-listing-image-hover,
.product-listing-image-link .has-hover-image:focus-visible .product-listing-image-primary,
.product-listing-image-link .has-hover-image:focus-visible .product-listing-image-hover {
    transform: scale(1.02);
}

.product-listing-wishlist-layer {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-listing-wishlist-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #111827;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .12);
    transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.product-listing-wishlist-btn:hover,
.product-listing-wishlist-btn:focus,
.product-listing-wishlist-btn.is-active {
    background: #111827;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .2);
}

.product-listing-wishlist-btn:disabled {
    opacity: .75;
    cursor: wait;
    transform: none;
}

.product-listing-option-swatch {
    width: 24px;
    height: 24px;
    color: #24201e;
    background: #fff;
    border-color: #d6d0cb !important;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}

.product-listing-option-swatch img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-listing-option-swatch:hover,
.product-listing-option-swatch:focus,
.product-listing-option-swatch.is-active,
.product-listing-option-swatch.is-selected {
    border-color: #24201e !important;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px #24201e;
}

.product-listing-option-pill {
    color: #24201e !important;
    border-color: #d6d0cb !important;
    background: #fff !important;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}

.product-listing-option-pill:hover,
.product-listing-option-pill:focus,
.product-listing-option-pill.is-active,
.product-listing-option-pill.is-selected {
    color: #fff !important;
    border-color: #24201e !important;
    background: #24201e !important;
}

/*
|--------------------------------------------------------------------------
| Product Listing Card Actions
|--------------------------------------------------------------------------
*/
.storefront-inquiry-page {
    --inquiry-line: #e7e8ea;
    --inquiry-soft: #f7f8fb;
    --inquiry-ink: #101828;
}

.storefront-inquiry-intro,
.storefront-inquiry-form-wrap {
    border: 1px solid var(--inquiry-line);
    border-radius: 16px;
    background: #fff;
}

.storefront-inquiry-intro {
    background: radial-gradient(circle at top right, #f3f5fa, #fff 48%);
}

.storefront-inquiry-kicker {
    color: #475467;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.storefront-inquiry-title {
    margin: 0;
    color: var(--inquiry-ink);
    font-size: clamp(1.55rem, 2.3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.08;
}

.storefront-inquiry-subtitle {
    color: #475467;
    font-size: .96rem;
    line-height: 1.65;
}

.storefront-inquiry-meta-item {
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--inquiry-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .82);
    color: #1d2939;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.storefront-inquiry-meta-item i {
    color: #667085;
}

.storefront-inquiry-form-wrap {
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.storefront-inquiry-page .form-label {
    color: #344054;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.storefront-inquiry-page .form-control,
.storefront-inquiry-page .form-select {
    min-height: 46px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: var(--inquiry-soft);
    color: #101828;
    font-size: .95rem;
    box-shadow: none;
}

.storefront-inquiry-page textarea.form-control {
    min-height: 132px;
    resize: vertical;
}

.storefront-inquiry-page .form-control:focus,
.storefront-inquiry-page .form-select:focus {
    border-color: #101828;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16, 24, 40, .08);
}

.storefront-inquiry-page .form-check-input {
    margin-top: .2rem;
}

.storefront-inquiry-page .form-check-label {
    color: #475467;
    font-size: .88rem;
}

.storefront-inquiry-submit,
.storefront-inquiry-alt-cta {
    min-height: 46px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.storefront-inquiry-badges .badge {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 767px) {
    .storefront-inquiry-intro,
    .storefront-inquiry-form-wrap {
        border-radius: 12px;
    }
}
.product-listing-card form[data-product-card-add-to-cart-form] {
    margin-top: auto;
    padding-top: .65rem;
    border-top: 1px solid #eef2f6;
}

.product-listing-card [data-product-card-qty-note] {
    margin-bottom: .45rem !important;
    color: #64748b !important;
    font-size: .72rem;
    font-weight: 600;
}

.product-listing-card form[data-product-card-add-to-cart-form] > .d-flex {
    align-items: flex-end !important;
    gap: .4rem !important;
}

.product-listing-card form[data-product-card-add-to-cart-form] .flex-shrink-0 {
    width: 74px !important;
}

.product-listing-card form[data-product-card-add-to-cart-form] label {
    margin-bottom: .25rem !important;
    font-size: .7rem;
    font-weight: 700;
}

.product-listing-card [data-product-card-qty] {
    height: 36px;
    border: 1px solid #dce3ea;
    border-radius: .65rem;
    background: #f8fafc;
    color: #111827;
    font-size: .86rem;
    font-weight: 700;
    text-align: center;
    box-shadow: none;
}

.product-listing-card [data-product-card-qty]:focus {
    border-color: #111827;
    background: #fff;
    box-shadow: 0 0 0 .15rem rgba(17, 24, 39, .12);
}

.product-listing-card button[type="submit"] {
    min-height: 36px;
    padding: .45rem .7rem !important;
    border: 1px solid #111827 !important;
    border-radius: .65rem !important;
    background: #111827 !important;
    color: #fff !important;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    white-space: nowrap;
    transition: background-color .15s ease, transform .15s ease, border-color .15s ease;
}

.product-listing-card button[type="submit"] i {
    margin-right: 0 !important;
    font-size: .82rem;
    line-height: 1;
}

.product-listing-card button[type="submit"]:hover,
.product-listing-card button[type="submit"]:focus {
    border-color: #1f2937 !important;
    background: #1f2937 !important;
    transform: translateY(-1px);
}

.product-listing-card button[type="submit"]:disabled {
    opacity: .75;
    cursor: wait;
    transform: none;
}

.product-listing-card a.btn[data-product-card-link] {
    min-height: 36px;
    padding: .45rem .65rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .65rem !important;
    border-color: #dce3ea !important;
    background: #fff !important;
    color: #4b5563 !important;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.product-listing-card a.btn[data-product-card-link]:hover,
.product-listing-card a.btn[data-product-card-link]:focus {
    border-color: #111827 !important;
    color: #111827 !important;
}

[data-product-card-feedback] {
    margin-top: .55rem;
    padding: .55rem .7rem;
    border-radius: .65rem;
    font-size: .74rem;
    font-weight: 650;
}

[data-product-card-feedback].text-success,
[data-product-card-feedback].is-success {
    background: #ecfdf3;
    color: #027a48 !important;
}

[data-product-card-feedback].text-danger,
[data-product-card-feedback].is-error {
    background: #fef3f2;
    color: #b42318 !important;
}

/*
|--------------------------------------------------------------------------
| Mobile / Tablet Filter Drawer
|--------------------------------------------------------------------------
*/
.accordion-button:not(.collapsed) {

    background: transparent !important;
   
}
.storefront-filter-backdrop,
.storefront-filter-mobile-trigger {
    display: none;
}

@media (min-width: 992px) {
    .product-page-corporate .product-gallery-column {
        padding-right: clamp(1rem, 2vw, 2rem);
    }

    .product-page-corporate .product-info-column {
        padding-left: clamp(1rem, 2vw, 2rem);
    }
}

@media (min-width: 1200px) {
    .product-page-corporate .product-gallery-layout {
        margin-left: auto;
    }
}

@media (max-width: 1499.98px) {
    .storefront-brand-name {
        max-width: 10.5rem;
    }

    .storefront-nav-link {
        font-size: .74rem;
        padding-left: .25rem !important;
        padding-right: .25rem !important;
    }

    .storefront-header-actions {
        margin-left: .65rem;
    }
}

@media (max-width: 1399.98px) {
    .product-listing-card form[data-product-card-add-to-cart-form] .flex-shrink-0 {
        width: 70px !important;
    }

    .product-listing-card button[type="submit"],
    .product-listing-card a.btn[data-product-card-link] {
        padding-inline: .6rem !important;
        font-size: .74rem;
    }
}

@media (max-width: 1199.98px) {
    .storefront-navbar {
        min-height: 62px;
        padding: .7rem 0;
    }

    .storefront-brand {
        margin-right: .75rem;
    }

    .storefront-main-nav {
        padding-top: 1rem;
        gap: 0;
    }

    .storefront-nav-link {
        padding: .75rem 0 !important;
        white-space: normal;
        border-bottom: 0;
    }

    .storefront-main-nav > .nav-item.dropdown {
        position: relative;
        border-bottom: 1px solid #eef1f4;
    }

    .storefront-main-nav > .nav-item.dropdown:last-child {
        border-bottom: 0;
    }

    .storefront-main-nav .dropdown > .storefront-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
    }

    .storefront-main-nav .dropdown > .storefront-nav-link::after {
        margin-left: auto;
        transition: transform .15s ease;
    }

    .storefront-main-nav .dropdown.show > .storefront-nav-link::after {
        transform: rotate(180deg) scale(.78);
    }

    .storefront-category-menu {
        position: static !important;
        left: auto;
        right: auto;
        display: none;
        width: 100%;
        max-width: 100% !important;
        max-height: none;
        margin: 0 0 .85rem;
        overflow: hidden;
        border-radius: .65rem;
        transform: none !important;
        box-shadow: none !important;
    }

    .storefront-main-nav .dropdown.show > .storefront-category-menu,
    .storefront-category-menu.show {
        display: block;
    }

    .storefront-category-menu-header {
        padding: .85rem 1rem .75rem;
    }

    .storefront-category-menu-grid {
        grid-template-columns: 1fr;
        gap: .85rem;
        padding: .9rem 1rem;
    }

    .storefront-category-menu-third-list {
        gap: .38rem;
        padding-left: .75rem;
    }

    .storefront-category-menu-footer {
        padding: .75rem 1rem .9rem;
    }

    .storefront-header-actions {
        margin-left: 0;
        padding-top: .75rem;
    }

    .storefront-search-bar-row .storefront-search-form {
        width: 100%;
        max-width: none;
    }

    .product-page-corporate .product-gallery-layout,
    .product-page-corporate .product-info-panel {
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    .product-page-corporate .product-hero {
        min-height: 0;
    }

    .product-page-corporate .product-main-image-clean {
        min-height: 420px;
        padding: 1rem;
    }

    .product-page-corporate .product-main-image,
    .product-page-corporate .product-main-image-clean img {
        max-height: 460px;
    }

    .product-page-corporate .product-info-panel {
        max-width: none;
        padding-top: 0;
    }

    .storefront-filter-mobile-trigger {
        position: fixed;
        top: 50%;
        left: .75rem;
        right: auto;
        z-index: 1040;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .45rem;
        width: auto;
        min-width: 96px;
        min-height: 40px;
        padding: .55rem .85rem;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 999px;
        background: #111827;
        color: #fff;
        font-size: .82rem;
        font-weight: 750;
        line-height: 1;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .18), 0 2px 8px rgba(15, 23, 42, .10);
        transform: translateY(-50%);
    }

    .storefront-filter-mobile-trigger i {
        font-size: .86rem;
    }

    .storefront-filter-mobile-trigger strong {
        min-width: 1.2rem;
        height: 1.2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #fff;
        color: #111827;
        font-size: .68rem;
        font-weight: 800;
    }

    .storefront-sidebar-wrapper {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1060;
        width: min(420px, 92vw);
        max-width: 92vw;
        padding: 1rem;
        overflow-y: auto;
        background: #fff;
        box-shadow: 24px 0 60px rgba(15, 23, 42, .18);
        transform: translateX(-105%);
        transition: transform .24s ease;
    }

    body.storefront-filter-drawer-open .storefront-sidebar-wrapper {
        transform: translateX(0);
    }

    .storefront-filter-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1055;
        display: block;
        border: 0;
        background: rgba(15, 23, 42, .42);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
    }

    body.storefront-filter-drawer-open .storefront-filter-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .storefront-sidebar {
        gap: 1rem !important;
    }

    .storefront-sidebar > .card {
        border: 1px solid #eef2f6 !important;
        border-radius: 1rem;
        box-shadow: none !important;
    }

    .storefront-sidebar .card-header {
        position: sticky;
        top: -1rem;
        z-index: 2;
        padding: 1rem;
        border-bottom: 1px solid #eef2f6 !important;
        background: #fff !important;
    }

    .storefront-sidebar .card-header h2 {
        font-size: 1rem;
        font-weight: 800;
    }

    .storefront-sidebar .card-body {
        padding: 1rem;
    }

    .storefront-sidebar-filter {
        padding-bottom: 1rem;
        border-bottom: 1px solid #eef2f6;
    }

    .storefront-sidebar-filter:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .storefront-sidebar-filter > .fw-semibold {
        margin-bottom: .75rem !important;
        color: #111827;
        font-size: .82rem;
        font-weight: 800 !important;
    }

    .storefront-sidebar .form-check {
        min-height: 38px;
        padding: .35rem .45rem;
        border-radius: .7rem;
        background: #f8fafc;
    }

    .storefront-sidebar .form-check-input {
        margin-left: 0;
    }

    .storefront-sidebar .form-check-label {
        font-size: .82rem;
        font-weight: 600;
    }

    .storefront-sidebar .badge {
        font-size: .7rem;
        font-weight: 700;
    }
}

@media (max-width: 575.98px) {
    .storefront-filter-mobile-trigger {
        left: .65rem;
        min-width: 88px;
        min-height: 38px;
        padding: .5rem .7rem;
        font-size: .8rem;
    }

    .storefront-brand-name {
        max-width: 9rem;
    }

    .storefront-account-btn span,
    .storefront-cart-btn span {
        display: none;
    }

    .storefront-search-input-group,
    .storefront-search-control {
        min-height: 40px;
    }

    .storefront-search-input {
        min-height: 40px;
        font-size: .82rem;
    }

    .storefront-search-submit span {
        display: none;
    }

    .storefront-search-submit {
        width: 36px;
        min-width: 36px;
        min-height: 34px;
        padding: 0;
    }

    .storefront-search-suggestion-item,
    .storefront-search-suggest-item {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .storefront-search-suggestion-price,
    .storefront-search-suggest-price {
        grid-column: 2;
    }

    .storefront-search-suggestion-image,
    .storefront-search-suggestion-image-placeholder,
    .storefront-search-suggest-thumb,
    .storefront-search-suggest-thumb img {
        width: 46px !important;
        height: 46px !important;
        max-width: 46px !important;
        max-height: 46px !important;
    }

    .product-page-corporate .product-gallery-layout {
        gap: .65rem !important;
    }

    .product-page-corporate .product-gallery-sidebar {
        width: 54px;
        max-height: 360px;
    }

    .product-page-corporate .product-gallery-sidebar-wrap {
        width: 54px;
        flex-basis: 54px;
    }

    .product-page-corporate .product-gallery-sidebar-wrap.has-gallery-controls .product-gallery-sidebar {
        max-height: 500px;
    }

    .product-page-corporate .product-gallery-scroll-control {
        width: 30px;
        height: 30px;
    }

    .product-page-corporate .product-gallery-thumb {
        width: 54px;
        height: 54px;
        margin-bottom: .65rem !important;
    }

    .product-page-corporate .product-gallery-thumb img {
        width: 46px !important;
        height: 46px !important;
    }

    .product-page-corporate .product-main-image-clean {
        min-height: 320px;
        padding: .75rem;
    }

    .product-page-corporate .product-main-image,
    .product-page-corporate .product-main-image-clean img {
        max-height: 330px;
    }

    .product-page-corporate .product-title-price {
        min-width: 0;
        text-align: left !important;
    }

    .product-listing-image-primary,
    .product-listing-image-hover,
    .product-listing-image-empty {
        height: 260px;
        min-height: 260px;
    }

    .product-listing-card form[data-product-card-add-to-cart-form] > .d-flex {
        flex-wrap: wrap;
    }

    .product-listing-card form[data-product-card-add-to-cart-form] .flex-shrink-0 {
        width: 82px !important;
    }

    .product-listing-card form[data-product-card-add-to-cart-form] .flex-grow-1 {
        min-width: calc(100% - 90px);
    }

    .product-listing-card a.btn[data-product-card-link] {
        width: 100%;
    }
}
/* Fix autocomplete search con add-to-cart */
.storefront-search-suggest-item {
    grid-template-columns: 54px minmax(0, 1fr) auto !important;
    align-items: center;
}

.storefront-search-suggest-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}

.storefront-search-suggest-cart {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(72px, 92px) 38px minmax(0, 1fr);
    align-items: end;
    gap: .45rem;
    margin-top: .45rem;
    padding-left: calc(54px + .8rem);
}

.storefront-search-suggest-qty-label {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .18rem;
    color: #64748b;
    font-size: .7rem;
    font-weight: 800;
}

.storefront-search-suggest-qty-label input {
    width: 100%;
    height: 34px;
    border: 1px solid #dce3ea;
    border-radius: .6rem;
    background: #fff;
    color: #111827;
    font-size: .82rem;
    font-weight: 750;
    text-align: center;
}

.storefront-search-suggest-cart-btn {
    width: 38px;
    height: 34px;
    border: 0;
    border-radius: .6rem;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.storefront-search-suggest-cart-btn:disabled {
    opacity: .7;
}

.storefront-search-suggest-min {
    padding-bottom: .45rem;
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .storefront-search-suggest-cart {
        padding-left: calc(46px + .8rem);
        grid-template-columns: 78px 38px;
    }

    .storefront-search-suggest-min {
        grid-column: 1 / -1;
        padding-bottom: 0;
    }
}

.product-spec-accordion-row th,
.product-spec-accordion-row td {
    padding: .62rem 0 !important;
    border-top: 1px solid #ebe5df !important;
    border-bottom: 1px solid #ebe5df !important;
    background: transparent !important;
    vertical-align: middle;
}

.product-spec-accordion-toggle {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;

    color: #333b35;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.product-spec-accordion-action {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    color: #24201e;
}

.product-spec-accordion-action i {
    font-size: .78rem;
    transition: transform .18s ease;
}

.product-spec-accordion-action:not(.collapsed) i {
    transform: rotate(180deg);
}

.product-comparisons-collapse-row td {
    padding: .25rem 0 .75rem !important;
    border-top: 0 !important;
}

.product-comparisons-panel {
    padding: 0;
    border: 0;
    background: transparent;
}

.product-comparison-item {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 0;
    align-items: center;

    padding: .62rem 0;
    border-bottom: 1px solid #f0ebe6;
}

.product-comparison-item:last-child {
    border-bottom: 0;
}

.product-comparison-source {
    color: #3b3530;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .015em;
    text-transform: uppercase;
}

.product-comparison-sku {
    color: #24201e;
    font-size: .86rem;
    font-weight: 500;
    text-align: left;
}

.storefront-cookie-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 1080;
    width: min(100% - 36px, 920px);
    margin-inline: auto;
    padding: 14px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(17, 24, 39, .12);
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    color: #1f2937;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
    backdrop-filter: blur(14px);
}

.storefront-cookie-consent[hidden] {
    display: none !important;
}

.storefront-cookie-consent__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f5f5f4;
    color: #111827;
}

.storefront-cookie-consent__icon svg {
    width: 20px;
    height: 20px;
}

.storefront-cookie-consent__text {
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
}

.storefront-cookie-consent__text a {
    margin-left: 8px;
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.storefront-cookie-consent__actions,
.storefront-cookie-policy-panel__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.storefront-cookie-consent__button {
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid #111827;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font: 600 12px/1 Montserrat, Helvetica, Arial, sans-serif;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.storefront-cookie-consent__button:hover {
    background: #000;
}

.storefront-cookie-consent__button--ghost {
    border-color: rgba(17, 24, 39, .18);
    background: #fff;
    color: #111827;
}

.storefront-cookie-consent__button--ghost:hover {
    border-color: #111827;
    background: #f8fafc;
}

.storefront-cookie-consent__panel {
    grid-column: 1 / -1;
    padding: 14px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 18px;
    background: #f8fafc;
}

.storefront-cookie-consent__panel-title,
.storefront-cookie-policy-panel__title {
    margin-bottom: 12px;
    color: #111827;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.storefront-cookie-consent__choices {
    display: grid;
    gap: 10px;
}

.storefront-cookie-toggle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(17, 24, 39, .1);
    border-radius: 14px;
    background: #fff;
}

.storefront-cookie-toggle strong,
.storefront-cookie-toggle small {
    display: block;
}

.storefront-cookie-toggle strong {
    color: #111827;
    font-size: .92rem;
}

.storefront-cookie-toggle small {
    margin-top: 2px;
    color: #64748b;
    font-size: .78rem;
    line-height: 1.4;
}

.storefront-cookie-toggle input {
    width: 42px;
    height: 22px;
    flex: 0 0 42px;
    margin: 0;
    appearance: none;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #e2e8f0;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}

.storefront-cookie-toggle input::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    margin: 1px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .18);
    transition: transform .18s ease;
}

.storefront-cookie-toggle input:checked {
    border-color: #111827;
    background: #111827;
}

.storefront-cookie-toggle input:checked::before {
    transform: translateX(20px);
}

.storefront-cookie-toggle input:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.storefront-cookie-consent__panel .storefront-cookie-consent__button {
    margin-top: 12px;
}

.storefront-cookie-policy-panel {
    padding: 18px;
    border: 1px solid rgba(17, 24, 39, .1);
    border-radius: 18px;
    background: #f8fafc;
}

.storefront-cookie-policy-panel__actions {
    margin-top: 16px;
}

.storefront-cookie-policy-panel__status {
    margin-top: 12px;
    color: #047857;
    font-size: .88rem;
    font-weight: 600;
}

.storefront-cookie-installed-list {
    display: grid;
    gap: 8px;
}

.storefront-cookie-installed-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 12px;
    background: #f8fafc;
}

.storefront-cookie-installed-list__item span {
    color: #64748b;
    font-size: .78rem;
    white-space: nowrap;
}

.storefront-product-media-frame,
.storefront-product-media-placeholder {
    min-height: 420px;
}

.storefront-product-main-image {
    max-height: 380px;
    object-fit: contain;
}

.storefront-product-gallery-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.storefront-product-swatch {
    width: 28px;
    height: 28px;
}

.storefront-product-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-product-technical-label {
    width: 40%;
}

.storefront-checkout-summary-card {
    top: 1.5rem;
}

.storefront-checkout-summary-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.storefront-checkout-qty-input {
    width: 90px;
}

.storefront-account-order-link {
    grid-template-columns: 1fr auto;
    gap: 16px;
}

.storefront-account-order-item {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 16px;
}

.storefront-account-order-totals {
    max-width: 360px;
}

.storefront-order-thumb {
    width: 76px;
}

.storefront-sort-select {
    min-width: 170px;
}

.storefront-swatch-sm {
    width: 16px;
    height: 16px;
}

.storefront-object-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-object-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.storefront-product-card-quickview-media {
    width: 96px;
}

.storefront-thumb-56 {
    width: 56px;
    height: 56px;
}

.storefront-thumb-58 {
    width: 58px;
    height: 58px;
    object-fit: cover;
}

.storefront-thumb-64 {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.storefront-thumb-112 {
    width: 112px;
    height: 112px;
}

.storefront-icon-42 {
    width: 42px;
    height: 42px;
}

.storefront-icon-48 {
    width: 48px;
    height: 48px;
}

.storefront-icon-56 {
    width: 56px;
    height: 56px;
}

.storefront-dot-danger {
    width: 7px;
    height: 7px;
}

.storefront-auth-logo {
    max-height: 64px;
    max-width: 220px;
    object-fit: contain;
}

.storefront-auth-container-narrow {
    max-width: 680px;
}

.storefront-document-stat {
    min-width: 150px;
}

.storefront-document-stat-wide {
    min-width: 180px;
}

.storefront-document-stat-xwide {
    min-width: 190px;
}

.storefront-footer-logo {
    display: block;
    width: 100px;
    max-width: 150px;
    max-height: 30px;
    object-fit: contain;
}

.storefront-footer-logo-fallback {
    width: 36px;
    height: 36px;
}

.storefront-footer-copy {
    line-height: 1.55;
    max-width: 22rem;
}

.storefront-footer-heading {
    font-size: .72rem;
    letter-spacing: .06em;
}

.storefront-footer-social-link {
    width: 32px;
    height: 32px;
    padding: 0;
}

.storefront-store-locator-intro {
    max-width: 760px;
}

.storefront-minicart-text-xs {
    font-size: .75rem;
    line-height: 1.35;
}

.storefront-minicart-qty {
    width: 88px;
}

.storefront-cart-col-product {
    width: 48%;
}

.storefront-cart-col-description {
    width: 24%;
}

.storefront-cart-col-qty,
.storefront-cart-col-total {
    width: 11%;
}

.storefront-cart-col-actions {
    width: 6%;
}

@media (max-width: 640px) {
    .storefront-cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        grid-template-columns: auto minmax(0, 1fr);
        border-radius: 22px;
    }

    .storefront-cookie-consent__actions,
    .storefront-cookie-policy-panel__actions {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: stretch;
    }

    .storefront-cookie-consent__button {
        flex: 1 1 100%;
        width: 100%;
    }

    .storefront-cookie-toggle {
        align-items: center;
    }
}
