/* Gift pages (/gifts.aspx and /gifts/{slug}.aspx). Theme colours come from each page (App_Data/gift-pages.json). */
.gp {
    --gp-ink: #2B1F26;
    --gp-muted: #6E5F68;
    --gp-line: #EAD8D2;
    --gp-soft: #FFF8F5;
    --gp-display: "Yatra One", Georgia, serif;
    color: var(--gp-ink);
    font-size: 16px;
    line-height: 1.6;
}
.gp h1, .gp h2, .gp h3 { margin: 0; font-weight: 400; line-height: 1.15; }
.gp p { margin: 0; line-height: 1.6; }
.gp a { transition: color .2s, background-color .2s, border-color .2s; }
.gp a:focus-visible, .gp button:focus-visible, .gp input:focus-visible + span, .gp summary:focus-visible,
.gp input:focus-visible, .gp select:focus-visible, .gp textarea:focus-visible { outline: 3px solid var(--g-accent2); outline-offset: 3px; }

/* Buttons */
.gp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; background: var(--g-accent); color: #fff !important; font-size: 16px; font-weight: 500; text-decoration: none !important; border: 0; cursor: pointer; }
.gp-btn:hover { filter: brightness(1.12); }
.gp-btn-ghost { background: transparent; color: var(--g-accent) !important; border: 2px solid var(--g-accent); }
.gp-btn-ghost:hover { background: var(--g-accent); color: #fff !important; filter: none; }
.gp-btn-wa { background: #1F8F4E; }

/* Hero */
.gp-hero { position: relative; overflow: hidden; background: var(--g-bg); color: var(--g-ink); padding: 56px 0 64px; }
.gp-hero-in { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.gp-hero-text { position: relative; z-index: 1; }
.gp-crumbs { font-size: 14px; opacity: .8; margin-bottom: 14px; }
.gp-crumbs a { color: inherit; text-decoration: underline; }
.gp-hero h1 { font-family: var(--gp-display); font-size: clamp(38px, 5.2vw, 66px); color: var(--g-accent); }
.gp-hindi { font-family: var(--gp-display); font-size: clamp(21px, 2.3vw, 28px); color: var(--g-accent2); margin-top: 6px !important; filter: brightness(.82); }
.gp-lead { font-size: 18px; max-width: 34em; margin-top: 18px !important; opacity: .92; }
.gp-lead a { color: inherit; text-decoration: underline; }
.gp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.gp-note { margin-top: 16px !important; font-size: 14.5px; opacity: .85; max-width: 38em; }
.gp-note a { color: inherit; text-decoration: underline; }
.gp-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.gp-jump a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--g-accent); color: var(--g-accent); text-decoration: none; font-size: 15px; }
.gp-jump a:hover { background: var(--g-accent); color: #fff; }

/* dark heroes (Diwali, Karwa Chauth, New Year): light text, bright buttons */
.gp-dark .gp-hero h1 { color: #fff; }
.gp-dark .gp-hindi { filter: none; }
.gp-dark .gp-hero .gp-btn { background: var(--g-accent2); color: var(--g-bg) !important; }
.gp-dark .gp-hero .gp-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.gp-dark .gp-hero .gp-btn-ghost:hover { background: #fff; color: var(--g-bg) !important; }

/* Medallion + ribbon (one orchestrated moment on load) */
.gp-medal { justify-self: center; width: min(300px, 70%); position: relative; z-index: 1; isolation: isolate; }
.gp-medal .gp-ribbon { position: absolute; left: -140px; width: calc(100% + 140px + 50vw); top: 50%; height: 90px; transform: translateY(-50%); pointer-events: none; z-index: -1; }
.gp-disc { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .22)); }
.gp-draw { transform-origin: 258px 60px; animation: gpDraw 1.4s cubic-bezier(.6, .1, .3, 1) both; }
.gp-tassel { animation: gpFade .3s 1.2s both; }
.gp-disc-in { transform-origin: 100px 100px; animation: gpTie .7s 1.1s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes gpDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes gpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gpTie { from { transform: scale(.4) rotate(-60deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }

/* Facts */
.gp-facts { background: #3D2B36; color: #fff; }
.gp-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.gp-facts li { padding: 18px 20px; border-left: 1px solid rgba(255, 255, 255, .18); font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.gp-facts li:first-child { border-left: 0; padding-left: 0; }
.gp-facts b { display: block; color: #fff; font-size: 16px; font-weight: 500; }

/* Section shell */
.gp-sec { padding: 64px 0; }
.gp-head { max-width: 680px; margin-bottom: 28px; }
.gp-head h2 { font-family: var(--gp-display); font-size: clamp(28px, 3.2vw, 40px); color: var(--g-accent); }
.gp-dark .gp-head h2 { color: var(--g-bg); }
.gp-head p { margin-top: 8px !important; color: var(--gp-muted); font-size: 17px; }
.gp-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.gp-more { color: var(--g-accent); font-weight: 500; text-decoration: underline; text-decoration-color: var(--g-accent2); text-underline-offset: 4px; white-space: nowrap; }
.gp-dark .gp-more { color: var(--g-bg); }

/* Gift idea tiles */
.gp-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gp-tile a { display: flex; flex-direction: column; height: 100%; padding: 22px 20px 20px; border-radius: 8px; background: #fff; border: 1px solid var(--gp-line); position: relative; text-decoration: none; color: var(--gp-ink); }
.gp-tile a::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 5px; border-radius: 8px 8px 0 0; background: repeating-linear-gradient(90deg, var(--g-accent) 0 10px, var(--g-accent2) 10px 16px); }
.gp-tile a:hover { border-color: var(--g-accent); }
.gp-tile-img a { padding: 0 0 18px; overflow: hidden; }
.gp-tile-img a::before { display: none; }
.gp-tile-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gp-tile-img .gp-tile-t, .gp-tile-img .gp-tile-d { padding: 0 18px; }
.gp-tile-t { font-family: var(--gp-display); font-size: 22px; line-height: 1.2; color: var(--g-accent); margin-top: 4px; }
.gp-dark .gp-tile-t { color: var(--g-bg); }
.gp-tile-img .gp-tile-t { margin-top: 14px; }
.gp-tile-d { margin-top: 6px; font-size: 15px; color: var(--gp-muted); line-height: 1.5; }

/* Product shelves */
.gp-shelf + .gp-shelf { padding-top: 0; }
.gp-picks { background: var(--gp-soft); border-top: 1px solid var(--gp-line); border-bottom: 1px solid var(--gp-line); }
.gp-picks + .gp-shelf { padding-top: 64px; }
.gp-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.gp-prod { display: flex; flex-direction: column; min-width: 0; }
.gp-prod-img { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #f4ece8; aspect-ratio: 4 / 5; }
.gp-prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gp-prod:hover .gp-prod-img img { transform: scale(1.04); }
.gp-off { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--gp-ink); font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.gp-prod-name { margin-top: 12px; font-size: 15.5px; line-height: 1.4; color: var(--gp-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.gp-prod-name:hover { color: var(--g-accent); text-decoration: underline; }
.gp-price { margin-top: 6px !important; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.gp-price b { font-size: 17px; font-weight: 600; }
.gp-price s { font-size: 14px; color: var(--gp-muted); }
.gp-price .ba-cur-approx { margin-left: 0; }
.gp-add { margin-top: auto; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin-top: 12px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--g-accent); background: #fff; color: var(--g-accent); font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none; }
.gp-add:hover { background: var(--g-accent); color: #fff; }
.gp-dark .gp-add { border-color: var(--g-bg); color: var(--g-bg); }
.gp-dark .gp-add:hover { background: var(--g-bg); color: #fff; }
.gp-add.is-busy { opacity: .6; pointer-events: none; }
.gp-add.is-done { background: #1F8F4E; border-color: #1F8F4E; color: #fff; }
.gp-added { margin-top: 6px; font-size: 14px; text-align: center; }
.gp-added a { color: var(--g-accent); text-decoration: underline; }

/* Budget */
.gp-budget { background: var(--gp-soft); border-top: 1px solid var(--gp-line); border-bottom: 1px solid var(--gp-line); }
.gp-bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gp-band { background: #fff; border: 1px solid var(--gp-line); border-radius: 8px; padding: 22px 24px; }
.gp-band h3 { font-family: var(--gp-display); font-size: 26px; color: var(--g-accent); padding-bottom: 12px; border-bottom: 2px dashed var(--gp-line); }
.gp-dark .gp-band h3 { color: var(--g-bg); }
.gp-band ul { list-style: none; margin: 10px 0 0; padding: 0; }
.gp-band li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; color: var(--gp-ink); text-decoration: none; border-bottom: 1px solid #f4ebe7; }
.gp-band li:last-child a { border-bottom: 0; }
.gp-band li a::after { content: "\203A"; font-size: 22px; line-height: 1; color: var(--g-accent2); }
.gp-band li a:hover { color: var(--g-accent); }

/* Builder + bulk form */
.gp-builder-sec { background: var(--g-accent); color: #fff; }
.gp-dark .gp-builder-sec { background: var(--g-bg); }
.gp-builder-in { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.gp-builder-intro h2 { font-family: var(--gp-display); font-size: clamp(28px, 3.2vw, 40px); color: #fff; }
.gp-builder-intro p { margin-top: 14px !important; color: rgba(255, 255, 255, .85); font-size: 17px; }
.gp-builder, .gp-form { background: #fff; color: var(--gp-ink); border-radius: 10px; padding: 26px; }
.gp-builder fieldset { border: 0; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gp-builder legend { width: 100%; display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--gp-ink); margin-bottom: 10px; padding: 0; float: none; }
.gp-builder legend span { width: 26px; height: 26px; border-radius: 50%; background: var(--g-accent); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.gp-builder label { margin: 0; cursor: pointer; }
.gp-builder input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gp-builder label span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid #d9c8cf; font-size: 15px; color: var(--gp-ink); background: #fff; }
.gp-builder label:hover span { border-color: var(--g-accent); }
.gp-builder input:checked + span { background: var(--g-accent); border-color: var(--g-accent); color: #fff; }
.gp-dark .gp-builder input:checked + span, .gp-dark .gp-builder legend span { background: var(--g-bg); border-color: var(--g-bg); }
.gp-summary { border-top: 1px dashed var(--gp-line); padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.gp-summary-t { font-weight: 500; font-size: 16px; }
.gp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.gp-form label { display: block; font-size: 14.5px; font-weight: 500; margin: 0; }
.gp-form label span { font-weight: 400; color: var(--gp-muted); }
.gp-form .gp-full { grid-column: 1 / -1; }
.gp-form input, .gp-form select, .gp-form textarea { display: block; margin-top: 6px; width: 100%; border: 1px solid #d9c8cf; border-radius: 6px; padding: 10px 12px; font-size: 16px; font-family: inherit; background: #fff; color: var(--gp-ink); }
.gp-form textarea { resize: vertical; }
.gp-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.gp-form-msg { font-size: 15px; }
.gp-form-msg.is-ok { color: #1F6B3F; font-weight: 500; }
.gp-form-msg.is-err { color: #A1262C; }
.gp-form-alt { margin-top: 12px !important; font-size: 14.5px; color: var(--gp-muted); }
.gp-form-alt a { color: var(--g-accent); text-decoration: underline; }
.gp-dark .gp-form-alt a { color: var(--g-bg); }
.gp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Story */
.gp-story-in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; }
.gp-story h2 { font-family: var(--gp-display); font-size: clamp(26px, 3vw, 36px); color: var(--g-accent); margin-bottom: 14px; }
.gp-dark .gp-story h2 { color: var(--g-bg); }
.gp-story p { max-width: 64ch; font-size: 16.5px; color: #3e3138; }
.gp-story p + p { margin-top: 12px !important; }
.gp-story p a { color: var(--g-accent); text-decoration: underline; }
.gp-dark .gp-story p a { color: var(--g-bg); }
.gp-aside { background: var(--gp-soft); border: 1px solid var(--gp-line); border-radius: 8px; padding: 22px 24px; align-self: start; }
.gp-aside h3 { font-family: var(--gp-display); font-size: 22px; color: var(--gp-ink); }
.gp-aside ul { list-style: none; margin: 10px 0 0; padding: 0; }
.gp-aside a { display: block; padding: 7px 0; color: var(--gp-ink); text-decoration: underline; text-decoration-color: var(--g-accent2); text-underline-offset: 3px; }
.gp-aside a:hover { color: var(--g-accent); }

/* FAQ */
.gp-faq { padding-top: 24px; }
.gp-faq-list { max-width: 860px; }
.gp-faq details { border-bottom: 1px solid var(--gp-line); }
.gp-faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-size: 18px; font-weight: 500; color: var(--gp-ink); }
.gp-faq summary::-webkit-details-marker { display: none; }
.gp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--g-accent); }
.gp-faq details[open] summary::after { content: "\2212"; }
.gp-faq details p { padding: 0 0 18px; font-size: 16px; color: #3e3138; max-width: 70ch; }
.gp-faq details p a { color: var(--g-accent); text-decoration: underline; }

/* Related + hub cards */
.gp-related { background: var(--gp-soft); border-top: 1px solid var(--gp-line); }
.gp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.gp-card-link { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--gp-line); border-radius: 8px; text-decoration: none; color: var(--gp-ink); height: 100%; }
.gp-card-link:hover { border-color: var(--g-accent); }
.gp-card-disc { width: 52px; height: 52px; flex: 0 0 52px; }
.gp-card-t { font-weight: 500; line-height: 1.3; }
.gp-card-s { display: block; font-size: 13px; color: var(--gp-muted); }
.gp-card-link > span:not(.gp-card-t) { margin-left: auto; }
.gp-hub-group:nth-of-type(even) { background: var(--gp-soft); }
.gp-hubcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gp-hubcard { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 2px; padding: 18px; height: 100%; border-radius: 10px; background: var(--c-bg); color: var(--c-ink) !important; text-decoration: none !important; border: 1px solid rgba(0, 0, 0, .06); }
.gp-hubcard:hover { box-shadow: 0 8px 22px rgba(43, 31, 38, .14); }
.gp-hubcard .gp-card-disc { grid-row: 1 / span 3; width: 56px; height: 56px; }
.gp-hubcard-t { font-family: var(--gp-display); font-size: 21px; line-height: 1.2; }
.gp-hubcard-s { font-size: 13.5px; opacity: .8; }
.gp-hubcard-d { font-size: 14.5px; line-height: 1.45; opacity: .9; margin-top: 4px; }

/* Responsive */
@media (max-width: 991px) {
    .gp-hero-in { grid-template-columns: 1fr; }
    .gp-medal { order: -1; width: 150px; justify-self: center; }
    .gp-medal .gp-ribbon { left: calc(50% - 50vw); width: 100vw; height: 50px; }
    .gp-facts ul { grid-template-columns: repeat(2, 1fr); }
    .gp-facts li:nth-child(3) { border-left: 0; padding-left: 0; }
    .gp-products { grid-template-columns: repeat(3, 1fr); }
    .gp-bands { grid-template-columns: 1fr; }
    .gp-builder-in, .gp-story-in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 680px) {
    /* product rows scroll sideways on phones */
    .gp-products { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin-right: -12px; }
    .gp-prod { flex: 0 0 62%; scroll-snap-align: start; }
}
@media (max-width: 575px) {
    .gp-hero { padding: 36px 0 44px; }
    .gp-medal { width: 116px; }
    .gp-sec { padding: 48px 0; }
    .gp-facts li { padding: 14px 10px; }
    .gp-cta .gp-btn { flex: 1 1 100%; }
    .gp-builder, .gp-form { padding: 18px; }
    .gp-form-grid { grid-template-columns: 1fr; }
    .gp-summary .gp-btn, .gp-form-foot .gp-btn { width: 100%; }
    .gp-head-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .gp-draw, .gp-tassel, .gp-disc-in { animation: none; }
    .gp-prod-img img { transition: none; }
}
