/* Galaxy Hub — Storefront pages (shared with homepage tokens) */

:root {
  --gh-primary: #266ab4;
  --gh-primary-dark: #1a4f8a;
  --gh-bg: #f0f4f8;
  --gh-text: #111827;
  --gh-muted: #6b7280;
  --gh-border: #e5e7eb;
  --gh-radius: 14px;
}

.gh-store {
  background: var(--gh-bg);
  min-height: 50vh;
  position: relative;
  z-index: 0;
}

.gh-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Page header / breadcrumb */
.gh-page-head {
  background: #fff;
  border-bottom: 1px solid var(--gh-border);
  padding: 1.25rem 0;
}

.gh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.825rem;
}

.gh-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gh-muted);
}

.gh-breadcrumb li + li::before {
  content: '/';
  color: #d1d5db;
  margin-right: 0.15rem;
}

.gh-breadcrumb a {
  color: var(--gh-primary);
  text-decoration: none;
  font-weight: 500;
}

.gh-breadcrumb a:hover {
  color: var(--gh-primary-dark);
}

.gh-breadcrumb li.is-active {
  color: var(--gh-text);
  font-weight: 600;
}

.gh-page-head__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--gh-text);
  margin: 0;
}

.gh-page-head__subtitle {
  font-size: 0.925rem;
  color: var(--gh-muted);
  margin: 0.35rem 0 0;
}

/* Sections */
.gh-section {
  padding: 2.5rem 0 3.5rem;
}

.gh-section--white {
  background: #fff;
}

.gh-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.gh-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gh-text);
  margin: 0 0 0.25rem;
}

.gh-section__subtitle {
  font-size: 0.925rem;
  color: var(--gh-muted);
}

.gh-category-intro {
  max-width: 720px;
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  background: rgba(38, 106, 180, 0.06);
  border-left: 3px solid var(--gh-blue, #266ab4);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gh-text);
}

.gh-related {
  border-top: 1px solid var(--gh-border);
}

.gh-related .gh-section__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  background: #dbeafe;
  color: #1d4ed8;
}

.gh-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gh-primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.gh-link:hover {
  color: var(--gh-primary-dark);
  gap: 0.5rem;
}

/* Buttons */
.gh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  transition: all 0.2s ease;
}

.gh-btn--primary,
.gh-btn--blue {
  background: var(--gh-primary);
  color: #fff;
}

.gh-btn--primary:hover,
.gh-btn--blue:hover {
  background: var(--gh-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.gh-btn--outline {
  background: #fff;
  color: var(--gh-primary);
  border: 1.5px solid var(--gh-border);
}

.gh-btn--outline:hover {
  border-color: var(--gh-primary);
  color: var(--gh-primary-dark);
}

.gh-btn--white {
  background: #fff;
  color: var(--gh-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.gh-btn--white:hover {
  background: #f8fafc;
  color: var(--gh-primary-dark);
  transform: translateY(-1px);
}

.gh-btn--glass-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.gh-btn--glass-dark:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.gh-btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
}

.gh-btn--block {
  width: 100%;
}

.gh-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Categories grid */
.gh-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.gh-category {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: var(--gh-radius);
  border: 1px solid var(--gh-border);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gh-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gh-category__img {
  aspect-ratio: 1;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gh-category__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gh-category__name {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gh-text);
}

/* Product grid */
.gh-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gh-product {
  background: #fff;
  border-radius: var(--gh-radius);
  border: 1px solid var(--gh-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gh-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.gh-product__img {
  display: block;
  aspect-ratio: 1;
  background: #f9fafb;
  padding: 1rem;
  overflow: hidden;
}

.gh-product__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gh-product:hover .gh-product__img img {
  transform: scale(1.04);
}

.gh-product__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gh-product__cat {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gh-primary);
  margin-bottom: 0.35rem;
}

.gh-product__brand {
  font-size: 0.75rem;
  color: var(--gh-muted);
  margin: 0 0 0.35rem;
}

.gh-product__name {
  font-size: 0.925rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.gh-product__name a {
  color: var(--gh-text);
  text-decoration: none;
}

.gh-product__name a:hover {
  color: var(--gh-primary);
}

.gh-product__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gh-text);
  margin: 0 0 0.85rem;
}

.gh-product__footer {
  margin-top: auto;
}

/* Brands grid */
.gh-brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.gh-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--gh-border);
  border-radius: var(--gh-radius);
  padding: 1.5rem 1rem;
  min-height: 120px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.gh-brand-card:hover {
  border-color: var(--gh-primary);
  box-shadow: 0 8px 24px rgba(38, 106, 180, 0.1);
  transform: translateY(-2px);
}

.gh-brand-card img {
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.gh-brand-card span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gh-text);
  text-align: center;
}

/* Empty state */
.gh-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border-radius: var(--gh-radius);
  border: 1px dashed var(--gh-border);
}

.gh-empty i {
  font-size: 2.5rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.gh-empty h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--gh-text);
}

