/* Sinks Section CSS */

.bnaia-sinks-frame-parent {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 48px;
    text-align: right;
    margin-top: 55px;
    padding-right: 45px;
    margin-bottom: 45px;
    background-color: #f2f4f7; /* Gray background for sinks section */
    padding: 55px 45px 45px 45px;
}

.bnaia-sinks-header {
    align-self: stretch;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
    font-size: 25px;
    color: #0057b7;
    font-family: 'Cairo';
}

.bnaia-sinks-title {
    width: 80%;
    position: relative;
    font-size: 45px;
    letter-spacing: -0.41px;
    line-height: 70.5px;
    text-transform: capitalize;
    display: flex;
    color: #3b3b3b;
    align-items: center;
    flex-shrink: 0;
}

.bnaia-sinks-view-all {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 17px;
    order: 2;
    width: 20%;
    text-decoration: none;
    color: inherit;
    margin-left: 20px;
}

.bnaia-sinks-arrow-icon {
    width: 35.5px;
    position: relative;
    max-height: 100%;
    object-fit: contain;
}

.bnaia-sinks-view-text {
    position: relative;
    letter-spacing: -0.01em;
    line-height: 150%;
    color: #000;
}

/* Main container - similar to special-offers-main-container */
.bnaia-sinks-main-container {
    align-self: stretch;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 30px;
    z-index: 2;
    text-align: center;
    font-size: 14px;
    color: #fff;
    font-family: Almarai;
    overflow: hidden; /* Prevent overflow */
    direction: ltr;
}

/* Products scroll container */
.bnaia-sinks-frame-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    /* Show 4.5 products: 4 full + 0.5 partial */
    width: calc(4.5 * 298px + 4 * 30px); /* 4.5 products + 4 gaps */
    max-width: calc(4.5 * 298px + 4 * 30px);
    /* Force RTL direction for proper scroll behavior */
    direction: rtl;
    cursor: grab;
}

.bnaia-sinks-frame-group::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.bnaia-sinks-frame-group:active {
    cursor: grabbing;
}

/* Individual product wrapper - similar to special-offers-product-item */
.bnaia-sinks-frame-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0; /* Prevent items from shrinking */
    min-width: 298px; /* Ensure minimum width */
    /* Reset direction to LTR for proper product layout */
    direction: ltr;
}

/* Product container - similar to special-offers-product-container */
.bnaia-sinks-product-container {
    width: 298px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
}

/* Product image wrapper - similar to special-offers-product-image-wrapper */
.bnaia-sinks-frame-container {
    align-self: stretch;
    position: relative;
    border-radius: 7px;
    height: 374px;
    overflow: hidden;
    flex-shrink: 0;
}

/* Product image - similar to special-offers-product-image */
.bnaia-sinks-frame-child {
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: 7px;
    width: 298px;
    height: 374px;
    overflow: hidden;
    object-fit: cover;
}

/* Wishlist button - similar to special-offers-wishlist-btn */
.bnaia-sinks-frame-item {
    position: absolute;
    top: calc(50% - 169px);
    left: calc(50% + 88px);
    border-radius: 28px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    border: none;
    background: transparent;
}

/* Product info - similar to special-offers-product-info */
.bnaia-sinks-product-details-parent {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 20px;
    text-align: right;
    font-size: 18px;
    color: #3b3b3b;
    font-family: Tajawal;
}

/* Product title - similar to special-offers-product-title */
.bnaia-sinks-product-name {
    align-self: stretch;
    position: relative;
    line-height: 132%;
    display: -webkit-inline-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 700;
}

.bnaia-sinks-product-name a {
    color: inherit;
    text-decoration: none;
}

.bnaia-sinks-product-name a:hover {
    color: #007bff;
}

/* Price cart container - similar to special-offers-price-cart-container */
.bnaia-sinks-price-cart-wrapper {
    align-self: stretch;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 134px;
    text-align: center;
    font-size: 25px;
    color: #c70032;
    font-family: Poppins;
}

/* Price container - similar to special-offers-price-container */
.bnaia-sinks-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 11px;
}

/* Price wrapper - similar to special-offers-current-price-wrapper */
.bnaia-sinks-price-wrapper {
    width: 108px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

/* Price text - similar to special-offers-current-price */
.bnaia-sinks-price-text {
    position: relative;
    line-height: 100%;
    font-weight: 700;
}

/* Cart form - similar to special-offers-cart-form */
.bnaia-sinks-cart-form {
    display: inline-block;
    margin: 0;
    padding: 0;
}

/* Cart button - similar to special-offers-add-to-cart */
.bnaia-sinks-frame-parent .bnaia-sinks-add-to-cart.action.tocart.primary {
    width: 56px !important;
    border-radius: 28px !important;
    height: 56px !important;
    cursor: pointer;
    border: none !important;
    background-color: #E3E8EE !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    color: inherit !important;
    font-weight: normal !important;
    min-width: auto !important;
    max-width: 56px !important;
}

.bnaia-sinks-frame-parent .bnaia-sinks-add-to-cart.action.tocart.primary:hover {
    background-color: rgba(227, 232, 238, 0.8) !important;
    transform: scale(1.05);
    color: inherit !important;
}

.bnaia-sinks-frame-parent .bnaia-sinks-add-to-cart img {
    width: auto;
    height: auto;
    max-width: 24px;
    max-height: 24px;
}

/* Explore Banner Section - similar to special-offers-banner but with yellow background */
.bnaia-sinks-banner {
    width: 473px;
    position: relative;
    height: 516px;
    text-align: right;
    font-size: 35px;
    font-family: Tajawal;
}

.bnaia-sinks-banner-image {
    position: absolute;
    top: 0px;
    left: 0px;
    border-radius: 7px;
    width: 473px;
    height: 516px;
    object-fit: cover;
}

.bnaia-sinks-banner-overlay {
    position: absolute;
    top: 416px;
    left: 0px;
    border-radius: 0px 0px 7px 7px;
    background-color: #f9dc5c; /* Yellow background for sinks */
    width: 473px;
    height: 103px;
    overflow: hidden;
}

.bnaia-sinks-banner-text {
    color: #0057b7;
    position: absolute;
    top: 25px;
    right: 50px;
    line-height: 150%;
    font-weight: 500;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .bnaia-sinks-title {
        width: 45%;
        font-size: 28px;
        line-height: 50px;
    }
    
    .bnaia-sinks-header {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .bnaia-sinks-view-all {
        width: auto;
        min-width: 120px;
        flex-shrink: 0;
        margin-left: 10px;
    }
    
    .bnaia-sinks-view-text {
        font-size: 18px;
        white-space: nowrap;
    }
    
    .bnaia-sinks-frame-parent {
        padding-right: 20px;
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .bnaia-sinks-frame-parent {
        padding: 55px 20px 45px 0px;
    }
}