/* D.ZHELEZNOV — main styles (ported from Next.js Tailwind) */

:root {
  --color-white: #ffffff;
  --color-surface: #f7f7f7;
  --color-text: #111111;
  --color-muted: #666666;
  --color-accent: #6e1b24;
  --color-burgundy: #5b0f18;
  --color-hover: #7a2430;
  --color-border: #e5e5e5;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max-store: 1440px;
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

::selection {
  background: rgba(17, 17, 17, 0.1);
  color: var(--color-text);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container-store {
  width: 100%;
  max-width: var(--max-store);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) { .container-store { padding: 0 1.5rem; } }
@media (min-width: 768px) { .container-store { padding: 0 2rem; } }
@media (min-width: 1024px) { .container-store { padding: 0 3rem; } }
@media (min-width: 1280px) { .container-store { padding: 0 4rem; } }
@media (min-width: 1536px) { .container-store { padding: 0 5rem; } }

.font-display { font-family: var(--font-display); }
.text-muted { color: var(--color-muted); }
.bg-surface { background: var(--color-surface); }
.border-border { border-color: var(--color-border); }

.section-title {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .section-title { font-size: 1.25rem; }
}

.section-subtitle { font-size: 0.875rem; color: var(--color-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s var(--ease-smooth);
}

.btn-primary {
  composes: btn;
  background: var(--color-text);
  color: var(--color-white);
}
.btn-primary:hover { background: #000; }

.btn-outline {
  border: 1px solid var(--color-text);
  color: var(--color-text);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s var(--ease-smooth);
}
.btn-outline:hover { background: var(--color-text); color: var(--color-white); }

.btn-ghost {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.btn-ghost:hover { color: var(--color-muted); }

.input-field {
  width: 100%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text);
  transition: border-color 0.2s;
}
.input-field::placeholder { color: var(--color-muted); }
.input-field:focus { outline: none; border-color: var(--color-text); }

.size-pill {
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: all 0.2s;
}
.size-pill:hover { border-color: var(--color-text); }
.size-pill-active,
.size-pill.is-active {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-white);
}

.filter-chip {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-border);
  transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--color-text); }
.filter-chip-active,
.filter-chip.is-active {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 0.75rem;
  align-items: stretch;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.5rem; }
}

/* Promo bar */
.dz-promo-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.dz-promo-track {
  display: flex;
  white-space: nowrap;
  padding: 0.625rem 0;
  animation: dz-marquee 25s linear infinite;
}
.dz-promo-track span {
  padding: 0 2rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}
@keyframes dz-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header */
.dz-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  transition: box-shadow 0.3s;
}
.dz-header.is-scrolled {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border-bottom: 1px solid var(--color-border);
}
.dz-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 3.5rem;
}
@media (min-width: 768px) { .dz-header-inner { height: 4rem; } }

.dz-logo {
  justify-self: center;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .dz-logo { font-size: 1.5rem; letter-spacing: 0.25em; }
}

.dz-nav { display: none; gap: 1.25rem; }
@media (min-width: 768px) { .dz-nav { display: flex; align-items: center; } }
@media (min-width: 1024px) { .dz-nav { gap: 2rem; } }

.dz-nav a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.dz-nav a:hover,
.dz-nav a.is-active { color: var(--color-text); }
.dz-nav a.is-active { font-weight: 500; }

.dz-header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.25rem;
}
@media (min-width: 768px) { .dz-header-actions { gap: 0.75rem; } }

.dz-icon-btn {
  padding: 0.5rem;
  transition: color 0.2s;
}
.dz-icon-btn:hover { color: var(--color-muted); }

.dz-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 1rem;
  height: 1rem;
  background: var(--color-text);
  color: var(--color-white);
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dz-badge:empty,
.dz-badge[data-count="0"] { display: none; }

.dz-menu-toggle { display: block; padding: 0.5rem; margin: -0.5rem 1rem -0.5rem -0.5rem; }
@media (min-width: 768px) { .dz-menu-toggle { display: none; } }

/* Footer */
.dz-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: 4rem;
}
.dz-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}
@media (min-width: 768px) { .dz-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .dz-footer-grid { grid-template-columns: repeat(4, 1fr); } }

.dz-footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-muted);
}
@media (min-width: 768px) {
  .dz-footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: dz-fade-in 0.4s var(--ease-smooth) both;
}
@keyframes dz-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-card__media {
  position: relative;
  margin-bottom: 1rem;
  border: 1px solid rgba(229,229,229,0.6);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  background: var(--color-white);
  transition: opacity 0.3s;
}
.product-card__media img.secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card:hover .product-card__media img.secondary { opacity: 1; }

