/*
 * Customer storefront refresh
 * Loaded after the legacy client styles so existing PHP and AJAX behaviour stay intact.
 */

:root {
    --storefront-ink: #15213b;
    --storefront-muted: #64748b;
    --storefront-line: #e7edf5;
    --storefront-surface: #ffffff;
    --storefront-canvas: #f5f7fb;
    --storefront-accent: var(--primary, #4f46e5);
    --storefront-accent-dark: #312e81;
    --storefront-accent-soft: #eef2ff;
    --storefront-success: #059669;
    --storefront-shadow: 0 14px 40px rgba(20, 33, 61, 0.08);
    --storefront-shadow-hover: 0 20px 48px rgba(20, 33, 61, 0.14);
    --storefront-radius: 18px;
}

html {
    scroll-padding-top: 130px;
}

body.storefront {
    min-height: 100vh;
    color: var(--storefront-ink);
    background: var(--storefront-canvas);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.storefront a,
body.storefront button,
body.storefront input,
body.storefront select,
body.storefront textarea {
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.storefront a:focus-visible,
body.storefront button:focus-visible,
body.storefront input:focus-visible,
body.storefront select:focus-visible,
body.storefront textarea:focus-visible {
    outline: 3px solid rgba(79, 70, 229, .28);
    outline-offset: 3px;
}

body.storefront .section,
body.storefront .inner-section {
    padding-top: 40px;
    padding-bottom: 64px;
}

/* Header and navigation */
body.storefront .header-top {
    color: rgba(255, 255, 255, .82);
    background: #17223a;
    border: 0;
}

body.storefront .header-top-welcome p,
body.storefront .header-top-list li a,
body.storefront .header-select,
body.storefront .header-select i,
body.storefront .header-select .nice-select .current {
    color: inherit;
}

body.storefront .header-top-list li a:hover {
    color: #ffffff;
}

body.storefront .header-select {
    border-color: rgba(255, 255, 255, .17);
}

body.storefront .header-select .nice-select::after {
    border-color: rgba(255, 255, 255, .7);
}

body.storefront .header-part,
body.storefront .header-part.active {
    position: sticky;
    top: 0;
    z-index: 1050;
    padding: 14px 0;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--storefront-line);
    box-shadow: 0 4px 18px rgba(15, 23, 42, .04);
    backdrop-filter: blur(16px);
}

body.storefront .header-content {
    gap: 28px;
}

body.storefront .header-logo img,
body.storefront .header-media-group a img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

body.storefront .header-form {
    height: 48px;
    border: 1px solid var(--storefront-line);
    border-radius: 14px;
    background: #f8fafc;
    box-shadow: none;
}

body.storefront .header-form:focus-within {
    border-color: var(--storefront-accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .1);
}

body.storefront .header-form input {
    color: var(--storefront-ink);
    background: transparent;
}

body.storefront .header-form button {
    width: 46px;
    height: 40px;
    margin-right: 3px;
    border-radius: 11px;
    color: #ffffff;
    background: var(--storefront-accent);
}

body.storefront .header-form button:hover {
    background: var(--storefront-accent-dark);
}

body.storefront .header-widget-group {
    gap: 8px;
}

body.storefront .header-widget-group .header-widget,
body.storefront .header-widget-group .header-widget:first-child {
    width: 43px;
    height: 43px;
    margin: 0;
    border: 1px solid var(--storefront-line);
    border-radius: 12px;
    color: var(--storefront-ink);
    background: #ffffff;
    box-shadow: none;
}

body.storefront .header-widget-group .header-widget:hover {
    color: #ffffff;
    border-color: var(--storefront-accent);
    background: var(--storefront-accent);
    transform: translateY(-2px);
}

body.storefront .header-widget-group .header-widget:last-child {
    width: auto;
    min-width: 43px;
    padding: 0 10px 0 4px;
}

body.storefront .header-widget img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

body.storefront .header-widget span p:first-child {
    color: var(--storefront-ink);
}

body.storefront .header-widget sup {
    color: #ffffff;
    background: #ef4444;
}

body.storefront .navbar-part {
    border-bottom: 1px solid var(--storefront-line);
    background: #ffffff;
}

body.storefront .navbar-content {
    min-height: 56px;
}

body.storefront .navbar-list {
    gap: 3px;
}

body.storefront .navbar-item {
    margin: 0;
}

body.storefront .navbar-link {
    padding: 9px 12px;
    border-radius: 10px;
    color: #3c4b66;
    font-size: 14px;
    font-weight: 650;
}

body.storefront .navbar-link:hover,
body.storefront .navbar-item:hover > .navbar-link {
    color: var(--storefront-accent);
    background: var(--storefront-accent-soft);
}

body.storefront .navbar-info-group {
    gap: 14px;
}

body.storefront .navbar-info {
    gap: 8px;
    color: var(--storefront-accent);
}

body.storefront .navbar-info p small {
    color: var(--storefront-muted);
}

body.storefront .navbar-info p span {
    color: var(--storefront-ink);
    font-weight: 650;
}

body.storefront .dropdown-position-list,
body.storefront .megamenu {
    overflow: hidden;
    border: 1px solid var(--storefront-line);
    border-radius: 14px;
    box-shadow: var(--storefront-shadow-hover);
}

body.storefront .dropdown-position-list li a,
body.storefront .megamenu-list li a {
    border-radius: 8px;
}

body.storefront .dropdown-position-list li a:hover,
body.storefront .megamenu-list li a:hover {
    color: var(--storefront-accent);
    background: var(--storefront-accent-soft);
}

/* Hero */
body.storefront .storefront-hero {
    padding: 30px 0 4px;
}

body.storefront .storefront-hero__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
    gap: 40px;
    overflow: hidden;
    min-height: 330px;
    padding: 48px 58px;
    isolation: isolate;
    border-radius: 26px;
    color: #ffffff;
    background: linear-gradient(120deg, #17223a 0%, #263c70 55%, var(--storefront-accent) 145%);
    box-shadow: 0 24px 56px rgba(37, 58, 111, .2);
}

body.storefront .storefront-hero__panel::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .45;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.34) 1px, transparent 0);
    background-size: 20px 20px;
    mask-image: linear-gradient(to right, #000, transparent 72%);
}

