.search-box {
    position: relative;
    flex: 1 1 0%;
    max-width: 500px;
    margin: 0px 1rem;
    font-family: inherit;
}

.search-box input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: medium;
    border-radius: 1.5rem;
    background: var(--dark);
    color: var(--light);
    font-size: 1rem;
    font-family: inherit;
    outline: currentcolor;
    box-shadow: rgba(0, 0, 0, 0.635) 0px 0px 12px 2px;
}

.search-box input::placeholder {
    color: rgb(153, 153, 153);
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--light);
}

.explore-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0px 16px;
    display: grid;
    gap: 20px;
}

.mini-toast {
    position: fixed;
    right: 20px;
    bottom: 80px;
    background: rgb(34, 34, 34);
    color: rgb(255, 255, 255);
    padding: 8px 12px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: 0.25s;
    z-index: 9999;
}

.mini-toast.show {
    opacity: 1;
    transform: translateY(0px);
}

.mini-toast.err {
    background: rgb(176, 0, 32);
}

.explore-item {
    background: var(--dark);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 20px;
    transition: 0.3s;
    overflow: hidden;
}

.explore-item:hover {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 30px;
    transform: translateY(-2px);
}

.item-image {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, var(--greenlight), var(--primary));
    border-radius: 14px;
    flex-shrink: 0;
    color: white;
    font-weight: bold;
    font-size: 2.5rem;
}

.item-image img {
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: inherit;
}

.item-details {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0px;
}

.item-header {
   max-width: 1200px;
    margin: 0px auto 20px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.item-name {
    text-align: right;
    font-size: 1rem;
    font-weight: 500;
    color: var(--light);
}

.item-price {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
}

.wishlist-btn {
    background: var(--red);
    color: white;
    border: medium;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.3s;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
}

.wishlist-btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: white;
    stroke-width: 18.3px;
    flex-shrink: 0;
}

.wishlist-btn.active svg {
    fill: white;
    stroke: none;
}

.wishlist-btn:hover {
    background: rgb(196, 69, 42);
    transform: scale(1.08);
}

@media (max-width: 767px) {
    .wishlist-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0px;
    }

    .wishlist-btn svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .wishlist-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .wishlist-btn svg {
        width: 20px;
        height: 20px;
    }
}

.add-to-cart-btn {
    background: var(--primary);
    color: white;
    border: medium;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    width: 100%;
    height: 40px;
    font-family: inherit;
    font-size: 0.8rem;
}

.add-to-cart-btn:hover {
    background: rgb(58, 154, 133);
    transform: translateY(-2px);
    box-shadow: rgba(71, 181, 158, 0.3) 0px 5px 20px;
}

.add-to-cart-btn svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 767px) {
    .explore-container {
        grid-template-columns: 1fr 1fr;
        padding: 0px 16px;
        gap: 20px;
    }

    .explore-item {
        flex-direction: column;
        text-align: center;
        padding: 18px;
    }

    .item-image {
        aspect-ratio: 3 / 4;
        width: 100%;
        height: auto;
        border-radius: 14px;
        order: -1;
    }

    .item-details {
        width: 100%;
        padding: 0px;
    }

    .item-name, .item-price {
        text-align: right;
        width: 100%;
    }

    .item-header {
        justify-content: flex-start;
        width: 100%;
    }

    .item-actions {
        display: flex;
        gap: 14px;
        margin-top: 16px;
        width: 100%;
    }

    .wishlist-btn {
        background-color: var(--red);
        color: var(--light);
        font-weight: 400;
    }

    .add-to-cart-btn {
        flex: 1 1 0%;
    }
}