.gh-empty p {
  color: var(--gh-muted);
  margin: 0 0 1.25rem;
  font-size: 0.925rem;
}

/* Pagination styles live in pagination.css */

/* Product detail page */
.gh-product-page {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--gh-bg) 100%);
}

.gh-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.gh-gallery {
  position: sticky;
  top: 1.25rem;
  background: #fff;
  border-radius: calc(var(--gh-radius) + 2px);
  border: 1px solid var(--gh-border);
  padding: 1.25rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.gh-gallery__main {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #eef2f7;
}

.gh-gallery__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  background: rgba(38, 106, 180, 0.92);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gh-gallery__main img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.gh-gallery__main:hover img {
  transform: scale(1.03);
}

.gh-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gh-gallery__thumb-btn {
  width: 72px;
  height: 72px;
  padding: 0.4rem;
  border: 2px solid var(--gh-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gh-gallery__thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gh-gallery__thumb-btn:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
}

.gh-gallery__thumb-btn.is-active {
  border-color: var(--gh-primary);
  box-shadow: 0 0 0 3px rgba(38, 106, 180, 0.12);
}

.gh-gallery__thumb {
  width: 72px;
  height: 72px;
  padding: 0.4rem;
  border: 2px solid var(--gh-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  object-fit: contain;
  transition: border-color 0.15s;
}

.gh-gallery__thumb:hover,
.gh-gallery__thumb.is-active {
  border-color: var(--gh-primary);
}

.gh-product-buy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.gh-product-buy__intro {
  background: #fff;
  border: 1px solid var(--gh-border);
  border-radius: calc(var(--gh-radius) + 2px);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.gh-product-buy__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1.15rem 1.5rem 0;
}

.gh-product-buy__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  padding: 0.85rem 1.5rem 0;
  color: var(--gh-text);
  letter-spacing: -0.02em;
}

.gh-product-buy__intro > .gh-product-buy__title:first-child {
  padding-top: 1.15rem;
}

.gh-product-buy__price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.75rem 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 55%, #fff 100%);
  border: 2px solid #93c5fd;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  color: var(--gh-text);
}

.gh-product-buy__price-wrap {
  min-width: 0;
}

.gh-product-buy__price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 50px;
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.gh-product-buy__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.85rem 1.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gh-muted);
}

.gh-product-buy__short {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #4b5563;
  padding: 0 1.5rem 1.35rem;
}

.gh-product-buy__price-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 0.3rem;
}

.gh-product-buy__price {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.03em;
  color: #2563eb;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.gh-product-buy__price--muted {
  font-size: 1.5rem;
  color: #64748b;
}

.gh-product-buy__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gh-product-buy__brand i {
  color: #d97706;
}

.gh-product-buy__short p:last-child {
  margin-bottom: 0;
}

.gh-product-info__title {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--gh-text);
}

.gh-product-info__meta {
  font-size: 0.875rem;
  color: var(--gh-muted);
  margin-bottom: 1rem;
}

