.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 8px;
  font-size: 13px;
  color: var(--fg-2);
}
.breadcrumbs a {
  color: var(--fg-2);
  transition: color 0.15s;
}
.breadcrumbs a:hover {
  color: var(--acc);
}
.breadcrumbs .current {
  color: var(--fg-0);
}
.breadcrumbs svg {
  color: var(--fg-3);
  flex-shrink: 0;
}

.catalog-page {
  padding-bottom: var(--pad-section);
}

.catalog-header {
  margin-bottom: var(--gap-lg);
}
.catalog-header h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  line-height: 1.05;
}
.catalog-header .catalog-count {
  font-size: 14px;
  color: var(--fg-2);
  margin: 0 0 12px;
}
.catalog-header .catalog-desc {
  font-size: 14px;
  color: var(--fg-1);
  margin: 0;
  max-width: 720px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-header .catalog-desc.open {
  display: block;
  -webkit-line-clamp: unset;
}
.catalog-header .desc-toggle {
  margin-top: 8px;
  font-size: 13px;
  color: var(--acc);
  border-bottom: 1px dashed var(--acc);
  padding-bottom: 1px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--gap-lg);
  align-items: start;
}

.catalog-filters {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 96px;
}
.catalog-filters .filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.catalog-filters .filters-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.catalog-filters .filters-head .reset-btn {
  font-size: 12px;
  color: var(--acc);
}

.filter-group {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.filter-group:last-of-type {
  border-bottom: 0;
}
.filter-group .filter-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-0);
  padding: 4px 0;
}
.filter-group .filter-group-head svg {
  color: var(--fg-3);
  transition: transform 0.2s;
}
.filter-group.open .filter-group-head svg {
  transform: rotate(180deg);
}
.filter-group .filter-group-body {
  padding-top: 10px;
}

.filter-checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-4) transparent;
}
.filter-checks::-webkit-scrollbar {
  width: 4px;
}
.filter-checks::-webkit-scrollbar-track {
  background: transparent;
  margin: 2px 0;
}
.filter-checks::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 100px;
}
.filter-checks::-webkit-scrollbar-thumb:hover {
  background: var(--fg-3);
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-1);
  cursor: pointer;
}
.filter-check input {
  accent-color: var(--acc);
}
.filter-check:hover {
  color: var(--fg-0);
}

.price-range .price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  width: 100%;
  min-width: 0;
}
.price-range .price-inputs input {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 8px;
  font-size: 13px;
  outline: none;
  -moz-appearance: textfield;
}
.price-range .price-inputs input::-webkit-outer-spin-button, .price-range .price-inputs input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.price-range .price-inputs input:focus {
  border-color: var(--acc);
}
.price-range .price-inputs span {
  flex-shrink: 0;
  color: var(--fg-3);
}
.price-range input[type=range] {
  width: 100%;
  accent-color: var(--acc);
}

.filter-cats {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.filter-cats h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 10px;
  font-weight: 600;
}
.filter-cats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.filter-cats a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--fg-1);
  transition: background 0.12s, color 0.12s;
}
.filter-cats a .qty {
  margin-left: auto;
  font-size: 11px;
  color: var(--fg-3);
}
.filter-cats a:hover {
  background: var(--bg-3);
  color: var(--fg-0);
}
.filter-cats a.active {
  background: oklch(74% 0.105 55deg / 0.12);
  color: var(--acc);
  font-weight: 600;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--gap-md);
  flex-wrap: wrap;
}

.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--fg-0);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.sort-select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--fg-0);
  outline: none;
  cursor: pointer;
}
.sort-select:focus {
  border-color: var(--acc);
}

.view-toggle {
  display: flex;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.view-toggle button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-2);
  transition: background 0.12s, color 0.12s;
}
.view-toggle button.active {
  background: var(--acc);
  color: var(--bg-0);
}
.view-toggle button:hover:not(.active) {
  color: var(--fg-0);
}

.active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--fg-1);
  transition: border-color 0.12s;
}
.filter-tag:hover {
  border-color: var(--acc);
  color: var(--fg-0);
}

.clear-all {
  font-size: 12px;
  color: var(--acc);
  white-space: nowrap;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}
.catalog-grid.list-view {
  grid-template-columns: 1fr;
}
.catalog-grid.list-view .product-card {
  flex-direction: row;
}
.catalog-grid.list-view .product-card .media {
  width: 200px;
  flex-shrink: 0;
  aspect-ratio: 3/4;
}
.catalog-grid.list-view .product-card .body {
  padding: 20px;
}

.catalog-more {
  display: flex;
  justify-content: center;
  margin-top: var(--gap-xl);
}

.catalog-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--fg-2);
}
.catalog-empty svg {
  color: var(--fg-3);
  margin-bottom: 20px;
}
.catalog-empty h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--fg-0);
  margin: 0 0 10px;
}
.catalog-empty p {
  margin: 0 0 24px;
  font-size: 14px;
}

.catalog-seo {
  margin-top: var(--pad-section);
  padding-top: var(--gap-xl);
  border-top: 1px dashed var(--line);
  color: var(--fg-2);
  font-size: 13px;
  line-height: 1.6;
}
.catalog-seo h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--fg-1);
  margin: 0 0 12px;
}
.catalog-seo p {
  margin: 0 0 16px;
}
.catalog-seo .seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog-seo .seo-links a {
  padding: 6px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--fg-1);
  transition: border-color 0.12s, color 0.12s;
}
.catalog-seo .seo-links a:hover {
  border-color: var(--acc);
  color: var(--acc);
}

.filter-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
}
.filter-drawer.open {
  display: block;
}
.filter-drawer .filter-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0% 0 0deg / 0.6);
}
.filter-drawer .filter-drawer-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: var(--bg-1);
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideIn 0.25s ease;
}
.filter-drawer .filter-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-drawer .filter-drawer-head h3 {
  margin: 0;
  font-size: 18px;
}
.filter-drawer .catalog-filters {
  position: static;
  border: 0;
  padding: 0;
  background: transparent;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
.product-card .media {
  display: block;
  color: inherit;
}
.product-card .name {
  display: block;
  color: inherit;
  transition: color 0.12s;
}
.product-card .name:hover {
  color: var(--acc);
}

.product-page {
  padding-bottom: var(--pad-section);
}

.product-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  margin-bottom: var(--gap-xl);
}

