/* --- index.html --- */
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounceScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
@keyframes floatParticle {
    0%   { bottom: -10px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { bottom: 105%; opacity: 0; }
}

@media (max-width: 768px) {
    .hero-banner { height: 30vh; min-height: 207px; }
    .hero-banner .owl-carousel .item { height: 30vh; min-height: 226px; }
    .hero-cta { padding: 13px 28px; font-size: 0.9rem; }
    .hero-scroll { display: none; }
    .hero-pills { gap: 7px; }
}

.hero-banner .owl-carousel { position: relative !important; margin-bottom: 0 !important; }
.hero-banner .owl-theme .owl-dots {
    position: absolute !important;
    bottom: 25px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    z-index: 99 !important;
}

/* Make dots clearly visible over the image */
.hero-banner .owl-theme .owl-dots .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 50% !important;
    margin: 5px 6px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
}
.hero-banner .owl-theme .owl-dots .owl-dot.active span {
    background: #2d5a3d !important;
    transform: scale(1.3) !important;
    border: 1px solid #fff !important;
}

@media (max-width: 768px) {
    .hero-banner .owl-theme .owl-dots { bottom: 15px !important; }
    .hero-banner { height: auto; min-height: auto; }
    .hero-banner .owl-carousel .item { height: auto; min-height: auto; }
}