.product-card__fav {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.375rem;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(229,229,229,0.5);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .product-card__fav,
.product-card__fav.is-visible { opacity: 1; }

.product-card__actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.375rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.375rem;
  opacity: 1;
  transform: none;
  transition: all 0.3s;
  z-index: 2;
}
@media (min-width: 768px) {
  .product-card__actions {
    opacity: 0;
    transform: translateY(8px);
  }
  .product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card__action-btn {
  width: 100%;
  text-align: center;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.625rem 0.5rem;
  line-height: 1.2;
}
.product-card__action-btn--buy {
  background: var(--color-text);
  color: var(--color-white);
}
@media (min-width: 1024px) {
  .product-card__action-btn { font-size: 10px; letter-spacing: 0.1em; }
}

.product-card__title {
  font-size: 0.875rem;
  line-height: 1.375;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card:hover .product-card__title { color: var(--color-muted); }

.product-card__price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.product-card__old-price {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-decoration: line-through;
}

.product-card__out-of-stock {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero */
.dz-hero {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-white);
}
@media (min-width: 768px) { .dz-hero { aspect-ratio: 21/9; } }
.dz-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 768px) { .dz-hero img { object-fit: cover; } }
.dz-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}
.dz-hero-content {
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  color: var(--color-white);
}
@media (min-width: 768px) {
  .dz-hero-content { bottom: 3rem; left: 3rem; }
}
.dz-hero-season {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 0.75rem;
}
.dz-hero-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .dz-hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .dz-hero-title { font-size: 3.75rem; } }

.dz-hero-cta {
  display: inline-block;
  border: 1px solid var(--color-white);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}
.dz-hero-cta:hover { background: var(--color-white); color: var(--color-text); }

/* Collection banners */
.dz-collections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .dz-collections-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dz-collections-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .dz-collections-grid { grid-template-columns: repeat(5, 1fr); } }

.dz-collection-banner {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--color-white);
  display: block;
}
.dz-collection-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}
.dz-collection-banner:hover img { transform: scale(1.02); }
.dz-collection-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.dz-collection-banner h3 {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.25rem;
}
@media (min-width: 768px) { .dz-collection-banner h3 { font-size: 1.5rem; } }

/* Masonry archive */
.dz-masonry {
  columns: 1;
  column-gap: 0.75rem;
}
@media (min-width: 640px) { .dz-masonry { columns: 2; } }
@media (min-width: 1024px) { .dz-masonry { columns: 3; } }
@media (min-width: 1280px) { .dz-masonry { columns: 4; } }

.dz-masonry-item {
  break-inside: avoid;
  margin-bottom: 0.75rem;
  display: block;
  width: 100%;
  cursor: zoom-in;
}
.dz-masonry-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--color-white);
  transition: opacity 0.3s;
}
.dz-masonry-item:hover img { opacity: 0.9; }

/* Cart drawer */
.dz-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-smooth), visibility 0.35s;
}
.dz-overlay.is-open { opacity: 1; visibility: visible; }

.dz-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 28rem;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-smooth);
  z-index: 81;
}
.dz-drawer.is-open { transform: translateX(0); }

.dz-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.dz-drawer-header h2 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.dz-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.dz-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* Modal / lightbox */
.dz-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.dz-modal.is-open { opacity: 1; visibility: visible; }
.dz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}
.dz-modal-panel {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  max-width: 28rem;
  width: 100%;
  padding: 2rem;
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
}

.dz-lightbox {
  z-index: 90;
}
.dz-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  margin: 0 auto;
}
.dz-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-white);
  font-size: 2rem;
  padding: 1rem;
  z-index: 2;
}
.dz-lightbox-prev { left: 1rem; }
.dz-lightbox-next { right: 1rem; }
.dz-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--color-white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}

/* Mobile nav */
.dz-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--color-white);
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease-smooth);
  padding: 5rem 2rem 2rem;
}
.dz-mobile-nav.is-open { transform: translateX(0); }
.dz-mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--color-border);
}

/* Search modal */
.dz-search-modal .dz-modal-panel {
  max-width: 42rem;
}
.dz-search-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  max-height: 60vh;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .dz-search-results { grid-template-columns: repeat(3, 1fr); }
}

