/* =========================================================================
   GROCI ECOMMERCE — FRONTEND STYLESHEET
   Completely separate from admin.css. All storefront markup should use
   these classes; no inline `style=""` attributes anywhere in the views.
   ========================================================================= */

:root {
  /* Exact design tokens pulled from Seedcare's real source (base.blade.php) —
     not approximated. My earlier guesses were close on hue but off on the
     precise shades; these are the real values. */
  --gr-primary: #15803d;
  --gr-primary-dark: #14532d;
  --gr-primary-light: #dcfce7;
  --gr-accent: #d97706;
  --gr-accent-light: #fef3c7;
  --gr-danger: #e53935;
  --gr-star: #f59e0b;
  --gr-text: #1c1917;
  --gr-text-muted: #78716c;
  --gr-border: #e7e5e4;
  --gr-bg: #ffffff;
  --gr-bg-page: #fafaf9;
  --gr-bg-alt: #f5f1e8;
  --gr-badge-bg: #fef3c7;
  --gr-leaf-bg: #f0fdf4;
  --gr-leaf-border: #bbf7d0;

  --gr-radius-sm: 4px;
  --gr-radius-md: 10px;
  --gr-radius-lg: 16px;

  --gr-space-1: 4px;
  --gr-space-2: 8px;
  --gr-space-3: 16px;
  --gr-space-4: 24px;
  --gr-space-5: 40px;

  --gr-font: 'Maven Pro', system-ui, -apple-system, sans-serif;
  --gr-shadow-card: 0 1px 3px 0 rgb(0 0 0/.08), 0 4px 16px -2px rgb(0 0 0/.06);
  --gr-shadow-card-hover: 0 4px 6px -1px rgb(0 0 0/.1), 0 16px 32px -4px rgb(0 0 0/.12);
  --gr-shadow-drawer: -4px 0 24px rgba(0, 0, 0, 0.15);
}

* { box-sizing: border-box; }

body.gr-body {
  margin: 0;
  font-family: var(--gr-font);
  color: var(--gr-text);
  background: var(--gr-bg-page);
  font-size: 15px;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--gr-font); font-weight: 700; letter-spacing: -0.01em; }

/* Form controls (button/input/select/textarea) do NOT inherit font-family
   from the body by default in any browser — without this, every button
   and input silently falls back to the OS UI font regardless of what's
   set above. This is why "Add to Cart" and the newsletter field looked
   like a different font from the rest of the page. */
button, input, select, textarea { font-family: inherit; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.gr-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gr-space-3);
}

/* ---------------------------------------------------------------- HEADER */
.gr-header {
  border-bottom: 1px solid var(--gr-border);
  background: var(--gr-bg);
  position: sticky;
  top: 0;
  z-index: 40;
}

.gr-header__top {
  background: var(--gr-primary-dark);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 6px 0;
}

.gr-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gr-space-3);
  padding: var(--gr-space-3) 0;
}

.gr-logo { font-size: 24px; font-weight: 800; color: var(--gr-primary-dark); }

.gr-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  border: 1px solid var(--gr-border);
  border-radius: var(--gr-radius-md);
  overflow: hidden;
  position: relative;
}
.gr-search input { flex: 1; border: none; padding: 10px var(--gr-space-3); font-size: 14px; }
.gr-search button { background: var(--gr-primary); color: #fff; border: none; padding: 0 18px; cursor: pointer; }

/* =========================================================================
   HEADER SEARCH — AJAX autocomplete dropdown
   ========================================================================= */
.gr-search-suggest {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-md);
  box-shadow: var(--gr-shadow-card-hover); max-height: 360px; overflow-y: auto; z-index: 50;
}
.gr-search-suggest.is-open { display: block; }
.gr-search-suggest__item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; text-decoration: none; color: var(--gr-text); border-bottom: 1px solid var(--gr-border); }
.gr-search-suggest__item:last-child { border-bottom: none; }
.gr-search-suggest__item:hover, .gr-search-suggest__item.is-active { background: var(--gr-bg-page); }
.gr-search-suggest__item img { width: 36px; height: 36px; object-fit: contain; background: var(--gr-bg-page); border-radius: 6px; flex-shrink: 0; }
.gr-search-suggest__name { flex: 1; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gr-search-suggest__price { font-size: 12.5px; font-weight: 700; color: var(--gr-primary-dark); flex-shrink: 0; }

.gr-header__actions { display: flex; align-items: center; gap: var(--gr-space-4); }
.gr-cart-btn { position: relative; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.gr-cart-btn__count {
  position: absolute; top: -8px; right: -10px;
  background: var(--gr-accent); color: #fff;
  font-size: 11px; min-width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

.gr-nav { border-top: 1px solid var(--gr-border); }
.gr-nav__list { list-style: none; display: flex; gap: var(--gr-space-4); margin: 0; padding: var(--gr-space-2) 0; }
.gr-nav__list a { font-size: 14px; font-weight: 600; color: var(--gr-text); }
.gr-nav__list a:hover { color: var(--gr-primary); }

/* ---------------------------------------------------------------- BANNER SLIDER */
.gr-slider { border-radius: var(--gr-radius-lg); overflow: hidden; margin: var(--gr-space-4) 0; }
.gr-slider img { width: 100%; height: 320px; object-fit: cover; }

/* ---------------------------------------------------------------- CATEGORY GRID */
.gr-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--gr-space-3);
  margin: var(--gr-space-4) 0;
}
.gr-category-card {
  text-align: center;
  padding: var(--gr-space-3);
  border: 1px solid var(--gr-border);
  border-radius: var(--gr-radius-md);
  transition: box-shadow .15s ease, transform .15s ease;
}
.gr-category-card:hover { box-shadow: var(--gr-shadow-card); transform: translateY(-2px); }
.gr-category-card img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto var(--gr-space-2); }
.gr-category-card__name { font-size: 13px; font-weight: 600; }
.gr-category-card__count { font-size: 12px; color: var(--gr-text-muted); }

