.elementor-1347 .elementor-element.elementor-element-a9f88be{--display:flex;--min-height:0px;--margin-top:20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}@media(max-width:767px){.elementor-1347 .elementor-element.elementor-element-a9f88be{--content-width:500px;}}@media(min-width:768px){.elementor-1347 .elementor-element.elementor-element-a9f88be{--content-width:1400px;}}/* Start custom CSS for container, class: .elementor-element-a9f88be *//* Custom CSS for Product Grid Images - Vertical iPhone Photos */

/* Main grid wrapper improvements */
.rbfw_rent_list_wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    padding: 0 !important;
}

/* Individual product column */
.rbfw_rent_list_col {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Product card wrapper */
.rbfw_rent_list_inner_wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #fff !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.rbfw_rent_list_inner_wrapper:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Image container - SHOW FULL IMAGE */
.rbfw_rent_list_grid_view_top {
    position: relative !important;
    width: 100% !important;
    padding-top: 150% !important; /* Maintains aspect ratio container */
    overflow: hidden !important;
    background: #ffffff !important; /* Changed to white background */
    height: 0 !important; /* Important for padding-top trick */
}

.rbfw_rent_list_grid_view_top_img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Image styling - SHOW COMPLETE IMAGE */
.rbfw_rent_list_grid_view_top img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Changed from cover to contain - shows full image */
    object-position: center center !important;
    transition: transform 0.4s ease !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

.rbfw_rent_list_inner_wrapper:hover .rbfw_rent_list_grid_view_top img {
    transform: scale(1.02) !important; /* Minimal zoom */
}

/* Content area */
.rbfw_inner_details {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.rbfw_rent_list_content {
    flex: 1;
}

/* Title styling */
.rbfw_rent_list_grid_title_wrapper {
    margin-bottom: 15px;
}

.rbfw_rent_list_grid_title {
    font-size: 16px;
    line-height: 1.3;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.rbfw_rent_list_grid_title a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rbfw_rent_list_grid_title a:hover {
    color: #8b9475;
}

/* Pricing */
.rbfw_pricing-box {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 15px;
}

.rbfw_rent_list_row_price {
    font-size: 20px;
    font-weight: 500;
    color: #2c2c2c;
    margin: 0;
}

.rbfw_rent_list_row_price_level {
    font-size: 13px;
    color: #666;
    font-weight: 300;
}

/* Size info */
.rbfw_rent_list_info {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.bfw_rent_list_items {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bfw_rent_list_items_icon {
    color: #8b9475;
    font-size: 12px;
}

/* Bottom info section */
.rbfw_rent_item_bottom_info {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* Book button */
.rbfw_rent_list_btn_holder {
    margin-top: 15px;
}

.rbfw_rent_list_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #8b9475;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
    width: 100%;
}

.rbfw_rent_list_btn:hover {
    background: #2c2c2c;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .rbfw_rent_list_wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .rbfw_rent_list_wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .rbfw_rent_list_grid_view_top {
        padding-top: 155% !important; /* Taller on tablets to show full dress */
    }
}

@media (max-width: 768px) {
    .rbfw_rent_list_wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .rbfw_inner_details {
        padding: 15px !important;
    }
    
    .rbfw_rent_list_grid_title {
        font-size: 14px !important;
    }
    
    .rbfw_rent_list_row_price {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .rbfw_rent_list_wrapper {
        grid-template-columns: repeat(2, 1fr) !important; /* Changed to 2 columns on mobile */
        gap: 12px !important; /* Reduced gap for mobile */
    }
    
    .rbfw_rent_list_grid_view_top {
        padding-top: 150% !important; /* Optimized for mobile 2-column view */
    }
    
    .rbfw_inner_details {
        padding: 12px !important;
    }
    
    .rbfw_rent_list_grid_title {
        font-size: 13px !important;
    }
    
    .rbfw_rent_list_row_price {
        font-size: 16px !important;
    }
    
    .bfw_rent_list_items {
        font-size: 11px !important;
    }
    
    .rbfw_rent_list_btn {
        padding: 10px 16px !important;
        font-size: 11px !important;
    }
}

/* Grid/List toggle buttons */
.rbfw_rent_list_grid_icon_holder {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rbfw_rent_items_list_grid {
    cursor: pointer;
    padding: 8px;
    border: 1px solid #d4c4b0;
    background: transparent;
    transition: all 0.3s ease;
}

.rbfw_rent_items_list_grid:hover,
.rbfw_rent_items_list_grid.selected_list_grid {
    background: #8b9475;
}

.rbfw_rent_items_list_grid svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.rbfw_rent_items_list_grid:hover svg path,
.rbfw_rent_items_list_grid.selected_list_grid svg path {
    fill: #fff;
}

/* Results text */
.rbfw_shoe_result_text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Hide the results counter and grid/list toggle */
.rbfw_rent_show_result_list_grid_icon_holder {
    display: none !important;
}

.rbfw_shoe_result_text {
    display: none !important;
}

.rbfw_rent_list_grid_icon_holder {
    display: none !important;
}

/* Ensure consistent image loading */
.rbfw_rent_list_grid_view_top img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Fix for image container if images have different orientations */
.rbfw_rent_list_grid_view_top {
    display: flex;
    align-items: center;
    justify-content: center;
}/* End custom CSS */