/* 
==========================================================================
   HEADER 2026 - THEME: UNICORN MAGIC (MIMOSA LAYOUT)
========================================================================== 
*/

/* Định nghĩa một vài biến màu phép thuật cho riêng Header */
:root {
    --unicorn-pink: #ffb6c1;
    --unicorn-blue: #a2d2ff;
    --unicorn-purple: #cdb4db;
    --unicorn-yellow: #fcf6bd;
    --unicorn-gradient: linear-gradient(135deg, var(--color-surface-secondary) 0%, var(--unicorn-purple) 50%, var(--unicorn-blue) 100%);
    --unicorn-glow: 0 8px 25px rgba(245, 152, 141, 0.4);
}

/* --- 1. Header Bồng Bềnh Như Mây --- */
.site-header.mimosa-layout {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 251, 246, 0.85);
    /* Trắng kem trong suốt */
    backdrop-filter: blur(15px);
    border: none;
    box-shadow: 0 10px 30px rgba(205, 180, 219, 0.15);
    /* Bóng đổ tím nhạt */
    position: relative;
}

/* Viền cầu vồng chạy ngang dưới Header */
.site-header.mimosa-layout::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--unicorn-pink), var(--unicorn-yellow), var(--unicorn-blue), var(--unicorn-purple), var(--unicorn-pink));
    background-size: 200% 200%;
    animation: rainbow-border 4s linear infinite;
}

@keyframes rainbow-border {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.mimosa-layout .flex-column-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mimosa-layout .header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--spacing-md) 0 var(--spacing-sm);
    min-height: 90px;
}

/* --- 2. Logo Bay Lượn (Floating Magic) --- */
.mimosa-layout .header-left-col,
.mimosa-layout .header-right-col {
    flex: 1;
    display: flex;
    align-items: center;
}

.mimosa-layout .header-left-col {
    justify-content: flex-start;
}

.mimosa-layout .header-right-col {
    justify-content: flex-end;
}

.mimosa-layout .header-center-col {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floating-logo 3s ease-in-out infinite;
    /* Hiệu ứng bay lượn */
}

@keyframes floating-logo {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Nếu dùng Text Logo thì cho màu chữ gradient */
.mimosa-layout .site-title-text {
    background: var(--unicorn-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 10px rgba(245, 152, 141, 0.3);
}

/* --- 3. Nút Chức Năng (Kẹo Ngọt & Nảy) --- */
.mimosa-layout .header-actions-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin: 0;
}

.mimosa-layout .header-action-item {
    margin: 0;
}

.mimosa-layout .icon-link,
.mimosa-layout .header-search a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: var(--color-surface-secondary);
    /* Màu hồng cá hồi */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Hiệu ứng nảy Bouncy */
    text-decoration: none;
    position: relative;
    border: 2px solid transparent;
}

.mimosa-layout .icon-link:hover,
.mimosa-layout .header-search a:hover {
    background: var(--unicorn-gradient);
    color: #fff;
    transform: translateY(-5px) scale(1.1) rotate(8deg);
    /* Nảy lên và nghiêng nhẹ */
    box-shadow: var(--unicorn-glow);
    border-color: #fff;
}

/* Huy hiệu số lượng Giỏ hàng (Bubble) */
.mimosa-layout .count-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--unicorn-yellow);
    color: var(--color-surface-primary);
    font-family: var(--font-family-title-small);
    /* Font kẹo ngọt */
    font-size: 13px;
    min-width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    animation: heartbeat 2s infinite;
    /* Hiệu ứng đập tim */
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* --- 4. Menu Desktop (Phép Thuật Cầu Vồng) --- */
.mimosa-layout .header-bottom-row {
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
}

.mimosa-layout .main-navigation ul {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 5px 20px;
    box-shadow: inset 0 0 10px rgba(205, 180, 219, 0.2);
}

.mimosa-layout .main-navigation ul li a {
    font-family: var(--font-family-title-small);
    /* DynaPuff - Font cực kỳ hợp Unicorn */
    font-size: 1.1rem;
    color: var(--color-surface-primary);
    padding: 10px 25px;
    border-radius: 30px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

.mimosa-layout .main-navigation ul li a::after {
    display: none;
}

/* Khi trỏ chuột: Biến thành viên kẹo cầu vồng */
.mimosa-layout .main-navigation ul li a:hover {
    background: var(--unicorn-gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--unicorn-glow);
    letter-spacing: 1px;
}

/* --- 5. Mobile / Nút Hamburger Trái Tim --- */
@media (min-width: 993px) {
    .desktop-only {
        display: block !important;
    }
}

@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .mimosa-layout .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--unicorn-pink);
        border: none;
        box-shadow: 0 4px 15px rgba(255, 182, 193, 0.5);
    }

    .mimosa-layout .mobile-nav-toggle:hover {
        background: var(--unicorn-gradient);
        transform: scale(1.1);
    }

    .mimosa-layout .hamburger-inner,
    .mimosa-layout .hamburger-inner::before,
    .mimosa-layout .hamburger-inner::after {
        background-color: #fff;
        /* Vạch trắng trên nền kẹo */
        height: 3px;
        border-radius: 5px;
    }
}

/* --- 6. Mobile Offcanvas (Cánh Cổng Thần Kỳ) --- */
.mobile-nav {
    background: #fffbf6 url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="3" fill="%23cdb4db" opacity="0.4"/></svg>') repeat;
    /* Background chấm bi mờ ảo */
    border-left: 8px solid var(--unicorn-pink);
}

.mobile-nav__header .mobile-logo-text {
    font-family: var(--font-family-title-small);
    color: var(--unicorn-pink);
    text-shadow: 2px 2px 0px var(--unicorn-yellow);
}

