/**
 * Gunjan.store design layer: brand tokens (taken from the logo), Elementor widgets,
 * header touches and footer.
 */

:root {
  --gj-primary: #4b0d82;
  --gj-primary-dark: #2a064d;
  --gj-primary-mid: #6a1fb0;
  --gj-primary-soft: #f4ecfb;
  --gj-secondary: #ff6a0d;
  --gj-secondary-dark: #e8500a;
  --gj-secondary-soft: #fff1e6;
  --gj-grad: linear-gradient(135deg, #ff8a0d 0%, #ff3d14 100%);
  --gj-ink: #1b1027;
  --gj-muted: #6b6478;
  --gj-line: #ece6f3;
  --gj-bg: #faf8fc;
  --gj-radius: 18px;
  --gj-shadow: 0 10px 30px rgba(42, 6, 77, 0.08);

  /* Re-point the base theme tokens at the logo colours. */
  --primary-color: var(--gj-primary);
  --primary-hover: var(--gj-primary-dark);
  --accent-color: var(--gj-secondary-dark);
}

body {
  background-color: var(--gj-bg);
}

/* ---------- Full-width Elementor pages ---------- */
body.elementor-template-full-width .site-content {
  padding: 0;
}

body.elementor-template-full-width .site-content > .container {
  max-width: none;
  padding: 0 !important;
}

/* ---------- Shared pieces ---------- */
.gj-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.gj-section {
  padding: 36px 0;
}

.gj-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.gj-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gj-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gj-secondary-soft);
  color: var(--gj-secondary-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.gj-head__title {
  color: var(--gj-ink);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
}

.gj-head__sub {
  margin-top: 6px;
  max-width: 620px;
  color: var(--gj-muted);
  font-size: 0.98rem;
}

.gj-head__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--gj-primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.gj-head__link:hover {
  color: var(--gj-secondary-dark);
}

.gj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gj-btn:hover {
  transform: translateY(-2px);
}

.gj-btn--accent {
  background: var(--gj-grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 80, 10, 0.32);
}

.gj-btn--primary {
  background: var(--gj-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(75, 13, 130, 0.25);
}

.gj-btn--primary:hover {
  background: var(--gj-primary-dark);
}

.gj-stars {
  position: relative;
  display: inline-block;
  color: #e3dcec;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}

.gj-stars::before,
.gj-stars__fill::before {
  content: "\2605\2605\2605\2605\2605";
}

.gj-stars__fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #ffa51f;
}

.gj-empty {
  padding: 28px;
  border: 1px dashed var(--gj-line);
  border-radius: var(--gj-radius);
  color: var(--gj-muted);
  text-align: center;
}

.gj-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gj-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease;
}

.gj-nav:hover {
  background: var(--gj-primary);
  color: #fff;
}

.gj-nav--prev { left: 12px; }
.gj-nav--next { right: 12px; }

.swiper-pagination.gj-hero__dots,
.swiper-pagination.gj-reviews__dots {
  --swiper-pagination-color: var(--gj-secondary);
  --swiper-pagination-bullet-inactive-color: #b9a9cc;
  --swiper-pagination-bullet-inactive-opacity: 0.7;
  --swiper-pagination-bullet-size: 9px;
}

/* ---------- Hero slider ---------- */
.gj-hero {
  padding: 20px 0 8px;
}

.gj-hero__slider {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--gj-shadow);
}

/* Before Swiper starts, show only the first slide instead of a tall stack. */
.gj-hero__slider:not(.swiper-initialized) .gj-hero__slide:not(:first-child) {
  display: none;
}

.gj-hero__slide {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  height: auto;
  min-height: 440px;
  padding: 40px 72px 52px;
}

.gj-hero__slide--purple {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 106, 13, 0.42), transparent 42%),
    linear-gradient(135deg, #5a1299 0%, #2a064d 100%);
  color: #fff;
}

