/* Improved welcome section */
       

.welcome-section {
            margin-bottom: 2rem;
            padding: 0 1rem;
        }
        
        .intro-card {
            background-color: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            border: 2px solid #f8a5c2;
            line-height: 1.6;
        }
        
        .intro-card h3 {
            color: #e66a93;
            font-size: 2.2rem;
            margin-bottom: 1rem;
            border-bottom: 2px dashed #f8d7e3;
            padding-bottom: 0.75rem;
            display: inline-block;
        }
        
        /* Improved product section */
        .products-section {
            padding: 0 1rem;
            margin-bottom: 2rem;
        }
        
        .section-title {
            color: #e66a93;
            text-align: center;
            margin-bottom: 1.5rem;
            font-size: 2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px dashed #f8d7e3;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .section-title .decor {
            display: inline-block;
            margin: 0 0.5rem;
        }
        
        .product-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* Changed from auto-fill to exactly 2 columns */
            gap: 1.5rem;
            margin: 0 auto;
            max-width: 1200px;
        }
    
        /* Product card styles with improved readability */
        .product-card {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            border: 2px solid #f8a5c2;
            height: 300px; /* Fixed height for consistency */
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
            width: 100%; /* Ensure cards take full width of their grid cell */
        }
    
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0,0,0,0.15);
            border-color: #e66a93;
        }
    
        .product-content {
            background-color: rgba(255, 255, 255, 0.85); /* Slightly more opaque for better readability */
            padding: 1.5rem;
            height: 100%;
            width: 100%;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: absolute;
            top: 0;
            left: 0;
            transition: background-color 0.3s ease;
            border-radius: 13px; /* Match the border radius of the card minus border thickness */
        }
        
        .product-card:hover .product-content {
            background-color: #e66a9362; /* Even more opaque on hover */
        }
    
        .product-card h4 {
            color: #e66a93;
            margin-bottom: 0.75rem;
            font-size: 1.4rem;
            text-align: center;
            border-bottom: 1px dashed #f8d7e3;
            padding-bottom: 0.5rem;
        }
        
        .product-card p {
            font-size: 1rem;
            line-height: 1.5;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 4; /* Limit to 4 lines */
            -webkit-box-orient: vertical;
            text-overflow: ellipsis;
        }
        
        /* Custom scrollbar for product descriptions */
        .product-card p::-webkit-scrollbar {
            width: 6px;
        }
        
        .product-card p::-webkit-scrollbar-track {
            background: #f8f8f8;
            border-radius: 10px;
        }
        
        .product-card p::-webkit-scrollbar-thumb {
            background: #f8a5c2;
            border-radius: 10px;
        }
        
        /* Improved closing section */
        .closing-section {
            padding: 0 1rem;
            margin-bottom: 2rem;
        }
        
        .outro-card {
            background-color: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            max-width: 800px;
            margin: 0 auto;
            border: 2px solid #f8a5c2;
            text-align: center;
            line-height: 1.6;
        }
        
        .outro-card h4 {
            color: #e66a93;
            font-size: 1.8rem;
            margin-bottom: 1rem;
        }
        
        .note {
            margin-top: 1.5rem;
            font-style: italic;
            color: #ac0000;
            font-size: 0.95rem;
            background-color: #ffeef5;
            padding: 1rem;
            border-radius: 10px;
            display: inline-block;
        }
        
        /* Decorative elements */
        .section-divider {
            text-align: center;
            margin: 1.5rem 0;
            font-size: 1.5rem;
            color: #f8a5c2;
        }
        
        main {
            min-height: 80vh;
            padding-bottom: 2rem;
        }
        
        /* For better mobile responsiveness */
        @media (max-width: 768px) {
            .product-grid {
                grid-template-columns: 1fr; /* Single column on mobile */
            }
            
            .product-card {
                height: 300px; /* Slightly taller on mobile */
            }

            /* Adjust text sizes for mobile */
            .intro-card h3, .section-title {
                font-size: 1.6rem;
            }
            
            .product-card h4 {
                font-size: 1.2rem;
            }
            
            .product-card p {
                font-size: 0.9rem;
                -webkit-line-clamp: 5; /* Allow more lines on mobile */
            }
            
            .outro-card h4 {
                font-size: 1.5rem;
            }
            
            /* Adjust padding for mobile */
            .intro-card, .outro-card {
                padding: 1.5rem;
            }
            
            .product-content {
                padding: 1rem;
            }
            
            /* Make decoration spacing smaller */
            .decor {
                margin: 0 0.3rem;
            }
        }

        

        /* Additional adjustments for very small screens */
        @media (max-width: 480px) {
            .product-card h4 {
                font-size: 1.1rem;
            }
            
            .intro-card h3, .section-title, .outro-card h4 {
                font-size: 1.4rem;
            }
            
            .product-card p {
                font-size: 0.85rem;
            }
            
            main {
                padding: 1rem;
            }
            
            .product-content {
                padding: 0.8rem;
            }
            
            /* Handle long titles with flowers */
            .product-card h4 span.decor {
                font-size: 0.9rem;
                margin: 0 0.2rem;
            }
        }

        /* Fix for extra small devices */
        @media (max-width: 360px) {
            .product-card h4 {
                font-size: 1rem;
            }
            
            .product-card p {
                font-size: 0.8rem;
            }
            
            .intro-card h3, .section-title, .outro-card h4 {
                font-size: 1.2rem;
            }
        }

        /* Make sure the product card's background image covers the entire card */
        .product-card a {
            position: relative;
            display: block;
            height: 100%;
            width: 100%;
            border-radius: 0; /* Remove the 60% border radius */
        }

        /* Update heading styles to allow wrapping on mobile */
        .intro-card h3 {
            color: #e66a93;
            font-size: 2.2rem;
            margin-bottom: 1rem;
            border-bottom: 2px dashed #f8d7e3;
            padding-bottom: 0.75rem;
            display: inline-block;
        }
        
        .section-title {
            color: #e66a93;
            text-align: center;
            margin-bottom: 1.5rem;
            font-size: 2rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px dashed #f8d7e3;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .product-card h4 {
            color: #e66a93;
            margin-bottom: 0.75rem;
            font-size: 1.4rem;
            text-align: center;
            border-bottom: 1px dashed #f8d7e3;
            padding-bottom: 0.5rem;
        }
        
        .outro-card h4 {
            color: #e66a93;
            font-size: 1.8rem;
            margin-bottom: 1rem;
        }
        
        /* Update decorative elements for mobile */
        .decor {
            display: inline-block;
            margin: 0 0.5rem;
        }
        
        /* Enhanced mobile responsiveness */
        @media (max-width: 768px) {
            /* Make title flower decorations smaller on mobile */
            .decor {
                font-size: 0.9em;
                margin: 0 0.2rem;
            }
            
            /* Adjust title sizes */
            .intro-card h3, .section-title {
                font-size: 1.6rem;
                padding-left: 0.5rem;
                padding-right: 0.5rem;
                max-width: 100%;
            }
        }
        
        /* Additional adjustments for very small screens */
        @media (max-width: 480px) {
            .intro-card h3, .section-title, .outro-card h4 {
                font-size: 1.3rem;
            }
            
            /* Make flower decorations even smaller */
            .decor {
                font-size: 0.8em;
                margin: 0 0.1rem;
            }
            
            /* Increase card padding to fit wrapped headings */
            .intro-card, .outro-card {
                padding: 1.5rem 1rem;
            }
            
            /* Better spacing for wrapped headings */
            .intro-card h3, .section-title, .outro-card h4 {
                line-height: 1.3;
                padding-bottom: 0.5rem;
            }
        }
        
        /* Fix for extra small devices */
        @media (max-width: 360px) {
            .intro-card h3, .section-title, .outro-card h4 {
                font-size: 1.1rem;
            }
            
            /* Even smaller decorative elements */
            .decor {
                font-size: 0.7em;
            }
        }

        /* Navigation styling for both desktop and mobile */
        nav {
            position: relative;
            padding: 0;
            margin-top: 10px; /* Increased from -15px to 10px for more space */
            width: 100%;
            display: flex;
            justify-content: center;
        }
        
        /* Desktop navigation bar */
        .desktop-nav {
            display: flex;
            justify-content: center;
            background-color: rgba(255, 245, 250, 0.95);
            padding: 0.8rem 0;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            margin: 0 auto;
            max-width: 800px;
            border: 2px solid #f8a5c2;
        }
        
        .desktop-nav ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        .desktop-nav li {
            margin: 0 1.5rem;
        }
        
        .desktop-nav a {
            text-decoration: none;
            color: #e66a93;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            padding: 0.5rem 1rem;
            border-radius: 8px;
        }
        
        .desktop-nav a:hover {
            background-color: #ffeef5;
            color: #d04477;
        }
        
        /* Hamburger menu styling - only for mobile */
        .hamburger-menu {
            cursor: pointer;
            display: none; /* Hide by default on desktop */
            z-index: 100;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 12px;
            padding: 12px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
            width: fit-content;
            margin: 0 auto;
            border: 2px solid #f8a5c2;
        }
        
        /* Mobile navigation responsiveness */
        @media (max-width: 768px) {
            .desktop-nav {
                display: none; /* Hide desktop nav on mobile */
            }
            
            .hamburger-menu {
                display: block; /* Show hamburger on mobile */
            }
            
            .nav-menu {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: rgba(255, 245, 250, 0.95);
                padding: 20px 0;
                list-style: none;
                margin: 0;
                display: none;
                box-shadow: 0 5px 15px rgba(0,0,0,0.1);
                z-index: 99;
                border-radius: 0 0 15px 15px;
            }
            
            .nav-menu.active {
                display: block;
            }
            
            .nav-menu li {
                padding: 10px 20px;
                text-align: center;
            }
        }

        /* Cute floating cart icon */
        .floating-cart {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            cursor: pointer;
            border: 2px solid #f8a5c2;
            transition: all 0.3s ease;
        }

        .floating-cart:hover {
            transform: scale(1.05);
            border-color: #e66a93;
        }

        .cart-icon {
            font-size: 1.5rem;
        }

        .cart-count-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #e66a93;
            color: white;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: bold;
            border: 2px solid white;
        }

        /* Cart dropdown styling */
        .cart-dropdown {
            position: fixed;
            top: 80px;
            right: 20px;
            width: 320px;
            max-height: 0;
            overflow: hidden;
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            border: 2px solid #f8a5c2;
        }

        .cart-dropdown.active {
            max-height: 400px;
            opacity: 1;
            visibility: visible;
            overflow-y: auto;
        }

        .cart-dropdown-header {
            padding: 1rem;
            border-bottom: 1px dashed #f8d7e3;
            position: sticky;
            top: 0;
            background: white;
            z-index: 2;
        }

        .cart-dropdown-title {
            color: #e66a93;
            margin: 0;
            font-size: 1.2rem;
            text-align: center;
        }

        .cart-dropdown-items {
            padding: 0.5rem;
            max-height: 250px;
            overflow-y: auto;
        }

        .cart-dropdown-item {
            display: flex;
            padding: 0.85rem 0.75rem;
            border-bottom: 1px solid #f8d7e3;
            position: relative;
            transition: all 0.2s ease;
            border-radius: 8px;
        }

        .cart-dropdown-item:hover {
            background-color: #ffeef5;
        }

        .cart-dropdown-item-image {
            width: 55px;
            height: 55px;
            border-radius: 8px;
            overflow: hidden;
            margin-right: 0.75rem;
            border: 2px solid #f8d7e3;
            transition: all 0.2s ease;
        }

        .cart-dropdown-item:hover .cart-dropdown-item-image {
            border-color: #e66a93;
        }

        .cart-dropdown-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 6px;
        }

        .cart-dropdown-item-details {
            flex: 1;
        }

        .cart-dropdown-item-name {
            color: #e66a93;
            font-size: 0.9rem;
            margin: 0 0 0.25rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .cart-dropdown-price-qty {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
        }

        .cart-dropdown-price {
            font-weight: bold;
            color: #3aad7a;
        }

        .cart-dropdown-remove {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            background: none;
            border: none;
            color: #ff6b6b;
            cursor: pointer;
            font-size: 1rem;
            padding: 0;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #fff0f5;
            transition: all 0.2s ease;
        }

        .cart-dropdown-remove:hover {
            background-color: #ff6b6b;
            color: white;
        }

        .cart-dropdown-footer {
            padding: 1rem;
            border-top: 1px dashed #f8d7e3;
            background: white;
            position: sticky;
            bottom: 0;
        }

        .cart-dropdown-total {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            font-weight: bold;
        }

        .cart-dropdown-total-label {
            color: #666;
        }

        .cart-dropdown-total-value {
            color: #e66a93;
            font-size: 1.1rem;
        }

        .cart-dropdown-checkout {
            background-color: #3aad7a;
            color: white;
            border: none;
            border-radius: 25px;
            padding: 0.75rem;
            width: 100%;
            cursor: pointer;
            font-weight: bold;
            font-size: 1rem;
            transition: background-color 0.3s;
            text-align: center;
            display: block;
            text-decoration: none;
        }

        .cart-dropdown-checkout:hover {
            background-color: #2d8a61;
        }

        .empty-cart-message {
            text-align: center;
            padding: 2rem;
            color: #888;
        }

        /* Cart notification */
        .cart-notification {
            position: fixed;
            top: 80px;
            right: 20px;
            background-color: rgba(58, 173, 122, 0.9);
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            z-index: 1000;
            transform: translateY(-100px);
            opacity: 0;
            transition: all 0.5s ease;
        }

        .cart-notification.active {
            transform: translateY(0);
            opacity: 1;
        }

        /* Add these new styles for the story section */

        .story-container {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 2rem;
            background-color: #fff8f8;
            border-radius: 15px;
            padding: 2rem;
            margin: 2rem auto;
            max-width: 800px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-left: 5px solid #f8a5c2;
        }

        .profile-circle {
            flex-shrink: 0;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid #f8a5c2;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .circular-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .story-content {
            text-align: left;
        }

        .story-content p {
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .read-more-btn {
            display: inline-block;
            background-color: #f8a5c2;
            color: white;
            padding: 8px 20px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .read-more-btn:hover {
            background-color: #e66a93;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(230, 106, 147, 0.3);
        }

        /* Update product card styles to match about page */
        .product-link {
            display: inline-block;
            background-color: #f8a5c2;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .product-link:hover {
            background-color: #e66a93;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(230, 106, 147, 0.2);
        }

        /* Responsive adjustments for story section */
        @media (max-width: 768px) {
            .story-container {
                flex-direction: column;
                text-align: center;
                padding: 1.5rem;
            }
            
            .profile-circle {
                margin: 0 auto 1.5rem;
            }
            
            .story-content {
                text-align: center;
            }
        }

        /* Shop panel styles - replacing product cards */
        .shop-panel {
            background-color: #fff8f8;
            background-image: url('../assets/images/4.jpg');
            background-size: cover;
            background-position: center;
            border-radius: 15px;
            max-width: 800px;
            height: 250px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border: 2px solid #f8a5c2;
            transition: all 0.3s ease;
        }

        .shop-panel:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            border-color: #e66a93;
        }

        .shop-panel-content {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(255, 255, 255, 0.85);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            text-align: center;
            transition: background-color 0.3s ease;
        }

        .shop-panel:hover .shop-panel-content {
            background-color: rgba(255, 255, 255, 0.75);
        }

        .shop-panel h4 {
            color: #e66a93;
            font-size: 1.8rem;
            margin-bottom: 1rem;
        }

        .shop-panel p {
            margin-bottom: 1.5rem;
            line-height: 1.6;
            max-width: 600px;
        }

        .shop-cta {
            display: inline-block;
            background-color: #f8a5c2;
            color: white;
            padding: 10px 25px;
            border-radius: 30px;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .shop-panel:hover .shop-cta {
            background-color: #e66a93;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(230, 106, 147, 0.3);
        }

        .panel-link {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        /* Responsive adjustments for shop panel */
        @media (max-width: 768px) {
            .shop-panel {
                height: 280px;
            }
            
            .shop-panel h4 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .shop-panel {
                height: 300px;
            }
            
            .shop-panel h4 {
                font-size: 1.3rem;
            }
            
            .shop-panel p {
                font-size: 0.9rem;
            }
        }