.product-gallery .gallery-main {
  position: relative;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-gallery .door-illust-xl {
  width: 280px;
  height: 460px;
}
.product-gallery .door-illust-xl .frame {
  width: 100%;
  height: 100%;
  background: var(--door-color, oklch(32% 0.018 60deg));
  border: 2px solid var(--door-edge, oklch(45% 0.025 60deg));
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  position: relative;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.3);
}
.product-gallery .door-illust-xl .frame::before, .product-gallery .door-illust-xl .frame::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  border: 2px solid var(--door-edge);
  opacity: 0.7;
  border-radius: 3px;
}
.product-gallery .door-illust-xl .frame::before {
  top: 6%;
  height: 38%;
}
.product-gallery .door-illust-xl .frame::after {
  top: 50%;
  height: 42%;
}
.product-gallery .door-illust-xl .handle {
  position: absolute;
  right: 12px;
  top: 55%;
  width: 6px;
  height: 38px;
  background: var(--acc);
  border-radius: 3px;
  box-shadow: 0 0 0 4px var(--door-color), 0 0 20px oklch(74% 0.105 55deg / 0.5);
}
.product-gallery .gallery-zoom,
.product-gallery .gallery-video {
  position: absolute;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--fg-1);
  transition: background 0.12s, color 0.12s;
}
.product-gallery .gallery-zoom:hover,
.product-gallery .gallery-video:hover {
  background: var(--acc);
  color: var(--bg-0);
  border-color: var(--acc);
}
.product-gallery .gallery-zoom {
  bottom: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.product-gallery .gallery-video {
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}
.product-gallery .gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.product-gallery .gallery-thumbs button {
  width: 72px;
  height: 88px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-3);
  transition: border-color 0.12s;
}
.product-gallery .gallery-thumbs button.active {
  border-color: var(--acc);
}
.product-gallery .gallery-thumbs button .thumb-door {
  width: 100%;
  height: 100%;
  background: var(--door-color);
  border-bottom: 0;
  position: relative;
}
.product-gallery .gallery-thumbs button .thumb-door .handle {
  position: absolute;
  right: 6px;
  top: 55%;
  width: 3px;
  height: 14px;
  background: var(--acc);
  border-radius: 1px;
}

.product-buybox .buybox-brand {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.product-buybox h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.product-buybox .buybox-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--fg-2);
  margin-bottom: 20px;
}
.product-buybox .buybox-meta .stock.in {
  color: var(--success);
}
.product-buybox .buybox-meta .stock.out {
  color: var(--danger);
}
.product-buybox .buybox-pricing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.product-buybox .buybox-pricing .price {
  font-family: var(--ff-display);
  font-size: 40px;
  color: var(--fg-0);
  line-height: 1;
}
.product-buybox .buybox-pricing .old {
  font-size: 18px;
  color: var(--fg-3);
  text-decoration: line-through;
}
.product-buybox .buybox-pricing .discount-badge {
  padding: 4px 10px;
  background: var(--danger);
  color: white;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.product-buybox .buybox-pricing .save {
  width: 100%;
  font-size: 13px;
  color: var(--success);
}
.product-buybox .buybox-delivery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.product-buybox .buybox-delivery .delivery-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-1);
}
.product-buybox .buybox-delivery .delivery-row svg {
  color: var(--acc);
  flex-shrink: 0;
}
.product-buybox .buybox-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.product-buybox .buybox-options .opt h5 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
}
.product-buybox .buybox-options .swatches {
  display: flex;
  gap: 8px;
}
.product-buybox .buybox-options .swatches button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.12s, transform 0.12s;
}
.product-buybox .buybox-options .swatches button.active {
  border-color: var(--acc);
  transform: scale(1.08);
}
.product-buybox .buybox-options .sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-buybox .buybox-options .sizes button {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--fg-1);
  transition: all 0.12s;
}
.product-buybox .buybox-options .sizes button.active {
  background: var(--acc);
  color: var(--bg-0);
  border-color: var(--acc);
}
.product-buybox .buybox-options .sizes button:hover:not(.active) {
  border-color: var(--acc);
  color: var(--fg-0);
}
.product-buybox .buybox-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.product-buybox .buybox-actions .btn.in-cart {
  background: oklch(40% 0.06 145deg / 0.25);
  color: var(--success);
  border: 1px solid oklch(50% 0.1 145deg / 0.5);
}
.product-buybox .buybox-icons {
  display: flex;
  gap: 16px;
}
.product-buybox .buybox-icons button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-2);
  transition: color 0.12s;
}
.product-buybox .buybox-icons button:hover {
  color: var(--acc);
}

.product-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: var(--gap-xl);
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.product-trust .trust-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.product-trust .trust-mini svg {
  color: var(--acc);
  flex-shrink: 0;
}
.product-trust .trust-mini b {
  display: block;
  font-size: 13px;
  color: var(--fg-0);
  margin-bottom: 2px;
}
.product-trust .trust-mini span {
  color: var(--fg-2);
}

.product-tabs {
  margin-bottom: var(--gap-xl);
}
.product-tabs .tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.product-tabs .tabs-nav::-webkit-scrollbar {
  display: none;
}
.product-tabs .tabs-nav button {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--fg-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.12s, border-color 0.12s;
}
.product-tabs .tabs-nav button.active {
  color: var(--fg-0);
  border-bottom-color: var(--acc);
}
.product-tabs .tabs-nav button:hover:not(.active) {
  color: var(--fg-0);
}
.product-tabs .tabs-nav button .tab-count {
  background: var(--bg-3);
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--fg-2);
}
.product-tabs .tabs-content {
  padding: 28px 0;
}
.product-tabs .tabs-content .tab-pane p {
  color: var(--fg-1);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
  max-width: 800px;
}

