:root {
  --bg: #060a08;
  --bg-soft: #0a100d;
  --surface: #0e1613;
  --surface-2: #122019;
  --border: #1c2b24;
  --border-strong: #2a4437;
  --green-100: #d6f5e5;
  --green-300: #6ee7a9;
  --green-400: #3ddc84;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-800: #15803d;
  --green-900: #14532d;
  --green-950: #0b2e1c;
  --text: #eaf3ee;
  --text-muted: #9db4a8;
  --danger: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-glow: 0 10px 40px rgba(34, 197, 94, 0.14);
  --font-heading: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(20, 83, 45, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(11, 46, 28, 0.4), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.site-main {
  flex: 1;
}

.section {
  padding-block: clamp(48px, 7vw, 84px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--green-400), transparent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-link {
  flex-shrink: 0;
  color: var(--green-300);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.section-link:hover {
  color: var(--green-100);
}

.text-muted {
  color: var(--text-muted);
}

.grad-text {
  background: linear-gradient(120deg, var(--green-300), var(--green-500) 60%, #a7f3c9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-400), var(--green-800));
  color: #04170b;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  box-shadow: 0 12px 48px rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(34, 197, 94, 0.06);
  border-color: var(--border-strong);
  color: var(--green-100);
}

.btn--ghost:hover {
  border-color: var(--green-600);
  background: rgba(34, 197, 94, 0.12);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

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

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 10, 8, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand__tech {
  color: var(--green-400);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.nav-drop > button:hover {
  color: var(--text);
  background: rgba(34, 197, 94, 0.08);
}

.site-nav a.is-active {
  color: var(--green-300);
  background: rgba(34, 197, 94, 0.1);
}

.nav-drop {
  position: relative;
}

.nav-drop__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop__menu a {
  display: block;
  border-radius: 8px;
  padding: 9px 12px;
}

.header-search {
  margin-left: auto;
}

.header-search form {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search input {
  width: clamp(160px, 20vw, 260px);
  padding: 10px 16px 10px 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, width 0.25s ease;
}

.header-search input:focus {
  border-color: var(--green-600);
  width: clamp(200px, 26vw, 320px);
}

.header-search svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 10vw, 130px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 220, 132, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 220, 132, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 80% at 65% 25%, black 25%, transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.22), rgba(20, 83, 45, 0.08) 55%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(20, 83, 45, 0.25);
  color: var(--green-300);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 12px var(--green-400);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-300);
}

.stat__label {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(160deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-800);
  box-shadow: var(--shadow-glow);
}

.category-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(34, 197, 94, 0.18), rgba(20, 83, 45, 0.35));
  border: 1px solid var(--border-strong);
  color: var(--green-300);
}

.category-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--green-800);
  box-shadow: var(--shadow-glow);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__media .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green-900);
}

.badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.badge--promo {
  background: linear-gradient(135deg, var(--green-400), var(--green-800));
  color: #03150a;
}

