
/* =========================================
   THE ONLY BAKER - DIWALI FESTIVE THEME
========================================= */

.tob-diwali-container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

.tob-diwali-kicker {
    display: inline-block;
    color: #d6a65e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1.6;
}

.tob-diwali-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: transform .25s, background .25s;
}

.tob-diwali-btn:hover {
    transform: translateY(-3px);
}

.tob-diwali-btn--gold {
    color: #361c16;
    background: #f1c77f;
}

.tob-diwali-btn--gold:hover {
    background: #ffe0a3;
}

.tob-diwali-btn--outline {
    color: #fff5e5;
    border: 1px solid rgba(255, 231, 185, .6);
}

.tob-diwali-btn--dark {
    color: #fff;
    background: #612c32;
}

/* HERO */

.tob-diwali-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(
        125deg,
        #32171c 0%,
        #622c35 55%,
        #371a20 100%
    );
    color: #fff8ed;
    padding: 85px 0;
}

.tob-diwali-hero__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    right: -160px;
    top: -200px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(234, 169, 87, .18),
        transparent 70%
    );
    pointer-events: none;
}

.tob-diwali-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 45px;
}

.tob-diwali-hero__content h1 {
    margin: 18px 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.tob-diwali-hero__content h1 span {
    display: block;
    color: #f3c985;
    font-style: italic;
}

.tob-diwali-hero__content p {
    max-width: 550px;
    margin: 0;
    color: #eddbd1;
    font-size: 16px;
    line-height: 1.85;
}

.tob-diwali-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.tob-diwali-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.tob-diwali-hero__visual-inner {
    position: relative;
    width: min(100%, 370px);
    aspect-ratio: 1;
    border: 1px solid rgba(245, 204, 133, .45);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(
        circle,
        rgba(246, 188, 100, .16),
        rgba(246, 188, 100, .025) 65%,
        transparent
    );
    box-shadow:
        0 0 0 15px rgba(240, 192, 122, .035),
        0 0 70px rgba(239, 171, 84, .12);
    animation: tob-diwali-breathe 3.5s ease-in-out infinite;
}

.tob-diwali-hero__symbol {
    font-size: 95px;
    line-height: 1.5;
    animation: tob-diwali-float 3s ease-in-out infinite;
}

.tob-diwali-hero__wish {
    color: #f3cf94;
    font-family: Georgia, serif;
    font-size: clamp(23px, 3vw, 34px);
    letter-spacing: 4px;
}

.tob-diwali-hero__small {
    margin-top: 10px;
    color: #e9d5c1;
    font-size: 12px;
    letter-spacing: 1px;
}

.tob-diwali-hero__stars {
    margin-top: 22px;
    color: #f4c878;
    letter-spacing: 12px;
}

/* DECORATIONS */

.tob-diwali-decor {
    position: fixed;
    inset: 0;
    z-index: 70;
    pointer-events: none;
    overflow: hidden;
}

.tob-diwali-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 0 10px;
}

.tob-diwali-light {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffc96c;
    box-shadow: 0 0 14px 5px rgba(255, 188, 82, .55);
    animation: tob-diwali-twinkle 2s ease-in-out infinite;
}

.tob-diwali-light::before {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 2px;
    width: 1px;
    height: 20px;
    background: rgba(174, 124, 67, .4);
}

.tob-diwali-light:nth-child(3n) {
    animation-delay: .6s;
}

.tob-diwali-light:nth-child(3n + 1) {
    animation-delay: 1.2s;
}

.tob-diwali-diya {
    position: absolute;
    bottom: 22px;
    width: 56px;
    height: 65px;
    opacity: .85;
}

.tob-diwali-diya--left {
    left: 18px;
}

.tob-diwali-diya--right {
    right: 18px;
}

.tob-diwali-flame {
    position: absolute;
    bottom: 26px;
    left: 23px;
    width: 12px;
    height: 27px;
    background: #ffbd45;
    border-radius: 80% 0 80% 80%;
    transform: rotate(-45deg);
    box-shadow: 0 0 18px #f5a637;
    animation: tob-diwali-flame 1.5s ease-in-out infinite;
}

