:root {
    --primary: #333333;
    --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);
}
:root{
    --easy-primary: #1B3E76;
    --easy-white: #ffffff;
    --easy-dark: #222222;
    --easy-light-bg: #f4f4f4;
    --easy-text-gray: #666666;
    --easy-buy-button: #0778beff;
    --easy-border: #ff6600;
    --easy-hover: #5e1cb3;
    --easy-shadow: 0 5px 30px rgba(0,0,0,0.08);
    --easy-box-shadow: 0 8px 10px 0 rgba(80,127,207,.2);

    --drawer-width: 300px;
    --header-height: 80px;

}


.popular-categories-section a{
  text-decoration: none !important;
}

.category-item {
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.circle-wrapper {
position: relative;
width: 120px;
height: 120px;
transition: all 0.3s ease;
border-radius: 50%;
}

.circle-wrapper img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
  object-fit: cover;
  z-index: 2;
  background: var(--easy-light-bg);
}

/* SVG Base Circle */
.progress-ring-circle-bg {
  fill: none;
  stroke: var(--easy-light-bg);
  stroke-width: 10;
}

/* SVG Animated Circle */
.progress-ring-circle {
  fill: none;
  stroke: #ff6600;
  stroke-width: 10;
  stroke-dasharray: 314.16; /* 2πr, r = 50 */
  stroke-dashoffset: 314.16;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 1s linear;
}
.category-item:hover .progress-ring-circle {
stroke-dashoffset: 0;
}

/* Apply UI animation to the wrapper instead */
.category-item:hover .circle-wrapper {
transform: scale(1.05);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
transition: all 0.3s ease;
}

.category-item span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #222;
  font-weight: 500;
}












/* --- Section Styling --- */
.index_cetagory_main_section {
    width: 100%;
    background-color: var(--easy-white);
    text-align: center;
    padding: 20px 0px;
}

.index_cetagory_container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Header Styling --- */
.index_cetagory_header {
    margin-bottom: 30px;
    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(140px, 1fr));
    gap: 10px;
    justify-content: center;
}

/* --- Responsive Media Queries --- */
@media (max-width: 600px) {
    /* --- Header Styling --- */
    .index_cetagory_header {
        margin-bottom: 10px;
        text-align: center;
    }
    .index_cetagory_header h2{
        font-size: 18PX;
    }
    .index_cetagory_header P{
        font-size: 14PX;
        display: none;
    }
    .index_cetagory_grid {
        grid-template-columns: repeat(3, 1fr); /* 2 Columns on Mobile */
        gap: 10px;
    }

}

/* 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: var(--easy-light-bg);
}
/* --- Header Styling --- */
.index_products_main_conteinar_header {
    margin-bottom: 50px;
    text-align: center;
}

.index_products_main_conteinar_header h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--easy-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.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: var(--easy-white);
    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%;
    max-width: 255px;
    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: var(--easy-white);
    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: var(--easy-white);
    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: var(--easy-white);
}

/* --- 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: var(--easy-white);
    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: var(--easy-white);
    padding: 30px 20px;
    border-radius: 12px;
    max-height: 80vh;
    overflow: hidden;
    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; 
    overflow-y: auto;
    height: 100%;
}
.index_products_card_modal_right h3 { font-size: 22px; margin-bottom: 10px; color: #333; }
.index_products_card_modal_right p { font-size: 14px; color: var(--easy-text-gray); 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: var(--easy-white);
}

.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: #2b2b2b75;
    color: var(--easy-white);
}

.index_ads_dark .index_ads_btn {
    color: var(--easy-white);
}

/* 2. Beige Card */
.index_ads_beige {
    background-color: #c5a47e; /* Matches the brown/gold tone */
    color: var(--easy-white);
}

.index_ads_beige .index_ads_btn {
    color: var(--easy-white);
}

/* --- 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: var(--easy-light-bg);
}

.index_fav_wrapper {
    width: 95%;
    margin: 0 auto;
}

/* --- Header Styles --- */
.index_fav_header {
    text-align: left;
}

.index_fav_header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--easy-dark);
    text-transform: uppercase;
    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: var(--easy-white);
    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: var(--easy-white); /* Or var(--easy-light-bg) depending on your page bg */
}

.index_interior_wrapper {
    max-width: 95%;
    margin: 0 auto;
}

/* --- Main Card --- */
.index_interior_card {
    background: var(--easy-white);
    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: var(--easy-white);
}