.mobile-nav__header button .material-icons {
    color: var(--unicorn-pink);
    background: #fff;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu li a {
    font-family: var(--font-family-title-small);
    font-size: 1.5rem;
    color: var(--color-surface-primary);
    border-bottom: 2px dashed var(--unicorn-pink);
    padding: 18px 0;
    transition: all 0.3s ease;
}

.mobile-menu li a:hover {
    color: var(--unicorn-purple);
    padding-left: 15px;
    text-shadow: 2px 2px 5px rgba(205, 180, 219, 0.4);
}

.mobile-nav__actions {
    background: linear-gradient(to right, #fff, var(--unicorn-yellow));
    border-radius: 20px;
    padding: 20px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.mobile-actions-list .header-action-item a {
    font-family: var(--font-family-title-small);
    color: var(--color-surface-secondary);
}


/* 
==========================================================================
   ANNOUNCEMENT BAR - UNICORN MAGIC
========================================================================== 
*/

.announcement-bar {
    /* Nền cầu vồng pastel chuyển động mượt mà */
    background: linear-gradient(45deg,
            var(--unicorn-pink),
            var(--unicorn-purple),
            var(--unicorn-blue),
            var(--unicorn-yellow),
            var(--unicorn-pink));
    background-size: 300% 300%;
    animation: unicorn-bar-gradient 5s ease infinite;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
    z-index: 1001;
    /* Đảm bảo nằm trên cùng */
    box-shadow: 0 2px 15px rgba(205, 180, 219, 0.4);
    /* Bóng tím mộng mơ */
}

/* Hiệu ứng chuyển màu nền liên tục */
@keyframes unicorn-bar-gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.announcement-bar__text {
    font-family: var(--font-family-title-small);
    /* Font DynaPuff kẹo ngọt */
    font-size: 15px;
    /* Size vừa đủ đọc */
    color: #ffffff;
    /* Chữ trắng nổi bật trên nền gradient */
    letter-spacing: 1.5px;
    margin: 0;
    /* Ghi đè margin mặc định của thẻ p */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Khoảng cách giữa chữ và icon lấp lánh */

    /* Chữ phát sáng nhẹ */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1), 0 0 8px rgba(255, 255, 255, 0.8);

    /* Hiệu ứng phóng to thu nhỏ nhẹ nhàng như đang thở */
    animation: text-magic-pulse 2s infinite alternate ease-in-out;
}

/* Tự động chèn icon ngôi sao lấp lánh 2 bên dòng chữ */
.announcement-bar__text::before,
.announcement-bar__text::after {
    content: '✨';
    font-size: 1.2rem;
    animation: twinkle-star 1.5s infinite alternate;
}

/* Cho ngôi sao bên phải nhấp nháy lệch nhịp với bên trái */
.announcement-bar__text::after {
    animation-delay: 0.5s;
}

/* Animation nhấp nháy của ngôi sao */
@keyframes twinkle-star {
    0% {
        opacity: 0.4;
        transform: scale(0.8) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: scale(1.3) rotate(15deg);
        filter: drop-shadow(0 0 5px #fff);
    }
}

/* Animation thở của dòng text */
@keyframes text-magic-pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.03);
    }
}

/* --- Responsive cho Mobile --- */
@media (max-width: 576px) {
    .announcement-bar {
        padding: 8px 0;
    }

    .announcement-bar__text {
        font-size: 12px;
        /* Thu nhỏ text trên mobile */
        letter-spacing: 1px;
    }

    .announcement-bar__text::before,
    .announcement-bar__text::after {
        font-size: 1rem;
        /* Thu nhỏ ngôi sao */
    }
}

/* 
==========================================================================
   HERO SLIDER - UNICORN MAGIC (MIMOSA SLIDER)
========================================================================== 
*/

.hero-slider-section {
    background-color: var(--color-background);
    /* Nền kem nhẹ */
    position: relative;
    overflow: hidden;
}

/* Ánh sáng kỳ lân hắt từ góc */
.hero-slider-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(205, 180, 219, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* --- 1. Layout Flexbox chia 2 cột --- */
.mimosa-slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    /* Độ cao banner */
    padding-left: calc(var(--container-padding-x) + 5vw);
    /* Thụt lề trái tương thích Desktop */
    padding-right: 2vw;
    position: relative;
    z-index: 1;
}

/* --- 2. Cột trái: Nội dung Text --- */
.mimosa-slide-content {
    flex: 0 0 45%;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

/* Subtitle (Ví dụ: Men's) */
.mimosa-subtitle {
    font-family: var(--font-family-title-small);
    color: var(--unicorn-pink);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-md);
    display: inline-block;
    background: rgba(255, 182, 193, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Title (Tiêu đề lớn có bóng 3D Kẹo ngọt) */
.mimosa-title {
    font-family: var(--font-family-title);
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    /* Tự scale theo màn hình */
    line-height: 1.1;
    color: var(--color-surface-primary);
    margin-bottom: var(--spacing-lg);
    /* Bóng đổ 3D nhiều lớp */
    text-shadow:
        3px 3px 0px #fff,
        5px 5px 0px var(--unicorn-yellow),
        8px 8px 0px var(--unicorn-pink);
}

/* Đoạn mô tả */
.mimosa-desc-text {
    font-family: var(--font-family-primary);
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-xxl);
    max-width: 80%;
}

/* --- 3. Nút bấm (Call To Action) --- */
.mimosa-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-title-small);
    font-size: 1.2rem;
    padding: 18px 45px;
    border-radius: 50px;
    background: transparent;
    color: var(--unicorn-purple);
    border: 3px solid var(--unicorn-purple);
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bouncy */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Nền chuyển màu phép thuật khi hover */
.mimosa-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--unicorn-gradient);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-in-out;
}

.mimosa-btn-outline:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--unicorn-glow);
    letter-spacing: 1px;
}