@media (min-width: 768px) {
    .explore-container {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 0px 20px;
    }

    .explore-item {
        display: flex;
        flex-direction: row;
        background: var(--dark);
        border-radius: 15px;
        padding: 20px;
        gap: 20px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 20px;
        transition: 0.3s;
        line-height: 1.5rem;
    }

    .explore-item:hover {
        box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 30px;
        transform: translateY(-4px);
    }

    .item-image {
        aspect-ratio: 1 / 1;
        width: 110px;
        height: 110px;
        min-width: 110px;
        border-radius: 12px;
        font-size: 1.8rem;
    }

    .item-details {
        flex: 1 1 0%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-width: 0px;
    }

    .item-name {
        text-align: right;
        font-size: 1rem;
        font-weight: 500;
        color: var(--light);
    }

    .item-price {
        font-size: 1.3rem;
        color: var(--primary);
        font-weight: bold;
    }

    .item-actions {
        display: flex;
        gap: 10px;
        margin-top: auto;
    }

    .wishlist-btn {
        width: 40px;
        height: 40px;
        background: var(--red);
        border-radius: 14px;
        padding: 8px;
        flex-shrink: 0;
    }

    .wishlist-btn svg {
        width: 28px;
        height: 28px;
        fill: none;
        stroke: white;
        stroke-width: 18.3px;
    }

    .wishlist-btn.active svg {
        fill: white;
        stroke: none;
    }

    .add-to-cart-btn {
        flex: 1 1 0%;
        padding: 14px 16px;
        border-radius: 14px;
        font-size: 0.7rem;
        background: var(--primary);
        color: white;
        border: medium;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .add-to-cart-btn:hover {
        background: rgb(58, 154, 133);
    }
}

@media (min-width: 1024px) {
    .explore-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .item-image {
        aspect-ratio: 1 / 1;
        width: 110px;
        height: 110px;
        min-width: 110px;
        border-radius: 12px;
        font-size: 3rem;
    }
}

@media (min-width: 1400px) {
    .explore-container {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        margin: 110px auto 40px;
        gap: 30px;
    }

    .item-image {
        aspect-ratio: 1 / 1;
        width: 120px;
        height: 120px;
        min-width: 120px;
    }
}

body.explore-page {
    min-height: 100vh;
    background-image: url("/images/explore-bg-desktop.webp"), linear-gradient(135deg, rgb(30, 50, 35) 0%, rgb(25, 40, 30) 20%, rgb(20, 35, 28) 40%, rgb(15, 30, 25) 60%, rgb(10, 20, 18) 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

body.explore-page::before {
    content: "";
    position: fixed;
    inset: 0px;
    z-index: -1;
}

@media (max-width: 767px) {
    body.explore-page {
        background-image: url("/images/explore-bg-mobile.webp"), linear-gradient(135deg, rgb(30, 50, 35) 0%, rgb(25, 40, 30) 20%, rgb(20, 35, 28) 40%, rgb(15, 30, 25) 60%, rgb(10, 20, 18) 100%);
        background-size: cover;
        background-position: center top;
        background-attachment: scroll;
    }
}

@media (min-width: 768px) and(max-width: 1023px) {
    body.explore-page {
        background-image: url("/images/explore-bg-tablet.webp"), linear-gradient(135deg, rgb(30, 50, 35) 0%, rgb(25, 40, 30) 20%, rgb(20, 35, 28) 40%, rgb(15, 30, 25) 60%, rgb(10, 20, 18) 100%);
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
    }
}

@media (min-width: 1024px) {
    body.explore-page {
        background-image: url("/images/explore-bg-desktop.webp"), linear-gradient(135deg, rgb(30, 50, 35) 0%, rgb(25, 40, 30) 20%, rgb(20, 35, 28) 40%, rgb(15, 30, 25) 60%, rgb(10, 20, 18) 100%);
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
    }
}

.explore-skeleton {
    max-width: 1200px;
    margin: 20px auto 40px;
    padding: 0px 16px;
    display: grid;
    gap: 20px;
}

.skeleton-card {
    background: var(--dark);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    gap: 70px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 20px;
    animation: 1.2s ease-in-out infinite skeleton-fade;
}

.skeleton-card::before {
    content: "";
    width: 110px;
    height: 110px;
    min-width: 110px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgb(51, 51, 51) 25%, rgb(68, 68, 68) 37%, rgb(51, 51, 51) 63%) 0% 0% / 400% 100%;
    animation: 1.2s infinite skeleton-loading;
}

.skeleton-card::after {
    content: "";
    flex: 1 1 0%;
    height: 80px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgb(51, 51, 51) 25%, rgb(68, 68, 68) 37%, rgb(51, 51, 51) 63%) 0% 0% / 400% 100%;
    animation: 1.2s infinite skeleton-loading;
}

.load-more-btn {
    display: none;
    margin: 20px auto 40px;
    padding: 14px 26px;
    background: var(--primary);
    color: white;
    border: medium;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 200;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 20px;
}

.load-more-btn:hover {
    background: rgb(58, 154, 133);
    transform: translateY(-2px);
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 0px;
    }

    100% {
        background-position: -100% 0px;
    }
}

