/* GhanAmerica Concept 1 — Earth / Heritage Modern */
:root {
  --navy: #2f211b;
  --navy-2: #493126;
  --navy-3: #684839;
  --orange: #c96a43;
  --orange-2: #ad5337;
  --yellow: #d7ad57;
  --yellow-2: #c0903b;
  --blue: #286157;
  --green: #46654e;
  --red: #a4442e;
  --ink: #28221e;
  --muted: #74675d;
  --line: #ddccb4;
  --soft: #f7efe2;
  --white: #fffdf8;
  --shadow: 0 22px 54px rgba(68, 44, 31, .15);
  --radius: 20px;
  --ga-clay: #a65338;
  --ga-terracotta: #c96a43;
  --ga-sand: #dec49c;
  --ga-gold: #d7ad57;
  --ga-forest: #365348;
  --ga-cream: #fff9ed;
  font-family: "Segoe UI", Aptos, Arial, sans-serif;
}

body.ga-storefront {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(201,106,67,.14), transparent 31rem),
    radial-gradient(circle at 92% 12%, rgba(70,101,78,.12), transparent 28rem),
    linear-gradient(180deg, #fffaf0 0%, #f2e7d5 52%, #faf4e9 100%);
}

body.motion-13::before {
  background:
    linear-gradient(30deg, rgba(166,83,56,.035) 12%, transparent 12.5%, transparent 87%, rgba(166,83,56,.035) 87.5%) 0 0 / 72px 126px,
    linear-gradient(150deg, rgba(54,83,72,.035) 12%, transparent 12.5%, transparent 87%, rgba(54,83,72,.035) 87.5%) 0 0 / 72px 126px;
}

body.motion-13::after {
  inset: -42%;
  background: conic-gradient(from 40deg, rgba(201,106,67,.13), transparent 20%, rgba(215,173,87,.12), transparent 48%, rgba(54,83,72,.13), transparent 75%, rgba(201,106,67,.13));
  opacity: .34;
  animation-duration: 34s;
}