.mimosa-btn-outline:hover::before {
    transform: scaleX(1);
}

/* --- 4. Cột phải: Hình ảnh lơ lửng & Đám mây phép thuật --- */
.mimosa-slide-image {
    flex: 0 0 55%;
    display: flex;
    justify-content: flex-end;
    /* Ép sát phải */
    position: relative;
    z-index: 1;
}

.mimosa-main-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 80vh;
    /* Khống chế độ cao ảnh */
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
    /* Animation lơ lửng */
    animation: magic-float 5s ease-in-out infinite;
}

/* Khối Blob (đám mây) đổi màu & hình dạng phía sau ảnh */
.mimosa-slide-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 80%;
    background: var(--unicorn-gradient);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(25px);
    opacity: 0.6;
    z-index: 1;
    /* Hiệu ứng biến hình */
    animation: blob-morph 8s linear infinite alternate;
}

@keyframes magic-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes blob-morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    100% {
        border-radius: 30% 70% 40% 60% / 50% 40% 70% 40%;
    }
}

/* --- 5. Navigation & Pagination (Mũi tên & Dấu chấm) --- */
.mimosa-swiper .mimosa-button-next,
.mimosa-swiper .mimosa-button-prev {
    background: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: var(--unicorn-pink);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mimosa-swiper .mimosa-button-next:after,
.mimosa-swiper .mimosa-button-prev:after {
    font-size: 22px;
    font-weight: bold;
}

.mimosa-swiper .mimosa-button-next:hover,
.mimosa-swiper .mimosa-button-prev:hover {
    background: var(--unicorn-gradient);
    color: #fff;
    transform: scale(1.15);
}

/* Chấm điểm trượt biến dạng viên thuốc */
.mimosa-swiper .mimosa-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--unicorn-purple);
    opacity: 0.4;
    transition: all 0.4s ease;
}

.mimosa-swiper .mimosa-pagination .swiper-pagination-bullet-active {
    width: 35px;
    /* Giãn dài ra khi active */
    border-radius: 10px;
    background: var(--unicorn-pink);
    opacity: 1;
    box-shadow: 0 0 10px var(--unicorn-pink);
}

/* --- 6. Swiper Animation Từng Dòng (Staggered Entrance) --- */
/* Trạng thái ẩn ban đầu */
.mimosa-subtitle,
.mimosa-title,
.mimosa-desc-text,
.mimosa-btn-wrap {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Khi Slide xuất hiện (Active), text bay lên lần lượt */
.swiper-slide-active .mimosa-subtitle {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .mimosa-title {
    transition-delay: 0.25s;
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .mimosa-desc-text {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .mimosa-btn-wrap {
    transition-delay: 0.55s;
    opacity: 1;
    transform: translateY(0);
}


/* --- 7. Responsive Mobile & Tablet --- */
@media (max-width: 992px) {
    .mimosa-slide-inner {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-xxl) var(--spacing-md);
        min-height: auto;
    }

    .mimosa-slide-content {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: var(--spacing-xxl);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mimosa-desc-text {
        max-width: 100%;
    }

    .mimosa-slide-image {
        flex: 0 0 100%;
        width: 100%;
        justify-content: center;
    }

    .mimosa-slide-image::after {
        width: 100%;
        height: 100%;
    }
}

/* 
==========================================================================
   BESTSELLING SECTION - UNICORN MAGIC TABS & PRODUCT CARDS
========================================================================== 
*/

.mimosa-bestselling-section {
    padding: var(--spacing-xxl) 0;
    /* Ánh sáng phép thuật từ 2 góc */
    background: radial-gradient(circle at top right, rgba(255, 182, 193, 0.15), transparent 50%),
        radial-gradient(circle at bottom left, rgba(162, 210, 255, 0.15), transparent 50%);
    position: relative;
}

/* --- 1. HEADER & TITTLE --- */
.mimosa-section-header {
    margin-bottom: var(--spacing-xl);
}

.mimosa-heading {
    font-family: var(--font-family-title);
    /* SourGummy */
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-surface-primary);
    /* Xanh đậm */
    /* Bóng đổ 3D chồng lớp kẹo */
    text-shadow:
        2px 2px 0px #fff,
        4px 4px 0px var(--unicorn-pink),
        6px 6px 0px var(--unicorn-purple);
    margin-bottom: var(--spacing-sm);
    animation: floating-logo 4s ease-in-out infinite;
    /* Dùng lại keyframe lơ lửng */
}

.mimosa-subheading {
    font-family: var(--font-family-primary);
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.6;
}

/* --- 2. TABS KẸO DẺO (PILL TABS) --- */
.mimosa-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: var(--spacing-xl);
}

.mimosa-tab-btn {
    font-family: var(--font-family-title-small);
    /* DynaPuff */
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 50px;
    background: #fff;
    color: var(--color-surface-primary);
    box-shadow: 0 4px 15px rgba(205, 180, 219, 0.25);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Hiệu ứng Bouncy */
    text-decoration: none;
    border: 2px solid transparent;
}

.mimosa-tab-btn:hover,
.mimosa-tab-btn.active {
    background: var(--unicorn-gradient);
    color: #fff;
    transform: translateY(-6px);
    box-shadow: var(--unicorn-glow);
    border-color: #fff;
    letter-spacing: 1px;
}

/* --- 3. HIỆU ỨNG CHUYỂN TAB MƯỢT (CLOUDY FADE) --- */
.mimosa-product-group {
    display: none;
    /* Ẩn các tab không active */
    animation: cloud-fade-in 0.6s ease-out forwards;
}

.mimosa-product-group.active {
    display: block;
    /* Hiện tab đang active */
}

@keyframes cloud-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* --- 4. THẺ SẢN PHẨM (UNICORN CARD) --- */
.mimosa-product-card {
    background: #fff;
    border-radius: 24px;
    /* Bo góc cực tròn */
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.mimosa-product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(205, 180, 219, 0.3);
    border-color: rgba(255, 182, 193, 0.4);
    /* Viền hồng pastel khi hover */
}

/* --- Hình Ảnh Sản Phẩm --- */
.mimosa-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 251, 246, 0.8);
    /* Nền nhẹ lót sau ảnh */
    aspect-ratio: 1/1;
    /* Luôn vuông */
}