/* ---------------------------------------------------------------- SECTION HEADER */
.gr-section { margin: var(--gr-space-5) 0; }
.gr-section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--gr-space-3); }
.gr-section-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gr-accent); margin-bottom: 6px; }
.gr-section__title { font-family: var(--gr-font); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 400; color: var(--gr-text); line-height: 1.2; }
.gr-section__title .gr-badge { color: var(--gr-accent); font-size: 13px; font-weight: 700; }
.gr-section__link { font-size: 13px; font-weight: 700; color: var(--gr-primary); }

/* ---------------------------------------------------------------- PRODUCT GRID / CARD */
.gr-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--gr-space-3);
}

.gr-product-card {
  position: relative;
  border: 1px solid var(--gr-border);
  border-radius: var(--gr-radius-lg);
  padding: var(--gr-space-2);
  background: var(--gr-bg);
  box-shadow: var(--gr-shadow-card);
  transition: box-shadow .25s ease, transform .25s ease;
}
.gr-product-card:hover { box-shadow: var(--gr-shadow-card-hover); transform: translateY(-2px); }
.gr-product-card__img-wrap { overflow: hidden; background: var(--gr-bg-page); border-radius: var(--gr-radius-md); }
.gr-product-card__img-wrap img { transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.gr-product-card:hover .gr-product-card__img-wrap img { transform: scale(1.06); }

.gr-product-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gr-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--gr-radius-lg) 0 var(--gr-radius-md) 0;
  letter-spacing: .02em;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
  z-index: 2;
}

.gr-product-card__image { aspect-ratio: 1 / 1; object-fit: contain; padding: var(--gr-space-2); width: 100%; }
.gr-product-card__name { font-size: 13px; font-weight: 600; margin: var(--gr-space-2) 0 2px; height: 34px; overflow: hidden; }
.gr-product-card__pack { font-size: 12px; color: var(--gr-text-muted); margin-bottom: var(--gr-space-2); }

.gr-price-row { display: flex; align-items: center; gap: var(--gr-space-2); margin-bottom: var(--gr-space-2); }
.gr-price { font-weight: 800; font-size: 15px; color: var(--gr-primary-dark); font-variant-numeric: tabular-nums; }
.gr-price--mrp { text-decoration: line-through; color: var(--gr-text-muted); font-size: 12px; font-weight: 400; }

.gr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--gr-radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}
.gr-btn--primary {
  background: var(--gr-primary); color: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.1);
}
.gr-btn--primary:hover { background: var(--gr-primary-dark); box-shadow: 0 4px 12px rgba(21,128,61,.35); }
.gr-btn--primary:active { transform: translateY(1px); }
.gr-btn--outline { background: transparent; border: 1px solid var(--gr-primary); color: var(--gr-primary); }
.gr-btn--accent { background: var(--gr-accent); color: #fff; }
.gr-btn--block { width: 100%; }
.gr-btn--lg { padding: 12px 20px; font-size: 15px; }

/* ---------------------------------------------------------------- CART DRAWER / PAGE */
.gr-cart-drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: 380px;
  background: var(--gr-bg); box-shadow: var(--gr-shadow-drawer);
  transform: translateX(100%); transition: transform .2s ease;
  z-index: 60; display: flex; flex-direction: column;
}
.gr-cart-drawer.is-open { transform: translateX(0); }
.gr-cart-drawer__header { padding: var(--gr-space-3); border-bottom: 1px solid var(--gr-border); display: flex; justify-content: space-between; }
.gr-cart-drawer__items { flex: 1; overflow-y: auto; padding: var(--gr-space-3); }
.gr-cart-drawer__footer { padding: var(--gr-space-3); border-top: 1px solid var(--gr-border); }

.gr-cart-line { display: flex; gap: var(--gr-space-2); padding: var(--gr-space-2) 0; border-bottom: 1px solid var(--gr-border); }
.gr-cart-line img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--gr-border); border-radius: var(--gr-radius-sm); }
.gr-cart-line__meta { flex: 1; }
.gr-cart-line__name { font-size: 13px; font-weight: 600; }
.gr-cart-line__pack { font-size: 12px; color: var(--gr-text-muted); }

.gr-qty-control { display: inline-flex; align-items: center; border: 1px solid var(--gr-border); border-radius: var(--gr-radius-sm); }
.gr-qty-control button { border: none; background: none; width: 26px; height: 26px; cursor: pointer; font-weight: 700; }
.gr-qty-control input { width: 32px; text-align: center; border: none; }