.ga-value-strip {
  position: relative;
  z-index: 70;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 20px;
  color: #fff9ed;
  background:
    linear-gradient(90deg, rgba(215,173,87,.15) 1px, transparent 1px) 0 0 / 26px 100%,
    #365348;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  letter-spacing: .02em;
}
.ga-value-mark {
  width: 14px;
  height: 14px;
  border: 2px solid var(--ga-gold);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 3px #365348, inset 0 0 0 6px var(--ga-gold);
}
.ga-value-route { color: #ead9bd; }
.ga-value-route b { color: var(--ga-gold); margin: 0 5px; }

.rp-topbar {
  min-height: 96px;
  height: auto;
  padding: 12px 22px;
  gap: 13px;
  background: rgba(47,33,27,.96);
  border-bottom: 1px solid rgba(215,173,87,.26);
  box-shadow: 0 16px 40px rgba(52,33,23,.22);
  backdrop-filter: blur(18px);
}
.rp-logo-wrap {
  min-width: 258px;
  height: 72px;
  padding: 5px 12px;
  border-radius: 18px;
  background: #173f35;
  border: 1px solid rgba(215,173,87,.44);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.035), 0 12px 28px rgba(0,0,0,.22);
}
.rp-logo { max-width: 236px; max-height: 64px; }
.rp-logo-fallback { color: #fff8e7; }
.rp-deliver,
.rp-toplink,
.rp-cart-link,
.gift-balance-link {
  height: 54px;
  padding: 7px 11px;
  border-radius: 14px;
  color: #fffaf0;
  border: 1px solid rgba(222,196,156,.15);
  background: rgba(255,255,255,.055);
}
.rp-deliver:hover,
.rp-toplink:hover,
.rp-cart-link:hover,
.gift-balance-link:hover { background: rgba(215,173,87,.13); border-color: rgba(215,173,87,.55); }
.tiny { color: #d8c5a8; }
.rp-search {
  height: 54px;
  max-width: 980px;
  border-radius: 15px;
  border: 2px solid transparent;
  background: #fffdf8;
  box-shadow: 0 12px 30px rgba(0,0,0,.17);
}
.rp-search:focus-within { border-color: var(--ga-gold); box-shadow: 0 0 0 5px rgba(215,173,87,.22), 0 14px 34px rgba(0,0,0,.19); }
.rp-search select { width: 164px; color: #493126; background: #f1e3ce; border-right-color: #d8c2a3; }
.rp-search button { background: linear-gradient(135deg, var(--ga-terracotta), #a65338); color: #fff; }
.rp-search button:hover { background: linear-gradient(135deg, #b75a3b, #8f422d); }
.cart-count { color: #2f211b; background: var(--ga-gold); box-shadow: 0 5px 14px rgba(0,0,0,.24); }

.rp-navline {
  min-height: 54px;
  top: 96px;
  padding: 9px 22px;
  color: #3e3028;
  background: rgba(255,249,237,.94);
  border-bottom: 1px solid rgba(166,83,56,.18);
  box-shadow: 0 12px 28px rgba(81,53,37,.09);
}
.nav-pill { color: #fffaf0; background: linear-gradient(135deg, #365348, #203d34); border-radius: 13px; box-shadow: 0 9px 20px rgba(32,61,52,.20); }
.department-strip a { color: #493126; background: #fffdf8; border-color: #ddccb4; border-radius: 12px; box-shadow: 0 5px 14px rgba(72,46,31,.05); }
.department-strip a:hover { color: #8f422d; background: #fff6e8; border-color: #c96a43; }

.rp-app { width: min(1540px, calc(100% - 34px)); }
.hero {
  margin: 24px 0 0;
  min-height: 390px;
  padding: 50px 46px 122px;
  border-radius: 30px;
  color: #fffaf0;
  isolation: isolate;
  background-color: #6e3528;
  background-image:
    linear-gradient(30deg, rgba(255,249,237,.08) 12%, transparent 12.5%, transparent 87%, rgba(255,249,237,.08) 87.5%),
    linear-gradient(150deg, rgba(255,249,237,.08) 12%, transparent 12.5%, transparent 87%, rgba(255,249,237,.08) 87.5%),
    linear-gradient(30deg, rgba(215,173,87,.16) 12%, transparent 12.5%, transparent 87%, rgba(215,173,87,.16) 87.5%),
    linear-gradient(150deg, rgba(215,173,87,.16) 12%, transparent 12.5%, transparent 87%, rgba(215,173,87,.16) 87.5%),
    linear-gradient(120deg, #7f3f2e 0%, #a65338 46%, #365348 100%);
  background-position: 0 0, 0 0, 36px 63px, 36px 63px, 0 0;
  background-size: 72px 126px, 72px 126px, 72px 126px, 72px 126px, 100% 100%;
  box-shadow: 0 32px 74px rgba(90,47,32,.30);
  animation: earthHeroIn .8s cubic-bezier(.2,.9,.2,1) both;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(35,24,19,.42), rgba(35,24,19,.05) 66%);
}
.hero::after {
  inset: auto -10% -49% 36%;
  height: 350px;
  border: 38px double rgba(255,249,237,.10);
  background: transparent;
  filter: none;
  animation: earthMedallion 18s linear infinite;
}
.hero-inner { max-width: 1370px; grid-template-columns: minmax(0,1fr) minmax(330px,430px); gap: 34px; }
.hero h1 { max-width: 870px; font-size: clamp(38px,5vw,68px); line-height: .98; letter-spacing: -2px; text-wrap: balance; }
.hero p { color: #f4e5ca; font-size: 20px; }
.hero .breadcrumbs { color: #f0cf96; }
.hero-card { padding: 22px; border-radius: 24px; background: rgba(255,250,239,.94); border: 1px solid rgba(255,255,255,.65); box-shadow: 0 24px 60px rgba(50,28,20,.28); }

.product-rotator-card { background: linear-gradient(145deg, rgba(255,253,248,.98), rgba(241,227,206,.92)); }
.product-rotator::before { background: conic-gradient(from 90deg, transparent, rgba(201,106,67,.38), transparent, rgba(54,83,72,.28), transparent, rgba(215,173,87,.35)); }
.product-rotator::after { background: rgba(255,250,239,.78); }
.product-rotator-orbit { border-color: rgba(73,49,38,.12); box-shadow: 0 0 0 26px rgba(201,106,67,.10), 0 0 0 56px rgba(54,83,72,.08); }
.product-rotator-glow { background: radial-gradient(circle, rgba(215,173,87,.46), transparent 68%); }

.home-panels { margin: -86px 22px 34px; gap: 20px; }
.home-card,
.loading-panel,
.empty-state,
.error-panel,
.filter-rail,
.listing-header,
.product-detail,
.cart-list,
.cart-summary,
.checkout-main,
.checkout-step,
.checkout-confirmation-card {
  color: var(--ink);
  background: rgba(255,253,248,.95);
  border: 1px solid rgba(166,83,56,.16);
  box-shadow: var(--shadow);
}
.home-card { min-height: 284px; padding: 22px; border-radius: 22px; border-top: 5px solid var(--ga-terracotta); }
.home-card:nth-child(2) { border-top-color: var(--ga-gold); }
.home-card:nth-child(3) { border-top-color: var(--ga-forest); }
.home-card:nth-child(4) { border-top-color: #7d4e3a; }
.home-card h2,
.section-title-row h2,
.listing-header h1,
.legal-page h1,
.detail-title h1 { color: #38271f; letter-spacing: -.035em; }
.category-mini { min-height: 92px; padding: 15px; color: #38271f; background: linear-gradient(180deg,#fffdf8,#f4e7d5); border-color: #dfc8a8; border-radius: 16px; }
.category-mini:hover { color: #8f422d; border-color: #c96a43; box-shadow: 0 13px 25px rgba(166,83,56,.13); }
.panel-list a { color: #493126; }

.product-row,
.product-grid { grid-template-columns: repeat(auto-fit,minmax(245px,1fr)); gap: 20px; }
.product-card { min-height: 410px; padding: 16px; border-radius: 22px; border: 1px solid rgba(166,83,56,.16); background: rgba(255,253,248,.97); box-shadow: 0 10px 28px rgba(82,52,35,.08); }
.product-card:hover { border-color: rgba(201,106,67,.52); box-shadow: 0 28px 58px rgba(82,52,35,.17); }
.product-card .image-box { height: 220px; border-radius: 18px; border: 1px solid #ebddca; background: linear-gradient(145deg,#fff,#f6ecdd); }
.product-title { color: #2f2824; font-weight: 750; }
.product-title:hover { color: #a65338; }
.price,
.detail-price { color: #9b402b; font-weight: 850; }
.card-kicker { color: #fff9ed; background: linear-gradient(135deg,#a65338,#365348); box-shadow: 0 9px 18px rgba(83,49,35,.16); }
.variant-badge { color: #365348; background: #e8f0e9; border-color: #c7d7ca; }

.btn,
.primary-action { color: #fffaf0; background: linear-gradient(135deg,#a65338,#c96a43); box-shadow: 0 12px 24px rgba(166,83,56,.22); }
.btn:hover,
.primary-action:hover { color: #fff; background: linear-gradient(135deg,#8f422d,#b65b3c); }
.btn.secondary { color: #493126; border-color: #d7c2a5; background: #fffaf0; }
.btn.secondary:hover { color: #2f211b; background: #f2e4cf; }
.btn.yellow { color: #2f211b; background: linear-gradient(135deg,#e4c06f,#c8963d); }
.btn.blue { background: linear-gradient(135deg,#365348,#247064); }
.mode-toggle { border-color: #ddccb4; background: #f7efe2; }
.mode-toggle button.active { background: linear-gradient(135deg,#365348,#243f36); }

.filter-rail,
.listing-header,
.product-detail,
.cart-list,
.cart-summary,
.buy-box,
.info-card { border-radius: 22px; }
.filter-rail h3,
.detail-table th { color: #68402f; }
.detail-table th { background: #f2e4cf; }
.main-image { border-radius: 22px; border-color: #eadac4; background: linear-gradient(145deg,#fff,#f9f0e3); }
.thumb,
.variant-option { border-radius: 13px; border-color: #d8c5a8; }
.thumb.active,
.thumb:hover,
.variant-option.selected { border-color: #c96a43; box-shadow: 0 0 0 3px rgba(201,106,67,.18); }
.buy-box { border-color: rgba(166,83,56,.22); background: linear-gradient(180deg,#fffdf8,#f3e6d3); }
.notice { border-color: #dfbf79; background: #fff4d9; color: #61451e; }
.live-status { border-color: #ddccb4; background: #f8efe1; }

.rp-footer { background: linear-gradient(135deg,#2f211b,#365348); border-top: 4px solid var(--ga-gold); }
.footer-back { background: rgba(255,255,255,.07); }
.footer-cols { grid-template-columns: repeat(4,minmax(0,1fr)); }
.rp-chat-launcher { background: linear-gradient(135deg,#a65338,#365348); box-shadow: 0 18px 36px rgba(47,33,27,.30); }

body.motion-13 .motion-layer .leaf {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(166,83,56,.20);
  background: rgba(215,173,87,.08);
  transform: rotate(45deg);
  animation: earthTile 12s ease-in-out infinite alternate;
}
body.motion-13 .motion-layer .leaf:nth-child(1) { left: 4%; top: 18%; }
body.motion-13 .motion-layer .leaf:nth-child(2) { left: 16%; top: 70%; animation-delay: -3s; }
body.motion-13 .motion-layer .leaf:nth-child(3) { left: 33%; top: 32%; animation-delay: -7s; }
body.motion-13 .motion-layer .leaf:nth-child(4) { left: 48%; top: 82%; animation-delay: -5s; }
body.motion-13 .motion-layer .leaf:nth-child(5) { left: 63%; top: 17%; animation-delay: -9s; }
body.motion-13 .motion-layer .leaf:nth-child(6) { left: 76%; top: 62%; animation-delay: -2s; }
body.motion-13 .motion-layer .leaf:nth-child(7) { left: 88%; top: 28%; animation-delay: -6s; }
body.motion-13 .motion-layer .leaf:nth-child(8) { left: 94%; top: 78%; animation-delay: -4s; }
.design-progress { background: linear-gradient(90deg,var(--ga-terracotta),var(--ga-gold),var(--ga-forest)); }
.pointer-glow { background: radial-gradient(circle,rgba(215,173,87,.16),transparent 68%); }

@keyframes earthHeroIn { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes earthMedallion { to { transform: rotate(352deg); } }
@keyframes earthTile { from { translate: 0 -8px; rotate: 45deg; } to { translate: 16px 14px; rotate: 135deg; } }

@media (max-width: 900px) {
  .ga-value-strip { flex-wrap: wrap; gap: 7px 12px; text-align: center; }
  .rp-topbar { min-height: 0; padding: 10px 12px; }
  .rp-logo-wrap { min-width: 214px; height: 64px; }
  .rp-logo { max-width: 198px; max-height: 56px; }
  .rp-navline { top: 0; }
  .hero { padding: 36px 24px 102px; border-radius: 24px; }
  .hero-inner { grid-template-columns: 1fr; }
  .home-panels { margin-top: -72px; grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .ga-value-route { display: none; }
  .ga-value-strip { font-size: 12px; }
  .rp-logo-wrap { min-width: 184px; height: 58px; }
  .rp-logo { max-width: 168px; max-height: 50px; }
  .product-row,
  .product-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero::after,
  body.motion-13 .motion-layer .leaf { animation: none !important; }
}
