/* ==========================================================================
   HEADER MILANO STYLE (OVERRIDE & EXTEND)
   ========================================================================== */

/* --- 1. Reset Header Framework --- */
.site-header.header-milano-style {
    height: auto;
    /* Bỏ fix cứng chiều cao 80px cũ */
    background-color: transparent;
    border-bottom: none;
}

.site-header.header-milano-style .header-top {
    background-color: var(--color-white);
    padding: 15px 0;
}

.site-header.header-milano-style .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Chia bố cục 3 phần: Trái (25%) - Giữa (50%) - Phải (25%) để Menu luôn ở giữa */
.header-col.header-left {
    width: 25%;
    display: flex;
    align-items: center;
}

.header-col.header-center {
    width: 50%;
    display: flex;
    justify-content: center;
}

.header-col.header-right {
    width: 25%;
    display: flex;
    justify-content: flex-end;
}

/* --- 2. Menu Desktop Style --- */
.main-navigation ul.lume-menu {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation ul.lume-menu>li>a {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-medium);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    /* Khoảng cách chữ và mũi tên nếu có */
}

/* --- 3. Header Actions (Icon & Text) --- */
.header-actions-list {
    display: flex;
    align-items: center;
    gap: 25px;
    /* Khoảng cách giữa Account - Wishlist - Cart */
}

.header-action-item>a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-primary);
    text-decoration: none;
}

.header-action-item .material-icons {
    font-size: 30px;
    /* Tăng size icon cho giống ảnh */
    font-weight: 300;
}

/* Định dạng Text bên cạnh icon */
.action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.action-text span:first-child {
    font-size: 12px !important;
    color: var(--color-text-secondary) !important;
    font-weight: 400 !important;
}

.action-text span:last-child {
    font-size: 15px !important;
    color: var(--color-text-primary) !important;
    font-weight: var(--font-weight-bold) !important;
}

/* Badge số lượng (Wishlist, Cart) */
.header-action-item .count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background-color: #e6a524;
    /* Màu vàng gold giống ảnh */
    color: var(--color-white);
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--color-white);
    /* Viền trắng tách bóc khỏi icon */
}

/* --- 4. Bottom Bar & Search Form --- */
.header-bottom {
    background-color: var(--color-surface-primary);
    /* Sử dụng mã xanh lục #003b29 sẵn có của web */
    padding: 12px 0;
}

.header-bottom__inner {
    display: flex;
    justify-content: center;
}

#product-search-form {
    width: 100% !important;
    max-width: 750px !important;
    /* Độ rộng thanh search */
    height: 48px !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    /* Nền mờ cho ô nhập */
    border-radius: 25px !important;
    display: flex !important;
    overflow: hidden;
}

#product-search-keyword {
    flex: 1;
    background: transparent !important;
    border: none !important;
    padding: 0 25px !important;
    color: var(--color-white) !important;
    font-size: 14px;
    outline: none;
}

#product-search-keyword::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

#product-search-form button {
    background-color: #e6a524 !important;
    /* Nút search màu vàng gold */
    color: var(--color-white) !important;
    border: none !important;
    padding: 0 35px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition-fast);
}

#product-search-form button:hover {
    opacity: 0.9;
}

/* --- 5. Responsive (Mobile/Tablet) --- */
@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
        /* Ẩn menu và thanh search ở dưới trên mobile */
    }

    .header-col.header-left,
    .header-col.header-right {
        width: auto;
    }

    .header-actions-list {
        gap: 15px;
        /* Giảm khoảng cách icon trên mobile */
    }

    .header-action-item .material-icons {
        font-size: 26px;
        /* Thu nhỏ icon lại trên đt */
    }

    /* Hiển thị lại icon search mặc định gốc của bạn trên mobile nếu cần */
    .header-search.js-search-trigger {
        display: block !important;
    }
}

/* ==========================================================================
   HERO SLIDER MILANO STYLE
   ========================================================================== */

