/* Loaded by the storefront layouts only at desktop widths. */
:root {
    --store-width: min(94%, 1360px);
    --store-ink: var(--cw-store-chip-text, #202640);
    --store-paper: var(--cw-store-surface, white);
    --store-line: var(--cw-store-border, #dce3f0);
}
[data-theme="dark"] {
    --store-ink: var(--cw-store-chip-text, #f1f3fc);
    --store-paper: var(--cw-store-surface, #202437);
    --store-line: var(--cw-store-border, #424960);
}
.desktop-store-bar[hidden], .desktop-brand-name[hidden] { display: block !important; }
.desktop-store-links[hidden] { display: flex !important; }
.desktop-store-bar, #headerArea { background-color: var(--store-paper); }
.desktop-store-bar { border-bottom: 1px solid var(--store-line); }
.desktop-store-bar > .container, #headerArea > .container {
    width: var(--store-width);
    max-width: none;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 36px);
}
.desktop-store-bar > .container { min-height: 74px; justify-content: space-between; }
.desktop-store-brand, #headerArea .logo-wrapper a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--store-ink);
    font-size: 1.25rem;
    font-weight: 700;
}
.desktop-store-links { align-items: center; gap: clamp(10px, 1.5vw, 28px); }
.desktop-store-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--store-ink);
    white-space: nowrap;
    font-size: .9rem;
}
.desktop-store-links a:is(:hover, :focus-visible) {
    text-decoration: none;
}
.desktop-store-links a:is(:hover, :focus-visible)::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 6px;
    height: 1px;
    background: currentColor;
    pointer-events: none;
}
#footerNav { display: none; }
#headerArea { position: sticky; top: 0; }
#headerArea:has(.desktop-store-links) { height: 74px; }
#headerArea .top-search-form { flex: 1; max-width: 450px; }
#headerArea .top-search-form input.form-control { width: 100%; height: 40px; border-radius: 12px; }
#headerArea .suha-navbar-toggler { flex-shrink: 0; }
.page-content-wrapper { margin-top: 20px; margin-bottom: 40px; }
.desktop-store-home, .desktop-product-detail, .page-content-wrapper.container-fluid {
    width: var(--store-width);
    margin-inline: auto;
}
.desktop-store-home .container { width: 100%; max-width: none; padding-inline: 0; }
.desktop-store-home .hero-slides { overflow: hidden; border-radius: 20px; }
.desktop-store-home .single-hero-slide { height: clamp(320px, 30vw, 455px); }
.desktop-store-home .single-hero-slide .container { padding-inline: clamp(40px, 5vw, 80px); }
.desktop-store-home .section-heading { margin-bottom: 16px; }
.desktop-store-home .section-heading h6 { font-size: 1.2rem; }
.desktop-store-home .cat-grid { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.desktop-store-home .cat-card { flex-direction: row; gap: 14px; min-height: 96px; }
.desktop-store-home .price-chipbar { gap: 12px; }
.desktop-store-home .home-featured { margin-block: 16px; }
.desktop-product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
    margin-top: clamp(20px, 2.5vw, 36px);
}
.desktop-product-detail .product-slides {
    min-width: 0;
    margin-bottom: 0;
    border: 1px solid var(--store-line);
    border-radius: 18px;
    background: var(--store-paper);
    overflow: hidden;
}
.desktop-product-detail .single-product-slide {
    height: clamp(380px, 37vw, 560px);
    padding: 28px 54px 40px;
    background-size: contain;
    background-origin: content-box;
    background-repeat: no-repeat;
}
.desktop-product-detail .product-slides :is(.owl-prev, .owl-next) {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    border: 1px solid var(--store-line);
    border-radius: 50%;
    background: var(--store-paper);
    color: var(--store-ink);
}
.desktop-product-detail .product-slides .owl-dots .owl-dot:not(.active) {
    background-color: var(--store-line);
}
.desktop-product-detail .product-description {
    min-width: 0;
    padding-bottom: 0 !important;
}
.desktop-product-detail .product-description > div {
    border: 1px solid var(--store-line);
    border-radius: 16px;
}
.desktop-product-detail .product-description > .cart-form-wrapper:last-child {
    margin-bottom: 0 !important;
}
.desktop-product-detail .container {
    max-width: 100%;
    padding-inline: clamp(18px, 2vw, 30px);
}
.desktop-product-detail .product-title-meta-data::after {
    content: none;
}
.desktop-product-detail .product-title-price-row {
    flex-direction: column;
    gap: 14px;
}
.desktop-product-detail .product-title-block {
    width: 100%;
    overflow-wrap: anywhere;
}
.desktop-product-detail .product-buy-aside {
    width: 100%;
    max-width: none;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--store-line);
    padding-top: 14px;
}
.desktop-product-detail .p-specification {
    overflow-wrap: anywhere;
}

.desktop-store-home .featured-modern-thumb-wrap {
    aspect-ratio: 4 / 3;
}
.desktop-store-home .featured-modern-thumb.d-block {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.desktop-store-home .featured-modern-thumb img.featured-modern-image {
    width: 100% !important;
    height: 100% !important;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.desktop-store-bar {
    position: relative;
    z-index: 1001;
}
.desktop-cart {
    position: relative;
}
.desktop-cart .desktop-cart-link {
    gap: 8px;
}
.desktop-cart-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--store-line);
    border-radius: 10px;
    font-size: 1rem;
}
.desktop-cart-count {
    position: absolute;
    inset-block-start: -5px;
    inset-inline-end: -4px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding-inline: 3px;
    border: 2px solid var(--store-paper);
    border-radius: 999px;
    background: var(--cw-store-accent, #263cc2);
    color: var(--cw-store-on-accent, #fff);
    font-size: .65rem;
    font-weight: 700;
    line-height: 1;
}
.desktop-cart-preview {
    position: absolute;
    inset-inline-end: 0;
    top: 100%;
    z-index: 2;
    width: 290px;
    padding: 14px;
    border: 1px solid var(--store-line);
    border-radius: 12px;
    background: var(--store-paper);
    color: var(--store-ink);
    box-shadow: 0 10px 24px rgba(27, 38, 77, .14);
    font-size: .85rem;
    visibility: hidden;
}
.desktop-cart:not(.cart-preview-dismissed):hover .desktop-cart-preview,
.desktop-cart:not(.cart-preview-dismissed) > a:focus-visible + .desktop-cart-preview {
    visibility: visible;
}
.desktop-cart-preview [hidden] { display: none; }
.desktop-cart-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.desktop-cart-preview li,
.desktop-cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding-block: 6px;
}
.desktop-cart-preview li span:first-child { overflow-wrap: anywhere; }
.desktop-cart-preview li span:last-child,
.desktop-cart-subtotal strong { white-space: nowrap; }
.desktop-cart-preview p {
    margin: 4px 0;
    font-size: .8rem;
}
.desktop-cart-subtotal {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--store-line);
}