/* 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: var(--easy-text-gray);
    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: var(--easy-white);
    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: var(--easy-light-bg);
}

.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: 100%;
}

.index_fav_header h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--easy-white);
    text-transform: uppercase;
}

.index_fav_header p {
    font-size: 14px;
    color: var(--easy-text-gray);
    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: var(--easy-white);
    border: 1px solid var(--easy-light-bg);
    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: var(--easy-white);
    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: var(--easy-white);
    border: 1px solid var(--easy-light-bg);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    /* Desktop: 5 Cards */
    min-width: calc((100% - 60px) / 5); 
    max-width:25%;
    
    /* 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: var(--easy-light-bg);
    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 var(--easy-light-bg);
    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: var(--easy-white);
    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: var(--easy-white);
    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;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;      /* adjust if needed */
    max-height: 2.8em;       /* line-height × 2 */
}


.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: var(--easy-white); }
.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; 
    }
}



/*  */
/* ========================================================
   Features Section UI/UX & Animated Ledger Light
======================================================== */

.index_feature_section {
    padding: 60px 20px;
    background-color: #f4f6f9;
    font-family: system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

.index_feature_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base Card Styling */
.index_feature_box {
    position: relative;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    overflow: hidden; /* Contains the spinning light inside the border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Entry Animation */
    opacity: 0;
    transform: translateY(30px);
    animation: index_feature_fadeUp 0.6s forwards;
    
    /* Remove background here, it will be handled by ::after */
    background: transparent;
    z-index: 1;
}

/* THE LEDGER LIGHT (Spinning Background Gradient) */
.index_feature_box::before {
    content: '';
    position: absolute;
    width: 600px; /* Make it large enough to cover the card while rotating */
    height: 600px;
    top: 50%;
    left: 50%;
    /* Creates a tail of light using your primary blue color */
    background: conic-gradient(from 0deg, transparent 75%, #4F46E5 100%);
    transform-origin: center;
    animation: index_ledger_light 4s linear infinite;
    z-index: -2;
}

/* One-by-One Sync offset (Makes the lights chase each other across different cards) */
.index_feature_box:nth-child(1)::before { animation-delay: 0s; }
.index_feature_box:nth-child(2)::before { animation-delay: -1s; }
.index_feature_box:nth-child(3)::before { animation-delay: -2s; }
.index_feature_box:nth-child(4)::before { animation-delay: -3s; }

/* THE MASK (Inner Card Background to hide the middle of the gradient) */
.index_feature_box::after {
    content: '';
    position: absolute;
    inset: 3px; /* This determines the thickness of the light border */
    background: var(--defult_color_bg, #ffffff);
    border-radius: 14px; /* Slightly less than the parent to fit perfectly */
    z-index: -1;
}

/* Ensure inner content sits above the light and mask */
.index_feature_box > * {
    position: relative;
    z-index: 2;
}

/* Card Hover State */
.index_feature_box:hover {
    transform: translateY(-10px);
}

/* Speed up the ledger light on hover for an interactive feel */
.index_feature_box:hover::before {
    animation-duration: 1s; 
    background: conic-gradient(from 0deg, transparent 60%, #4F46E5 80%, #fbbf24 100%); /* Adds a golden pop on hover */
}

/* Icon Wrapper */
.index_feature_icon_wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.index_feature_box:hover .index_feature_icon_wrap {
    background: #4F46E5;
    transform: scale(1.1) rotate(5deg);
}

.index_feature_icon_wrap img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.index_feature_box:hover .index_feature_icon_wrap img {
    filter: brightness(0) invert(1); 
}

/* Typography */
.index_feature_title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2937;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.index_feature_desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Ledger Light Rotation Keyframe */
@keyframes index_ledger_light {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Entry Animation Keyframe */
@keyframes index_feature_fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================
   Mobile Responsiveness
======================================================== */
@media (max-width: 991px) {
    .index_feature_container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .index_feature_section { padding: 40px 15px; }
    .index_feature_container { grid-template-columns: 1fr; gap: 15px; }
    .index_feature_box { padding: 25px 15px; }
    .index_feature_icon_wrap { width: 65px; height: 65px; margin-bottom: 15px; }
    .index_feature_icon_wrap img { width: 32px; height: 32px; }
    .index_feature_title { font-size: 16px; }
    .index_feature_desc { font-size: 13px; }
}

.card_details_header {
  display: flex;
  align-items: center;
  background-color: var(--easy-light-bg);
  position: relative;
  border-bottom: 3px solid var(--easy-primary);
  margin-bottom: 20px;
  padding-left: 0;
  overflow: hidden;
  margin: 10px 0px;
}

/* Red label with angled cut */
.section_label {
  background-color: --easy-primary;
  color:var(--easy-white);
  padding: 10px 35px 10px 14px;
  font-weight: bold;
  font-size: 16px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  white-space: nowrap;
}

/* Main title and 'See All' */
.section_content {
  display: flex;
  justify-content: right;
  align-items: center;
  flex: 1;
  padding: 10px 20px;
}

.section_content h2 {
  font-size: 18px;
  margin: 0;
  color: #222;
}

.section_content a {
  font-size: 14px;
  color: var( --catagory_icon_color);
  text-decoration: none;
  font-weight: 500;
}

