:root {
  --bg: #050806;
  --surface: #10150f;
  --surface-2: #182216;
  --ink: #f7f2e7;
  --muted: #b4bfa8;
  --line: rgba(180, 219, 121, 0.22);
  --green: #92ff2f;
  --green-dark: #1d3a13;
  --moss: #274b1b;
  --rust: #d9b76f;
  --gold: #f2e4b2;
  --blue: #8ed8cc;
  --danger: #ff6f7d;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  --glow: 0 0 24px rgba(146, 255, 47, 0.2);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(130deg, rgba(18, 47, 13, 0.72), transparent 42%),
    linear-gradient(180deg, rgba(5, 8, 6, 0.9), rgba(5, 8, 6, 0.98)),
    var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(146, 255, 47, 0.72);
  outline-offset: 3px;
}

.top-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px clamp(16px, 4vw, 48px);
  color: #e8ffd0;
  background: #020402;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.top-note a,
.footer a {
  color: inherit;
  text-decoration: none;
}

.top-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-note a,
.ghost-link {
  font-weight: 800;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 6, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  background: #050705;
  border: 1px solid rgba(146, 255, 47, 0.34);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: var(--glow);
}

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

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

.brand small {
  margin-top: 2px;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: end;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--green);
  background: rgba(125, 255, 31, 0.1);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.search input,
.promo-row input,
.checkout input,
.checkout select,
.sort select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b100b;
  color: var(--ink);
  outline: none;
}

.search input {
  padding: 0 16px;
}

.search input:focus,
.promo-row input:focus,
.checkout input:focus,
.checkout select:focus,
.sort select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 97, 72, 0.15);
}

.cart-button,
.primary,
.product-bottom button,
.promo-row button,
.icon-button,
.chip {
  border: 0;
  border-radius: 8px;
  min-height: 42px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, #4f9e22, #a5ff35);
  box-shadow: var(--glow);
}

.cart-button b {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  color: #081007;
  background: #fff;
  border-radius: 999px;
}

main {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.shop-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 320px) minmax(0, 1fr) minmax(260px, 430px);
  gap: 28px;
  align-items: center;
  min-height: 430px;
  padding: clamp(28px, 5vw, 58px);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(2, 5, 3, 0.96) 0%, rgba(20, 49, 13, 0.92) 50%, rgba(4, 7, 5, 0.82) 100%),
    url("assets/lesdal-logo.png");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(180, 219, 121, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow), inset 0 0 90px rgba(146, 255, 47, 0.08);
  overflow: hidden;
}

.shop-head::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(5, 8, 6, 0.62));
}

.shop-head > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(146, 255, 47, 0.18);
}

.lead {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(245, 242, 232, 0.82);
  font-size: 18px;
  line-height: 1.55;
}