.badge--out {
  background: rgba(40, 8, 8, 0.85);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.badge--service {
  background: rgba(20, 83, 45, 0.85);
  color: var(--green-300);
  border: 1px solid var(--border-strong);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  flex: 1;
}

.product-card__category {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
}

.product-card__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-card__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.product-card__body {
  position: relative;
}

.product-card__footer {
  margin-top: auto;
  padding-top: 12px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price__from {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.price__old {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price__current {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--green-300);
}

.price__current--promo {
  color: var(--green-400);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.benefit svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--green-400);
}

.benefit h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.benefit p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(34, 197, 94, 0.25), transparent 65%),
    linear-gradient(120deg, var(--green-950), #071009 70%);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.cta-banner h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cta-banner p {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.filters {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filters__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.93rem;
  transition: all 0.15s ease;
}

.filter-link:hover {
  color: var(--text);
  background: rgba(34, 197, 94, 0.07);
}

.filter-link.is-active {
  color: var(--green-300);
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--border-strong);
  font-weight: 600;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.catalog-toolbar__count {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.sort-select {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sort-select select {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

.sort-select select:focus {
  border-color: var(--green-600);
}

.empty-state {
  text-align: center;
  padding: clamp(40px, 8vw, 80px) 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

.empty-state svg {
  width: 52px;
  height: 52px;
  color: var(--green-900);
  margin-inline: auto;
  margin-bottom: 16px;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.15s ease;
}

.page-btn:hover:not(.is-current):not([disabled]) {
  border-color: var(--green-600);
  color: var(--text);
}

.page-btn.is-current {
  background: linear-gradient(135deg, var(--green-400), var(--green-800));
  border-color: transparent;
  color: #04170b;
}

.page-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-ellipsis {
  color: var(--text-muted);
  padding-inline: 4px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 28px;
}

.breadcrumb a:hover {
  color: var(--green-300);
}

.breadcrumb .sep {
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--text);
}

.page-head {
  padding: 18px 0 8px;
}

.page-head h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: -0.02em;
}

.page-head p {
  color: var(--text-muted);
  max-width: 70ch;
  margin: 10px 0 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-block: 28px 56px;
}

.gallery {
  position: sticky;
  top: 96px;
}

.gallery__main {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.gallery__thumb {
  width: 74px;
  height: 74px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.pdp-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pdp-info__category {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
}

.pdp-info__category a:hover {
  text-decoration: underline;
}

.pdp-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.pdp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.pdp-price {
  padding: 20px 22px;
  background: linear-gradient(150deg, rgba(20, 83, 45, 0.3), var(--bg-soft));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.pdp-price .price__current {
  font-size: 2rem;
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.stock-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.stock-status--in .dot {
  background: var(--green-400);
  box-shadow: 0 0 10px var(--green-400);
}

.stock-status--in {
  color: var(--green-300);
}

.stock-status--out .dot {
  background: var(--danger);
}

.stock-status--out {
  color: var(--danger);
}

.variants-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.variant-chip:hover {
  border-color: var(--green-600);
}

.variant-chip.is-selected {
  background: linear-gradient(135deg, var(--green-400), var(--green-800));
  border-color: transparent;
  color: #04170b;
}

.variant-chip[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pdp-section {
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--border);
}

.pdp-section h2 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.pdp-description {
  color: var(--text-muted);
  max-width: 75ch;
  white-space: pre-line;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 720px;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 12px 4px;
  vertical-align: top;
}

.specs-table th {
  color: var(--text-muted);
  font-weight: 500;
  width: 220px;
}

.specs-table td {
  color: var(--text);
}

.site-footer {
  margin-top: clamp(48px, 7vw, 84px);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-soft), #040705);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(40px, 6vw, 64px);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 34ch;
  margin: 14px 0 0;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.93rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--green-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
}

@media (max-width: 1020px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .filters__title {
    width: 100%;
  }

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

  .gallery {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px clamp(16px, 4vw, 32px) 20px;
    background: rgba(6, 10, 8, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .nav-drop > button {
    padding: 13px 14px;
    border-radius: var(--radius-sm);
  }

  .nav-drop__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 14px;
  }

  .header-search {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .hero__actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Header: ações (carrinho + conta) ---- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cart {
  position: relative;
  color: var(--text);
  display: flex;
  align-items: center;
}

.header-cart:hover {
  color: var(--accent);
}

.header-cart__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.header-account {
  color: var(--text);
  display: flex;
  align-items: center;
}

.header-account:hover {
  color: var(--accent);
}

/* ---- Páginas de autenticação ---- */
.auth-page {
  max-width: 440px;
  margin: 48px auto 64px;
  padding: 0 16px;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.auth-card h1 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.auth-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-form input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--success {
  background: #3ddc84 !important;
  color: #060a08 !important;
  border-color: #3ddc84 !important;
}

.auth-alt {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-alt a {
  color: var(--accent);
}

/* ---- Alertas ---- */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.alert--error {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff6b7a;
}

/* ---- Página do carrinho ---- */
.cart-page {
  margin: 32px auto 64px;
  max-width: 800px;
}

.cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
}

.cart-empty a {
  color: var(--accent);
  margin-top: 16px;
  display: inline-block;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cart-table td {
  padding: 16px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-product-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.cart-product-name {
  font-weight: 600;
}

.cart-product-sku {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 0;
}

.cart-qty button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty button:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.cart-qty button:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.cart-qty span {
  width: 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  height: 32px;
  line-height: 32px;
  font-size: 0.95rem;
}

.cart-remove {
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
}

.cart-remove:hover {
  color: #ff6b7a;
}

.cart-summary {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.cart-total-label {
  font-size: 1rem;
  color: var(--text-muted);
}

.cart-total-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---- Conta do cliente ---- */
.account-page {
  margin: 32px auto 64px;
  max-width: 900px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.account-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.account-card h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.address-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.address-item {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.address-item--default {
  border-color: var(--accent);
}

.address-item p {
  margin: 4px 0;
  color: var(--text-muted);
}

.address-form-toggle summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 640px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Checkout ---- */
.checkout-page {
  margin: 32px auto 64px;
  max-width: 900px;
}

.checkout-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.checkout-section h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.checkout-form label {
  display: block;
  margin-bottom: 12px;
}

.checkout-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}

.checkout-summary h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.checkout-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkout-total-row--total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.shipping-info {
  font-size: 0.9rem;
  line-height: 1.6;
}

.text-accent {
  color: var(--accent);
  font-weight: 600;
}

.address-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.address-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
}

.address-option--selected {
  border-color: var(--accent);
}

.address-option input[type="radio"] {
  margin-top: 3px;
}

.address-option p {
  margin: 2px 0;
  color: var(--text-muted);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.payment-method:has(input:checked) {
  border-color: var(--accent);
}

.payment-method__info {
  display: flex;
  flex-direction: column;
}

.payment-method__info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Order status pages ---- */
.order-status-page {
  max-width: 500px;
  margin: 64px auto;
  padding: 0 16px;
}

.order-status-card {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
}

.order-status-card h1 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 20px 0 12px;
}

.order-status-card p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.order-id {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.order-status-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.btn--sm {
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* ---- Admin order detail (public side uses these too) ---- */
.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.order-detail-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.order-detail-section h2 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.order-detail-section p {
  margin: 4px 0;
  font-size: 0.9rem;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-badge--pending_payment { background: rgba(240,173,78,0.15); color: #f0ad4e; }
.status-badge--paid { background: rgba(61,220,132,0.15); color: #3ddc84; }
.status-badge--processing { background: rgba(52,152,219,0.15); color: #3498db; }
.status-badge--shipped { background: rgba(155,89,182,0.15); color: #9b59b6; }
.status-badge--delivered { background: rgba(61,220,132,0.15); color: #3ddc84; }
.status-badge--cancelled { background: rgba(220,53,69,0.15); color: #ff6b7a; }

@media (max-width: 640px) {
  .order-detail-grid {
    grid-template-columns: 1fr;
  }
}
