:root {
  --ink: #17211f;
  --muted: #65706d;
  --line: #e3ebe8;
  --paper: #fbf8f2;
  --white: #ffffff;
  --brand: #00a896;
  --brand-dark: #007f73;
  --gold: #d89830;
  --gold-soft: #fff3d8;
  --coral: #e45b45;
  --shadow: 0 18px 50px rgba(23, 33, 31, 0.12);
  --soft-shadow: 0 10px 30px rgba(23, 33, 31, 0.08);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: rgba(0, 168, 150, 0.22);
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  box-shadow: var(--shadow);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.page-title .container,
.shop-layout {
  width: calc(100% - 32px);
  max-width: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(216, 152, 48, 0.38);
  border-radius: 8px;
  object-fit: contain;
  background: #fffdfa;
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.08);
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #35413e;
  font-weight: 700;
}

.nav-links a,
.nav-toggle,
.filter-btn,
.ghost-btn,
.primary-btn {
  min-height: 42px;
  border-radius: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
}

.nav-links a:hover,
.nav-links a.active { color: var(--brand-dark); background: #e8faf6; }

.nav-toggle {
  display: none;
  width: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(0, 168, 150, 0.34);
  background: #e8faf6;
  color: var(--brand-dark);
  padding: 0;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 118px);
  min-height: calc(100dvh - 118px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(72px, 10vh, 128px) 0 38px;
  color: var(--white);
  background: #17211f;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.2), transparent 22%),
    linear-gradient(90deg, rgba(8, 16, 14, 0.8) 0%, rgba(8, 16, 14, 0.56) 46%, rgba(8, 16, 14, 0.72) 100%);
}

.hero::after {
  background: linear-gradient(180deg, rgba(8, 16, 14, 0.08), rgba(8, 16, 14, 0.9));
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #17211f;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroSlide 18s infinite;
}

.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

.hero-slide img {
  position: absolute;
  display: block;
  object-fit: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.hero-slide-main {
  inset: -4%;
  width: 108%;
  height: 108%;
  filter: saturate(0.9) contrast(1.03);
  transform: scale(1.04);
  animation: heroImageDrift 18s infinite;
}

.hero-slide-card {
  width: min(22vw, 340px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  opacity: 0.64;
}

.hero-slide-card-a {
  right: clamp(18px, 8vw, 170px);
  top: clamp(110px, 15vh, 210px);
  transform: rotate(-3deg);
}

.hero-slide-card-b {
  right: clamp(120px, 18vw, 360px);
  bottom: clamp(58px, 11vh, 150px);
  width: min(16vw, 240px);
  transform: rotate(4deg);
}

@keyframes heroSlide {
  0% { opacity: 0; }
  7% { opacity: 1; }
  31% { opacity: 1; }
  39% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes heroImageDrift {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  38% { transform: scale(1.12) translate3d(-1.8%, -1.2%, 0); }
  100% { transform: scale(1.04) translate3d(0, 0, 0); }
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(42px, 6vw, 90px);
  align-items: end;
}

.hero-content {
  width: min(900px, 100%);
}

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 118px;
  gap: 12px;
  align-self: end;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-showcase img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 6px;
  object-fit: cover;
}

.showcase-carousel {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.74);
}

.showcase-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  animation: showcaseSwap 12s infinite;
}

.showcase-frame:nth-child(2) { animation-delay: 4s; }
.showcase-frame:nth-child(3) { animation-delay: 8s; }

@keyframes showcaseSwap {
  0% { opacity: 0; transform: scale(1.04); }
  9% { opacity: 1; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.02); }
  39% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.04); }
}

.showcase-stack {
  display: grid;
  gap: 12px;
}

.showcase-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 6px;
  background: rgba(8, 16, 14, 0.72);
}

.showcase-note strong {
  font-size: 1rem;
}

.showcase-note span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.secondary-btn,
.mini-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  text-align: center;
  padding: 0 18px;
  font-weight: 900;
  touch-action: manipulation;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.primary-btn {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 168, 150, 0.28);
}

.primary-btn:hover { background: var(--brand-dark); box-shadow: 0 16px 34px rgba(0, 168, 150, 0.34); }
.primary-btn:hover,
.ghost-btn:hover,
.secondary-btn:hover,
.mini-order:hover { transform: translateY(-1px); }

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.ghost-btn:hover {
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.15);
}