.hero-copy {
  display: grid;
  gap: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: #081007;
  background: linear-gradient(135deg, #92ff2f, #d9b76f);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--glow);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.hero-notes span {
  padding: 7px 10px;
  color: rgba(247, 242, 231, 0.9);
  background: rgba(5, 8, 6, 0.66);
  border: 1px solid rgba(180, 219, 121, 0.2);
  border-radius: 999px;
  font-size: 13px;
}

.hero-logo-card {
  display: grid;
  gap: 14px;
  align-self: center;
}

.hero-logo-card > img {
  width: min(300px, 100%);
  justify-self: start;
  border: 1px solid rgba(180, 219, 121, 0.3);
  border-radius: 8px;
  box-shadow: var(--glow);
}

.shop-stats {
  display: grid;
  gap: 10px;
}

.shop-stats span {
  padding: 14px 16px;
  background: rgba(5, 8, 6, 0.72);
  border: 1px solid rgba(180, 219, 121, 0.26);
  border-radius: 8px;
  line-height: 1.35;
  backdrop-filter: blur(8px);
}

.shop-stats strong {
  display: block;
  color: #fff;
  font-size: 24px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.service-strip article {
  min-height: 148px;
  padding: 16px;
  background: rgba(16, 21, 15, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.service-strip span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: #081007;
  background: var(--gold);
  border-radius: 999px;
  font-weight: 800;
}

.service-strip strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.service-strip p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.quick-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

.quick-card {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 16px;
  text-align: left;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 255, 47, 0.4);
}

.quick-card span {
  color: var(--muted);
  font-size: 13px;
}

.quick-card strong {
  font-size: 22px;
}

.quick-card.active {
  color: #081007;
  background: linear-gradient(135deg, #92ff2f, #d9b76f);
  border-color: var(--green);
  box-shadow: var(--glow);
}

.quick-card.active span {
  color: rgba(8, 16, 7, 0.72);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 24px 0;
}

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

.chip {
  padding: 0 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.chip.active {
  color: #081007;
  background: var(--green);
  border-color: var(--green);
}

.sort {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  white-space: nowrap;
}

.sort select {
  width: 210px;
  padding: 0 12px;
}

.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-panel,
.summary-panel,
.cart-drawer {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.side-stack {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.catalog-panel,
.summary-panel {
  padding: 20px;
  border-radius: 8px;
}

.catalog-panel h2,
.summary-panel h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.catalog-menu {
  display: grid;
  gap: 8px;
}

.catalog-menu button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(125, 255, 31, 0.06);
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
}

.catalog-menu button.active {
  color: #081007;
  background: var(--green);
}

.catalog-menu small {
  color: inherit;
  opacity: 0.72;
}

dl {
  margin: 0 0 18px;
}

dl div,
.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

dt,
.totals span {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 800;
}

.summary-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.primary {
  padding: 0 18px;
  color: #081007;
  background: linear-gradient(135deg, #7dff1f, #d7ff3e);
  font-weight: 800;
}

.full {
  width: 100%;
}

.result-line {
  display: flex;
  justify-content: space-between;
  min-height: 24px;
  margin-bottom: 12px;
  color: var(--muted);
}

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

.product-card {
  display: flex;
  min-height: 414px;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 32, 19, 0.98), rgba(10, 14, 10, 0.98));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(146, 255, 47, 0.42);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.product-image {
  position: relative;
  min-height: 198px;
  background-size: cover;
  background-position: center;
}

.product-image::after {
  position: absolute;
  inset: auto 0 0;
  height: 44px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(10, 14, 10, 0.88));
}

.product-tag {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  color: #081007;
  background: var(--rust);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-tag[data-type="new"] {
  background: var(--blue);
}

.product-tag[data-type="hit"] {
  background: var(--green);
  color: #081007;
}

.product-tag[data-type="altai"] {
  color: #f5f2e8;
  background: rgba(5, 8, 6, 0.76);
  border: 1px solid rgba(180, 219, 121, 0.26);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

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

.product-bottom {
  display: grid;
  gap: 12px;
  align-items: end;
  margin-top: auto;
}

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

.details-button {
  padding: 0 13px;
  color: var(--green);
  background: rgba(146, 255, 47, 0.09);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.product-actions button {
  min-height: 42px;
}

.badge {
  padding: 5px 9px;
  color: #081007;
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.rating,
.product-label {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.product-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 100;
  padding: 10px 14px;
  color: #081007;
  background: var(--green);
  border-radius: 8px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.noscript-catalog {
  margin: 0 clamp(16px, 4vw, 48px) 24px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.noscript-catalog h2 {
  margin-bottom: 12px;
}

.noscript-catalog ul {
  columns: 2;
  gap: 24px;
  margin: 0;
  padding-left: 18px;
}

.noscript-catalog a {
  color: var(--green);
}

.doc-header-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(146, 255, 47, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.doc-header-cart b {
  min-width: 20px;
  padding: 0 6px;
  color: #081007;
  font-size: 12px;
  text-align: center;
  background: var(--green);
  border-radius: 999px;
}

.doc-header-cart b[hidden] {
  display: none;
}

.product-page-actions .primary-link,
.product-page-actions .ghost-link,
.product-page-actions button {
  min-height: 44px;
}

button.primary-link {
  border: 0;
  cursor: pointer;
}

#productGoCheckout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-card p {
  flex: 1;
  color: var(--muted);
  line-height: 1.45;
}

.price {
  color: #fff;
  font-size: 22px;
}

.add-cart,
.promo-row button {
  padding: 0 13px;
  color: #081007;
  background: linear-gradient(135deg, #92ff2f, #cfff5b);
  font-weight: 800;
}

.drawer-backdrop,
.detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.68);
}

.cart-drawer,
.product-detail {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 21;
  display: flex;
  width: min(440px, 100%);
  height: 100vh;
  max-height: 100dvh;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  transform: translateX(105%);
  transition: transform 0.24s ease;
  -webkit-overflow-scrolling: touch;
}

.cart-drawer.open,
.product-detail.open {
  transform: translateX(0);
}

.product-detail {
  width: min(620px, 100%);
  overflow: auto;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-image {
  min-height: 260px;
  margin-bottom: 12px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.detail-gallery {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.detail-gallery:empty {
  display: none;
}

.detail-gallery-thumb {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.detail-gallery-thumb.active,
.detail-gallery-thumb:hover {
  border-color: var(--green);
}

.detail-buy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--line);
}

.detail-buy strong {
  font-size: 28px;
}

.detail-section {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.detail-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.detail-section p,
.detail-section li {
  color: var(--muted);
  line-height: 1.6;
}

.detail-section p {
  margin-bottom: 0;
}

.detail-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
}

.drawer-head h2 {
  margin-bottom: 0;
}

.icon-button {
  width: 42px;
  color: var(--ink);
  background: rgba(125, 255, 31, 0.1);
  font-size: 28px;
  line-height: 1;
}

.cart-list {
  display: grid;
  gap: 12px;
  min-height: 120px;
  overflow: auto;
  padding-right: 4px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.cart-item strong {
  display: block;
  margin-bottom: 8px;
}

.quantity {
  display: flex;
  gap: 8px;
  align-items: center;
}

.quantity button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #0b100b;
}

.promo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 16px;
}

.promo-row input,
.checkout input,
.checkout select {
  padding: 0 12px;
}

.promo-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--green);
  font-size: 13px;
}

.totals {
  margin-top: 8px;
}

.totals .grand {
  border-bottom: 0;
  font-size: 20px;
}

.checkout {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.checkout h3 {
  margin-bottom: 2px;
}

.consent-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.consent-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.consent-check a,
.legal-doc a {
  color: var(--green);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 30;
  max-width: min(440px, calc(100% - 32px));
  padding: 12px 16px;
  color: #081007;
  background: var(--green);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  color: var(--muted);
  background: rgba(125, 255, 31, 0.06);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.order-steps {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 1fr);
  gap: 28px;
  margin-top: 34px;
  padding: clamp(22px, 4vw, 36px);
  background: linear-gradient(120deg, rgba(16, 21, 15, 0.98), rgba(24, 34, 22, 0.94));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.order-steps h2 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.12;
}

.order-steps ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: order-step;
}

.order-steps li {
  position: relative;
  padding: 14px 14px 14px 58px;
  background: rgba(5, 8, 6, 0.55);
  border: 1px solid rgba(180, 219, 121, 0.18);
  border-radius: 8px;
  counter-increment: order-step;
}

.order-steps li::before {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #081007;
  content: counter(order-step);
  background: var(--green);
  border-radius: 999px;
  font-weight: 800;
}

.order-steps strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.order-steps span {
  color: var(--muted);
  line-height: 1.45;
}

.about-section,
.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  gap: 32px;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(5, 8, 6, 0.96), rgba(28, 60, 18, 0.9)),
    url("assets/lesdal-logo.png");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.about-section h2,
.trust-section h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
}

.about-copy {
  display: grid;
  gap: 14px;
}

.about-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.about-copy .notice {
  padding: 14px 16px;
  color: #081007;
  background: linear-gradient(135deg, #f2e4b2, #cfff5b);
  border-radius: 8px;
}

.trust-section {
  align-items: start;
  background:
    linear-gradient(120deg, rgba(5, 8, 6, 0.94), rgba(37, 75, 27, 0.78)),
    #081007;
}

.trust-actions {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.trust-actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.trust-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trust-grid span {
  padding: 12px;
  color: rgba(247, 242, 231, 0.86);
  background: rgba(5, 8, 6, 0.62);
  border: 1px solid rgba(180, 219, 121, 0.22);
  border-radius: 8px;
  line-height: 1.35;
}

.trust-grid strong {
  display: block;
  color: #fff;
  font-size: 17px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px clamp(16px, 4vw, 48px);
  color: #fff;
  background: #030503;
  border-top: 1px solid var(--line);
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer span {
  color: rgba(255, 255, 255, 0.72);
}

.mobile-shop-bar {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 19;
  display: none;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 8px;
  padding: 8px;
  background: rgba(5, 8, 6, 0.92);
  border: 1px solid rgba(180, 219, 121, 0.28);
  border-radius: 12px;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.mobile-shop-bar a,
.mobile-shop-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(146, 255, 47, 0.1);
  border: 1px solid rgba(180, 219, 121, 0.18);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.mobile-shop-bar button {
  gap: 8px;
  color: #081007;
  background: linear-gradient(135deg, #92ff2f, #cfff5b);
}

.mobile-shop-bar b {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  color: #081007;
  background: #fff;
  border-radius: 999px;
}

.doc-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px clamp(16px, 4vw, 48px);
  background: rgba(6, 8, 7, 0.9);
  border-bottom: 1px solid var(--line);
}

.doc-page {
  width: min(1080px, calc(100% - 32px));
  padding-top: 34px;
}

.doc-hero,
.legal-doc {
  background:
    linear-gradient(120deg, rgba(6, 8, 7, 0.96), rgba(20, 58, 9, 0.9)),
    url("assets/lesdal-logo.png");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.doc-hero {
  padding: clamp(28px, 5vw, 54px);
  margin-bottom: 18px;
}

.doc-hero h1,
.legal-doc h1 {
  max-width: 850px;
}

.doc-hero p {
  max-width: 760px;
  color: rgba(245, 242, 232, 0.82);
  line-height: 1.6;
}

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

.doc-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.doc-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.doc-card strong {
  font-size: 24px;
  line-height: 1.15;
}

.doc-card small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.certificate-note {
  margin-bottom: 18px;
  padding: 24px;
  color: rgba(245, 242, 232, 0.82);
  background: rgba(6, 8, 7, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.certificate-note h2 {
  margin-top: 0;
  color: var(--green);
}

.certificate-note p,
.certificate-card p {
  line-height: 1.6;
}

.certificate-card p {
  margin: 0;
  color: rgba(245, 242, 232, 0.74);
}

.certificate-card code {
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
}

.certificate-files {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.certificate-files a {
  color: var(--green);
  font-weight: 800;
}

.legal-doc {
  padding: clamp(24px, 4vw, 48px);
}

.legal-doc h1 {
  margin-bottom: 22px;
}

.legal-doc h2 {
  margin: 30px 0 12px;
  color: var(--green);
  font-size: 24px;
}

.legal-doc p,
.legal-doc li {
  color: rgba(245, 242, 232, 0.82);
  line-height: 1.72;
}

.legal-doc ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.product-page {
  width: min(1180px, calc(100% - 32px));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--green);
  text-decoration: none;
}

.product-hero-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-gallery .product-photo:first-child {
  grid-column: 1 / -1;
  min-height: 360px;
}

.product-photo {
  position: relative;
  min-height: 176px;
  margin: 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--photo-accent), transparent 72%), transparent 54%),
    linear-gradient(145deg, var(--photo-bg), #050806);
  border: 1px solid rgba(180, 219, 121, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.product-photo::before {
  position: absolute;
  inset: 24px;
  content: "";
  border: 1px solid color-mix(in srgb, var(--photo-accent), transparent 70%);
  border-radius: 18px;
}

.photo-mark {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 1;
  max-width: 80%;
  color: #fff;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.05;
}

.photo-object {
  position: absolute;
  right: 12%;
  bottom: 22%;
  width: 34%;
  aspect-ratio: 1;
  background: var(--photo-accent);
  border-radius: 48% 52% 42% 58%;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.38),
    inset 0 0 0 18px color-mix(in srgb, var(--photo-warm), transparent 42%);
  transform: rotate(-12deg);
}

.product-photo-1 .photo-object {
  width: 28%;
  border-radius: 22px;
  transform: rotate(8deg);
}

.product-photo-2 .photo-object {
  width: 30%;
  border-radius: 999px;
  transform: rotate(0);
}

.product-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  color: rgba(247, 242, 231, 0.78);
  font-weight: 800;
}

/* Реальные фото на SEO-страницах */
.product-photo-real {
  background: var(--surface);
}

.product-photo-real img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.product-photo-real::before {
  display: none;
}

.product-info-page {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(120deg, rgba(16, 21, 15, 0.98), rgba(24, 34, 22, 0.94));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-info-page h1 {
  margin-bottom: 0;
}

.product-price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-price-line strong {
  color: #fff;
  font-size: 34px;
}

.product-price-line span {
  color: var(--muted);
}

.product-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.product-text-panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-text-panel h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.product-text-panel p,
.product-text-panel li {
  color: var(--muted);
  line-height: 1.65;
}

.product-text-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.product-text-panel .notice {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: #081007;
  background: var(--gold);
  border-radius: 8px;
}

.related-products {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 24px;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(120deg, rgba(5, 8, 6, 0.94), rgba(37, 75, 27, 0.78));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.related-products h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.related-grid a {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 14px;
  color: var(--ink);
  background: rgba(5, 8, 6, 0.64);
  border: 1px solid rgba(180, 219, 121, 0.22);
  border-radius: 8px;
  text-decoration: none;
}

.related-grid span {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 980px) {
  .topbar,
  .shop-head,
  .layout,
  .order-steps,
  .about-section,
  .trust-section,
  .product-hero-page,
  .related-products {
    grid-template-columns: 1fr;
  }

  .side-stack {
    position: static;
  }

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

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

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

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

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

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

@media (max-width: 640px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .topbar {
    gap: 12px;
  }

  .cart-drawer,
  .product-detail {
    width: 100%;
    height: 100dvh;
    padding: 16px 16px calc(96px + env(safe-area-inset-bottom));
  }

  .checkout button[type="submit"] {
    position: sticky;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 2;
    box-shadow: 0 -10px 26px rgba(6, 8, 7, 0.75), var(--glow);
  }

  .top-note,
  .top-links,
  .doc-header,
  .header-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

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

  .shop-head {
    padding: 26px 18px;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .service-strip article {
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    justify-content: center;
  }

  .hero-logo-card > img {
    width: min(220px, 100%);
  }

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

  .quick-nav {
    grid-template-columns: 1fr;
  }

  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .chip {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .mobile-shop-bar {
    display: grid;
  }

  .sort select {
    width: 100%;
  }

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

  .product-card {
    min-height: auto;
  }

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

  .product-gallery .product-photo:first-child {
    min-height: 260px;
  }

  .product-page-actions {
    flex-direction: column;
  }

  .product-page-actions a {
    justify-content: center;
  }
}
