
.store-products-grid,.store-product-card,.store-quickview,.store-wishlist-status{
    --store-surface:var(--surface,var(--ak-surface,#fff));
    --store-surface-2:var(--surface-2,var(--ak-surface-2,#f7faf6));
    --store-border:var(--border,var(--ak-border,#dce7df));
    --store-text:var(--text,var(--ak-text,#14271d));
    --store-muted:var(--muted,var(--ak-muted,#6c7b71));
    --store-primary:var(--primary,var(--ak-primary,#075b3d));
    --store-primary-2:var(--primary-2,var(--ak-primary-2,#0c8152));
    --store-danger:var(--danger,var(--ak-danger,#be4148));
}
.store-products-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:22px;
    align-items:stretch;
}
.store-product-card{
    min-width:0;
    min-height:100%;
    display:flex;
    flex-direction:column;
    overflow:visible;
    background:var(--store-surface);
    border:1px solid var(--store-border);
    border-radius:22px;
    box-shadow:0 8px 22px rgba(21,55,36,.07);
    transition:transform .22s cubic-bezier(.23,1,.32,1),box-shadow .22s ease,border-color .22s ease;
}
.store-product-card:hover,
.store-product-card:focus-within{
    transform:translateY(-5px);
    border-color:color-mix(in srgb,var(--store-primary) 30%,var(--store-border));
    box-shadow:0 18px 42px rgba(21,55,36,.13);
}
.store-product-media{
    position:relative;
    aspect-ratio:1/1;
    min-height:0;
    margin-bottom:22px;
    overflow:visible;
    border-radius:20px;
    background:transparent;
}
.store-product-image-link{
    position:absolute;
    inset:0;
    z-index:1;
    display:block;
    overflow:hidden;
    border-radius:20px;
    background:transparent;
}
.store-product-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    padding:0;
    object-fit:cover;
    object-position:center;
    border-radius:20px;
    transition:opacity .24s ease,transform .35s cubic-bezier(.23,1,.32,1);
}
.store-product-image.is-primary{opacity:1;transform:scale(1)}
.store-product-image.is-secondary{opacity:0;transform:scale(1.015)}
.store-product-card:hover .store-product-image.is-primary,
.store-product-card:focus-within .store-product-image.is-primary{opacity:0}
.store-product-card:hover .store-product-image.is-secondary,
.store-product-card:focus-within .store-product-image.is-secondary{opacity:1;transform:scale(1)}
.store-product-badges{
    position:absolute;
    z-index:4;
    top:12px;
    inset-inline-end:12px;
    inset-inline-start:auto;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:6px;
    pointer-events:none;
}
.store-cashback-badge,.store-stock-badge{
    display:inline-flex;
    align-items:center;
    min-height:27px;
    padding:4px 9px;
    border-radius:999px;
    font-size:.67rem;
    font-weight:900;
    white-space:nowrap;
}
.store-cashback-badge{background:rgba(255,255,255,.94);color:var(--store-primary);border:1px solid rgba(14,91,59,.16)}
.store-stock-badge{background:rgba(198,66,66,.93);color:#fff}
.store-product-actions{
    position:absolute;
    z-index:5;
    right:0;
    left:0;
    bottom:-22px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:13px;
    pointer-events:none;
}
.store-product-action{
    width:48px;
    height:48px;
    flex:0 0 48px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid #b1c369;
    border-radius:50%;
    background:var(--store-surface);
    color:var(--store-primary-2);
    box-shadow:0 5px 13px rgba(35,62,18,.13);
    cursor:pointer;
    pointer-events:auto;
    transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.store-product-action svg{width:22px;height:22px;display:block}
.store-product-action:hover,.store-product-action:focus-visible{
    outline:0;
    transform:translateY(-3px);
    background:var(--store-primary-2);
    border-color:var(--store-primary-2);
    color:#fff;
    box-shadow:0 9px 18px rgba(80,119,0,.25);
}
.store-product-action:active{transform:translateY(-1px) scale(.96)}
.store-product-action-cart{width:54px;height:54px;flex-basis:54px;color:var(--store-primary);border-color:#9eb64a}
.store-product-action-cart svg{width:25px;height:25px}
.store-product-action-cart.is-disabled{opacity:.55;cursor:not-allowed}
.store-product-action-cart.is-disabled:hover{transform:none;background:var(--store-surface);color:var(--store-primary);border-color:#9eb64a;box-shadow:0 5px 13px rgba(35,62,18,.13)}
.store-product-action-wishlist.is-active{background:var(--store-primary-2);color:#fff;border-color:var(--store-primary-2)}
.store-product-action-wishlist.is-active svg path{fill:#fff}
.store-product-body{
    display:flex;
    flex:1;
    flex-direction:column;
    min-width:0;
    padding:7px 17px 18px;
    text-align:center;
}
.store-product-rating-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:23px}
.store-product-category{max-width:58%;overflow:hidden;color:var(--store-muted);font-size:.71rem;font-weight:800;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.store-product-rating{display:inline-flex;align-items:center;gap:3px;color:#f1bd12;font-size:.73rem;direction:ltr;white-space:nowrap}
.store-product-rating small{color:var(--store-muted);font-size:.66rem;direction:rtl}
.store-product-title{display:-webkit-box;min-height:49px;margin:7px 0 9px;overflow:hidden;font-size:1rem;font-weight:800;line-height:1.6;text-align:center;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.store-product-title a{color:var(--store-text);transition:color .16s ease}
.store-product-title a:hover{color:var(--store-primary)}
.store-product-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;direction:rtl}
.store-product-price{color:#e3262e;font-size:1.17rem;font-weight:900;line-height:1.25;white-space:nowrap}
.store-quantity-control{display:flex;align-items:center;justify-content:center;min-width:75px;height:34px;overflow:hidden;border-radius:999px;background:#76a900;color:#fff;direction:ltr;box-shadow:0 4px 10px rgba(75,112,0,.15)}
.store-quantity-control button{width:25px;height:34px;padding:0;border:0;background:transparent;color:#fff;font-size:1rem;line-height:1;cursor:pointer}
.store-quantity-control input{width:25px;height:34px;padding:0;border:0;background:transparent;color:#fff;font-size:.83rem;font-weight:900;text-align:center;outline:0;appearance:textfield;-moz-appearance:textfield}
.store-quantity-control input::-webkit-outer-spin-button,.store-quantity-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.store-product-stock{margin-top:9px;color:var(--store-muted);font-size:.68rem;font-weight:700}
.store-product-stock.is-available{color:#398047}
.store-product-stock.is-empty{color:var(--store-danger)}
.store-product-stock-badge{display:none}
.store-empty-state{grid-column:1/-1;padding:38px;text-align:center}
.store-empty-state h2{margin-top:0}
.store-scroll-button{
    position:fixed;
    z-index:55;
    left:18px;
    bottom:24px;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:13px;
    background:linear-gradient(135deg,var(--ak-primary,#075b3d),var(--ak-primary-2,#0e8a59));
    color:#fff;
    box-shadow:0 8px 20px rgba(7,91,61,.28);
    font-size:1.55rem;
    font-weight:900;
    line-height:1;
    cursor:pointer;
    transition:transform .18s ease,background .18s ease,opacity .18s ease;
}
.store-scroll-button:hover,.store-scroll-button:focus-visible{background:linear-gradient(135deg,var(--ak-primary-2,#0e8a59),var(--ak-primary,#075b3d));transform:translateY(-3px);outline:0}
.store-scroll-button:active{transform:translateY(-1px) scale(.96)}
.store-quickview[hidden]{display:none}
.store-quickview{
    position:fixed;
    z-index:180;
    inset:0;
    display:grid;
    place-items:center;
    padding:18px;
    background:rgba(4,25,16,.68);
    backdrop-filter:blur(7px);
}
.store-quickview-dialog{
    position:relative;
    display:grid;
    grid-template-columns:minmax(280px,1.05fr) minmax(240px,.95fr);
    width:min(850px,100%);
    max-height:min(720px,calc(100dvh - 36px));
    overflow:auto;
    border:1px solid var(--store-border);
    border-radius:25px;
    background:var(--store-surface);
    box-shadow:0 30px 90px rgba(0,0,0,.35);
}
.store-quickview-image-wrap{display:grid;place-items:center;min-height:420px;padding:28px;background:var(--store-surface-2)}
.store-quickview-image{width:100%;height:100%;max-height:580px;object-fit:contain}
.store-quickview-info{display:flex;flex-direction:column;justify-content:center;gap:13px;padding:35px 30px;text-align:right}
.store-quickview-info h2{margin:0;font-size:1.35rem;line-height:1.55}
.store-quickview-info p{margin:0;color:var(--store-muted);font-size:.82rem}
.store-quickview-price{color:#e3262e;font-size:1.45rem;font-weight:900}
.store-quickview-close{position:absolute;z-index:2;top:12px;inset-inline-end:12px;width:38px;height:38px;border:1px solid var(--store-border);border-radius:50%;background:var(--store-surface);color:var(--store-text);font-size:1.3rem;cursor:pointer}
.store-quickview-close:hover{background:var(--store-danger);border-color:var(--store-danger);color:#fff}
.store-quickview-nav{display:flex;gap:9px;margin-top:4px}
.store-quickview-nav button{flex:1}
.store-wishlist-status{position:fixed;z-index:190;right:18px;bottom:18px;max-width:min(360px,calc(100vw - 36px));padding:11px 15px;border-radius:13px;background:#123d2d;color:#fff;font-size:.76rem;font-weight:800;box-shadow:0 15px 35px rgba(0,0,0,.2);opacity:0;transform:translateY(15px);pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.store-wishlist-status.is-visible{opacity:1;transform:translateY(0)}
@media(max-width:1250px){.store-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.store-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-product-media{min-height:290px}}
@media(max-width:700px){.store-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.store-product-media{min-height:0}.store-product-body{padding-inline:12px}.store-product-title{font-size:.88rem;min-height:44px}.store-product-category{font-size:.64rem}.store-product-rating{font-size:.64rem}.store-product-price{font-size:1rem}.store-quantity-control{min-width:70px;height:32px}.store-quantity-control button,.store-quantity-control input{height:32px}.store-product-action{width:43px;height:43px;flex-basis:43px}.store-product-action-cart{width:48px;height:48px;flex-basis:48px}.store-product-actions{gap:7px}.store-quickview-dialog{grid-template-columns:1fr;max-height:calc(100dvh - 22px);border-radius:21px}.store-quickview-image-wrap{min-height:280px;height:47dvh;padding:20px}.store-quickview-info{padding:22px}.store-quickview-info h2{font-size:1.1rem}.store-scroll-button{left:14px;bottom:18px;width:42px;height:42px}}
@media(max-width:430px){.store-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-product-media{aspect-ratio:1/1;min-height:0}.store-product-image{padding:0}.store-product-card{border-radius:16px}.store-product-body{padding:6px 9px 11px}.store-product-rating-row{gap:4px;min-height:20px}.store-product-category,.store-product-rating{font-size:.58rem}.store-product-title{font-size:.8rem;min-height:40px;line-height:1.35}.store-product-bottom{flex-wrap:wrap;gap:6px}.store-product-price{font-size:.92rem}.store-quantity-control{min-width:64px;height:28px}.store-quantity-control button,.store-quantity-control input{height:28px}.store-product-stock{font-size:.6rem;margin-top:6px}.store-product-actions{gap:5px}.store-product-action{width:34px;height:34px;flex-basis:34px}.store-product-action-cart{width:38px;height:38px;flex-basis:38px}.store-product-action svg{width:16px;height:16px}.store-cashback-badge,.store-product-badge{font-size:.55rem;padding:3px 7px}}
@media(hover:none){.store-product-card:hover,.store-product-card:focus-within{transform:none;box-shadow:0 8px 22px rgba(21,55,36,.07)}.store-product-card:focus-within .store-product-image.is-primary{opacity:1}.store-product-card:focus-within .store-product-image.is-secondary{opacity:0}}
@media(prefers-reduced-motion:reduce){.store-product-card,.store-product-image,.store-product-action,.store-scroll-button{transition:none}}

.store-empty-icon{width:66px;height:66px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;background:var(--store-primary-2);color:#fff;font-size:2rem;line-height:1}
.store-wishlist-status.is-error{background:#8e3039}
.quickview-open{overflow:hidden}
.side-link .nav-badge{margin-inline-start:auto;min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;border-radius:999px;background:#efc75f;color:#173326;font-size:.63rem;font-weight:900}
.side-link .nav-badge[hidden],.badge-dot[hidden]{display:none!important}
@media(max-width:700px){.store-empty-state{padding:30px 18px}.store-product-badge{font-size:.62rem}}

/* Product store pagination */
.store-pagination-wrap{display:flex;justify-content:center;margin-top:8px}
.ak-pagination{width:100%;display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px 12px;border:1px solid var(--ak-border,var(--border,#dce7df));border-radius:18px;background:var(--ak-surface,var(--surface,#fff));box-shadow:var(--ak-shadow,var(--shadow-sm,none))}
.ak-pagination-meta{margin:0;color:var(--ak-muted,var(--muted,#6c7b71));font-size:.78rem;text-align:center}
.ak-pagination-meta strong{color:var(--ak-text,var(--text,#14271d));font-weight:900}
.ak-pagination-list{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;list-style:none;margin:0;padding:0}
.ak-pagination-list li{list-style:none;margin:0;padding:0}
.ak-pagination-list a,.ak-pagination-list span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 11px;border:1px solid var(--ak-border,var(--border,#dce7df));border-radius:11px;background:var(--ak-surface-2,var(--surface-2,#f7faf6));color:var(--ak-text,var(--text,#14271d));font-size:.78rem;font-weight:800;text-decoration:none;transition:.15s}
.ak-pagination-list a:hover{border-color:var(--ak-primary,var(--primary,#075b3d));color:var(--ak-primary,var(--primary,#075b3d));background:var(--ak-primary-soft,var(--primary-soft,#e3f2e8))}
.ak-pagination-list .is-active span{background:var(--ak-primary,var(--primary,#075b3d));border-color:var(--ak-primary,var(--primary,#075b3d));color:#fff}
.ak-pagination-list .is-disabled span{opacity:.45;cursor:default}
@media(max-width:560px){.ak-pagination{padding:14px 10px;border-radius:15px}.ak-pagination-list a,.ak-pagination-list span{min-width:34px;height:34px;border-radius:10px;font-size:.72rem}}
