:root {
  --brand: #b30000;
  --brand-dark: #8a0000;
  --brand-deep: #6e0000;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --soft: #f7f7f7;
  --ok: #1f8a3b;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 0% 0%, rgba(179, 0, 0, 0.06), transparent 40%),
    radial-gradient(circle at 100% 10%, rgba(179, 0, 0, 0.04), transparent 35%),
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.topbar-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-mark span { color: var(--ink); }
.logo-tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.search {
  position: relative;
  width: 100%;
}
.search-shell {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1.5px solid #e2e2e2;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}
.search.is-open .search-shell,
.search-shell:focus-within {
  border-color: #f0b0b0;
  box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.08), 0 12px 28px rgba(15, 23, 42, 0.08);
}
.search-icon {
  display: inline-flex;
  color: var(--muted);
  padding-left: 0.95rem;
  flex: 0 0 auto;
}
.search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0.82rem 0.4rem;
  background: transparent;
  font: inherit;
  min-width: 0;
}
.search input::-webkit-search-cancel-button { appearance: none; }
.search-submit {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.72rem 1.15rem;
  margin: 0.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.search-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }

.suggest-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.45rem);
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  z-index: 80;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  animation: suggestIn 0.16s ease;
}
@keyframes suggestIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.suggest-section {
  padding: 0.7rem 0.55rem 0.35rem;
}
.suggest-section + .suggest-section {
  border-top: 1px solid #f1f1f1;
}
.suggest-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.15rem 0.7rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.suggest-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 0.12s ease;
}
.suggest-item:hover,
.suggest-item.is-active {
  background: #fff5f5;
}
.suggest-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: #f7f7f7;
  border: 1px solid #f0f0f0;
  padding: 3px;
  box-sizing: border-box;
}
.suggest-item-title {
  font-weight: 750;
  font-size: 0.95rem;
  line-height: 1.25;
}
.suggest-item-title mark {
  background: transparent;
  color: var(--brand);
  font-weight: 800;
}
.suggest-item-meta {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.suggest-item-price {
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  font-size: 0.92rem;
}
.suggest-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 0.55rem 0.55rem;
}
.suggest-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem 0.4rem 0.35rem;
  border-radius: 999px;
  border: 1px solid #ececec;
  background: #fafafa;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
.suggest-chip:hover,
.suggest-chip.is-active {
  border-color: #f0b0b0;
  background: #fff5f5;
  transform: translateY(-1px);
}
.suggest-chip img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff4f4;
}
.suggest-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  border-top: 1px solid #f1f1f1;
  background: #fcfcfc;
}
.suggest-footer a {
  color: var(--brand);
  font-weight: 800;
  font-size: 0.9rem;
}
.suggest-empty,
.suggest-loading {
  padding: 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}