.specs-table {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
}
.specs-table td {
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}
.specs-table td:first-child {
  color: var(--fg-2);
  width: 45%;
}
.specs-table td:last-child {
  color: var(--fg-0);
  font-weight: 500;
}

.docs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 560px;
}
.docs-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--fg-0);
}
.docs-list li svg {
  color: var(--acc);
}
.docs-list li span {
  flex: 1;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

.review-card {
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.review-card .review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
}
.review-card .review-head .author {
  font-weight: 600;
  color: var(--fg-0);
}
.review-card .review-head .verified {
  font-size: 11px;
  color: var(--success);
  padding: 2px 8px;
  background: oklch(30% 0.05 145deg / 0.2);
  border-radius: 4px;
}
.review-card .review-head .date {
  margin-left: auto;
  color: var(--fg-3);
}
.review-card .review-stars {
  display: flex;
  gap: 2px;
  color: var(--acc-2);
  margin-bottom: 10px;
}
.review-card p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.55;
}

.qa-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qa-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qa-item summary {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-0);
  cursor: pointer;
  list-style: none;
}
.qa-item summary::-webkit-details-marker {
  display: none;
}
.qa-item p {
  padding: 0 20px 16px;
  margin: 0;
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.55;
}

.product-cross .product-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.product-cross .product-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.product-seo {
  margin-top: var(--gap-xl);
  padding-top: var(--gap-lg);
  border-top: 1px dashed var(--line);
}

.product-not-found {
  padding: var(--pad-section) 0;
}

.door-constructor {
  margin-bottom: var(--gap-xl);
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 24px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.dc-header {
  margin-bottom: var(--gap-lg);
}
.dc-header .dc-sub {
  margin: 8px 0 0;
  max-width: 680px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.55;
}

.dc-workspace {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--gap-md);
  align-items: start;
}

.dc-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 96px;
}

.dc-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.dc-nav-item:hover {
  border-color: var(--line-strong);
  background: var(--bg-3);
}
.dc-nav-item.is-active {
  border-color: var(--acc);
  background: oklch(74% 0.105 55deg / 0.07);
}
.dc-nav-item.is-done:not(.is-active) .dc-nav-num {
  background: oklch(40% 0.06 145deg / 0.2);
  color: var(--success);
}

.dc-nav-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-2);
}

.dc-nav-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.dc-nav-text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-0);
  line-height: 1.25;
}
.dc-nav-text small {
  font-size: 11px;
  color: var(--fg-3);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dc-body {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  min-width: 0;
}

.dc-main {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: var(--gap-md);
  min-width: 0;
  align-items: stretch;
}

.dc-preview-stage {
  position: sticky;
  top: 96px;
  height: min(560px, 100vh - 200px);
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, oklch(25% 0.01 60deg), oklch(18% 0.008 55deg));
  overflow: hidden;
}

.dc-preview-room {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 32px 44px;
  background: linear-gradient(180deg, transparent 65%, oklch(12% 0.006 50deg / 0.9) 100%), repeating-linear-gradient(90deg, oklch(28% 0.008 60deg / 0.2) 0, oklch(28% 0.008 60deg / 0.2) 1px, transparent 1px, transparent 40px);
}

.dc-opening {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
}

.dc-core {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.dc-jamb-unit {
  position: relative;
  flex-shrink: 0;
}

.dc-ext {
  width: var(--ext-w, 0);
  flex-shrink: 0;
  background: var(--door-color);
  border: 2px solid var(--door-edge);
  border-bottom: none;
  transition: width 0.3s ease;
}
.dc-ext--left {
  border-right: none;
  border-radius: 3px 0 0 0;
  margin-right: -1px;
}
.dc-ext--right {
  border-left: none;
  border-radius: 0 3px 0 0;
  margin-left: -1px;
}

.dc-slopes {
  position: absolute;
  top: -18px;
  left: -18px;
  right: -18px;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.dc-slopes .dc-slope {
  position: absolute;
  background: oklch(72% 0.01 80deg);
}
.dc-slopes .dc-slope--top {
  top: 0;
  left: 0;
  right: 0;
  height: 18px;
  border-radius: 2px 2px 0 0;
}
.dc-slopes .dc-slope--left {
  top: 18px;
  left: 0;
  width: 18px;
  bottom: 0;
}
.dc-slopes .dc-slope--right {
  top: 18px;
  right: 0;
  width: 18px;
  bottom: 0;
}
.dc-slopes--mdf .dc-slope {
  background: oklch(42% 0.025 65deg);
}
.dc-slopes--plaster .dc-slope {
  background: oklch(78% 0.012 80deg);
}
.dc-slopes--alu .dc-slope {
  background: linear-gradient(135deg, oklch(55% 0.02 240deg), oklch(70% 0.02 240deg));
}

.dc-callout {
  position: absolute;
  padding: 3px 8px;
  background: oklch(14% 0.006 60deg / 0.88);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acc);
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
}
.dc-callout--slope {
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
}
.dc-callout--sill {
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
}

.dc-jamb {
  position: relative;
  z-index: 1;
  padding: 10px 10px 0;
  background: oklch(30% 0.012 60deg);
  border: 2px solid var(--door-edge);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  transition: padding 0.2s;
}
.dc-jamb--hidden {
  padding: 0;
  background: transparent;
  border-color: transparent;
}
.dc-jamb--figured {
  padding: 12px 12px 0;
  border-width: 3px;
  border-radius: 6px 6px 0 0;
}

.dc-leaf {
  position: relative;
  width: 164px;
  height: 276px;
  background: var(--door-color);
  border: 2px solid var(--door-edge);
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  box-shadow: -8px 0 24px oklch(0% 0 0deg / 0.35);
  transition: background 0.25s, border-color 0.25s;
}

.dc-leaf-panel {
  position: absolute;
  left: 16px;
  right: 16px;
  border: 1.5px solid var(--door-edge);
  border-radius: 2px;
  opacity: 0.55;
}
.dc-leaf-panel--top {
  top: 18px;
  height: 98px;
}
.dc-leaf-panel--bottom {
  top: 130px;
  height: 112px;
}

.dc-leaf-handle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--handle-color);
  transition: all 0.25s;
}
.dc-leaf-handle--chrome, .dc-leaf-handle--matte, .dc-leaf-handle--brass {
  width: 5px;
  height: 32px;
}
.dc-leaf-handle--lever {
  width: 6px;
  height: 48px;
  top: 46%;
}