.gr-summary-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.gr-summary-row--total { font-weight: 800; font-size: 15px; border-top: 1px solid var(--gr-border); padding-top: var(--gr-space-2); margin-top: var(--gr-space-2); }

/* ---------------------------------------------------------------- FORMS (checkout, account, coupon) */
.gr-form-group { margin-bottom: var(--gr-space-3); }
.gr-form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.gr-form-group input,
.gr-form-group select,
.gr-form-group textarea {
  width: 100%;
  padding: 10px var(--gr-space-2);
  border: 1px solid var(--gr-border);
  border-radius: var(--gr-radius-sm);
  font-size: 14px;
  font-family: inherit;
}
.gr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gr-space-3); }

.gr-alert { padding: var(--gr-space-2) var(--gr-space-3); border-radius: var(--gr-radius-sm); margin-bottom: var(--gr-space-3); font-size: 13px; }
.gr-alert--success { background: #e8f5e9; color: var(--gr-primary-dark); }
.gr-alert--error { background: #fdecea; color: var(--gr-danger); }

/* ---------------------------------------------------------------- ORDER TRACKING TIMELINE */
.gr-timeline { list-style: none; padding: 0; margin: var(--gr-space-4) 0; }
.gr-timeline li { position: relative; padding-left: 28px; padding-bottom: var(--gr-space-4); border-left: 2px solid var(--gr-border); margin-left: 8px; }
.gr-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.gr-timeline li::before { content: ''; position: absolute; left: -7px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gr-border); }
.gr-timeline li.is-done::before { background: var(--gr-primary); }
.gr-timeline__status { font-weight: 700; font-size: 14px; text-transform: capitalize; }
.gr-timeline__time { font-size: 12px; color: var(--gr-text-muted); }

/* ---------------------------------------------------------------- FOOTER */
.gr-footer { background: var(--gr-bg-alt); margin-top: var(--gr-space-5); padding: var(--gr-space-5) 0 var(--gr-space-3); font-size: 13px; }
.gr-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gr-space-4); }
.gr-footer h6 { font-size: 13px; text-transform: uppercase; margin-bottom: var(--gr-space-2); }
.gr-footer ul { list-style: none; padding: 0; margin: 0; }
.gr-footer li { margin-bottom: 6px; color: var(--gr-text-muted); }
.gr-footer__bottom { text-align: center; padding-top: var(--gr-space-3); margin-top: var(--gr-space-3); border-top: 1px solid var(--gr-border); color: var(--gr-text-muted); }

@media (max-width: 768px) {
  .gr-header__main { flex-wrap: wrap; }
  .gr-search { order: 3; max-width: 100%; }
  .gr-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .gr-cart-drawer { width: 100%; }
}

/* =========================================================================
   PRODUCT DETAIL — image sizing (moved out of inline style) + wishlist button
   ========================================================================= */
.gr-product-detail-img { width: 100%; border: 1px solid var(--gr-border); border-radius: var(--gr-radius-md); }
.gr-product-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gr-wishlist-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gr-border);
  background: #fff; color: #dc2626; font-size: 16px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.gr-wishlist-btn:hover { background: #fee2e2; }

/* =========================================================================
   WISHLIST PAGE
   ========================================================================= */
.gr-wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.gr-wishlist-card { border: 1px solid var(--gr-border); border-radius: var(--gr-radius-md); overflow: hidden; }
.gr-wishlist-card__img { width: 100%; height: 140px; object-fit: cover; display: block; }
.gr-wishlist-card__body { padding: 12px; }
.gr-wishlist-card__name { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 4px; color: inherit; text-decoration: none; }
.gr-wishlist-card__price { font-weight: 700; margin-bottom: 8px; }
.gr-wishlist-card__remove { width: 100%; }

.gr-btn--sm { padding: 7px 12px; font-size: 12px; }

/* =========================================================================
   PROMO TICKER — scrolling announcement strip
   ========================================================================= */
.gr-ticker { background: var(--gr-primary-dark); color: #fff; overflow: hidden; padding: 8px 0; }
.gr-ticker__track { display: flex; gap: 48px; white-space: nowrap; animation: gr-ticker-scroll 28s linear infinite; width: max-content; }
.gr-ticker__item { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
@keyframes gr-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gr-ticker__track { animation: none; } }

/* =========================================================================
   HEADER ICON ACTIONS (account / wishlist / cart)
   ========================================================================= */
.gr-header__icons { display: flex; align-items: center; gap: 18px; }
.gr-header__icon-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--gr-text-muted); }
.gr-header__icon-link i { font-size: 18px; color: var(--gr-text); }
.gr-header__icon-link:hover i { color: var(--gr-primary); }

/* =========================================================================
   LEAF BADGE — natural/organic chip, exact spec from Seedcare's .sc-badge-organic
   ========================================================================= */
.gr-leaf-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--gr-leaf-bg); color: var(--gr-primary);
  border: 1px solid var(--gr-leaf-border);
  font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 99px;
  letter-spacing: .02em;
}

/* =========================================================================
   STAR RATING
   ========================================================================= */