/* Catalog filters */
.dz-catalog-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .dz-catalog-layout { flex-direction: row; gap: 2.5rem; }
}
.dz-catalog-sidebar {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .dz-catalog-sidebar { width: 14rem; } }
@media (min-width: 1280px) { .dz-catalog-sidebar { width: 16rem; } }

.dz-catalog-sidebar.is-hidden { display: none; }
@media (min-width: 1024px) { .dz-catalog-sidebar.is-hidden { display: block; } }

/* Single product */
.dz-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.5rem 0 2.5rem;
}
@media (min-width: 1024px) {
  .dz-product-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.dz-product-gallery-main {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--color-white);
  overflow: hidden;
  width: 100%;
  cursor: zoom-in;
}
.dz-product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dz-product-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
}
.dz-product-thumb {
  position: relative;
  width: 4rem;
  height: 5rem;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  opacity: 0.6;
  cursor: pointer;
}
.dz-product-thumb.is-active {
  border-color: var(--color-text);
  opacity: 1;
}
.dz-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dz-product-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
}
@media (min-width: 768px) { .dz-product-title { font-size: 2.25rem; } }

.dz-product-price {
  font-size: 1.5rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.dz-product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .dz-product-actions { position: static; border: 0; padding: 0; }
}
@media (max-width: 1023px) {
  .dz-product-actions {
    position: sticky;
    bottom: 0;
    background: var(--color-white);
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
  }
}

/* WooCommerce overrides */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { display: none !important; }

.woocommerce-notices-wrapper { margin: 1rem 0; }

.dz-checkout .woocommerce-checkout {
  display: block;
}

.dz-checkout-form .form-row {
  margin: 0 0 0.75rem;
  padding: 0;
}

.dz-checkout-form label:not(.dz-option-card) {
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  display: block;
}

.dz-checkout-form .dz-field-label-hidden,
.dz-checkout-form .form-row label.dz-field-label-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.dz-checkout-form .optional {
  display: none !important;
}

.dz-option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--color-text);
  background: var(--color-surface);
  padding: 1rem;
  margin-bottom: 1rem;
  cursor: default;
}

.dz-option-card input[type="radio"] {
  margin-top: 0.2rem;
  accent-color: var(--color-text);
}

.dz-option-card__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

.dz-option-card__desc {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

.dz-delivery-fields {
  margin-top: 1rem;
}

.dz-checkout-hint,
.dz-pvz-status {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 0.75rem 0 0;
}

.dz-pvz-status:not([hidden]) {
  display: block;
}

.dz-field-pickup-point select,
.dz-checkout-form select#dz_pickup_point {
  width: 100%;
  display: block;
  min-height: 2.75rem;
}

.dz-delivery-fields .form-row {
  display: grid;
  gap: 0;
}

.dz-checkout-form .input-text,
.dz-checkout-form select,
.dz-checkout-form .select2-container .select2-selection--single {
  width: 100%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text);
  border-radius: 0;
  min-height: auto;
  height: auto;
}

.dz-checkout-form .input-text:focus,
.dz-checkout-form select:focus {
  outline: none;
  border-color: var(--color-text);
}

.dz-checkout-section {
  margin-bottom: 2rem;
}

.dz-checkout-section__title,
.dz-checkout h3,
.dz-checkout .woocommerce-billing-fields > h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}

.dz-checkout-form .dz-delivery-methods > label:first-child,
.dz-checkout-form .dz-payment-methods > label:first-child {
  display: none;
}

.dz-checkout-form .dz-delivery-methods .woocommerce-input-wrapper,
.dz-checkout-form .dz-payment-methods .woocommerce-input-wrapper {
  display: grid;
  gap: 0.5rem;
}

.dz-checkout-form .dz-delivery-methods input[type="radio"],
.dz-checkout-form .dz-payment-methods input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dz-checkout-form .dz-delivery-methods .woocommerce-input-wrapper > label,
.dz-checkout-form .dz-payment-methods .woocommerce-input-wrapper > label {
  display: block;
  border: 1px solid var(--color-border);
  padding: 1rem;
  margin: 0;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.875rem;
  font-weight: 400;
}

.dz-checkout-form .dz-delivery-methods input[type="radio"]:checked + label,
.dz-checkout-form .dz-payment-methods input[type="radio"]:checked + label {
  border-color: var(--color-text);
  background: var(--color-surface);
}

.dz-checkout-review {
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
  align-self: start;
}

.dz-checkout-items {
  display: grid;
  gap: 1rem;
  max-height: 15rem;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.dz-checkout-item {
  display: flex;
  gap: 0.75rem;
}

.dz-checkout-item__image {
  width: 3.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--color-white);
}

