/* ==========================================================================
   GemJinnie x Voltix "Scarlet" — homepage section styles
   Loaded ONLY on the homepage (index.php sets $gj_home = true), so category,
   product and cart pages never download it.

   Clean-room implementation of the Scarlet design language: colours, type
   scale, spacing and section composition are re-implemented here - no CSS,
   JS or image from the (paid) Voltix theme is vendored into this project.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Section scaffold
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-home {
  background: var(--gj-bg);
}

body.gj-redesign .gj-section {
  padding: var(--gj-sec) 0;
  background: var(--gj-bg);
}

body.gj-redesign .gj-section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(28px, 3.4vw, 52px);
  text-align: center;
}

body.gj-redesign .gj-section__head--left {
  align-items: flex-start;
  text-align: left;
}

body.gj-redesign .gj-section__eyebrow {
  margin: 0;
  font-family: var(--gj-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gj-gold);
  line-height: 1.4;
}

body.gj-redesign .gj-section__title {
  margin: 0;
  font-family: var(--gj-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--gj-ink);
}

/* Honest empty state - never a blank section. */
body.gj-redesign .gj-home-empty {
  padding: clamp(28px, 4vw, 56px) 24px;
  text-align: center;
  background: var(--gj-bg-2);
  border: 1px solid var(--gj-line);
}

body.gj-redesign .gj-home-empty p {
  margin: 0;
  font-size: 14.5px;
  color: var(--gj-muted);
}

/* --------------------------------------------------------------------------
   2. Hero
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-hero {
  position: relative;
  width: 100%;
  background: var(--gj-bg-2);
}

body.gj-redesign .gj-hero__inner {
  display: block;
}

body.gj-redesign .gj-hero__slide {
  position: relative;
  min-height: 530px;
  display: flex;
  align-items: flex-end;
}

/* Bootstrap hides every slide but the active one with `.carousel-item
   { display: none }`. Our own rule above is more specific than that, so
   without this correction every slide stayed in the flow and the NEXT
   slide's dark scrim painted over the current slide's photograph - which
   is exactly what clipped the hero sub-head behind a dark band. */
body.gj-redesign .gj-hero .carousel-item {
  display: none;
}

body.gj-redesign .gj-hero .carousel-item.active {
  display: flex;
}
body.gj-redesign .gj-hero__media {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

body.gj-redesign .gj-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

body.gj-redesign .gj-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.12) 38%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0) 62%);
}

body.gj-redesign .gj-hero__overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--gj-pad);
}

body.gj-redesign .gj-hero__content {
  max-width: 70ch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  color: #fff;
}

body.gj-redesign .gj-hero__eyebrow {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

body.gj-redesign .gj-hero__title {
  margin: 0;
  font-family: var(--gj-display);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

body.gj-redesign .gj-hero__copy {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(14px, 1.2vw, 16.5px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

body.gj-redesign .gj-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

body.gj-redesign .gj-hero__cta .gj-btn {
  width: auto;
  min-width: 168px;
}

body.gj-redesign .gj-hero__link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

body.gj-redesign .gj-hero__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -6px;
}

/* Progress bar (autoplay only) */
body.gj-redesign .gj-hero__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
}

body.gj-redesign .gj-hero__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gj-gold-hover);
  animation: gj-hero-progress 6s linear forwards;
}

@keyframes gj-hero-progress {
  from { width: 0; }
  to   { width: 100%; }
}

/* Play / pause */
body.gj-redesign .gj-hero-playpause {
  position: absolute;
  right: clamp(12px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 5;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--gj-dur) var(--gj-ease), border-color var(--gj-dur) var(--gj-ease);
}

body.gj-redesign .gj-hero-playpause:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Prev / next */
body.gj-redesign .gj-hero__nav {
  top: 50%;
  bottom: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  opacity: 1;
  transform: translateY(-50%);
  transition: background var(--gj-dur) var(--gj-ease), border-color var(--gj-dur) var(--gj-ease);
}

