/* NexTych Astra home: quick free-tool tiles and report boxes (home pages only). */

/* Shloka band: shorter on phones so the tools and form come up sooner */
@media (max-width: 720px) {
  .mantra-band { padding: .8rem .9rem .75rem; margin-top: .75rem; }
  .mantra-band .mantra-om { font-size: 1.3rem; margin-bottom: .15rem; }
  .mantra-band .mantra { font-size: 1.08rem; line-height: 1.5; }
  .mantra-band .mantra-alt, .mantra-band .mantra-mean { display: none; }
  .mantra-band .mantra-src { margin-top: .25rem !important; }
}

/* ---------- Free tools: icon tiles ---------- */
.quick-tiles { max-width: var(--wrap); margin: clamp(1rem, 3vw, 1.6rem) auto 0; padding: 0 var(--gap); }
.qt-head { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; font: 600 var(--step-1)/1.2 var(--display); color: var(--kumkum); }
.qt-head::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--turmeric); box-shadow: 0 0 0 4px rgba(217, 151, 26, .2); }
.qt-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .75rem; }
.qt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .5rem; padding: 1rem .5rem .85rem; text-align: center; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1.5px solid #EADFC8; border-radius: 14px; box-shadow: 0 8px 18px -16px rgba(15, 76, 79, .6); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.qt:hover, .qt:focus-visible { transform: translateY(-3px); border-color: var(--turmeric); box-shadow: 0 14px 24px -16px rgba(15, 76, 79, .7); }
.qt-ic { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: linear-gradient(145deg, #1B2257, #0E1330); color: #F2C46B; box-shadow: inset 0 0 0 2px rgba(242, 196, 107, .45); }
.qt-ic svg, .shop-ic svg, .shop-cart svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.qt-l { font-size: .86rem; font-weight: 600; line-height: 1.25; color: var(--peacock); }
.qt-free { position: absolute; top: -.55rem; right: .45rem; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: #F2C46B; border-radius: 999px; padding: .12rem .45rem; }
@media (max-width: 860px) { .qt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; } }
@media (max-width: 420px) {
  .qt { padding: .8rem .3rem .7rem; border-radius: 12px; gap: .4rem; }
  .qt-ic { width: 2.6rem; height: 2.6rem; }
  .qt-l { font-size: .74rem; }
  .qt-free { font-size: .56rem; right: .25rem; }
}

/* ---------- Reports: boxes ---------- */
.shop .sec-head h2 { color: var(--kumkum); }
.shop-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.4rem; align-items: center; margin: 1rem 0 1.25rem; padding: 1.4rem 1.5rem;
  color: var(--white); background: radial-gradient(120% 140% at 0% 0%, #1F2760 0%, #1B2257 45%, #0E1330 100%); border: 2px solid #D9971A; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 36px -24px rgba(10, 54, 56, .9); }
.shop-hero::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; border: 1.5px solid rgba(242, 196, 107, .25); pointer-events: none; }
.shop-hero .shop-ic { width: 4.2rem; height: 4.2rem; background: rgba(242, 196, 107, .16); color: #F2C46B; box-shadow: inset 0 0 0 2px rgba(242, 196, 107, .6); }
.shop-hero h3 { margin: .35rem 0 .3rem; color: #F7D58A; font-size: var(--step-2); line-height: 1.15; }
.shop-hero .shop-desc { margin: 0; color: #DCEAE7; font-size: var(--step--1); line-height: 1.55; -webkit-line-clamp: 3; }
.shop-hero .shop-side { display: flex; flex-direction: column; gap: .6rem; min-width: 14rem; position: relative; z-index: 1; }
.shop .shop-hero .prod-price { color: #F7D58A; font-size: 2.1rem !important; }
.shop .shop-hero .prod-price .nx-was { color: #CFE0DC; opacity: .85; }
.shop-hero .shop-btns .btn.ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }

.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.shop-card { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.15rem 1.15rem 1rem; background: var(--white); border: 1.5px solid #EADFC8; border-radius: 16px;
  box-shadow: 0 10px 22px -20px rgba(15, 76, 79, .8); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.shop-card:hover { transform: translateY(-3px); border-color: var(--c, var(--peacock)); box-shadow: 0 18px 30px -22px rgba(15, 76, 79, .9); }
.shop-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 16px 16px 0 0; background: var(--c, var(--peacock)); }
.shop-top { display: flex; align-items: center; gap: .7rem; }
.shop-ic { flex: 0 0 auto; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; color: var(--c, var(--peacock)); background: var(--t, #E3EEEA); }
.shop-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.25; color: var(--ink); }
.shop-desc { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.shop-foot { margin-top: auto; display: flex; flex-direction: column; gap: .55rem; padding-top: .35rem; }
.shop .prod-price { margin: 0; font: 1.75rem/1.1 var(--display) !important; color: var(--peacock); display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .4rem; }
.shop .prod-price .nx-was { font-size: .8em; font-weight: 500; color: var(--muted); }
.shop .prod-price .nx-sale-tag { font-size: .62rem; font-weight: 700; letter-spacing: .03em; color: var(--white); background: var(--kumkum); border-radius: 999px; padding: .15rem .5rem; align-self: center; }
.shop-btns { display: flex; gap: .5rem; }
.shop-btns .btn { flex: 1 1 auto; min-height: 44px; margin: 0; padding: .55rem .8rem; font-size: .95rem; }
.shop-cart { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--peacock); background: transparent; color: var(--peacock); cursor: pointer; }
.shop-cart:hover { background: #E3EEEA; }
.shop-hero .shop-cart { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.shop-hero .shop-cart:hover { background: rgba(255, 255, 255, .12); }
.shop-tag { position: absolute; top: -.7rem; right: .9rem; font-size: .7rem; font-weight: 700; letter-spacing: .03em; color: var(--ink); background: #F2C46B; border-radius: 999px; padding: .2rem .6rem; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .5); }
.shop-hero .shop-tag { position: static; display: inline-block; }

/* category colours */
.cat-life { --c: #1B2257; --t: #E1EEEB; }
.cat-love { --c: #8A2140; --t: #F6E4EA; }
.cat-shani { --c: #4B3A8C; --t: #ECE8F7; }
.cat-work { --c: #2F7A4F; --t: #E3F2E8; }
.cat-gem { --c: #B5650B; --t: #FBEEDB; }

.name-sec { padding-top: clamp(1.5rem, 4vw, 2.5rem); }

@media (max-width: 860px) {
  .shop-hero { grid-template-columns: auto minmax(0, 1fr); }
  .shop-hero .shop-side { grid-column: 1 / -1; min-width: 0; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .shop-grid > .shop-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .shop-hero { padding: 1.1rem; gap: .7rem 1rem; border-radius: 16px; }
  .shop-hero .shop-ic { width: 3.2rem; height: 3.2rem; }
  .shop-hero h3 { font-size: 1.3rem; }
  .shop-card { padding: .95rem .8rem .8rem; gap: .4rem; border-radius: 14px; }
  .shop-top { flex-direction: column; align-items: flex-start; gap: .45rem; }
  .shop-ic { width: 2.5rem; height: 2.5rem; }
  .shop-card h3 { font-size: .95rem; }
  .shop-desc { font-size: .78rem; -webkit-line-clamp: 2; }
  .shop .prod-price { font: 1.3rem/1.1 var(--display) !important; gap: 0 .3rem; }
  .shop .prod-price .nx-was { font-size: .78em; }
  .shop-btns { gap: .4rem; }
  .shop-btns .btn { padding: .5rem .4rem; font-size: .85rem; min-height: 42px; }
  .shop-cart { flex-basis: 42px; height: 42px; }
  .shop-tag { font-size: .62rem; right: .5rem; }
  .shop-grid > .shop-card:last-child:nth-child(odd) .shop-top { flex-direction: row; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .qt, .shop-card { transition: none; } .qt:hover, .shop-card:hover { transform: none; } }

/* ---------- 19 Nov 2026: starry hero first, trust strip, shorter phone page ---------- */
.hero.hero-cosmic { position: relative; margin-top: clamp(.75rem, 2.5vw, 1.4rem); padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.1rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2.4rem) !important;
  border-radius: 22px; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 60%, transparent 61%), radial-gradient(1px 1px at 28% 72%, #fff 60%, transparent 61%),
    radial-gradient(1.2px 1.2px at 46% 30%, #F7D58A 60%, transparent 61%), radial-gradient(1px 1px at 63% 12%, #fff 60%, transparent 61%),
    radial-gradient(1.6px 1.6px at 78% 64%, #fff 60%, transparent 61%), radial-gradient(1px 1px at 90% 26%, #F7D58A 60%, transparent 61%),
    radial-gradient(1px 1px at 8% 88%, #fff 60%, transparent 61%), radial-gradient(1.3px 1.3px at 55% 90%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 36% 48%, #fff 60%, transparent 61%), radial-gradient(1px 1px at 70% 42%, #fff 60%, transparent 61%),
    radial-gradient(120% 120% at 30% 20%, #1F2D72 0%, #111A4A 45%, #070B24 100%);
  box-shadow: 0 24px 50px -30px rgba(7, 11, 36, .9); border: 1.5px solid rgba(242, 196, 107, .45); }
.hero.hero-cosmic::before { content: ""; position: absolute; z-index: -1; left: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%);
  border-radius: 50%; border: 1.5px solid rgba(242, 196, 107, .18); box-shadow: 0 0 0 60px rgba(242, 196, 107, .04), 0 0 0 120px rgba(242, 196, 107, .03); }
.hero-cosmic .hero-eyebrow { margin: 0 0 .35rem; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #F2C46B; }
.hero-cosmic h1 { color: #F7D58A; text-shadow: 0 2px 18px rgba(242, 196, 107, .25); }
.hero-cosmic .lede { color: #DCE3FF; }
.hero-cosmic .hero-badges li { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(242, 196, 107, .45); }
.hero-cosmic .hero-badges li::before { color: #F2C46B; }
.hero-cosmic .hero-form { color: var(--ink); box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .7); }
@media (min-width: 900px) { .hero.hero-cosmic { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; } }

.trust-strip { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin: .2rem 0 1rem; padding: 0; }
.trust-strip li { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--peacock); }
.trust-strip svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: #2F7A4F; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.trust-strip a { color: var(--peacock); }

.shop-hero, .shop-card { transition: transform .15s ease, box-shadow .2s ease; }
.shop-hero:hover { box-shadow: 0 18px 40px -20px rgba(217, 151, 26, .65); }

@media (max-width: 560px) {
  .hero.hero-cosmic { border-radius: 16px; }
  .hero-cosmic h1 { font-size: 1.75rem; }
  .hero-cosmic .lede { font-size: 1rem; }
  .trust-strip li { font-size: .8rem; }
  /* phones: first 4 reports, then "All reports" */
  .shop-grid:not(.shop-extra):not(.shop-grid4) > .shop-card:nth-child(n+5) { display: none; }
  .shop-grid:not(.shop-extra):not(.shop-grid4) > .shop-card:nth-child(4) { grid-column: auto; }
  .shop .sec-more a { display: block; text-align: center; padding: .75rem; border: 1.5px solid var(--peacock); border-radius: 10px; font-weight: 700; text-decoration: none; }
  /* smaller picture cards */
  .view-art { aspect-ratio: 9 / 3; }
}

/* "New" tag on the newest report cards */
.shop-card.is-new .shop-top h3::after { content: "New"; display: inline-block; margin-left: .4rem; padding: .08rem .45rem; font: 700 .68rem/1.4 system-ui, sans-serif; letter-spacing: .04em; color: #fff; background: #B3261E; border-radius: 999px; vertical-align: middle; }
html[data-lang="hi"] .shop-card.is-new .shop-top h3::after, html[data-lang="bho"] .shop-card.is-new .shop-top h3::after { content: "नया"; }
html[data-lang="mr"] .shop-card.is-new .shop-top h3::after { content: "नवीन"; }
html[data-lang="gu"] .shop-card.is-new .shop-top h3::after { content: "નવું"; }
html[data-lang="pa"] .shop-card.is-new .shop-top h3::after { content: "ਨਵਾਂ"; }
html[data-lang="bn"] .shop-card.is-new .shop-top h3::after { content: "নতুন"; }
html[data-lang="kn"] .shop-card.is-new .shop-top h3::after { content: "ಹೊಸದು"; }
html[data-lang="ta"] .shop-card.is-new .shop-top h3::after { content: "புதியது"; }
html[data-lang="te"] .shop-card.is-new .shop-top h3::after { content: "కొత్తది"; }

/* ---------- Update 8: hero language row, Today box, problem tiles, 10 free tiles ---------- */
.qt-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) { .qt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.qt-free.qt-new { background: var(--kumkum); color: #fff; }
.hero-langs { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin: .9rem 0 0; font-size: .95rem; }
.hero-langs a { color: #F7D58A; text-decoration: none; border-bottom: 1px dotted rgba(247, 213, 138, .55); }
.hero-langs a:hover { color: #fff; border-bottom-color: #fff; }

.today .td-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1rem; }
@media (max-width: 820px) { .today .td-grid { grid-template-columns: 1fr; } }
.td-card { background: var(--white); border: 1.5px solid #EADFC8; border-radius: 16px; padding: 1.1rem 1.2rem; }
.td-tabs { display: inline-flex; gap: 0; border: 1.5px solid var(--peacock); border-radius: 999px; overflow: hidden; }
.td-tabs button { font: 600 .9rem var(--body); padding: .35rem 1rem; border: 0; background: transparent; color: var(--peacock); cursor: pointer; }
.td-tabs button[aria-pressed="true"] { background: var(--peacock); color: #fff; }
.td-pick { margin: .8rem 0 .4rem; font-size: var(--step--1); color: var(--muted); }
.td-signs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .35rem; }
@media (max-width: 520px) { .td-signs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.td-sign { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .4rem .2rem; border: 1.5px solid #EADFC8; border-radius: 10px; background: var(--paper); cursor: pointer; font: inherit; color: var(--peacock); }
.td-sign span svg { width: 1.9rem; height: 1.9rem; fill: none; stroke: var(--kumkum); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.td-sign b { font-size: .74rem; font-weight: 600; line-height: 1.2; text-align: center; }
.td-sign:hover { border-color: var(--turmeric); }
.td-sign.on { background: #FFF6E0; border-color: var(--turmeric); box-shadow: inset 0 0 0 1px var(--turmeric); }
.td-out { margin-top: .8rem; min-height: 5.5rem; }
.td-out p { margin: 0 0 .4rem; line-height: 1.55; }
.td-date { font-size: var(--step--1); color: var(--muted); }
.td-date b { color: var(--peacock); }
.td-moon { font-size: var(--step--1); color: var(--muted); }
.td-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .7rem 0 0; font-size: var(--step--1); font-weight: 600; }
.td-links a { color: var(--kumkum); text-decoration: none; }
.td-pan h3 { margin: 0 0 .5rem; font-size: var(--step-1); color: var(--peacock); }
.td-dl { margin: 0; display: grid; gap: 0; }
.td-dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed #E1D7C2; font-size: var(--step--1); }
.td-dl dt { color: var(--muted); }
.td-dl dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.td-dl .td-bad dd { color: var(--kumkum); }

.problems .sec-head h2 { color: var(--kumkum); }
.pb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 860px) { .pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pb-grid { grid-template-columns: 1fr; } }
.pb-card { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.05rem; background: var(--white); border: 1.5px solid #EADFC8; border-radius: 16px; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s, box-shadow .15s; }
.pb-card:hover, .pb-card:focus-visible { transform: translateY(-2px); border-color: var(--turmeric); box-shadow: 0 14px 24px -18px rgba(15, 76, 79, .7); }
.pb-ic { flex: 0 0 auto; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: linear-gradient(145deg, #1B2257, #0E1330); color: #F2C46B; }
.pb-ic svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pb-txt { display: flex; flex-direction: column; gap: .2rem; }
.pb-txt b { font-size: 1.05rem; color: var(--peacock); line-height: 1.25; }
.pb-txt span { font-size: var(--step--1); color: var(--muted); line-height: 1.45; }
.pb-txt em { font-style: normal; font-size: .82rem; font-weight: 600; color: var(--kumkum); margin-top: .2rem; }

/* Report preview after the free reading */
.pv-btn { margin: .75rem 0 0 .5rem; }
.pv { position: relative; margin: 1.25rem 0 0; border: 1.5px solid #EADFC8; border-radius: 16px; background: var(--white); overflow: hidden; }
.pv-head { margin: 0; padding: .8rem 1.1rem; font-size: var(--step-1); color: var(--kumkum); border-bottom: 1px solid #EADFC8; }
.pv-frame { max-height: 70rem; overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none; padding: 0 .6rem; }
.pv-fade { position: absolute; left: 0; right: 0; bottom: 0; padding: 9rem 1rem 1.4rem; text-align: center; background: linear-gradient(rgba(251, 252, 250, 0), var(--white) 55%); }
.pv-fade p { max-width: 34rem; margin: 0 auto .8rem; color: var(--ink); font-weight: 500; }
.pv-frame { max-height: 100rem; }
.pv-frame button, .pv-frame .btn, .pv-frame .no-print { display: none !important; }
/* Sample report pages */
.sample .sec-head h2 { color: var(--kumkum); }
.sm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
@media (max-width: 760px) { .sm-grid { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; } .sm-fig { scroll-snap-align: start; } }
.sm-fig { margin: 0; }
.sm-fig a { display: block; height: 26rem; overflow: hidden; border-radius: 12px; border: 1.5px solid #EADFC8; background: #fff; box-shadow: 0 14px 28px -20px rgba(15, 76, 79, .8); position: relative; }
.sm-fig a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem; background: linear-gradient(rgba(255,255,255,0), #fff); }
.sm-fig img { display: block; width: 100%; height: auto; }
.sm-fig figcaption { margin-top: .5rem; text-align: center; font-weight: 600; color: var(--peacock); font-size: var(--step--1); }
.sm-cta { text-align: center; margin: 1.2rem 0 0; }
.sm-cta { display: flex; justify-content: center; }