.notice-band {
  border-bottom: 1px solid rgba(0, 168, 150, 0.2);
  background: #e8faf6;
  color: #17423d;
  font-size: 0.9rem;
  font-weight: 800;
}

.notice-inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.notice-inner > * {
  min-width: 0;
}

.notice-inner a {
  overflow-wrap: anywhere;
}

.notice-inner span {
  color: var(--brand-dark);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.trust-pill {
  min-height: 84px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.trust-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 168, 150, 0.34);
}

.trust-pill strong {
  display: block;
  margin-bottom: 4px;
}

.trust-pill span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  padding: 76px 0;
}

.section.white {
  background: var(--white);
}

.collection-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  padding-bottom: 76px;
}

.collection-card,
.admin-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.collection-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  aspect-ratio: 16 / 10;
  background: #eef4f1;
}

.collection-mosaic img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
}

.collection-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.collection-card-body span {
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.collection-card-body h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.collection-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-shell {
  padding: 64px 0 80px;
}

.admin-grid,
.admin-layout {
  display: grid;
  gap: 18px;
}

.admin-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 18px;
}

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

.admin-panel {
  padding: 20px;
}

[hidden] {
  display: none !important;
}

.admin-advanced summary {
  cursor: pointer;
  font-weight: 800;
}

.admin-advanced form {
  margin-top: 16px;
}

.admin-panel h2 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.admin-panel label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: #35413e;
  font-weight: 800;
}

.admin-panel input,
.admin-panel select,
.admin-panel textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

.admin-panel textarea {
  resize: vertical;
  line-height: 1.5;
}

.admin-two,
.admin-actions,
.admin-list-head,
.admin-row-actions {
  display: flex;
  gap: 12px;
}

.admin-two > * {
  flex: 1;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
}

.admin-actions {
  flex-wrap: wrap;
  align-items: center;
}