body.storefront .storefront-hero__content {
    align-self: center;
    max-width: 670px;
}

body.storefront .storefront-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.1);
    font-size: 13px;
    font-weight: 700;
}

body.storefront .storefront-hero h1,
body.storefront .storefront-hero .storefront-hero__title {
    max-width: 680px;
    margin: 18px 0 12px;
    color: #ffffff;
    font-size: clamp(31px, 4vw, 51px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.04em;
}

body.storefront .storefront-hero p {
    max-width: 610px;
    margin-bottom: 26px;
    color: rgba(255,255,255,.8);
    font-size: 16px;
    line-height: 1.7;
}

body.storefront .storefront-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.storefront .storefront-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
}

body.storefront .storefront-button--primary {
    color: #1b2850;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

body.storefront .storefront-button--primary:hover {
    color: #1b2850;
    background: #f8fafc;
    transform: translateY(-2px);
}

body.storefront .storefront-button--quiet {
    border-color: rgba(255,255,255,.3);
    color: #ffffff;
    background: rgba(255,255,255,.08);
}

body.storefront .storefront-button--quiet:hover {
    color: #ffffff;
    background: rgba(255,255,255,.16);
}

body.storefront .storefront-hero__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 22px;
    margin: 28px 0 0;
}

body.storefront .storefront-hero__benefits li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.75);
    font-size: 12px;
    font-weight: 650;
}

body.storefront .storefront-hero__benefits i {
    color: #a7f3d0;
}

body.storefront .storefront-hero__visual {
    position: relative;
    min-height: 232px;
}

body.storefront .storefront-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

body.storefront .storefront-orb--one {
    top: 18px;
    right: 20px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255,255,255,.34);
    background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.34), rgba(255,255,255,.04) 65%);
}

body.storefront .storefront-orb--two {
    right: 130px;
    bottom: 5px;
    width: 130px;
    height: 130px;
    background: rgba(122, 176, 255, .26);
}

body.storefront .storefront-hero__card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(255,255,255,.29);
    border-radius: 17px;
    background: rgba(255,255,255,.14);
    box-shadow: 0 22px 44px rgba(9, 20, 46, .22);
    backdrop-filter: blur(10px);
}

