
/* ISTORZ BROWSE V26 */

html body.bg-gray-50.ig-browse-preview {
    background:#fff!important;
    background-image:none!important;
    color:#25282d!important;
    font-family:'Cairo',sans-serif!important;
}

/* Page container */

html body.ig-browse-preview main.wrap {
    width:100%!important;
    max-width:1600px!important;
    margin:0 auto!important;
    padding:30px clamp(16px,4vw,64px) 64px!important;
    box-sizing:border-box!important;
    background:#fff!important;
}

/* Page heading */

html body.bg-gray-50.ig-browse-preview .page-top {
    display:flex!important;
    align-items:center!important;
    min-height:0!important;
    margin:0 0 26px!important;
    padding:20px 0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
}

html body.bg-gray-50.ig-browse-preview .page-title {
    font-size:clamp(26px,3vw,42px)!important;
    font-weight:800!important;
    color:#25282d!important;
    line-height:1.5!important;
}

html body.bg-gray-50.ig-browse-preview .crumbs {
    font-size:13px!important;
    color:#717780!important;
    margin-top:8px!important;
}

html body.bg-gray-50.ig-browse-preview .crumbs a {
    color:#024F6D!important;
}

/* Browse navigation */

html body.ig-browse-preview .ig26-browse-nav {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    padding:0 0 22px;
    margin-bottom:24px;
    border-bottom:1px solid #e5e7eb;
}

html body.ig-browse-preview .ig26-browse-nav a,
html body.ig-browse-preview .ig26-browse-nav span {
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:10px 18px;
    border-radius:999px;
    background:#f1f3f5;
    color:#25282d;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
}

html body.ig-browse-preview .ig26-browse-nav span {
    background:#0068bd;
    color:#fff;
}

/* Product grid */

html body.bg-gray-50.ig-browse-preview .grid-products {
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:28px 18px!important;
    align-items:start!important;
}

html body.bg-gray-50.ig-browse-preview .product-card {
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    background:#fff!important;
    border:0!important;
    border-radius:9px!important;
    box-shadow:none!important;
    overflow:hidden!important;
    contain:none!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
}

html body.bg-gray-50.ig-browse-preview
.product-card::before,
html body.bg-gray-50.ig-browse-preview
.product-card::after {
    display:none!important;
    content:none!important;
}

/* Square game artwork */

html body.bg-gray-50.ig-browse-preview .prod-img-box {
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1/1!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:9px!important;
    overflow:hidden!important;
    background:#eef0f3!important;
}

html body.bg-gray-50.ig-browse-preview .prod-img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
    border-radius:0!important;
    transition:transform .2s ease!important;
}

/* Product information */

html body.bg-gray-50.ig-browse-preview .product-info {
    padding:12px 2px 4px!important;
    margin:0!important;
    width:100%!important;
    background:#fff!important;
    color:#25282d!important;
    text-align:right!important;
}

html body.bg-gray-50.ig-browse-preview .product-info h3 {
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    height:46px!important;
    margin:0 0 8px!important;
    color:#25282d!important;
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.5!important;
}

html body.bg-gray-50.ig-browse-preview .product-info .price {
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    align-items:baseline!important;
    gap:9px!important;
    margin:0 0 10px!important;
}

html body.bg-gray-50.ig-browse-preview .new-price {
    font-size:18px!important;
    font-weight:800!important;
    color:#25282d!important;
}

html body.bg-gray-50.ig-browse-preview .old-price {
    font-size:12px!important;
    color:#777e86!important;
    text-decoration:line-through!important;
}

/* Quick view button */

html body.bg-gray-50.ig-browse-preview
.product-info .js-quickview {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:38px!important;
    width:100%!important;
    margin:0!important;
    padding:8px 12px!important;
    border:1px solid #e2e6eb!important;
    border-radius:999px!important;
    background:#f6f8fa!important;
    color:#024F6D!important;
    box-shadow:none!important;
    font-size:12px!important;
    font-weight:700!important;
}

html body.bg-gray-50.ig-browse-preview
.product-info .js-quickview:hover {
    background:#eaf3fc!important;
    border-color:#0068bd!important;
    color:#0068bd!important;
}

/* Wishlist */

html body.bg-gray-50.ig-browse-preview .card-wishlist-btn {
    width:34px!important;
    height:34px!important;
    border-radius:50%!important;
    background:rgba(255,255,255,.94)!important;
    color:#25282d!important;
    border:0!important;
    box-shadow:none!important;
}

html body.bg-gray-50.ig-browse-preview
.card-wishlist-btn.is-wished {
    background:#fff!important;
    color:#dc2626!important;
}

/* Category tiles */

html body.bg-gray-50.ig-browse-preview .grid-cats {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px!important;
}

html body.bg-gray-50.ig-browse-preview .cat-card {
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:16px!important;
    width:100%!important;
    height:auto!important;
    min-height:120px!important;
    aspect-ratio:16/9!important;
    padding:20px!important;
    border:0!important;
    border-radius:10px!important;
    background:linear-gradient(
        135deg,#052d63,#0073d1
    )!important;
    color:#fff!important;
    text-decoration:none!important;
    box-shadow:none!important;
    overflow:hidden!important;
    opacity:1!important;
    transform:none!important;
}