@keyframes skeleton-fade {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

@media (max-width: 767px) {
    .explore-skeleton {
        grid-template-columns: 1fr 1fr;
    }

    .skeleton-card {
        flex-direction: column;
        padding: 18px;
    }

    .skeleton-card::before {
        width: 100%;
        aspect-ratio: 3 / 4;
        height: auto;
    }

    .skeleton-card::after {
        width: 100%;
        height: 60px;
    }
}

@media (min-width: 768px) {
    .explore-skeleton {
        grid-template-columns: 1fr 1fr;
    }

    .skeleton-card::before {
        aspect-ratio: 1 / 1;
    }

    .load-more-btn {
        display: block;
    }
}

@media (min-width: 1024px) {
    .explore-skeleton {
        grid-template-columns: repeat(3, 1fr);
    }

    .load-more-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .explore-item {
        width: 100%;
        min-width: 0px;
    }

    .explore-item .item-name {
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .explore-item .item-image {
        aspect-ratio: 3 / 4;
    }

    .explore-item .item-actions {
        display: flex;
        gap: 8px;
        width: 100%;
        align-items: stretch;
    }

    .explore-item .wishlist-btn {
        flex: 0 0 auto;
        width: 30%;
        height: 41px;
    }

    .explore-item .add-to-cart-btn {
        flex: 1 1 auto;
        width: 70%;
    }

    .add-to-cart-btn {
        font-weight: 500;
        font-size: 0.72rem;
    }

    .item-price {
        font-size: 0.8rem;
        color: var(--primary);
        font-weight: 400;
    }
}

@media (max-width: 320px) {
    .explore-container {
        grid-template-columns: 1fr;
    }

    .explore-item {
        width: 100%;
        min-width: 0px;
    }

    .explore-item .item-name {
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .explore-item .item-image {
        aspect-ratio: 3 / 4;
    }

    .explore-item .item-actions {
        display: flex;
        gap: 8px;
        width: 100%;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .explore-item .wishlist-btn {
        flex: 0 0 auto;
        width: 52px;
        height: 52px;
    }

    .explore-item .add-to-cart-btn {
        flex: 1 1 100%;
        width: 100%;
    }
}

.product-colors-wrapper {
    margin: 8px 0px 10px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.product-colors-scroll {
    display: flex;
    gap: 6px;
    overflow: auto hidden;
    scrollbar-width: thin;
    direction: ltr;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    padding: 5px;
}

.product-colors-scroll::-webkit-scrollbar {
    height: 3px;
}

.product-colors-scroll::-webkit-scrollbar-track {
    background: none;
}

.product-colors-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-colors-scroll:hover::-webkit-scrollbar-thumb {
    opacity: 1;
}

.color-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    border-radius: 6px;
    transition: 0.2s;
    flex-shrink: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    white-space: nowrap;
}

.color-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.color-item.active {
    background: rgba(71, 181, 158, 0.12);
}

.color-circle {
    border-radius: 30%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: 0.2s;
    position: relative;
    flex-shrink: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 4px;
    min-width: 1rem;
    min-height: 1rem;
}

.color-circle:hover {
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.color-circle.active {
    outline-offset: 1px;
    transform: scale(1.05);
    box-shadow: rgba(71, 181, 158, 0.2) 0px 0px 0px 2px;
}

.color-circle.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
}

.color-circle.unavailable::after {
    content: "✕";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 0, 0, 0.6);
    font-size: 10px;
    font-weight: bold;
}

.color-circle.unavailable:hover {
    transform: scale(1);
}

.color-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    font-weight: 400;
    letter-spacing: 0.2px;
    transition: color 0.2s;
    line-height: 1;
    margin: 3px;
}

.color-item.active .color-label {
    color: var(--primary);
    font-weight: 500;
    margin: 5px;
}

.color-item:hover .color-label {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 480px) {
    .color-circle {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }

    .color-label {
        font-size: 0.5rem;
        margin: 2px;
    }

    .color-item.active .color-label {
        margin: 3px;
    }

    .color-item {
        gap: 3px;
        padding: 1px 3px;
    }

    .product-colors-scroll {
        gap: 4px;
        padding: 2px 0px 5px;
    }
}

@media (min-width: 481px) and(max-width: 767px) {
    .color-circle {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .color-label {
        font-size: 0.5rem;
        margin: 2px;
    }

    .color-item.active .color-label {
        margin: 3px;
    }

    .color-item {
        gap: 3px;
        padding: 1px 3px;
    }

    .product-colors-scroll {
        gap: 4px;
    }
}

@media (min-width: 768px) and(max-width: 1023px) {
    .color-circle {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .color-label {
        font-size: 0.55rem;
        margin: 3px;
    }

    .color-item.active .color-label {
        margin: 4px;
    }

    .color-item {
        gap: 3px;
        padding: 2px 4px;
    }

    .product-colors-scroll {
        gap: 5px;
        padding: 3px 0px 6px;
    }
}

@media (min-width: 1024px) {
    .color-circle {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }

    .color-label {
        font-size: 0.6rem;
        margin: 3px;
    }

    .color-item.active .color-label {
        margin: 5px;
    }

    .color-item {
        gap: 4px;
        padding: 2px 5px;
    }

    .product-colors-scroll {
        gap: 6px;
        padding: 4px 0px 7px;
    }
}

@media (min-width: 1400px) {
    .color-circle {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }

    .color-label {
        font-size: 0.65rem;
        margin: 4px;
    }

    .color-item.active .color-label {
        margin: 6px;
    }

    .color-item {
        gap: 5px;
        padding: 3px 6px;
    }

    .product-colors-scroll {
        gap: 7px;
        padding: 5px 0px 8px;
    }
}

.explore-item.tunnel-product, [data-type="tunnel_time"] {
    background-color: var(--greenlight, #e8f5e9);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.explore-item.tunnel-product .item-name, [data-type="tunnel_time"] .item-name {
    color: var(--darck, #1a1a2e);
}

.tunnel-product .old-price, [data-type="tunnel_time"] .old-price {
    color: rgb(136, 136, 136);
    text-decoration: line-through;
    font-size: 0.85rem;
}

.tunnel-product .current-price, [data-type="tunnel_time"] .current-price {
    color: var(--red, #dc2626);
    font-weight: 700;
    font-size: 1.1rem;
}

.tunnel-product .price-wrapper, [data-type="tunnel_time"] .price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.tunnel-product .color-circle, [data-type="tunnel_time"] .color-circle {
    border-color: var(--light, #f5f5f5);
}

.tunnel-product .color-circle.active, [data-type="tunnel_time"] .color-circle.active {
    border-color: var(--primary, #6a1b9a);
    outline: 2px solid var(--primary, #6a1b9a);
    outline-offset: 2px;
}

.tunnel-product .color-label, [data-type="tunnel_time"] .color-label {
    color: var(--darck, #1a1a2e);
    font-weight: 400;
}

.tunnel-product .color-item.active .color-label, [data-type="tunnel_time"] .color-item.active .color-label {
    color: var(--darck, #1a1a2e);
    font-weight: 700;
    opacity: 1;
}

.tunnel-product .color-item.active, [data-type="tunnel_time"] .color-item.active {
    border-color: var(--primary, #6a1b9a);
}

@keyframes gentlePulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translateX(-50%) scale(0.97);
    }
}

@media (max-width: 767px) {
    .explore-item.tunnel-product, [data-type="tunnel_time"] {
        background-color: var(--greenlight, #e8f5e9);
        position: relative;
        border-radius: 14px;
        overflow: hidden;
        transition: 0.3s;
        display: flex;
        flex-direction: column;
        padding: 18px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 20px;
        text-align: center;
        height: auto;
        min-height: unset;
    }

    .explore-item.tunnel-product .item-image, [data-type="tunnel_time"] .item-image {
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 14px;
        margin-bottom: 8px;
        aspect-ratio: 3 / 4;
    }

    .explore-item.tunnel-product .item-image img, [data-type="tunnel_time"] .item-image img {
        position: absolute;
        inset: 0px;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        border-radius: inherit;
    }

    .explore-item.tunnel-product .tunnel-badge, [data-type="tunnel_time"] .tunnel-badge {
        position: absolute;
        top: 24px;
        right: 18px;
        color: var(--light);
        padding: 3px 10px;
        border-radius: 6px;
        font-size: 0.6rem;
        font-weight: 400;
        z-index: 5;
        backdrop-filter: blur(4px);
        letter-spacing: 0.3px;
        font-family: inherit;
    }

    .explore-item.tunnel-product .tunnel-time-discount, [data-type="tunnel_time"] .tunnel-time-discount {
        position: absolute;
        top: 21px;
        left: 25px;
        background: var(--red);
        color: var(--light);
        padding: 3px 8px;
        border-radius: 6px;
        font-size: 0.6rem;
        font-weight: 400;
        z-index: 5;
        backdrop-filter: blur(4px);
        font-family: inherit;
        letter-spacing: 0.3px;
    }

    .explore-item.tunnel-product .tunnel-timer, [data-type="tunnel_time"] .tunnel-timer {
        position: absolute;
        bottom: 245px;
        left: 50%;
        transform: translateX(-50%);
        color: var(--red);
        font-size: 1.3rem;
        font-weight: 700;
        z-index: 5;
        font-family: inherit;
        letter-spacing: 2px;
        padding: 4px 12px;
        border-radius: 8px;
        backdrop-filter: blur(1px);
        min-width: 80px;
        text-align: center;
        direction: ltr;
        animation: 0.5s ease-in-out infinite gentlePulse;
    }

    .explore-item.tunnel-product .tunnel-timer.warning, [data-type="tunnel_time"] .tunnel-timer.warning {
        animation: 0.35s ease-in-out infinite gentlePulse;
        color: rgb(255, 0, 0);
    }

    .explore-item.tunnel-product .tunnel-timer.expired, [data-type="tunnel_time"] .tunnel-timer.expired {
        animation: auto;
        opacity: 0.5;
        color: rgb(255, 107, 107);
    }

    .explore-item.tunnel-product .item-name, [data-type="tunnel_time"] .item-name {
        color: var(--darck);
        font-weight: 600;
        text-align: right;
        font-size: 0.9rem;
    }

    .tunnel-product .old-price, [data-type="tunnel_time"] .old-price {
        color: rgb(194, 194, 194);
        text-decoration: line-through;
        font-size: 12px;
    }

    .tunnel-product .current-price, [data-type="tunnel_time"] .current-price {
        color: var(--red, #dc2626);
        font-weight: 700;
        font-size: 16px;
    }

    .tunnel-product .item-details, [data-type="tunnel_time"] .item-details {
        padding: 10px 12px 14px;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .explore-item.tunnel-product .product-colors-wrapper, [data-type="tunnel_time"] .product-colors-wrapper {
        margin: 4px 0px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
    }
}

@media (min-width: 768px) {
    .explore-item.tunnel-product, [data-type="tunnel_time"] {
        display: flex;
        flex-direction: row;
        gap: 20px;
        padding: 20px;
        background: var(--greenlight, #e8f5e9);
        border-radius: 15px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 20px;
        transition: 0.3s;
        height: auto;
        min-height: unset;
        align-items: stretch;
    }

    .explore-item.tunnel-product:hover, [data-type="tunnel_time"]:hover {
        box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 30px;
        transform: translateY(-4px);
    }

    .tunnel-left-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        width: 110px;
        min-width: 110px;
    }

    .explore-item.tunnel-product .item-image, [data-type="tunnel_time"] .item-image {
        aspect-ratio: 1 / 1;
        width: 110px;
        height: 110px;
        min-width: 110px;
        border-radius: 12px;
        overflow: hidden;
        flex-shrink: 0;
        position: relative;
    }

    .explore-item.tunnel-product .item-image img, [data-type="tunnel_time"] .item-image img {
        position: absolute;
        inset: 0px;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        border-radius: inherit;
    }

    .tunnel-left-column .tunnel-badge {
        background: none;
        color: var(--darck, #1a1a2e);
        font-weight: 600;
        font-size: 0.7rem;
        padding: 2px 0px;
        text-align: center;
        width: 100%;
        letter-spacing: 0.3px;
        font-family: inherit;
        position: static;
        transform: none;
        backdrop-filter: none;
        z-index: auto;
        border-radius: 0px;
    }

    .tunnel-left-column .tunnel-time-discount {
        background: var(--red, #dc3545);
        color: var(--light, #f5f5f5);
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 0.65rem;
        font-weight: 400;
        text-align: center;
        width: 100%;
        font-family: inherit;
        letter-spacing: 0.3px;
        position: static;
        transform: none;
        backdrop-filter: none;
        z-index: auto;
    }

    .tunnel-left-column .tunnel-timer {
        color: var(--red, #dc3545);
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        direction: ltr;
        width: 100%;
        font-family: inherit;
        letter-spacing: 2px;
        animation: 0.5s ease-in-out infinite gentlePulse;
        position: static;
        transform: none;
        backdrop-filter: none;
        border-radius: 0px;
        min-width: auto;
        z-index: auto;
    }

    .tunnel-left-column .tunnel-timer.warning {
        animation: 0.35s ease-in-out infinite gentlePulse;
        color: rgb(255, 0, 0);
    }

    .tunnel-left-column .tunnel-timer.expired {
        animation: auto;
        opacity: 0.5;
        color: rgb(255, 107, 107);
    }

    .explore-item.tunnel-product .item-details, [data-type="tunnel_time"] .item-details {
        flex: 1 1 0%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0px;
        min-width: 0px;
        gap: 6px;
    }

    .explore-item.tunnel-product .item-actions, [data-type="tunnel_time"] .item-actions {
        display: flex;
        gap: 10px;
        margin-top: auto;
        width: 100%;
    }

    .explore-item.tunnel-product .wishlist-btn, [data-type="tunnel_time"] .wishlist-btn {
        width: 40px;
        height: 40px;
        background: var(--red, #dc3545);
        border-radius: 12px;
        padding: 8px;
        flex-shrink: 0;
        border: medium;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }

    .explore-item.tunnel-product .wishlist-btn svg, [data-type="tunnel_time"] .wishlist-btn svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: white;
        stroke-width: 18.3px;
    }

    .explore-item.tunnel-product .wishlist-btn.active svg, [data-type="tunnel_time"] .wishlist-btn.active svg {
        fill: white;
        stroke: none;
    }

    .explore-item.tunnel-product .wishlist-btn:hover, [data-type="tunnel_time"] .wishlist-btn:hover {
        background: rgb(196, 69, 42);
        transform: scale(1.08);
    }

    .explore-item.tunnel-product .add-to-cart-btn, [data-type="tunnel_time"] .add-to-cart-btn {
        flex: 1 1 0%;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 500;
        background: var(--primary, #47b59e);
        color: white;
        border: medium;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        height: 40px;
        font-family: inherit;
        transition: 0.3s;
    }

    .explore-item.tunnel-product .add-to-cart-btn:hover, [data-type="tunnel_time"] .add-to-cart-btn:hover {
        background: rgb(58, 154, 133);
        transform: translateY(-2px);
        box-shadow: rgba(71, 181, 158, 0.3) 0px 5px 20px;
    }
}

@media (min-width: 1400px) {
    .tunnel-left-column {
        width: 120px;
        min-width: 120px;
    }

    .explore-item.tunnel-product .item-image, [data-type="tunnel_time"] .item-image {
        width: 120px;
        height: 120px;
        min-width: 120px;
    }
}

.breadcrumb {
    max-width: 1200px;
    margin: 77px auto 20px;
    padding: 0px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span[itemprop="name"] {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    margin: 0px 2px;
}

.explore-header {
    max-width: 1200px;
    margin: 0px auto 20px;
    padding: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
     border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    
}

.explore-title {
    font-size: 1.5rem;
    color: var(--light);
    margin: 0px;
}

.product-count {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.explore-intro {
    max-width: 1200px;
    margin: 0px auto 20px;
    padding: 0px 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}


.explore-intro p {
    margin: 0 0 10px;
}

.show-unavailable-btn {
    grid-column-start: 1;
    grid-column-end: -1;
    margin: 30px auto;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: medium;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    min-width: 240px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 20px;
}

.show-unavailable-btn:hover:not(:disabled) {
    background: rgb(58, 154, 133);
    transform: translateY(-2px);
}

.show-unavailable-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.other-products-title {
    grid-column-start: 1;
    grid-column-end: -1;
    font-size: 1.3rem;
    color: var(--light);
    margin: 40px 0px 20px;
    padding-bottom: 12px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    text-align: right;
}

.explore-pagination {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0px 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.explore-pagination a {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s;
    font-size: 0.9rem;
}

.explore-pagination a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.explore-pagination a.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.explore-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0px 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    font-size: 0.95rem;
}

.explore-content h2 {
    color: var(--light);
    font-size: 1.2rem;
    margin-top: 30px;
}

.explore-faq {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0px 16px;
}

.explore-faq h2 {
    color: var(--light);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.explore-faq details {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.explore-faq summary {
    color: var(--light);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
}

.explore-faq p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    line-height: 1.8;
    font-size: 0.9rem;
}

.level-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    margin: 0px;
    background: var(--dark);
    color: var(--light);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 0px 50px 50px 0px;
    border-width: medium 1px 1px medium;
    border-style: none solid solid none;
    border-color: currentcolor rgba(255, 255, 255, 0.06) rgba(255, 255, 255, 0.06) currentcolor;
    border-image: none;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
    transition: 0.2s;
    width: fit-content;
    max-width: 100%;
    cursor: pointer;
    position: fixed;
    top: 77px;
    left: 0px;
    z-index: 99;
}

.level-bar[hidden] {
    display: none;
}

.level-bar:hover {
    background: rgba(71, 181, 158, 0.12);
    border-color: rgba(71, 181, 158, 0.3);
}

.level-bar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0px 6px;
    background: linear-gradient(135deg, var(--primary), var(--greenlight));
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.level-bar-title {
    font-weight: 500;
    color: var(--light);
    white-space: nowrap;
}

.level-bar-progress {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    white-space: nowrap;
}

.level-bar-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    margin-right: 4px;
    transition: transform 0.2s, color 0.2s;
}

.level-bar:hover .level-bar-arrow {
    color: var(--primary);
    transform: translateX(-3px);
}

.level-bar.guest .level-bar-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.level-bar.guest .level-bar-title {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
    .level-bar {
        font-size: 0.75rem;
        padding: 6px 10px;
        gap: 6px;
    }

    .level-bar-badge {
        min-width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }

    .level-bar-progress {
        font-size: 0.7rem;
    }
}



/* ============================================================
   گالری چندتصویری کارت — نسخه ساده (opacity)
   ============================================================ */

.explore-item .card-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}
.explore-item .card-gallery.grabbing {
    cursor: grabbing;
}

/* همه تصاویر روی هم، فقط فعال دیده می‌شه */
.explore-item .card-gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}
.explore-item .card-gallery img.active {
    opacity: 1;
}

/* دات‌ها */
.explore-item .card-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}
.explore-item .card-dots .card-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.45);
    transition: width 0.3s, background 0.25s;
    cursor: pointer;
}
.explore-item .card-dots .card-dot.active {
    width: 18px;
    background: #ffffff;
}
