/*
 * CROM_STOREFRONT_COMMERCE_CSS_V1
 *
 * Shared commercial homepage, trust bar and product-card styles.
 */
/* CROM_STOREFRONT_TRUST_BAR_V1 */
.crom-storefront-trust {
    padding: 4px 0 10px;
}

.crom-storefront-trust__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.crom-storefront-trust__item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid #eee8f5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 25, 43, .055);
}

.crom-storefront-trust__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #fff4e5;
    color: #e58500;
    font-size: 17px;
}

.crom-storefront-trust__content {
    min-width: 0;
}

.crom-storefront-trust__title {
    display: block;
    margin-bottom: 2px;
    color: #211b2d;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
}

.crom-storefront-trust__text {
    display: block;
    color: #746d7e;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .crom-storefront-trust {
        padding: 2px 0 9px;
    }

    .crom-storefront-trust__list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 2px 1px 9px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .crom-storefront-trust__list::-webkit-scrollbar {
        display: none;
    }

    .crom-storefront-trust__item {
        min-width: 78%;
        flex: 0 0 78%;
        padding: 11px 12px;
        border-radius: 15px;
        scroll-snap-align: start;
    }

    .crom-storefront-trust__icon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
        border-radius: 12px;
        font-size: 16px;
    }

    .crom-storefront-trust__title {
        font-size: 12px;
    }

    .crom-storefront-trust__text {
        font-size: 9.5px;
    }
}
/* CROM_STOREFRONT_TRUST_BAR_V1_END */
/* CROM_STOREFRONT_COMMERCIAL_SECTIONS_STYLES_V1 */
.crom-storefront-sections {
    padding-bottom: 30px;
    background:
        linear-gradient(
            180deg,
            #f8fafc 0,
            #ffffff 100%
        );
}

.crom-storefront-section {
    --crom-section-accent: #ff7a00;
    position: relative;
    margin-bottom: 22px;
    padding: 15px 12px 17px;
    border: 1px solid #ebe7f3;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
    overflow: hidden;
}

.crom-storefront-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--crom-section-accent);
}

