/* Revised Professional Slider Styles */
/* .banner-homepage1 { */
/* padding: 10px 0 0px 0; */
/* Top padding, Right, Bottom, Left */
/* background: #fdfdfd; */
/* background: #a2228e21; */
/* } */

.container-banner {
    /* max-width: 1320px; */
    /* margin: 0 auto; */
    /* padding: 0 60px; */
    /* Provides space for external arrows */
    position: relative;
}

.slider-wrapper-relative {
    position: relative;
    width: 100%;
}

.box-swiper-banner {
    /* border-radius: 25px; */
    overflow: hidden;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06); */
    /* background: #fff; */
    max-height: calc(100vh - 240px);
}

.banner-img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 240px);
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.8s ease;
}

/* Arrows correctly positioned on the edges */
.swiper-button-next-banner,
.swiper-button-prev-banner {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 45px !important;
    height: 45px !important;
    /* background: #fff !important; */
    background: #e81ef533 !important;
    border-radius: 50% !important;
    color: #222 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.3s ease !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
    /* Remove default swiper margin */
}

.swiper-button-prev-banner {
    left: -50px !important;
    /* Moved even further out */
    right: auto !important;
}

.swiper-button-next-banner {
    right: -50px !important;
    /* Moved even further out */
    left: auto !important;
}

.swiper-button-next-banner i,
.swiper-button-prev-banner i {
    font-size: 18px;
    color: #a2228e;
    /* Brand color for visibility */
}

.swiper-button-next-banner:after,
.swiper-button-prev-banner:after {
    display: none !important;
    /* Remove default swiper font arrows */
}

.swiper-button-next-banner:hover,
.swiper-button-prev-banner:hover {
    background: #a2228e;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* Pagination Below the slider */
.swiper-pagination-banner {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination-banner .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    opacity: 1;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-banner .swiper-pagination-bullet-active {
    background: #a2228e;
    transform: scale(1.2);
}

@media (max-width: 1400px) {
    .container-banner {
        max-width: 100%;
        /* padding: 0 15px; */
        padding: 0;
    }

    .swiper-button-prev-banner {
        left: 10px !important;
    }

    .swiper-button-next-banner {
        right: 10px !important;
    }
}

@media (max-width: 992px) {
    .banner-homepage1 {
        padding: 0;
    }

    .container-banner {
        padding: 0;
    }

    .swiper-button-next-banner,
    .swiper-button-prev-banner {
        display: none !important;
    }

    /* Removed forced aspect-ratio to prevent cropping on mobile */

    .box-swiper-banner {
        border-radius: 0;
    }
}

/* ── Hot Collections Section ── */
.hc-section {
    padding: 48px 0 52px;
    background: linear-gradient(175deg, #fff 0%, #fdf5fc 100%);
}

/* Section header */
.hc-header {
    text-align: center;
    margin-bottom: 36px;
}

.hc-badge {
    display: inline-block;
    background: linear-gradient(135deg, #a2228e 0%, #d45cb5 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(162, 34, 142, 0.25);
}

.hc-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.5px;
    margin: 0 0 8px;
    line-height: 1.2;
}

.hc-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0;
    font-weight: 400;
}

/* Auto-fill responsive grid – no media queries needed for layout */
.hc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}

/* Each card */
.hc-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--hc-bg, #fce4f7);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1.5px solid color-mix(in srgb, var(--hc-accent, #a2228e) 18%, transparent);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.35s ease;
}

.hc-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Image area */
.hc-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.hc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
    display: block;
}

.hc-card:hover .hc-img {
    transform: scale(1.08);
}

.hc-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(0, 0, 0, 0.22) 100%
    );
    pointer-events: none;
}

/* Info row below image */
.hc-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 14px;
    gap: 8px;
}

.hc-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: capitalize;
    line-height: 1.3;
    flex: 1;
    word-break: break-word;
}

.hc-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--hc-accent, #a2228e);
    white-space: nowrap;
    transition: gap 0.3s ease;
}

.hc-cta i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.hc-card:hover .hc-cta i {
    transform: translateX(4px);
}

/* ── Responsive tweaks ── */
@media (max-width: 1200px) {
    .hc-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .hc-section {
        padding: 32px 0 36px;
    }

    .hc-title {
        font-size: 22px;
    }

    .hc-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .hc-info {
        padding: 10px 10px 12px;
    }

    .hc-name {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hc-card {
        border-radius: 14px;
    }

    .hc-cta {
        display: none;
    }

    .hc-name {
        font-size: 12px;
        text-align: center;
    }

    .hc-info {
        justify-content: center;
    }
}



/* Premium Banner Grid Styles */
.block-banner-grid-section {
    padding: 50px 0;
    background: #fff;
}

.premium-banner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(162, 34, 142, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(162, 34, 142, 0.03);
    background: #fff;
    height: 100%;
}

.premium-banner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(162, 34, 142, 0.15);
}

.premium-banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.premium-banner-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-banner-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-banner-card:hover .premium-banner-img {
    transform: scale(1.05);
}

.premium-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(162, 34, 142, 0.7) 0%, rgba(162, 34, 142, 0.2) 60%, transparent 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px 20px;
    pointer-events: none;
    z-index: 2;
}

.premium-banner-card:hover .premium-banner-overlay {
    opacity: 1;
}

.premium-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #a2228e;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.premium-banner-card:hover .premium-banner-btn {
    transform: translateY(0);
}

.premium-banner-btn:hover {
    background: #f3811e;
    color: #fff;
}

.premium-banner-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.premium-banner-btn:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments for Banners */
@media (max-width: 768px) {
    .block-banner-grid-section {
        padding: 30px 10px;
    }

    .premium-banner-card {
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(162, 34, 142, 0.05);
    }

    .premium-banner-overlay {
        opacity: 1;
        /* Always visible on mobile touch devices */
        background: linear-gradient(to top, rgba(162, 34, 142, 0.5) 0%, transparent 100%);
        padding: 15px 10px;
    }

    .premium-banner-btn {
        transform: translateY(0) !important;
        padding: 8px 18px;
        font-size: 11px;
    }
}