.el57-section { --el57-muted: color-mix(in srgb, var(--el57-text) 56%, transparent); color: var(--el57-text); background: var(--el57-bg); direction: rtl; }
.el57-heading { max-width: 42rem; margin: 0 auto 1.5rem; text-align: center; }
.el57-heading h2 { margin: 0; color: inherit; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.el57-heading div { margin-top: .5rem; color: var(--el57-muted); }
.el57-tabs { display: flex; gap: 1.75rem; align-items: center; justify-content: center; margin: 0 0 2rem; overflow-x: auto; scrollbar-width: none; }
.el57-tab { position: relative; flex: 0 0 auto; padding: .35rem 0 .55rem; color: var(--el57-muted); border: 0; border-radius: 0; background: transparent; font-size: clamp(.95rem, 1.8vw, 1.2rem); font-weight: 500; line-height: 1.4; }
.el57-tab::after { position: absolute; right: 0; bottom: 0; width: 0; height: 1px; background: currentColor; content: ""; transition: width .2s ease; }
.el57-tab.is-active { color: var(--el57-text); }
.el57-tab.is-active::after { width: 100%; }
.el57-panel[hidden] { display: none; }
.el57-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
.el57-card { width: 100%; min-width: 0; color: var(--el57-text); }
.el57-card__media { position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; border-radius: .4375rem; background: #f2f3f4; }
.el57-card__image { display: block; width: 100%; height: 100%; }
.el57-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.el57-card__primary { opacity: 1; transition: opacity .38s ease; }
.el57-card__secondary { opacity: 0; transform: scale(1.025); transition: opacity .38s ease, transform .45s cubic-bezier(.22,1,.36,1); }
.el57-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #aaa; font-size: 2rem; }
.el57-card__sale { position: absolute; z-index: 2; top: .55rem; right: .55rem; padding: .18rem .45rem; color: #fff; border-radius: 99rem; background: #ff3d45; font-size: .65rem; font-weight: 700; }
.el57-card__cart { position: absolute; z-index: 3; right: .875rem; bottom: .875rem; left: .875rem; width: calc(100% - 1.75rem); min-height: 2.8rem; padding: .68rem .8rem; color: #fff; border: 0; border-radius: .45rem; background: #111; font-size: .75rem; font-weight: 600; opacity: 0; pointer-events: none; transform: translate3d(0,.75rem,0); transition: opacity .3s ease .04s, transform .3s cubic-bezier(.22,1,.36,1) .04s, background .2s ease; }
.el57-card__variants { display: grid; gap: .32rem; margin-top: .55rem; color: #151515; direction: rtl; }
.el57-card__variant { display: flex; gap: .45rem; align-items: center; min-width: 0; }
.el57-card__variant-title { flex: 0 0 auto; color: var(--el57-muted); font-size: .58rem; white-space: nowrap; }
.el57-card__variant-values { display: flex; gap: .28rem; align-items: center; min-width: 0; overflow: hidden; }
.el57-card__variant-values span { display: inline-grid; flex: 0 0 auto; min-width: 1.35rem; min-height: 1.25rem; padding: .13rem .3rem; place-items: center; border: 1px solid #dedede; border-radius: 99rem; background: #fff; font-size: .6rem; line-height: 1; }
.el57-card__info { padding-top: 1rem; }
.el57-card__info h3 { display: -webkit-box; min-height: 2.9em; margin: 0 0 .38rem; overflow: hidden; color: inherit; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .9375rem; font-weight: 400; line-height: 1.45; }
.el57-card__info h3 a { color: inherit; }
.el57-card__price { display: flex; gap: .3rem; align-items: baseline; min-height: 1.35rem; font-size: .72rem; }
.el57-card__price strong { font-weight: 700; }
.el57-card__price span, .el57-card__price del { color: var(--el57-muted); font-size: .62rem; }
.el57-footer { margin-top: 2rem; text-align: center; }
.el57-footer a { padding-bottom: .15rem; color: inherit; border-bottom: 1px solid currentColor; font-size: .72rem; }
.el57-panel__more { margin-top: 2.25rem; text-align: center; }
.el57-panel__more a { display: inline-block; padding: .2rem 0; color: inherit; border-bottom: 1px solid currentColor; font-size: .8rem; font-weight: 500; }
.el57-empty { padding: 3rem; text-align: center; color: var(--el57-muted); }

@media (hover: hover) and (pointer: fine) {
    .el57-card:hover .el57-card__primary { opacity: 0; }
    .el57-card:hover .el57-card__secondary { opacity: 1; transform: none; }
    .el57-card:hover .el57-card__cart { opacity: 1; pointer-events: auto; transform: none; }
    .el57-card__cart:hover { background: #292929; }
}
@media (max-width: 991.98px) { .el57-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .el57-section { padding-inline: .15rem; }
    .el57-tabs { justify-content: flex-start; gap: 1.25rem; margin-bottom: 1.35rem; }
    .el57-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem .7rem; }
    .el57-card__cart { opacity: 1; pointer-events: auto; transform: none; }
    .el57-card__media { aspect-ratio: 3/4; }
    .el57-card__info h3 { font-size: .8125rem; }
}
@keyframes el57-grid-enter { from { opacity: 0; transform: translate3d(0,1.375rem,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@media (prefers-reduced-motion: no-preference) {
    .el57-panel.is-active .el57-card { animation: el57-grid-enter .6s cubic-bezier(.22,1,.36,1) both; }
    .el57-panel.is-active .el57-card:nth-child(4n + 2) { animation-delay: .1s; }
    .el57-panel.is-active .el57-card:nth-child(4n + 3) { animation-delay: .2s; }
    .el57-panel.is-active .el57-card:nth-child(4n) { animation-delay: .3s; }
    @media (max-width: 991.98px) {
        .el57-panel.is-active .el57-card:nth-child(3n + 2) { animation-delay: .1s; }
        .el57-panel.is-active .el57-card:nth-child(3n) { animation-delay: .2s; }
        .el57-panel.is-active .el57-card:nth-child(3n + 1) { animation-delay: 0s; }
    }
    @media (max-width: 575.98px) {
        .el57-panel.is-active .el57-card:nth-child(2n) { animation-delay: .1s; }
        .el57-panel.is-active .el57-card:nth-child(2n + 1) { animation-delay: 0s; }
    }
}
@media (prefers-reduced-motion: reduce) { .el57-section * { scroll-behavior: auto !important; transition: none !important; } }