.dc-sill {
  width: 100%;
  height: 12px;
  flex-shrink: 0;
  margin-top: 0;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, oklch(64% 0.02 240deg), oklch(50% 0.02 240deg));
}
.dc-sill--warm {
  height: 16px;
  background: linear-gradient(180deg, oklch(50% 0.04 50deg), oklch(36% 0.03 45deg));
  box-shadow: inset 0 1px 0 oklch(62% 0.05 55deg / 0.5);
}
.dc-sill--alu {
  height: 12px;
  background: linear-gradient(180deg, oklch(68% 0.02 240deg), oklch(52% 0.02 240deg));
}

.dc-kit-summary {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dc-kit-summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-1);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.dc-kit-summary-title svg {
  color: var(--acc);
  flex-shrink: 0;
}

.dc-kit-count {
  margin-left: auto;
  padding: 2px 8px;
  background: var(--bg-3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-3);
  text-transform: none;
  letter-spacing: 0;
}

.dc-kit-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
  overflow-y: auto;
  max-height: 200px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 8px;
}

.dc-kit-row {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 4px 10px;
  align-items: start;
  padding: 8px 16px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}
.dc-kit-row.is-door {
  grid-column: 1/-1;
  background: oklch(74% 0.105 55deg / 0.07);
  margin: 0 8px 4px;
  padding: 10px 12px;
}
.dc-kit-row.is-door .dc-kit-group {
  color: var(--acc);
}
.dc-kit-row.is-door .dc-kit-name {
  font-weight: 600;
  color: var(--fg-0);
}

.dc-kit-group {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  line-height: 1.35;
  padding-top: 1px;
}

.dc-kit-name {
  color: var(--fg-1);
  line-height: 1.4;
  word-break: break-word;
}

.dc-kit-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-0);
  white-space: nowrap;
  text-align: right;
}

.dc-kit-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line-strong);
  background: var(--bg-2);
}
.dc-kit-total span {
  font-size: 12px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dc-kit-total b {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--fg-0);
}

.dc-panel {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-width: 0;
}

.dc-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.dc-panel-head h3 {
  margin: 0 0 4px;
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}
.dc-panel-head p {
  margin: 0;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.45;
}

.dc-panel-step {
  flex-shrink: 0;
  padding: 6px 12px;
  background: var(--bg-3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-3);
}

.dc-options {
  flex: 1;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  overflow-y: auto;
}
.dc-options.is-multi .dc-option.is-active {
  border-color: var(--success);
}
.dc-options.is-multi .dc-option.is-active .dc-option-radio {
  background: var(--success);
  border-color: var(--success);
}

.dc-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.dc-option:hover {
  border-color: var(--line-strong);
  background: var(--bg-3);
}
.dc-option.is-active {
  border-color: var(--acc);
  background: oklch(74% 0.105 55deg / 0.06);
}
.dc-option.is-active .dc-option-radio {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--bg-0);
}
.dc-option.is-free .dc-option-price {
  color: var(--fg-3);
}

.dc-option-radio {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
  transition: all 0.15s;
}

.dc-option-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dc-option-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-0);
  line-height: 1.35;
}

.dc-option-desc {
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.4;
}

.dc-option-price {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--acc);
  white-space: nowrap;
  padding-top: 2px;
}

.dc-panel-note {
  margin: 0;
  padding: 0 20px 8px;
  font-size: 12px;
  color: var(--fg-3);
}

.dc-panel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  min-height: 58px;
}

.dc-panel-nav-spacer {
  flex: 1;
}

.dc-panel-done {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
}
.dc-panel-done svg {
  flex-shrink: 0;
}

.dc-footer-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}

.dc-footer {
  margin-top: var(--gap-md);
}

.dc-footer-breakdown {
  margin: 0;
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.4;
}

.panel-thumb--acc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3) !important;
  color: var(--acc);
}

@media (max-width: 1100px) {
  .dc-workspace {
    grid-template-columns: 1fr;
  }
  .dc-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .dc-nav-item {
    flex: 0 0 auto;
    min-width: 180px;
  }
  .dc-main {
    grid-template-columns: 1fr;
  }
  .dc-preview-stage {
    position: static;
    height: 400px;
    min-height: 360px;
  }
  .dc-kit-list {
    grid-template-columns: 1fr;
    max-height: 240px;
  }
  .dc-panel {
    min-height: 0;
  }
}
@media (max-width: 720px) {
  .dc-options {
    grid-template-columns: 1fr;
  }
  .dc-footer-buy {
    flex-direction: column;
    align-items: stretch;
  }
  .dc-footer-buy .btn {
    width: 100%;
    justify-content: center;
  }
  .dc-kit-row {
    grid-template-columns: 68px 1fr auto;
    gap: 4px 8px;
  }
  .dc-panel-nav {
    flex-direction: column;
  }
  .dc-panel-nav .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-trust {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-cross .product-grid.cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 960px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-filters {
    display: none;
  }
  .mobile-filter-btn {
    display: inline-flex;
  }
  .product-top {
    grid-template-columns: 1fr;
  }
  .product-gallery .gallery-main {
    min-height: 400px;
  }
  .product-cross .product-grid.cols-3,
  .product-cross .product-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .catalog-grid.list-view .product-card {
    flex-direction: column;
  }
  .catalog-grid.list-view .product-card .media {
    width: 100%;
  }
  .product-trust {
    grid-template-columns: 1fr;
  }
  .buybox-actions {
    flex-direction: column;
  }
  .product-cross .product-grid.cols-3,
  .product-cross .product-grid.cols-4 {
    grid-template-columns: 1fr;
  }
  .toolbar-right {
    width: 100%;
    justify-content: space-between;
  }
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  color: var(--fg-0);
  animation: toastIn 0.25s ease;
}
.toast.toast-success svg {
  color: var(--success);
}
.toast.toast-error svg {
  color: var(--danger);
}
.toast.toast-info svg {
  color: var(--acc);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: oklch(0% 0 0deg / 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.panel-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg-1);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.25s ease;
}
.side-panel.side-panel-wide {
  width: min(720px, 100vw);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.panel-head .panel-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--acc);
  color: var(--bg-0);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

.panel-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px;
  color: var(--fg-2);
  text-align: center;
}
.panel-empty svg {
  color: var(--fg-3);
}