.mimosa-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover ảnh phóng to và nghiêng múa */
.mimosa-product-card:hover .mimosa-img-wrapper img {
    transform: scale(1.1) rotate(3deg);
}

/* --- Bong Bóng Sale (Badge Circle) --- */
.mimosa-badge-sale-circle {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--unicorn-pink);
    color: #fff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-family-title-small);
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.6);
    z-index: 3;
    animation: pulse-badge 2.5s infinite;
    /* Nhịp thở đập đập */
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1) rotate(-10deg);
    }

    50% {
        transform: scale(1.15) rotate(5deg);
    }
}

/* --- Floating Icons (Quick View) --- */
.mimosa-floating-icons {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

.mimosa-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    color: var(--unicorn-purple);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translateX(20px) rotate(90deg);
    /* Ẩn & xoay lệch bên phải */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mimosa-product-card:hover .mimosa-icon-btn {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
    /* Bay vào và xoay thẳng */
}

.mimosa-icon-btn:hover {
    background: var(--unicorn-gradient);
    color: #fff;
    transform: scale(1.15);
}

/* --- Slide-Up Add To Cart --- */
.mimosa-atc-wrap {
    position: absolute;
    bottom: -60px;
    /* Bị giấu xuống dưới */
    left: 0;
    width: 100%;
    padding: 0 15px 15px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3;
}

.mimosa-product-card:hover .mimosa-atc-wrap {
    bottom: 0;
    /* Kéo trượt lên khi hover */
}

.mimosa-atc-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: var(--unicorn-purple);
    font-family: var(--font-family-title-small);
    font-size: 1.1rem;
    padding: 12px 0;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mimosa-atc-btn:hover {
    background: var(--unicorn-gradient);
    color: #fff;
}

/* --- 5. KHU VỰC TEXT THÔNG TIN SẢN PHẨM --- */
.mimosa-info {
    padding: 20px 5px 5px;
}

.mimosa-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* Category Badge Nhỏ */
.mimosa-category-name {
    font-family: var(--font-family-title-small);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--unicorn-yellow);
    color: var(--color-surface-primary);
    padding: 4px 12px;
    border-radius: 12px;
}

/* Sao Đánh Giá */
.mimosa-rating .star-rating {
    font-size: 13px;
    color: var(--unicorn-pink);
    /* Sửa màu sao mặc định của Woo thành màu hồng */
}

/* Tên Sản Phẩm */
.mimosa-name {
    font-family: var(--font-family-title-small);
    /* Kẹo ngọt */
    font-size: 1.25rem;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mimosa-name a {
    color: var(--color-surface-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mimosa-name a:hover {
    color: var(--unicorn-purple);
    /* Khi hover tên SP đổi tím */
}

/* Giá Sản Phẩm */
.mimosa-price {
    font-family: var(--font-family-title);
    /* Chữ cứng cáp hơn chút cho giá tiền */
    font-size: 1.35rem;
    color: var(--unicorn-pink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mimosa-price del {
    color: #c4c4c4;
    font-size: 0.95rem;
    font-family: var(--font-family-primary);
}

.mimosa-price ins {
    text-decoration: none;
    color: var(--unicorn-pink);
}

/* --- 6. Swiper Control - Nếu bạn có bật phân trang/mũi tên --- */
.mimosa-products-swiper {
    padding-bottom: 40px;
    /* Trừa chỗ cho shadow hover và atc button không bị cắt */
    padding-top: 15px;
    /* Để box-shadow trên cùng không bị cắt */
}

/* 
==========================================================================
   SHOP BY CATEGORY - UNICORN MAGIC BUBBLES
========================================================================== 
*/

.mimosa-category-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    /* Phủ một lớp sương mù gradient nhạt phía sau */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(205, 180, 219, 0.08) 100%);
}

.mimosa-cat-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 30px;
    /* Trừa khoảng trống cho bong bóng nảy lên */
}

/* --- Thẻ Danh Mục Chứa Bong Bóng --- */
.mimosa-cat-card {
    display: block;
    text-decoration: none;
    position: relative;
    text-align: center;
}

/* Icon ngôi sao lấp lánh giấu trên đỉnh (Sẽ bắn ra khi Hover) */
.mimosa-cat-card::after {
    content: '✨';
    position: absolute;
    top: -15px;
    right: 10%;
    font-size: 2.5rem;
    opacity: 0;
    transform: scale(0) rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 10;
}

/* --- Vỏ Bong Bóng (Bubbles) Đựng Sản Phẩm --- */
.mimosa-cat-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Hình vuông ép bo góc thành hình cầu */
    border-radius: 50%;
    /* Gradient tỏa tròn tạo hiệu ứng mặt cầu 3D */
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #fdf0f5 70%);
    box-shadow:
        inset -10px -10px 20px rgba(205, 180, 219, 0.15),
        /* Bóng đổ lõm */
        0 15px 30px rgba(0, 0, 0, 0.04);
    /* Bóng rớt xuống sàn */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    margin: 0 auto;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 5px solid #fff;
    /* Viền trắng dày tạo khối */
}

/* Vầng sáng phép thuật tàng hình phía sau bong bóng */
.mimosa-cat-img-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--unicorn-gradient);
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.5s ease;
}

