:root {
  --bg: #f6f4ec;
  --surface: #fffdf7;
  --surface-strong: #f0ead8;
  --surface-dark: #121212;
  --text: #182019;
  --text-muted: #5e6359;
  --brand: #94bb1f;
  --brand-dark: #6f8f11;
  --brand-soft: rgba(148, 187, 31, 0.14);
  --accent: #ff9f1c;
  --accent-soft: rgba(255, 159, 28, 0.14);
  --border: rgba(24, 32, 25, 0.09);
  --shadow: 0 22px 60px rgba(18, 18, 18, 0.08);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 159, 28, 0.12), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f4f1e7 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 247, 0.9);
  border-bottom: 1px solid rgba(24, 32, 25, 0.06);
  backdrop-filter: blur(20px);
}

.header-top,
.nav-row,
.hero-grid,
.strip-grid,
.catalog-layout,
.footer-inner,
.offer-grid {
  display: grid;
  gap: 20px;
}

.header-top {
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 86px;
}

.nav-row {
  grid-template-columns: 1fr;
  padding-bottom: 16px;
}

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

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-name,
.section-heading h2,
.catalog-head h2,
.cart-top h2,
.bulk-card h2,
.hero-copy h1 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-tag {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.header-search input,
.offer-form input,
.sort-control select {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.header-search input:focus,
.offer-form input:focus,
.sort-control select:focus {
  outline: none;
}

.header-search button,
.offer-action,
.offer-form button,
.btn,
.add-button,
.qty-button,
.cart-link {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-search button,
.offer-form button,
.btn-primary,
.add-button,
.cart-link {
  background: var(--surface-dark);
  color: #ffffff;
}

.header-search button,
.offer-form button,
.cart-link {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.header-search button:hover,
.offer-form button:hover,
.btn:hover,
.add-button:hover,
.offer-action:hover,
.qty-button:hover,
.cart-link:hover {
  transform: translateY(-1px);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cart-link span,
.cart-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--surface-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--text-muted);
  font-weight: 700;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--brand-dark);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.65;
}

.hero-orb-left {
  top: 30px;
  left: -120px;
  width: 280px;
  height: 280px;
  background: rgba(148, 187, 31, 0.18);
}

.hero-orb-right {
  right: -90px;
  top: 100px;
  width: 240px;
  height: 240px;
  background: rgba(255, 159, 28, 0.16);
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero-copy h1,
.section-heading h2,
.catalog-head h2,
.cart-top h2,
.bulk-card h2 {
  margin: 0;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.hero-copy p,
.section-heading p,
.offer-card p,
.product-copy p,
.cart-empty p,
.checkout-message,
.bulk-card p,
.strip-item span,
.cart-row-meta {
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-copy p {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.02rem;
}

.hero-actions,
.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
}

.btn-secondary,
.offer-action,
.qty-button,
.filter-chip,
.sort-control,
.offer-form,
.summary-box,
.strip-item,
.panel-card,
.offer-card,
.product-card,
.toolbar-card,
.cart-panel,
.bulk-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.btn-secondary,
.offer-action,
.qty-button {
  background: transparent;
  color: var(--text);
}

.btn-secondary:hover,
.offer-action:hover,
.qty-button:hover,
.filter-chip:hover {
  background: var(--surface-strong);
}

.hero-stats,
.panel-list,
.filter-group,
.cart-qty,
.product-meta,
.summary-row,
.offer-form-row {
  display: flex;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats article {
  min-width: 160px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.82);
  border: 1px solid rgba(24, 32, 25, 0.08);
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.panel-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.accent-card {
  background:
    linear-gradient(135deg, rgba(148, 187, 31, 0.14), rgba(255, 159, 28, 0.08)),
    var(--surface);
}

.panel-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.panel-list {
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-list li {
  position: relative;
  padding-left: 18px;
}

.panel-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.strip-section {
  padding: 0 0 24px;
}

.strip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.strip-item {
  padding: 22px;
  border-radius: var(--radius-md);
}

.strip-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.offer-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.offer-code {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-dark);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.offer-action {
  margin-top: 20px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.catalog-section {
  padding-top: 36px;
}

.catalog-head {
  display: grid;
  gap: 24px;
  margin-bottom: 26px;
}

.toolbar-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
}

.filter-group {
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--text-muted);
}

.filter-chip.is-active {
  background: var(--surface-dark);
  border-color: var(--surface-dark);
  color: #ffffff;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text-muted);
}

.catalog-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.results-meta {
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--text-muted);
}

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

.product-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.product-visual {
  position: relative;
  min-height: 180px;
  padding: 18px;
  border-radius: 24px;
  overflow: hidden;
  color: #ffffff;
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.4;
}

.product-visual::before {
  width: 110px;
  height: 110px;
  right: -25px;
  top: -20px;
  background: rgba(255, 255, 255, 0.28);
}

.product-visual::after {
  width: 88px;
  height: 88px;
  left: -14px;
  bottom: -18px;
  background: rgba(255, 255, 255, 0.16);
}

.visual-lighting {
  background: linear-gradient(135deg, #6f8f11, #94bb1f 55%, #bfd65d);
}

.visual-lamps {
  background: linear-gradient(135deg, #3c2b22, #b26f32 55%, #ffb347);
}

.visual-bulbs {
  background: linear-gradient(135deg, #1d3341, #2f6b8a 55%, #71c6ea);
}

.visual-appliance {
  background: linear-gradient(135deg, #1f1f1f, #454545 55%, #7b7b7b);
}

.visual-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-name {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 44px;
  max-width: 11ch;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.product-meta {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stock-badge,
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.stock-badge {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  background: var(--accent-soft);
  color: #9a5d00;
}

.product-copy h3,
.cart-empty h3,
.cart-item h3,
.empty-state h3 {
  margin: 0 0 8px;
}

.product-copy h3 {
  font-size: 1.25rem;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.price-block {
  display: grid;
  gap: 4px;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 800;
}

.old-price {
  color: var(--text-muted);
  text-decoration: line-through;
}

.add-button {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.cart-panel {
  position: sticky;
  top: 120px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.cart-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

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

.cart-empty,
.empty-state {
  padding: 22px;
  border: 1px dashed rgba(24, 32, 25, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.35);
}

.cart-item {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.cart-row-top,
.summary-row,
.cart-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-row-meta {
  font-size: 0.92rem;
}

.cart-qty {
  align-items: center;
  gap: 8px;
}

.qty-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.offer-form {
  padding: 18px;
  border-radius: var(--radius-md);
}

.offer-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.offer-form-row {
  gap: 10px;
}

.offer-form-row input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.offer-message {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.offer-message.is-error {
  color: #b54b23;
}

.offer-message.is-success {
  color: var(--brand-dark);
}

.summary-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-md);
}

.summary-row {
  padding: 10px 0;
}

.summary-row + .summary-row {
  border-top: 1px solid rgba(24, 32, 25, 0.08);
}

.discount-row strong {
  color: var(--brand-dark);
}

.total-row strong {
  font-size: 1.35rem;
}

.checkout-button {
  width: 100%;
  margin-top: 18px;
}

.checkout-message {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.bulk-section {
  padding-top: 20px;
}

.bulk-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 32px;
}

.site-footer {
  padding-top: 18px;
}

.footer-inner {
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  align-items: start;
  padding: 34px 0;
}

.footer-inner p,
.footer-links a,
.footer-contact a,
.footer-bottom {
  color: var(--text-muted);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(24, 32, 25, 0.06);
  text-align: center;
}

@media (max-width: 1160px) {
  .hero-grid,
  .catalog-layout,
  .strip-grid,
  .offer-grid,
  .product-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cart-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 72px 0;
  }

  .container {
    width: min(100% - 20px, 1240px);
  }

  .header-top,
  .hero-grid,
  .strip-grid,
  .offer-grid,
  .catalog-layout,
  .product-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .header-top {
    padding: 14px 0;
  }

  .brand {
    justify-content: center;
  }

  .cart-link {
    justify-content: center;
  }

  .nav-row {
    padding-bottom: 14px;
  }

  .site-nav {
    justify-content: center;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .toolbar-card,
  .bulk-card {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .header-search,
  .offer-form-row,
  .price-row,
  .cart-row-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-search button,
  .offer-form button,
  .add-button,
  .btn {
    width: 100%;
  }

  .hero-section {
    padding-top: 32px;
  }

  .panel-card,
  .offer-card,
  .product-card,
  .toolbar-card,
  .cart-panel,
  .bulk-card {
    border-radius: 24px;
  }

  .product-visual {
    min-height: 164px;
  }

  .visual-name {
    margin-top: 36px;
    font-size: 1.65rem;
  }
}