html body.bg-gray-50.ig-browse-preview
.cat-card:nth-child(4n+2) {
    background:linear-gradient(135deg,#002e40,#087c9c)!important;
}

html body.bg-gray-50.ig-browse-preview
.cat-card:nth-child(4n+3) {
    background:linear-gradient(135deg,#39205e,#7651b3)!important;
}

html body.bg-gray-50.ig-browse-preview
.cat-card:nth-child(4n+4) {
    background:linear-gradient(135deg,#192339,#465b81)!important;
}

html body.bg-gray-50.ig-browse-preview
.cat-card .cat-icon {
    font-size:clamp(28px,4vw,48px)!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}

html body.bg-gray-50.ig-browse-preview
.cat-card .cat-name {
    font-size:clamp(15px,2vw,22px)!important;
    font-weight:800!important;
    color:#fff!important;
    text-align:center!important;
}

/* Keyboard accessibility */

html body.ig-browse-preview .product-card:focus-within,
html body.ig-browse-preview .cat-card:focus-visible {
    outline:3px solid #0068bd!important;
    outline-offset:3px!important;
}

@media(hover:hover) {
    html body.ig-browse-preview .product-card:hover .prod-img {
        transform:scale(1.035)!important;
    }
}

html body.bg-gray-50.ig-browse-preview .loadbar {
    padding:24px 0!important;
    border:0!important;
    box-shadow:none!important;
    background:#fff!important;
    color:#717780!important;
}

/* Tablet */

@media(max-width:1200px) {
    html body.bg-gray-50.ig-browse-preview .grid-products {
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
    }
}

@media(max-width:992px) {
    html body.bg-gray-50.ig-browse-preview .grid-products,
    html body.bg-gray-50.ig-browse-preview .grid-cats {
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}

/* Mobile */

@media(max-width:767px) {

    html body.ig-browse-preview main.wrap {
        padding:18px 14px 40px!important;
    }

    html body.bg-gray-50.ig-browse-preview .grid-products,
    html body.bg-gray-50.ig-browse-preview .grid-cats {
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:20px 12px!important;
    }

    html body.bg-gray-50.ig-browse-preview .page-top {
        padding:12px 0!important;
        margin-bottom:16px!important;
    }

    html body.bg-gray-50.ig-browse-preview .product-info h3 {
        font-size:13px!important;
        height:40px!important;
    }

    html body.bg-gray-50.ig-browse-preview .new-price {
        font-size:16px!important;
    }

    html body.bg-gray-50.ig-browse-preview .cat-card {
        min-height:106px!important;
        gap:8px!important;
        padding:12px!important;
    }

    html body.bg-gray-50.ig-browse-preview .cat-name {
        font-size:15px!important;
    }
}

@media(prefers-reduced-motion:reduce) {
    html body.ig-browse-preview .prod-img {
        transition:none!important;
        transform:none!important;
    }
}


/* ISTORZ BROWSE FILTERS V27 */

html body.ig-browse-preview .ig27-filters {
    display:flex;
    align-items:flex-end;
    flex-wrap:wrap;
    gap:12px;
    padding:18px;
    margin:0 0 28px;
    background:#f5f7f9;
    border:1px solid #e5e8ec;
    border-radius:10px;
}

html body.ig-browse-preview .ig27-filter-field {
    flex:1 1 200px;
    min-width:0;
}

html body.ig-browse-preview .ig27-filter-field label {
    display:block;
    margin-bottom:7px;
    color:#25282d;
    font-size:12px;
    font-weight:800;
}

html body.ig-browse-preview .ig27-filter-field select {
    width:100%;
    height:46px;
    padding:0 12px;
    border:1px solid #d9dfe5;
    border-radius:7px;
    background:#fff;
    color:#25282d;
    font:700 13px 'Cairo',sans-serif;
    outline-offset:3px;
}

html body.ig-browse-preview .ig27-apply {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:46px;
    padding:0 22px;
    border:0;
    border-radius:999px;
    background:#0068bd;
    color:#fff;
    font-weight:800;
    font-size:13px;
    cursor:pointer;
}

html body.ig-browse-preview .ig27-reset {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 14px;
    font-size:12px;
    font-weight:700;
    color:#024F6D;
    text-decoration:none;
}

html body.ig-browse-preview .ig27-price-label {
    flex-basis:100%;
    font-size:12px;
    line-height:1.7;
    font-weight:700;
    color:#52606d;
}

html body.ig-browse-preview .ig27-filters :focus-visible {
    outline:3px solid #0068bd;
    outline-offset:3px;
}

@media(max-width:767px) {

    html body.ig-browse-preview .ig27-filters {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
        padding:12px;
        margin-bottom:20px;
    }

    html body.ig-browse-preview .ig27-filter-field select {
        font-size:12px;
        padding:0 8px;
    }

    html body.ig-browse-preview .ig27-apply,
    html body.ig-browse-preview .ig27-reset {
        width:100%;
        padding:0 8px;
    }
}