/* --- Ảnh Sản Phẩm Nằm Trong Bong Bóng --- */
.mimosa-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.1));
    /* Đổ bóng xé rời ảnh khỏi nền */
    border-radius: 100%;
}

/* --- Bảng Tên Danh Mục Bên Dưới --- */
.mimosa-cat-info {
    margin-top: 25px;
}

.mimosa-cat-name {
    font-family: var(--font-family-title-small);
    /* Kẹo ngọt DynaPuff */
    font-size: 1.35rem;
    color: var(--color-surface-primary);
    /* Xanh đậm */
    display: inline-block;
    padding: 10px 35px;
    border-radius: 30px;
    /* Bo hình viên thuốc */
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: 0;
}

/* --- HIỆU ỨNG KHI RÊ CHUỘT (UNICORN HOVER) --- */
.mimosa-cat-card:hover .mimosa-cat-img-wrapper {
    transform: translateY(-20px);
    /* Bong bóng nảy tung lên không trung */
    border-color: transparent;
    /* Xóa viền trắng để lộ hào quang */
}

.mimosa-cat-card:hover .mimosa-cat-img-wrapper::before {
    opacity: 0.8;
    /* Bật hào quang mờ đa sắc sau lưng bong bóng */
}

.mimosa-cat-card:hover .mimosa-cat-img {
    transform: scale(1.2) rotate(8deg);
    /* Sản phẩm bên trong phóng bự & lắc qua phải */
}

.mimosa-cat-card:hover .mimosa-cat-name {
    background: var(--unicorn-gradient);
    color: #fff;
    transform: scale(1.1) translateY(-8px);
    /* Bảng tên nảy lên hút theo bong bóng */
    box-shadow: var(--unicorn-glow);
    letter-spacing: 1px;
}

.mimosa-cat-card:hover::after {
    opacity: 1;
    transform: scale(1.2) rotate(15deg) translateY(-20px);
    /* Bắn ra sao lấp lánh cao lên */
}

/* --- Responsive (Mobile & Tablet) --- */
@media (max-width: 1200px) {
    .mimosa-cat-grid-4 {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .mimosa-cat-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .mimosa-cat-img-wrapper {
        width: 85%;
    }
}

@media (max-width: 576px) {
    .mimosa-cat-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .mimosa-cat-img-wrapper {
        width: 100%;
        padding: 15px;
    }

    .mimosa-cat-name {
        font-size: 1.1rem;
        padding: 8px 20px;
    }
}

/* 
==========================================================================
   SERVICE FEATURES - UNICORN PILL CARDS
========================================================================== 
*/

.milano-features-section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    z-index: 2;
}

/* Lưới hiển thị 4 cột */
.milano-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* --- Khối Kẹo Dẻo (Feature Item) --- */
.milano-feature-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 15px 25px 15px 15px;
    /* Trái ít hơn vì có icon tròn cản lại */
    border-radius: 50px;
    /* Bo tròn tuyệt đối thành hình viên kẹo dẻo (pill) */
    box-shadow: 0 10px 25px rgba(205, 180, 219, 0.15);
    /* Bóng mây mờ tím */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Bouncy */
    position: relative;
    border: 2px solid transparent;
    cursor: default;
}

/* Hiệu ứng lấp lánh phía sau mỗi viên kẹo */
.milano-feature-item::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50px;
    background: var(--unicorn-gradient);
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.5s ease;
}

/* --- Hình Tròn Chứa Icon --- */
.milano-feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background: var(--unicorn-gradient);
    /* Màu nền cầu vồng */
    box-shadow: inset -3px -3px 8px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(255, 182, 193, 0.4);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.milano-feature-icon .material-icons {
    font-size: 28px;
    color: #ffffff;
    /* Icon trắng nổi trên nền gradient */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Tạo màu sắc phép thuật xen kẽ cho từng hộp kẹo (Tùy chọn thêm để lung linh hơn) */
.milano-feature-item:nth-child(1) .milano-feature-icon {
    background: var(--unicorn-pink);
}

.milano-feature-item:nth-child(2) .milano-feature-icon {
    background: var(--unicorn-purple);
}

.milano-feature-item:nth-child(3) .milano-feature-icon {
    background: var(--unicorn-blue);
}

.milano-feature-item:nth-child(4) .milano-feature-icon {
    background: var(--unicorn-yellow);
}

/* --- Nội Dung Text Bên Phải --- */
.milano-feature-content {
    flex: 1;
}

.milano-feature-title {
    font-family: var(--font-family-title-small);
    /* Kẹo ngọt DynaPuff */
    font-size: 1.15rem;
    color: var(--color-surface-primary);
    /* Xanh đậm */
    margin: 0 0 4px 0;
    transition: color 0.3s ease;
}

.milano-feature-desc {
    font-family: var(--font-family-primary);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.3;
}

/* --- HIỆU ỨNG RÊ CHUỘT (MAGIC HOVER) --- */
.milano-feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    /* Kẹo bật nảy to lên 1 chút */
    box-shadow: 0 15px 35px rgba(205, 180, 219, 0.3);
}

.milano-feature-item:hover::before {
    opacity: 0.6;
    /* Hào quang cầu vồng phát sáng */
}

.milano-feature-item:hover .milano-feature-icon {
    /* Đổi hết sang Gradient khi hover */
    background: var(--unicorn-gradient);
    transform: scale(1.1) rotate(5deg);
}