body.gj-redesign .gj-hero__nav:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

body.gj-redesign .carousel-control-prev.gj-hero__nav { left: clamp(12px, 3vw, 40px); }
body.gj-redesign .carousel-control-next.gj-hero__nav { right: clamp(12px, 3vw, 40px); }

/* Phones: the headline block fills the lower hero, so the arrows move to the
   top corners instead of sitting on the first line of the title. */
@media (max-width: 767.98px) {
  body.gj-redesign .gj-hero__nav {
    top: 16px;
    transform: none;
  }
}

body.gj-redesign .gj-hero__nav .carousel-control-prev-icon,
body.gj-redesign .gj-hero__nav .carousel-control-next-icon {
  width: 1.1rem;
  height: 1.1rem;
  background-size: 1.1rem 1.1rem;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   3. Shop by Category
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-cats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gj-gap);
}

body.gj-redesign .gj-cats__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gj-ink);
  text-align: center;
  transition: transform var(--gj-dur) var(--gj-ease);
}

body.gj-redesign .gj-cats__tile:hover {
  transform: translateY(-2px);
}

body.gj-redesign .gj-cats__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gj-tile);
  border: 1px solid var(--gj-line);
}

body.gj-redesign .gj-cats__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--gj-ease);
}

body.gj-redesign .gj-cats__tile:hover .gj-cats__img,
body.gj-redesign .gj-cats__tile:focus-visible .gj-cats__img {
  transform: scale(1.04);
}

body.gj-redesign .gj-cats__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.gj-redesign .gj-cats__monogram {
  font-family: var(--gj-display);
  font-size: clamp(40px, 6vw, 64px);
  color: var(--gj-disabled);
}

body.gj-redesign .gj-cats__label {
  display: block;
  width: 100%;
  font-family: var(--gj-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

body.gj-redesign .gj-cats__meta {
  display: block;
  width: 100%;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gj-muted);
}

body.gj-redesign .gj-cats__meta--soon {
  color: var(--gj-muted);
  font-style: italic;
}

/* A collection that is announced but not yet stocked is not a link, so it
   is muted and cannot be hovered into a false promise. */
body.gj-redesign .gj-cats__tile--soon {
  color: var(--gj-muted);
}

body.gj-redesign .gj-cats__tile--soon .gj-cats__img {
  filter: saturate(0.55);
  opacity: 0.72;
}

body.gj-redesign .gj-cats__tile--soon:hover {
  transform: none;
}

body.gj-redesign .gj-cats__tile--soon:hover .gj-cats__img,
body.gj-redesign .gj-cats__tile--soon:focus-visible .gj-cats__img {
  transform: none;
}

body.gj-redesign .gj-cats__tile--soon::after {
  display: none;
}

body.gj-redesign .gj-cats__cta {
  position: relative;
  display: block;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gj-gold);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--gj-dur) var(--gj-ease), transform var(--gj-dur) var(--gj-ease);
}

/* A touch device has no hover, so the call to action has to be readable
   without one - otherwise the tile reads as a bare image. */
@media (hover: none) {
  body.gj-redesign .gj-cats__cta {
    opacity: 1;
    transform: none;
  }
}

body.gj-redesign .gj-cats__tile::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gj-gold);
  transform: translateX(-50%);
  transition: width 0.45s var(--gj-ease);
}

body.gj-redesign .gj-cats__tile:hover::after,
body.gj-redesign .gj-cats__tile:focus-visible::after {
  width: 64px;
}

body.gj-redesign .gj-cats__tile:hover .gj-cats__cta,
body.gj-redesign .gj-cats__tile:focus-visible .gj-cats__cta {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. Product grids + rails (shared card skin lives in the core sheet)
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-tabs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gj-gap);
}

body.gj-redesign .gj-rail__carousel {
  margin: 0;
}

body.gj-redesign .gj-rail__carousel .product-owl-item {
  padding: 0 6px;
}