body.storefront .storefront-hero__card--main {
    top: 70px;
    left: 12px;
    padding: 17px 20px;
}

body.storefront .storefront-hero__card-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    color: var(--storefront-accent-dark);
    background: #ffffff;
}

body.storefront .storefront-hero__card strong,
body.storefront .storefront-hero__card small {
    display: block;
}

body.storefront .storefront-hero__card strong {
    color: #ffffff;
    font-size: 14px;
}

body.storefront .storefront-hero__card small {
    margin-top: 3px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
}

body.storefront .storefront-hero__card--mini {
    right: 4px;
    bottom: 42px;
    gap: 8px;
    padding: 11px 14px;
    color: #d1fae5;
    font-size: 12px;
    font-weight: 700;
}

/* Product discovery and cards */
body.storefront .feature-part {
    padding-top: 30px;
}

body.storefront .account-card,
body.storefront .card-wallet-home,
body.storefront .profile-card,
body.storefront .dashboard-card,
body.storefront .table-scroll,
body.storefront .user-form-card,
body.storefront .user-form-remind {
    border: 1px solid var(--storefront-line);
    border-radius: var(--storefront-radius);
    background: var(--storefront-surface);
    box-shadow: var(--storefront-shadow);
}

body.storefront .account-card {
    padding: 20px;
}

body.storefront .custom-button-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    overflow: visible;
    padding: 2px 1px 14px;
}

body.storefront .custom-button-list li {
    flex: 0 0 auto;
}

body.storefront .btn-category-home {
    display: inline-flex;
    align-items: center;
    min-height: 39px;
    padding: 0 14px;
    border: 1px solid var(--storefront-line);
    border-radius: 999px;
    color: #475569;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    white-space: normal;
    text-align: left;
}

body.storefront .btn-category-home:hover,
body.storefront .btn-category-home.active {
    border-color: var(--storefront-accent);
    color: #ffffff;
    background: var(--storefront-accent);
    box-shadow: 0 8px 16px rgba(79, 70, 229, .18);
}

body.storefront .home-heading {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 2px;
}

body.storefront .home-heading h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--storefront-ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.025em;
}

body.storefront .home-heading h3::after {
    width: 38px;
    height: 3px;
    border-radius: 99px;
    content: "";
    background: var(--storefront-accent);
}

body.storefront .home-heading h3 img {
    width: 29px;
    height: 29px;
    padding: 5px;
    object-fit: contain;
    border-radius: 9px;
    background: var(--storefront-accent-soft);
}

body.storefront .feature-card {
    height: calc(100% - 16px);
    margin: 0 0 16px;
    overflow: hidden;
    border: 1px solid var(--storefront-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(15, 23, 42, .035);
}

body.storefront .feature-card:hover {
    border-color: rgba(79, 70, 229, .35);
    box-shadow: var(--storefront-shadow-hover);
    transform: translateY(-4px);
}

body.storefront .feature-content {
    padding: 20px;
}

body.storefront .feature-name {
    min-height: 42px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
}

body.storefront .feature-name a {
    color: var(--storefront-ink);
}

body.storefront .feature-name a:hover {
    color: var(--storefront-accent);
}

body.storefront .feature-desc {
    display: -webkit-box;
    min-height: 40px;
    margin: 10px 0 16px;
    overflow: hidden;
    color: var(--storefront-muted);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.storefront .feature-desc i {
    color: var(--storefront-accent);
}

body.storefront .label-text {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    margin: 0 5px 8px 0;
    padding: 4px 8px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 650;
}

body.storefront .label-text.feat {
    color: #075985;
    background: #e0f2fe;
}

body.storefront .label-text.order {
    color: #065f46;
    background: #d1fae5;
}

body.storefront .label-text.off {
    color: #b42318;
    background: #fee4e2;
}

body.storefront .feature-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    margin: 8px 0 10px;
}

body.storefront .feature-price span {
    color: var(--storefront-accent);
    font-size: 19px;
    font-weight: 800;
}

body.storefront .feature-price del {
    color: #94a3b8;
    font-size: 12px;
}

body.storefront .btn-buy,
body.storefront .btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 39px;
    padding: 0 9px;
    border: 1px solid var(--storefront-accent);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .01em;
}