.crom-storefront-section--discounts {
    --crom-section-accent: #f97316;
    background:
        linear-gradient(180deg, #fff8f1 0, #ffffff 42%);
}

.crom-storefront-section--latest {
    --crom-section-accent: #2563eb;
    background:
        linear-gradient(180deg, #f4f8ff 0, #ffffff 42%);
}

.crom-storefront-section--featured {
    --crom-section-accent: #7c3aed;
    background:
        linear-gradient(180deg, #faf7ff 0, #ffffff 42%);
}

.crom-storefront-section--installments {
    --crom-section-accent: #059669;
    background:
        linear-gradient(180deg, #f1fdf8 0, #ffffff 42%);
}

.crom-storefront-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 2px 2px 0;
}

.crom-storefront-section__title {
    margin: 0;
    color: #171226;
    font-size: 20px;
    font-weight: 950;
    line-height: 1.35;
}

.crom-storefront-section__description {
    margin: 5px 0 0;
    color: #6b6477;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.6;
}

.crom-storefront-section__count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid color-mix(
        in srgb,
        var(--crom-section-accent) 24%,
        white
    );
    border-radius: 999px;
    background: #ffffff;
    color: var(--crom-section-accent);
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.crom-storefront-section > .row {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(158px, 72vw);
    gap: 11px !important;
    margin: 0 !important;
    padding: 2px 1px 9px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
}

.crom-storefront-section > .row::-webkit-scrollbar {
    display: none;
}

#crom-products-section
.crom-storefront-section
.crom-store-product-card-wrap {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    scroll-snap-align: start;
}

#crom-products-section
.crom-storefront-section
.row
> .crom-store-product-card-wrap:last-child:nth-child(odd) {
    grid-column: auto !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
}

.crom-storefront-empty {
    padding: 38px 18px;
    border: 1px dashed #d8d1e6;
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
}

.crom-storefront-empty h2 {
    margin: 0 0 7px;
    color: #231c32;
    font-size: 18px;
    font-weight: 900;
}

.crom-storefront-empty p {
    margin: 0;
    color: #777081;
    font-size: 12px;
}

@media (min-width: 768px) {
    .crom-storefront-sections {
        padding-bottom: 52px;
    }

    .crom-storefront-section {
        margin-bottom: 32px;
        padding: 24px;
        border-radius: 26px;
    }

    .crom-storefront-section__header {
        align-items: center;
        margin-bottom: 20px;
    }

    .crom-storefront-section__title {
        font-size: 28px;
    }

    .crom-storefront-section__description {
        font-size: 13px;
    }

    .crom-storefront-section__count {
        min-height: 36px;
        padding-inline: 14px;
        font-size: 11px;
    }

    .crom-storefront-section > .row {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
        grid-auto-flow: row;
        grid-auto-columns: auto;
        gap: 16px !important;
        padding: 2px;
        overflow: visible;
    }
}
/* CROM_STOREFRONT_COMMERCIAL_SECTIONS_STYLES_V1_END */

/* CROM_STOREFRONT_PRODUCT_CARD_STYLES_V3 */
#crom-products-section
.crom-store-product-card-wrap.home_product_box {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    max-width: none !important;
}

.crom-store-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6e1ed !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 22px rgba(31, 23, 43, .075) !important;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.crom-store-product-card:hover {
    transform: translateY(-3px);
    border-color: #d3c6e8 !important;
    box-shadow: 0 14px 30px rgba(31, 23, 43, .12) !important;
}

.crom-store-product-badges {
    position: absolute;
    z-index: 3;
    top: 9px;
    right: 9px;
    left: 9px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    pointer-events: none;
}

.crom-product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.crom-product-badge--offer {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

.crom-product-badge--new {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.crom-product-badge--installment {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.crom-product-badge--limited {
    border-color: #fecaca;
    background: #fff1f2;
    color: #be123c;
}

.crom-store-product-link {
    display: flex !important;
    flex-direction: column;
    color: inherit !important;
    text-decoration: none !important;
    min-width: 0;
}

.crom-store-product-image-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    padding: 8px;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #f8fafc !important;
}

.crom-store-product-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 12px !important;
    object-fit: contain !important;
}

.crom-store-product-title {
    display: -webkit-box !important;
    min-height: 43px !important;
    margin: 10px 11px 5px !important;
    overflow: hidden;
    color: #191425 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
    text-align: right !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.crom-store-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 11px 7px;
    color: #f59e0b;
    font-size: 10px;
    font-weight: 850;
    direction: ltr;
}

.crom-store-product-rating__count {
    color: #8b8494;
}

.crom-store-product-footer {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px !important;
    min-height: 0 !important;
    margin-top: auto !important;
    padding: 10px 11px 12px !important;
    border-top: 1px solid #f0edf4;
    direction: rtl !important;
}

.crom-store-product-price {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 4px !important;
    width: 100%;
    color: #151020 !important;
    font-size: 17px !important;
    font-weight: 950 !important;
    line-height: 1.2;
    text-align: right !important;
}

.crom-store-price-number {
    font-variant-numeric: tabular-nums;
}

.crom-store-product-old-price {
    display: inline-flex !important;
    align-items: baseline;
    gap: 3px;
    margin-right: 7px !important;
    color: #9891a2 !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    text-decoration: line-through;
}

.crom-store-product-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}

.crom-store-product-action:hover {
    transform: translateY(-1px);
}

.crom-store-product-action--cart {
    border-color: #ff3b20;
    background: linear-gradient(135deg, #ff4b24, #ff2717);
    color: #ffffff !important;
    box-shadow: 0 8px 16px rgba(255, 47, 26, .20);
}

.crom-store-product-action--options {
    border-color: #d8c8f0;
    background: #f7f2ff;
    color: #6421bd !important;
}

.crom-store-product-action--details {
    border-color: #ded7e8;
    background: #faf8fc;
    color: #4f465b !important;
}

.crom-store-product-action.is-loading {
    opacity: .72;
    pointer-events: none;
}

@media (min-width: 768px) {
    .crom-store-product-card {
        border-radius: 20px !important;
    }

    .crom-store-product-title {
        min-height: 48px !important;
        margin: 12px 14px 6px !important;
        font-size: 14px !important;
    }

    .crom-store-product-rating {
        margin-inline: 14px;
    }

    .crom-store-product-footer {
        padding: 12px 14px 14px !important;
    }

    .crom-store-product-price {
        font-size: 18px !important;
    }

    .crom-store-product-action {
        min-height: 44px;
        font-size: 12px;
    }
}
/* CROM_STOREFRONT_PRODUCT_CARD_STYLES_V3_END */

/* CROM_STOREFRONT_COLLECTION_PAGE_STYLES_V1 */
.crom-storefront-collection-page {
    min-height: 60vh;
    padding: 18px 0 38px;
    background:
        linear-gradient(180deg, #f8fafc 0, #ffffff 100%);
}

.crom-collection-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.crom-collection-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #ded7e8;
    border-radius: 12px;
    background: #ffffff;
    color: #4f465b !important;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none !important;
}

.crom-collection-total {
    color: #746d7e;
    font-size: 11px;
    font-weight: 750;
}

.crom-storefront-collection-page
.crom-storefront-section {
    margin-bottom: 0;
}

.crom-collection-pagination {
    margin-top: 22px;
}

.crom-collection-pagination
.pagination {
    justify-content: center;
    gap: 5px;
    margin: 0;
}

.crom-collection-pagination
.page-link {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: #e2dbea;
    border-radius: 10px !important;
    color: #5b21b6;
    font-size: 11px;
    font-weight: 800;
}

.crom-collection-pagination
.page-item.active
.page-link {
    border-color: #ff7a00;
    background: #ff7a00;
    color: #ffffff;
}

@media (min-width: 768px) {
    .crom-storefront-collection-page {
        padding: 30px 0 58px;
    }

    .crom-collection-topbar {
        margin-bottom: 18px;
    }
}
/* CROM_STOREFRONT_COLLECTION_PAGE_STYLES_V1_END */
/* CROM_STOREFRONT_COMMERCE_CSS_V1_END */
/* CROM_STOREFRONT_SECTION_VIEW_ALL_V1 */
.crom-storefront-section__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    flex-shrink: 0;
}

.crom-storefront-section__all {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid #d8c9fb;
    border-radius: 999px;
    background: #fff;
    color: #5b21b6;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color .2s ease,
        border-color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.crom-storefront-section__all:hover,
.crom-storefront-section__all:focus-visible {
    border-color: #7c3aed;
    background: #f5f3ff;
    color: #4c1d95;
    transform: translateY(-1px);
}

.crom-storefront-section__all span:last-child {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 575px) {
    .crom-storefront-section__meta {
        gap: 6px;
    }

    .crom-storefront-section__all {
        min-height: 32px;
        padding-inline: 10px;
        font-size: 10px;
    }
}
/* CROM_STOREFRONT_SECTION_VIEW_ALL_V1_END */
/* CROM_STOREFRONT_COLLECTION_PAGINATION_V2 */
.crom-collection-pager {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

.crom-collection-pager__summary {
    margin: 0;
    color: #746d7e;
    font-size: 11px;
    font-weight: 650;
    text-align: center;
}

.crom-collection-pager__summary strong {
    color: #272131;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.crom-collection-pager__pages {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.crom-collection-pager__link {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 9px;
    border: 1px solid #e2dbea;
    border-radius: 10px;
    background: #ffffff;
    color: #5b21b6 !important;
    font-size: 11px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-decoration: none !important;
}

.crom-collection-pager__link:hover,
.crom-collection-pager__link:focus-visible {
    border-color: #a78bfa;
    background: #f5f3ff;
}

.crom-collection-pager__link.is-active {
    border-color: #ff7a00;
    background: #ff7a00;
    color: #ffffff !important;
    box-shadow: 0 7px 18px rgba(255, 122, 0, .2);
}

.crom-collection-pager__link.is-disabled {
    cursor: default;
    opacity: .42;
}

@media (max-width: 575px) {
    .crom-collection-pager {
        gap: 10px;
    }

    .crom-collection-pager__pages {
        gap: 4px;
    }

    .crom-collection-pager__link {
        min-width: 34px;
        min-height: 34px;
        padding: 5px 7px;
        font-size: 10px;
    }

    .crom-collection-pager__word {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}
/* CROM_STOREFRONT_COLLECTION_PAGINATION_V2_END */
/* CROM_STOREFRONT_COMMERCIAL_DIVIDER_STYLES_V1 */
.crom-commercial-divider {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid #d8c9fb;
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(255, 174, 51, .22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #2e1065 0%,
            #5b21b6 58%,
            #7c3aed 100%
        );
    box-shadow: 0 14px 32px rgba(76, 29, 149, .14);
    color: #ffffff;
}

.crom-commercial-divider::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto -45px -70px auto;
    width: 160px;
    height: 160px;
    border: 28px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.crom-commercial-divider__icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 15px;
    background: rgba(255, 255, 255, .12);
    color: #ffd48a;
    font-size: 20px;
}

.crom-commercial-divider__content {
    min-width: 0;
}

.crom-commercial-divider__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #ffd48a;
    font-size: 9px;
    font-weight: 850;
}

.crom-commercial-divider__title {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.35;
}

.crom-commercial-divider__description {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
}

.crom-commercial-divider__action {
    grid-column: 1 / -1;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 13px;
    background: #ffffff;
    color: #5b21b6 !important;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
}

.crom-commercial-divider__action span:last-child {
    font-size: 17px;
}

.crom-commercial-divider__action:hover,
.crom-commercial-divider__action:focus-visible {
    background: #fff7ed;
    color: #4c1d95 !important;
}

@media (min-width: 768px) {
    .crom-commercial-divider {
        grid-template-columns:
            58px minmax(0, 1fr) auto;
        gap: 18px;
        margin-bottom: 24px;
        padding: 22px 24px;
        border-radius: 24px;
    }

    .crom-commercial-divider__icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        font-size: 24px;
    }

    .crom-commercial-divider__eyebrow {
        font-size: 10px;
    }

    .crom-commercial-divider__title {
        font-size: 24px;
    }

    .crom-commercial-divider__description {
        font-size: 12px;
    }

    .crom-commercial-divider__action {
        grid-column: auto;
        min-width: 180px;
        min-height: 46px;
        padding-inline: 18px;
        font-size: 12px;
    }
}
/* CROM_STOREFRONT_COMMERCIAL_DIVIDER_STYLES_V1_END */
