/* Gem Theory homepage (local-home.js). Colours from the logo: deep green + gold on cream. */
.gt-home {
  --g-900: #062E30; --g-800: #083B3D; --g-700: #0A4A4D; --g-600: #0E5E62; --g-100: #E3F0EE;
  --gold: #D4A64A; --gold-2: #E7B75F; --cream: #FBF8F3; --cream-2: #F4ECDF; --ink: #0B3B3C; --muted: #4F6665;
  color: var(--ink); font-size: 15px; line-height: 1.6;
}
.gt-home *, .gt-home *::before, .gt-home *::after { box-sizing: border-box; }
.gt-home img { max-width: 100%; display: block; }
.gt-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gt-home h1, .gt-home h2 { font-family: Georgia, "Times New Roman", serif; color: var(--g-700); letter-spacing: 0; text-transform: none; margin: 0; }
.gt-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--g-600); }
.gt-eyebrow span { color: var(--gold); margin: 0 6px; }

/* buttons */
.gt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border: 2px solid var(--g-700); border-radius: 8px; background: var(--g-700); color: #fff !important;
  font-size: 14px; font-weight: 700; letter-spacing: .03em; text-decoration: none !important; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.gt-btn:hover { background: var(--g-800); border-color: var(--g-800); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(8, 59, 61, .22); }
.gt-btn--ghost { background: transparent; color: var(--g-700) !important; }
.gt-btn--ghost:hover { background: var(--g-700); color: #fff !important; }
.gt-btn--block { width: 100%; min-height: 44px; }

/* hero slider: full screen, the whole width and the height below the header (73px; 50px on phones),
   on the logo's deep green. The active slide's photo slowly zooms (Ken Burns) and drifts slower than
   the page on scroll (parallax, --py set by the script). */
.gt-hero {
  position: relative; overflow: hidden; padding: 0 0 22px;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(231, 183, 95, .2), transparent 62%),
    radial-gradient(800px 520px at 100% 100%, rgba(14, 94, 98, .65), transparent 62%),
    linear-gradient(135deg, var(--g-900), var(--g-700) 55%, var(--g-900));
  border-bottom: 40px solid var(--cream); /* a band of the page's cream before the product strip */
}
.gt-home .gt-hero > .gt-wrap { max-width: none; padding: 0; }
.gt-slider { position: relative; height: calc(100svh - 73px); min-height: 460px; overflow: hidden; isolation: isolate; background: var(--g-900); }
.gt-slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.gt-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .9s ease; }
.gt-slide__link { position: absolute; inset: 0; display: block; }
.gt-slide__fill {
  position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none !important;
  object-fit: cover; filter: blur(26px) brightness(.5) saturate(1.2);
}
.gt-kb { position: absolute; inset: 0; display: block; translate: 0 calc(var(--py, 0) * 1px); }
.gt-kb img { width: 100%; height: 100%; object-fit: contain; transform-origin: 30% 50%; }
.gt-slide.is-active .gt-kb img { animation: gt-kenburns 6s ease-out both; }
@keyframes gt-kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }

/* slide text: on the intro's dark side, or on a frosted glass panel */
.gt-slide__copy { position: absolute; z-index: 2; left: 6%; top: 50%; width: 46%; max-width: 640px; transform: translateY(-50%); color: #E3F0EE; }
.gt-glass {
  padding: clamp(18px, 2.6vw, 34px); border: 1px solid rgba(231, 183, 95, .4); border-radius: 18px;
  background: rgba(6, 46, 48, .42); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
.gt-slide__eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #E7B75F; }
.gt-home .gt-slide__title { margin: 0 0 16px; font-size: clamp(30px, 3.7vw, 50px); line-height: 1.12; color: #FFF8EC; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.gt-slide__title em { font-style: normal; color: #F2C46D; }
.gt-slide__text { margin: 0 0 26px; max-width: 470px; font-size: clamp(15px, 1.3vw, 17px); color: #D6E7E4; }
.gt-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.gt-btn--glass { background: rgba(255, 255, 255, .08); border-color: rgba(231, 183, 95, .7); color: #FFF8EC !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gt-btn--glass:hover { background: rgba(231, 183, 95, .22); border-color: #E7B75F; }

/* intro: the bead on the right, fading into the green */
.gt-slide--intro { background: linear-gradient(100deg, #041F21 0%, var(--g-900) 42%, #0D0A07 100%); }
.gt-slide__bead { left: 42%; }
.gt-slide__bead img { object-fit: cover; object-position: 50% 45%; transform-origin: 55% 45%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.gt-slide--intro::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(70% 90% at 75% 45%, transparent 40%, rgba(4, 31, 33, .45) 100%); }

/* Haridwar: the photo fills the frame, the text on glass at the left */
.gt-slide--ghat .gt-kb img { object-fit: cover; object-position: 50% 40%; }
.gt-slide--ghat::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 31, 33, .55), transparent 60%); }

/* ritual: the Pashupatinath card on the right, the text on glass at the left */
.gt-slide--ritual .gt-slide__copy { width: 44%; }
.gt-slide__card {
  inset: 7% 7% 7% auto; aspect-ratio: 760 / 978; border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 3px #E7B75F, 0 0 30px rgba(231, 183, 95, .4), 0 22px 46px rgba(0, 0, 0, .4);
}
.gt-slide__card img { object-fit: cover; transform-origin: 50% 40%; }

/* controls: frosted glass */
.gt-slider__arrow, .gt-slider__bar {
  position: absolute; z-index: 3; border: 1px solid rgba(231, 183, 95, .45); background: rgba(6, 46, 48, .45); color: #FFF8EC;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.gt-slider__arrow {
  top: 50%; display: grid; place-items: center; width: 46px; height: 46px; min-height: 0; padding: 0; border-radius: 50%; cursor: pointer;
  transform: translateY(-50%); transition: background .2s, border-color .2s;
}
.gt-slider__arrow--prev { left: 18px; }
.gt-slider__arrow--next { right: 18px; }
.gt-slider__arrow:hover { background: rgba(231, 183, 95, .3); border-color: #E7B75F; }
.gt-slider__bar { left: 50%; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; transform: translateX(-50%); }
.gt-slider__dot { width: 9px; height: 9px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 248, 236, .45); cursor: pointer; transition: width .3s, background .3s; }
.gt-slider__dot[aria-current] { width: 26px; background: #E7B75F; }
.gt-slider__arrow:focus-visible, .gt-slider__dot:focus-visible, .gt-slide a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.gt-home .gt-slider svg[viewBox="0 0 24 24"] { width: 22px; height: 22px; }

/* the four promises under the slider */
.gt-hero__usp { list-style: none; margin: 20px 0 0; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.gt-hero__usp li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.3; color: #E3F0EE; }
.gt-hero__usp svg { flex: none; color: #E7B75F; }
@media (prefers-reduced-motion: reduce) {
  .gt-slide, .gt-slide.is-active { transition: none; }
  .gt-slide.is-active .gt-kb img { animation: none; }
  .gt-kb { translate: none; }
}

/* sections */
.gt-section { padding: 72px 0; background: var(--cream); }
.gt-section--tint { background: linear-gradient(180deg, #F2F8F7, #FBF8F3); }
.gt-head { text-align: center; margin: 0 auto 36px; max-width: 640px; }
.gt-head h2 { font-size: clamp(26px, 3vw, 36px); }
.gt-head h2::after { content: ""; display: block; width: 72px; height: 3px; margin: 14px auto 12px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--g-600)); }
.gt-head p { margin: 0; color: var(--muted); }
.gt-center { text-align: center; margin: 36px 0 0; }

/* categories */
.gt-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gt-cat { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(8, 59, 61, .08); text-decoration: none !important; transition: transform .25s, box-shadow .25s; }
.gt-cat__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.gt-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gt-cat__label { display: block; padding: 12px 10px; text-align: center; background: linear-gradient(90deg, var(--g-800), var(--g-600)); color: #fff; font: 600 16px/1.3 Georgia, serif; }
.gt-cat:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(8, 59, 61, .18); }
.gt-cat:hover .gt-cat__img img { transform: scale(1.07); }
.gt-cat:hover .gt-cat__label { color: var(--gold-2); }

/* product cards */
.gt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gt-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E4ECEA; border-radius: 14px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.gt-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(8, 59, 61, .14); }
.gt-card__media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.gt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gt-card:hover .gt-card__media img { transform: scale(1.05); }
.gt-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 16px 16px; }
.gt-card__title { color: var(--ink) !important; font-weight: 600; font-size: 15px; line-height: 1.35; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.gt-card__title:hover { color: var(--g-600) !important; }
.gt-card__meta { margin: 0; font-size: 12.5px; color: var(--muted); }
.gt-card__price { margin: 4px 0 12px; font-weight: 700; font-size: 17px; color: var(--g-700); margin-top: auto; }
.gt-card__price s { margin-left: 6px; font-weight: 400; font-size: 13px; color: #8a9897; }
.gt-from { font-weight: 400; font-size: 13px; color: var(--muted); }
.gt-card .local-select { bottom: 12px; left: 12px; }

/* the verses' Devanagari face (the shlokas' band, home-shop.css) */
@font-face {
  font-family: "Rozha One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/local/fonts/rozha-one-devanagari.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
.gt-btn--gold { background: #E7B75F; border-color: #E7B75F; color: var(--g-900) !important; }
.gt-btn--gold:hover { background: #F2C46D; border-color: #F2C46D; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }

/* trust strip */
.gt-trust { background: #fff; border-top: 1px solid #ECE3D4; border-bottom: 1px solid #ECE3D4; padding: 26px 0; }
.gt-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gt-trust__item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.gt-trust__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--g-100); color: var(--g-700); }
.gt-trust__item strong { display: block; color: var(--ink); font-size: 14.5px; }
.gt-trust__item small { display: block; color: var(--muted); font-size: 12.5px; }

/* tablet */
@media (max-width: 1024px) {
  .gt-slide__copy { width: 52%; }
  .gt-slide__text { display: none; }
  .gt-slider__arrow { width: 40px; height: 40px; }
  .gt-grid, .gt-cats { grid-template-columns: repeat(3, 1fr); }
  .gt-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .gt-trust__item { justify-content: flex-start; }
}
/* phone */
@media (max-width: 749px) {
  .gt-section { padding: 48px 0; }
  .gt-wrap { padding: 0 16px; }
  .gt-hero { padding: 0 0 16px; border-bottom-width: 24px; }
  .gt-home .gt-hero > .gt-wrap { padding: 0; }
  .gt-slider { height: calc(100svh - 50px); min-height: 420px; }
  .gt-slider__arrow { display: none; }
  .gt-slider__bar { bottom: 10px; }
  .gt-slide__copy { left: 5%; width: 64%; top: auto; bottom: 52px; transform: none; }
  .gt-slide__eyebrow { margin-bottom: 6px; font-size: 10px; letter-spacing: .16em; }
  .gt-home .gt-slide__title { margin-bottom: 12px; font-size: clamp(20px, 6.2vw, 26px); }
  .gt-slide__actions .gt-btn { min-height: 38px; padding: 0 14px; font-size: 12.5px; }
  .gt-slide__actions .gt-btn--glass { display: none; }
  .gt-slide__bead { left: 30%; }
  .gt-slide--intro::after { background: linear-gradient(90deg, rgba(4, 31, 33, .85) 0, rgba(4, 31, 33, .35) 70%, transparent); }
  .gt-slide--ritual .gt-slide__copy { display: none; }
  /* centred, between 6% from the top and the dots, about as wide as its photo is for that height */
  .gt-slide__card { top: 6%; bottom: 60px; left: 0; right: 0; width: min(86%, calc((100svh - 50px) * .66)); margin: 0 auto; aspect-ratio: auto; }
  .gt-hero__usp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 14px; }
  .gt-hero__usp li { font-size: 12.5px; }
  .gt-cats, .gt-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gt-cat__label { font-size: 14px; padding: 10px 6px; }
  .gt-card__body { padding: 10px 10px 12px; }
  .gt-card__title { font-size: 13.5px; }
  .gt-card__price { font-size: 15px; }
  .gt-trust__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gt-trust__item { flex-direction: column; text-align: center; gap: 8px; }
}

/* the theme sizes every svg to 10px and fills it: keep the line icons as drawn */
.gt-home svg[viewBox="0 0 24 24"] { width: auto; height: auto; fill: none !important; }
.gt-trust__icon svg { width: 26px !important; height: 26px !important; }

/* search results page (/search, local-home.js searchPage) */
.gt-search__form { display: flex; gap: 8px; max-width: 560px; margin: -14px auto 30px; }
.gt-search__form input { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border: 1px solid #DCCFB4; border-radius: 999px; background: #fff; font: inherit; font-size: 15px; color: inherit; }
.gt-search__form input:focus { outline: 2px solid var(--g-600, #0E5E62); outline-offset: -1px; }
.gt-search__form button { height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--g-700, #0A4A4D); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.gt-search__form button:hover { background: var(--g-800, #083B3D); }
.gt-search__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; }
.gt-chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--gold, #D4A64A); background: #fff; color: var(--g-700, #0A4A4D); font-weight: 600; font-size: 14px; text-decoration: none; }
.gt-chip:hover { background: var(--g-700, #0A4A4D); border-color: var(--g-700, #0A4A4D); color: #fff; }