.panel-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.panel-list--cart {
  padding: 12px 16px;
}

.side-panel--cart {
  width: min(460px, 100vw);
}

.cart-entries {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-kit {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--acc);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cart-kit.is-compact {
  border-radius: var(--radius-md);
}

.cart-kit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: oklch(74% 0.105 55deg / 0.08);
  border-bottom: 1px solid var(--line);
}

.cart-kit-header-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc);
}
.cart-kit-header-label svg {
  flex-shrink: 0;
}

.cart-kit-remove {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--fg-3);
  padding: 4px 6px;
  border-radius: var(--radius-sm);
}
.cart-kit-remove:hover {
  color: var(--danger);
  background: oklch(62% 0.18 25deg / 0.1);
}

.cart-kit-door {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.cart-kit-thumb {
  width: 56px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: block;
}
.cart-kit-thumb .cart-kit-thumb-door {
  position: absolute;
  inset: 10px 12px 0;
  background: inherit;
  border: 2px solid var(--door-edge, oklch(45% 0.025 60deg));
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.cart-kit-door-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-kit-door-tag {
  align-self: flex-start;
  padding: 2px 8px;
  background: var(--bg-3);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-2);
}

.cart-kit-door-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-0);
  line-height: 1.35;
}
.cart-kit-door-name:hover {
  color: var(--acc);
}

.cart-kit-door-meta {
  font-size: 12px;
  color: var(--fg-2);
}

.cart-kit-door-price {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-0);
}

.cart-kit-bundle {
  padding: 12px 14px 6px;
  background: var(--bg-1);
}

.cart-kit-bundle-title {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 10px;
}
.cart-kit-bundle-title strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--fg-0);
  margin-bottom: 2px;
}
.cart-kit-bundle-title span {
  font-size: 11px;
  color: var(--fg-3);
}

.cart-kit-bundle-line {
  width: 3px;
  flex-shrink: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--acc), oklch(74% 0.105 55deg / 0.2));
}

.cart-kit-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-kit-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: start;
  padding: 8px 0;
  font-size: 12px;
}
.cart-kit-item + .cart-kit-item {
  border-top: 1px dashed oklch(30% 0.006 60deg / 0.45);
}

.cart-kit-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-kit-item-group {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-3);
}

.cart-kit-item-name {
  color: var(--fg-1);
  line-height: 1.4;
}

.cart-kit-item-price {
  font-weight: 600;
  color: var(--fg-0);
  white-space: nowrap;
  padding-top: 2px;
}

.cart-kit-summary {
  padding: 12px 14px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.cart-kit-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--fg-2);
  padding: 3px 0;
}
.cart-kit-summary-row span:last-child {
  font-weight: 600;
  color: var(--fg-1);
}

.cart-kit-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line-strong);
}
.cart-kit-summary-total span {
  font-size: 12px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cart-kit-summary-total b {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--acc);
}

.cart-line {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.cart-line:last-child {
  border-bottom: 0;
}
.cart-line.is-compact {
  padding: 10px 0;
}

.cart-line-thumb {
  width: 48px;
  height: 64px;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}
.cart-line-thumb--acc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  color: var(--acc);
  border: 1px solid var(--line);
}

.cart-line-info {
  flex: 1;
  min-width: 0;
}

.cart-line-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-0);
  line-height: 1.35;
  margin-bottom: 3px;
}
.cart-line-name:hover {
  color: var(--acc);
}

.cart-line-meta {
  display: block;
  font-size: 11px;
  color: var(--fg-2);
  margin-bottom: 4px;
}

.cart-line-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--acc);
}

.cart-line-warn {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--danger);
  margin-bottom: 4px;
}

.cart-line.is-orphan {
  padding: 12px;
  background: oklch(62% 0.18 25deg / 0.06);
  border: 1px dashed oklch(62% 0.18 25deg / 0.35);
  border-radius: var(--radius-md);
}

.cart-line-remove {
  color: var(--fg-3);
  padding: 4px;
}
.cart-line-remove:hover {
  color: var(--danger);
}

.checkout-summary .cart-entries {
  margin-bottom: 16px;
}

.checkout-summary .cart-kit {
  margin-bottom: 8px;
}

.panel-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.panel-item .panel-thumb {
  width: 56px;
  height: 72px;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}
.panel-item .panel-item-info {
  flex: 1;
  min-width: 0;
}
.panel-item .panel-item-info .name {
  display: block;
  font-size: 13px;
  color: var(--fg-0);
  line-height: 1.35;
  margin-bottom: 4px;
}
.panel-item .panel-item-info .name:hover {
  color: var(--acc);
}
.panel-item .panel-item-info .meta {
  font-size: 11px;
  color: var(--fg-2);
}
.panel-item .panel-item-info .price {
  font-size: 15px;
  font-weight: 600;
  color: var(--acc);
  margin-top: 4px;
}
.panel-item .panel-remove {
  color: var(--fg-3);
  padding: 4px;
  align-self: flex-start;
}
.panel-item .panel-remove:hover {
  color: var(--danger);
}

.panel-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.panel-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  font-size: 15px;
}
.panel-total b {
  font-family: var(--ff-display);
  font-size: 28px;
}

.compare-table-wrap {
  overflow-x: auto;
  padding: 16px 24px;
  flex: 1;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th, .compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  font-weight: 500;
  color: var(--fg-0);
  position: relative;
}
.compare-table th a {
  font-size: 12px;
  display: block;
  margin-top: 8px;
}
.compare-table td {
  color: var(--fg-1);
}
.compare-table .compare-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--fg-3);
}
.compare-table .compare-remove:hover {
  color: var(--danger);
}

