body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    background: #f7f2e8;
    color: #3b2a20;
}

h1, h2, h3, h4, .tagline {
    font-family: Georgia, serif;
}

/* ==== TOP ANNOUNCEMENT BANNER ==== */
.announcement-banner {
    background-color: #d4af37;
    color: #3b2a20;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* ==== NEW OFFER STRIP FOR ₹100 OFF ==== */
.offer-strip {
    background-color: #8b6b4d;
    color: #ffffff;
    padding: 15px 25px;
    margin: 15px auto;
    border-radius: 8px;
    max-width: 600px;
    font-weight: 500;
    line-height: 1.6;
    box-shadow: 0 4px 10px rgba(91, 61, 46, 0.2);
}

.hero {
    background: #f8edd8;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px; 
    padding-bottom: 40px;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.header-logo {
    width: 500px;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.tagline {
    font-size: 28px;
    font-style: italic;
    margin-top: -180px; 
    margin-bottom: 12px;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 35px;
    background: #5b3d2e;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease; 
    box-shadow: 0 4px 10px rgba(91, 61, 46, 0.3);
}

.btn:hover {
    background: #8b6b4d;
    transform: translateY(-2px); 
    box-shadow: 0 6px 15px rgba(91, 61, 46, 0.4);
}

.products {
    padding: 60px 40px; 
    max-width: 1200px; 
    margin: 0 auto;
}

/* ==== GRID LAYOUT ==== */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
}

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

.card {
    background: white;
    padding: 30px 25px; 
    border-radius: 16px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 12px 25px rgba(0,0,0,0.12); 
}

/* ==== BREW METHOD STYLES ==== */
.brew-methods, .roast-methods {
    margin: 15px 0 20px 0;
}

.brew-options, .roast-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.brew-btn, .roast-btn {
    background: #e0d8c3;
    color: #3b2a20;
    border: 1px solid #c7be9f;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1 1 30%; 
}

.brew-btn:hover, .roast-btn:hover {
    background: #d1c7a8;
}

.brew-btn.active, .roast-btn.active {
    background: #5b3d2e;
    color: white;
    border-color: #5b3d2e;
    font-weight: bold;
}

/* Base button style inside cards and modal */
.buy-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border: none;
    background: #5b3d2e;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease; 
}

.buy-btn:hover {
    background: #8b6b4d;
    transform: scale(1.02); 
}

/* ==== CAROUSEL STYLES ==== */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%; 
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Carousel navigation arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(59, 42, 32, 0.6);
    color: white;
    width: 35px;
    height: 35px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, transform 0.2s ease;
}

.carousel-btn:hover {
    background: rgba(59, 42, 32, 1);
    transform: translateY(-50%) scale(1.1); 
}

.carousel-btn.prev {
    left: 5px;
}

.carousel-btn.next {
    right: 5px;
}

.coffee-bag {
    width: 170px;
    height: 280px; 
    object-fit: contain; 
    display: block;
    margin: 0 auto;
}

.model-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
}

model-viewer {
    background: transparent;
    --poster-color: transparent;
    width: 100%;
}

footer {
    text-align: left;
    padding: 50px 40px; 
    background: #3b2a20;
    color: white;
    margin-top: 60px;
}

footer h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

footer p {
    margin: 5px 0;
}

.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); 
    backdrop-filter: blur(4px); 
    z-index: 1000; 
}

.popup {
    background: white;
    width: 90%;
    max-width: 350px; 
    margin: 10vh auto; 
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.popup input {
    width: 90%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
}

.popup .buy-btn:last-of-type {
    background: #e0d8c3;
    color: #3b2a20;
    margin-top: 15px;
}

.popup .buy-btn:last-of-type:hover {
    background: #8b6b4d;
    color: white;
}