body.storefront .btn-buy {
    color: #ffffff;
    background: var(--storefront-accent);
}

body.storefront .btn-buy:hover {
    border-color: var(--storefront-accent-dark);
    color: #ffffff;
    background: var(--storefront-accent-dark);
}

body.storefront .btn-more {
    color: var(--storefront-accent);
    background: #ffffff;
}

body.storefront .btn-more:hover {
    color: #ffffff;
    background: var(--storefront-accent);
}

body.storefront .card-price-product-list {
    margin-bottom: 13px;
}

body.storefront .product-disable::before {
    top: auto;
    bottom: 15px;
    width: calc(100% - 40px);
    padding: 8px;
    border-radius: 8px;
    background: rgba(100, 116, 139, .9);
}

body.storefront .product-disable {
    opacity: .74;
}

body.storefront .product-disable:hover {
    transform: none;
}

body.storefront .empty-state {
    margin: 12px 0;
    padding: 42px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: var(--storefront-radius);
    background: #ffffff;
}

body.storefront .bottom-paginate {
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--storefront-line);
    border-radius: 14px;
    background: #ffffff;
}

body.storefront .pagination .page-link,
body.storefront .pagination li a {
    border-radius: 9px;
}

/* Wallet, inner pages, forms and modals */
body.storefront .card-wallet-home {
    position: sticky;
    top: 126px;
    padding: 24px !important;
}

body.storefront .my-wallet {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--storefront-line);
}

body.storefront .my-wallet p,
body.storefront .wallet-card p {
    color: var(--storefront-muted);
}

body.storefront .my-wallet h3 {
    color: var(--storefront-accent);
    font-size: 26px;
    font-weight: 800;
}

body.storefront .wallet-card {
    padding: 12px 0;
    border-bottom-color: var(--storefront-line);
}

body.storefront .inner-section .container > .row,
body.storefront .profile-part .row {
    position: relative;
}

body.storefront .user-form-card {
    padding: 34px;
}

body.storefront .user-form-title h2 {
    color: var(--storefront-ink);
    font-weight: 800;
}

body.storefront .user-form .form-control,
body.storefront .form-control,
body.storefront .form-select {
    min-height: 46px;
    border-color: #dbe3ee;
    border-radius: 11px;
    color: var(--storefront-ink);
    background: #fbfdff;
    box-shadow: none;
}

body.storefront .user-form .form-control:focus,
body.storefront .form-control:focus,
body.storefront .form-select:focus {
    border-color: var(--storefront-accent);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .1);
}

body.storefront .form-button button {
    height: 48px;
    border-radius: 11px;
    background: var(--storefront-accent);
    box-shadow: 0 10px 20px rgba(79, 70, 229, .18);
}

body.storefront .form-button button:hover {
    background: var(--storefront-accent-dark);
    transform: translateY(-1px);
}

body.storefront .modal-content {
    overflow: hidden;
    border: 1px solid var(--storefront-line);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15,23,42,.2);
}

body.storefront .modal-header,
body.storefront .modal-footer {
    border-color: var(--storefront-line);
}

body.storefront .modal-title {
    color: var(--storefront-ink);
    font-weight: 800;
}

body.storefront .category-sidebar,
body.storefront .cart-sidebar {
    border-right: 1px solid var(--storefront-line);
    box-shadow: 20px 0 46px rgba(15, 23, 42, .14);
}

body.storefront .category-header,
body.storefront .cart-header {
    color: #ffffff;
    background: #17223a;
}

/* Footer */
body.storefront .footer-part {
    margin-top: 16px;
    padding: 58px 0 0;
    color: #c8d2e2;
    background: #111b30;
}

body.storefront .footer-logo img {
    max-height: 42px;
    width: auto;
}

body.storefront .footer-desc,
body.storefront .footer-contact li p,
body.storefront .footer-links ul li a,
body.storefront .footer-copytext {
    color: #aebbd0;
}

body.storefront .footer-title {
    color: #ffffff;
    font-weight: 750;
}

body.storefront .footer-contact li i {
    color: #a5b4fc;
}