.suggest-kbd {
  font-size: 0.72rem;
  color: #aaa;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: #fff5f5; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.92rem; }

.nav {
  border-top: 1px solid var(--line);
  background: #fff;
}
.nav-inner {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  padding: 0.7rem 0;
}
.nav a {
  white-space: nowrap;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover, .nav a.active { color: var(--brand); }

.flash {
  margin: 1rem auto 0;
  width: min(1180px, calc(100% - 2rem));
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-weight: 600;
}
.flash-success { background: #e8f7ec; color: #14612a; }
.flash-error { background: #fdecec; color: #8a1515; }

.hero {
  padding: 2.4rem 0 1.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero-copy p {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.4rem; }
.value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #333;
}
.value-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff0f0;
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 340px;
  background:
    linear-gradient(120deg, rgba(179,0,0,0.12), rgba(0,0,0,0.35)),
    url('/images/hero-warehouse.svg') center/cover no-repeat,
    #2a2a2a;
  box-shadow: var(--shadow);
  animation: rise 0.8s ease both;
}
.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255,255,255,0.94);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  max-width: 240px;
  font-weight: 700;
  font-size: 0.95rem;
}
.map-pins {
  position: absolute;
  inset: 0;
  background: url('/images/india-map.svg') left 8% center / 46% no-repeat;
  opacity: 0.95;
  animation: float 5s ease-in-out infinite;
}

.section { padding: 2.2rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}
.section-head a { color: var(--brand); font-weight: 700; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 0.7rem;
  text-align: center;
  transition: 0.2s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: #f0b0b0;
  box-shadow: var(--shadow);
}
.category-card img {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.7rem;
  border-radius: 16px;
  object-fit: cover;
  background: #fff4f4;
}
.category-card span {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}
.category-tree {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.category-group {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.category-group:last-child { border-bottom: 0; }
.category-card-main {
  display: block;
}
.subcategory-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  min-height: 64px;
}
.subcategory-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem 0.45rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: inherit;
  transition: 0.15s ease;
}
.subcategory-chip:hover {
  border-color: #f0b0b0;
  box-shadow: var(--shadow);
}
.subcategory-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff4f4;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 700;
  color: #444;
}
.tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #f7f7f7;
  padding: 0.5rem;
  box-sizing: border-box;
}
.product-gallery-main {
  width: 100%;
  min-height: 320px;
  max-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f7f7f7;
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 1rem;
  box-sizing: border-box;
}
.product-gallery-main img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  display: block;
}
.product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.product-gallery-thumbs .thumb-btn {
  padding: 0;
  border: 2px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f7;
  cursor: pointer;
  width: 72px;
  height: 72px;
}
.product-gallery-thumbs .thumb-btn.is-active {
  border-color: var(--brand);
}
.product-gallery-thumbs .thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 4px;
  box-sizing: border-box;
}
.product-body { padding: 0.9rem 1rem 1.1rem; }
.product-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}
.price {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.price-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 0.12rem;
}
.price.price-lg {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.price.price-lg .price-label {
  font-size: 0.78rem;
}
.enquiry-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}
.enquiry-product-media {
  width: 100%;
  min-height: 220px;
  max-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 0.9rem;
  box-sizing: border-box;
}
.enquiry-product-media img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
}
@media (max-width: 860px) {
  .enquiry-layout { grid-template-columns: 1fr; }
}
.otp-box {
  padding: 0.9rem 1rem;
  border: 1px solid #f0d0d0;
  border-radius: 14px;
  background: #fff8f8;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.otp-box.is-verified {
  border-color: #9fd6b0;
  background: linear-gradient(180deg, #f4fff8 0%, #eafaf0 100%);
  box-shadow: 0 10px 28px rgba(31, 143, 75, 0.08);
}
.otp-head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.7rem;
}
.otp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  margin-bottom: 0.55rem;
}
.otp-verified-panel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  animation: otpPop 0.28s ease;
}
.otp-verified-panel[hidden] { display: none !important; }
@keyframes otpPop {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.otp-verified-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1f8f4b;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(31, 143, 75, 0.28);
  flex: 0 0 auto;
}
.otp-verified-copy { flex: 1; min-width: 180px; }
.otp-verified-title {
  font-weight: 800;
  color: #146c38;
  font-size: 0.98rem;
}
.otp-verified-number {
  margin-top: 0.2rem;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.otp-verified-note {
  margin-top: 0.2rem;
  color: #3d7a55;
  font-size: 0.86rem;
  font-weight: 600;
}
.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.3rem;
  background: #f4f4f4;
  border-radius: 12px;
}
.login-tab {
  border: 0;
  background: transparent;
  padding: 0.7rem 0.6rem;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  color: var(--muted);
}
.login-tab.is-active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.signup-choice {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.signup-choice-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.signup-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.signup-choice-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  min-height: 78px;
}
.signup-choice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.signup-choice-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.signup-choice-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.signup-choice-copy strong {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
}
.signup-choice-copy span {
  font-size: 0.78rem;
  line-height: 1.3;
  opacity: 0.88;
}
.signup-choice-seller {
  background: linear-gradient(145deg, #b30000 0%, #8a0000 100%);
  color: #fff;
  border-color: #7a0000;
}
.signup-choice-seller .signup-choice-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.signup-choice-buyer {
  background: #fff8f8;
  color: var(--brand-dark);
  border-color: #e8b4b4;
}
.signup-choice-buyer .signup-choice-icon {
  background: #ffe8e8;
  color: var(--brand);
}
.signup-choice-buyer:hover {
  border-color: var(--brand);
  background: #fff2f2;
}
@media (max-width: 560px) {
  .signup-choice-grid { grid-template-columns: 1fr; }
}
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1rem;
  align-items: start;
}
.legal-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.legal-nav-list a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}
.legal-nav-list a:hover,
.legal-nav-list a.is-active {
  background: #fff5f5;
  color: var(--brand);
}
.legal-body {
  margin-top: 1rem;
  line-height: 1.7;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.4rem 0 0.55rem;
}
.legal-body ul {
  padding-left: 1.15rem;
}
.legal-body a {
  color: var(--brand);
  font-weight: 700;
}
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
}
.moq { color: var(--muted); font-size: 0.86rem; margin-bottom: 0.55rem; }
.verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--ok);
  font-weight: 700;
  font-size: 0.86rem;
}

.stats {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  box-shadow: var(--shadow);
}
.stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff0f0;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.stat strong { display: block; font-size: 1.05rem; }
.stat span { color: var(--muted); font-size: 0.88rem; }

.newsletter {
  margin-top: 2rem;
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  color: #fff;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.newsletter h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}
.newsletter p { margin: 0; opacity: 0.92; }
.newsletter form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.newsletter input {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  min-width: 240px;
}
.newsletter button {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}

.footer {
  margin-top: 2.5rem;
  background: linear-gradient(180deg, var(--brand-dark), #4d0000);
  color: #fff;
  padding: 2.5rem 0 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr;
  gap: 1.4rem;
}
.footer h4 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}
.footer a, .footer p, .footer li {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.45rem; }
.socials { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.8);
}
.footer-bottom nav { display: flex; gap: 1rem; flex-wrap: wrap; }

.page {
  padding: 2rem 0 3rem;
}
.page-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.page h1 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 2rem;
}
.muted { color: var(--muted); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  vertical-align: top;
}
th { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #fff0f0;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
}
.dash-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1rem;
}
.side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}
.side a {
  display: block;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.side a:hover, .side a.active { background: #fff0f0; color: var(--brand); }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-copy { animation: rise 0.7s ease both; }
.category-card, .product-card { animation: rise 0.6s ease both; }

.split-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}
.split-2.equal { grid-template-columns: 1fr 1fr; }

@media (max-width: 980px) {
  .topbar-inner { grid-template-columns: 1fr; }
  .hero-grid, .dash-grid, .split-2, .split-2.equal,
  .page-card[style*="grid-template-columns:1.05fr"] { grid-template-columns: 1fr !important; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats, .footer-grid, .value-row { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .category-group { grid-template-columns: 1fr; }
  .category-grid, .product-grid, .stats, .footer-grid, .value-row { grid-template-columns: 1fr; }
  .top-actions .ghost-link span { display: none; }
  .product-gallery-main {
    min-height: 240px;
    max-height: 360px;
    padding: 0.75rem;
  }
  .product-gallery-main img { max-height: 320px; }
  .search-submit { padding: 0.72rem 0.9rem; font-size: 0.8rem; }
  .suggest-item { grid-template-columns: 42px 1fr; }
  .suggest-item-price { display: none; }
  .suggest-footer { flex-direction: column; align-items: flex-start; }
}
