/* =====================================================================
   Pet Rakhi — Raksha Bandhan limited drop (/pet-rakhi)
   Seasonal page styles. Built on the sitewide tokens in style.css so the
   page stays on-brand; nothing here leaks outside .rakhi-page.
   ===================================================================== */

.rakhi-page {
    --rakhi-red: #B5766B;
    --rakhi-gold: #D9A441;
}

/* ---------- Breadcrumb hero ----------
   The rakhi banner is light cream, so the theme's flat 50% overlay leaves the
   white H1 almost unreadable. Replace it with a directional scrim: dark where
   the heading sits, clear over the rakhis themselves. */
.rakhi-page .breadcumb-bg-thumb::before {
    background: linear-gradient(90deg,
            rgba(42, 31, 24, .84) 0%,
            rgba(42, 31, 24, .72) 38%,
            rgba(42, 31, 24, .38) 64%,
            rgba(42, 31, 24, 0) 92%);
    opacity: 1;
}

.rakhi-page .breadcumb-title {
    text-shadow: 0 2px 14px rgba(42, 31, 24, .45);
}


/* Narrow screens: the title wraps across the full width, so a left-weighted
   scrim no longer sits behind all of it. */
@media (max-width: 991px) {
    .rakhi-page .breadcumb-bg-thumb::before {
        background: linear-gradient(180deg,
                rgba(42, 31, 24, .45) 0%,
                rgba(42, 31, 24, .68) 55%,
                rgba(42, 31, 24, .45) 100%);
    }
}

/* ---------- Section rhythm ----------
   The theme gives .sec-title a 49px bottom margin, which stacks on top of the
   Bootstrap spacing utility on the heading wrapper — that put ~97px between a
   heading and its content. Pull the title margin in and let the wrapper own the
   gap to the content below. */
.rakhi-page .sec-title {
    margin-bottom: 16px;
}

/* ---------- Urgency strip ----------
   Contained rather than full-bleed: the breadcrumb card above is an inset,
   rounded panel, so an edge-to-edge bar cuts across its rounded corners and
   collides with the breadcrumb pill. */
.rakhi-strip-wrap {
    margin-top: 30px;
}

.rakhi-strip {
    background: linear-gradient(135deg, var(--brand-brown) 0%, var(--theme-color) 100%);
    color: #fff;
    padding: 15px 26px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(58, 45, 34, .12);
}

.rakhi-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 26px;
    text-align: center;
    font-size: 15px;
}

.rakhi-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rakhi-strip-item i {
    opacity: .85;
}

.rakhi-strip strong {
    color: #fff;
    font-weight: 700;
}

.rakhi-strip-closed {
    background: var(--brand-brown);
}

/* ---------- Intro ---------- */
.rakhi-lede {
    font-size: 18px;
    line-height: 1.75;
    color: var(--body-color);
}

.rakhi-lede+.rakhi-lede {
    margin-top: 14px;
}

.rakhi-signoff {
    margin-top: 22px;
    font-family: var(--th-ff-heading, inherit);
    font-size: 20px;
    color: var(--theme-color);
    font-style: italic;
}

/* ---------- Product card ----------
   The card is a flex column so the price/CTA row can be pinned to the bottom
   with margin-top:auto. Blurbs run to different lengths, and without this the
   buy row floats at a different height in every card. */
.rakhi-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rakhi-card .product-img {
    background: var(--brand-cream);
}

.rakhi-card .product-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Theme cards centre their copy; with a description and a price to line up,
   a single left edge reads cleaner. */
.rakhi-card .product-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    text-align: left;
    padding: 0 22px 22px;
}

.rakhi-card .product-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin: 12px 0 0;
}

.rakhi-blurb {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body-color);
    margin: 8px 0 16px;
}

/* Every design is limited, so a loud badge on all 14 stops meaning anything.
   Kept as a quiet marker over the photo instead of a red shout. */
.rakhi-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(42, 31, 24, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 20px;
}

/* Price + CTA share one row, pinned to the card's bottom edge. */
.rakhi-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.rakhi-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color);
    line-height: 1;
}

.rakhi-card .product-inquire-btn {
    flex: 0 0 auto;
}

/* ---------- "How pre-booking works" ---------- */
.rakhi-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.rakhi-step {
    background: #fff;
    border: 1px solid var(--th-border-color);
    border-radius: 16px;
    padding: 26px 22px;
    text-align: center;
}

.rakhi-step-num {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-cream);
    color: var(--theme-color);
    font-weight: 700;
    font-size: 17px;
}

.rakhi-step h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.rakhi-step p {
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    color: var(--body-color);
}

/* ---------- FAQ ---------- */
.rakhi-faq {
    max-width: 820px;
    margin: 0 auto;
}

.rakhi-faq-item {
    border: 1px solid var(--th-border-color);
    border-radius: 14px;
    background: #fff;
    padding: 20px 24px;
}

.rakhi-faq-item+.rakhi-faq-item {
    margin-top: 14px;
}

.rakhi-faq-item h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.rakhi-faq-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--body-color);
}

/* The .rakhi-nav-pill nav item is styled in style.css — it renders in the
   header on every page, and this sheet only loads on /pet-rakhi. */

@media (max-width: 575px) {
    .rakhi-strip-wrap {
        margin-top: 20px;
    }

    .rakhi-strip {
        padding: 13px 18px;
        border-radius: 14px;
    }

    .rakhi-strip-inner {
        font-size: 14px;
        gap: 8px 18px;
    }

    .rakhi-lede {
        font-size: 16px;
    }

    /* Two cards per row on phones — the price and CTA no longer fit side by
       side, so stack them and let the button span the card. */
    .rakhi-card .product-content {
        padding: 0 14px 16px;
    }

    .rakhi-card .product-title {
        font-size: 16px;
    }

    .rakhi-blurb {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .rakhi-buy {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .rakhi-card .product-inquire-btn {
        justify-content: center;
        width: 100%;
    }
}