.dz-checkout-item__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.dz-checkout-item__title {
  font-size: 0.75rem;
  margin: 0;
  line-height: 1.4;
}

.dz-checkout-item__meta {
  font-size: 0.625rem;
  color: var(--color-muted);
  margin: 0.25rem 0 0;
}

.dz-checkout-item__price {
  font-size: 0.75rem;
  margin: 0.25rem 0 0;
}

.dz-checkout-totals {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.dz-checkout-totals__row {
  display: flex;
  justify-content: space-between;
  color: var(--color-muted);
}

.dz-checkout-totals__row--total {
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
  padding-top: 0.5rem;
}

.dz-checkout-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.dz-checkout-agree input {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.dz-checkout-agree a {
  text-decoration: underline;
}

.dz-checkout-payment {
  margin-top: 1.5rem;
  background: transparent;
  padding: 0;
}

.dz-checkout-submit {
  margin-top: 1.5rem;
}

.dz-checkout-payment .wc_payment_methods {
  display: none !important;
}

.dz-checkout-payment .place-order {
  margin: 0;
  padding: 0;
}

.dz-checkout .btn-primary.dz-place-order,
.dz-checkout #place_order {
  width: 100%;
  margin-top: 0;
  text-align: center;
  background: var(--color-text) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 1rem 1.5rem !important;
  font-weight: 500 !important;
}

.dz-checkout #place_order.is-disabled,
.dz-checkout #place_order[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.dz-checkout #place_order {
  display: block !important;
  visibility: visible !important;
}

form.checkout.dz-checkout-form.has-custom-place-order-button #place_order {
  display: block !important;
  visibility: visible !important;
}

.dz-checkout .wc_payment_methods,
.dz-checkout .payment_methods,
.dz-checkout .woocommerce-privacy-policy-text,
.dz-checkout #payment:not(.dz-checkout-payment) {
  display: none !important;
}

.dz-checkout .woocommerce-form-coupon-toggle,
.dz-checkout .woocommerce-info,
.dz-checkout .woocommerce-billing-fields h3,
.dz-checkout .woocommerce-privacy-policy-text {
  display: none !important;
}

.dz-field-pvz-search,
.dz-field-pickup-point {
  display: block;
}

.dz-field-city,
.dz-field-pvz-search,
.dz-field-pickup-point {
  display: block;
}

.dz-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .dz-checkout-grid { grid-template-columns: 2fr 1fr; }
}

/* Cookie banner */
.dz-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--color-text);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-smooth);
}
.dz-cookie.is-visible { transform: translateY(0); }
.dz-cookie p { font-size: 0.75rem; margin: 0; max-width: 40rem; }
.dz-cookie button {
  border: 1px solid var(--color-white);
  color: var(--color-white);
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Utilities */
.py-section { padding: 2rem 0; }
@media (min-width: 768px) { .py-section { padding: 3rem 0; } }

.text-center { text-align: center; }
.hidden { display: none !important; }
@media (min-width: 768px) {
  .hidden-md-up { display: none !important; }
  .show-md-up { display: block !important; }
}

.tabular-nums { font-variant-numeric: tabular-nums; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* Extended layout components */
.dz-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.dz-section-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  transition: color 0.2s;
}
.dz-section-link:hover { color: var(--color-text); }

.dz-archive-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) { .dz-archive-preview-grid { grid-template-columns: repeat(4, 1fr); } }
.dz-archive-preview-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-white);
  display: block;
}
.dz-archive-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s;
}
.dz-archive-preview-item:hover img { opacity: 0.9; }

.dz-instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
}
@media (min-width: 768px) { .dz-instagram-grid { grid-template-columns: repeat(6, 1fr); gap: 0.5rem; } }
.dz-instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-white);
  display: block;
}
.dz-instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}
.dz-instagram-item:hover img { transform: scale(1.02); }

.dz-newsletter-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.dz-newsletter-inline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .dz-newsletter-inline { flex-direction: row; }
}

.dz-catalog-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .dz-catalog-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.dz-catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .dz-catalog-toolbar { flex-direction: row; justify-content: flex-end; }
}
.dz-filter-group { margin-bottom: 1.5rem; }
.dz-filter-group .filter-chip { display: block; width: 100%; text-align: left; margin-bottom: 0.25rem; }
.dz-filter-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.dz-size-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
}
.dz-price-filter { display: flex; flex-direction: column; gap: 0.5rem; }
.dz-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.dz-collections-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .dz-collections-list { grid-template-columns: repeat(2, 1fr); } }
.dz-collection-list-item__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-white);
}
.dz-collection-list-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}
.dz-collection-list-item:hover img { transform: scale(1.02); }

