:root {
    --primary: #333333;
    --accent: #ff6600; /* Homeart Orange */
    --border: #ff6600;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --text-gray: #666666;
    --shadow: 0 5px 30px rgba(0,0,0,0.08);
    --drawer-width: 300px;
    --header-height: 80px;
    --buy-button: #0778beff;
    --box-shadow: 0 8px 10px 0 rgba(80,127,207,.2);
}
/* --- Section Styling --- */
.index_cetagory_main_section {
    width: 100%;
    background-color: #ffffff;
    text-align: center;
    padding: 20px 0px;
}

.index_cetagory_container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Header Styling --- */
.index_cetagory_header {
    margin-bottom: 50px;
    text-align: center;
}

.index_cetagory_header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.index_cetagory_header p {
    font-size: 16px;
    color: #777;
    font-weight: 400;
}

/* --- Grid System (Responsive) --- */
.index_cetagory_grid {
    display: grid;
    /* Auto-fit magic: adjusts columns based on screen width */
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* --- Individual Item (Anchor Tag) --- */
.index_cetagory_item {
    text-decoration: none; /* Removes the underline from links */
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* --- Image Circle & Animations --- */
.index_cetagory_img_box {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    border: 3px solid transparent; 
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    
    /* Center the image */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Image itself */
.index_cetagory_img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* --- Hover Effects --- */

/* 1. Zoom the image */
.index_cetagory_item:hover .index_cetagory_img_box img {
    transform: scale(1.15);
}

/* 2. Border Color Change */
.index_cetagory_item:hover .index_cetagory_img_box {
    border-color: #e67e22; /* Orange Accent */
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

/* 3. Ripple Animation Effect */
.index_cetagory_img_box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #e67e22;
    opacity: 0;
    z-index: 1;
    transform: scale(1);
    transition: all 0.4s ease;
}

/* Trigger Ripple on Hover */
.index_cetagory_item:hover .index_cetagory_img_box::after {
    animation: index_cetagory_ripple 1s infinite;
}

@keyframes index_cetagory_ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* --- Text Styling --- */
.index_cetagory_item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #444;
    transition: color 0.3s ease;
}

/* Change text color on hover */
.index_cetagory_item:hover h3 {
    color: #e67e22; 
}

/* --- Responsive Media Queries --- */

/* Mobile Devices */
@media (max-width: 600px) {
    .index_cetagory_grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Mobile */
        gap: 15px;
    }
    
    .index_cetagory_img_box {
        width: 120px;
        height: 120px;
    }

    .index_cetagory_item h3 {
        font-size: 14px;
    }
}

/* Tablet Devices */
@media (min-width: 601px) and (max-width: 1024px) {
    .index_cetagory_grid {
        grid-template-columns: repeat(4, 1fr); /* 4 Columns on Tablet */
    }
}

/* =========================================
   PRODUCT SECTION STYLES
   Prefix: index_products_card_
   ========================================= */

.products_main_conteinar {
    width: 95%;
    padding: 20px 0px;
    margin: 0 auto;
    background-color: #f9f9f9;
}
/* --- Header Styling --- */
.index_products_main_conteinar_header {
    margin-bottom: 50px;
    text-align: center;
}

.index_products_main_conteinar_header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.index_products_main_conteinar_header p {
    font-size: 16px;
    color: #777;
    font-weight: 400;
}

/* --- Grid Layout --- */
.index_products_card_wrapper {
    display: grid;
    /* 5 Columns on Desktop */
    grid-template-columns: repeat(5, 1fr); 
    gap: 5px;
}

/* --- Card Container --- */
.index_products_card_item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.index_products_card_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #e1e1e1;
}

/* --- Image Box (Holds Image + Badges) --- */
.index_products_card_img_box {
    height: 180px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative; /* Essential for absolute positioning */
    border-radius: 8px;
    background: #a3d4fc;
}

.index_products_card_img_box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    height: 100%;
    width: 350px;
}