.gh-product-info__short {
  font-size: 0.925rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 1.25rem;
}

.gh-product-info__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gh-primary);
  margin: 0 0 1rem;
}

.gh-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #9a3412;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

.gh-info-banner i {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.gh-info-banner p:last-child {
  margin-bottom: 0;
}

.gh-product-buy__panel {
  background: #fff;
  border: 1px solid var(--gh-border);
  border-radius: calc(var(--gh-radius) + 2px);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.gh-product-buy__panel .gh-field:last-of-type {
  margin-bottom: 1.15rem;
}

.gh-field {
  margin-bottom: 1rem;
}

.gh-field label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--gh-text);
  margin-bottom: 0.45rem;
}

.gh-field label i {
  color: var(--gh-primary);
  font-size: 0.9rem;
}

.gh-field--qty {
  margin-bottom: 1.15rem;
}

.gh-field .form-select,
.gh-field .form-control {
  border-radius: 11px;
  border: 1.5px solid var(--gh-border);
  padding: 0.65rem 0.9rem;
  font-size: 0.925rem;
  background: #fafbfc;
}

.gh-field .form-select:focus,
.gh-field .form-control:focus {
  border-color: var(--gh-primary);
  box-shadow: 0 0 0 3px rgba(38, 106, 180, 0.12);
  background: #fff;
}

.gh-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--gh-border);
  border-radius: 11px;
  overflow: hidden;
  background: #fafbfc;
}

.gh-qty button {
  width: 44px;
  background: #f3f4f6;
  border: none;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gh-text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.gh-qty button:hover {
  background: #eff6ff;
  color: var(--gh-primary);
}

.gh-qty input {
  width: 56px;
  border: none;
  border-left: 1px solid var(--gh-border);
  border-right: 1px solid var(--gh-border);
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  background: #fff;
}

.gh-btn--cart {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: none;
}

.gh-btn--cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.42);
  color: #fff;
  filter: brightness(1.03);
}

.gh-product-buy__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.gh-product-buy__trust li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid var(--gh-border);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}

.gh-product-buy__trust i {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: var(--gh-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.gh-tabs {
  margin-top: 2.5rem;
  background: #fff;
  border: 1px solid var(--gh-border);
  border-radius: calc(var(--gh-radius) + 2px);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.gh-tabs__nav {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 0.85rem 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--gh-border);
}

.gh-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.15rem;
  background: transparent;
  border: none;
  border-radius: 10px 10px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gh-muted);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, background 0.15s;
}

.gh-tabs__btn:hover {
  color: var(--gh-primary);
  background: rgba(255, 255, 255, 0.7);
}

.gh-tabs__btn.is-active {
  color: var(--gh-primary);
  background: #fff;
  box-shadow: 0 -1px 0 #fff;
}

.gh-tabs__body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.gh-tabs__panel {
  font-size: 0.925rem;
  line-height: 1.75;
  color: #374151;
}

.gh-tabs__panel h1,
.gh-tabs__panel h2,
.gh-tabs__panel h3,
.gh-tabs__panel h4 {
  color: var(--gh-text);
  margin-top: 1.25rem;
}

.gh-tabs__panel ul,
.gh-tabs__panel ol {
  padding-left: 1.25rem;
}

.gh-tabs__empty {
  color: var(--gh-muted);
  margin: 0;
}

/* Cart & checkout */
.gh-layout-2col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.5rem;
  align-items: start;
}

.gh-card {
  background: #fff;
  border-radius: var(--gh-radius);
  border: 1px solid var(--gh-border);
  overflow: hidden;
}

.gh-card__head {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #f3f4f6;
}

.gh-card__head h2,
.gh-card__head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--gh-text);
}

.gh-card__body {
  padding: 1.35rem;
}

.gh-cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.gh-cart-item:first-child {
  padding-top: 0;
}

.gh-cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gh-cart-item__name {
  font-size: 0.925rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  color: var(--gh-text);
}