.milano-feature-item:hover .material-icons {
    transform: scale(1.2) rotate(-15deg);
    /* Icon xoay ngược chiều cái hộp tròn */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.milano-feature-item:hover .milano-feature-title {
    color: var(--unicorn-purple);
}

/* --- Responsive (Mobile & Tablet) --- */
@media (max-width: 1200px) {
    .milano-features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cột trên Tablet ngang */
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .milano-features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Giữ 2 cột trên Tablet dọc */
        gap: 20px;
    }

    .milano-feature-item {
        flex-direction: column;
        /* Đổi icon lên trên, text ở dưới */
        text-align: center;
        padding: 25px 20px;
        border-radius: 30px;
        /* Bớt tròn lại chút do bố cục dọc */
    }

    .milano-feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .milano-features-grid {
        grid-template-columns: 1fr;
        /* 1 cột trên Mobile nhỏ */
    }

    .milano-feature-item {
        flex-direction: row;
        /* Trả về icon trái text phải cho gọn */
        text-align: left;
        padding: 15px;
        border-radius: 40px;
    }

    .milano-feature-icon {
        margin-right: 15px;
        margin-bottom: 0;
        width: 50px;
        height: 50px;
    }

    .milano-feature-title {
        font-size: 1.05rem;
    }

    .milano-feature-desc {
        font-size: 0.85rem;
    }
}

/* 
==========================================================================
   LATEST ARRIVALS - UNICORN DREAMY TOY BOX
========================================================================== 
*/

.mimosa-latest-arrivals-section {
    padding: var(--spacing-xxl) 0;
    background: radial-gradient(circle at 50% 50%, rgba(162, 210, 255, 0.1), transparent);
    overflow: visible;
    /* Để hiệu ứng hover không bị cắt */
}

/* 1. Header Section - Sử dụng lại phong cách 3D từ các phần trước */
.mimosa-latest-arrivals-section .mimosa-heading {
    font-family: var(--font-family-title);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-surface-primary);
    text-shadow: 2px 2px 0px #fff, 4px 4px 0px var(--unicorn-pink);
    margin-bottom: 10px;
}

/* 2. Swiper Container Tinh Chỉnh */
.mimosa-products-swiper {
    padding: 20px 10px 60px 10px;
    /* Trừa chỗ cho shadow và button trượt lên */
}

/* 3. Thẻ Sản Phẩm (Toy Box Card) */
.mimosa-latest-arrivals-section .mimosa-product-card {
    background: #ffffff;
    border-radius: 25px;
    /* Bo góc tròn trịa kẹo ngọt */
    padding: 12px;
    box-shadow: 0 8px 20px rgba(205, 180, 219, 0.1);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mimosa-latest-arrivals-section .mimosa-product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(205, 180, 219, 0.3);
    border-color: var(--unicorn-blue);
}

/* 4. Khung Ảnh & Nền Xám Nhạt */
.mimosa-latest-arrivals-section .mimosa-img-wrapper {
    position: relative;
    background-color: #f8f9fa;
    /* Nền xám nhạt như yêu cầu */
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mimosa-latest-arrivals-section .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mimosa-latest-arrivals-section .mimosa-product-card:hover .product-img {
    transform: scale(1.1) rotate(-2deg);
}

/* 5. Badge Sale - Hình Ngôi Sao Lấp Lánh */
.mimosa-badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--unicorn-gradient);
    color: #fff;
    font-family: var(--font-family-title-small);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 12px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 182, 193, 0.5);
    animation: magic-pulse 2s infinite;
}

@keyframes magic-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 182, 193, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 182, 193, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 182, 193, 0);
    }
}