/* Hover Zoom Effect */
.index_products_card_item:hover .index_products_card_img_box img {
    transform: scale(1.12);
}

/* --- Badges (On Image) --- */

/* 1. Discount Badge (Top Left) */
.index_products_card_discount {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    background: #007bff; /* Bright Blue */
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* 2. Eye/View Button (Top Right) */
.index_products_card_view_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a81d1d; /* Red Accent */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    
    /* Animation: Hidden initially, slides in on hover */
    opacity: 0; 
    transform: translateX(10px); 
}

/* Show Eye Button on Card Hover */
.index_products_card_item:hover .index_products_card_view_btn {
    opacity: 1;
    transform: translateX(0);
}

.index_products_card_view_btn:hover {
    background: #a81d1d;
    color: #fff;
}

/* --- Product Details --- */
.index_products_card_details {
    text-align: left;
    margin-top: auto;
    padding: 10px;
}

/* Title */
.index_products_card_title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    height: 40px; /* Fixed height for alignment */
    line-height: 1.4;
    text-decoration: none;
    transition: 0.3s;
}

.index_products_card_title:hover {
    color: #ff6600; /* Orange Hover */
}

/* Price */
.index_products_card_price_box {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.index_products_card_price_current {
    font-size: 16px;
    font-weight: 800;
    color: var(--buy-button); /* Purple */

}

.index_products_card_price_old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

/* Star Rating */
.index_products_card_rating {
    color: #ffc107; /* Yellow */
    font-size: 11px;
    margin-bottom: 15px;
}

/* --- Action Buttons (Cart & Buy) --- */
.index_products_card_actions {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split 50% 50% */
    gap: 10px;
}

.index_products_card_btn_cart {
    background: #f1f2f6;
    color: #333;
    border: none;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.index_products_card_btn_cart:hover {
    background: #dfe4ea;
    color: var(--buy-button);
}

.index_products_card_btn_buy {
    background: var(--buy-button); /* Brand Purple */
    color: #fff;
    border: none;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.index_products_card_btn_buy:hover {
    background: #5e1cb3;
    box-shadow: 0 4px 10px rgba(125, 42, 232, 0.3);
}

/* --- Modal Popup Styles --- */
.index_products_card_modal_overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.index_products_card_modal_content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    position: relative;
    display: flex;
    gap: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: index_products_fade 0.3s ease-out forwards;
}

@keyframes index_products_fade {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.index_products_card_close_modal {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #777;
    transition: 0.3s;
}

.index_products_card_close_modal:hover { color: #ff6600; }

.index_products_card_modal_left { width: 40%; display: flex; align-items: center; }
.index_products_card_modal_left img { width: 100%; border-radius: 8px; }
.index_products_card_modal_right { width: 60%; display: flex; flex-direction: column; justify-content: center; }
.index_products_card_modal_right h3 { font-size: 22px; margin-bottom: 10px; color: #333; }
.index_products_card_modal_right p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 20px; }

/* --- Mobile Responsive --- */
@media (max-width: 991px) {
    /* Tablet: 3 columns */
    .index_products_card_wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    /* Mobile: 2 columns */
    .index_products_card_wrapper {
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }

    .products_main_conteinar {
        padding: 30px 10px;
    }

    .index_products_card_item {
        padding: 10px;
    }

    .index_products_card_img_box {
        height: 140px;
    }

    /* On Mobile, keep the eye button visible always (better UX) */
    .index_products_card_view_btn {
        opacity: 1;
        transform: translateX(0);
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .index_products_card_discount {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* Buttons stack or stay grid? Grid is better for 2 col layout */
    .index_products_card_actions {
        grid-template-columns: 1fr; /* Stack buttons vertically on very small screens */
        gap: 6px;
    }

    .index_products_card_title {
        font-size: 13px;
        height: 36px;
    }

    /* Modal Mobile */
    .index_products_card_modal_content {
        flex-direction: column;
        padding: 20px;
        width: 95%;
    }
    .index_products_card_modal_left, .index_products_card_modal_right { width: 100%; }
}
/* --- Section Layout --- */
.index_two_ads_with_counter_conteinar {
    padding: 10px 0px;
    width: 95%;
    margin: 0 auto;
    background: #fff;
}

.index_ads_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px;
}

/* --- Common Card Styles --- */
.index_ads_card {
    position: relative;
    border-radius: 8px;
    overflow: hidden; /* Keeps image inside rounded corners */
    min-height: 280px;
    display: flex;
    align-items: center;
    padding: 40px;
    transition: transform 0.3s ease;
}

/* Hover Effect: Slight Lift */
.index_ads_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Content Area (Left Side) */
.index_ads_content {
    position: relative;
    z-index: 2;
}

/* Image Area (Right Side) */
.index_ads_img_wrap {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50%;
    z-index: 1;
}

.index_ads_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Adjusts image focus */
    mask-image: linear-gradient(to right, transparent 0%, black 20%); /* Fades image edge nicely */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
}

/* Typography */
.index_ads_title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.index_ads_subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Buttons */
.index_ads_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: 0.3s;
}

.index_ads_btn:hover {
    gap: 12px; /* Arrow moves on hover */
    text-decoration: underline;
}

/* --- Specific Card Themes --- */

/* 1. Dark Card */
.index_ads_dark {
    background-color: #2b2b2b;
    color: #ffffff;
}

.index_ads_dark .index_ads_btn {
    color: #ffffff;
}

/* 2. Beige Card */
.index_ads_beige {
    background-color: #c5a47e; /* Matches the brown/gold tone */
    color: #ffffff;
}

.index_ads_beige .index_ads_btn {
    color: #ffffff;
}

/* --- Countdown Timer Styles --- */
.index_ads_timer {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.index_ads_time_box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    width: 120px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}

.index_ads_time_box span {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.index_ads_time_box small {
    font-size: 18px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 2px;
}

/* --- Mobile Responsive --- */
@media (max-width: 991px) {
    .index_ads_title {
        font-size: 24px;
    }
    .index_ads_timer {
        gap: 10px;
    }
    .index_ads_time_box {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .index_ads_wrapper {
        grid-template-columns: 1fr; /* Stack 1 column */
        gap: 20px;
    }

    .index_ads_card {
        padding: 30px 20px;
        min-height: 250px;
    }

    .index_ads_content {
        max-width: 70%; /* Give text more space on mobile */
    }
    
    .index_ads_img_wrap {
        width: 40%; /* Shrink image area slightly */
        mask-image: linear-gradient(to right, transparent 0%, black 10%); 
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%);
    }
}
/* --- Favorite Section Container --- */
.index_main_favorite_conteinar {
    padding: 20px 0px;

    background-color: #f9f9f9;
}

.index_fav_wrapper {
    width: 95%;
    margin: 0 auto;
}

/* --- Header Styles --- */
.index_fav_header {
    text-align: center;
    margin-bottom: 40px;
}

.index_fav_header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.index_fav_header p {
    font-size: 15px;
    color: #777;
    font-weight: 400;
}

/* --- Grid Layout --- */
.index_fav_grid {
    display: grid;
    /* 5 Columns for Desktop to match image */
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px;
}

/* --- Card Styles --- */
.index_fav_card {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    padding: 10px;
    display: flex; /* Horizontal Layout */
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.index_fav_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: #e5e5e5;
}

/* Image Box */
.index_fav_image {
    width: 80px; /* Fixed width for consistency */
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.index_fav_image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* Details Box */
.index_fav_details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.index_fav_details h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px; /* Prevent text overflow */
}

.index_fav_rating {
    font-size: 10px;
    color: #ccc; /* Default gray for empty stars */
    margin-bottom: 5px;
}

.index_fav_price {
    font-size: 14px;
    font-weight: 700;
    color: #27ae60; /* Green Price */
    letter-spacing: 0.5px;
}

/* --- Responsive Media Queries --- */

/* Laptop / Small Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
    .index_fav_grid {
        grid-template-columns: repeat(4, 1fr); /* 4 Columns */
    }
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .index_fav_grid {
        grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    }
}

/* Small Tablet / Large Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .index_fav_grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns */
        gap: 15px;
    }
    
    .index_fav_details h3 {
        font-size: 13px;
    }
}

