/* ============================= */
/* HERO SLIDER (home page specific) */
/* ============================= */
.hero-slider {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-slide {
    position: relative;
    min-width: 100%;
    flex-shrink: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 120px 0 130px;
    color: #ffffff;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(
        --hero-overlay,
        linear-gradient(
            90deg,
            rgba(20, 12, 8, 0.75) 0%,
            rgba(20, 12, 8, 0.35) 60%,
            rgba(20, 12, 8, 0.15) 100%
        )
    );
    z-index: 0;
}

.hero-slide .container {
    position: relative;
    z-index: 1;
}

.hero-slide .hero-content {
    max-width: 640px;
}

/* Arrows (optional — hero-slider.js mein prev/next click handlers laga ke use kar sakte ho) */
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: var(--transition, all 0.3s ease);
}

.hero-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.hero-slider-arrow.prev {
    left: 24px;
}
.hero-slider-arrow.next {
    right: 24px;
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider-dots .dot.active {
    background: #ffffff;
    transform: scale(1.25);
}

.hero-slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.75);
}

.hero-banner {
    position: relative;
    background:
        var(--hero-overlay),
        url("../img/index.avif") center/cover no-repeat;
    padding: 120px 0 130px;
    color: #ffffff;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    overflow: hidden;
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-title em {
    font-style: italic;
    color: var(--accent, #e8a87c);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 32px;
    font-weight: 400;
}

/* ===== CTA GROUP — HAMESHA ROW MEIN, HAR SCREEN PE ===== */
.hero-cta-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hero-cta-group .btn {
    white-space: nowrap;
}

.hero-content {
    max-width: 640px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================= */
/* FEATURES RIBBON */
/* ============================= */
.features-ribbon {
    margin-top: -45px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    background: var(--bg-card, #ffffff);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color, #f0f0f0);
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light, #fff4f0);
    color: var(--primary, #d96b43);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature-info p {
    font-size: 0.82rem;
    color: var(--text-muted, #777);
    margin: 0;
}

/* ============================= */
/* CATEGORY CARDS (image based, home page) */
/* ============================= */
.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 260px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    color: #ffffff;
    text-decoration: none;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.category-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    z-index: 1;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.1) 70%
    );
    z-index: 2;
}

.category-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.category-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.category-content span {
    font-size: 0.85rem;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.category-card:hover img {
    transform: scale(1.08);
}

/* ============================= */
/* PRODUCTS GRID + PRODUCT CARD */
/* ============================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.wishlist-toggle-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    z-index: 2;
    transition: var(--transition);
}

.wishlist-toggle-btn.active,
.wishlist-toggle-btn:hover {
    color: var(--danger);
    background: #ffffff;
}

.product-img-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--bg-alt);
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.quick-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 24, 16, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .quick-view-overlay {
    opacity: 1;
}

.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.78rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--gold-star);
    margin-bottom: 12px;
}

.product-rating span {
    color: var(--text-muted);
    margin-left: 4px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* ============================= */
/* SPECIAL OFFER BANNER */
/* ============================= */
.special-offer-section {
    padding-top: 80px;
}

.special-offer-banner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    overflow: hidden;
    border-radius: 24px;
    background: var(--primary);
    min-height: 400px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.special-offer-content {
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.special-offer-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.special-offer-content h2 {
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
}

.special-offer-content h2 em {
    display: block;
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

.special-offer-content p {
    max-width: 550px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.old-price {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
    font-size: 1rem;
}

.new-price {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
}

.offer-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.offer-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.offer-note i {
    margin-right: 5px;
}

.special-offer-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.special-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.special-offer-banner:hover .special-offer-image img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
    transform: rotate(8deg);
}

/* Add this — guaranteed centering regardless of .btn's own display/margin */
.text-center {
    display: flex;
    justify-content: center;
    text-align: center;
}

/* ============================= */
/* PROMO VIDEO SECTION */
/* ============================= */
.promo-banner {
    background: linear-gradient(135deg, #fff7f3 0%, #fdeee6 100%);
    border-radius: 28px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    border: 1px solid var(--border-color, #f5e3d9);
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.promo-video-section {
    position: relative;
    min-height: 500px;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.promo-background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

.promo-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(45, 27, 20, 0.82) 0%,
        rgba(45, 27, 20, 0.68) 45%,
        rgba(45, 27, 20, 0.38) 100%
    );
    z-index: -2;
}

.promo-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 760px;
    text-align: center;
    padding: 80px 20px;
    color: #ffffff;
}

.promo-content .promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.promo-content h2 {
    margin: 0 0 20px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.promo-content p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.8;
}

.promo-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.promo-actions .btn {
    padding: 13px 28px;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.promo-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.promo-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.promo-phone i {
    color: #ffd1c2;
}

.promo-video-badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ============================= */
/* OUR STORY */
/* ============================= */
.our-story-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.our-story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.our-story-image {
    position: relative;
    min-height: 500px;
}

.our-story-image > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 24px;
}

.story-experience-card {
    position: absolute;
    right: -25px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.story-experience-card strong {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    color: var(--primary);
}

.story-experience-card span {
    color: var(--text-dark);
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 600;
}

.our-story-content .section-title-main {
    margin-bottom: 22px;
}

.our-story-content .section-title-main em {
    display: block;
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

.our-story-content > p {
    max-width: 650px;
    margin-bottom: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.story-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0 30px;
}

.story-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
}

.story-highlight i {
    color: var(--primary);
}

/* ============================= */
/* GALLERY */
/* ============================= */
.bakery-gallery-section {
    padding-top: 80px;
    padding-bottom: 90px;
    background: var(--bg-alt, #fafafa);
}

.bakery-gallery-section .section-title-main em {
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

.bakery-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 230px 230px;
    gap: 18px;
    margin-top: 45px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
}

.gallery-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.gallery-button {
    text-align: center;
    margin-top: 35px;
}

/* ============================= */
/* TESTIMONIALS */
/* ============================= */
.testimonial-card-modern {
    background: var(--bg-card, #ffffff);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border-color, #eee);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light, #fce0d4);
    margin-bottom: 16px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.testimonials-slider {
    display: flex;
    gap: 24px;
    overflow: hidden;
    width: 100%;
    padding: 10px 0 20px;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

.testimonial-card-modern,
.testimonials-track .testimonial-card-modern {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    box-sizing: border-box;
    transition: transform 0.4s ease;
}

/* ============================= */
/* NEWSLETTER MODAL (home page specific variant) */
/* ============================= */
.modal-newsletter .modal-content {
    max-width: 760px;
    width: 92%;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    box-sizing: border-box;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(20, 15, 12, 0.25);
    background: var(--bg-card, #ffffff);
}

.modal-newsletter .modal-left {
    color: var(--text-dark);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-newsletter .modal-left::before {
    content: "\f0e0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary);
    background: var(--primary-light, #fff4f0);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.modal-newsletter h3 {
    margin-bottom: 10px;
    font-size: 1.55rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.25;
}

.modal-newsletter .modal-left > p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 13px 16px;
    border-radius: var(--radius-full, 999px);
    border: 1.5px solid var(--border-color);
    background: var(--bg-alt, #fdf7f2);
    min-width: 0;
    font-size: 0.92rem;
    transition: var(--transition, all 0.3s ease);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px var(--primary-light, #fff4f0);
}

.newsletter-form button {
    padding: 13px 22px;
    border-radius: var(--radius-full, 999px);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.modal-newsletter label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-newsletter .modal-art {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background-position: center;
    background-size: cover;
}

.modal-newsletter .modal-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 50%);
}

.modal-newsletter .modal-art video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-newsletter .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition, all 0.3s ease);
}

.modal-newsletter .modal-close:hover {
    background: var(--accent, #e88d67);
    transform: rotate(90deg);
}

/* ============================= */
/* GLOBAL RESPONSIVE SAFETY */
/* ============================= */
img,
video {
    max-width: 100%;
    height: auto;
}

.promo-background-video {
    height: 100%; /* keep cover behavior intact */
}

/* ============================= */
/* MEDIA QUERIES */
/* ============================= */

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .our-story-grid {
        gap: 45px;
    }

    .testimonial-card-modern,
    .testimonials-track .testimonial-card-modern {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 992px) {
    .hero-banner {
        min-height: 650px;
    }

    .hero-slide {
        padding: 90px 0 100px;
    }

    .hero-content {
        max-width: 720px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 7vw, 4.8rem);
    }

    .hero-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .hero-slider-arrow.prev {
        left: 14px;
    }

    .hero-slider-arrow.next {
        right: 14px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .special-offer-banner {
        grid-template-columns: 1fr;
    }

    .special-offer-content {
        padding: 45px;
    }

    .special-offer-image {
        min-height: 350px;
    }

    .promo-banner {
        grid-template-columns: 1fr;
    }

    .promo-video-section {
        min-height: 420px;
    }

    .promo-content {
        padding: 60px 16px;
    }

    .our-story-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .our-story-image {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }

    .our-story-content {
        max-width: 700px;
        margin: auto;
    }

    .story-experience-card {
        right: 20px;
    }

    .bakery-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 260px 260px;
    }

    .gallery-large {
        grid-row: span 2;
    }

    .testimonial-card-modern,
    .testimonials-track .testimonial-card-modern {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .modal-newsletter .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-newsletter .modal-art {
        order: -1;
        height: 190px;
        min-height: 190px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 600px;
        text-align: center;
    }

    .hero-slide {
        text-align: center;
        padding: 70px 0 80px;
    }

    .hero-slide .hero-content {
        margin: 0 auto;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero-badge {
        font-size: 0.72rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3.6rem);
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    /* Row mein rahega, sirf center ho jayega */
    .hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .hero-cta-group .btn {
        flex: 1 1 auto;
        min-width: 140px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-slider-arrow {
        display: none; /* chhote screens pe arrows hata do, swipe se kaam chale */
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-ribbon {
        margin-top: -25px;
    }

    .category-card {
        height: 200px;
        padding: 18px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .product-info {
        padding: 14px;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .product-price {
        font-size: 1.05rem;
    }

    .product-rating {
        font-size: 0.75rem;
    }

    .wishlist-toggle-btn {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        font-size: 0.68rem;
    }

    .quick-view-overlay {
        display: none;
    }

    .special-offer-banner {
        border-radius: 18px;
    }

    .special-offer-content {
        padding: 32px 24px;
        text-align: center;
        align-items: center;
    }

    .special-offer-content h2 {
        font-size: 2.1rem;
    }

    .offer-price {
        justify-content: center;
    }

    .special-offer-image {
        min-height: 280px;
    }

    .discount-badge {
        width: 68px;
        height: 68px;
        top: 16px;
        right: 16px;
        font-size: 0.75rem;
    }

    .offer-actions {
        flex-direction: column;
        align-items: center;
    }

    .promo-banner {
        margin: 25px 0;
        padding: 35px 22px;
    }

    .promo-video-section {
        display: flex;
        flex-direction: column;
        min-height: 380px;
        border-radius: 18px;
        padding: 0;
    }

    .promo-content {
        padding: 50px 20px 20px;
    }

    .promo-content h2 {
        font-size: 2rem;
    }

    .promo-content p {
        font-size: 0.92rem;
    }

    .promo-actions {
        flex-direction: column;
        align-items: center;
    }

    .promo-video-badge {
        position: static;
        margin: 0 auto 30px;
        width: fit-content;
        font-size: 0.7rem;
        padding: 8px 12px;
    }

    .our-story-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .our-story-image {
        min-height: auto;
    }

    .our-story-image > img {
        height: 400px;
    }

    .story-experience-card {
        right: 14px;
        bottom: 18px;
        padding: 14px 17px;
    }

    .story-experience-card strong {
        font-size: 1.6rem;
    }

    .bakery-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
        gap: 10px;
        margin-top: 30px;
    }

    .gallery-overlay {
        padding: 12px;
        opacity: 1;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.55),
            transparent 65%
        );
    }

    .gallery-overlay span {
        font-size: 0.8rem;
    }

    .testimonials-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .testimonials-track {
        gap: 16px;
    }

    .testimonial-card-modern,
    .testimonials-track .testimonial-card-modern {
        flex: 0 0 85%;
        scroll-snap-align: start;
        padding: 24px;
    }

    .modal-newsletter .modal-left {
        padding: 30px 24px;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* ============================= */
/* MEDIA QUERIES (UPDATED) */
/* ============================= */

@media (max-width: 576px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-banner {
        min-height: 540px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .hero-slide {
        padding: 55px 0 65px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 12px;
        margin-bottom: 14px;
    }

    .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .hero-cta-group {
        gap: 10px;
        flex-wrap: nowrap; /* dono buttons ek hi row mein force */
    }

    .hero-cta-group .btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 12px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .hero-slider-dots {
        bottom: 16px;
        gap: 7px;
    }

    .hero-slider-dots .dot {
        width: 8px;
        height: 8px;
    }

    .features-ribbon {
        margin-top: -18px;
    }

    .features-grid {
        padding: 16px;
        gap: 14px;
        border-radius: 16px;
    }

    .feature-box {
        gap: 12px;
        padding: 6px;
    }

    .feature-icon-wrapper {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .feature-info h4 {
        font-size: 0.9rem;
    }

    .feature-info p {
        font-size: 0.76rem;
    }

    .section-header-modern {
        text-align: center;
    }

    .category-card {
        height: 180px;
        padding: 16px;
        border-radius: 14px;
    }

    .category-content h3 {
        font-size: 1.15rem;
    }

    .category-content span {
        font-size: 0.78rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-img-wrapper {
        padding-top: 68%;
    }

    .product-info {
        padding: 16px;
    }

    .special-offer-content {
        padding: 28px 20px;
    }

    .special-offer-content h2 {
        font-size: 1.85rem;
    }

    .special-offer-label {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .new-price {
        font-size: 1.5rem;
    }

    .old-price {
        font-size: 0.88rem;
    }

    .special-offer-image {
        min-height: 230px;
    }

    .discount-badge {
        width: 58px;
        height: 58px;
        font-size: 0.68rem;
        top: 12px;
        right: 12px;
    }

    .promo-content {
        padding: 40px 16px 16px;
    }

    .promo-content h2 {
        font-size: 1.7rem;
    }

    .promo-video-badge {
        margin-bottom: 24px;
        font-size: 0.72rem;
        padding: 8px 14px;
    }

    .our-story-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .our-story-image > img {
        height: 280px;
        border-radius: 16px;
    }

    .story-experience-card {
        right: 10px;
        bottom: 10px;
        padding: 11px 14px;
        gap: 8px;
        border-radius: 10px;
    }

    .story-experience-card strong {
        font-size: 1.4rem;
    }

    .story-experience-card span {
        font-size: 0.7rem;
    }

    .story-highlights {
        gap: 8px;
        margin: 18px 0 22px;
    }

    .story-highlight {
        font-size: 0.76rem;
        padding: 8px 11px;
    }

    .bakery-gallery-section {
        padding-top: 50px;
        padding-bottom: 55px;
    }

    .bakery-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
        gap: 10px;
        margin-top: 25px;
    }

    .gallery-large {
        grid-row: auto;
    }

    .testimonial-card-modern,
    .testimonials-track .testimonial-card-modern {
        flex: 0 0 92%;
        padding: 20px;
    }

    .testimonial-user {
        gap: 10px;
        margin-top: 16px;
    }

    .quote-icon {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .modal-newsletter .modal-left {
        padding: 26px 20px;
    }

    .modal-newsletter h3 {
        font-size: 1.3rem;
    }

    .modal-newsletter .modal-art {
        height: 150px;
        min-height: 150px;
    }
}

/* ===== EXTRA SMALL DEVICES ===== */
@media (max-width: 400px) {
    .hero-slide {
        padding: 45px 0 55px;
    }

    .hero-title {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.76rem;
        line-height: 1.55;
    }

    .hero-cta-group {
        gap: 8px;
    }

    .hero-cta-group .btn {
        padding: 9px 10px;
        font-size: 0.7rem;
    }

    .hero-cta-group .btn i {
        display: none; /* icon hata do taake text ke liye jagah bane */
    }

    .features-grid {
        padding: 14px;
    }

    .feature-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .category-card {
        height: 160px;
        padding: 14px;
    }

    .category-content h3 {
        font-size: 1.05rem;
    }

    .product-info {
        padding: 13px;
    }

    .product-title {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-rating {
        font-size: 0.72rem;
        margin-bottom: 8px;
    }

    .wishlist-toggle-btn {
        width: 30px;
        height: 30px;
    }

    .special-offer-content h2 {
        font-size: 1.6rem;
    }

    .special-offer-content p {
        font-size: 0.86rem;
    }

    .new-price {
        font-size: 1.3rem;
    }

    .promo-content h2 {
        font-size: 1.45rem;
    }

    .promo-content p {
        font-size: 0.8rem;
    }

    .promo-actions .btn {
        padding: 11px 20px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .our-story-image > img {
        height: 240px;
    }

    .story-experience-card strong {
        font-size: 1.25rem;
    }

    .bakery-gallery {
        grid-template-rows: repeat(4, 170px);
    }

    .gallery-overlay span {
        font-size: 0.75rem;
    }

    .testimonial-card-modern,
    .testimonials-track .testimonial-card-modern {
        padding: 16px;
    }

    .modal-newsletter .modal-left {
        padding: 22px 16px;
    }

    .modal-newsletter h3 {
        font-size: 1.15rem;
    }

    .modal-newsletter .modal-left::before {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .modal-newsletter .modal-art {
        height: 120px;
        min-height: 120px;
    }
}

@media (max-width: 360px) {
    .hero-slide {
        padding: 38px 0 48px;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .hero-subtitle {
        font-size: 0.72rem;
    }

    .hero-badge {
        font-size: 0.62rem;
        padding: 5px 10px;
    }

    .hero-cta-group .btn {
        padding: 8px 8px;
        font-size: 0.65rem;
    }

    .feature-box {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .category-card {
        height: 140px;
        padding: 12px;
    }

    .category-content h3 {
        font-size: 0.95rem;
    }

    .category-content span {
        font-size: 0.72rem;
    }

    .product-title {
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 0.92rem;
    }

    .special-offer-content h2 {
        font-size: 1.4rem;
    }

    .discount-badge {
        width: 48px;
        height: 48px;
        font-size: 0.6rem;
    }

    .promo-content h2 {
        font-size: 1.3rem;
    }

    .our-story-image > img {
        height: 210px;
    }

    .story-experience-card {
        padding: 8px 11px;
    }

    .story-experience-card strong {
        font-size: 1.1rem;
    }

    .story-experience-card span {
        font-size: 0.62rem;
    }

    .bakery-gallery {
        grid-template-rows: repeat(4, 150px);
        gap: 8px;
    }

    .testimonial-card-modern,
    .testimonials-track .testimonial-card-modern {
        flex: 0 0 96%;
        padding: 14px;
    }

    .modal-newsletter .modal-content {
        padding: 14px;
    }

    .modal-newsletter h3 {
        font-size: 1.15rem;
    }

    .modal-newsletter .modal-art {
        height: 110px;
    }

    .newsletter-form input[type="email"] {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}