.tob-diwali-bowl {
    position: absolute;
    bottom: 8px;
    left: 5px;
    width: 48px;
    height: 21px;
    border-radius: 4px 4px 50% 50%;
    background: linear-gradient(#e8a74e, #a35c29);
    border: 1px solid #c28b4a;
}

/* GIFTS */

.tob-diwali-gifts {
    background: #fff7ed;
    padding: 90px 0;
    color: #44262b;
}

.tob-diwali-section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.tob-diwali-section-heading .tob-diwali-kicker {
    color: #a36d37;
}

.tob-diwali-section-heading h2 {
    margin: 14px 0;
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.2;
}

.tob-diwali-section-heading h2 em {
    color: #9b5c40;
}

.tob-diwali-section-heading p {
    color: #846e63;
    line-height: 1.8;
}

.tob-diwali-gifts__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tob-diwali-gift-card {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f0dfcd;
    box-shadow: 0 12px 35px rgba(72, 36, 29, .05);
    transition: transform .3s, box-shadow .3s;
}

.tob-diwali-gift-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(72, 36, 29, .1);
}

.tob-diwali-gift-card__art {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(
        circle,
        #fff0d4,
        #eed5b7
    );
}

.tob-diwali-gift-card:nth-child(2) .tob-diwali-gift-card__art {
    background: radial-gradient(circle, #e7c5a8, #b78373);
}

.tob-diwali-gift-card:nth-child(3) .tob-diwali-gift-card__art {
    background: radial-gradient(circle, #f6e6bd, #d8b47d);
}

.tob-diwali-gift-card__art > span:first-child {
    font-size: 100px;
    filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .12));
}

.tob-diwali-gift-card__spark {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #a56a35;
    font-size: 28px;
}

.tob-diwali-gift-card__body {
    padding: 26px;
}

.tob-diwali-gift-card__body h3 {
    font-family: Georgia, serif;
    font-size: 23px;
    margin: 0 0 12px;
}

.tob-diwali-gift-card__body p {
    color: #887267;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.tob-diwali-gift-card__body a {
    color: #8a4735;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.tob-diwali-gifts__footer {
    margin-top: 38px;
    text-align: center;
}

/* POPUP */

.tob-diwali-popup {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tob-diwali-popup.is-visible {
    display: flex;
}

.tob-diwali-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(25, 13, 18, .75);
    backdrop-filter: blur(5px);
}