/* Mobile (max-width: 480px) */
/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .index_fav_grid {
        grid-template-columns: 1fr; /* 1 Column Stack */
    }
    
    .index_fav_card {
        padding: 15px; /* Larger touch area */
    }
    
    .index_fav_image {
        width: 70px;
        height: 70px;
    }
    
    .index_fav_details h3 {
        font-size: 15px; /* Slightly larger text for mobile readability */
        max-width: 100%;
        /* --- UPDATE HERE --- */
        /* Reset white-space to allow text to wrap on small screens so it doesn't overflow */
        white-space: normal;
        /* Optional: reset text-overflow if you don't want dots (...) when wrapped */
        text-overflow: clip; 
    }
}
/* --- Section Container --- */
/* --- Section Container --- */
.index_interior_design_conteinar {
    padding: 10px 0px;
    background-color: #fff; /* Or #f9f9f9 depending on your page bg */
}

.index_interior_wrapper {
    max-width: 95%;
    margin: 0 auto;
}

/* --- Main Card --- */
.index_interior_card {
    background: #ffffff;
    border-radius: 15px; /* Smooth rounded corners */
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Soft shadow like image */
    display: flex;
    overflow: hidden; /* Ensures image respects border radius */
    min-height: 450px; /* Gives it substantial height */
}
.index_carousel_description{
    font-size: 14px;
  color: #777;
  font-weight: 400;
  line-height: 25px;
}

