/* ==========================================================================
   1. THIẾT LẬP BIẾN MÀU LIFESTYLE & RESET CƠ BẢN
   ========================================================================== */

:root {
    --bg-cream: #FDFBF7;
    /* Màu nền trắng kem mộc mạc, thư thái */
    --emerald-green: #2D6A4F;
    /* Màu xanh lục bảo chủ đạo của sen đá */
    --pastel-pink: #F7CAD0;
    /* Màu hồng phấn viền lá */
    --terracotta: #E07A5F;
    /* Màu đất nung ấm áp của chậu cây */
    --text-dark: #2F3E36;
    /* Màu chữ xám charcoal dịu mắt */
    --font-soft: 'Quicksand', 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--bg-cream) !important;
    color: var(--text-dark);
    font-family: var(--font-soft);
    overflow-x: hidden;
    position: relative;
}


/* ==========================================================================
   NÂNG CẤP CON TRỎ CHUỘT - NỔI BẬT TRÊN MỌI NỀN BỀ MẶT
   ========================================================================== */


/* ==========================================================================
   3. NÚT BẤM TÙY CHỈNH (CUSTOM BUTTONS)
   ========================================================================== */

.btn-primary-custom {
    background-color: var(--emerald-green) !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 10px rgba(45, 106, 79, 0.15);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
    background-color: #1b4332 !important;
}

.btn-outline-success {
    border-color: var(--emerald-green) !important;
    color: var(--emerald-green) !important;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: var(--emerald-green) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}


/* ==========================================================================
   4. HERO SECTION & HÌNH KHỐI HỮU CƠ (ORGANIC SHAPE)
   ========================================================================== */

.hero-section {
    background-color: transparent;
}

.organic-shape-wrapper {
    position: relative;
    width: 360px;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Khối nền bong bóng hữu cơ tự động co giãn như chiếc lá/giọt nước */

.organic-shape-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--pastel-pink);
    border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
    opacity: 0.5;
    z-index: 1;
    animation: morphing-garden 10s ease-in-out infinite;
}

.hero-organic-img {
    position: relative;
    z-index: 2;
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
    box-shadow: 0 15px 35px rgba(47, 62, 54, 0.1);
}

@keyframes morphing-garden {
    0% {
        border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
    }
    50% {
        border-radius: 45% 55% 35% 65% / 55% 45% 55% 45%;
    }
    100% {
        border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
    }
}


/* ==========================================================================
   5. FEATURE CARDS
   ========================================================================== */

.feature-card-organic {
    transition: all 0.3s ease;
    border: 1px solid rgba(45, 106, 79, 0.05);
}

.feature-card-organic:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(45, 106, 79, 0.06) !important;
}


/* ==========================================================================
   6. NHÀ KÍNH ẢO & HIỆU ỨNG HOVER "SEN NỞ" (PRODUCT CARDS)
   ========================================================================== */

.horizontal-gallery {
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.horizontal-gallery:active {
    cursor: grabbing;
}


/* Tinh chỉnh thanh cuộn ngang nghệ thuật mỏng nhẹ */

.horizontal-gallery::-webkit-scrollbar {
    height: 6px;
}

.horizontal-gallery::-webkit-scrollbar-thumb {
    background-color: var(--pastel-pink);
    border-radius: 10px;
}

.horizontal-gallery::-webkit-scrollbar-track {
    background: transparent;
}


/* Khung sản phẩm hình khối bất đối xứng mềm mại */

.product-card-organic {
    background: #ffffff;
    padding: 16px;
    border-radius: 24px 44px 24px 36px;
    box-shadow: 0 4px 20px rgba(47, 62, 54, 0.02);
    border: 1px solid rgba(45, 106, 79, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card-organic img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}


/* Hiệu ứng tương tác "Sen nở" - Phóng to ảnh nhẹ nhàng và đẩy thông số chăm sóc lên */

.product-card-organic:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 16px 35px rgba(45, 106, 79, 0.08);
}

.product-card-organic:hover img {
    transform: scale(1.08);
}

.product-card-organic:hover .hover-care-info {
    transform: translateY(0) !important;
}

.hover-care-info {
    background: rgba(45, 106, 79, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3;
}


/* ==========================================================================
   7. GÓC CHIA SẺ & DANH MỤC BANNERS
   ========================================================================== */

.blog-card-custom {
    transition: all 0.3s ease;
}

.blog-card-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04) !important;
}

.category-banner-hover img {
    transition: transform 0.7s ease;
}

.category-banner-hover:hover img {
    transform: scale(1.06);
}


/* ==========================================================================
   8. QUICK CART SIDEBAR (GIỎ HÀNG NHANH TRƯỢT PHẢI)
   ========================================================================== */

.quick-cart-panel {
    transition: transform 0.4s cubic-bezier(0.05, 0.74, 0.2, 1) !important;
}

.quick-cart-panel.open {
    transform: translateX(0) !important;
}

#quick-cart-overlay.show-overlay {
    opacity: 0.4 !important;
    display: block !important;
}