.gj-hero__slide--orange {
  background:
    radial-gradient(circle at 10% 90%, rgba(75, 13, 130, 0.38), transparent 45%),
    linear-gradient(135deg, #ff8a0d 0%, #f2420f 100%);
  color: #fff;
}

.gj-hero__slide--light {
  background: linear-gradient(135deg, #f1e5fb 0%, #ffe9d6 100%);
  color: var(--gj-ink);
}

.gj-hero__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.gj-hero__slide--light .gj-hero__badge {
  background: #fff;
  color: var(--gj-primary);
}

.gj-hero__title {
  font-size: clamp(1.2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.25;
}

.gj-hero__title em {
  font-style: normal;
  color: #ffb45e;
}

.gj-hero__slide--orange .gj-hero__title em {
  color: var(--gj-primary-dark);
}

.gj-hero__slide--light .gj-hero__title em {
  color: var(--gj-secondary-dark);
}

.gj-hero__desc {
  margin-top: 12px;
  max-width: 480px;
  font-size: 1.05rem;
  opacity: 0.92;
}

.gj-hero__text .gj-btn {
  margin-top: 24px;
}

.gj-hero__slide--orange .gj-btn--accent {
  background: var(--gj-primary-dark);
  box-shadow: 0 8px 20px rgba(42, 6, 77, 0.35);
}

.gj-hero__media {
  position: relative;
  justify-self: center;
  width: min(100%, 320px);
}

.gj-hero__frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 6px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px 999px 26px 26px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.gj-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gj-hero__chip {
  position: absolute;
  bottom: 18px;
  left: -18px;
  padding: 8px 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--gj-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  font-size: 0.88rem;
  font-weight: 700;
}

.gj-hero__dots.swiper-pagination {
  bottom: 16px;
}

/* ---------- Products ---------- */
.gj-products__grid,
.gj-cats__grid,
.gj-features__grid {
  display: grid;
  grid-template-columns: repeat(var(--gj-cols, 5), minmax(0, 1fr));
  gap: 18px;
}

.gj-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gj-line);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gj-card:hover {
  border-color: #d9c8ee;
  box-shadow: var(--gj-shadow);
  transform: translateY(-4px);
}

.gj-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 8px 8px 0;
  border-radius: 12px;
  background: var(--gj-primary-soft);
}

.gj-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gj-card:hover .gj-card__media img {
  transform: scale(1.05);
}

.gj-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.gj-card__badge--out {
  right: 8px;
  left: auto;
  background: var(--gj-ink);
}

.gj-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
}

.gj-card__title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.8em;
  color: var(--gj-ink);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gj-card__title a:hover {
  color: var(--gj-primary);
}

.gj-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gj-muted);
  font-size: 0.78rem;
}

.gj-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.gj-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  color: var(--gj-primary);
  font-size: 1.05rem;
  font-weight: 700;
}

.gj-card__price ins {
  order: 1;
  text-decoration: none;
}

.gj-card__price del {
  order: 2;
  color: #a39bb0;
  font-size: 0.8rem;
  font-weight: 500;
}

.gj-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gj-secondary);
  border-radius: 50%;
  color: var(--gj-secondary-dark);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.gj-card__cart:hover,
.gj-card__cart.added {
  background: var(--gj-grad);
  border-color: transparent;
  color: #fff;
}

.gj-card__cart.loading {
  opacity: 0.5;
  pointer-events: none;
}

.gj-card__foot .added_to_cart {
  display: none;
}

/* ---------- Categories ---------- */
.gj-cat {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--gj-radius);
  background: var(--gj-primary);
  color: #fff;
  isolation: isolate;
}

.gj-cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gj-cat:hover img {
  transform: scale(1.07);
}

.gj-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(42, 6, 77, 0) 40%, rgba(42, 6, 77, 0.88) 100%);
}

.gj-cat--plain {
  background: linear-gradient(135deg, var(--gj-primary-mid), var(--gj-primary-dark));
}

.gj-cat__letter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 20%;
  font-size: 3.4rem;
  font-weight: 700;
  opacity: 0.35;
}