.gr-star-rating { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--gr-text-muted); margin-bottom: 4px; }
.gr-star-rating__stars { color: var(--gr-star); letter-spacing: 1px; font-size: 12px; }
.gr-star-rating__stars .is-empty { color: var(--gr-border); }

/* =========================================================================
   WISHLIST HEART ON PRODUCT CARDS
   ========================================================================= */
.gr-product-card__wishlist {
  position: absolute; top: var(--gr-space-2); right: var(--gr-space-2); z-index: 2;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gr-border);
  background: rgba(255,255,255,.9); color: #dc2626; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.gr-product-card__wishlist:hover { background: #fee2e2; }

/* =========================================================================
   TRUST STRIP — matches Seedcare's .sc-trust-bar: light-green strip with
   circular green icon badges, not plain emoji-on-card
   ========================================================================= */
.gr-trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gr-space-3); margin: var(--gr-space-5) 0; background: var(--gr-leaf-bg); border: 1px solid var(--gr-leaf-border); border-radius: var(--gr-radius-lg); padding: var(--gr-space-4); }
.gr-trust-card { display: flex; align-items: center; gap: 12px; text-align: left; }
.gr-trust-card__icon { width: 36px; height: 36px; background: var(--gr-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-size: 15px; }
.gr-trust-card__title { font-weight: 700; font-size: 13.5px; margin-bottom: 2px; }
.gr-trust-card__desc { font-size: 11.5px; color: var(--gr-text-muted); }

/* =========================================================================
   CATEGORY CHIP — pill filter, exact spec from Seedcare's .sc-chip
   ========================================================================= */
.gr-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--gr-border); background: #fff;
  color: var(--gr-text-muted); cursor: pointer;
  transition: all .15s ease; white-space: nowrap;
}
.gr-chip:hover, .gr-chip.is-active { border-color: var(--gr-primary); color: var(--gr-primary); background: var(--gr-primary-light); }

/* =========================================================================
   TESTIMONIALS — pulled from real approved product_reviews
   ========================================================================= */
.gr-testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--gr-space-3); }
.gr-testimonial-card { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: var(--gr-space-4); }
.gr-testimonial-card__stars { color: var(--gr-star); font-size: 13px; margin-bottom: 10px; }
.gr-testimonial-card__title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.gr-testimonial-card__content { font-size: 13px; color: var(--gr-text-muted); margin-bottom: 16px; line-height: 1.6; }
.gr-testimonial-card__author { display: flex; align-items: center; gap: 10px; }
.gr-testimonial-card__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gr-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.gr-testimonial-card__name { font-weight: 700; font-size: 12.5px; }
.gr-testimonial-card__product { font-size: 11px; color: var(--gr-text-muted); }

/* =========================================================================
   NEWSLETTER SIGNUP (footer)
   ========================================================================= */
.gr-newsletter { display: flex; gap: 8px; margin-top: 12px; }
.gr-newsletter input { flex: 1; padding: 10px 14px; border: 1px solid var(--gr-border); border-radius: var(--gr-radius-sm); font-size: 13px; }
.gr-newsletter button { background: var(--gr-primary); color: #fff; border: none; border-radius: var(--gr-radius-sm); padding: 10px 18px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.gr-newsletter__msg { font-size: 12px; margin-top: 8px; }
.gr-newsletter__msg--success { color: var(--gr-primary); }
.gr-newsletter__msg--error { color: var(--gr-danger); }

/* =========================================================================
   FOOTER — trust row + link columns + socials + payment icons
   ========================================================================= */
.gr-footer__trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gr-space-3); padding-bottom: var(--gr-space-4); margin-bottom: var(--gr-space-4); border-bottom: 1px solid var(--gr-border); }
.gr-footer__trust-item { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.gr-footer__trust-item i { font-size: 20px; color: var(--gr-primary); flex-shrink: 0; }
.gr-footer__trust-item strong { display: block; font-size: 13px; }
.gr-footer__socials { display: flex; gap: 10px; margin-top: var(--gr-space-3); }
.gr-footer__socials a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gr-border); display: flex; align-items: center; justify-content: center; color: var(--gr-text-muted); }
.gr-footer__socials a:hover { color: var(--gr-primary); border-color: var(--gr-primary); }
.gr-footer__payments { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--gr-space-2); font-size: 11px; color: var(--gr-text-muted); }
.gr-footer__payments span { border: 1px solid var(--gr-border); border-radius: 4px; padding: 3px 8px; }