body.storefront .footer-links ul li a:hover,
body.storefront .footer-copytext a:hover {
    color: #ffffff;
}

body.storefront .footer-bottom {
    margin-top: 34px;
    border-top-color: rgba(255,255,255,.12);
}

/* Mobile refinements */
@media (max-width: 1199px) {
    body.storefront .storefront-hero__panel {
        padding: 42px;
    }

    body.storefront .navbar-info-group {
        display: none;
    }
}

@media (max-width: 991px) {
    body.storefront .header-top {
        display: none;
    }

    body.storefront .header-part,
    body.storefront .header-part.active {
        position: relative;
    }

    body.storefront .storefront-hero__panel {
        grid-template-columns: 1fr;
    }

    body.storefront .storefront-hero__visual {
        display: none;
    }

    body.storefront .card-wallet-home {
        position: static;
    }
}

@media (max-width: 767px) {
    body.storefront .section,
    body.storefront .inner-section {
        padding-top: 26px;
        padding-bottom: 42px;
    }

    body.storefront .storefront-hero {
        padding-top: 16px;
    }

    body.storefront .storefront-hero__panel {
        min-height: 0;
        padding: 31px 24px;
        border-radius: 20px;
    }

    body.storefront .storefront-hero h1,
    body.storefront .storefront-hero .storefront-hero__title {
        font-size: 31px;
    }

    body.storefront .storefront-hero p {
        font-size: 14px;
    }

    body.storefront .storefront-hero__benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    body.storefront .feature-card {
        margin-bottom: 12px;
    }

    body.storefront .feature-content {
        padding: 16px;
    }

    body.storefront .feature-name {
        min-height: 0;
        font-size: 15px;
    }

    body.storefront .home-heading h3 {
        font-size: 18px;
    }

    body.storefront .user-form-card {
        padding: 24px 18px;
    }

    body.storefront .header-widget-group .header-widget:last-child span {
        display: none;
    }
}

@media (max-width: 575px) {
    body.storefront .custom-button-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.storefront .custom-button-list li {
        width: 100%;
    }

    body.storefront .btn-category-home {
        justify-content: center;
        min-height: 42px;
        padding: 7px 10px;
        font-size: 12px;
        line-height: 1.25;
        text-align: center;
    }

    body.storefront .storefront-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.storefront .storefront-button {
        width: 100%;
    }

    body.storefront .feature-card .row > .col {
        padding-right: 4px;
        padding-left: 4px;
    }

    body.storefront .btn-buy,
    body.storefront .btn-more {
        min-height: 36px;
        font-size: 11px;
    }
}

/* Catalog layout: compact sidebar + product grid */
body.storefront .storefront-hero {
    display: block;
}

body.storefront .catalog-part {
    padding-top: 34px;
}

body.storefront .catalog-notice {
    margin-bottom: 24px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.storefront .catalog-notice__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 0 17px;
    color: #9a3412;
    background: #fff7ed;
}

body.storefront .catalog-notice__header span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
}

body.storefront .catalog-notice__header span i {
    color: #f97316;
}

body.storefront .catalog-notice__header small {
    color: #c2410c;
    font-size: 11px;
    font-weight: 650;
}

body.storefront .catalog-notice__content {
    padding: 0;
    color: #475467;
    line-height: 1.6;
}

body.storefront .catalog-notice__content > :last-child {
    margin-bottom: 0;
}

body.storefront .catalog-sidebar-card {
    position: sticky;
    top: 124px;
    display: flex;
    max-height: calc(100dvh - 144px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--storefront-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(20, 33, 61, .06);
}

body.storefront .catalog-sidebar-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid #edf1f6;
}

body.storefront .catalog-sidebar-card__header span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body.storefront .catalog-sidebar-card__header span i {
    color: #ff6b1a;
}

body.storefront .catalog-sidebar-card__header small,
body.storefront .catalog-main-header__count {
    padding: 5px 9px;
    border-radius: 999px;
    color: #667085;
    background: #f5f7fa;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

body.storefront .catalog-category-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 10px;
    list-style: none;
}

body.storefront .catalog-sidebar-card nav {
    min-height: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #cbd5e1 transparent;
    scrollbar-width: thin;
}

