:root {
  --bg: #f6f2eb;
  --panel: rgba(255, 250, 245, 0.86);
  --panel-strong: #fffdf9;
  --ink: #172033;
  --muted: #5f677a;
  --line: rgba(23, 32, 51, 0.1);
  --primary: #ff6a00;
  --primary-deep: #d84f00;
  --accent: #00796b;
  --soft-orange: #fff1e2;
  --shadow: 0 22px 60px rgba(30, 38, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 106, 0, 0.16), transparent 28%),
    radial-gradient(circle at right, rgba(0, 121, 107, 0.12), transparent 24%),
    linear-gradient(135deg, #fbf7f1 0%, #efe8da 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.promo-strip {
  overflow: hidden;
  padding: 10px 0;
}

.promo-crawler {
  display: inline-flex;
  min-width: 100%;
  gap: 48px;
  white-space: nowrap;
  color: var(--primary-deep);
  font-weight: 700;
  animation: crawl 24s linear infinite;
}

@keyframes crawl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.topbar,
.hero-copy,
.hero-deals,
.service-bar,
.catalog-section,
.seller-section,
.support-band,
.modal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.topbar {
  border-radius: 28px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, #ffbe62 100%);
  color: white;
  font-weight: 800;
  font-size: 1.4rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.hero-text,
.section-head p,
.form-note,
.product-copy,
.product-meta,
.category-copy,
.cart-row p,
.support-band p {
  color: var(--muted);
  line-height: 1.65;
}

.searchbar,
.hero-actions,
.hero-trust,
.card-actions,
.price-row,
.cart-summary,
.cart-row,
.seller-layout,
.service-bar,
.topbar-actions {
  display: flex;
  gap: 14px;
}

.searchbar input,
.stack-form input,
.stack-form select,
.stack-form textarea,
.seller-form input,
.seller-form select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  padding: 14px 16px;
  color: var(--ink);
}

.searchbar button,
.primary-btn,
.ghost-btn,
.text-btn,
.icon-btn {
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.searchbar button:hover,
.primary-btn:hover,
.ghost-btn:hover,
.text-btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
}

.searchbar button,
.primary-btn {
  border-radius: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff9342 100%);
  color: white;
  font-weight: 800;
}

.ghost-btn {
  border-radius: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.text-btn,
.icon-btn {
  padding: 12px 14px;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
}

.icon-btn {
  background: var(--soft-orange);
  font-weight: 700;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 8px 24px;
  color: var(--muted);
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 22px;
}

.hero-copy,
.hero-deals,
.catalog-section,
.seller-section,
.support-band {
  border-radius: 30px;
}

.hero-copy {
  padding: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--primary-deep);
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.96;
  max-width: 11ch;
}

.hero-actions {
  margin: 28px 0 18px;
}

.hero-trust {
  flex-wrap: wrap;
}

.hero-trust span,
.product-badge,
.deal-card p {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--soft-orange);
  color: var(--primary-deep);
}

.hero-deals {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.deal-card {
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, #fff6eb 0%, #fff1df 100%);
}

.deal-card.feature {
  background: linear-gradient(135deg, #172033 0%, #2e446e 100%);
  color: white;
}

.deal-card.feature p,
.deal-card.feature span {
  color: rgba(255, 255, 255, 0.78);
}

.deal-card.accent {
  background: linear-gradient(135deg, #dff7f2 0%, #c3f0e8 100%);
}

.deal-card strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 6px;
}

.service-bar {
  margin: 22px 0;
  border-radius: 26px;
  padding: 22px;
}

.service-bar article {
  flex: 1;
  padding: 10px 8px;
}

.service-bar strong,
.seller-benefits strong {
  display: block;
  margin-bottom: 8px;
}

.catalog-section,
.seller-section,
.support-band {
  padding: 28px;
  margin-top: 22px;
}

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

.section-head.compact {
  align-items: start;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-head p {
  max-width: 58ch;
}

.category-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card,
.product-card,
.seller-benefits article,
.empty-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.category-card,
.product-card,
.empty-card {
  padding: 20px;
}

.category-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffe5c5 0%, #ffd3ab 100%);
  color: var(--primary-deep);
  font-weight: 800;
}

.product-name {
  font-size: 1.12rem;
  margin: 16px 0 8px;
}

.price-row {
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
}

.product-price {
  font-size: 1.2rem;
}

.product-strike {
  text-decoration: line-through;
  color: var(--muted);
}

.card-actions {
  margin-top: 16px;
}

.card-actions .primary-btn,
.card-actions .ghost-btn {
  flex: 1;
  text-align: center;
}

.seller-layout {
  align-items: start;
}

.seller-form,
.stack-form {
  display: grid;
  gap: 14px;
  flex: 1.1;
}

.seller-form label,
.stack-form label {
  display: grid;
  gap: 8px;
}

.seller-benefits {
  flex: 0.9;
  display: grid;
  gap: 14px;
}

.seller-benefits article {
  padding: 20px;
}

.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.support-band strong {
  color: var(--accent);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 28, 0.56);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 20;
}

.modal.hidden,
.hidden {
  display: none;
}

.modal-card {
  width: min(760px, 100%);
  border-radius: 28px;
  padding: 24px;
  position: relative;
}

.cart-card {
  width: min(860px, 100%);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
}

.full-width {
  width: 100%;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.cart-row {
  border: 1px solid var(--line);
  border-radius: 22px;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.68);
  padding: 18px;
}

.cart-row-actions {
  text-align: right;
}

.cart-summary {
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

@media (max-width: 1100px) {
  .hero-grid,
  .seller-layout,
  .support-band,
  .section-head,
  .topbar {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 18px, 1320px);
  }

  .topbar,
  .hero-copy,
  .hero-deals,
  .catalog-section,
  .seller-section,
  .support-band,
  .modal-card {
    border-radius: 24px;
  }

  .searchbar,
  .topbar-actions,
  .hero-actions,
  .service-bar,
  .card-actions,
  .cart-summary,
  .cart-row {
    flex-direction: column;
    align-items: stretch;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }
}