.tob-diwali-popup__card {
    position: relative;
    width: min(100%, 460px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px 34px;
    border: 1px solid #e6c38d;
    border-radius: 18px;
    background: #fff7ed;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .25);
    animation: tob-diwali-popup-in .45s ease both;
}

.tob-diwali-popup__close {
    position: absolute;
    right: 15px;
    top: 10px;
    border: 0;
    background: transparent;
    color: #6c4440;
    font-size: 30px;
    cursor: pointer;
}

.tob-diwali-popup__diya {
    font-size: 75px;
    margin-bottom: 15px;
}

.tob-diwali-popup__card h2 {
    margin: 12px 0 16px;
    color: #512a30;
    font-family: Georgia, serif;
    font-size: 45px;
    font-weight: 500;
}

.tob-diwali-popup__card h2 em {
    color: #bd7d45;
}

.tob-diwali-popup__card p {
    color: #806c63;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tob-diwali-popup__brand {
    margin-bottom: 25px;
    color: #9b6846;
    font-family: Georgia, serif;
    font-style: italic;
}

/* ANIMATIONS */

@keyframes tob-diwali-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes tob-diwali-breathe {
    0%, 100% { box-shadow: 0 0 30px rgba(239,171,84,.08); }
    50% { box-shadow: 0 0 65px rgba(239,171,84,.22); }
}

@keyframes tob-diwali-twinkle {
    0%, 100% { opacity: .4; }
    50% { opacity: 1; }
}

@keyframes tob-diwali-flame {
    0%, 100% { transform: rotate(-45deg) scale(1); }
    50% { transform: rotate(-48deg) scale(1.12); }
}

@keyframes tob-diwali-popup-in {
    from { opacity: 0; transform: translateY(25px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .tob-diwali-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tob-diwali-hero__content p {
        margin-inline: auto;
    }

    .tob-diwali-actions {
        justify-content: center;
    }

    .tob-diwali-hero__visual {
        min-height: 280px;
    }

    .tob-diwali-hero__visual-inner {
        width: 280px;
    }

    .tob-diwali-gifts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .tob-diwali-hero {
        padding: 55px 0;
    }

    .tob-diwali-hero__content h1 {
        font-size: 39px;
    }

    .tob-diwali-hero__content p {
        font-size: 14px;
    }

    .tob-diwali-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tob-diwali-hero__visual {
        min-height: 245px;
    }

    .tob-diwali-hero__visual-inner {
        width: 230px;
    }

    .tob-diwali-hero__symbol {
        font-size: 60px;
    }

    .tob-diwali-hero__wish {
        font-size: 23px;
    }

    .tob-diwali-gifts {
        padding: 60px 0;
    }

    .tob-diwali-gifts__grid {
        grid-template-columns: 1fr;
    }

    .tob-diwali-gift-card__art {
        min-height: 190px;
    }

    .tob-diwali-diya {
        transform: scale(.65);
        transform-origin: bottom;
    }

    .tob-diwali-diya--left {
        left: 2px;
    }

    .tob-diwali-diya--right {
        right: 2px;
    }

    .tob-diwali-popup__card {
        padding: 38px 22px;
    }

    .tob-diwali-popup__card h2 {
        font-size: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tob-diwali-hero__visual-inner,
    .tob-diwali-hero__symbol,
    .tob-diwali-light,
    .tob-diwali-flame,
    .tob-diwali-popup__card {
        animation: none;
    }
}


/* =====================================================
   THE ONLY BAKER — DIWALI DIYA POSITION FIX
   Avoid WhatsApp and Back-to-Top button overlap
===================================================== */

/* Desktop: move diyas inward from both corners */
.tob-diwali-decor .tob-diwali-diya {
    bottom: 22px;
    width: 56px;
    height: 65px;
    opacity: 0.95;
    z-index: 1;
    pointer-events: none;
}

.tob-diwali-decor .tob-diwali-diya--left {
    left: 105px;
    right: auto;
}

.tob-diwali-decor .tob-diwali-diya--right {
    right: 105px;
    left: auto;
}

/* Tablet */
@media (max-width: 900px) {
    .tob-diwali-decor .tob-diwali-diya--left {
        left: 90px;
    }

    .tob-diwali-decor .tob-diwali-diya--right {
        right: 90px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .tob-diwali-decor .tob-diwali-diya {
        bottom: 18px;
        transform: scale(0.65);
        transform-origin: bottom center;
    }

    .tob-diwali-decor .tob-diwali-diya--left {
        left: 70px;
        right: auto;
    }

    .tob-diwali-decor .tob-diwali-diya--right {
        right: 70px;
        left: auto;
    }
}

/* Very small mobile screens */
@media (max-width: 360px) {
    .tob-diwali-decor .tob-diwali-diya--left {
        left: 62px;
    }

    .tob-diwali-decor .tob-diwali-diya--right {
        right: 62px;
    }
}

/* =====================================================
   THE ONLY BAKER — DIWALI DIYA POSITION FIX
   Avoid WhatsApp and Back-to-Top button overlap
===================================================== */

/* Desktop: move diyas inward from both corners */
.tob-diwali-decor .tob-diwali-diya {
    bottom: 22px;
    width: 56px;
    height: 65px;
    opacity: 0.95;
    z-index: 1;
    pointer-events: none;
}

.tob-diwali-decor .tob-diwali-diya--left {
    left: 105px;
    right: auto;
}

.tob-diwali-decor .tob-diwali-diya--right {
    right: 105px;
    left: auto;
}

/* Tablet */
@media (max-width: 900px) {
    .tob-diwali-decor .tob-diwali-diya--left {
        left: 90px;
    }

    .tob-diwali-decor .tob-diwali-diya--right {
        right: 90px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .tob-diwali-decor .tob-diwali-diya {
        bottom: 18px;
        transform: scale(0.65);
        transform-origin: bottom center;
    }

    .tob-diwali-decor .tob-diwali-diya--left {
        left: 70px;
        right: auto;
    }

    .tob-diwali-decor .tob-diwali-diya--right {
        right: 70px;
        left: auto;
    }
}

/* Very small mobile screens */
@media (max-width: 360px) {
    .tob-diwali-decor .tob-diwali-diya--left {
        left: 62px;
    }

    .tob-diwali-decor .tob-diwali-diya--right {
        right: 62px;
    }
}