/* --------------------------------------------------------------------------
   5. Product tabs
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-tabs__list {
  flex-wrap: nowrap;
  gap: 24px;
  margin: 0 0 clamp(24px, 3vw, 40px);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--gj-line);
  overflow-x: auto;
  scrollbar-width: thin;
}

body.gj-redesign .gj-tabs__tab {
  flex: 0 0 auto;
  padding: 6px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--gj-muted);
  font-family: var(--gj-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--gj-dur) var(--gj-ease), border-color var(--gj-dur) var(--gj-ease);
}

body.gj-redesign .gj-tabs__tab:hover {
  color: var(--gj-ink);
}

body.gj-redesign .gj-tabs__tab.active,
body.gj-redesign .gj-tabs__tab[aria-selected="true"] {
  color: var(--gj-ink);
  font-weight: 700;
  border-bottom-color: var(--gj-gold);
}

body.gj-redesign .gj-tabs__panels {
  padding-top: clamp(20px, 2.6vw, 34px);
}

/* --------------------------------------------------------------------------
   6. Gift special
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-gift__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

body.gj-redesign .gj-gift__card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gj-tile);
  transition: transform var(--gj-dur) var(--gj-ease);
}

body.gj-redesign .gj-gift__card:hover {
  transform: translateY(-2px);
}

body.gj-redesign .gj-gift__media {
  display: block;
  position: relative;
}

body.gj-redesign .gj-gift__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.gj-redesign .gj-gift__card:hover .gj-gift__img,
body.gj-redesign .gj-gift__card:focus-visible .gj-gift__img {
  transform: scale(1.05);
}

body.gj-redesign .gj-gift__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(20px, 2.6vw, 34px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0) 100%);
}

body.gj-redesign .gj-gift__title {
  font-family: var(--gj-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

body.gj-redesign .gj-gift__sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

/* --------------------------------------------------------------------------
   7. Countdown
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-countdown__band {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(26px, 5vw, 70px);
  background: var(--gj-bg-2);
  border: 1px solid var(--gj-line);
}

body.gj-redesign .gj-countdown__title {
  margin: 0;
  font-family: var(--gj-display);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gj-ink);
}

body.gj-redesign .gj-countdown__end {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--gj-muted);
}

body.gj-redesign .gj-countdown__timer {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 32px);
}

body.gj-redesign .gj-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}

body.gj-redesign .gj-countdown__unit + .gj-countdown__unit {
  padding-left: clamp(14px, 2.4vw, 32px);
  border-left: 1px solid rgba(128, 97, 50, 0.32);
}

body.gj-redesign .gj-countdown__value {
  font-family: var(--gj-display);
  font-size: clamp(32px, 4.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  color: var(--gj-gold);
  font-variant-numeric: tabular-nums;
}

body.gj-redesign .gj-countdown__value.is-ticking {
  animation: gj-countdown-tick 0.45s var(--gj-ease);
}

@keyframes gj-countdown-tick {
  from { transform: translateY(45%); opacity: 0.35; }
  to   { transform: translateY(0); opacity: 1; }
}

body.gj-redesign .gj-countdown__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gj-muted);
}

body.gj-redesign .gj-countdown__rail {
  margin-top: clamp(24px, 3vw, 44px);
}

/* --------------------------------------------------------------------------
   9. Moments
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-moments__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.gj-redesign .gj-moments__tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gj-tile);
}

body.gj-redesign .gj-moments__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.8s var(--gj-ease);
}

body.gj-redesign .gj-moments__tile:hover .gj-moments__img,
body.gj-redesign .gj-moments__tile:focus-visible .gj-moments__img {
  transform: scale(1.06);
}

body.gj-redesign .gj-moments__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0) 75%);
  transition: background var(--gj-dur) var(--gj-ease);
}

body.gj-redesign .gj-moments__tile:hover .gj-moments__scrim {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.26) 45%, rgba(0, 0, 0, 0) 75%);
}

body.gj-redesign .gj-moments__label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  font-family: var(--gj-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  transition: transform var(--gj-dur) var(--gj-ease);
}

body.gj-redesign .gj-moments__tile:hover .gj-moments__label,
body.gj-redesign .gj-moments__tile:focus-visible .gj-moments__label {
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   10. Shop by price
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-price__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.gj-redesign .gj-price__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 24px 24px;
  text-align: center;
  background: linear-gradient(180deg, #fbf9f5 0%, #f3efe6 100%);
  border: 1px solid var(--gj-line);
  transition: border-color var(--gj-dur) var(--gj-ease), transform var(--gj-dur) var(--gj-ease);
}

a.gj-price__card:hover {
  border-color: var(--gj-gold);
  transform: translateY(-2px);
}

body.gj-redesign .gj-price__title {
  font-family: var(--gj-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--gj-ink);
}

body.gj-redesign .gj-price__count {
  font-size: 12.5px;
  color: var(--gj-muted);
  transition: color var(--gj-dur) var(--gj-ease);
}

a.gj-price__card:hover .gj-price__count {
  color: var(--gj-gold);
}

/* --------------------------------------------------------------------------
   12. Why choose us / About
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-why {
  background: var(--gj-bg-2);
}

/* .gj-why__inner is not capped here: its 8 + 4 card grids need the full
   content width (gemjinnie-redesign.css sets it to --gj-max). */