.modal-sm {
  max-width: 440px;
  grid-template-columns: 1fr;
}

.account-page {
  padding: 24px 0 80px;
}

.account-guest {
  display: flex;
  justify-content: center;
  padding: 80px 0 120px;
}

.account-guest-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.account-guest-card svg {
  color: var(--acc);
  opacity: 0.8;
}
.account-guest-card h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  margin: 0;
  font-size: 28px;
}
.account-guest-card p {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.account-sidebar {
  position: sticky;
  top: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.account-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.account-user__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.account-user__name {
  font-weight: 600;
  color: var(--fg-0);
  font-size: 15px;
  line-height: 1.3;
}
.account-user__phone {
  font-size: 12px;
  color: var(--fg-2);
  margin-top: 2px;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.account-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--fg-1);
  transition: background 0.15s, color 0.15s;
}
.account-nav__item:hover {
  background: var(--bg-3);
  color: var(--fg-0);
}
.account-nav__item.is-active {
  background: oklch(72% 0.12 55deg / 0.12);
  color: var(--acc);
  font-weight: 600;
}
.account-nav__badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--acc);
  color: var(--bg-0);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-main {
  min-width: 0;
}

.account-head {
  margin-bottom: 24px;
}
.account-head h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 32px;
  margin: 0;
  line-height: 1.2;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.account-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.account-stat svg {
  color: var(--acc);
  flex-shrink: 0;
}
.account-stat b {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg-0);
  line-height: 1.2;
}
.account-stat span {
  font-size: 12px;
  color: var(--fg-2);
}

.account-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.account-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.account-card--accent {
  border-color: oklch(72% 0.12 55deg / 0.25);
  background: linear-gradient(135deg, var(--bg-2), oklch(72% 0.12 55deg / 0.06));
}
.account-card--danger {
  border-color: oklch(55% 0.15 25deg / 0.2);
}
.account-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.account-card__head h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--fg-0);
}
.account-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--fg-0);
}

.account-link {
  font-size: 13px;
  color: var(--acc);
  font-weight: 500;
}
.account-link:hover {
  text-decoration: underline;
}

.account-order-preview__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.account-order-preview__top b {
  display: block;
  color: var(--fg-0);
  font-size: 15px;
}
.account-order-preview__top span {
  font-size: 12px;
  color: var(--fg-2);
}
.account-order-preview__items {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.account-order-preview__items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-1);
}
.account-order-preview__items li span:last-child {
  color: var(--fg-2);
  white-space: nowrap;
}
.account-order-preview__total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--fg-2);
}
.account-order-preview__total b {
  color: var(--fg-0);
  font-size: 18px;
}

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

.account-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-1);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-1);
  text-align: left;
  transition: border-color 0.15s, color 0.15s;
}
.account-action:hover {
  border-color: var(--line-strong);
  color: var(--fg-0);
}
.account-action svg {
  color: var(--acc);
  flex-shrink: 0;
}

.account-bonus-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.account-bonus-banner h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-0);
}
.account-bonus-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
  max-width: 420px;
}
.account-bonus-banner__value {
  font-size: 32px;
  font-weight: 700;
  color: var(--acc);
  white-space: nowrap;
  line-height: 1;
}
.account-bonus-banner__value span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-2);
  margin-top: 4px;
  text-align: right;
}

.account-status {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.account-status--warn {
  background: oklch(75% 0.12 80deg / 0.15);
  color: oklch(78% 0.12 80deg);
}
.account-status--info {
  background: oklch(65% 0.12 240deg / 0.15);
  color: oklch(72% 0.12 240deg);
}
.account-status--success {
  background: oklch(65% 0.12 150deg / 0.15);
  color: oklch(72% 0.12 150deg);
}
.account-status--muted {
  background: var(--bg-3);
  color: var(--fg-2);
}

.account-orders {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-order {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.account-order__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.account-order__head h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--fg-0);
}
.account-order__head span {
  font-size: 13px;
  color: var(--fg-2);
}
.account-order__items {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.account-order__items li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.account-order__product {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-1);
  min-width: 0;
}
.account-order__product:hover {
  color: var(--fg-0);
}
.account-order__thumb {
  width: 36px;
  height: 48px;
  border-radius: 4px;
  flex-shrink: 0;
}
.account-order__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-order__qty {
  color: var(--fg-2);
  white-space: nowrap;
}
.account-order__price {
  font-weight: 600;
  color: var(--fg-0);
  white-space: nowrap;
}
.account-order__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--fg-2);
  margin-bottom: 16px;
}
.account-order__meta div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.account-order__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.account-order__foot b {
  font-size: 20px;
  color: var(--fg-0);
}

.account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}
.account-form-grid__full {
  grid-column: 1/-1;
}
.account-form-grid input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--fg-0);
  font-size: 14px;
}
.account-form-grid input.is-readonly {
  color: var(--fg-2);
  cursor: default;
}
.account-form-grid input:focus:not(.is-readonly) {
  border-color: var(--acc);
  outline: none;
}

.account-hint {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
  margin: 0 0 16px;
}

.account-addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.account-address {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.account-address.is-default {
  border-color: oklch(72% 0.12 55deg / 0.35);
}
.account-address__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.account-address__head h3 {
  margin: 0;
  font-size: 15px;
  color: var(--fg-0);
}
.account-address__badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  background: oklch(72% 0.12 55deg / 0.15);
  color: var(--acc);
}
.account-address p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--fg-1);
  line-height: 1.5;
}
.account-address__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.account-address-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 140px;
  background: var(--bg-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--fg-2);
  font-size: 14px;
  transition: border-color 0.15s, color 0.15s;
}
.account-address-add:hover {
  border-color: var(--acc);
  color: var(--acc);
}

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

.account-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.account-empty svg {
  color: var(--fg-3);
  margin-bottom: 16px;
}
.account-empty h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.account-empty p {
  color: var(--fg-2);
  font-size: 14px;
  margin: 0 0 20px;
}