@media (max-width: 768px) {
  .gr-trust-strip { grid-template-columns: repeat(2, 1fr); }
  .gr-footer__trust-row { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   PRODUCT DETAIL PAGE — matching Seedcare's real layout: breadcrumb, image
   with zoom badge, meta row (SKU/brand/category), pill-style weight
   selector, sidebar trust box + product-details box, reviews section.
   ========================================================================= */
.gr-breadcrumb { font-size: 12.5px; color: var(--gr-text-muted); margin: var(--gr-space-3) 0; }
.gr-breadcrumb a { color: var(--gr-text-muted); }
.gr-breadcrumb a:hover { color: var(--gr-primary); }
.gr-breadcrumb .sep { margin: 0 6px; }

.gr-pdp-grid { display: grid; grid-template-columns: 1fr 1fr 300px; gap: var(--gr-space-4); align-items: start; }

.gr-pdp-image-wrap { position: relative; border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); overflow: hidden; background: var(--gr-bg); }
.gr-pdp-image-wrap img { width: 100%; aspect-ratio: 1/1; object-fit: contain; transition: transform .3s ease; }
.gr-pdp-image-wrap:hover img { transform: scale(1.08); }
.gr-pdp-zoom-badge { position: absolute; bottom: var(--gr-space-2); right: var(--gr-space-2); background: rgba(28,25,23,.75); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 999px; display: flex; align-items: center; gap: 5px; pointer-events: none; }

.gr-pdp-rating { display: flex; align-items: center; gap: 8px; margin: 6px 0 14px; font-size: 13px; }
.gr-pdp-rating__stars { color: var(--gr-star); font-size: 15px; letter-spacing: 1px; }
.gr-pdp-rating__count { color: var(--gr-primary); font-weight: 600; text-decoration: underline; cursor: pointer; }

.gr-pdp-meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--gr-text-muted); padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--gr-border); }
.gr-pdp-sku-pill { background: var(--gr-bg-alt); border-radius: 6px; padding: 3px 10px; font-size: 12px; color: var(--gr-text-muted); }
.gr-pdp-meta-row strong { color: var(--gr-text); }

.gr-pdp-price { font-size: 30px; font-weight: 800; color: var(--gr-danger); font-variant-numeric: tabular-nums; }
.gr-pdp-price--mrp { font-size: 16px; font-weight: 400; text-decoration: line-through; color: var(--gr-text-muted); margin-left: 8px; }
.gr-pdp-stock { font-size: 12.5px; font-weight: 700; color: var(--gr-primary); margin: 4px 0 18px; }
.gr-pdp-stock--out { color: var(--gr-danger); }

.gr-pdp-weight-label { font-size: 13px; font-weight: 700; margin-bottom: 8px; display: block; }
.gr-pdp-weight-pills { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.gr-pdp-weight-pill {
  border: 1.5px solid var(--gr-border); border-radius: var(--gr-radius-sm); padding: 10px 18px;
  font-size: 13px; font-weight: 600; cursor: pointer; background: #fff; color: var(--gr-text);
  transition: all .15s ease;
}
.gr-pdp-weight-pill:hover { border-color: var(--gr-primary); }
.gr-pdp-weight-pill.is-selected { border-color: var(--gr-primary); background: var(--gr-primary); color: #fff; }
.gr-pdp-weight-pill:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

.gr-pdp-actions { display: flex; gap: 10px; align-items: stretch; }
.gr-pdp-actions .gr-btn--primary { flex: 1; }
.gr-pdp-wishlist-btn { width: 46px; flex-shrink: 0; border: 1px solid var(--gr-border); border-radius: 8px; background: #fff; color: var(--gr-danger); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; }
.gr-pdp-wishlist-btn:hover { background: #fee2e2; }

.gr-pdp-sidebar-box { border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); overflow: hidden; margin-bottom: var(--gr-space-3); }
.gr-pdp-sidebar-box__head { background: var(--gr-primary); color: #fff; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 12px 16px; }
.gr-pdp-sidebar-box__body { padding: 16px; }
.gr-pdp-trust-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.gr-pdp-trust-item:last-child { margin-bottom: 0; }
.gr-pdp-trust-item__icon { width: 32px; height: 32px; border-radius: 8px; background: var(--gr-leaf-bg); color: var(--gr-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }
.gr-pdp-trust-item__title { font-weight: 700; font-size: 12.5px; }
.gr-pdp-trust-item__desc { font-size: 11px; color: var(--gr-text-muted); }
.gr-pdp-detail-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gr-border); font-size: 12.5px; }
.gr-pdp-detail-row:last-child { border-bottom: none; }
.gr-pdp-detail-row__label { color: var(--gr-text-muted); }
.gr-pdp-detail-row__value { font-weight: 700; }

/* ---------------------------------------------------------------- REVIEWS SECTION */
.gr-review-row { border-bottom: 1px solid var(--gr-border); padding: var(--gr-space-3) 0; }
.gr-review-row:last-child { border-bottom: none; }
.gr-review-row__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.gr-review-row__stars { color: var(--gr-star); font-size: 13px; }
.gr-review-row__name { font-weight: 700; font-size: 13px; }
.gr-review-row__date { font-size: 11.5px; color: var(--gr-text-muted); }
.gr-review-row__title { font-weight: 600; font-size: 13.5px; margin-bottom: 4px; }
.gr-review-row__content { font-size: 13px; color: var(--gr-text-muted); line-height: 1.6; }

@media (max-width: 992px) {
  .gr-pdp-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   CART PAGE — enterprise-grade rebuild: real product cards, free-shipping
   progress, proper order summary panel. Was previously using raw variant
   IDs as labels and an admin CSS class (ad-panel) by mistake.
   ========================================================================= */
.gr-empty-cart { text-align: center; padding: 80px 20px; }
.gr-empty-cart i { font-size: 48px; color: var(--gr-border); margin-bottom: 16px; }
.gr-empty-cart__title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }

.gr-shipping-progress { background: var(--gr-leaf-bg); border: 1px solid var(--gr-leaf-border); border-radius: var(--gr-radius-md); padding: 14px 18px; margin: var(--gr-space-3) 0; }
.gr-shipping-progress__label { font-size: 13px; margin-bottom: 10px; }
.gr-shipping-progress__label i { color: var(--gr-primary); margin-right: 6px; }
.gr-shipping-progress__bar { height: 8px; background: #fff; border-radius: 999px; overflow: hidden; }
.gr-shipping-progress__fill { height: 100%; width: 0; background: var(--gr-primary); border-radius: 999px; transition: width .4s ease; }
.gr-shipping-progress--done { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gr-primary-dark); font-size: 13.5px; }

.gr-cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--gr-space-4); align-items: start; margin-top: var(--gr-space-4); }
.gr-cart-lines { display: flex; flex-direction: column; gap: 12px; }

.gr-cart-line-card { display: flex; align-items: center; gap: 16px; background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: 14px; }
.gr-cart-line-card__img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--gr-radius-md); background: var(--gr-bg-page); flex-shrink: 0; }
.gr-cart-line-card__body { flex: 1; min-width: 0; }
.gr-cart-line-card__name { font-weight: 700; font-size: 14px; display: block; margin-bottom: 2px; }
.gr-cart-line-card__variant { font-size: 12px; color: var(--gr-text-muted); margin-bottom: 4px; }
.gr-cart-line-card__price { font-size: 12px; color: var(--gr-text-muted); margin-bottom: 8px; }
.gr-cart-line-card__right { text-align: right; flex-shrink: 0; }
.gr-cart-line-card__total { font-weight: 800; font-size: 16px; color: var(--gr-primary-dark); margin-bottom: 10px; }
.gr-cart-line-card__remove { border: 1px solid var(--gr-border); background: #fff; color: var(--gr-danger); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; }
.gr-cart-line-card__remove:hover { background: #fee2e2; }

.gr-cart-summary { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: var(--gr-space-4); position: sticky; top: 20px; }
.gr-cart-summary__title { font-weight: 800; font-size: 16px; margin-bottom: 16px; }
.gr-cart-summary__continue { display: block; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--gr-text-muted); margin-top: 12px; }
.gr-cart-summary__continue:hover { color: var(--gr-primary); }

.gr-coupon-box { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gr-border); }
.gr-coupon-box label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.gr-coupon-box__row { display: flex; gap: 8px; }
.gr-coupon-box__row input { flex: 1; padding: 9px 12px; border: 1px solid var(--gr-border); border-radius: var(--gr-radius-sm); font-size: 13px; }
.gr-coupon-box__msg { font-size: 12px; margin-top: 6px; color: var(--gr-primary); }