.dz-collection-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  min-height: 280px;
  overflow: hidden;
  background: var(--color-white);
}
.dz-collection-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.dz-collection-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}
.dz-collection-hero__content {
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  color: var(--color-white);
}
@media (min-width: 768px) { .dz-collection-hero__content { bottom: 3rem; left: 3rem; } }

.dz-lookbook-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) { .dz-lookbook-grid { grid-template-columns: repeat(3, 1fr); } }
.dz-lookbook-item {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--color-white);
  overflow: hidden;
}
.dz-lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dz-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .dz-contact-grid { grid-template-columns: 1fr 1fr; } }

.dz-about-hero,
.dz-about-portrait {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  margin-bottom: 2.5rem;
}
.dz-about-hero { aspect-ratio: 16/9; }
.dz-about-portrait { aspect-ratio: 3/4; }
.dz-about-hero img,
.dz-about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dz-about-copy {
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.dz-about-designer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 768px) { .dz-about-designer { grid-template-columns: 1fr 1fr; } }

.dz-legal-pre {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 0;
}

.dz-product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 0.5rem;
}

.dz-cart-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dz-cart-item__image {
  width: 5rem;
  flex-shrink: 0;
  border: 1px solid rgba(229,229,229,0.6);
}
.dz-cart-item__image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
}
.dz-cart-item__info h3 {
  font-size: 0.875rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dz-cart-item__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.dz-qty-btn {
  width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
  border: 1px solid var(--color-border);
}
.dz-qty-btn:hover { background: var(--color-surface); }
.dz-qty-value {
  width: 2rem;
  text-align: center;
  font-size: 0.875rem;
}
.dz-cart-remove {
  font-size: 0.75rem;
  color: var(--color-muted);
}
.dz-cart-remove:hover { color: var(--color-text); }
.dz-cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dz-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .dz-checkout-grid { grid-template-columns: 2fr 1fr; }
}

.dz-size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.dz-size-table th,
.dz-size-table td {
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  text-align: center;
}

.show-mobile { display: inline; }
.hide-mobile { display: none; }
@media (min-width: 1024px) {
  .show-mobile { display: none; }
  .hide-mobile { display: inline; }
}

.product-card__placeholder {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  background: var(--color-surface);
}

/* Mobile-only UI fixes */
@media (max-width: 767px) {
  .dz-promo-track {
    padding: 0.35rem 0;
  }

  .dz-promo-track span {
    font-size: 8px;
    padding: 0 1rem;
    letter-spacing: 0.12em;
  }

  .dz-header,
  .dz-header button,
  .dz-header a,
  .dz-icon-btn,
  .dz-menu-toggle {
    color: var(--color-text);
  }

  .dz-header a:visited,
  .dz-icon-btn:visited,
  .dz-section-link,
  .dz-section-link:visited {
    color: var(--color-muted);
  }

  .dz-header a:hover,
  .dz-header button:hover,
  .dz-icon-btn:hover,
  .dz-menu-toggle:hover {
    color: var(--color-muted);
  }

  .dz-mobile-nav a,
  .dz-mobile-nav a:visited {
    color: var(--color-text);
  }

  button,
  .btn,
  .btn-outline,
  .btn-primary,
  .btn-ghost {
    color: inherit;
  }

  .btn-primary {
    color: var(--color-white);
  }

  .dz-hero-section,
  .dz-hero {
    background: #0a0a0a;
  }

  /* Wide banner like desktop: full photo, dark letterbox (no gray/white bars) */
  .dz-hero {
    aspect-ratio: 3 / 2;
  }

  .dz-hero img {
    object-fit: contain;
    object-position: center center;
  }

  .dz-hero-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.15) 45%,
      rgba(0, 0, 0, 0.1) 100%
    );
  }

  .dz-hero-content {
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    max-width: 16rem;
  }

  .dz-hero-season {
    font-size: 0.625rem;
    letter-spacing: 0.28em;
    margin-bottom: 0.5rem;
  }

  .dz-hero-title {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.875rem;
  }

  .dz-hero-cta {
    padding: 0.625rem 1.125rem;
    font-size: 0.625rem;
    letter-spacing: 0.12em;
  }
}