.gj-cat__info {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.gj-cat__name {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.gj-cat__count {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ---------- Features ---------- */
.gj-features {
  padding: 18px 0;
}

.gj-features__grid {
  grid-template-columns: repeat(var(--gj-cols, 4), minmax(0, 1fr));
  gap: 14px;
}

.gj-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gj-line);
  border-radius: 16px;
  background: #fff;
}

.gj-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gj-secondary-soft);
  color: var(--gj-secondary-dark);
  font-size: 1.15rem;
}

.gj-feature__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.gj-feature__title {
  color: var(--gj-ink);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.3;
}

.gj-feature__text {
  color: var(--gj-muted);
  font-size: 0.82rem;
}

/* ---------- About ---------- */
.gj-about {
  margin: 20px 0;
  padding: 56px 0;
  background: linear-gradient(135deg, #f4ecfb 0%, #fff4ea 100%);
}

.gj-about__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

.gj-about--reverse .gj-about__media {
  order: 2;
}

.gj-about__media {
  position: relative;
  padding: 0 46px 34px 0;
}

.gj-about__main {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  box-shadow: var(--gj-shadow);
}

.gj-about__small {
  position: absolute;
  right: 0;
  bottom: 0;
  overflow: hidden;
  width: 44%;
  aspect-ratio: 1;
  border: 6px solid #fff;
  border-radius: 20px;
  box-shadow: var(--gj-shadow);
}

.gj-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gj-about__desc {
  margin-top: 12px;
  color: #4a4358;
  font-size: 1.02rem;
  line-height: 1.75;
}

.gj-about__desc p + p {
  margin-top: 10px;
}

.gj-about__points {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  list-style: none;
}

.gj-about__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gj-ink);
  font-weight: 600;
}

.gj-about__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gj-primary);
  color: #fff;
}

/* ---------- Reviews ---------- */
/* .swiper resets padding, so match its weight to keep room for the dots. */
.gj-reviews__slider.swiper {
  padding-bottom: 38px;
}

.gj-reviews__slider .swiper-slide {
  height: auto;
}

.gj-review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--gj-line);
  border-radius: var(--gj-radius);
  background: #fff;
}

.gj-review__text {
  flex: 1;
  color: #4a4358;
  font-size: 0.98rem;
  line-height: 1.7;
}

.gj-review__who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gj-review__who strong {
  display: block;
  color: var(--gj-ink);
  font-size: 0.95rem;
}

.gj-review__who small {
  color: var(--gj-muted);
  font-size: 0.8rem;
}

.gj-review__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gj-grad);
  color: #fff;
  font-weight: 700;
}

.gj-review__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gj-reviews__dots.swiper-pagination {
  bottom: 0;
}

/* ---------- Page header band (About, Contact) ---------- */
.gj-pagehead {
  padding: 30px 0 36px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 106, 13, 0.35), transparent 40%),
    linear-gradient(135deg, #5a1299 0%, #2a064d 100%);
  color: #fff;
  text-align: center;
}

.gj-pagehead__crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.gj-pagehead__crumbs a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gj-pagehead__title {
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.3;
}

.gj-pagehead__sub {
  max-width: 620px;
  margin: 8px auto 0;
  font-size: 1.02rem;
  opacity: 0.92;
}

/* ---------- Contact cards ---------- */
.gj-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gj-contact__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 24px;
  border: 1px solid var(--gj-line);
  border-radius: var(--gj-radius);
  background: #fff;
  color: var(--gj-ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.gj-contact__card:hover {
  border-color: #d9c8ee;
  box-shadow: var(--gj-shadow);
  transform: translateY(-3px);
}

.gj-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--gj-secondary-soft);
  color: var(--gj-secondary-dark);
}

.gj-contact__label {
  color: var(--gj-muted);
  font-size: 0.86rem;
}

.gj-contact__value {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.gj-contact__actions {
  margin-top: 22px;
  text-align: center;
}

.gj-contact__note {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--gj-muted);
  text-align: center;
}