body.gj-redesign .gj-about__inner {
  max-width: 78ch;
  margin-inline: auto;
  text-align: center;
}

body.gj-redesign .gj-about__inner {
  text-align: center;
}

body.gj-redesign .gj-why__copy,
body.gj-redesign .gj-about__copy {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gj-body);
}

body.gj-redesign .gj-why__copy p,
body.gj-redesign .gj-about__copy p {
  margin-bottom: 14px;
}

body.gj-redesign .gj-why__copy h1,
body.gj-redesign .gj-why__copy h2,
body.gj-redesign .gj-why__copy h3,
body.gj-redesign .gj-about__copy h1,
body.gj-redesign .gj-about__copy h2,
body.gj-redesign .gj-about__copy h3 {
  font-family: var(--gj-display);
  color: var(--gj-ink);
}

body.gj-redesign .gj-about__copy .gj-btn {
  width: auto;
  min-width: 170px;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   13. Breakpoints
   -------------------------------------------------------------------------- */

@media (min-width: 576px) {
  body.gj-redesign .gj-tabs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  body.gj-redesign .gj-gift__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.gj-redesign .gj-price__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.gj-redesign .gj-countdown__band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  body.gj-redesign .gj-hero__slide {
    min-height: 820px;
  }

  body.gj-redesign .gj-cats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.gj-redesign .gj-tabs__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.gj-redesign .gj-gift__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.gj-redesign .gj-moments__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.gj-redesign .gj-price__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  body.gj-redesign .gj-price__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body.gj-redesign .gj-hero__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  body.gj-redesign .gj-hero__cta .gj-btn {
    width: 100%;
    min-width: 0;
  }

  body.gj-redesign .gj-countdown__unit {
    min-width: 58px;
  }

  body.gj-redesign .gj-countdown__unit + .gj-countdown__unit {
    padding-left: 14px;
  }
}

/* Touch devices: reveal the affordances that hover would show. */
@media (hover: none) {
  body.gj-redesign .gj-cats__cta {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   14. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  body.gj-redesign .gj-hero__bar {
    animation: none;
    width: 0;
  }

  body.gj-redesign .gj-countdown__value.is-ticking {
    animation: none;
  }

  body.gj-redesign .gj-cats__img,
  body.gj-redesign .gj-gift__img,
  body.gj-redesign .gj-moments__img {
    transition: none;
  }
}

/* The why-choose-us / about copy is owner HTML that ships its own section
   padding. Inside the Scarlet shell that padding stacks with the section
   rhythm, so the block renders twice as tall as its content. */
body.gj-redesign .gj-why__copy .sp-70,
body.gj-redesign .gj-why__copy .sec-pd-70,
body.gj-redesign .gj-why__copy .sec-pd-50,
body.gj-redesign .gj-why__copy .section-6,
body.gj-redesign .gj-about__copy .sp-70,
body.gj-redesign .gj-about__copy .sec-pd-70,
body.gj-redesign .gj-about__copy .sec-pd-50,
body.gj-redesign .gj-about__copy .section-6 {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

body.gj-redesign .gj-why__copy .sp-70:first-child,
body.gj-redesign .gj-about__copy .sp-70:first-child {
  margin-top: 0;
}

body.gj-redesign .gj-why__copy .terms-condition-style,
body.gj-redesign .gj-about__copy .terms-condition-style,
body.gj-redesign .gj-why__copy .trust-section,
body.gj-redesign .gj-about__copy .trust-section {
  padding: 0;
  margin: 0;
}

body.gj-redesign .gj-why__copy .feature-box {
  background: var(--gj-bg-2);
  border: 1px solid var(--gj-line);
  height: 100%;
}

body.gj-redesign .gj-why__copy .feature-box .icon i,
body.gj-redesign .gj-about__copy .feature-box .icon i {
  color: var(--gj-gold);
}

/* --------------------------------------------------------------------------
   Sparse grids: the CMS can leave a section with one review or one sale
   piece. Centre short rows instead of pinning a lone card to the left edge.
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  body.gj-redesign .gj-countdown .gj-tabs__grid:has(> :nth-child(-n+3):last-child) {
    grid-template-columns: repeat(auto-fit, minmax(240px, 303px));
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Our store / Our story — Scarlet three-column block: large photo, copy,
   small photo with a Vision / Mission accordion.
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-store__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

body.gj-redesign .gj-store__media,
body.gj-redesign .gj-store__thumb {
  overflow: hidden;
  background: var(--gj-tile);
}

body.gj-redesign .gj-store__img,
body.gj-redesign .gj-store__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

body.gj-redesign .gj-store__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

body.gj-redesign .gj-store__body .gj-section__head {
  margin-bottom: 0;
}

body.gj-redesign .gj-store__body .gj-section__title {
  font-size: clamp(26px, 2.6vw, 40px);
  text-transform: uppercase;
}

body.gj-redesign .gj-store__copy {
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gj-body);
}

body.gj-redesign .gj-store__body .gj-btn {
  width: auto;
  min-width: 170px;
}

body.gj-redesign .gj-store__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.gj-redesign .gj-store__point {
  border-bottom: 1px solid var(--gj-line);
}

body.gj-redesign .gj-store__point summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gj-ink);
}

body.gj-redesign .gj-store__point summary::-webkit-details-marker {
  display: none;
}

body.gj-redesign .gj-store__point summary i {
  font-size: 14px;
  color: var(--gj-gold);
  transition: transform var(--gj-dur) var(--gj-ease);
}

body.gj-redesign .gj-store__point[open] summary i {
  transform: rotate(45deg);
}

body.gj-redesign .gj-store__point summary:focus-visible {
  outline: 2px solid var(--gj-gold);
  outline-offset: 2px;
}

body.gj-redesign .gj-store__point p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gj-body);
}

@media (min-width: 992px) {
  body.gj-redesign .gj-store__split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.7fr);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body.gj-redesign .gj-store__split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.gj-redesign .gj-store__aside {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   Testimonials — Scarlet "Words that sparkle": gold band, photo + quote cards.
   -------------------------------------------------------------------------- */

body.gj-redesign .gj-section.gj-quotes {
  background: linear-gradient(180deg, #957441 0%, var(--gj-gold) 60%, #6f532a 100%);
  color: #ffffff;
}

body.gj-redesign .gj-quotes .gj-section__eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

body.gj-redesign .gj-quotes .gj-section__title {
  color: #ffffff;
  text-transform: uppercase;
}

body.gj-redesign .gj-quotes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gj-gap);
}

body.gj-redesign .gj-quotes__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
}

body.gj-redesign .gj-quotes__media {
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

body.gj-redesign .gj-quotes__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s var(--gj-ease);
}

body.gj-redesign .gj-quotes__media:hover img {
  transform: scale(1.04);
}

body.gj-redesign .gj-quotes__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

body.gj-redesign .gj-quotes__stars {
  display: inline-flex;
  gap: 3px;
  font-size: 13px;
  color: #ffffff;
}

body.gj-redesign .gj-quotes__text {
  margin: 0;
}

body.gj-redesign .gj-quotes__text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
}