.welcome { padding: 80px 0; background: linear-gradient(180deg, #eff6f1 0%, #e6f0e9 100%); }
.welcome h2 { font-family: 'Lora', serif; font-size: 2rem; color: #1a3c2e; margin-bottom: 20px; }
.welcome p { font-size: 1rem; line-height: 1.9; color: #555; }

#container { position: relative; width: 280px; height: 280px; display: flex; align-items: center; justify-content: center; margin: auto; }
.item-b img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 5px solid #2d5a3d; box-shadow: 0 10px 40px rgba(45,90,61,0.3); position: relative; z-index: 2; }
.circle { position: absolute; border-radius: 50%; border: 2px solid rgba(45,90,61,0.2); animation: pulse 4s ease-in-out infinite; }
.circle:nth-child(2) { width: 200px; height: 200px; }
.circle:nth-child(3) { width: 240px; height: 240px; }
.circle:nth-child(4) { width: 270px; height: 270px; }

@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.05); opacity: 0.2; } }

.highlights { padding: 60px 0; background-color: #1a3c2e; color: #fff; }
.highlights h2 { font-family: 'Lora', serif; font-size: 2rem; text-align: center; margin-bottom: 40px; color: #a8d5b5; }
.highlight-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(168,213,181,0.2); border-radius: 16px; padding: 30px 24px; text-align: center; margin-bottom: 24px; height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.highlight-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.highlight-card i { font-size: 2rem; color: #a8d5b5; margin-bottom: 14px; }
.highlight-card h5 { font-family: 'Lora', serif; font-size: 1.1rem; margin-bottom: 8px; color: #e8f5ec; }
.highlight-card p { font-size: 0.88rem; color: #c5dfc9; line-height: 1.7; }
.highlights .row { display: flex; flex-wrap: wrap; }
.highlights .row > [class*='col-'] { display: flex; flex-direction: column; }

.benefits { padding: 70px 0; background: linear-gradient(135deg, rgba(20,50,30,0.70) 0%, rgba(30,70,45,0.62) 100%), url('../images/bhringaraja_leaves.png') center center / cover no-repeat; position: relative; }
.benefits .container { position: relative; z-index: 1; }
.benefits h2 { font-family: 'Lora', serif; font-size: 2rem; color: #fff; text-align: center; margin-bottom: 40px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.benefit-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; background: rgba(255,255,255,0.92); border-radius: 12px; padding: 18px 20px; box-shadow: 0 4px 16px rgba(45,90,61,0.18); transition: transform 0.3s ease; }
.benefit-item:hover { transform: translateX(6px); }
.benefit-item i { color: #2d5a3d; font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }
.benefit-item p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: #444; }

.how-to-use { padding: 70px 0; background: linear-gradient(135deg, rgba(20,50,30,0.72) 0%, rgba(30,70,45,0.65) 100%), url('../images/bhringaraja_banner.png') center center / cover no-repeat; position: relative; }
.how-to-use h2 { font-family: 'Lora', serif; font-size: 2rem; color: #fff; text-align: center; margin-bottom: 40px; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.step-card { background: #fff; border-radius: 16px; padding: 28px 20px; text-align: center; box-shadow: 0 6px 24px rgba(45,90,61,0.1); margin-bottom: 24px; height: 100%; transition: transform 0.3s ease; }
.step-card:hover { transform: translateY(-5px); }
.step-number { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #2d5a3d, #3a7a52); color: #fff; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step-card p { font-size: 0.9rem; color: #555; line-height: 1.7; }
.how-to-use .row { display: flex; flex-wrap: wrap; }
.how-to-use .row > [class*='col-'] { display: flex; flex-direction: column; }

.our-products { padding: 70px 0; background: #e8f0eb; }
.our-products h2 { font-family: 'Lora', serif; font-size: 2rem; color: #1a3c2e; text-align: center; margin-bottom: 40px; }
.our-products .row { display: flex; flex-wrap: wrap; }
.our-products .row > [class*='col-'] { display: flex; flex-direction: column; }

/* --- shop.html --- */
.toast-msg { position: fixed; top: 80px; right: 24px; z-index: 99999; background: #1a3c2e; color: #fff; padding: 14px 22px; border-radius: 12px; font-size: 0.9rem; font-weight: 500; box-shadow: 0 8px 28px rgba(0,0,0,0.25); display: flex; align-items: center; gap: 10px; transform: translateX(120%); transition: transform 0.35s ease; }
.toast-msg.show { transform: translateX(0); }
.toast-msg i { color: #a8d5b5; font-size: 1.1rem; }

.shop-section { padding: 60px 0; background: #e8f0eb; }
.shop-section h1 { font-family: 'Lora', serif; font-size: 2rem; color: #1a3c2e; text-align: center; margin-bottom: 40px; }
@media (max-width: 576px) { .shop-section { padding: 36px 0; } .shop-section h1 { font-size: 1.5rem; margin-bottom: 24px; } }

/* --- success.html --- */
.success-container { padding: 100px 0; background: #eff6f1; min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.success-card { background: #fff; border-radius: 20px; padding: 50px 40px; text-align: center; box-shadow: 0 10px 40px rgba(45,90,61,0.08); max-width: 600px; margin: 0 auto; }
.success-icon { width: 90px; height: 90px; background: #e8f5ec; color: #2d5a3d; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 24px; box-shadow: 0 0 0 10px rgba(45,90,61,0.05); animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.success-card h1 { font-family: 'Lora', serif; font-size: 2.2rem; color: #1a3c2e; margin-bottom: 16px; }
.success-card p { color: #555; font-size: 1.05rem; line-height: 1.6; margin-bottom: 30px; }
.btn-home { background: linear-gradient(135deg, #2d5a3d, #3a7a52); color: #fff; padding: 12px 36px; border-radius: 50px; font-weight: 600; letter-spacing: 1px; text-decoration: none; display: inline-block; transition: all 0.3s ease; }
.btn-home:hover { background: linear-gradient(135deg, #1a3c2e, #2d5a3d); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,90,61,0.2); }
@keyframes popIn { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* --- view.html --- */
.product-view { padding: 70px 0; background: linear-gradient(180deg, #eff6f1 0%, #e6f0e9 100%); }
.product-image-wrap { background: #fff; border-radius: 24px; padding: 40px; box-shadow: 0 10px 40px rgba(45,90,61,0.08); text-align: center; position: sticky; top: 90px; }
.product-image-wrap img { max-width: 100%; max-height: 500px; object-fit: contain; border-radius: 16px; transition: transform 0.4s ease; }
.product-image-wrap:hover img { transform: scale(1.05); }
.product-details h1 { font-family: 'Outfit', sans-serif; font-size: 2.8rem; color: #1a3c2e; margin-bottom: 10px; font-weight: 700; }
.product-subtitle { font-size: 1.15rem; color: #2d5a3d; font-weight: 600; margin-bottom: 24px; }
.product-price-wrap { display: flex; align-items: baseline; gap: 15px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #d3e2d7; }
.product-price { font-size: 2.2rem; font-weight: 700; color: #2d5a3d; }
.product-size { font-size: 1.1rem; color: #666; font-weight: 500; }
.product-desc { font-size: 1.05rem; line-height: 1.7; color: #444; margin-bottom: 30px; }
.feature-list { list-style: none; padding: 0; margin-bottom: 30px; }
.feature-list li { position: relative; padding-left: 35px; margin-bottom: 15px; font-size: 1.05rem; color: #333; line-height: 1.5; }
.feature-list li i { position: absolute; left: 0; top: 4px; color: #2d5a3d; font-size: 1.2rem; }
.section-title { font-family: 'Outfit', sans-serif; font-size: 1.8rem; color: #1a3c2e; margin: 40px 0 20px; display: flex; align-items: center; gap: 12px; }
.section-title i { color: #3a7a52; font-size: 1.5rem; }
.btn-add-cart { background: linear-gradient(135deg, #2d5a3d, #3a7a52); color: #fff; padding: 16px 36px; border-radius: 50px; font-size: 1rem; font-weight: 700; letter-spacing: 1px; border: none; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 12px; box-shadow: 0 8px 25px rgba(45,90,61,0.2); text-decoration: none; }
.btn-add-cart:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(45,90,61,0.3); background: linear-gradient(135deg, #1a3c2e, #2d5a3d); color: #fff; }
.btn-buy-now { background: transparent; color: #2d5a3d; padding: 15px 36px; border-radius: 50px; font-size: 1rem; font-weight: 700; letter-spacing: 1px; border: 2px solid #2d5a3d; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.btn-buy-now:hover { background: linear-gradient(135deg, #2d5a3d, #3a7a52); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(45,90,61,0.25); border-color: transparent; }
.btn-group-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 36px; }
.delivery { padding: 70px 0; background: #fff; }
.delivery h2 { font-family: 'Outfit', sans-serif; font-size: 2rem; color: #1a3c2e; text-align: center; margin-bottom: 40px; }
.delivery-card { background: #eff6f1; border-radius: 14px; padding: 22px 20px; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 16px; border: 1px solid #d3e2d7; transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%; }
.delivery-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(45,90,61,0.1); }
.delivery-card i { font-size: 1.5rem; color: #2d5a3d; flex-shrink: 0; margin-top: 2px; }
.delivery-card h6 { font-weight: 700; color: #1a3c2e; margin-bottom: 4px; }
.delivery-card p { font-size: 0.88rem; color: #666; margin: 0; }

/* Basic Cart & Shipping fallback styles in case they were lost */
.cart-section, .shipping-section { padding: 60px 0; background: #eff6f1; min-height: 70vh; }
.cart-container, .shipping-container { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 10px 30px rgba(45,90,61,0.08); margin-bottom: 30px; }
.cart-table th { padding: 15px 10px; text-transform: uppercase; font-size: 0.9rem; color: #1a3c2e; background: #e8f0eb; border: 1px solid #d3e2d7; font-weight: 700; }
.cart-item-details { display: flex; align-items: center; gap: 15px; }
.cart-item-details img { width: 70px; height: 70px; object-fit: contain; border-radius: 8px; border: 1px solid #eee; }
.qty-control { display: flex; align-items: center; width: 100px; border: 1px solid #d3e2d7; border-radius: 50px; overflow: hidden; }
.qty-control button { background: #f2f7f4; border: none; width: 32px; height: 32px; color: #2d5a3d; font-weight: bold; cursor: pointer; }
.qty-control button:hover { background: #e2ece5; }
.qty-control input { width: 36px; border: none; text-align: center; font-size: 0.9rem; font-weight: 600; outline: none; }
.btn-remove { background: #fee2e2; color: #dc2626; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; transition: all 0.2s; }
.btn-remove:hover { background: #fca5a5; transform: scale(1.1); }
.item-total { font-weight: 700; color: #2d5a3d; }
.cart-summary { background: #1a3c2e; color: #fff; border-radius: 16px; padding: 30px; position: sticky; top: 90px; }
.cart-summary h3 { font-family: 'Lora', serif; font-size: 1.5rem; margin-bottom: 24px; color: #a8d5b5; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 1.05rem; color: #444; }
.summary-row.total { font-size: 1.4rem; font-weight: 700; margin-top: 20px; padding-top: 10px; color: #3a7a52; }
.btn-checkout { background: linear-gradient(135deg, #2d5a3d, #3a7a52); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; width: 100%; border: none; padding: 14px; border-radius: 50px; font-weight: 700; letter-spacing: 1px; margin-top: 24px; transition: all 0.3s; box-shadow: 0 6px 15px rgba(45,90,61,0.2); }
.btn-checkout:hover { background: linear-gradient(135deg, #1a3c2e, #2d5a3d); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(45,90,61,0.3); }
.cart-table { width: 100%; border-collapse: collapse; border: 2px solid #2d5a3d;  border-radius: 8px; overflow: hidden; } 
.cart-table td { padding: 15px 10px; vertical-align: middle; background: #fff; border: 1px solid #d3e2d7; } 
.cart-table-wrap {  border-radius: 16px; box-shadow: 0 10px 30px rgba(45,90,61,0.05); overflow-x: auto; border: 2px solid #2d5a3d; }

/* --- Cart Page Specific Styles --- */
.breadcrumb-bar { margin-bottom: 24px; font-size: 0.95rem; color: #666; }
.breadcrumb-bar a { color: #2d5a3d; text-decoration: none; font-weight: 500; }
.empty-cart { text-align: center; padding: 60px 20px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(45,90,61,0.05); }
.empty-cart > i.fa-cart-shopping { font-size: 4rem; color: #d3e2d7; margin-bottom: 20px; }
.empty-cart h3 { color: #1a3c2e; font-family: 'Lora', serif; font-size: 1.8rem; margin-bottom: 12px; }
.empty-cart p { color: #666; margin-bottom: 30px; font-size: 1.05rem; }
.order-summary { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 10px 30px rgba(45,90,61,0.05); border: 2px solid #2d5a3d; }
.order-summary h4 { font-family: 'Lora', serif; color: #1a3c2e; font-size: 1.3rem; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid #eef5f0; }
.btn-continue { display: block; text-align: center; margin-top: 15px; color: #2d5a3d; text-decoration: none; font-weight: 600; padding: 10px; font-size: 0.95rem; border: 1.5px solid #2d5a3d; border-radius: 50px; transition: all 0.3s; background: #fff; box-shadow: 0 2px 5px rgba(45,90,61,0.05); }
.btn-continue:hover { background: #f2f7f4; color: #1a3c2e; text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(45,90,61,0.1); }

/* --- Shipping Page Specific Styles --- */
.product-summary { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(45,90,61,0.05); position: sticky; top: 90px; }
.product-summary h4 { font-family: 'Lora', serif; color: #1a3c2e; font-size: 1.3rem; margin-bottom: 20px; }
.checkout-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #eef5f0; }
.checkout-item img { width: 50px; height: 50px; object-fit: contain; border-radius: 8px; border: 1px solid #eee; margin-right: 12px; }
.checkout-item-name { font-weight: 500; color: #444; font-size: 0.95rem; }
.checkout-item-qty { color: #777; font-size: 0.85rem; }
.checkout-item-price { font-weight: 600; color: #1a3c2e; }
.checkout-total { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 1.25rem; font-weight: 700; color: #1a3c2e; border-top: 2px solid #eef5f0; padding-top: 15px; }
.form-card { background: #fff; border-radius: 16px; padding: 35px; box-shadow: 0 10px 30px rgba(45,90,61,0.05); }
.form-card h2 { font-family: 'Lora', serif; font-size: 1.8rem; color: #1a3c2e; margin-bottom: 30px; display: flex; align-items: center; gap: 12px; }
.form-card h2 i { color: #3a7a52; font-size: 1.4rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: #1a3c2e; margin-bottom: 8px; font-size: 0.95rem; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid #d3e2d7; border-radius: 8px; background: #f9fbf9; font-family: inherit; font-size: 0.95rem; color: #333; transition: all 0.2s; }
.form-control:focus { outline: none; border-color: #3a7a52; background: #fff; box-shadow: 0 0 0 4px rgba(45,90,61,0.1); }
.btn-row { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 10px; }
.btn-submit { background: linear-gradient(135deg, #2d5a3d, #3a7a52); color: #fff; border: none; padding: 14px 28px; border-radius: 50px; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 6px 15px rgba(45,90,61,0.2); flex: 1; justify-content: center; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(45,90,61,0.3); }
.btn-back-cart { background: transparent; color: #2d5a3d; border: 2px solid #2d5a3d; padding: 13px 26px; border-radius: 50px; font-weight: 700; letter-spacing: 1px; text-decoration: none; transition: all 0.3s; display: inline-flex; align-items: center; gap: 10px; flex: 1; justify-content: center; }
.btn-back-cart:hover { background: #f2f7f4; text-decoration: none; color: #1a3c2e; }

.cart-section h1 { font-family: 'Lora', serif; font-size: 2.2rem; color: #1a3c2e; margin-bottom: 10px; }

@media (max-width: 768px) {
    .cart-table th, .cart-table td { padding: 10px 5px; font-size: 0.85rem; }
    .qty-control { width: 80px; }
    .qty-control button { width: 25px; height: 25px; }
    .qty-control input { width: 30px; }
    .cart-item-details { flex-direction: column; text-align: center; gap: 5px; }
    .cart-item-details img { width: 50px; height: 50px; }

    .welcome { padding: 0; background: linear-gradient(180deg, #eff6f1 0%, #e6f0e9 100%); }
    .btn-row { flex-direction: column; gap: 12px; }
    .btn-submit, .btn-back-cart { width: 100%; flex: none; }
    
    div#container[style] {
        max-width: 100% !important;
        overflow: visible !important;
    }
}