.gh-cart-item__variant {
  font-size: 0.8rem;
  color: var(--gh-muted);
}

.gh-cart-item__price,
.gh-cart-item__subtotal {
  font-weight: 700;
  font-size: 0.925rem;
  white-space: nowrap;
}

.gh-cart-item__remove {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.gh-cart-item__remove:hover {
  text-decoration: underline;
}

.gh-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.925rem;
}

.gh-summary-row--total {
  font-size: 1.05rem;
  font-weight: 700;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--gh-border);
}

.gh-summary-row--total span:last-child {
  color: var(--gh-primary);
}

.gh-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gh-form-grid .gh-field--full {
  grid-column: 1 / -1;
}

/* Contact */
.gh-contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.gh-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gh-contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.gh-contact-item i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f7ff;
  color: var(--gh-primary);
  border-radius: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.gh-contact-item strong {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--gh-text);
  margin-bottom: 0.15rem;
}

.gh-contact-item span,
.gh-contact-item a {
  font-size: 0.875rem;
  color: var(--gh-muted);
  text-decoration: none;
}

.gh-contact-item a:hover {
  color: var(--gh-primary);
}

.gh-map {
  border-radius: var(--gh-radius);
  overflow: hidden;
  border: 1px solid var(--gh-border);
  margin-top: 1rem;
}

