.our-collection-section {
    padding: 55px 0 0 0;
}

.section-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 18px;
}

.section-title {
    color: var(--sigcolor);
    font-size: 37px;
    font-family: var(--font1);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: -0.15rem;
}

.section-desc {
    font-family: var(--font1);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-secondary-color);
    width: 90%;
    max-width: 450px;
    text-align: center;
}

.section-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
}

.section-tabs button {
    font-family: var(--font1);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary-color);
    background-color: transparent;
    cursor: pointer;
    padding: 8px 20px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
}

.section-tabs button:hover {
    background-color: #0f0f0f;
    color: white;
}

.section-tabs button[aria-selected='true'] {
    background-color: #0f0f0f;
    color: white;
}

.products-here {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.2, 0, 0.2, 1);
}

.products-here.tab-anim-out {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
    pointer-events: none;
}

.products-here.tab-anim-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Adaptive related/recommended cards: Exactly 3 cards on desktop full screen (3-col grid) */
.product-related-block .products-here .one-product-card:nth-child(n+4),
.cart-recommendations-section .products-here .one-product-card:nth-child(n+4) {
    display: none;
}

.one-product-card {
    text-decoration: none;
    background-color: #F2F2F2;
    padding: 8px;
    border-radius: 14px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease, transform 0.25s ease;
    animation: cardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    padding: 4px 7px;
    border-radius: 5px;
    background-color: #F6D105;
    font-family: var(--font1);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary-color);
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.one-product-card-images {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 11px;
    overflow: hidden;
    position: relative;
    background-color: #e5e5e5;
}

.one-product-card img,
.one-product-card-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    will-change: opacity, transform;
    -webkit-filter: saturate(120%) contrast(110%);
    filter: saturate(120%) contrast(110%);
}

.one-product-card-images .product-thumb-primary {
    opacity: 1;
    z-index: 1;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.one-product-card-images .product-thumb-secondary {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.one-product-card:hover .one-product-card-images .product-thumb-primary {
    transform: scale(1.05);
}

.one-product-card:hover .one-product-card-images .product-thumb-secondary {
    opacity: 1;
    transform: scale(1.05);
}

.one-product-card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8px 7px 8px;
}

.product-name-and-pricing {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-name {
    font-size: 14px;
    font-family: var(--font1);
    font-weight: 600;
    color: var(--sigcolor);
    line-height: 1.35;
}

.product-price {
    font-size: 15px;
    font-family: var(--font1);
    font-weight: 600;
    color: #0f0f0f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price .discounted-price {
    color: #0f0f0f;
    font-weight: 600;
}

.product-price .original-price {
    color: var(--text-secondary-color);
    text-decoration: line-through;
    font-weight: 500;
    font-size: 13.5px;
}

.product-add-to-cart-button {
    width: 37px;
    height: 37px;
    min-width: 37px;
    min-height: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.product-add-to-cart-button svg {
    width: 50%;
    height: 50%;
    transition: stroke 0.2s ease, transform 0.2s ease;
}

.product-add-to-cart-button:hover {
    background-color: #0f0f0f;
}

.product-add-to-cart-button:hover svg {
    color: white;
}

.product-add-to-cart-button:active {
    transform: scale(0.9);
}

.product-add-to-cart-button.btn-added {
    background-color: #10B981 !important;
    transform: scale(1.1);
}

.load-more {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 37px 0 0 0;
}

.load-more a,
.load-more button {
    font-family: var(--font1);
    font-size: 15px;
    font-weight: 600;
    color: #0f0f0f;
    background-color: transparent;
    cursor: pointer;
    padding: 0 0 4px 0;
    border: none;
    position: relative;
    text-decoration: none;
}

.load-more a::after,
.load-more button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-secondary-color);
    z-index: 2;
    transition: all 0.27s ease-in-out;
}

.load-more a:hover::after,
.load-more button:hover::after {
    width: 0%;
}

@media (max-width: 992px) {
    .section-title {
        font-size: 32px;
    }

    .section-desc {
        font-size: 14px;
    }

    .products-here {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Adaptive related/recommended cards: Exactly 4 cards when grid switches to 2 columns */
    .product-related-block .products-here .one-product-card:nth-child(4),
    .cart-recommendations-section .products-here .one-product-card:nth-child(4) {
        display: flex;
    }

    .section-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 540px) {
    .section-title {
        font-size: 27px;
    }

    .section-desc {
        font-size: 13px;
    }

    .products-here {
        grid-template-columns: 1fr;
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }

    .section-tabs {
        gap: 8px;
    }

    .section-tabs button {
        font-size: 12px;
        padding: 6px 16px;
    }

    .one-product-card {
        padding: 6px;
        border-radius: 11px;
    }

    .product-badge {
        top: 16px;
        left: 16px;
        z-index: 3;
        font-size: 11px;
    }

    .one-product-card-images {
        border-radius: 7px;
    }

    .one-product-card-details {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 7px 5px 7px;
    }

    .product-name-and-pricing {
        gap: 4px;
    }

    .product-name {
        font-size: 12px;
        width: 90%;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-price {
        font-size: 12px;
    }

    .product-price .original-price {
        font-size: 11px;
    }

    .product-add-to-cart-button {
        display: none;
    }
}