.gr-tax-note { margin-bottom: 16px; }

@media (max-width: 900px) {
  .gr-cart-layout { grid-template-columns: 1fr; }
  .gr-cart-summary { position: static; }
}

/* =========================================================================
   CHECKOUT PAGE — guest checkout support + sectioned layout
   ========================================================================= */
.gr-checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--gr-space-4); align-items: start; margin-top: var(--gr-space-4); }
.gr-checkout-section { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: var(--gr-space-4); margin-bottom: var(--gr-space-3); }
.gr-checkout-section__title { font-weight: 800; font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.gr-checkout-section__title i { color: var(--gr-primary); }
.gr-checkout-login-hint { font-size: 13px; font-weight: 600; color: var(--gr-primary); }

.gr-payment-option { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid var(--gr-border); border-radius: var(--gr-radius-md); margin-bottom: 10px; cursor: pointer; font-size: 13.5px; }
.gr-payment-option:has(input:checked) { border-color: var(--gr-primary); background: var(--gr-primary-light); }
.gr-payment-option input { accent-color: var(--gr-primary); }

.gr-checkout-summary { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: var(--gr-space-4); position: sticky; top: 20px; }

@media (max-width: 900px) {
  .gr-checkout-layout { grid-template-columns: 1fr; }
  .gr-checkout-summary { position: static; }
}

/* =========================================================================
   ACCOUNT / LOGIN / REGISTER — was using an admin CSS class (ad-panel) by
   mistake, same bug class as the cart page.
   ========================================================================= */
.gr-auth-page { max-width: 900px; margin: 0 auto; padding-top: var(--gr-space-4); padding-bottom: var(--gr-space-5); }
.gr-alert--info { background: var(--gr-leaf-bg); color: var(--gr-primary-dark); border: 1px solid var(--gr-leaf-border); }
.gr-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gr-space-4); margin-top: var(--gr-space-3); }
.gr-auth-card { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: var(--gr-space-4); }
.gr-auth-card h3 { margin-top: 0; margin-bottom: 16px; }

.gr-account-card { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: var(--gr-space-4); margin-bottom: var(--gr-space-3); }
.gr-account-card__row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gr-border); font-size: 13.5px; }
.gr-account-card__row:last-child { border-bottom: none; }
.gr-account-links { display: flex; gap: 10px; margin-bottom: var(--gr-space-3); flex-wrap: wrap; }
.gr-account-link { display: flex; align-items: center; gap: 8px; background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-md); padding: 12px 18px; font-size: 13px; font-weight: 600; }
.gr-account-link:hover { border-color: var(--gr-primary); color: var(--gr-primary); }
.gr-account-link i { color: var(--gr-primary); }