.gh-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* Policy / content pages */
.gh-content {
  background: #fff;
  border-radius: var(--gh-radius);
  border: 1px solid var(--gh-border);
  padding: 2rem 2.25rem;
  font-size: 0.925rem;
  line-height: 1.75;
  color: #374151;
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4 {
  color: var(--gh-text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.gh-content h1:first-child,
.gh-content h2:first-child {
  margin-top: 0;
}

.gh-content p {
  margin-bottom: 1rem;
}

.gh-content ul,
.gh-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

/* Footer */
.gh-footer {
  position: relative;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
}

.gh-footer__cta {
  background: linear-gradient(90deg, #0f2d52 0%, #1a4f8a 35%, #266ab4 65%, #4f46e5 100%);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gh-footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.gh-footer__cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fde047;
  margin-bottom: 0.5rem;
}

.gh-footer__cta-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.gh-footer__cta-desc {
  margin: 0;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
  line-height: 1.55;
}

.gh-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gh-footer__cta-actions .gh-btn--white {
  background: #fff;
  color: #266ab4;
}

.gh-footer__cta-actions .gh-btn--white:hover {
  background: #f8fafc;
  color: #1a4f8a;
}

.gh-footer__cta-actions .gh-btn--glass-dark {
  color: #fff;
}

.gh-footer__main {
  position: relative;
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #0b1220 0%, #111827 45%, #0f172a 100%);
}

.gh-footer__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}

.gh-footer__glow--1 {
  width: 320px;
  height: 320px;
  background: #266ab4;
  top: -80px;
  left: -60px;
}

.gh-footer__glow--2 {
  width: 280px;
  height: 280px;
  background: #7c3aed;
  bottom: -60px;
  right: -40px;
}

.gh-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.gh-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.gh-footer__logo img {
  height: 52px;
  width: auto;
}

.gh-footer__tagline {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 1.35rem;
  max-width: 320px;
}

.gh-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gh-footer__social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.gh-footer__social-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.gh-footer__social-link--fb:hover { background: #1877f2; border-color: #1877f2; }
.gh-footer__social-link--ig:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); border-color: transparent; }
.gh-footer__social-link--wa:hover { background: #25d366; border-color: #25d366; }
.gh-footer__social-link--phone:hover { background: #059669; border-color: #059669; }
.gh-footer__social-link--mail:hover { background: #266ab4; border-color: #266ab4; }

.gh-footer__heading {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(38, 106, 180, 0.55);
  display: inline-block;
}

.gh-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gh-footer__links li {
  margin-bottom: 0.5rem;
}

.gh-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s, transform 0.2s;
}

.gh-footer__links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.gh-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gh-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.gh-footer__contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.gh-footer__contact a:hover {
  color: #93c5fd;
}

.gh-footer__contact-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 106, 180, 0.22);
  color: #7dd3fc;
  font-size: 0.95rem;
}

.gh-footer__features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gh-footer__feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.gh-footer__feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.gh-footer__feature-icon--blue { background: rgba(37, 99, 235, 0.2); color: #93c5fd; }
.gh-footer__feature-icon--green { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.gh-footer__feature-icon--orange { background: rgba(249, 115, 22, 0.2); color: #fdba74; }
.gh-footer__feature-icon--purple { background: rgba(124, 58, 237, 0.2); color: #c4b5fd; }

.gh-footer__feature strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.1rem;
}

.gh-footer__feature span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
}

.gh-footer__bottom {
  background: #070b12;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0;
  color: rgba(255, 255, 255, 0.82);
}

.gh-footer__bottom .gh-container {
  color: inherit;
}

.gh-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.82);
}

.gh-footer__bottom-inner > span {
  color: rgba(255, 255, 255, 0.82);
}

.gh-footer__bottom a {
  color: #fff;
  text-decoration: none;
}

.gh-footer__bottom a:hover {
  color: #93c5fd;
}

.gh-footer__bottom-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gh-footer__bottom-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
}

.gh-footer__bottom-badges i {
  color: #7dd3fc;
}

/* Hide legacy footer */
.main-footer,
.scroll-to-top {
  display: none !important;
}

/* Responsive */
@media (max-width: 991px) {
  .gh-product-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gh-gallery {
    position: static;
  }

  .gh-product-buy__trust {
    grid-template-columns: 1fr 1fr;
  }

  .gh-layout-2col {
    grid-template-columns: 1fr;
  }

  .gh-contact-grid {
    grid-template-columns: 1fr;
  }

  .gh-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gh-footer__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .gh-footer__cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gh-cart-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

@media (max-width: 575px) {
  .gh-product-page {
    padding-top: 1.5rem;
  }

  .gh-gallery {
    padding: 1rem;
  }

  .gh-gallery__thumb-btn {
    width: 60px;
    height: 60px;
  }

  .gh-product-buy__intro,
  .gh-product-buy__panel {
    padding: 0;
  }

  .gh-product-buy__price-top {
    margin: 0.65rem 1.15rem 0;
    padding: 1rem 1.1rem;
  }

  .gh-product-buy__title {
    padding: 0.75rem 1.15rem 0;
  }

  .gh-product-buy__brand {
    padding: 0 1.15rem 0.75rem;
  }

  .gh-product-buy__short {
    padding: 0 1.15rem 1.15rem;
  }

  .gh-product-buy__chips {
    padding: 1rem 1.15rem 0;
  }

  .gh-product-buy__panel {
    padding: 1.15rem !important;
  }

  .gh-product-buy__trust {
    grid-template-columns: 1fr;
  }

  .gh-tabs__nav {
    flex-direction: column;
    padding: 0.65rem;
  }

  .gh-tabs__btn {
    border-radius: 10px;
    justify-content: center;
  }

  .gh-tabs__body {
    padding: 1.15rem;
  }

  .gh-form-grid {
    grid-template-columns: 1fr;
  }

  .gh-footer__grid {
    grid-template-columns: 1fr;
  }

  .gh-footer__features {
    grid-template-columns: 1fr;
  }

  .gh-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gh-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .gh-content {
    padding: 1.25rem;
  }
}

/* WhatsApp floating button */
.gh-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1150;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gh-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
}

.gh-whatsapp i {
  font-size: 1.45rem;
  line-height: 1;
}

.gh-whatsapp__pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25d366;
  animation: gh-wa-pulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes gh-wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@media (max-width: 575px) {
  .gh-whatsapp {
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }

  .gh-whatsapp__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gh-whatsapp__pulse {
    animation: none;
  }
}
