@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f5f0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-6 60c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm29 22c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm15-61c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM32 63c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm57-13c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-9-21c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM60 91c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM35 41c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 60c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23d4b999' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

        .carousel-container {
            max-width: 1110px;
            height: 340px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            border-radius: 8px;
        }
        
        .carousel-slide {
            transition: opacity 0.8s ease-in-out;
            position: absolute;
            width: 100%;
            height: 100%;
        }
        
        .carousel-slide:not(.active) {
            opacity: 0;
            pointer-events: none;
        }
        
        .carousel-slide.active {
            opacity: 1;
        }
        
        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .carousel-caption {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            width: 80%;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            z-index: 10;
        }
        
        .carousel-caption h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            animation: fadeInDown 0.8s ease-out;
        }
        
        .carousel-caption p {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease-out;
        }
        
        .carousel-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.3);
        }

.product-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6F4E37 0%, #C4A484 100%);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #6F4E37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    bottom: -10px;
    left: 20%;
    background: linear-gradient(90deg, #6F4E37 0%, #C4A484 100%);
}

.contact-form input,
.contact-form textarea {
    background-color: rgba(255,255,255,0.8);
    border: 1px solid #e2d5c8;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #8B5A2B;
    box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.1);
    background-color: white;
}

.feature-icon {
    background: linear-gradient(135deg, #f8f1e9 0%, #e2d5c8 100%);
    color: #6F4E37;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.footer {
    background: linear-gradient(135deg, #2c1e16 0%, #3a2a1f 100%);
    color: #e2d5c8;
}

.footer a:hover {
    color: #C4A484;
}

.mobile-menu {
    background: linear-gradient(135deg, #f8f1e9 0%, #e2d5c8 100%);
}

.price-tag {
    color: #6F4E37;
    font-weight: bold;
    font-size: 1.5rem;
    /* --- CRUCIAL CHANGE: Remove all vertical margins --- */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important; /* Ensure no padding below either */
}

.savings-badge {
    background-color: #4a7c59;
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.btn-coffee {
    background: linear-gradient(90deg, #6F4E37 0%, #8B5A2B 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-coffee:hover {
    background: linear-gradient(90deg, #8B5A2B 0%, #6F4E37 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 78, 55, 0.3);
}

/* PayPal Button Specific Styles */
paypal-add-to-cart-button,
paypal-cart-button {
    display: block;
    width: 100%;
    /* --- CRUCIAL CHANGE: Remove all vertical margins and padding --- */
    margin-top: -60px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    /* You might need to adjust height if the buttons look squashed */
    /* min-height: 40px; */ /* Example */
}

/* If PayPal is still adding space internally, you might need to try a negative margin */
/* This is a last resort and can sometimes look odd, but it pulls elements closer */
/* paypal-add-to-cart-button { margin-top: -10px !important; } */

paypal-add-to-cart-button > div,
paypal-cart-button > div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* Ensure the inner content doesn't have internal padding creating space */
    padding: 0 !important;
    margin: 0 !important;
    /* You may need to set a specific height if the button itself becomes too small */
    /* height: 40px; */
}

/* Style for the Amazon button to ensure it looks consistent with PayPal buttons */
.product-card a[href="#"].w-full.bg-yellow-500 {
    padding-top: 12px;
    padding-bottom: 12px;
	margin-bottom: 15px;
    /* --- CRUCIAL CHANGE: Remove top margin to pull close to PayPal button --- */
    margin-top: 0 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-card a[href="#"].w-full.bg-yellow-500:hover {
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.product-card .p-6 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Ensure items start from the top */
    flex-grow: 1;
    /* --- CRUCIAL CHANGE: Use a small gap or no gap for extremely close elements --- */
    gap: 0.25rem; /* Very small gap, or change to 0 if you want them touching */
    /* If you still have a gap due to a Tailwind class, you might need to override it here */
    padding-bottom: 0; /* Ensure no bottom padding in p-6 pushes things up */
}
/* Modal Overlay */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 20px; /* Some padding around the modal */
}

/* Modal Content Box */
.modal-content {
    background-color: #fefefe;
    margin: auto; /* Center the modal vertically and horizontally */
    padding: 30px;
    border-radius: 8px;
    max-width: 700px; /* Adjust max-width as needed */
    width: 90%; /* Responsive width */
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh; /* Max height before content starts scrolling */
}

/* Close Button */
.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
}

/* Scrollable content area */
.modal-scroll-content {
    overflow-y: auto; /* Enable vertical scrolling for content */
    padding-right: 15px; /* Prevent scrollbar from overlapping text */
    flex-grow: 1; /* Allow content to take available space */
}