@media (max-width: 700px) {
  .gr-auth-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   CUSTOMER ACCOUNT DASHBOARD — persistent sidebar + stat cards + order/
   address cards, replacing the previous flat, unstyled account pages
   (which were also incorrectly using admin CSS classes like .ad-table).
   ========================================================================= */
.gr-account-page { padding-top: var(--gr-space-4); padding-bottom: var(--gr-space-5); }
.gr-account-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--gr-space-4); align-items: start; margin-top: var(--gr-space-3); }

.gr-account-sidebar { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); overflow: hidden; position: sticky; top: 20px; }
.gr-account-sidebar__profile { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid var(--gr-border); }
.gr-account-sidebar__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gr-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.gr-account-sidebar__name { font-weight: 700; font-size: 13.5px; }
.gr-account-sidebar__phone { font-size: 11.5px; color: var(--gr-text-muted); }
.gr-account-sidebar__nav { padding: 8px; }
.gr-account-sidebar__link {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--gr-radius-md);
  font-size: 13.5px; font-weight: 600; color: var(--gr-text-muted); margin-bottom: 2px;
  background: none; border: none; width: 100%; text-align: left; cursor: pointer; font-family: inherit;
}
.gr-account-sidebar__link i { width: 16px; text-align: center; }
.gr-account-sidebar__link:hover { background: var(--gr-bg-page); color: var(--gr-text); }
.gr-account-sidebar__link.is-active { background: var(--gr-primary-light); color: var(--gr-primary-dark); }
.gr-account-sidebar__link--logout { color: var(--gr-danger); }
.gr-account-sidebar__logout-form { margin: 0; }

.gr-account-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: var(--gr-space-3); }
.gr-account-stat-card { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: 16px; display: flex; align-items: center; gap: 12px; }
.gr-account-stat-card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--gr-leaf-bg); color: var(--gr-primary); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.gr-account-stat-card__value { font-weight: 800; font-size: 17px; }
.gr-account-stat-card__label { font-size: 11px; color: var(--gr-text-muted); }

.gr-account-card { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: var(--gr-space-4); margin-bottom: var(--gr-space-3); }
.gr-account-card__title { font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.gr-account-card__row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gr-border); font-size: 13.5px; }
.gr-account-card__row:last-child { border-bottom: none; }
.gr-account-card__view-all { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--gr-primary); }

.gr-order-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gr-border); }
.gr-order-row:last-child { border-bottom: none; }
.gr-order-row__number { font-weight: 700; font-size: 13.5px; }
.gr-order-row__date { font-size: 11.5px; color: var(--gr-text-muted); }
.gr-order-row__total { font-weight: 800; font-size: 14px; margin-left: auto; }

.gr-order-status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--gr-bg-alt); color: var(--gr-text-muted); white-space: nowrap; }
.gr-order-status--delivered, .gr-order-status--paid { background: var(--gr-primary-light); color: var(--gr-primary-dark); }
.gr-order-status--cancelled, .gr-order-status--rto { background: #fee2e2; color: var(--gr-danger); }
.gr-order-status--shipped, .gr-order-status--out_for_delivery, .gr-order-status--packed { background: #e8f1fd; color: #2563eb; }
.gr-order-status--confirmed, .gr-order-status--placed { background: var(--gr-accent-light); color: var(--gr-accent); }

.gr-address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gr-address-card { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: 18px; }
.gr-address-card__label { font-weight: 800; font-size: 13.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.gr-address-card__name { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.gr-address-card__body { font-size: 12.5px; color: var(--gr-text-muted); line-height: 1.5; margin-bottom: 8px; }
.gr-address-card__phone { font-size: 12px; color: var(--gr-text-muted); }
.gr-address-card__phone i { margin-right: 4px; }

@media (max-width: 900px) {
  .gr-account-layout { grid-template-columns: 1fr; }
  .gr-account-sidebar { position: static; }
  .gr-account-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   SMALL UTILITIES — show/hide toggle used by inline-edit forms (GST details,
   etc.), matching the .ad-is-hidden-none pattern already used in the admin.
   ========================================================================= */
.gr-is-hidden { display: none; }

/* =========================================================================
   ORDER DETAIL PAGE — status head, item rows, timeline
   ========================================================================= */
.gr-back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gr-text-muted); margin-bottom: 10px; }
.gr-back-link:hover { color: var(--gr-primary); }

.gr-order-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gr-order-detail-head__meta { margin-top: 6px; }

.gr-order-item-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gr-border); }
.gr-order-item-row:last-child { border-bottom: none; }
.gr-order-item-row__name { font-weight: 600; font-size: 13.5px; }
.gr-order-item-row__total { font-weight: 700; font-size: 13.5px; }

.gr-order-row--clickable { cursor: pointer; }
.gr-order-row--clickable:hover { background: var(--gr-bg-page); }
.gr-order-row__chevron { color: var(--gr-text-muted); margin-left: auto; }

.gr-timeline-row { display: flex; gap: 12px; padding: 10px 0; }
.gr-timeline-row__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gr-primary); margin-top: 4px; flex-shrink: 0; }
.gr-timeline-row__status { font-weight: 700; font-size: 13px; }