/* --- Left Image Area --- */
.index_interior_image {
    flex: 1.3; /* Takes up slightly more width (approx 55%) */
    position: relative;
}

.index_interior_image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills space without stretching */
    display: block;
    transition: transform 0.5s ease;
}

/* Optional: Zoom effect on hover */
.index_interior_card:hover .index_interior_image img {
    transform: scale(1.05);
}

/* --- Right Content Area --- */
.index_interior_info {
    flex: 1; /* Takes up remaining space */
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    background: #fff;
}

/* Typography */
.index_interior_title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.index_interior_desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 400;
}

/* --- Main Green Button --- */
.index_interior_btn_main {
    display: inline-block;
    background-color: #00a651; /* Exact Green from image */
    color: #ffffff;
    padding: 14px 25px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    width: fit-content;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.index_interior_btn_main:hover {
    background-color: #008c44;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.3);
}

/* --- Secondary Tags/Buttons --- */
.index_interior_tags_group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.index_interior_tag_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f5f5f5; /* Light grey background */
    color: #333;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.index_interior_tag_btn i {
    color: #555;
    font-size: 16px;
}

.index_interior_tag_btn:hover {
    background-color: #e0e0e0;
    color: #000;
}

/* --- Mobile Responsive --- */
@media (max-width: 991px) {
    .index_interior_card {
        flex-direction: column; /* Stack vertically on tablet/mobile */
        height: auto;
        min-height: auto;
    }

    .index_interior_image {
        height: 300px; /* Fixed height for image on mobile */
        flex: none;
    }

    .index_interior_info {
        padding: 30px; /* Less padding on mobile */
    }

    .index_interior_title {
        font-size: 24px;
    }
    
    .index_interior_btn_main {
        width: 100%; /* Full width button on mobile */
    }
}

/* --- Section Container --- */
.index_carousel_section {
    padding: 40px 0px;
    background-color: #f9f9f9;
}

.index_carousel_container {
    max-width: 95%; /* Matches your request */
    margin: 0 auto;
    position: relative;
}

/* --- Header Area --- */
.index_carousel_header {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Aligns buttons with bottom of text */
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

/* Text Header Part */
.index_fav_header {
    max-width: 90%;
}

.index_fav_header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.index_fav_header p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Actions (See All + Arrows) */
.index_carousel_header_actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto; /* Pushes to the right */
    position: absolute;
    right: 10px;
}