.admin-status {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-status[data-tone="ok"] { color: var(--brand-dark); font-weight: 800; }
.admin-status[data-tone="warn"] { color: #9b6500; font-weight: 800; }
.admin-status[data-tone="error"] { color: #b42318; font-weight: 800; }

.admin-list-head {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-list-head .search {
  max-width: 360px;
}

.admin-products {
  display: grid;
  gap: 12px;
  max-height: 760px;
  overflow: auto;
  padding-right: 4px;
}

.admin-product {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.admin-product.muted {
  opacity: 0.58;
}

.admin-product img {
  width: 88px;
  height: 88px;
  border-radius: 6px;
  object-fit: cover;
  background: #eef4f1;
}

.admin-product strong {
  display: block;
  margin-bottom: 4px;
}

.admin-product span,
.admin-product p {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-product p {
  display: -webkit-box;
  margin: 6px 0 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.secondary-btn.danger {
  border-color: rgba(180, 35, 24, 0.3);
  color: #b42318;
}

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

.section-head h2,
.page-title h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.section-head p,
.page-title p,
.about p {
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.stat {
  padding: 18px;
  background: rgba(0, 0, 0, 0.16);
}

.stat strong {
  display: block;
  font-size: 1.55rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

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

.universe {
  min-height: 340px;
  display: flex;
  align-items: end;
  overflow: hidden;
  position: relative;
  padding: 24px;
  border-radius: 8px;
  isolation: isolate;
  background: #111;
}

.universe img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.universe::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 24%, rgba(0, 0, 0, 0.76));
}

.universe:hover img { transform: scale(1.07); }

.universe h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.55rem;
}

.universe p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.shop-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(23, 33, 31, 0.05);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  content-visibility: auto;
  contain-intrinsic-size: 430px;
}

.product-card:hover {
  border-color: rgba(0, 168, 150, 0.42);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (hover: hover) {
  .product-card:hover {
    will-change: transform;
  }
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  width: 100%;
  border: 0;
  cursor: zoom-in;
  background: #edf3f0;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(23,33,31,0.05));
}

.product-media .variant-crop,
.lightbox-visual .variant-crop {
  position: absolute;
  inset: 0;
  width: 200%;
  max-width: none;
  height: 200%;
  max-height: none;
  object-fit: cover;
  transform: translate(var(--crop-x, 0%), var(--crop-y, 0%));
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-card:hover .product-media .variant-crop {
  transform: translate(var(--crop-x, 0%), var(--crop-y, 0%)) scale(1.02);
}

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.variant-note {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(23, 33, 31, 0.82);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.pack-note {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 243, 216, 0.96);
  color: #7c5619;
  font-size: 0.72rem;
  font-weight: 900;
}

.product-body {
  padding: 14px;
}

.product-body h3 {
  min-height: 44px;
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.product-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 42px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.price {
  color: var(--brand-dark);
  font-weight: 900;
  white-space: nowrap;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.product-empty {
  grid-column: 1 / -1;
}

.product-empty .product-body {
  min-height: 160px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.product-empty p {
  margin: 0;
  color: var(--muted);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.load-more-btn {
  min-width: min(100%, 260px);
}

.secondary-btn,
.mini-order {
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}

.secondary-btn {
  border: 1px solid var(--line);
  background: #f8fbfa;
  color: #32403c;
}

.mini-order {
  border: 1px solid var(--brand);
  background: #e8faf6;
  color: var(--brand-dark);
}

.secondary-btn:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.mini-order:hover {
  background: var(--brand);
  color: var(--white);
}

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.about img {
  width: 100%;
  max-height: 560px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.benefit {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.benefit strong { display: block; margin-bottom: 6px; }
.benefit span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.page-title {
  padding: 54px 0 28px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 80px;
}

.filters {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

.filters h2 {
  margin-bottom: 14px;
  font-size: 1.08rem;
}

.filter-list {
  display: grid;
  gap: 8px;
}

.filter-group {
  display: grid;
  gap: 8px;
}

.filter-group + .filter-group {
  margin-top: 16px;
}

.filter-subtitle {
  display: block;
  margin: 2px 0 4px;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-select {
  width: 100%;
  margin: 10px 0 18px;
}

.filter-btn {
  border-radius: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #f8fbfa;
  color: #32403c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--brand);
  background: #e8faf6;
  color: var(--brand-dark);
  box-shadow: inset 3px 0 0 var(--brand);
}

.search {
  width: 100%;
  height: 44px;
  margin: 20px 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.search::placeholder {
  color: #7f8a86;
}

.search:focus,
.select:focus,
.filter-btn:focus-visible,
.swatch-btn:focus-visible,
.option-group textarea:focus,
.primary-btn:focus-visible,
.ghost-btn:focus-visible,
.secondary-btn:focus-visible,
.mini-order:focus-visible,
.close-btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(0, 168, 150, 0.22);
  outline-offset: 2px;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(8, 16, 14, 0.82);
}

.lightbox.open { display: grid; }

.lightbox-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  width: min(1180px, 100%);
  max-height: min(92vh, 900px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.lightbox-visual {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: min(92vh, 900px);
  overflow: hidden;
  background: #f3f5f2;
}

.lightbox-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-info {
  display: flex;
  min-width: 0;
  max-height: min(92vh, 900px);
  overflow-y: auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.lightbox-info > div:first-child {
  min-width: 0;
}

.lightbox-info strong {
  font-size: 1.06rem;
}

.lightbox-info p {
  margin: 4px 0 0;
}

.lightbox-description {
  color: var(--muted);
  line-height: 1.55;
}

.order-options {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.review-panel,
.share-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.review-list {
  display: grid;
  gap: 8px;
}

.review-item {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.stars {
  color: #d59725;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.review-item blockquote {
  margin: 4px 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.review-item figcaption {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-list a,
.share-list button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.share-list a:hover,
.share-list button:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.option-group {
  display: grid;
  gap: 8px;
}

.option-group strong {
  font-size: 0.88rem;
}

.option-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 8px;
}

.size-btn {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.size-btn.active,
.size-btn:hover {
  border-color: var(--brand);
  background: #e8faf6;
  color: var(--brand-dark);
}

.size-quantity-list {
  display: grid;
  gap: 8px;
}

.size-quantity-row {
  display: grid;
  grid-template-columns: minmax(48px, 0.35fr) minmax(150px, 1fr);
  align-items: center;
  gap: 10px;
}

.size-quantity-row > span {
  font-weight: 900;
  color: var(--brand-dark);
}

.swatch-btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.swatch-btn span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(23, 33, 31, 0.18);
  border-radius: 50%;
  background: var(--swatch);
}

.swatch-btn.active,
.swatch-btn:hover {
  border-color: var(--brand);
  background: #e8faf6;
  color: var(--brand-dark);
}

.quantity-control {
  display: grid;
  grid-template-columns: 42px minmax(74px, 1fr) 42px;
  width: min(220px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.quantity-control.compact {
  width: min(180px, 100%);
  grid-template-columns: 38px minmax(62px, 1fr) 38px;
}

.quantity-control button,
.quantity-control input {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: center;
}

.quantity-control button {
  cursor: pointer;
}

.quantity-control button:hover {
  background: #e8faf6;
  color: var(--brand-dark);
}

.quantity-control input {
  border-inline: 1px solid var(--line);
}

.lightbox-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 42px;
  align-items: center;
  gap: 10px;
}

.lightbox-actions .primary-btn,
.lightbox-actions .secondary-btn {
  min-height: 44px;
  padding-inline: 14px;
}

.close-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.32);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.footer {
  padding: 48px 0;
  background: #111917;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: block;
  margin-bottom: 14px;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.footer p,
.footer a { color: rgba(255, 255, 255, 0.7); }

.footer ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }

  .universe-grid,
  .trust-row,
  .benefits,
  .steps-grid,
  .footer-grid { grid-template-columns: 1fr; }

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

  .hero-slide-card {
    width: min(34vw, 230px);
  }

  .hero-slide-card-a {
    right: 18px;
    top: 92px;
  }

  .hero-slide-card-b {
    right: auto;
    left: 18px;
    bottom: 36px;
    width: min(28vw, 180px);
  }

  .hero-showcase {
    width: min(520px, 100%);
  }

  .about,
  .shop-layout,
  .admin-grid,
  .admin-layout { grid-template-columns: 1fr; }

  .filters {
    position: static;
  }

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

  .admin-products {
    max-height: none;
  }

  .lightbox-panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .lightbox-visual {
    min-height: 360px;
    height: min(54vh, 520px);
  }

  .lightbox-info {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 560px) {
  .container { width: min(100% - 40px, 1180px); }
  .page-title .container,
  .shop-layout { width: calc(100% - 40px); }
  .hero { min-height: auto; padding: 64px 0 32px; }
  .hero-slide-card {
    opacity: 0.36;
  }
  .hero-slide-card-a {
    top: 72px;
  }
  .hero-slide-card-b {
    display: none;
  }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .primary-btn,
  .actions .ghost-btn { width: 100%; }
  .hero-showcase { grid-template-columns: 1fr 92px; }
  .stats { grid-template-columns: 1fr; }
  .notice-inner { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .notice-inner div,
  .page-title p {
    max-width: 34ch;
  }
  .page-title { padding: 40px 0 24px; }
  .page-title p { font-size: 0.98rem; }
  .section { padding: 54px 0; }
  .section-head { display: block; }
  .product-grid,
  .shop-grid { grid-template-columns: 1fr; }
  .shop-toolbar { align-items: stretch; flex-direction: column; }
  .select { width: 100%; }
  .filter-list { grid-template-columns: 1fr; }
  .admin-two,
  .admin-actions,
  .admin-list-head,
  .admin-row-actions {
    display: grid;
  }
  .admin-product {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .admin-product img {
    width: 72px;
    height: 72px;
  }
  .admin-row-actions {
    grid-column: 1 / -1;
  }
  .lightbox { padding: 12px; }
  .lightbox-info { padding: 16px; }
  .lightbox-visual {
    min-height: 280px;
    height: 46vh;
  }
  .lightbox-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .lightbox-actions .primary-btn,
  .lightbox-actions .secondary-btn,
  .close-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    opacity: 0;
  }

  .hero-slide:first-child {
    opacity: 1;
  }

  .hero-slide-main,
  .hero-slide,
  .showcase-frame {
    animation: none !important;
  }

  .showcase-frame:first-child {
    opacity: 1;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
