
/* =========================================
   Shop By Notes Section Standardization
   ========================================= */
.rb-note-card {
    margin: 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rb-note-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.rb-note-img {
    width: 100%;
    height: 200px; /* Fixed height limit */
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.rb-note-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rb-note-card:hover .rb-note-img img {
    transform: scale(1.05);
}

.rb-note-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px; /* Ensure minimum text area height */
}

.shop-by-notes-area .col-12 {
    padding: 0 5px;
}

/* Fix for sliver of previous slide showing on left edge */
.shop-by-notes-area .slick-list {
    overflow: hidden !important;
    padding: 0 !important;
}

/* Ensure the carousel container is strictly bounded */
.shop-by-notes-area .royal-element-carousel {
    overflow: hidden !important;
    padding: 0 !important;
}

/* Ensure equal height columns in Slick Carousel */
.shop-by-notes-area .slick-track {
    display: flex !important;
}

.shop-by-notes-area .slick-slide {
    height: auto !important;
    display: flex !important;
    justify-content: center;
    margin: 0 !important; /* Ensure no external margins cause shifts */
}

.shop-by-notes-area .slick-slide > div {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.shop-by-notes-area .col-12 {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 5px; /* Add gap between slides */
}