.account-bonus-history {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-bonus-history li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.account-bonus-history li:last-child {
  border-bottom: none;
}
.account-bonus-history li b {
  display: block;
  color: var(--fg-0);
  font-weight: 500;
  margin-bottom: 2px;
}
.account-bonus-history li span {
  font-size: 12px;
  color: var(--fg-2);
}
.account-bonus-history__plus {
  font-weight: 700;
  color: var(--acc);
  white-space: nowrap;
}

.account-toggles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.account-toggle:last-child {
  border-bottom: none;
}
.account-toggle b {
  display: block;
  font-size: 14px;
  color: var(--fg-0);
  margin-bottom: 2px;
}
.account-toggle span {
  font-size: 12px;
  color: var(--fg-2);
}
.account-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--acc);
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .account-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-favorites {
    grid-template-columns: repeat(2, 1fr);
  }
  .account-addresses {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
  }
  .account-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .account-nav__item {
    padding: 8px 12px;
    font-size: 13px;
  }
  .account-nav__item span:not(.account-nav__badge) {
    display: none;
  }
  .account-stats {
    grid-template-columns: 1fr 1fr;
  }
  .account-actions {
    grid-template-columns: 1fr;
  }
  .account-favorites {
    grid-template-columns: 1fr;
  }
  .account-bonus-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-bonus-banner__value span {
    text-align: left;
  }
}
.auth-modal {
  padding: 32px !important;
  gap: 0 !important;
}
.auth-modal__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 8px;
  line-height: 1.2;
}
.auth-modal__sub {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 24px;
}
.auth-modal__sub b {
  color: var(--fg-0);
  font-weight: 600;
  white-space: nowrap;
}
.auth-modal__step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 12px;
}
.auth-modal__phone {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--fg-0);
}
.auth-modal__phone:focus {
  border-color: var(--acc);
  outline: none;
}
.auth-modal__otp {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.auth-modal__otp-digit {
  width: 52px;
  height: 56px;
  flex: none;
  padding: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--fg-0);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-modal__otp-digit:focus {
  border-color: var(--acc);
  outline: none;
  box-shadow: 0 0 0 3px oklch(72% 0.12 55deg / 0.15);
}
.auth-modal__submit {
  width: 100%;
}
.auth-modal__back {
  align-self: center;
  padding: 0;
  border: none;
  background: none;
  font-size: 13px;
  color: var(--fg-2);
  cursor: pointer;
  transition: color 0.15s;
}
.auth-modal__back:hover {
  color: var(--acc);
}
.auth-modal__switch {
  width: 100%;
  margin-top: 4px;
}
.auth-modal__demo {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--fg-2);
}

.city-modal {
  max-width: 520px;
  overflow: hidden;
}
.city-modal__body {
  padding: 32px 32px 28px !important;
  gap: 20px;
}
.city-modal__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 8px;
}
.city-modal__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.city-modal__sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 38ch;
}

.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.city-list li {
  min-width: 0;
}
.city-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-1);
  text-align: left;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.city-list button:hover {
  border-color: var(--line-strong);
  background: var(--bg-3);
  color: var(--fg-0);
}
.city-list button.active {
  border-color: oklch(74% 0.105 55deg / 0.55);
  background: oklch(74% 0.105 55deg / 0.1);
  color: var(--fg-0);
  box-shadow: inset 0 0 0 1px oklch(74% 0.105 55deg / 0.2);
}
.city-list button.active .city-list__pin {
  background: oklch(74% 0.105 55deg / 0.16);
}
.city-list button:hover .city-list__pin {
  background: oklch(74% 0.105 55deg / 0.16);
}
.city-list__pin {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-3);
  color: var(--acc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.city-list__name {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.city-list__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--acc);
  color: oklch(16% 0.006 60deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zoom-lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: oklch(0% 0 0deg / 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.zoom-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.zoom-lightbox .door-illust-xl {
  height: 80vh;
  max-height: 700px;
}
.zoom-lightbox .zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--fg-0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.video-modal {
  background: var(--bg-1);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 640px;
  width: 90%;
  position: relative;
}
.video-modal .video-placeholder {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-2);
  border-radius: var(--radius-md);
}
.video-modal .video-placeholder svg {
  color: var(--acc);
  margin-bottom: 16px;
}
.video-modal .video-placeholder p {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--fg-0);
}
.video-modal .video-placeholder span {
  font-size: 13px;
  color: var(--fg-2);
}

.modal-quick-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.modal-quick-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-2);
}
.modal-quick-actions button:hover {
  color: var(--acc);
}

.buybox-icons button.active {
  color: var(--acc);
}

.info-page, .journal-page, .article-page {
  padding: 24px 0 var(--pad-section);
}
.info-page h1, .journal-page h1, .article-page h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  margin: 16px 0 24px;
}
.info-page p, .journal-page p, .article-page p {
  color: var(--fg-1);
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 800px;
}
.info-page h3, .journal-page h3, .article-page h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 22px;
  margin: 24px 0 10px;
  color: var(--fg-0);
}
.info-page ul, .journal-page ul, .article-page ul {
  color: var(--fg-1);
  line-height: 1.7;
  margin: 0 0 16px;
  padding-left: 20px;
  max-width: 720px;
}

.journal-desc {
  color: var(--fg-2);
  margin-bottom: 32px;
}

.journal-grid {
  margin-top: 24px;
}

a.article-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: border-color 0.15s, transform 0.2s;
}

.article-page .article-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-2);
  margin-bottom: 24px;
  align-items: center;
}
.article-page .article-visual {
  height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.article-page .article-content {
  max-width: 720px;
  margin-bottom: 32px;
}
.article-page .article-content p {
  font-size: 16px;
  line-height: 1.65;
}
.article-page .article-content a {
  color: var(--acc);
}

.checkout-page {
  padding-bottom: var(--pad-section);
}

.checkout-empty {
  text-align: center;
  padding: 80px 20px;
  max-width: 420px;
  margin: 0 auto;
}
.checkout-empty svg {
  color: var(--fg-3);
  margin-bottom: 16px;
}
.checkout-empty h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 8px;
}
.checkout-empty p {
  color: var(--fg-2);
  margin: 0 0 24px;
  line-height: 1.55;
}