/* 6. Quick View Icon */
.mimosa-latest-arrivals-section .mimosa-floating-icons {
    position: absolute;
    top: 10px;
    right: -50px;
    /* Giấu sang phải */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mimosa-latest-arrivals-section .mimosa-product-card:hover .mimosa-floating-icons {
    right: 10px;
}

.mimosa-latest-arrivals-section .mimosa-icon-btn {
    background: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--unicorn-purple);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mimosa-latest-arrivals-section .mimosa-icon-btn:hover {
    background: var(--unicorn-purple);
    color: #fff;
    transform: rotate(360deg);
}

/* 7. Add to Cart Slide Up */
.mimosa-atc-wrap {
    position: absolute;
    bottom: -60px;
    /* Giấu bên dưới */
    left: 0;
    width: 100%;
    padding: 10px;
    transition: all 0.4s ease;
}

.mimosa-latest-arrivals-section .mimosa-product-card:hover .mimosa-atc-wrap {
    bottom: 0;
}

.mimosa-atc-btn {
    display: block;
    width: 100%;
    background: var(--color-surface-primary);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-radius: 15px;
    font-family: var(--font-family-title-small);
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mimosa-atc-btn:hover {
    background: var(--unicorn-gradient);
    transform: scale(1.05);
}

/* 8. Thông tin sản phẩm (Căn trái) */
.mimosa-latest-arrivals-section .mimosa-info {
    padding: 15px 5px 5px;
}

.mimosa-latest-arrivals-section .mimosa-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mimosa-category-name {
    font-family: var(--font-family-primary);
    font-size: 12px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Rating Star Màu Cam/Vàng Unicorn */
.mimosa-rating .star-rating {
    font-size: 12px;
    width: 70px;
    color: #FFD700;
    /* Màu vàng Gold lấp lánh */
}

.mimosa-name {
    font-family: var(--font-family-title-small);
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.mimosa-name a {
    color: var(--color-surface-primary);
    text-decoration: none;
}

.mimosa-name a:hover {
    color: var(--unicorn-pink);
}

/* Giá Sản Phẩm */
.mimosa-price {
    font-family: var(--font-family-title);
    font-size: 1.2rem;
    color: var(--color-accent-hover);
    font-weight: bold;
}

.mimosa-price del {
    font-size: 0.9rem;
    color: #aaa;
    margin-right: 5px;
}

.mimosa-price ins {
    text-decoration: none;
}

/* 9. Swiper Dots */
.mimosa-latest-arrivals-section .swiper-pagination-bullet-active {
    background: var(--unicorn-gradient) !important;
    width: 25px !important;
    border-radius: 10px !important;
}

/* 10. Responsive cho 5 cột */
@media (max-width: 1200px) {
    .mimosa-latest-arrivals-section .mimosa-product-card {
        padding: 10px;
    }

    .mimosa-name {
        font-size: 1rem;
    }
}

/* 
==========================================================================
   LATEST BLOG POSTS - UNICORN MAGICAL JOURNALS
========================================================================== 
*/

.mimosa-blog-section {
    padding: var(--spacing-xxl) 0;
    /* Hiệu ứng nền mây mờ ảo */
    background: radial-gradient(ellipse at bottom, rgba(205, 180, 219, 0.1) 0%, transparent 70%);
}

.mimosa-blog-swiper {
    padding: 20px 10px 60px 10px;
}

/* --- 1. THẺ BÀI VIẾT (MAGICAL CARD) --- */
.mimosa-blog-card {
    background: #ffffff;
    border-radius: 30px;
    /* Bo góc cực đại cho giống cuốn sổ tay kẹo ngọt */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    height: 100%;
}

.mimosa-blog-card:hover {
    transform: translateY(-15px) rotate(1deg);
    /* Nghiêng nhẹ như đang lật trang */
    box-shadow: 0 20px 40px rgba(205, 180, 219, 0.3);
    border-color: var(--unicorn-pink);
}

/* --- 2. BOX ẢNH & Ô NGÀY THÁNG --- */
.mimosa-blog-img-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.mimosa-blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.mimosa-blog-card:hover .mimosa-blog-img-box img {
    transform: scale(1.15);
    /* Phóng đại ảnh */
}

/* Candy Date Badge (Ô ngày tháng kẹo ngọt) */
.mimosa-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--unicorn-gradient);
    width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    /* Bo góc kiểu viên kẹo */
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.5);
    z-index: 2;
    border: 2px solid #fff;
    transition: all 0.4s ease;
}

.mimosa-date-badge .date-month {
    font-family: var(--font-family-primary);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 2px;
}

.mimosa-date-badge .date-day {
    font-family: var(--font-family-title-small);
    /* DynaPuff */
    font-size: 22px;
    line-height: 1;
}

.mimosa-blog-card:hover .mimosa-date-badge {
    transform: scale(1.2) rotate(-10deg);
    /* Phóng to và xoay khi hover */
    box-shadow: var(--unicorn-glow);
}

/* --- 3. NỘI DUNG BÀI VIẾT (INFO BOX) --- */
.mimosa-blog-info {
    padding: 30px 25px;
    text-align: left;
}

/* Tiêu đề bài viết */
.mimosa-post-title {
    font-family: var(--font-family-title-small);
    /* Font DynaPuff */
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.mimosa-post-title a {
    color: var(--color-surface-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mimosa-post-title a:hover {
    color: var(--unicorn-purple);
}

/* Meta Tác giả */
.mimosa-post-meta {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mimosa-post-meta::before {
    content: '🦄';
    /* Icon tác giả là chú kỳ lân nhỏ */
    font-size: 1rem;
}

.mimosa-post-meta .author-name {
    font-family: var(--font-family-primary);
    font-size: 13px;
    color: var(--unicorn-pink);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Đoạn trích Excerpt */
.mimosa-post-excerpt {
    font-family: var(--font-family-primary);
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 4. NÚT READ MORE (GẠCH CHÂN PHÉP THUẬT) --- */
.mimosa-read-btn {
    font-family: var(--font-family-title-small);
    font-size: 1.1rem;
    color: var(--color-surface-primary);
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.mimosa-read-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    /* Gạch chân ngắn lúc đầu */
    height: 3px;
    background: var(--unicorn-gradient);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mimosa-blog-card:hover .mimosa-read-btn {
    color: var(--unicorn-purple);
    padding-left: 10px;
    /* Nhích ra một chút */
}

.mimosa-blog-card:hover .mimosa-read-btn::after {
    width: 100%;
    /* Gạch chân dài ra toàn bộ khi hover */
}

/* --- 5. SWIPER PAGINATION (UNICORN DOTS) --- */
.blog-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--unicorn-purple);
    opacity: 0.3;
}

.blog-pagination .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 10px;
    background: var(--unicorn-gradient) !important;
    opacity: 1;
    box-shadow: 0 0 10px rgba(205, 180, 219, 0.6);
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .mimosa-blog-info {
        padding: 20px;
    }

    .mimosa-post-title {
        font-size: 1.25rem;
    }

    .mimosa-post-excerpt {
        font-size: 0.9rem;
    }
}

/* 
==========================================================================
   FOOTER - UNICORN DREAMLAND
========================================================================== 
*/

.main-footer {
    background-color: #fff;
    padding: 80px 0 30px;
    position: relative;
    border-top: none;
    margin-top: 100px;
    /* Trừa chỗ cho hiệu ứng mây bay trên đỉnh footer */
}

/* Hiệu ứng dải mây cầu vồng trên đỉnh Footer */
.main-footer::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffffff" fill-opacity="1" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,144C672,139,768,181,864,181.3C960,181,1056,139,1152,122.7C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

/* Đường kẻ cầu vồng nhỏ dưới đám mây */
.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--unicorn-gradient);
    opacity: 0.5;
}

.footer-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
}

/* --- Tiêu đề cột (H4) --- */
.footer-column h4 {
    font-family: var(--font-family-title-small);
    /* DynaPuff */
    font-size: 1.4rem;
    color: var(--color-surface-primary);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

/* Gạch chân lấp lánh dưới tiêu đề */
.footer-column h4::after {
    content: '✨';
    position: absolute;
    right: -30px;
    top: -5px;
    font-size: 1.2rem;
    animation: twinkle-star 2s infinite;
}

/* --- Cột 1: Thông tin công ty --- */
.company-info .logo-text img {
    max-width: 180px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

.company-info .logo-text:hover img {
    transform: scale(1.05) rotate(-2deg);
}

.contact-block h4,
.address-block h4 {
    font-family: var(--font-family-primary);
    font-size: 0.95rem;
    color: var(--color-text-primary);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    white-space: unset;
}

.contact-block h4::after,
.address-block h4::after {
    display: none;
}

/* Tắt ngôi sao ở sub-title */

.footer-column span {
    color: var(--color-text-secondary);
    font-weight: 400;
    display: block;
    margin-top: 5px;
    font-size: 1rem;
        line-height: 2;
}

/* --- Cột 2 & 3: Menu Links --- */
.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--color-text-secondary);
    font-family: var(--font-family-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--unicorn-pink);
    transform: translateX(8px);
    text-shadow: 0 0 5px rgba(255, 182, 193, 0.3);
}

/* --- Cột 4: Newsletter & Social --- */
.stay-in-touch .newsletter-form {
    background: var(--color-surface-tertiary);
    padding: 25px;
    border-radius: 25px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.02);
    border: 2px dashed var(--unicorn-blue);
}

.newsletter-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-top: 15px;
}