/* ---------- Text pages (privacy policy, terms, payment policy) ---------- */
.gj-prose {
  max-width: 860px;
  margin: 8px auto 24px;
  padding: 34px 38px;
  border: 1px solid var(--gj-line);
  border-radius: var(--gj-radius);
  background: #fff;
  box-shadow: 0 6px 24px rgba(42, 6, 77, 0.05);
}

.gj-prose .entry-header {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gj-line);
}

.gj-prose .entry-title {
  color: var(--gj-ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

.gj-prose .entry-content {
  color: #3d3550;
  font-size: 1.02rem;
  line-height: 1.8;
}

.gj-prose .entry-content > * + * {
  margin-top: 14px;
}

.gj-prose .entry-content h2 {
  margin-top: 30px;
  color: var(--gj-primary);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.gj-prose .entry-content h3 {
  margin-top: 22px;
  color: var(--gj-ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.gj-prose .entry-content ul,
.gj-prose .entry-content ol {
  padding-left: 22px;
}

.gj-prose .entry-content li + li {
  margin-top: 6px;
}

.gj-prose .entry-content a {
  color: var(--gj-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gj-prose .entry-content a:hover {
  color: var(--gj-secondary-dark);
}

.gj-prose__updated {
  color: var(--gj-muted);
  font-size: 0.9rem;
}

/* ---------- Live search ---------- */
.header-search {
  position: relative;
}

.gj-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 1200;
  overflow-y: auto;
  max-height: 70vh;
  padding: 8px;
  border: 1px solid var(--gj-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(42, 6, 77, 0.16);
}

.gj-search-label {
  margin: 4px 8px 6px;
  color: var(--gj-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.gj-search-note {
  margin: 0;
  padding: 14px 10px;
  color: var(--gj-muted);
  font-size: 0.92rem;
  text-align: center;
}

.gj-search-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 6px 8px;
}

.gj-search-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gj-primary-soft);
  color: var(--gj-primary);
  font-size: 0.86rem;
  font-weight: 600;
}

.gj-search-cat small {
  color: var(--gj-muted);
  font-size: 0.74rem;
  font-weight: 500;
}

.gj-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  color: var(--gj-ink);
}

.gj-search-item img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gj-primary-soft);
  object-fit: cover;
}

.gj-search-item__title {
  flex: 1;
  min-width: 0;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.4;
}

.gj-search-item__price {
  flex-shrink: 0;
  color: var(--gj-primary);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.gj-search-item__price del {
  display: block;
  color: #a39bb0;
  font-size: 0.76rem;
  font-weight: 500;
}

.gj-search-item__price ins {
  text-decoration: none;
}

.gj-search-item:hover,
.gj-search-item.is-active,
.gj-search-cat:hover,
.gj-search-cat.is-active {
  background: var(--gj-secondary-soft);
}

.gj-search-all {
  display: block;
  margin-top: 6px;
  padding: 11px;
  border-radius: 12px;
  background: var(--gj-primary);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.gj-search-all:hover,
.gj-search-all.is-active {
  background: var(--gj-primary-dark);
  color: #fff;
}

/* ---------- Header touches ---------- */
.header-topbar {
  background: linear-gradient(90deg, var(--gj-primary) 0%, var(--gj-primary-dark) 100%);
}

.site-branding img,
.site-logo-img,
.custom-logo {
  height: 46px !important;
  max-height: 46px !important;
}

.main-navigation .nav-menu .current-menu-item > a {
  color: var(--gj-primary);
}

/* ---------- Footer ---------- */
/* The base theme styles .site-footer with !important, hence the same here. */
.site-footer.gj-footer {
  margin-top: 40px !important;
  padding: 0 !important;
  background: var(--gj-primary-dark) !important;
  color: #d9cbe9 !important;
  font-size: 0.93rem;
}

.gj-footer a {
  color: #d9cbe9;
}

.gj-footer a:hover {
  color: #ffb45e;
}

/* Flex rather than a fixed grid: the policy and contact columns only exist once they have content. */
.gj-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding: 48px 0 36px;
}

.gj-footer__grid > * {
  flex: 1 1 150px;
  min-width: 0;
}

.gj-footer__grid > .gj-footer__brand {
  flex: 1.6 1 260px;
}

.gj-footer__grid > .gj-footer__col--contact {
  flex: 1.3 1 220px;
}

.gj-footer__contact a,
.gj-footer__contact span {
  overflow-wrap: anywhere;
}

.gj-footer__logo {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 14px;
  background: #fff;
}

.gj-footer__logo img {
  width: auto !important;
  height: 40px !important;
  max-height: 40px !important;
}

.gj-footer h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
}

.gj-footer ul {
  display: grid;
  gap: 9px;
  list-style: none;
}

.gj-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.gj-footer__contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #ffb45e;
}

.gj-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.gj-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.gj-footer__social a:hover {
  background: var(--gj-grad);
  color: #fff;
}

.gj-footer__bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .gj-products__grid,
  .gj-cats__grid {
    grid-template-columns: repeat(var(--gj-cols, 3), minmax(0, 1fr));
  }

  .gj-features__grid {
    grid-template-columns: repeat(var(--gj-cols, 2), minmax(0, 1fr));
  }

  .gj-hero__slide {
    min-height: 360px;
    padding: 32px 56px 48px;
  }

  .gj-about__inner {
    gap: 32px;
  }

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

/* ---------- Mobile: grids stay at two columns ---------- */
@media (max-width: 767px) {
  .gj-wrap {
    padding: 0 12px;
  }

  .gj-section {
    padding: 24px 0;
  }

  .gj-head {
    margin-bottom: 14px;
  }

  .gj-products__grid,
  .gj-cats__grid,
  .gj-features__grid {
    grid-template-columns: repeat(var(--gj-cols, 2), minmax(0, 1fr));
    gap: 10px;
  }

  .gj-hero {
    padding-top: 12px;
  }

  .gj-hero__slider {
    border-radius: 18px;
  }

  .gj-hero__slide {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 12px;
    min-height: 220px;
    padding: 18px 16px 34px;
  }

  .gj-hero__badge {
    margin-bottom: 8px;
    padding: 4px 9px;
    font-size: 0.68rem;
  }

  .gj-hero__desc {
    display: none;
  }

  .gj-hero__text .gj-btn {
    margin-top: 12px;
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .gj-hero__frame {
    border-width: 3px;
  }

  .gj-hero__chip {
    bottom: 8px;
    left: -8px;
    padding: 4px 8px;
    border-radius: 9px;
    font-size: 0.66rem;
  }

  .gj-nav {
    display: none;
  }

  .gj-hero__dots.swiper-pagination {
    bottom: 10px;
  }

  .gj-card__media {
    margin: 6px 6px 0;
  }

  .gj-card__body {
    padding: 9px;
  }

  .gj-card__title {
    font-size: 0.84rem;
  }

  .gj-card__price {
    font-size: 0.95rem;
  }

  .gj-card__cart {
    width: 32px;
    height: 32px;
  }

  .gj-cat__name {
    font-size: 0.92rem;
  }

  /* With an odd number of categories, the first one becomes a wide banner so no card sits alone. */
  .gj-cats__grid > .gj-cat:first-child:nth-last-child(odd) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .gj-feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
  }

  .gj-feature__title {
    font-size: 0.88rem;
  }

  .gj-about {
    padding: 32px 0;
  }

  .gj-about__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .gj-about--reverse .gj-about__media {
    order: 0;
  }

  .gj-about__media {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }

  .gj-footer__grid {
    gap: 26px 16px;
    padding: 32px 0 24px;
  }

  .gj-footer__grid > * {
    flex: 1 1 calc(50% - 8px);
  }

  .gj-footer__grid > .gj-footer__brand,
  .gj-footer__grid > .gj-footer__col--contact {
    flex-basis: 100%;
  }

  .gj-pagehead {
    padding: 22px 0 26px;
  }

  .gj-contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .gj-contact__card {
    padding: 18px;
  }

  .gj-prose {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .gj-search-results {
    max-height: 62vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gj-card,
  .gj-card__media img,
  .gj-cat img,
  .gj-btn {
    transition: none;
  }
}