.checkout-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 8px 0 32px;
}
.checkout-head h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 6px;
  line-height: 1.05;
}
.checkout-head p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-2);
}

.checkout-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.checkout-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-3);
}
.checkout-steps li span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-3);
  font-size: 11px;
}
.checkout-steps li.done {
  color: var(--fg-1);
}
.checkout-steps li.done span {
  background: oklch(40% 0.06 145deg / 0.25);
  color: var(--success);
}
.checkout-steps li.active {
  border-color: var(--acc);
  color: var(--fg-0);
  background: oklch(74% 0.105 55deg / 0.08);
}
.checkout-steps li.active span {
  background: var(--acc);
  color: var(--bg-0);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 400px);
  gap: var(--gap-lg);
  align-items: start;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.checkout-section {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.checkout-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 22px;
}
.checkout-section h2 svg {
  color: var(--acc);
  flex-shrink: 0;
}
.checkout-section input, .checkout-section textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--fg-0);
  outline: none;
  transition: border-color 0.15s;
}
.checkout-section input:focus, .checkout-section textarea:focus {
  border-color: var(--acc);
}
.checkout-section input::placeholder, .checkout-section textarea::placeholder {
  color: var(--fg-3);
}
.checkout-section textarea {
  resize: vertical;
  min-height: 100px;
}

.checkout-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.checkout-grid--2 {
  grid-template-columns: 1fr 1fr;
}
.checkout-grid:last-child {
  margin-bottom: 0;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.checkout-label .req {
  color: var(--acc);
  margin-left: 2px;
}

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

.checkout-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.checkout-option:hover {
  border-color: var(--line-strong);
}
.checkout-option.is-active {
  border-color: var(--acc);
  background: oklch(74% 0.105 55deg / 0.06);
}
.checkout-option.is-active .checkout-option-radio {
  border-color: var(--acc);
  box-shadow: inset 0 0 0 4px var(--acc);
}
.checkout-option .checkout-option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  flex-shrink: 0;
}
.checkout-option .checkout-option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.checkout-option .checkout-option-body b {
  font-size: 14px;
  color: var(--fg-0);
}
.checkout-option .checkout-option-body small {
  font-size: 12px;
  color: var(--fg-3);
}
.checkout-option .checkout-option-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--acc);
  white-space: nowrap;
}

.checkout-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-1);
  cursor: pointer;
  margin-top: 4px;
}
.checkout-check input {
  accent-color: var(--acc);
  width: 16px;
  height: 16px;
}

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

.checkout-pay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.checkout-pay svg {
  color: var(--acc);
}
.checkout-pay b {
  font-size: 13px;
  color: var(--fg-0);
  line-height: 1.3;
}
.checkout-pay small {
  font-size: 11px;
  color: var(--fg-3);
  line-height: 1.35;
}
.checkout-pay:hover {
  border-color: var(--line-strong);
}
.checkout-pay.is-active {
  border-color: var(--acc);
  background: oklch(74% 0.105 55deg / 0.06);
}

.checkout-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 96px;
}

.checkout-summary {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.checkout-summary h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
}

.checkout-summary-scroll {
  max-height: min(420px, 50vh);
  overflow-y: auto;
  margin: 0 -4px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--line);
}

.checkout-calc {
  padding: 14px 0 0;
}

.checkout-calc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-2);
  padding: 5px 0;
}
.checkout-calc-row span:last-child {
  font-weight: 600;
  color: var(--fg-1);
  white-space: nowrap;
}

.checkout-calc-hint {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--success);
  line-height: 1.4;
}

.checkout-calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}
.checkout-calc-total span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.checkout-calc-total b {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--fg-0);
  line-height: 1;
}

.checkout-submit {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}
.checkout-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.checkout-legal {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--fg-3);
  line-height: 1.45;
  text-align: center;
}

.checkout-trust {
  list-style: none;
  margin: 0;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-trust li {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--fg-2);
  line-height: 1.4;
}
.checkout-trust li svg {
  color: var(--acc);
  flex-shrink: 0;
  margin-top: 1px;
}
.checkout-trust li b {
  display: block;
  font-size: 12px;
  color: var(--fg-0);
  margin-bottom: 1px;
}

.checkout-success {
  padding: 40px 0 60px;
  display: flex;
  justify-content: center;
}

.checkout-success-card {
  width: 100%;
  max-width: 560px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
}

.checkout-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: oklch(40% 0.06 145deg / 0.15);
  color: var(--success);
}

.checkout-success-card h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 36px;
  margin: 0 0 8px;
}

.checkout-success-id {
  font-size: 15px;
  color: var(--fg-1);
  margin: 0 0 8px;
}
.checkout-success-id b {
  color: var(--acc);
}

.checkout-success-sub {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0 0 24px;
}

.checkout-success-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 20px;
  background: var(--bg-1);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.checkout-success-total span {
  font-size: 13px;
  color: var(--fg-3);
}
.checkout-success-total b {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
}

.checkout-success-order {
  text-align: left;
  margin-bottom: 24px;
}
.checkout-success-order h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}

.checkout-success-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.checkout-success-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-1);
  padding: 10px 14px;
  background: var(--bg-1);
  border-radius: var(--radius-md);
}
.checkout-success-steps li svg {
  color: var(--acc);
  flex-shrink: 0;
}

.checkout-success-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.checkout-success-actions .btn {
  min-width: 140px;
  justify-content: center;
}

.megamenu .cat-item {
  text-decoration: none;
  color: inherit;
}

.promo {
  text-decoration: none;
  color: inherit;
}

.selection-card ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 960px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-aside {
    position: static;
    order: -1;
  }
  .checkout-summary-scroll {
    max-height: 280px;
  }
  .checkout-steps {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .checkout-steps li {
    flex-shrink: 0;
  }
}
@media (max-width: 640px) {
  .checkout-grid--2 {
    grid-template-columns: 1fr;
  }
  .checkout-pay-grid {
    grid-template-columns: 1fr;
  }
  .checkout-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .checkout-section {
    padding: 18px 16px;
  }
  .checkout-success-card {
    padding: 28px 20px;
  }
}

/*# sourceMappingURL=pages.css.map */
