/* Preserve the catalog layout while improving product readability and touch targets. */
/* Category carousel cards: keep the image, title, and item count readable at every width. */
body.products-archive .categories-swiper { overflow: hidden; margin-bottom: 20px !important; padding: 4px 2px 12px; }
body.products-archive .categories-swiper .swiper-wrapper { align-items: stretch; }
body.products-archive .categories-swiper .swiper-slide { display: flex; height: auto; }
body.products-archive .categories-swiper .category-item {
    display: flex; flex-direction: column; width: 100%; min-width: 0; height: 100%; overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 16%, Canvas); border-radius: 16px;
    background: Canvas; box-shadow: 0 3px 12px rgb(0 0 0 / 5%);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.products-archive .categories-swiper .category-item > img {
    order: 0; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; padding: 12px;
    object-fit: contain; background: color-mix(in srgb, var(--colorMain, CanvasText) 4%, Canvas);
    transition: transform .25s ease;
}
body.products-archive .categories-swiper .category-item-overly {
    position: static; inset: auto; order: 1; display: flex; flex: 1 0 auto; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px; width: 100%; height: auto; min-height: 70px;
    padding: 8px 10px 10px; overflow: hidden; opacity: 1; color: CanvasText; background: Canvas;
    transition: background-color .2s ease;
}
body.products-archive .categories-swiper .category-item-overly .title {
    display: -webkit-box; order: 0; width: 100%; margin: 0; padding: 0 2px; overflow: hidden;
    color: CanvasText; font-size: 14px; font-weight: 500; line-height: 1.5; text-align: center;
    text-shadow: none; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
body.products-archive .categories-swiper .category-item-overly .count {
    position: static; order: 1; display: block; padding: 0; color: color-mix(in srgb, CanvasText 62%, Canvas);
    font-size: 12px; font-weight: 400; line-height: 1.5; text-shadow: none; white-space: nowrap;
}
body.products-archive .categories-swiper .category-item:hover .category-item-overly,
body.products-archive .categories-swiper .category-item:focus-visible .category-item-overly { inset: auto; bottom: auto; opacity: 1; background: Canvas; }
body.products-archive .categories-swiper .category-item:hover > img,
body.products-archive .categories-swiper .category-item:focus-visible > img { transform: scale(1.025); }
body.products-archive .categories-swiper .category-item:focus-visible { outline: 2px solid var(--colorMain, CanvasText); outline-offset: 3px; }
body.products-archive .categories-swiper .custom-swiper-button-prev,
body.products-archive .categories-swiper .custom-swiper-button-next {
    z-index: 3; width: 38px; height: 38px; border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 20%, Canvas);
    border-radius: 50%; color: var(--colorMain, CanvasText); background: Canvas;
    box-shadow: 0 3px 12px rgb(0 0 0 / 12%); transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
body.products-archive .categories-swiper .custom-swiper-button-prev:hover,
body.products-archive .categories-swiper .custom-swiper-button-next:hover { color: var(--colorMainContrast, Canvas); background: var(--colorMain, CanvasText); transform: scale(1.05); }
@media (max-width: 575.98px) {
    body.products-archive .categories-swiper { margin-inline: -2px; padding-bottom: 10px; }
    body.products-archive .categories-swiper .category-item { border-radius: 13px; }
    body.products-archive .categories-swiper .category-item > img { aspect-ratio: 1.12 / 1; padding: 8px; }
    body.products-archive .categories-swiper .category-item-overly { min-height: 68px; padding: 7px 7px 9px; }
    body.products-archive .categories-swiper .custom-swiper-button-prev,
    body.products-archive .categories-swiper .custom-swiper-button-next { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    body.products-archive .categories-swiper .category-item,
    body.products-archive .categories-swiper .category-item > img,
    body.products-archive .categories-swiper .custom-swiper-button-prev,
    body.products-archive .categories-swiper .custom-swiper-button-next { transition: none; }
}

/* Keep the real, crawlable category links visible while reserving a shimmer for their media. */
body.products-archive .categories-swiper.catalog-subcategories-pending {
    position: relative;
}
body.products-archive .categories-swiper.catalog-subcategories-pending > .swiper-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
body.products-archive .categories-swiper.catalog-subcategories-pending > .swiper-wrapper > .swiper-slide {
    flex: 0 0 calc((100% - 56.4px) / 5.7);
    width: calc((100% - 56.4px) / 5.7);
    height: auto;
    margin: 0 !important;
}
body.products-archive .categories-swiper.catalog-subcategories-pending .category-item {
    position: relative;
    isolation: isolate;
    height: auto;
}
body.products-archive .categories-swiper.catalog-subcategories-pending .category-item::before {
    position: absolute;
    z-index: 1;
    inset: 1px 1px auto;
    width: auto;
    aspect-ratio: 4 / 3;
    border-radius: 13px 13px 8px 8px;
    background: linear-gradient(110deg, color-mix(in srgb, CanvasText 7%, Canvas), color-mix(in srgb, Canvas 94%, var(--colorMain, CanvasText) 6%), color-mix(in srgb, CanvasText 7%, Canvas));
    background-size: 220% 100%;
    animation: catalog-skeleton-shimmer 1.35s ease-in-out infinite;
    content: '';
    pointer-events: none;
}
body.products-archive .categories-swiper.catalog-subcategories-pending .category-item > img {
    visibility: hidden;
}
/* The eager first image is the archive LCP candidate; never hide it behind initialization. */
body.products-archive .categories-swiper.catalog-subcategories-pending > .swiper-wrapper > .swiper-slide:first-child .category-item::before {
    display: none;
}
body.products-archive .categories-swiper.catalog-subcategories-pending > .swiper-wrapper > .swiper-slide:first-child .category-item > img {
    visibility: visible;
}
body.products-archive .categories-swiper.catalog-subcategories-pending .category-item-overly {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}
body.products-archive .categories-swiper.catalog-subcategories-static > .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 12px;
}
body.products-archive .categories-swiper.catalog-subcategories-static .swiper-slide {
    width: auto !important;
    margin-inline: 0 !important;
}
@keyframes catalog-skeleton-shimmer {
    to { background-position: -220% 0; }
}

/* Render archive placeholders only during a delayed PJAX filter or page change. */
body.products-archive .archive-products-grid.is-loading > .archive-product-cell:not(.archive-product-skeleton-cell) { display: none; }
body.products-archive .archive-product-skeleton-cell { min-width: 0; }
body.products-archive .archive-product-skeleton-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    min-height: 360px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid var(--store-border, color-mix(in srgb, CanvasText 12%, Canvas));
    border-radius: 16px;
    background: Canvas;
    box-shadow: 0 3px 14px rgb(0 0 0 / 4%);
}
body.products-archive .archive-product-skeleton-surface {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(110deg, color-mix(in srgb, CanvasText 7%, Canvas), color-mix(in srgb, Canvas 94%, var(--colorMain, CanvasText) 6%), color-mix(in srgb, CanvasText 7%, Canvas));
    background-size: 220% 100%;
}
body.products-archive .archive-product-skeleton-cell .archive-product-skeleton-surface { animation: catalog-skeleton-shimmer 1.35s ease-in-out infinite; }
body.products-archive .archive-product-skeleton-image { width: 100%; aspect-ratio: 1; border-radius: 12px; }
body.products-archive .archive-product-skeleton-content { display: flex; flex-direction: column; gap: 10px; padding: 6px 2px; }
body.products-archive .archive-product-skeleton-line { width: 88%; height: 12px; border-radius: 999px; }
body.products-archive .archive-product-skeleton-line.is-short { width: 58%; height: 10px; opacity: .8; }
body.products-archive .archive-product-skeleton-line.is-price { width: 46%; height: 15px; margin-top: 8px; }
body.products-archive .archive-product-skeleton-footer { width: 100%; height: 38px; margin-top: auto; border-radius: 10px; }
@media (max-width: 575.98px) {
    body.products-archive .archive-product-skeleton-card {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        grid-template-areas: "image content" "footer footer";
        align-items: start;
        gap: 8px 12px;
        min-height: 164px;
        padding: 12px;
    }
    body.products-archive .archive-product-skeleton-image { grid-area: image; width: 104px; height: 104px; aspect-ratio: auto; }
    body.products-archive .archive-product-skeleton-content { grid-area: content; gap: 10px; padding: 16px 0 0; }
    body.products-archive .archive-product-skeleton-line.is-price { margin-top: 0; }
    body.products-archive .archive-product-skeleton-footer { grid-area: footer; height: 36px; margin-top: 0; }
}
@media (max-width: 380px) {
    body.products-archive .archive-product-skeleton-card { grid-template-columns: 92px minmax(0, 1fr); gap: 8px 10px; padding: 10px; }
    body.products-archive .archive-product-skeleton-image { width: 92px; height: 92px; }
}
@media (prefers-reduced-motion: reduce) {
    body.products-archive .archive-product-skeleton-cell .archive-product-skeleton-surface { animation: none; }
}
@media (min-width: 768px) {
    body.products-archive .categories-swiper.catalog-subcategories-pending > .swiper-wrapper > .swiper-slide {
        flex-basis: calc((100% - 32.4px) / 3.7);
        width: calc((100% - 32.4px) / 3.7);
    }
}
@media (max-width: 767.98px) {
    body.products-archive .categories-swiper.catalog-subcategories-pending > .swiper-wrapper > .swiper-slide {
        flex-basis: calc((100% - 18px) / 2.5);
        width: calc((100% - 18px) / 2.5);
    }
    body.products-archive .categories-swiper.catalog-subcategories-pending .category-item::before {
        aspect-ratio: 1.12 / 1;
        border-radius: 12px 12px 7px 7px;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    body.products-archive .categories-swiper.catalog-subcategories-pending > .swiper-wrapper > .swiper-slide {
        flex-basis: calc((100% - 20.4px) / 2.7);
        width: calc((100% - 20.4px) / 2.7);
    }
}
@media (min-width: 1240px) {
    body.products-archive .categories-swiper.catalog-subcategories-pending > .swiper-wrapper > .swiper-slide {
        flex-basis: calc((100% - 56.4px) / 5.7);
        width: calc((100% - 56.4px) / 5.7);
    }
}
@media (prefers-reduced-motion: reduce) {
    body.products-archive .categories-swiper.catalog-subcategories-pending .category-item::before { animation: none; }
}
/* Shared product-card finish for catalog, home, related products and content widgets. */
body .swiper:not(.swiper-cube) > .swiper-wrapper { transition-timing-function: cubic-bezier(.22, .61, .36, 1); }
body .v-product-item { border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 16%, Canvas); border-radius: 16px; background: Canvas; box-shadow: 0 4px 18px rgb(0 0 0 / 5%); }
body .v-product-item:not(.mobile-horizontal) .v-product-item-image { aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: color-mix(in srgb, var(--colorMain, Canvas) 3%, Canvas); }
body .v-product-item:not(.mobile-horizontal) .v-product-item-image img { width: 100%; height: 100%; padding: 6px; object-fit: contain; object-position: center; }
body .v-product-item .product-label { max-width: calc(100% - 8px); overflow: hidden; padding: 4px 10px; border: 1px solid color-mix(in srgb, var(--colorSecondary, var(--colorMain, CanvasText)) 24%, Canvas); border-radius: 0 0 10px 0; color: var(--colorSecondaryContrast, var(--colorMainContrast, Canvas)); background: var(--colorSecondary, var(--colorMain, CanvasText)); font-size: 14px; font-weight: 500; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
body .v-product-item .v-product-item-content .bg-danger.rounded { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 30px; padding: 3px 9px !important; border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 26%, Canvas); border-radius: 999px !important; color: var(--colorMain, CanvasText) !important; background: color-mix(in srgb, var(--colorMain, CanvasText) 9%, Canvas) !important; font-size: 14px; font-weight: 600; line-height: 1.4; direction: ltr; white-space: nowrap; }
body .v-product-item .product-discount-badge { display:inline-flex; align-items:center; justify-content:center; min-width:46px; min-height:30px; padding:3px 9px; border:1px solid color-mix(in srgb, var(--colorMain, CanvasText) 26%, Canvas); border-radius:999px; color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 9%, Canvas); font-size:14px; font-weight:600; line-height:1.4; direction:rtl; white-space:nowrap; }
body .v-product-item .color-green { color: var(--colorMain, CanvasText) !important; }
body .v-product-item .v-product-item-footer .v-product-item-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid var(--colorMain, CanvasText) !important; border-radius: 11px; color: var(--colorMain, CanvasText) !important; background: transparent !important; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
body .v-product-item .v-product-item-footer .v-product-item-btn > span { min-width: 0; white-space: nowrap; }
body .v-product-item .v-product-item-footer .v-product-item-btn:hover, body .v-product-item .v-product-item-footer .v-product-item-btn:focus-visible { color: var(--colorMainContrast, Canvas) !important; background: var(--colorMain, CanvasText) !important; }
body .v-product-item .v-product-item-footer .v-product-item-btn.loading::after { border: 2px solid var(--colorMain, CanvasText) !important; border-right-color: transparent !important; }
/* Keep the two utility actions visually consistent on every storefront product card. */
body .v-product-item:not(.mobile-horizontal) .v-product-item-footer .btn-no-bg,
body.products-archive .v-product-item-footer .btn-no-bg {
    display: inline-grid; flex: 0 0 40px; place-items: center; width: 40px; min-width: 40px;
    height: 40px; min-height: 40px; padding: 0; border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 22%, Canvas) !important;
    border-radius: 10px; color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 5%, Canvas);
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
body .v-product-item:not(.mobile-horizontal) .v-product-item-footer .btn-no-bg:hover,
body.products-archive .v-product-item-footer .btn-no-bg:hover { color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 12%, Canvas); }
@media (hover: hover) { body .v-product-item:hover { border-color: var(--colorMain, CanvasText); box-shadow: 0 10px 26px rgb(0 0 0 / 9%); } }
body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-footer {
    display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 6px;
    height: auto; min-height: 48px; padding: 8px 2px 0; min-width: 0;
    border-top: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 14%, Canvas);
}
body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-footer .v-product-item-btn {
    flex: 0 1 112px; width: auto !important; max-width: 112px; min-width: 96px;
    min-height: 40px; margin: 0 !important; padding: 6px 7px; font-size: 13px; line-height: 1.35;
}
body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-footer .v-product-item-btn > span { white-space: nowrap; text-align: center; }
/* Give home-page product photography more of the card without cropping it. */
body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-image img { padding: 2px; }
body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-footer .btn-no-bg {
    display: inline-grid; flex: 0 0 36px; place-items: center;
    width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 0;
    border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 22%, Canvas) !important;
    border-radius: 10px; color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 5%, Canvas);
}
body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-footer .btn-no-bg:hover {
    color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 12%, Canvas);
}
body.home-body .products-swiper-categories .swiper-wrapper,
body.home-body .featured-products-swiper .swiper-wrapper { align-items: stretch; }
body.home-body .products-swiper-categories .swiper-slide,
body.home-body .featured-products-swiper .swiper-slide { display: flex; align-items: stretch; height: auto; }
body.home-body .products-swiper-categories .swiper-slide > .v-product-item,
body.home-body .featured-products-swiper .swiper-slide > .v-product-item {
    flex: 1 1 auto; width: 100%; height: 100%; min-height: 100%;
}
body.home-body .products-swiper-categories .v-product-item-content,
body.home-body .featured-products-swiper .v-product-item-content { flex: 1 1 auto; }
body.home-body .products-swiper-categories .v-product-item-footer,
body.home-body .featured-products-swiper .v-product-item-footer { flex: 0 0 auto; margin-top: auto; }
body.products-archive .archive-products-grid { align-items: stretch; }
body.products-archive .archive-infinite-controls { position: relative; min-height: 1px; margin: 0; }
body.products-archive .archive-infinite-button { display: none; min-height: 38px; margin: 10px auto; padding: 6px 14px; border: 1px solid var(--store-border, #e7e7eb); border-radius: 9px; background: Canvas; color: var(--colorMain, #6c1682); font: inherit; font-size: 13px; cursor: pointer; }
body.products-archive .archive-infinite-controls.is-actionable .archive-infinite-button:not([hidden]) { display: block; }
body.products-archive .archive-infinite-button:hover:not(:disabled), body.products-archive .archive-infinite-button:focus-visible { border-color: var(--colorMain, #6c1682); background: color-mix(in srgb, var(--colorMain, #6c1682) 7%, Canvas); outline: none; }
body.products-archive .archive-infinite-button:focus-visible { outline: 2px solid color-mix(in srgb, var(--colorMain, #6c1682) 25%, transparent); outline-offset: 2px; }
body.products-archive .archive-infinite-button:disabled { opacity: .72; cursor: wait; }
body.products-archive .archive-infinite-button[hidden], body.products-archive .archive-infinite-sentinel[hidden] { display: none !important; }
body.products-archive .archive-infinite-sentinel { width: 100%; height: 1px; }
body.products-archive .archive-products-grid > .archive-infinite-skeleton-cell { width: auto; max-width: none; margin: 0 !important; padding: 0; }
body.products-archive .archive-infinite-skeleton-cell .archive-product-skeleton-card { min-height: 440px; }
@media (max-width: 575.98px) { body.products-archive .archive-infinite-skeleton-cell .archive-product-skeleton-card { min-height: 164px; } }
@media (prefers-reduced-motion: reduce) { body.products-archive .archive-product-skeleton-cell .archive-product-skeleton-surface { animation: none; } }
body.products-archive .archive-product-cell, body.products-archive .archive-product-cell .v-product-item { height: 100%; }
body.products-archive .archive-product-cell .v-product-item-content { flex: 1 1 auto; }
body.products-archive .archive-product-cell .v-product-item-footer { flex: 0 0 auto; margin-top: auto; }
@media (max-width: 575.98px) {
    body .v-product-item.mobile-horizontal .v-product-item-image { overflow: visible; }
    body .v-product-item.mobile-horizontal .v-product-item-image > a { overflow: hidden; border-radius: 12px; }
    body .v-product-item.mobile-horizontal .v-product-item-image img { width: 100%; height: 100%; padding: 2px; object-fit: contain; }
    body .v-product-item.mobile-horizontal .product-label { top: 0; right: auto; left: 0; max-width: calc(100vw - 150px); }
    body .v-product-item .v-product-item-footer .v-product-item-btn.loading::after {
        border: 2px solid var(--colorMain, CanvasText) !important;
        border-right-color: transparent !important;
    }
    /* Home carousels use the same roomy horizontal mobile card as the catalog. */
    body.home-body .v-product-item:not(.mobile-horizontal) {
        display: grid; grid-template-columns: 124px minmax(0, 1fr);
        grid-template-rows: minmax(124px, auto) 48px;
        grid-template-areas: "image content" "footer footer";
        align-items: start; gap: 8px 12px; padding: 12px; height: auto; min-height: 0;
        border-radius: 16px;
    }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-image {
        grid-area: image; width: 124px; height: 124px; aspect-ratio: auto;
        margin: 0; overflow: visible; border-radius: 12px;
    }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-image img { padding: 0; }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-image > a {
        display: grid; width: 100%; height: 100%; place-items: center; overflow: hidden; border-radius: inherit;
    }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-image .product-label {
        z-index: 2; top: 0; right: auto; left: 0; max-width: min(220px, calc(100vw - 150px));
    }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-content {
        grid-area: content; width: auto; min-width: 0; min-height: 100px;
        padding: 28px 0 0; justify-content: flex-start; gap: 6px;
    }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-content .title {
        min-height: 0; max-height: none; margin: 0; font-size: 15px !important;
        font-weight: 500; line-height: 1.8; -webkit-line-clamp: 2;
    }
    body.home-body .v-product-item:not(.mobile-horizontal) .product-price-container { gap: 6px; }
    body.home-body .v-product-item:not(.mobile-horizontal) .product-price-container .price { font-size: 16px; }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-footer {
        grid-area: footer; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start !important;
        gap: 8px; width: 100%; height: auto; min-height: 48px;
        margin-top: 2px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 14%, Canvas);
    }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-footer .v-product-item-btn {
        flex: 0 1 132px; width: auto !important; max-width: 132px; min-height: 40px; padding: 7px 9px; font-size: 13px;
    }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-footer .v-product-item-btn > span {
        display: inline !important; visibility: visible; white-space: nowrap;
    }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-footer .btn-no-bg {
        display: inline-grid; flex: 0 0 40px; place-items: center;
        width: 40px; min-width: 40px; min-height: 40px; height: 40px; padding: 0;
        border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 22%, Canvas) !important;
        border-radius: 10px; color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 5%, Canvas);
    }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-footer .btn-no-bg:hover { color: var(--colorMain, CanvasText); background: color-mix(in srgb, var(--colorMain, CanvasText) 12%, Canvas); }
}
@media (max-width: 380px) {
    body.home-body .v-product-item:not(.mobile-horizontal) { grid-template-columns:108px minmax(0,1fr); grid-template-rows:minmax(108px,auto) 48px; gap:8px 10px; padding:10px; }
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-image { width:108px; height:108px; }
}
body.home-body .section-title { gap: 14px; flex-wrap: wrap; }
body.home-body .section-title > .title, body.home-body .section-product-head .title { font-size: clamp(21px, 2.2vw, 25px) !important; font-weight: 600; line-height: 1.6; }
body.home-body .section-product-head .section-title-mark,
body.home-body .section-blog-head .section-title-mark,
body.home-body .home-section-heading .section-title-mark { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 4px; }
body.home-body .section-product-head .section-title-mark span,
body.home-body .section-blog-head .section-title-mark span,
body.home-body .home-section-heading .section-title-mark span { width: 20px; height: 11px; margin: 0; border-radius: 5px; opacity: .28; }
body.home-body .section-product-head .section-title-mark span:nth-child(2),
body.home-body .section-blog-head .section-title-mark span:nth-child(2),
body.home-body .home-section-heading .section-title-mark span:nth-child(2) { opacity: .56; }
body.home-body .section-product-head .section-title-mark span:nth-child(3),
body.home-body .section-blog-head .section-title-mark span:nth-child(3),
body.home-body .home-section-heading .section-title-mark span:nth-child(3) { opacity: .9; }
body.home-body .featured-products-amazing .section-title-mark span { background: #fff !important; }
body.home-body .section-product-head .featured-products-heading-copy { min-width: 0; }
body.home-body .section-product-head .featured-products-heading-copy .title { margin: 0 !important; }
body.home-body .section-product-head .featured-products-eyebrow { margin: 3px 0 0; opacity: .78; }
body.home-body .section-product-head > .d-flex:first-child > .section-title-mark { margin-inline-end: 2px; }
body.home-body .section-blog-head > .d-flex:first-child { display: flex; align-items: center; gap: 10px; }
body.home-body .section-blog-head .title { margin: 0 !important; font-size: clamp(21px, 2.2vw, 25px) !important; font-weight: 600; line-height: 1.6; }
body.home-body .home-section-heading { display: flex; align-items: center; justify-content: flex-start; text-align: start; }
body.home-body .home-section-heading-copy { display: grid; gap: 5px; min-width: 0; }
body.home-body .home-section-heading h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--home-row-text, #1f2937); font-size: clamp(21px, 2.2vw, 25px); font-weight: 600; line-height: 1.6; text-align: start; }
body.home-body .home-section-heading p { margin: 0; color: color-mix(in srgb, var(--home-row-text, #1f2937) 68%, transparent); font-size: 14px; line-height: 1.8; }
body.home-body .btn-section-more { min-height: 44px; font-size: 14px; padding: 8px 14px; }
body.home-body .categories-swiper { padding: 20px 2px 14px; }
/* Reserve Swiper slide widths before its JS initializes to prevent a page shift. */
body.home-body .categories-swiper:not(.swiper-initialized) > .swiper-wrapper {
    display: flex;
    gap: 12px;
}
body.home-body .categories-swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide {
    flex: 0 0 calc(40% - 7.2px);
    width: calc(40% - 7.2px);
    height: auto;
}
@media (min-width: 450px) {
    body.home-body .categories-swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide {
        flex-basis: calc(28.5714% - 8.5714px);
        width: calc(28.5714% - 8.5714px);
    }
}
@media (min-width: 576px) {
    body.home-body .categories-swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide {
        flex-basis: calc(27.027% - 8.7568px);
        width: calc(27.027% - 8.7568px);
    }
}
@media (min-width: 768px) {
    body.home-body .categories-swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide {
        flex-basis: calc(21.2766% - 9.4468px);
        width: calc(21.2766% - 9.4468px);
    }
}
@media (min-width: 1240px) {
    body.home-body .categories-swiper:not(.swiper-initialized) > .swiper-wrapper > .swiper-slide {
        flex-basis: calc(14.9254% - 10.209px);
        width: calc(14.9254% - 10.209px);
    }
}
body.home-body .category-item {
    position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    width: 100%; height: auto; margin-top: 5px; padding: 14px 0 4px; overflow: visible;
    aspect-ratio: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none;
    text-decoration: none; transition: transform .2s ease;
}
body.home-body .category-item > img {
    order: 0; display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; padding: 0;
    border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 12%, Canvas);
    border-radius: 18px; object-fit: cover;
    background: color-mix(in srgb, var(--colorMain, CanvasText) 4%, Canvas);
    box-shadow: 0 8px 22px rgb(24 18 32 / 8%); transition: box-shadow .2s ease;
}
body.home-body .category-item-overly {
    position: static !important; inset: auto !important; order: 1; display: block; width: 100%; height: auto;
    min-height: 48px; padding: 10px 4px 2px; overflow: visible; opacity: 1 !important;
    color: CanvasText; background: transparent !important;
}
body.home-body .category-item .title {
    position: static; order: 0; display: -webkit-box; width: 100%; max-height: 2.8em; margin: 0; padding: 0 5px;
    overflow: hidden; color: color-mix(in srgb, CanvasText 90%, Canvas); font-size: clamp(14px, 1.25vw, 16px); font-weight: 600;
    line-height: 1.5; text-align: center; text-overflow: ellipsis; white-space: normal;
    -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
body.home-body .category-item .count {
    position: absolute; z-index: 2; top: 14px; left: 50%; order: 0;
    display: inline-flex; align-items: center; justify-content: center; width: max-content; max-width: calc(100% - 18px);
    margin: 0; padding: 5px 13px; border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 24%, Canvas);
    border-radius: 999px; color: var(--colorMainContrast, #fff); background: var(--colorMain, #421268);
    box-shadow: 0 5px 16px color-mix(in srgb, var(--colorMain, CanvasText) 22%, transparent);
    font-size: 13px; font-weight: 600; line-height: 1.5; white-space: nowrap;
    transform: translate(-50%, -50%);
}
body.home-body .category-item:hover,
body.home-body .category-item:focus-visible { transform: translateY(-2px); }
body.home-body .category-item:hover > img,
body.home-body .category-item:focus-visible > img { box-shadow: 0 12px 28px rgb(24 18 32 / 13%); }
body.home-body .category-item:focus-visible { outline: 2px solid var(--colorMain, CanvasText); outline-offset: 3px; }
@media (max-width: 575.98px) {
    body.home-body .categories-swiper { padding: 18px 2px 12px; }
    body.home-body .category-item { padding-top: 13px; }
    body.home-body .category-item > img { border-radius: 15px; }
    body.home-body .category-item-overly { min-height: 46px; padding-top: 8px; }
    body.home-body .category-item .count { top: 13px; padding: 4px 11px; font-size: 12px; }
}
body.home-body .v-product-item { border-color: var(--store-border); box-shadow: 0 4px 20px rgb(0 0 0 / 5%); border-radius: 16px; }
body.home-body .v-product-item-image { border-radius: 12px; background: Canvas; }
body.home-body .product-price-container .price { font-size: 18px; font-weight: 700; }
.article-product-embed-card { width: min(100%, 440px); margin: 30px auto; clear: both; }
.article-product-embed-card .article-embedded-product { height: 100%; min-height: 0; }
.article-product-unavailable { margin: 24px 0; padding: 14px 18px; border: 1px solid #eadfe9; border-radius: 12px; color: #687385; background: #faf8fb; font-size: 14px; }
@media (max-width: 575.98px) {
    .article-product-embed-card { width: 100%; margin: 22px 0; }
}
body.home-body .v-product-item-footer .btn-no-bg { width: 44px; min-height: 44px; }
body.home-body .post-item .post-excerpt { font-size: 15px; line-height: 1.9; }
body.home-body .post-item .post-details { flex-wrap: wrap; }
body.home-body .post-item .post-details .text-with-icon { font-size: 13px; }
.store-catalog-heading {
    display:grid; justify-items:center; gap:2px; margin:8px 0 20px; padding:10px 12px 14px;
    text-align:center;
}
.store-catalog-heading-title { display:flex; align-items:center; justify-content:center; gap:10px; min-width:0; max-width:100%; }
.store-catalog-heading-mark { display:inline-flex; flex:0 0 auto; align-items:center; gap:4px; }
.store-catalog-heading-mark i { display:block; width:18px; height:12px; border-radius:4px; background:var(--colorMain, CanvasText); }
.store-catalog-heading-mark i:nth-child(2) { background:color-mix(in srgb, var(--colorMain, CanvasText) 62%, Canvas); }
.store-catalog-heading-mark i:nth-child(3) { background:color-mix(in srgb, var(--colorMain, CanvasText) 34%, Canvas); }
.store-catalog-heading h1 {
    min-width:0; margin:0; color:var(--store-ink, CanvasText); font-size:clamp(25px,2.4vw,32px);
    font-weight:700; line-height:1.55; overflow-wrap:anywhere;
}
.store-catalog-heading-subtitle { max-width:min(100%, 680px); margin:2px 0 0; color:var(--store-muted, CanvasText); font-size:16px; line-height:1.8; }
.store-catalog-back-row { display:flex; justify-content:flex-start; margin:-2px 0 14px; }
.store-product-navigation { display:block; min-width:0; margin-bottom:16px; direction:rtl; }
.store-product-navigation > .breadcrumb-container { flex:1 1 auto; min-width:0; }
.store-product-adjacent { align-self:auto; direction:ltr; flex:0 0 auto; flex-direction:row-reverse; overflow:hidden; border:1px solid color-mix(in srgb, var(--colorMain, CanvasText) 24%, Canvas); border-radius:12px; background:Canvas; }
.store-product-adjacent-button { display:flex; flex:0 0 76px; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:64px; padding:7px 5px; color:var(--colorMain, CanvasText); background:transparent; font-size:11px; font-weight:500; line-height:1.35; text-align:center; text-decoration:none; white-space:nowrap; transition:background-color .18s ease,color .18s ease; }
.store-product-adjacent-button + .store-product-adjacent-button { border-inline-start:1px solid color-mix(in srgb, var(--colorMain, CanvasText) 18%, Canvas); }
.store-product-adjacent-button:hover { color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 7%, Canvas); }
.store-product-adjacent-button:focus-visible { position:relative; z-index:1; outline:3px solid color-mix(in srgb, var(--colorMain, CanvasText) 30%, transparent); outline-offset:-3px; }
.store-product-adjacent-button i { font-size:16px; line-height:1; }
.store-page-back { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; gap:6px; min-height:34px; padding:5px 10px; border:1px solid color-mix(in srgb, var(--colorMain, CanvasText) 22%, Canvas); border-radius:10px; color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 3%, Canvas); font-size:13px; font-weight:500; line-height:1.4; text-decoration:none; transition:background-color .18s ease,border-color .18s ease,transform .18s ease; }
.store-page-back:hover { border-color:var(--colorMain, CanvasText); color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 6%, Canvas); transform:translateY(-1px); }
.store-page-back:focus-visible { outline:3px solid color-mix(in srgb, var(--colorMain, CanvasText) 28%, transparent); outline-offset:2px; }
.store-page-back i { font-size:14px; }
.product-details-topline { display:flex; justify-content:flex-start; margin:0 0 12px; }
.product-details-topline .store-page-back { min-height:32px; padding:4px 9px; }
.swal2-popup.store-cart-success-modal { box-sizing:border-box; width:min(640px, calc(100vw - 28px)); padding:24px; border:1px solid color-mix(in srgb, var(--colorMain, CanvasText) 18%, Canvas); border-radius:18px; color:CanvasText; background:Canvas; box-shadow:0 22px 70px rgb(0 0 0 / 18%); direction:rtl; }
.store-cart-modal-content { display:flex; flex-direction:column; align-items:center; min-width:0; }
.store-cart-modal-gallery { display:flex; flex-direction:column; align-items:center; width:100%; margin-bottom:14px; }
.store-cart-modal-product-image-wrap { position:relative; display:grid; width:min(100%, 300px); height:210px; place-items:center; overflow:hidden; border:1px solid color-mix(in srgb, var(--colorMain, CanvasText) 16%, Canvas); border-radius:17px; background:color-mix(in srgb, var(--colorMain, CanvasText) 3%, Canvas); touch-action:pan-y; }
.swal2-popup.store-cart-success-modal .product-added-image { display:block; width:100%; height:100%; padding:12px; object-fit:contain; user-select:none; }
.store-cart-success-badge { position:absolute; right:10px; bottom:10px; z-index:2; display:grid; width:36px; height:36px; place-items:center; border:3px solid Canvas; border-radius:50%; color:var(--colorMainContrast, Canvas); background:var(--colorMain, CanvasText); box-shadow:0 3px 10px rgb(0 0 0 / 14%); font-size:17px; }
.store-cart-gallery-arrow { position:absolute; top:50%; z-index:2; display:grid; width:40px; height:40px; place-items:center; transform:translateY(-50%); border:1px solid color-mix(in srgb, CanvasText 12%, Canvas); border-radius:50%; color:CanvasText; background:color-mix(in srgb, Canvas 92%, transparent); box-shadow:0 2px 8px rgb(0 0 0 / 10%); cursor:pointer; }
.store-cart-gallery-arrow:hover { color:var(--colorMain, CanvasText); border-color:var(--colorMain, CanvasText); }
.store-cart-gallery-arrow.is-previous { right:9px; }
.store-cart-gallery-arrow.is-next { left:9px; }
.store-cart-gallery-thumbs { display:flex; justify-content:center; gap:8px; width:min(100%, 300px); margin-top:10px; padding:2px 2px 5px; overflow-x:auto; scrollbar-width:thin; }
.store-cart-gallery-thumb { flex:0 0 52px; width:52px; height:52px; padding:3px; overflow:hidden; border:1px solid color-mix(in srgb, CanvasText 15%, Canvas); border-radius:10px; background:Canvas; cursor:pointer; }
.store-cart-gallery-thumb.is-active { border:2px solid var(--colorMain, CanvasText); box-shadow:0 0 0 2px color-mix(in srgb, var(--colorMain, CanvasText) 12%, transparent); }
.store-cart-gallery-thumb img { display:block; width:100%; height:100%; object-fit:contain; }
.store-cart-modal-title { max-width:100%; margin:0 0 14px; color:CanvasText; font-family:inherit; font-size:clamp(18px, 2.2vw, 22px); font-weight:600; line-height:1.7; overflow-wrap:anywhere; }
.swal2-popup.store-cart-success-modal .store-cart-success { display:inline-flex; align-items:center; justify-content:center; gap:9px; max-width:100%; margin:0; padding:9px 16px; border:1px solid color-mix(in srgb, var(--colorMain, CanvasText) 22%, Canvas); border-radius:12px; color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 9%, Canvas); font-size:14px; font-weight:600; line-height:1.6; }
.store-cart-modal-total { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:5px 9px; margin:14px 0 0; color:color-mix(in srgb, CanvasText 70%, Canvas); font-size:14px; line-height:1.8; }
.store-cart-modal-total b { color:CanvasText; font-weight:600; font-variant-numeric:tabular-nums; }
.store-cart-modal-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; width:100%; margin-top:18px; }
.swal2-popup.store-cart-success-modal .store-cart-modal-actions .btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; margin:0; padding:10px 18px; border:1px solid transparent; border-radius:11px; font-family:inherit; font-size:14px; font-weight:600; line-height:1.5; cursor:pointer; transition:background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.swal2-popup.store-cart-success-modal .store-cart-confirm { color:var(--colorMainContrast, Canvas); border-color:var(--colorMain, CanvasText); background:var(--colorMain, CanvasText); }
.swal2-popup.store-cart-success-modal .store-cart-confirm:hover { filter:brightness(.94); transform:translateY(-1px); }
.swal2-popup.store-cart-success-modal .store-cart-cancel { color:CanvasText; border-color:color-mix(in srgb, CanvasText 18%, Canvas); background:Canvas; }
.swal2-popup.store-cart-success-modal .store-cart-cancel:hover { border-color:var(--colorMain, CanvasText); color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 5%, Canvas); }
.swal2-popup.store-cart-success-modal :focus-visible { outline:3px solid color-mix(in srgb, var(--colorMain, CanvasText) 55%, Canvas); outline-offset:3px; }
@media(max-width:575px) {
    .swal2-popup.store-cart-success-modal { width:calc(100vw - 24px); padding:18px 14px; border-radius:16px; }
    .store-cart-modal-product-image-wrap { width:min(100%, 260px); height:180px; border-radius:14px; }
    .swal2-popup.store-cart-success-modal .product-added-image { padding:10px; }
    .store-cart-success-badge { width:32px; height:32px; font-size:15px; }
    .store-cart-gallery-arrow { width:36px; height:36px; }
    .store-cart-gallery-thumb { flex-basis:48px; width:48px; height:48px; }
    .store-cart-modal-title { margin-bottom:12px; font-size:18px; line-height:1.65; }
    .swal2-popup.store-cart-success-modal .store-cart-success { padding:8px 11px; font-size:13px; }
    .store-cart-modal-total { gap:3px 7px; font-size:13px; }
    .store-cart-modal-actions { gap:8px; margin-top:16px; }
    .swal2-popup.store-cart-success-modal .store-cart-modal-actions .btn { flex:1 1 140px; min-height:48px; padding-inline:12px; }
}
body.products-archive { background: color-mix(in srgb, var(--colorMain, Canvas) 2%, Canvas); }
body.products-archive .box-sm-transparent { padding: 0; border: 0; background: transparent; box-shadow: none; }
body.products-archive .product-orders { background: Canvas; border: 1px solid var(--store-border); border-radius: 14px; margin-bottom: 18px; padding: 14px; height: auto; }
body.products-archive .archive-products-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; border: 0; margin: 0; }
body.products-archive .archive-product-cell { width: auto; min-width: 0; padding: 0; margin: 0 !important; }
body.products-archive .archive-product-cell .v-product-item { display: flex; height: 100%; min-height: 0; padding: 12px; border: 1px solid var(--store-border); border-radius: 16px; background: Canvas; box-shadow: 0 3px 14px rgb(0 0 0 / 4%); }
body.products-archive .archive-product-cell .v-product-item-image { aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: Canvas; }
body.products-archive .archive-product-cell .v-product-item-image img { padding: 6px; object-fit: contain; width: 100%; height: 100%; }
body.products-archive .archive-product-cell .v-product-item-content .product-discount-badge { display:inline-flex; align-items:center; justify-content:center; min-width:46px; min-height:30px; padding:3px 9px; border:1px solid color-mix(in srgb, var(--colorMain, CanvasText) 26%, Canvas); border-radius:999px; color:var(--colorMain, CanvasText); background:color-mix(in srgb, var(--colorMain, CanvasText) 9%, Canvas); font-size:14px; font-weight:600; line-height:1.4; direction:rtl; white-space:nowrap; }
body.products-archive .archive-product-cell .v-product-item-content { height: auto; min-height: 116px; padding: 12px 4px 8px; flex: 1; gap: 8px; }
body.products-archive .archive-product-cell .v-product-item-content .title { display: -webkit-box; overflow: hidden; font-weight: 500; line-height: 1.8; margin: 0; min-height: 58px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.products-archive .product-price-container { gap: 6px; flex-wrap: wrap; align-items: baseline; }
body.products-archive .product-price-container .price { font-size: 17px; font-weight: 700; }
body.products-archive .filters-sidebar { border: 1px solid var(--store-border); border-radius: 16px; box-shadow: none; }
body.products-archive .archive-buttons { height: auto; min-height: 52px; border: 1px solid var(--store-border); background: Canvas; border-radius: 14px; box-shadow: 0 6px 24px rgb(0 0 0 / 10%); z-index: 1020; }
body.products-archive .archive-buttons button { flex: 1; min-width: 0; min-height: 50px; padding: 10px 8px; border: 0; color: var(--colorMain, CanvasText); background: Canvas; font: inherit; font-size: 14px; }
body.products-archive .archive-buttons button + button { border-inline-start: 1px solid var(--store-border); }
body.products-archive .archive-buttons i { margin-inline-end: 6px; }
body.home-body .v-product-item-footer .btn-primary, body.products-archive .v-product-item-footer .btn-primary { border: 1px solid var(--colorMain, currentColor); background: var(--colorMain, currentColor); border-radius: 10px; font-size: 14px; min-height: 44px; }
body.products-archive .v-product-item-footer { position: static; display: flex; flex-wrap: nowrap; direction: rtl; justify-content: flex-start; align-items: center; gap: 6px; min-width: 0; height: auto; padding: 10px 0 0; margin-top: auto; border-top: 1px solid var(--store-border); background: transparent; box-shadow: none; opacity: 1; visibility: visible; }
body.products-archive .v-product-item-footer .v-product-item-btn { flex: 0 0 auto; width: auto; min-width: 0; max-width: 164px; margin: 0 !important; padding: 8px 12px; }
body.products-archive .v-product-item-footer .v-product-item-btn > span { display: inline !important; visibility: visible; white-space: nowrap; }
body.products-archive .v-product-item-footer .v-product-item-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
body.products-archive .v-product-item-footer .v-product-item-btn { color: var(--colorMain, CanvasText) !important; background: transparent !important; border: 1px solid var(--colorMain, CanvasText) !important; }
body.products-archive .v-product-item-footer .v-product-item-btn { border-radius: 11px; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
body.products-archive .v-product-item-footer .v-product-item-btn:hover { background: var(--colorMain, CanvasText) !important; color: var(--colorMainContrast, Canvas) !important; }
body.products-archive .v-product-item-footer .v-product-item-btn.loading::after { border: 2px solid var(--colorMain, currentColor); border-right-color: transparent; }
body .product-purchase-actions .product-priced-button { background: var(--colorMain, currentColor); border-color: var(--colorMain, currentColor); }
body .product-purchase-actions .quantity-box button { border: 0; }
body.products-archive .v-product-item-footer .product-view-count-footer { display: none; }
@media (min-width: 1200px) {
    body.products-archive .filters-sidebar {
        position:sticky; top:18px; max-height:calc(100dvh - 36px); overflow-y:auto;
        overscroll-behavior:contain; scrollbar-width:thin;
    }
}
@media (min-width: 992px) {
    body.products-archive .product-orders {
        display:grid; grid-template-columns:max-content minmax(0,1fr) max-content;
        align-items:center; gap:8px 12px;
    }
    body.products-archive .product-orders .items {
        display:flex; align-items:center; gap:4px; min-width:0; width:100%; margin:0;
        overflow-x:auto; overscroll-behavior-inline:contain; scrollbar-width:thin;
    }
    body.products-archive .product-orders .items > a {
        display:inline-flex; flex:0 0 auto; align-items:center; min-height:42px; margin:0;
        padding:8px 10px; white-space:nowrap;
    }
    body.products-archive .product-orders > span:last-child { margin:0 !important; white-space:nowrap; }
}
@media (max-width: 1199.98px) {
    body.products-archive .filters-sidebar { height: 100dvh; z-index: 1070; border-radius: 0; margin: 0; padding: 0 20px calc(28px + env(safe-area-inset-bottom)); background: Canvas; }
}
@media (max-width: 991.98px) {
    body.products-archive .product-orders { height: 100dvh; z-index: 1070; border-radius: 0; margin: 0; padding: 0 20px calc(28px + env(safe-area-inset-bottom)); background: Canvas; }
    body.products-archive .product-orders .items { display: grid; grid-template-columns: minmax(0,1fr); gap: 6px; }
    body.products-archive .product-orders .items a { justify-content: flex-start; margin: 0; padding: 12px 16px; border: 1px solid var(--store-border); }
    body.products-archive .product-orders, body.products-archive .filters-sidebar { overscroll-behavior: contain; }
}
@media (hover: hover) {
    body.products-archive .archive-product-cell .v-product-item:hover { border-color: var(--colorMain, currentColor); box-shadow: 0 10px 28px rgb(0 0 0 / 8%); transform: translateY(-2px); }
}
@media (min-width: 576px) and (max-width: 991.98px) {
    body.products-archive .archive-products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.products-archive .v-product-item.mobile-horizontal { flex-direction: column; flex-wrap: nowrap; }
    body.products-archive .archive-product-cell .v-product-item-image, body.products-archive .v-product-item.mobile-horizontal .v-product-item-content { width: 100%; }
}
@media (max-width: 767.98px) {
    .store-catalog-back-row { margin:0 0 10px; }
    .store-page-back { min-height:38px; padding:7px 12px; }
    .store-product-navigation { gap:8px; margin-bottom:12px; }
    .store-product-navigation .breadcrumb-container { flex:1 1 auto; min-width:0; width:auto; }
    .store-product-navigation .store-page-back { width:auto; padding:5px 9px; }
    .store-product-adjacent { border-radius:10px; }
    .store-product-adjacent-button { flex-basis:58px; min-height:54px; gap:3px; padding:5px 3px; font-size:10px; }
    .store-product-adjacent-button i { font-size:15px; }
    .store-catalog-heading { gap:0; margin:0 0 10px; padding:4px 8px 6px; }
    .store-catalog-heading-title { gap:7px; }
    .store-catalog-heading-mark { gap:3px; }
    .store-catalog-heading-mark i { width:13px; height:9px; border-radius:3px; }
    .store-catalog-heading h1 { font-size:22px; line-height:1.45; }
    .store-catalog-heading-subtitle { margin-top:1px; font-size:14px; line-height:1.65; }
    body.products-archive .breadcrumb-container { margin-bottom:8px !important; }
    body.products-archive main { padding-bottom: calc(156px + env(safe-area-inset-bottom)); }
    body.products-archive.mobile-quick-nav-open main { padding-bottom: calc(216px + env(safe-area-inset-bottom)); }
    body.single-product-page main { padding-bottom: var(--purchase-bar-space,120px); }
    body .product-purchase-actions .product-priced-button { flex-direction: column; gap: 4px; }
    body .product-purchase-actions .product-buy-action { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
    body .product-purchase-actions .product-buy-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
}
@media (max-width: 575.98px) {
    body.products-archive .archive-products-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
    body.products-archive .archive-product-cell .v-product-item.mobile-horizontal { display: grid; grid-template-columns: 104px minmax(0,1fr); grid-template-areas: "image content" "footer footer"; align-items: start; gap: 8px 12px; padding: 12px; border: 1px solid var(--store-border); border-radius: 16px; }
    body.products-archive .archive-product-cell .v-product-item-image { grid-area: image; width: 104px; height: 104px; aspect-ratio: auto; margin: 0; overflow: visible; border-radius: 12px; }
    body.products-archive .archive-product-cell .v-product-item-image > a { overflow: hidden; border-radius: inherit; }
    body.products-archive .archive-product-cell .v-product-item-image .product-label { z-index: 2; top: 0; right: auto; left: 0; max-width: calc(100vw - 150px); overflow: hidden; padding: 3px 10px; border-radius: 4px; font-size: 14px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
    body.products-archive .archive-product-cell .v-product-item-image > a { display: grid; width: 100%; height: 100%; place-items: center; }
    body.products-archive .archive-product-cell .v-product-item-image img { padding: 2px; }
    body.products-archive .archive-product-cell .v-product-item-content { grid-area: content; width: auto; min-width: 0; min-height: 104px; padding: 28px 0 0; justify-content: flex-start; gap: 7px; }
    body.products-archive .archive-product-cell .v-product-item-content .title { min-height: 0; max-height: none; font-size: 15px !important; line-height: 1.8; -webkit-line-clamp: 2; }
    body.products-archive .archive-product-cell .product-price-container { justify-content: flex-start; }
    body.products-archive .archive-product-cell .product-price-container .price { font-size: 16px; }
    body.products-archive .archive-product-cell .v-product-item-content .product-discount-badge { min-width: 48px; min-height: 32px; font-size: 14px; }
    body.products-archive .archive-product-cell .v-product-item-footer { grid-area: footer; width: 100%; margin-top: 2px; padding-top: 9px; }
    body.products-archive .archive-product-cell .v-product-item-footer .v-product-item-btn { flex: 0 0 auto; max-width: 150px; min-height: 42px; padding-inline: 10px; font-size: 13px; }
    body.products-archive .archive-product-cell .v-product-item-footer .btn-no-bg { flex-basis: 38px; width: 38px; min-width: 38px; height: 38px; min-height: 38px; }
    body.products-archive .archive-product-cell .v-product-item-footer .product-view-count-footer { display: none; }
}

@media (max-width: 380px) {
    body.products-archive .archive-product-cell .v-product-item.mobile-horizontal { grid-template-columns: 92px minmax(0,1fr); gap: 8px 10px; padding: 10px; }
    body.products-archive .archive-product-cell .v-product-item-image { width: 92px; height: 92px; }
    body.products-archive .archive-product-cell .v-product-item-content { min-height: 92px; padding-top: 28px; }
    body.products-archive .archive-product-cell .v-product-item-image .product-label { max-width: calc(100vw - 140px); }
    body.products-archive .archive-product-cell .v-product-item-footer .btn-no-bg { flex-basis: 36px; width: 36px; min-width: 36px; }
    body.products-archive .archive-product-cell .v-product-item-footer .v-product-item-btn { max-width: 136px; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    body.products-archive .v-product-item-footer .v-product-item-btn { transition: none; }
}

/* Keep every product card label consistent and above its title, including compact cards. */
body .v-product-item-content > .product-label {
    position: static;
    inset: auto;
    z-index: auto;
    display: block;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 2px 0;
    overflow: hidden;
    padding: 4px 10px;
    border: 0;
    border-radius: 0 0 10px 0;
    color: #fff;
    background: var(--colorSecondary, var(--colorMain, CanvasText));
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
    body.home-body .v-product-item:not(.mobile-horizontal) .v-product-item-content,
    body.products-archive .archive-product-cell .v-product-item-content {
        padding-top: 10px;
    }
}

/* Listing cards have their own compact layout; keep the label in the text column. */
body.products-archive .archive-product-cell .v-product-item-content > .product-label {
    position: static !important;
    inset: auto !important;
    align-self: flex-start;
    margin: 0 auto 2px 0 !important;
    border: 0;
    border-radius: 0 0 10px 0;
    color: #fff;
    background: var(--colorSecondary, var(--colorMain, CanvasText));
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    body.products-archive .archive-product-cell .v-product-item-content {
        padding-top: 10px !important;
        justify-content: flex-start;
        gap: 5px;
    }
    body.products-archive .archive-product-cell .v-product-item-content > a .title {
        margin-top: 0;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    body.products-archive .archive-buttons {
        right: calc(20px + 56px + 12px); left: auto; width: 56px; height: auto; min-height: 0;
        display: grid; gap: 8px; overflow: visible; border: 0; border-radius: 0; background: transparent;
        box-shadow: none; z-index: 1045;
    }
    body.products-archive .archive-tools-actions[hidden] { display: none !important; }
    body.products-archive .archive-tools-actions { display: grid; gap: 8px; width: 190px; padding: 8px; border: 1px solid var(--store-border); border-radius: 14px; background: Canvas; box-shadow: 0 8px 28px rgb(0 0 0 / 16%); }
    body.products-archive .archive-buttons #archiveToolsToggle {
        justify-self: end; box-sizing: border-box; width: 56px; height: 56px; min-height: 56px; padding: 0;
        display: grid; place-items: center; border: 2px solid var(--colorMain, #421268); border-radius: 18px;
        color: var(--colorMain, #421268); background: Canvas; box-shadow: 0 5px 16px color-mix(in srgb, var(--colorMain, CanvasText) 16%, transparent);
        font-size: 22px;
    }
    body.products-archive .archive-buttons #archiveToolsToggle i { margin: 0; }
}

@media (max-width: 767.98px) {
    body.products-archive .archive-buttons {
        right: calc(16px + 116px + 10px);
        left: auto;
        width: 48px;
        height: auto;
        min-height: 0;
        bottom: calc(16px + env(safe-area-inset-bottom));
        display: grid;
        gap: 8px;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        z-index: 1045;
        transition: opacity .18s ease, visibility .18s ease;
    }
    body.products-archive .archive-tools-actions[hidden] { display: none !important; }
    body.products-archive .archive-tools-actions {
        display: grid;
        gap: 8px;
        width: 190px;
        padding: 8px;
        border: 1px solid var(--store-border);
        border-radius: 14px;
        background: Canvas;
        box-shadow: 0 8px 28px rgb(0 0 0 / 16%);
    }
    body.products-archive .archive-buttons button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        min-height: 46px;
        padding: 9px 12px;
        border: 1px solid var(--store-border);
        border-radius: 10px;
        color: var(--colorMain, CanvasText);
        background: Canvas;
        font: inherit;
        font-size: 14px;
    }
    body.products-archive .archive-tools-actions button { box-shadow: none; }
    body.products-archive .archive-buttons #archiveToolsToggle {
        justify-self: end;
        box-sizing: border-box;
        width: 48px;
        height: 48px;
        min-height: 48px;
        padding: 0;
        border: 2px solid var(--colorMain, #421268);
        border-radius: 15px;
        color: var(--colorMain, #421268);
        background: Canvas;
        box-shadow: 0 5px 16px color-mix(in srgb, var(--colorMain, CanvasText) 16%, transparent);
        font-size: 20px;
    }
    body.products-archive .archive-buttons #archiveToolsToggle i { margin: 0; font-size: 18px; }
    body.products-archive .archive-buttons #archiveToolsToggle:hover { filter: brightness(1.04); }
    body.products-archive.mobile-quick-nav-open .archive-buttons {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    body.products-archive.archive-panel-open { overflow: hidden; }
    body.products-archive.archive-panel-open .archive-buttons { visibility: hidden; pointer-events: none; }
    body.products-archive .mobile-section-head {
        position: sticky;
        top: 0;
        z-index: 2;
        min-height: 64px;
        margin: 0 -20px 16px;
        padding: 8px 20px;
        border-bottom: 1px solid var(--store-border);
        background: Canvas;
    }
    body.products-archive .mobile-section-head > span { font-size: 18px; font-weight: 600; }
}

/* Keep discount badges beside prices instead of over product photography. */
body .v-product-item .v-product-item-image { position: relative; }
body .v-product-item .product-card-discount-badge {
    position: static;
    inset: auto;
    display: inline-flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    min-width: 38px;
    min-height: 27px;
    padding: 4px 9px;
    border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 20%, Canvas);
    border-radius: 999px;
    color: var(--colorMain, CanvasText);
    background: color-mix(in srgb, var(--colorMain, CanvasText) 8%, Canvas);
    box-shadow: 0 1px 3px color-mix(in srgb, var(--colorMain, CanvasText) 8%, transparent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    direction: rtl;
    white-space: nowrap;
}
body .v-product-item .v-product-item-content .product-discount-badge,
body .v-product-item .tier-price-badge,
body .v-product-item .tier-price-discount,
body .v-product-item .tier-price-saving { display: none !important; }
body .v-product-item .tier-product-price {
    width: 100%;
    margin-top: 5px !important;
    padding: 0;
    gap: 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body .v-product-item .tier-price-before { gap: 0; color: color-mix(in srgb, CanvasText 60%, Canvas); }
body .v-product-item .tier-price-before > span:first-child { display: none !important; }
body .v-product-item .tier-price-before del { font-size: 12px; text-decoration-thickness: 1px; }
body .v-product-item .tier-product-price .tier-price-total .price { color: var(--colorMain, CanvasText); font-size: 19px; font-weight: 700; }
body .v-product-item .tier-product-price .tier-price-unit,
body .v-product-item .tier-product-price .tier-price-from { color: color-mix(in srgb, CanvasText 68%, Canvas); }
body .product-item-h .story-product-photo { position: relative; display: block; flex: 0 0 60px; width: 60px; height: 60px; margin-left: 10px; }
body .product-item-h .story-product-photo > img { display: block; width: 60px !important; height: 60px !important; margin: 0; object-fit: contain; }
body .product-item-h .product-card-discount-badge { position: static; inset: auto; z-index: auto; display: inline-flex; align-self: center; align-items: center; justify-content: center; width: fit-content; max-width: 100%; margin: 0; min-width: 31px; min-height: 23px; padding: 2px 7px; font-size: 11px; }
body .product-item-h .product-discount-badge,
body .product-item-h .tier-price-badge,
body .product-item-h .tier-price-discount,
body .product-item-h .tier-price-saving { display: none !important; }
body .product-item-h .tier-product-price { padding: 0; gap: 2px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body .product-item-h .tier-price-before > span:first-child { display: none !important; }
body .product-item-h .tier-price-before del { font-size: 11px; }
body .product-item-h .tier-product-price .tier-price-total .price { color: var(--colorMain, CanvasText); font-size: 14px; }

@media (max-width: 575.98px) {
    body .v-product-item .product-card-discount-badge { min-width: 38px; min-height: 27px; font-size: 12px; }
}

/* Keep the discount badge on the same row as the card price, outside the image. */
body .v-product-item .product-card-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px auto;
    align-items: end;
    gap: 8px;
    width: 100%;
    min-width: 0;
    direction: ltr;
    text-align: left;
}
body .v-product-item .product-card-price-row > .product-price-container { min-width: 0; }
body .v-product-item .product-card-price-row > .product-card-price-separator,
body .product-item-h-price-row > .product-card-price-separator { display: block; grid-column: 2; grid-row: 1; align-self: center; width: 1px; height: 24px; border-radius: 1px; background: color-mix(in srgb, var(--colorMain, CanvasText) 22%, Canvas); }
body .v-product-item .product-card-price-row > .product-card-discount-badge { grid-column: 3; grid-row: 1; }
body .product-item-h-price-row { display: grid; grid-template-columns: minmax(0, 1fr) 1px auto; align-items: end; gap: 6px; width: 100%; min-width: 0; direction: ltr; text-align: left; }
body .product-item-h-price-row > span:first-child { min-width: 0; }
body .product-item-h-price-row > .product-card-discount-badge { grid-column: 3; grid-row: 1; }

/* Catalog archive layout: use the available viewport and keep heading actions together. */
body.products-archive .products-archive-container {
    width: min(calc(100% - 32px), 1880px) !important;
    max-width: none;
}

body.products-archive .store-catalog-heading {
    justify-items: stretch;
    gap: 3px;
    margin: 8px 0 18px;
    padding: 0;
    text-align: right;
}

body.products-archive .store-catalog-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

body.products-archive .store-catalog-heading-title {
    flex: 1 1 auto;
    justify-content: flex-start;
    min-width: 0;
}

body.products-archive .store-catalog-heading h1 { text-align: right; }
body.products-archive .store-catalog-back-row { flex: 0 0 auto; margin: 0; }
body.products-archive .store-catalog-heading-subtitle { max-width: 760px; margin: 0; text-align: right; }

@media (min-width: 1200px) {
    body.products-archive .products-archive-container > .row > .col-xl-3 {
        flex: 0 0 22%;
        max-width: 22%;
    }
    body.products-archive .products-archive-container > .row > .col-xl-9 {
        flex: 0 0 78%;
        max-width: 78%;
    }
    body.products-archive .archive-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

@media (min-width: 1950px) {
    body.products-archive .archive-products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    body.products-archive .archive-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 767.98px) {
    body.products-archive .products-archive-container { width: calc(100% - 24px) !important; }
    body.products-archive .store-catalog-heading { margin: 2px 0 12px; }
    body.products-archive .store-catalog-heading-row { gap: 8px; }
    body.products-archive .store-catalog-heading-title { gap: 7px; }
    body.products-archive .store-catalog-heading h1 { font-size: clamp(19px, 4.8vw, 25px); line-height: 1.45; }
    body.products-archive .store-catalog-heading-mark { gap: 3px; }
    body.products-archive .store-catalog-heading-mark i { width: 13px; height: 9px; border-radius: 3px; }
    body.products-archive .store-catalog-back-row .store-page-back { min-height: 36px; padding: 6px 10px; white-space: nowrap; }
    body.products-archive .store-catalog-heading-subtitle { font-size: 14px; line-height: 1.65; }
}

@media (max-width: 380px) {
    body.products-archive .store-catalog-heading-row { gap: 5px; }
    body.products-archive .store-catalog-heading-title { gap: 5px; }
    body.products-archive .store-catalog-heading h1 { font-size: 18px; }
    body.products-archive .store-catalog-back-row .store-page-back { min-height: 34px; padding: 5px 8px; font-size: 12px; }
}

/* Product filters: a compact sticky desktop panel and a right-side tablet/mobile drawer. */
body.products-archive .filters-sidebar {
    box-sizing: border-box;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--store-border);
    border-radius: 18px;
    background: Canvas;
    box-shadow: 0 5px 22px rgb(24 34 55 / 5%);
}

body.products-archive .filters-sidebar .filter-sidebar-header {
    display: flex !important;
    position: sticky;
    top: -14px;
    z-index: 4;
    min-height: 54px;
    margin: -14px -14px 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--store-border);
    border-radius: 18px 18px 0 0;
    background: Canvas;
}

body.products-archive .filters-sidebar .filter-sidebar-header > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: CanvasText;
    font-size: 16px;
    font-weight: 600;
}

body.products-archive .filters-sidebar .filter-sidebar-header > span i { color: var(--colorMain, CanvasText); font-size: 18px; }
body.products-archive .filters-sidebar .filter-sidebar-header .close { color: CanvasText; }

body.products-archive .filters-sidebar #btnRemoveAllFilters {
    min-height: 42px;
    border: 1px solid color-mix(in srgb, var(--colorMain, CanvasText) 22%, Canvas);
    border-radius: 11px;
    color: var(--colorMain, CanvasText);
    background: color-mix(in srgb, var(--colorMain, CanvasText) 5%, Canvas);
    font-size: 13px;
}

body.products-archive .filters-sidebar .filter-box {
    padding: 13px;
    border: 1px solid var(--store-border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--colorMain, CanvasText) 2.5%, Canvas);
}

body.products-archive .filters-sidebar .sidebar-section-title {
    margin-bottom: 10px !important;
    color: CanvasText;
    font-size: 14px;
    font-weight: 600;
}

body.products-archive .filters-sidebar .filter-box > .sidebar-section-title { text-align: right; }
body.products-archive .filters-sidebar .filter-price-box { padding: 14px 14px 12px; }
body.products-archive .filters-sidebar .filter-price-box > .sidebar-section-title { display: block; margin-bottom: 8px !important; }
body.products-archive .filters-sidebar .filter-price-box .slider-container { width: calc(100% - 12px) !important; margin: 12px auto 16px; }
body.products-archive .filters-sidebar .filter-price-box .back-bar { height: 4px; border-radius: 999px; background: color-mix(in srgb, CanvasText 12%, Canvas); }
body.products-archive .filters-sidebar .filter-price-box .selected-bar { border-radius: 999px; }
body.products-archive .filters-sidebar .filter-price-box .pointer {
    width: 20px;
    height: 20px;
    top: -8px;
    border: 2px solid var(--colorMain, CanvasText);
    border-radius: 50%;
    background: Canvas;
    box-shadow: 0 2px 7px rgb(24 34 55 / 18%);
    transition: box-shadow .15s ease, background-color .15s ease, transform .15s ease;
}
body.products-archive .filters-sidebar .filter-price-box .pointer::before {
    content: none !important;
    display: none !important;
    font-family: inherit !important;
}
body.products-archive .filters-sidebar .filter-price-box .pointer::after {
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--colorMain, #740b80);
    content: "";
}
body.products-archive .filters-sidebar .filter-price-box .pointer:hover,
body.products-archive .filters-sidebar .filter-price-box .pointer.focused {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--colorMain, #740b80) 14%, transparent), 0 2px 7px rgb(24 34 55 / 18%);
}
body.products-archive .filters-sidebar .price-range-labels { gap: 8px; margin-top: 0; border-top: 0; }
body.products-archive .filters-sidebar .price-range-labels > div { align-items: stretch; flex: 1 1 50%; margin-top: 0; padding: 7px 9px; border: 1px solid var(--store-border); border-radius: 10px; background: Canvas; }
body.products-archive .filters-sidebar .price-range-labels > div:first-of-type { border-left: 1px solid var(--store-border); }
body.products-archive .filters-sidebar .price-range-labels > div span { font-size: 12px; }
body.products-archive .filters-sidebar .price-range-labels p { margin: 3px 0 0; color: CanvasText; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
body.products-archive .filters-sidebar #priceRangeBtn { min-height: 40px; margin-top: 10px !important; border: 0; border-radius: 10px; color: #fff; background: var(--colorMain, #740b80); font-size: 14px; font-weight: 600; transition: opacity .15s ease, transform .15s ease; }
body.products-archive .filters-sidebar #priceRangeBtn:not(.disabled):hover { transform: translateY(-1px); }
body.products-archive .filters-sidebar #priceRangeBtn.disabled { opacity: .48; cursor: not-allowed; }
body.products-archive .filters-sidebar #priceRangeBtnClear { min-height: 38px; border-radius: 10px; font-size: 13px; }
body.products-archive .filters-sidebar .check-row { min-height: 44px; gap: 12px; padding: 7px 11px; border: 1px solid var(--store-border); border-radius: 12px; background: Canvas; }
body.products-archive .filters-sidebar .check-row .title { flex: 1 1 auto; line-height: 1.6; }

body.products-archive .filters-sidebar #accordionFilters .accordion-item {
    padding: 0 !important;
    margin-bottom: 8px;
    border: 0;
    background: transparent;
}

body.products-archive .filters-sidebar #accordionFilters .accordion-button {
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--store-border);
    border-radius: 12px !important;
    color: CanvasText;
    background: color-mix(in srgb, var(--colorMain, CanvasText) 3%, Canvas);
    box-shadow: none;
    font-size: 14px;
    text-align: right;
}

body.products-archive .filters-sidebar #accordionFilters .accordion-button:not(.collapsed) { border-radius: 12px 12px 0 0 !important; }
body.products-archive .filters-sidebar #accordionFilters .accordion-button.changed { border-color: color-mix(in srgb, var(--colorMain, CanvasText) 40%, Canvas); }
body.products-archive .filters-sidebar #accordionFilters .accordion-button.changed::before { display: none; }
body.products-archive .filters-sidebar #accordionFilters .accordion-body { max-height: 280px; overflow-y: auto; padding: 8px 12px; border: 1px solid var(--store-border); border-top: 0; border-radius: 0 0 12px 12px; background: Canvas; }
body.products-archive .filters-sidebar #accordionFilters .form-check { min-height: 40px; margin: 0; padding: 8px 1.6em 8px 0; border-bottom: 1px solid color-mix(in srgb, CanvasText 8%, Canvas); }
body.products-archive .filters-sidebar #accordionFilters .form-check:last-of-type { border-bottom: 0; }
body.products-archive .filters-sidebar #accordionFilters .form-check-label { font-size: 14px; line-height: 1.6; }
body.products-archive .filters-sidebar #accordionFilters .form-check-input { float: right; margin: 4px -1.5em 0 0; }
body.products-archive .filters-sidebar .filter-search { height: 44px; }
body.products-archive .filters-sidebar .filter-search input { border: 1px solid var(--store-border); border-radius: 0 10px 10px 0; background: Canvas; font: inherit; font-size: 14px; }
body.products-archive .filters-sidebar .filter-search input:focus { border-color: var(--colorMain, CanvasText); box-shadow: 0 0 0 3px color-mix(in srgb, var(--colorMain, CanvasText) 12%, transparent); }
body.products-archive .filters-sidebar .filter-search .btn { width: 44px; border-radius: 10px 0 0 10px; }
body.products-archive .filters-sidebar .filter-links { max-height: 320px; padding: 12px; border: 1px solid var(--store-border); border-radius: 14px; background: Canvas; scrollbar-width: thin; }
body.products-archive .filters-sidebar .filter-links > li { margin-bottom: 6px; }
body.products-archive .filters-sidebar .filter-links > li > a,
body.products-archive .filters-sidebar .filter-links > li > ul > li a { min-height: 38px; padding-block: 7px; border-radius: 8px; line-height: 1.6; }
body.products-archive .filters-sidebar .filter-category-browser { padding: 0; overflow: hidden; }
body.products-archive .filters-sidebar .filter-category-browser > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin: 0; padding: 11px 13px; cursor: pointer; list-style: none; user-select: none; }
body.products-archive .filters-sidebar .filter-category-browser > summary::-webkit-details-marker { display: none; }
body.products-archive .filters-sidebar .filter-category-browser > summary::marker { content: ""; }
body.products-archive .filters-sidebar .filter-category-browser > summary i { color: var(--colorMain, CanvasText); font-size: 14px; transition: transform .18s ease; }
body.products-archive .filters-sidebar .filter-category-browser[open] > summary { border-bottom: 1px solid var(--store-border); }
body.products-archive .filters-sidebar .filter-category-browser[open] > summary i { transform: rotate(180deg); }
body.products-archive .filters-sidebar .filter-category-browser .filter-links { max-height: 260px; margin: 0 10px 10px; border: 0; }

@media (min-width: 1200px) {
    body.products-archive .filters-sidebar { top: 18px; max-height: calc(100dvh - 36px); padding: 14px; overflow-y: auto; }
    body.products-archive .filters-sidebar .filter-sidebar-header { position: static; margin: -14px -14px 12px; }
    body.products-archive .filters-sidebar .filter-sidebar-header .close { display: none; }
}

@media (max-width: 1199.98px) {
    body.products-archive .filters-sidebar {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 1070;
        width: min(100vw, 460px);
        max-width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        padding: 0 18px calc(24px + env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        box-shadow: -16px 0 48px rgb(20 28 44 / 16%);
        transform: translateX(18px);
        transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
        overscroll-behavior: contain;
    }
    body.products-archive .filters-sidebar.show { transform: translateX(0); }
    body.products-archive .filters-sidebar .filter-sidebar-header {
        top: 0;
        margin: 0 -18px 12px;
        padding: 10px 18px;
        border-radius: 0;
    }
}

@media (max-width: 575.98px) {
    body.products-archive .filters-sidebar { width: 100vw; padding-inline: 14px; }
    body.products-archive .filters-sidebar .filter-sidebar-header { margin-inline: -14px; padding-inline: 14px; }
    body.products-archive .filters-sidebar .filter-box { padding: 12px; }
    body.products-archive .filters-sidebar .filter-category-browser { padding: 0; }
    body.products-archive .filters-sidebar .filter-category-browser .filter-links { max-height: 220px; }
}

/* Physical left alignment for prices across cards, sliders, archive grids, and compact story cards. */
body .v-product-item .v-product-item-content .product-price-container,
body .product-item-h .product-price-container {
    box-sizing: border-box;
    align-self: stretch;
    align-items: flex-start !important;
    width: 100%;
    direction: ltr;
    text-align: left;
}

body .v-product-item .v-product-item-content .product-price-container > .price,
body .product-item-h .product-price-container > .price {
    align-self: flex-start;
    margin-inline: 0 !important;
    text-align: left;
}

body .v-product-item .v-product-item-content .product-price-container > .d-flex.w-100,
body .product-item-h .product-price-container > .d-flex.w-100 {
    align-self: stretch;
    justify-content: flex-start !important;
    gap: 6px;
    width: 100% !important;
    max-width: 100%;
    direction: ltr;
    text-align: left;
}

body .v-product-item .v-product-item-content .tier-product-price,
body .product-item-h .tier-product-price {
    align-items: flex-start !important;
    direction: ltr;
    text-align: left;
}

body .v-product-item .v-product-item-content .tier-price-total,
body .product-item-h .tier-price-total {
    align-self: flex-start;
    justify-content: flex-start;
    direction: ltr;
    text-align: left;
}

/* Archive mobile cards had older, more-specific rules that pushed prices back to the right. */
body.products-archive .archive-product-cell .v-product-item.mobile-horizontal .v-product-item-content .product-price-container {
    align-items: flex-start !important;
    direction: ltr !important;
    text-align: left !important;
}

body.products-archive .archive-product-cell .v-product-item.mobile-horizontal .v-product-item-content .product-price-container > .price {
    align-self: flex-start !important;
    margin-inline: 0 !important;
    text-align: left !important;
}

/* Keep the complete Persian price range anchored to the physical left edge. */
body .v-product-item .v-product-item-content .product-price-container > .product-price-range,
body .product-item-h .product-price-container > .product-price-range {
    box-sizing: border-box;
    align-self: stretch !important;
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 100%;
    justify-content: flex-end !important;
    margin-inline: 0 !important;
    direction: rtl !important;
    text-align: right !important;
}

body.products-archive .archive-product-cell .v-product-item.mobile-horizontal .v-product-item-content .product-price-container > .d-flex.w-100 {
    align-self: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    direction: ltr !important;
    text-align: left !important;
}

/* Keep the crossed-out regular price secondary to the actual discounted price. */
body .v-product-item .v-product-item-content .product-price-container > .price.dash-on,
body .product-item-h .product-price-container > .price.dash-on {
    color: color-mix(in srgb, CanvasText 62%, Canvas) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4;
}

body .v-product-item .product-price-container > .price:not(.dash-on),
body .v-product-item .product-price-container > .d-flex.w-100 > .price:not(.dash-on),
body .product-item-h .product-price-container > .price:not(.dash-on),
body .product-item-h .product-price-container > .d-flex.w-100 > .price:not(.dash-on) {
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    body .v-product-item .product-price-container > .price:not(.dash-on),
    body .v-product-item .product-price-container > .d-flex.w-100 > .price:not(.dash-on),
    body .product-item-h .product-price-container > .price:not(.dash-on),
    body .product-item-h .product-price-container > .d-flex.w-100 > .price:not(.dash-on) {
        font-size: clamp(16px, 4.3vw, 19px) !important;
        line-height: 1.5;
    }
    body .product-item-h .product-price-container .price { font-size: 16px; }
}

/* Tier and public card prices share the same amount/unit scale. */
body .v-product-item .tier-product-price .tier-price-total {
    font-size: 19px;
    line-height: 1.5;
}

body .v-product-item .tier-product-price .tier-price-total .price {
    font-size: 1em !important;
    font-weight: 700;
    line-height: inherit;
}

body .v-product-item .tier-product-price .tier-price-unit,
body .v-product-item .tier-product-price .tier-price-from {
    font-size: .72em;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    body .v-product-item .tier-product-price .tier-price-total {
        font-size: clamp(16px, 4.3vw, 19px);
    }
}

/* Make product photos fill their frame consistently without cropping the item. */
body .v-product-item:not(.mobile-horizontal) .v-product-item-image img,
body .v-product-item.mobile-horizontal .v-product-item-image img {
    padding: 0 !important;
    object-fit: contain;
    transform: scale(1.08);
}

/* Keep the currency unit secondary to the price across every product-card layout. */
body .v-product-item .price-currency,
body .product-item-h .price-currency {
    display: inline-block;
    margin-inline-start: .12em;
    font-size: .72em;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: baseline;
}

body .v-product-item .price-unit-prefix,
body .product-item-h .price-unit-prefix {
    display: inline-block;
    margin-inline-end: .18em;
    font-size: .8em;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: baseline;
}

body .v-product-item .price.price-per-unit,
body .product-item-h .price.price-per-unit {
    display: inline-flex;
    align-items: baseline;
    direction: ltr !important;
    flex-direction: row-reverse;
    gap: .2em;
    white-space: nowrap;
}

body .v-product-item .price.price-per-unit .price-unit-prefix,
body .v-product-item .price.price-per-unit .price-currency,
body .product-item-h .price.price-per-unit .price-unit-prefix,
body .product-item-h .price.price-per-unit .price-currency {
    margin-inline: 0;
}

body .v-product-item .tier-price-before del.price-per-unit,
body .product-item-h .tier-price-before del.price-per-unit {
    display: inline-flex;
    align-items: baseline;
    direction: rtl;
}

body .v-product-item .tier-price-total.price-per-unit,
body .product-item-h .tier-price-total.price-per-unit {
    direction: rtl !important;
}

@media (max-width: 767.98px) {
    body .v-product-item:not(.mobile-horizontal) .v-product-item-image img,
    body .v-product-item.mobile-horizontal .v-product-item-image img {
        transform: scale(1.14);
    }
}

/* Keep add-to-cart feedback visibly moving while the request is in flight. */
body .btn.loading::after,
body .btn-main.loading::after,
body .underline-link.loading::after,
body .v-product-item .v-product-item-footer .v-product-item-btn.loading::after,
body.products-archive .v-product-item-footer .v-product-item-btn.loading::after {
    display: inline-block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-width: 2px;
    border-style: solid;
    border-color: currentColor;
    border-inline-start-color: transparent;
    animation: store-cart-spinner .72s linear infinite !important;
    transform-origin: center;
}
@keyframes store-cart-spinner {
    to { transform: rotate(360deg); }
}
.store-cart-flight-image {
    position: fixed;
    z-index: 30000;
    display: block;
    max-width: none;
    border: 4px solid #fff;
    border-radius: 50%;
    background: Canvas;
    box-shadow: 0 12px 34px rgb(0 0 0 / 38%), 0 0 0 7px rgb(255 255 255 / 90%), 0 0 0 12px color-mix(in srgb, var(--colorMain, #e73558) 28%, transparent);
    object-fit: cover;
    pointer-events: none;
    will-change: transform, opacity;
}
.cart-button .icon-shopping-cart.store-cart-arrival,
.mobile-bottom-nav-cart-icon .icon-shopping-cart.store-cart-arrival { display: inline-block; }
.cart-button.store-cart-arrival,
.mobile-bottom-nav-cart-icon.store-cart-arrival { animation: store-cart-arrival .72s ease-out; }
@keyframes store-cart-arrival {
    35% { transform: scale(1.42); box-shadow: 0 0 0 8px color-mix(in srgb, var(--colorMain, #e73558) 30%, transparent); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; }
}


/* Refine the mobile sort drawer while keeping the full-screen archive flow. */
@media (max-width: 991.98px) {
    body.products-archive .product-orders {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        color: var(--store-ink, CanvasText);
        border: 0;
        box-shadow: none;
        transition: opacity .24s ease, top .3s cubic-bezier(.22,1,.36,1);
    }

    body.products-archive .product-orders .mobile-section-head {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        min-height: 76px;
        margin: 0 -20px 18px;
        padding: 12px 20px;
        border-bottom: 1px solid var(--store-border);
        background: Canvas;
    }

    body.products-archive .product-orders .mobile-section-head > span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--store-ink, CanvasText);
        font-size: 19px;
        font-weight: 600;
        line-height: 1.6;
    }

    body.products-archive .product-orders .mobile-section-head > span i {
        display: inline-grid;
        place-items: center;
        width: 38px;
        height: 38px;
        margin: 0;
        border-radius: 12px;
        color: var(--colorMain, CanvasText);
        background: color-mix(in srgb, var(--colorMain, CanvasText) 9%, Canvas);
        font-size: 18px;
    }

    body.products-archive .product-orders #closeOrders {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid var(--store-border);
        border-radius: 13px;
        color: var(--store-muted, #64748b);
        background: Canvas;
        font-size: 19px;
        transition: color .18s ease, border-color .18s ease, background-color .18s ease;
    }

    body.products-archive .product-orders #closeOrders:hover {
        border-color: color-mix(in srgb, var(--colorMain, CanvasText) 30%, var(--store-border));
        color: var(--colorMain, CanvasText);
        background: color-mix(in srgb, var(--colorMain, CanvasText) 5%, Canvas);
    }

    body.products-archive .product-orders > span.d992hide {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0 0 12px;
        color: var(--store-muted, #64748b);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.7;
    }

    body.products-archive .product-orders > span.d992hide i {
        margin: 0;
        color: var(--colorMain, CanvasText);
        font-size: 18px;
    }

    body.products-archive .product-orders .items {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        margin: 0;
    }

    body.products-archive .product-orders .items > a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 58px;
        margin: 0;
        padding: 12px 18px 12px 52px;
        border: 1px solid var(--store-border);
        border-radius: 14px;
        color: var(--store-ink, CanvasText);
        background: color-mix(in srgb, CanvasText 1.5%, Canvas);
        font-size: 15px;
        font-weight: 500;
        line-height: 1.7;
        text-align: right;
        text-decoration: none;
        transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    body.products-archive .product-orders .items > a.active {
        border-color: color-mix(in srgb, var(--colorMain, CanvasText) 42%, var(--store-border));
        color: var(--colorMain, CanvasText) !important;
        background: color-mix(in srgb, var(--colorMain, CanvasText) 9%, Canvas);
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--colorMain, CanvasText) 10%, transparent);
        font-weight: 600;
    }

    body.products-archive .product-orders .items > a.active::after {
        content: '✓';
        position: absolute;
        inset-inline-end: 16px;
        display: grid;
        place-items: center;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        color: var(--colorMainContrast, #fff);
        background: var(--colorMain, CanvasText);
        font-size: 14px;
        line-height: 1;
    }

    body.products-archive .product-orders > span:last-child {
        display: inline-flex;
        align-items: center;
        align-self: flex-start;
        min-height: 34px;
        margin: 16px 0 0 !important;
        padding: 5px 12px;
        border: 1px solid var(--store-border);
        border-radius: 999px;
        color: var(--store-muted, #64748b);
        background: color-mix(in srgb, CanvasText 2%, Canvas);
        font-size: 14px;
        line-height: 1.6;
    }

    body.products-archive .product-orders :focus-visible {
        outline: 3px solid color-mix(in srgb, var(--colorMain, CanvasText) 42%, Canvas);
        outline-offset: 2px;
    }
}

@media (hover: hover) and (max-width: 991.98px) {
    body.products-archive .product-orders .items > a:not(.active):hover {
        border-color: color-mix(in srgb, var(--colorMain, CanvasText) 30%, var(--store-border));
        background: color-mix(in srgb, var(--colorMain, CanvasText) 4%, Canvas);
        transform: translateY(-1px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.products-archive .product-orders,
    body.products-archive .product-orders .items > a,
    body.products-archive .product-orders #closeOrders {
        transition-duration: .01ms !important;
    }
}


/* Compact two-column sort options on narrow phones. */
@media (max-width: 430px) {
    body.products-archive .product-orders .items { gap: 8px; }
    body.products-archive .product-orders .items > a {
        min-height: 64px;
        padding: 10px 10px 10px 36px;
        font-size: 14px;
    }
    body.products-archive .product-orders .items > a.active::after {
        inset-inline-end: 8px;
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
}