.index_carousel_link_see_all {
    color: #ff6600;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.index_carousel_link_see_all:hover {
    text-decoration: underline;
}

/* --- Navigation Buttons --- */
.index_carousel_nav_group {
    display: flex;
    gap: 5px;
}

.index_carousel_btn_nav {
    background: #fff;
    border: 1px solid #ddd;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    cursor: pointer;
    color: #555;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.index_carousel_btn_nav:hover {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* --- Carousel Track --- */
.index_carousel_viewport {
    overflow: hidden;
    width: 100%;
    padding: 5px 0 15px 0; /* Padding for shadow clearance */
}

.index_carousel_track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease-in-out;
}

/* --- Product Card (FLEXBOX ALIGNMENT FIX) --- */
.index_carousel_card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    /* Desktop: 5 Cards */
    min-width: calc((100% - 60px) / 5); 
    
    /* Flexbox setup for vertical alignment */
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures card fills height */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.index_carousel_card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #ddd;
    transform: translateY(-2px);
}

/* Image Area */
.index_carousel_image_box {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #f9f9f9;
    overflow: hidden;
}

.index_carousel_image_box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.index_carousel_card:hover .index_carousel_image_box img { 
    transform: scale(1.08); 
}

/* Badges */
.index_carousel_badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--buy-button); /* Uses variable or fallback */
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 3px;
    z-index: 5;
}

/* --- Eye Button (Hidden -> Show on Hover) --- */
.index_carousel_btn_eye {
    position: absolute;
    top: 10px; right: 10px;
    width: 30px; height: 30px;
    background: #a81d1d;
    color: #fff;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.index_carousel_btn_eye:hover {
    background: #333;
}

/* Trigger Hover */
.index_carousel_card:hover .index_carousel_btn_eye {
    opacity: 1;
    transform: translateX(0);
}

/* --- Card Details (The "Grow" Area) --- */
.index_carousel_details {
    padding: 15px;
    /* Flexbox magic to push buttons down */
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.index_carousel_title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.4;
    min-height: 40px;
}

.index_carousel_description {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
    line-height: 1.5;
    
    /* Optional: Limit lines if description is too long */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.index_carousel_price_wrapper {
    margin-bottom: 5px;
}

.index_carousel_price_new { color: var(--buy-button); font-weight: 700; margin-right: 5px; font-size: 15px; }
.index_carousel_price_old { color: #999; text-decoration: line-through; font-size: 12px; }

.index_carousel_rating {
    font-size: 11px; color: #ffc107; margin-bottom: 15px;
}

/* --- Card Actions (Buttons) --- */
.index_carousel_card_actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto; /* This forces the buttons to the bottom */
}

.index_carousel_btn_cart, .index_carousel_btn_buy {
    border: none;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.index_carousel_btn_cart { background: #f0f0f0; color: #333; }
.index_carousel_btn_cart:hover { background: #e0e0e0; }
.index_carousel_btn_buy { background: var(--buy-button); color: #fff; }
.index_carousel_btn_buy:hover { background: #5e1cb3; }

/* --- Mobile Responsive --- */
@media (max-width: 991px) {
    /* Tablet: 3 cards */
    .index_carousel_card {
        min-width: calc((100% - 30px) / 3);
    }
    
    .index_fav_header h2 { font-size: 20px; }
    
    /* Ensure Eye Button is Visible on Touch Devices */
    .index_carousel_btn_eye {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 600px) {
    /* Mobile: 2 Cards */
    .index_carousel_card {
        min-width: calc((100% - 15px) / 2);
    }
    
    .index_carousel_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .index_carousel_header_actions {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }

    .index_carousel_details { padding: 10px; }
    .index_carousel_title { font-size: 13px; }
    .index_carousel_description { display: none; /* Hide desc on very small screens if needed */ }
    
    .index_carousel_btn_cart, .index_carousel_btn_buy { 
        font-size: 10px; 
        padding: 6px 2px; 
    }
}