/* --- Slider Container --- */
.hero-slider-milano {
    border-radius: 20px;
    /* Bo góc to giống trong ảnh */
    overflow: hidden;
    background-color: var(--color-dark);
    /* Màu nền phòng khi ảnh chưa load */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-slider-milano .swiper-slide {
    position: relative;
    min-height: 600px;
    /* Chiều cao tối thiểu của slide */
    display: flex;
    align-items: center;
}

/* --- Background Image & Overlay --- */
.milano-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Phủ một lớp gradient đen mờ từ trái sang phải để chữ luôn nổi bật */
.milano-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 2;
}

/* --- Content & Text Box --- */
.milano-slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 8%;
    /* Thụt lề nội dung từ mép slider vào */
    display: flex;
    align-items: center;
}

.milano-text-box {
    max-width: 600px;
    text-align: left;
}

/* Subtitle (VD: HEADPHONES) */
.milano-subtitle {
    display: block;
    font-size: 14px;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: var(--font-weight-medium);
}

/* Main Title */
.milano-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--color-white);
    font-family: var(--font-family-title);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: 40px;
}

/* Button */
.btn-milano-white {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    padding: 16px 40px;
    border-radius: 30px;
    /* Nút bo tròn hình viên thuốc */
    text-transform: capitalize;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-milano-white:hover {
    background-color: var(--color-accent-hover);
    /* Đổi sang màu xanh khi hover nếu muốn, hoặc dùng màu đen */
    color: var(--color-white);
    transform: translateY(-3px);
}

/* --- Navigation Arrows (Mũi tên tròn đen mờ) --- */
.hero-slider-milano .milano-nav-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    color: var(--color-white);
    transition: background-color var(--transition-fast);
}

.hero-slider-milano .milano-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.hero-slider-milano .milano-nav-btn::after {
    font-size: 18px;
    /* Thu nhỏ icon mũi tên mặc định của swiper */
    font-weight: bold;
}

.hero-slider-milano .swiper-button-prev {
    left: 30px;
}

.hero-slider-milano .swiper-button-next {
    right: 30px;
}

/* --- Pagination Dots (Chấm tròn kiểu Milano: Active có viền ngoài) --- */
.hero-slider-milano .milano-pagination {
    bottom: 30px !important;
}

.hero-slider-milano .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--color-white);
    opacity: 0.5;
    margin: 0 6px !important;
    transition: all var(--transition-fast);
}

.hero-slider-milano .swiper-pagination-bullet-active {
    width: 14px;
    height: 14px;
    background-color: transparent;
    border: 1px solid var(--color-white);
    opacity: 1;
    position: relative;
    top: 3px;
    /* Căn chỉnh thẳng hàng với các chấm nhỏ */
}

/* Tạo chấm nhỏ bên trong cái viền của bullet đang active */
.hero-slider-milano .swiper-pagination-bullet-active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background-color: var(--color-white);
    border-radius: 50%;
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .hero-slider-milano .swiper-slide {
        min-height: 450px;
    }

    .milano-slide-content {
        padding: 0 5%;
        text-align: center;
        /* Căn giữa trên mobile */
        justify-content: center;
    }

    .milano-text-box {
        text-align: center;
    }

    .milano-slide-overlay {
        background: rgba(0, 0, 0, 0.4);
        /* Trên mobile phủ đen đều thay vì gradient ngang */
    }

    .hero-slider-milano .milano-nav-btn {
        display: none;
        /* Ẩn mũi tên trên mobile cho gọn, vuốt là chính */
    }
}

/* ==========================================================================
   MILANO CATEGORIES SECTION (KÍCH THƯỚC LỚN HƠN)
   ========================================================================== */

.milano-categories-section {
    padding: var(--spacing-xl) 0;
}

/* Lưới Flexbox dàn ngang các danh mục */
.milano-cat-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    /* Cân đối lại khoảng cách để vừa 8 hình to trên 1 hàng */
}