/* Custom cho Contact Form 7 trong footer */
.newsletter-form .wpcf7-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 30px;
    padding: 12px 20px;
    font-family: var(--font-family-primary);
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--unicorn-purple);
    box-shadow: 0 0 10px rgba(205, 180, 219, 0.3);
}

.newsletter-form input[type="submit"],
.newsletter-form button {
    background: var(--unicorn-gradient);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-family: var(--font-family-title-small);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.newsletter-form input[type="submit"]:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: var(--unicorn-glow);
}

/* Social Icons (Viên kẹo tròn) */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
}

.social-icons a img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    background: var(--unicorn-gradient);
    transform: translateY(-8px) rotate(360deg);
    /* Xoay 1 vòng khi hover */
    border-color: #fff;
    box-shadow: var(--unicorn-glow);
}

.social-icons a:hover img {
    filter: brightness(0) invert(1);
    /* Chuyển icon sang trắng */
}

/* --- Footer Bottom --- */
.footer-bottom {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid rgba(205, 180, 219, 0.2);
    text-align: center;
}

.footer-bottom .list-bill {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin-bottom: 20px;
}

.footer-bottom .list-bill img {
    height: 70px;
    filter: grayscale(1) opacity(0.6);
    transition: all 0.3s ease;
}

.footer-bottom .list-bill img:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

.copyright-text {
    font-family: var(--font-family-primary);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 50px 30px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column h4::after {
        display: none;
    }

    .social-icons {
        justify-content: center;
    }

    .newsletter-form .wpcf7-form {
        flex-direction: column;
    }

    .mimosa-read-btn::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column ul li a:hover {
        transform: translateY(-3px);
    }
}

/* 
==========================================================================
   MAGIC LIQUID EFFECT FOR HERO IMAGE
========================================================================== 
*/

.mimosa-slide-image {
    flex: 0 0 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 20px;
}

/* 1. Tạo quầng sáng hào quang (Magic Aura) phía sau tấm hình */
.mimosa-slide-image::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    background: var(--unicorn-gradient);
    filter: blur(40px);
    /* Làm nhòe mạnh để tạo quầng sáng */
    opacity: 0.5;
    z-index: -1;
    /* Hiệu ứng hào quang cũng co giãn theo hình */
    animation: liquid-morph 8s ease-in-out infinite alternate;
}

/* 2. Biến khung ảnh thành khối chất lỏng ma thuật */
.mimosa-main-img {
    width: 100%;
    max-width: 550px;
    /* Điều chỉnh kích thước tùy ý */
    height: auto;
    aspect-ratio: 4 / 5;
    /* Hoặc 1/1 nếu bạn muốn hình tròn hơn */
    object-fit: cover;

    /* CHÍNH: Hiệu ứng gợn sóng bằng border-radius 8 điểm */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;

    /* Animation gợn sóng biến hình */
    animation:
        liquid-morph 8s ease-in-out infinite alternate,
        magic-float 5s ease-in-out infinite;

    box-shadow: 0 20px 50px rgba(205, 180, 219, 0.4);
    border: 8px solid rgba(255, 255, 255, 0.5);
    /* Viền kính mờ */
    transition: all 0.5s ease;
}

/* Hiệu ứng khi rê chuột vào: Hình ảnh "phình" ra mạnh mẽ hơn */
.mimosa-slide-image:hover .mimosa-main-img {
    transform: scale(1.05) rotate(2deg);
    border-color: #fff;
    box-shadow: var(--unicorn-glow);
}

/* 3. KEYFRAME: Tạo chuyển động gợn sóng (Morphing) */
@keyframes liquid-morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* 4. Thêm các hạt lấp lánh xung quanh tấm hình (Magic Dust) */
.mimosa-slide-image::after {
    content: '✨';
    position: absolute;
    font-size: 2rem;
    top: 10%;
    right: 10%;
    animation: twinkle-star 2s infinite;
    text-shadow: 0 0 10px #fff;
}

/* Animation lơ lửng nhẹ nhàng */
@keyframes magic-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Responsive cho Mobile: Giảm độ cong để hình không bị méo quá nhiều */
@media (max-width: 768px) {
    .mimosa-main-img {
        border-radius: 30px;
        /* Mobile thì để bo góc nhẹ cho dễ nhìn */
        animation: magic-float 4s ease-in-out infinite;
    }

    .mimosa-slide-image::before {
        display: none;
        /* Tắt hào quang trên mobile cho nhẹ máy */
    }
}