body.storefront .catalog-sidebar-card nav::-webkit-scrollbar {
    width: 6px;
}

body.storefront .catalog-sidebar-card nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd5e1;
}

body.storefront .catalog-category-link {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 11px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

body.storefront .catalog-category-link:hover,
body.storefront .catalog-category-link.active {
    color: #ea580c;
    background: #fff4ed;
}

body.storefront .catalog-category-link.active {
    font-weight: 800;
}

body.storefront .catalog-category-link__icon {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    color: #ff6b1a;
    background: #fff1e8;
    font-size: 12px;
}

body.storefront .catalog-category-link__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.storefront .catalog-category-link__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.storefront .catalog-category-link__arrow {
    margin-left: auto;
    color: #aab3c2;
    font-size: 10px;
}

body.storefront .catalog-category-link.active .catalog-category-link__arrow {
    color: #ff6b1a;
}

body.storefront .catalog-sidebar-balance,
body.storefront .catalog-sidebar-login {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 2px 10px 10px;
    padding: 13px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff7a1a, #f15a24);
    text-decoration: none;
}

body.storefront .catalog-sidebar-balance span {
    display: block;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
}

body.storefront .catalog-sidebar-balance strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
}

body.storefront .catalog-sidebar-balance i {
    margin-left: auto;
}

body.storefront .catalog-sidebar-login {
    justify-content: center;
    font-size: 13px;
    font-weight: 750;
}

body.storefront .catalog-main-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

body.storefront .catalog-main-header__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #f97316;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.storefront .catalog-main-header h1,
body.storefront .catalog-main-header h2 {
    position: relative;
    margin: 0;
    padding-left: 13px;
    color: #172033;
    font-size: 22px;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
}

body.storefront .catalog-main-header h1::before,
body.storefront .catalog-main-header h2::before {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 4px;
    border-radius: 999px;
    background: #ff6b1a;
    content: "";
}

body.storefront .catalog-search {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(20, 33, 61, .06);
}

body.storefront .catalog-search > i {
    margin: 0 13px 0 16px;
    color: #98a2b3;
}

body.storefront .catalog-search input {
    width: 100%;
    min-width: 0;
    height: 46px;
    border: 0;
    outline: 0;
    color: #172033;
    background: transparent;
    font-size: 14px;
}

body.storefront .catalog-search input::placeholder {
    color: #98a2b3;
}

body.storefront .catalog-search button {
    height: 34px;
    margin-right: 7px;
    padding: 0 15px;
    border: 0;
    border-radius: 9px;
    color: #ffffff;
    background: #ff6b1a;
    font-size: 12px;
    font-weight: 750;
}

body.storefront .catalog-search button:hover {
    background: #e95610;
}

body.storefront .catalog-load-more {
    display: flex;
    justify-content: center;
    padding-top: 18px;
}

body.storefront .catalog-load-more button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #c2410c;
    background: #fff7ed;
    font-size: 12px;
    font-weight: 800;
}

body.storefront .catalog-load-more button:hover {
    color: #ffffff;
    border-color: #f97316;
    background: #f97316;
}

body.storefront #products-container .home-heading {
    display: none;
}

body.storefront #products-container .prod-item {
    display: flex;
}

body.storefront #products-container .product-box4 {
    display: flex;
    width: 100%;
    min-height: 150px;
    flex-direction: row;
    margin-top: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e7ebf0;
    border-top: 3px solid #ff7a1a;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(20, 33, 61, .06);
}

body.storefront #products-container .product-box4:hover {
    border-color: #fed7aa;
    border-top-color: #ff5f1f;
    box-shadow: 0 14px 30px rgba(234, 88, 12, .13);
    transform: translateY(-3px);
}

body.storefront #products-container .product-box4--out-of-stock {
    border-top-color: #cbd5e1;
    opacity: .66;
}

body.storefront #products-container .product-box4__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 23px;
    margin-bottom: 6px;
}

body.storefront #products-container .product-box4__topline-end {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

body.storefront #products-container .product-box4__status,
body.storefront #products-container .product-box4__discount {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 23px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
    line-height: 1;
}

body.storefront #products-container .product-box4__status {
    color: #059669;
    background: #dcfce7;
}