/* =========================================================================
   THANK YOU PAGE — was using an inline style="" attribute
   ========================================================================= */
.gr-thank-you { text-align: center; padding: 60px 0; }
.gr-thank-you__actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }

/* =========================================================================
   TRACK ORDER PAGE — was using an admin CSS class (ad-panel) and two
   inline style="" attributes on the storefront by mistake.
   ========================================================================= */
.gr-track-page { max-width: 700px; margin: 0 auto; padding-bottom: var(--gr-space-5); }
.gr-track-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: var(--gr-space-3); }
.gr-track-form .gr-form-group { flex: 1; min-width: 160px; margin-bottom: 0; }
.gr-track-form__submit { flex: 0 0 auto; min-width: 120px; }
.gr-track-result { margin-top: var(--gr-space-3); }

.gr-blog-detail__img { width: 100%; border-radius: var(--gr-radius-md); margin-bottom: 16px; }

/* =========================================================================
   PRODUCT PAGE — tabbed content section (Product Details / Shipping /
   Returns), sourced from a real admin-editable long_description field.
   ========================================================================= */
.gr-pdp-content-tabs { margin-top: var(--gr-space-3); }
.gr-tab-bar { display: flex; gap: 4px; border-bottom: 1px solid var(--gr-border); margin-bottom: var(--gr-space-3); }
.gr-tab-btn {
  display: flex; align-items: center; gap: 8px; padding: 12px 18px; border: none; background: none;
  font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--gr-text-muted); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.gr-tab-btn.is-active { color: var(--gr-primary); border-bottom-color: var(--gr-primary); }
.gr-tab-panel { display: none; }
.gr-tab-panel.is-active { display: block; }

.gr-rich-content { font-size: 14px; line-height: 1.7; color: var(--gr-text); max-width: 760px; }
.gr-rich-content h2 { font-size: 19px; margin: 20px 0 10px; }
.gr-rich-content h3 { font-size: 16px; margin: 16px 0 8px; }
.gr-rich-content p { margin: 0 0 12px; }
.gr-rich-content ul, .gr-rich-content ol { margin: 0 0 12px; padding-left: 22px; }
.gr-rich-content table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.gr-rich-content th, .gr-rich-content td { border: 1px solid var(--gr-border); padding: 8px 10px; text-align: left; }
.gr-rich-content th { background: var(--gr-bg-page); font-weight: 700; }

/* =========================================================================
   LOGIN / SIGNUP — single centered card, Sign In / Create Account toggle,
   Password/OTP sub-tabs, 2-step OTP signup with a real backend behind it.
   ========================================================================= */
.gr-auth-shell { max-width: 460px; margin: 0 auto; }
.gr-auth-toggle { display: flex; background: var(--gr-bg-alt); border-radius: var(--gr-radius-md); padding: 4px; margin-bottom: var(--gr-space-3); }
.gr-auth-toggle__btn { flex: 1; padding: 10px; border: none; background: none; border-radius: var(--gr-radius-sm); font-family: inherit; font-weight: 700; font-size: 13.5px; color: var(--gr-text-muted); cursor: pointer; }
.gr-auth-toggle__btn.is-active { background: var(--gr-bg); color: var(--gr-primary-dark); box-shadow: var(--gr-shadow-card); }

.gr-auth-panel { background: var(--gr-bg); border: 1px solid var(--gr-border); border-radius: var(--gr-radius-lg); padding: var(--gr-space-4); }
.gr-auth-subtabs { margin: -4px -4px var(--gr-space-3); padding: 0 4px; }
.gr-auth-heading { font-size: 22px; text-align: center; margin: 4px 0 4px; }
.gr-auth-subheading { text-align: center; font-size: 13px; color: var(--gr-text-muted); margin-bottom: var(--gr-space-3); }
.gr-form-group__label-row { display: flex; justify-content: space-between; align-items: center; }
.gr-auth-forgot { font-size: 12px; color: var(--gr-primary); }
.gr-auth-remember { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 6px 0 var(--gr-space-3); }
.gr-auth-switch { text-align: center; font-size: 13px; color: var(--gr-text-muted); margin-top: var(--gr-space-3); margin-bottom: 0; }
.gr-auth-msg { text-align: center; font-size: 12.5px; color: var(--gr-danger); margin-top: 10px; min-height: 16px; }

.gr-auth-stepper { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: var(--gr-space-4); }
.gr-auth-stepper__step { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gr-text-muted); }
.gr-auth-stepper__step.is-active { color: var(--gr-primary-dark); }
.gr-auth-stepper__num { width: 24px; height: 24px; border-radius: 50%; background: var(--gr-bg-alt); color: var(--gr-text-muted); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.gr-auth-stepper__step.is-active .gr-auth-stepper__num { background: var(--gr-primary); color: #fff; }
.gr-auth-stepper__line { width: 40px; height: 1px; background: var(--gr-border); }