body.gj-redesign .gj-quotes__by {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

body.gj-redesign .gj-quotes__name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

body.gj-redesign .gj-quotes__product {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.gj-redesign .gj-quotes__product:hover {
  color: #ffffff;
}

body.gj-redesign .gj-quotes .gj-home-empty {
  color: #ffffff;
}

@media (min-width: 768px) {
  body.gj-redesign .gj-quotes__card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }

  body.gj-redesign .gj-quotes__card--text {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  body.gj-redesign .gj-quotes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* A lone review sits centred instead of pinned to the left. */
body.gj-redesign .gj-quotes__grid:has(> :only-child) {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

/* Countdown with one or two pieces on sale: the timer band and the pieces
   share one row instead of leaving a lone card under an empty stretch. */
@media (min-width: 992px) {
  body.gj-redesign .gj-countdown--compact .container {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: var(--gj-gap);
    align-items: stretch;
  }

  body.gj-redesign .gj-countdown--compact .gj-countdown__band {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 36px;
  }

  body.gj-redesign .gj-countdown--compact .gj-countdown__rail {
    margin-top: 0;
  }

  body.gj-redesign .gj-countdown--compact .gj-tabs__grid,
  body.gj-redesign .gj-countdown--compact .gj-tabs__grid:has(> :nth-child(-n+3):last-child) {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-content: stretch;
  }
}

/* A lone text review reads as a pull quote, centred and set larger. */
body.gj-redesign .gj-quotes__grid:has(> :only-child) .gj-quotes__card--text {
  text-align: center;
}

body.gj-redesign .gj-quotes__grid:has(> :only-child) .gj-quotes__card--text .gj-quotes__body {
  align-items: center;
}

body.gj-redesign .gj-quotes__grid:has(> :only-child) .gj-quotes__card--text .gj-quotes__text p {
  font-family: var(--gj-display);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.5;
  text-wrap: pretty;
}

body.gj-redesign .gj-quotes__grid:has(> :only-child) .gj-quotes__card--text .gj-quotes__by {
  align-items: center;
  padding-top: 18px;
  min-width: 160px;
}

/* Owner banner slides: shown whole at their own proportions (2000x524 on
   desktop, 819x524 on phones), never cropped under overlay copy. */
body.gj-redesign .gj-hero__slide--banner,
body.gj-redesign .gj-hero .carousel-item.gj-hero__slide--banner {
  min-height: 0;
  aspect-ratio: 819 / 524;
  background: #0d0d14;
}

@media (min-width: 1024px) {
  body.gj-redesign .gj-hero__slide--banner,
  body.gj-redesign .gj-hero .carousel-item.gj-hero__slide--banner {
    aspect-ratio: 1600 / 524;
  }
}

@media (max-width: 575.98px) {
  /* All four timer units on one line at phone width. */
  body.gj-redesign .gj-countdown__timer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  body.gj-redesign .gj-countdown__unit,
  body.gj-redesign .gj-countdown__unit + .gj-countdown__unit {
    min-width: 0;
    padding-left: 10px;
  }

  body.gj-redesign .gj-countdown__unit:first-child {
    padding-left: 0;
  }

  /* One or two sale pieces fill the width rather than half of it. */
  body.gj-redesign .gj-countdown--compact .gj-tabs__grid {
    grid-template-columns: 1fr;
  }
}

/* Phones already see the large story photo; the second one only repeats it. */
@media (max-width: 767.98px) {
  body.gj-redesign .gj-store__thumb {
    display: none;
  }
}