body.storefront #products-container .product-box4--out-of-stock .product-box4__status {
    color: #64748b;
    background: #e2e8f0;
}

body.storefront #products-container .product-box4__discount {
    color: #ffffff;
    background: linear-gradient(135deg, #fb7185, #f43f5e);
}

body.storefront #products-container .product-box4__media {
    display: flex;
    width: 104px;
    min-height: 150px;
    flex: 0 0 104px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #2563eb;
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    text-decoration: none;
}

body.storefront #products-container .product-box4__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.storefront #products-container .product-box4__media img.product-box4__media-category {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

body.storefront #products-container .product-box4__media > i {
    font-size: 30px;
}

body.storefront #products-container .product-box4__content {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 12px 13px 11px;
}

body.storefront #products-container .product-head-box4 {
    min-height: 38px;
    margin: 0 0 5px;
    padding: 0;
    border: 0;
    background: transparent;
}

body.storefront #products-container .product-head-box4 h4 {
    display: -webkit-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #202938;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.42;
}

body.storefront #products-container .product-head-box4 h4 a {
    color: inherit;
    text-decoration: none;
}

body.storefront #products-container .product-head-box4 h4 a:hover {
    color: #ea580c;
}

body.storefront #products-container .product-body-box4.product-box4__meta {
    display: flex;
    min-height: 22px;
    max-height: 22px;
    flex-wrap: nowrap;
    align-content: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}

body.storefront #products-container .product-box4__meta > span {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 21px;
    padding: 4px 8px;
    overflow: hidden;
    border-radius: 999px;
    color: #697386;
    background: #f4f5f7;
    font-size: 10.5px;
    font-weight: 550;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.storefront #products-container .product-box4__meta .product-box4__flag {
    color: #475467;
    background: #eff6ff;
}

body.storefront #products-container .product-box4__flag img {
    width: 14px;
    height: 10px;
    margin-right: 4px;
    object-fit: cover;
}

body.storefront #products-container .product-footer-box4 {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 7px;
    margin-top: auto;
    padding-top: 7px;
    border-top: 0;
}

body.storefront #products-container .product-box4__price {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

body.storefront #products-container .product-box4__price strong {
    color: #172033;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
    white-space: nowrap;
}

body.storefront #products-container .product-box4__price del {
    color: #98a2b3;
    font-size: 10px;
    line-height: 1.2;
}

body.storefront #products-container .product-box4__price small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    color: #059669;
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
}

body.storefront #products-container .product-box4__price small i {
    font-size: 6px;
}

body.storefront #products-container .product-box4__price small.is-empty {
    color: #ef4444;
}

body.storefront #products-container .buy-btn-box4 {
    display: inline-flex;
    min-width: 88px;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 9px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: #ff641c;
    box-shadow: none;
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
}

body.storefront #products-container .buy-btn-box4:hover:not(:disabled) {
    color: #ffffff;
    background: #e95610;
    box-shadow: 0 7px 15px rgba(234, 88, 12, .24);
    transform: translateY(-1px);
}

body.storefront #products-container .buy-btn-box4:disabled {
    color: #667085;
    background: #eaecf0;
}

body.storefront .home-tools-block {
    margin-top: 28px;
}

@media (max-width: 991px) {
    body.storefront .catalog-sidebar-card {
        position: static;
        display: block;
        max-height: none;
    }

    body.storefront .catalog-sidebar-card nav {
        overflow: visible;
    }

    body.storefront .catalog-category-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }
}

@media (max-width: 575px) {
    body.storefront .catalog-part {
        padding-top: 22px;
    }

    body.storefront .catalog-main-header h1,
    body.storefront .catalog-main-header h2 {
        font-size: 18px;
    }

    body.storefront .catalog-main-header__count {
        display: none;
    }

    body.storefront .catalog-search button {
        display: none;
    }

    body.storefront .catalog-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 8px;
    }

    body.storefront .catalog-category-link {
        gap: 8px;
        min-width: 0;
        padding: 8px;
        font-size: 12px;
    }

    body.storefront .catalog-category-link__arrow {
        display: none;
    }

    body.storefront #products-container .product-box4 {
        min-height: 150px;
        padding: 0;
    }
}