/* Từng cục danh mục */
.milano-cat-card {
    text-align: center;
    width: 170px;
    /* TĂNG LÊN 170px */
}

.milano-cat-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

/* Hiệu ứng Hover vào cả cục */
.milano-cat-link:hover .milano-cat-img-wrapper {
    transform: translateY(-8px);
    /* Trượt lên cao hơn một chút */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.milano-cat-link:hover .milano-cat-name {
    color: var(--color-accent-hover);
}

/* === VÒNG TRÒN CHỨA ẢNH === */
.milano-cat-img-wrapper {
    width: 170px;
    /* TĂNG LÊN 170px */
    height: 170px;
    /* TĂNG LÊN 170px */
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    /* Tăng khoảng cách với chữ */
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* Ảnh sản phẩm bên trong vòng tròn */
.milano-cat-img-wrapper img {
    width: 100%;
    /* Tăng từ 75% lên 100% để lấp đầy khung */
    height: 100%;
    /* Tăng từ 75% lên 100% để lấp đầy khung */
    object-fit: cover;
    /* Đổi thành 'cover' để ảnh tràn viền, che đi các khoảng trắng thừa */
    border-radius: 50%;
    /* Giúp bản thân tấm ảnh cũng được bo tròn khớp với khung bên ngoài */
    transition: transform var(--transition-smooth);
}

.milano-cat-link:hover .milano-cat-img-wrapper img {
    transform: scale(1.1);
    /* Phóng to ảnh nhiều hơn một xíu khi hover */
}

/* === TÊN DANH MỤC === */
.milano-cat-name {
    font-family: var(--font-family-primary);
    font-size: 16px;
    /* Tăng size chữ lên 16px */
    font-weight: 600;
    /* Làm chữ đậm hơn một chút cho hợp với hình to */
    color: var(--color-accent);
    margin: 0;
    transition: color var(--transition-fast);
}

/* ========================================= */
/*      RESPONSIVE CHO SECTION DANH MỤC      */
/* ========================================= */

@media (max-width: 1400px) {
    .milano-cat-grid {
        gap: 20px;
    }

    .milano-cat-card {
        width: 150px;
    }

    .milano-cat-img-wrapper {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 1200px) {
    .milano-cat-grid {
        gap: 15px;
    }

    .milano-cat-card {
        width: 130px;
    }

    .milano-cat-img-wrapper {
        width: 130px;
        height: 130px;
    }

    .milano-cat-name {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .milano-cat-card {
        width: 110px;
    }

    .milano-cat-img-wrapper {
        width: 110px;
        height: 110px;
    }

    .milano-cat-name {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .milano-cat-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 25px 15px;
    }

    .milano-cat-card {
        width: 100%;
    }

    .milano-cat-img-wrapper {
        width: 110px;
        /* Giữ vòng tròn tương đối to trên mobile */
        height: 110px;
        margin: 0 auto 12px auto;
    }
}

/* ==========================================================================
   MILANO FEATURES SECTION (KHÔNG VIỀN, CHỮ VÀNG)
   ========================================================================== */

.milano-features-section {
    padding: var(--spacing-xl) 0;
    background-color: transparent;
}

/* Dàn thành 4 cột đều nhau */
.milano-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Khối item - Đã bỏ khung viền nền trắng */
.milano-feature-item {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 10px;
    transition: transform var(--transition-fast);
}

.milano-feature-item:hover {
    transform: translateY(-5px);
    /* Hiệu ứng nhấc nhẹ lên khi hover */
}

/* --- Icon --- */
.milano-feature-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.milano-feature-icon .material-icons {
    font-size: 42px;
    /* Phóng to icon ra một chút cho cân với chữ */
    color: var(--color-text-primary);
    font-weight: 300;
}

/* --- Nội dung (Text) --- */
.milano-feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.milano-feature-title {
    font-family: var(--font-family-title);
    /* Dùng font title (Unbounded) để chữ vuông vức giống trong ảnh */
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 6px 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.milano-feature-desc {
    font-family: var(--font-family-primary);
    font-size: 14px;
    color: #ffb100;
    /* Màu chữ vàng cam giống y hệt ảnh */
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

/* ========================================= */
/*      RESPONSIVE CHO SECTION TÍNH NĂNG     */
/* ========================================= */

@media (max-width: 1200px) {
    .milano-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .milano-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .milano-feature-item {
        padding: 10px 15px;
    }
}

/* ==========================================================================
   MILANO PRODUCT SLIDER SECTION
   ========================================================================== */

.milano-product-slider-section {
    padding: var(--spacing-xl) 0;
    background-color: transparent;
}

/* --- Tiêu đề Section --- */
.milano-section-header {
    margin-bottom: 50px;
}

.milano-section-title {
    font-family: var(--font-family-title);
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
    margin: 0;
}

/* --- Thẻ Sản Phẩm (Card) --- */
.milano-product-card {
    text-align: center;
    background: transparent;
}

.milano-product-card:hover .primary-img {
    transform: scale(1.05);
}

/* --- Hình ảnh --- */
.milano-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Giữ khung ảnh vuông */
    background-color: var(--color-white);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.milano-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ảnh không bị cắt gọt */
    transition: transform var(--transition-smooth);
}

/* --- Badge Sale / Pre-order --- */
.milano-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    /* Đặt bên phải giống hình */
    background-color: #178e96;
    /* Màu xanh ngọc giống ảnh */
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

/* --- Thông tin sản phẩm --- */
.milano-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    /* Khoảng cách đều giữa Tên - Sao - Giá */
}

.milano-name {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* Cắt chữ nếu quá dài trên 1 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.milano-name a {
    color: #000;
}

.milano-name a:hover {
    color: var(--color-accent-hover);
}

/* --- Đánh giá (Stars) --- */
.milano-rating {
    display: flex;
    justify-content: center;
    height: 15px;
    /* Giữ khoảng trống kể cả khi không có đánh giá */
}

.milano-rating .star-rating {
    font-size: 12px;
    width: 5em;
    color: #ffa800;
    /* Màu vàng cam của ngôi sao */
}

/* --- Giá --- */
.milano-price {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

/* Cân chỉnh giá cũ / mới nếu đang sale */
.milano-price del {
    color: #999;
    font-weight: 400;
    margin-right: 6px;
}

.milano-price ins {
    text-decoration: none;
    color: #000;
}

/* ========================================= */
/*      SLIDER NAVIGATION ARROWS             */
/* ========================================= */

.milano-slider-prev,
.milano-slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    /* Căn giữa hoàn hảo */
    z-index: 10;
}

.milano-slider-prev::after,
.milano-slider-next::after {
    font-size: 16px;
    /* Kích thước icon mũi tên nhỏ lại */
    font-weight: bold;
}

/* Mũi tên Trái (Trắng, viền xám) */
.milano-slider-prev {
    left: -25px;
    background-color: var(--color-white);
    color: #333;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Mũi tên Phải (Đen, không viền) */
.milano-slider-next {
    right: -25px;
    background-color: #2b2b2b;
    /* Đen hơi xám giống hình */
    color: var(--color-white);
}

/* Hover effect */
.milano-slider-prev:hover {
    border-color: #ccc;
}

.milano-slider-next:hover {
    background-color: #000;
}

/* Responsive */
@media (max-width: 1400px) {

    /* Ép mũi tên lùi vào trong một chút trên màn hình nhỏ để không bị mất râu */
    .milano-slider-prev {
        left: 0px;
    }

    .milano-slider-next {
        right: 0px;
    }
}

@media (max-width: 768px) {
    .milano-section-title {
        font-size: 1.8rem;
    }

    .milano-slider-prev,
    .milano-slider-next {
        display: none;
        /* Mobile vuốt là chính, ẩn đi cho đỡ vướng */
    }
}

/* ==========================================================================
   MILANO OVERLAY CARD STYLE (BEST PRODUCTS)
   ========================================================================== */

.milano-best-products-section {
    padding: var(--spacing-xl) 0;
}

/* --- Khung thẻ chính --- */
.milano-overlay-card {
    position: relative;
    border-radius: 16px;
    /* Bo góc to giống hình */
    overflow: hidden;
    aspect-ratio: 3 / 4;
    /* Tỷ lệ khung hình chữ nhật đứng */
    background-color: #f0f0f0;
    /* Màu nền dự phòng */
    transition: transform var(--transition-fast);
}

/* Hiệu ứng hover nhẹ */
.milano-overlay-card:hover {
    transform: translateY(-5px);
}

.milano-card-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* --- Ảnh nền lớn (Background) --- */
.milano-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

/* Hover vào thì ảnh nền phóng to nhẹ */
.milano-overlay-card:hover .milano-bg-image {
    transform: scale(1.05);
}

/* --- Hộp kính mờ (Glass Box) --- */
.milano-glass-box {
    position: absolute;
    bottom: 15px;
    /* Cách đáy 15px */
    left: 15px;
    /* Cách trái 15px */
    right: 15px;
    /* Cách phải 15px */

    background: rgba(0, 0, 0, 0.6);
    /* Màu đen trong suốt 60% */
    backdrop-filter: blur(5px);
    /* Hiệu ứng làm mờ nền sau lưng (Glassmorphism) */
    -webkit-backdrop-filter: blur(5px);
    /* Cho Safari */

    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- Ảnh Thumbnail nhỏ (Trong hộp) --- */
.glass-thumb {
    width: 45px;
    height: 45px;
    background-color: var(--color-white);
    border-radius: 6px;
    padding: 2px;
    flex-shrink: 0;
    overflow: hidden;
}

.glass-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Đảm bảo thấy hết sản phẩm */
}

/* --- Thông tin chữ (Trong hộp) --- */
.glass-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.glass-title {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    /* Chữ màu trắng */
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Cắt chữ bằng dấu ... */
}

.glass-price {
    font-size: 13px;
    font-weight: 500;
    color: #ddd;
    /* Màu trắng hơi xám */
}

.glass-price ins {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 700;
}

.glass-price del {
    color: #aaa;
    font-size: 11px;
    margin-right: 5px;
}

/* ==========================================================================
   MILANO PROMO BANNERS (2 COLUMNS)
   ========================================================================== */

.milano-promo-section {
    padding: var(--spacing-xl) 0;
}

/* Lưới 2 cột */
.milano-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Chia đôi màn hình */
    gap: 30px;
    /* Khoảng cách giữa 2 banner */
}

/* --- Thẻ Card --- */
.milano-promo-card {
    position: relative;
    border-radius: 20px;
    /* Bo góc lớn giống hình */
    overflow: hidden;
    height: 500px;
    /* Chiều cao cố định cho banner */
    background-color: #f0f0f0;
    transition: transform var(--transition-smooth);
}

/* Hiệu ứng khi di chuột */
.milano-promo-card:hover .promo-bg img {
    transform: scale(1.05);
    /* Ảnh phóng to nhẹ */
}

.promo-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

/* --- Ảnh nền & Overlay --- */
.promo-bg {
    width: 100%;
    height: 100%;
    position: relative;
}

.promo-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Đảm bảo ảnh full khung không bị méo */
    transition: transform 0.6s ease;
}

/* Lớp phủ đen mờ (Gradient) để chữ trắng nổi bật */
.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
    z-index: 1;
}

/* --- Nội dung chữ --- */
.promo-content {
    position: absolute;
    top: 50%;
    left: 50px;
    /* Căn lề trái */
    transform: translateY(-50%);
    /* Căn giữa theo chiều dọc */
    z-index: 2;
    max-width: 80%;
}

.promo-subtitle {
    display: block;
    font-family: var(--font-family-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.promo-title {
    font-family: var(--font-family-title);
    /* Dùng font tiêu đề (Unbounded) */
    font-size: 2.8rem;
    /* Chữ to */
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin: 0 0 30px 0;
}

/* --- Nút bấm (Shop Now) --- */
.promo-btn {
    display: inline-block;
    background-color: var(--color-white);
    /* Nền trắng */
    color: var(--color-black);
    /* Chữ đen */
    font-size: 15px;
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 30px;
    /* Bo tròn viên thuốc */
    transition: all var(--transition-fast);
}

/* Hover vào nút */
.milano-promo-card:hover .promo-btn {
    background-color: var(--color-accent-hover);
    /* Đổi màu khi hover (tuỳ chọn) */
    color: var(--color-white);
}

/* ========================================= */
/*      RESPONSIVE (MOBILE)                  */
/* ========================================= */

@media (max-width: 992px) {
    .milano-promo-card {
        height: 400px;
        /* Giảm chiều cao trên tablet */
    }

    .promo-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .milano-promo-grid {
        grid-template-columns: 1fr;
        /* Xuống 1 cột trên điện thoại */
        gap: 20px;
    }

    .milano-promo-card {
        height: 350px;
    }

    .promo-content {
        left: 30px;
        /* Giảm lề trái trên mobile */
    }

    .promo-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .promo-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* Khoảng cách cho dấu chấm pagination */
.milano-best-product-slider {
    padding-bottom: 50px !important;
    /* Tạo khoảng trống đáy để chứa dấu chấm */
}

.milano-best-product-slider .swiper-pagination-bullet {
    background: #000;
    /* Màu chấm đen */
    opacity: 0.3;
}

.milano-best-product-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-accent-hover);
    /* Màu active (xanh/cam tùy theme) */
}

/* --- Vị trí nhóm nút Action (Góc phải trên) --- */
.milano-actions-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    /* Xếp dọc nút */
    gap: 10px;
    /* Khoảng cách giữa 2 nút */
    z-index: 10;

    /* Ẩn mặc định để hover mới hiện */
    opacity: 0;
    transform: translateX(20px);
    /* Dịch sang phải */
    transition: all 0.3s ease;
}

/* Hover vào card thì hiện nút */
.milano-overlay-card:hover .milano-actions-overlay {
    opacity: 1;
    transform: translateX(0);
}

/* --- Style cho từng nút --- */
.milano-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-text-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    text-decoration: none;
    /* Cho thẻ a */
}

.milano-action-btn:hover {
    background-color: var(--color-accent-hover);
    /* Màu xanh/cam chủ đạo */
    color: var(--color-white);
    transform: scale(1.1);
}

.milano-action-btn .material-icons {
    font-size: 20px;
}

/* --- Badge Sale cho style Overlay (Góc trái trên) --- */
.milano-badge-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #111;
    /* Màu đen sang trọng */
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
}

/* --- Fix link bao phủ --- */
.milano-glass-box-link {
    text-decoration: none;
    display: block;
}

/* --- Vị trí nhóm nút Action cho Section Grid (Góc PHẢI trên) --- */
.milano-actions-grid {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;

    /* Ẩn mặc định */
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.3s ease;
}

/* Hover vào ảnh thì hiện nút */
.milano-img-wrapper:hover .milano-actions-grid {
    opacity: 1;
    transform: translateX(0);
}

/* --- Badge Sale (Góc TRÁI trên) --- */
/* Đặt bên trái để không đè lên nút action bên phải */
.milano-badge-left {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #178e96;
    /* Màu xanh ngọc */
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
}

/* --- Style chung cho nút Action (Dùng lại style đã viết ở bước trước) --- */
.milano-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-text-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    text-decoration: none;
}

.milano-action-btn:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
    transform: scale(1.1);
}

.milano-action-btn .material-icons {
    font-size: 20px;
}