:root {
  /* MATSI — თბილი კრემისფერი / ღრმა ლურჯი მელანი / ოქრო (2026 რედიზაინი) */
  --brand-50: #fbf8f2;
  --brand-100: #f6f1e7;
  --brand-200: #ece4d5;
  --brand-300: #dbcdb4;
  --brand-400: #a79680;
  --brand-500: #7d6e5c;
  --brand-600: #5e5142;
  --brand-700: #2a3549;
  --brand-800: #1b2739;
  --brand-900: #121c2b;
  --brand-950: #0d1626;
  --accent-50: #fdfaf3;
  --accent-100: #f8f0dd;
  --accent-200: #efdfba;
  --accent-300: #e3ca92;
  --accent-400: #d2b06a;
  --accent-500: #c19a4e;
  --accent-600: #a37f3c;
  --accent-700: #7f6130;
  --accent-800: #5c4624;
  --accent-900: #3c2e18;
  --accent-950: #221a0d;
  --gold: #c6a15b;
  --gold-soft: #e0c88f;
  --burgundy: #7c2e35;
  --white: #ffffff;
  --shadow-soft: 0 22px 45px -28px rgba(45, 32, 18, 0.28);
  --shadow-strong: 0 45px 90px -35px rgba(45, 32, 18, 0.38);
  --radius-xl: 40px;
  --radius-2xl: 60px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body.matsi-neo {
  font-family: "Manrope", "Inter", "Noto Sans Georgian", sans-serif;
  background: var(--brand-50);
  color: var(--brand-950);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.font-display {
  font-family: "Cormorant Garamond", "Noto Sans Georgian", serif !important;
  font-optical-sizing: auto;
}

#main-content h1,
#main-content h2,
#main-content h3,
#main-content h4,
#main-content p,
#main-content span,
#main-content button,
#main-content label {
  overflow-wrap: normal;
  word-break: normal;
}

.app-wrapper {
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--brand-50);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-300);
  border-radius: 999px;
}

/* Loader */
#loader {
  background: radial-gradient(circle at 50% 20%, #f1f5f9 0%, #e2e8f0 45%, #cbd5e1 100%) !important;
}

.wine-loader path,
.wine-loader line {
  stroke: #334155;
}

#wine-fill {
  fill: #020617 !important;
}

@keyframes swirl {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }

  50% {
    transform: rotate(180deg) scale(1.08);
    opacity: 0.82;
  }

  100% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

@keyframes pour {
  0% {
    height: 0%;
  }

  100% {
    height: 70%;
  }
}

.wine-loader {
  animation: swirl 2s ease-in-out infinite;
}

.wine-pour {
  animation: pour 1.5s ease-out forwards;
}

#loader .text-cream-200,
#loader .text-cream-300\/60 {
  color: var(--brand-700) !important;
}

/* Nav */
#main-nav {
  background: rgba(255, 255, 255, 0) !important;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  border-bottom: 1px solid transparent !important;
  box-shadow: none;
  transition: background-color 0.45s ease, backdrop-filter 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

#main-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.75) !important;
  box-shadow: 0 8px 28px -24px rgba(2, 6, 23, 0.35);
}

.nav-link {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.7) !important;
  line-height: 1.2;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-700) !important;
}

.nav-link span {
  height: 2px !important;
  background: var(--brand-700) !important;
}

#mobile-menu a {
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
}

#mobile-menu a:hover {
  background: #eef2f7;
}

/* Page transitions */
.page-transition {
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-scale {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* Generic components */
.glass-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 45px -30px rgba(2, 6, 23, 0.25);
}

.premium-button-primary,
.btn-wine,
button[class*="bg-wine-700"] {
  border-radius: 999px !important;
  border: 1px solid rgba(2, 6, 23, 0.1) !important;
  background: var(--brand-950) !important;
  color: var(--accent-100) !important;
  transition: all 0.3s ease;
  font-family: "Noto Sans Georgian", "Manrope", "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.25;
  letter-spacing: 0.045em !important;
  text-transform: none !important;
  white-space: normal;
  text-align: center;
  font-weight: 600;
}

.premium-button-primary:hover,
.btn-wine:hover,
button[class*="bg-wine-700"]:hover {
  background: #0b1224 !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 26px -16px rgba(2, 6, 23, 0.55);
}

.premium-button-primary:active,
.premium-button-outline:active,
.btn-wine:active,
button:active {
  transform: scale(0.96);
}

.premium-button-outline,
button[class*="border-2"] {
  border-radius: 999px !important;
  border: 2px solid rgba(2, 6, 23, 0.2) !important;
  background: transparent !important;
  color: var(--brand-950) !important;
  transition: all 0.3s ease;
  font-family: "Noto Sans Georgian", "Manrope", "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.25;
  letter-spacing: 0.045em !important;
  text-transform: none !important;
  white-space: normal;
  text-align: center;
  font-weight: 600;
}

.premium-button-outline:hover,
button[class*="border-2"]:hover {
  background: var(--brand-950) !important;
  color: #ffffff !important;
}

.matsi-liquid-btn {
  border-radius: 999px !important;
  transition: all 0.24s ease;
}

.matsi-liquid-btn.is-pressed {
  transform: scale(0.97);
}

/* Keep cart badge readable */
#main-nav button[onclick*="navigateTo('cart')"] {
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#cart-count {
  border: 2px solid #fff;
  background: var(--brand-700) !important;
  color: #fff !important;
}

/* Home hero */
.home-hero {
  padding-top: 0;
}

.home-hero-bg {
  background:
    radial-gradient(120% 80% at 12% 8%, rgba(214, 195, 160, 0.28), transparent 60%),
    radial-gradient(90% 70% at 92% 82%, rgba(198, 161, 91, 0.16), transparent 62%),
    linear-gradient(180deg, #f7f2e8 0%, #fbf8f2 55%, #fbf8f2 100%);
}

.home-blob {
  width: 42vw;
  height: 42vw;
  max-width: 580px;
  max-height: 580px;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}

.home-blob-one {
  top: 5%;
  right: -12%;
  background: rgba(198, 161, 91, 0.16);
}

.home-blob-two {
  left: -8%;
  bottom: 2%;
  background: rgba(160, 140, 105, 0.14);
}

#page-home #home-hero-kicker {
  color: var(--brand-600) !important;
}

#hero-title {
  letter-spacing: -0.02em;
  color: var(--brand-950) !important;
  line-height: 0.9;
}

#hero-title .italic {
  color: var(--brand-700) !important;
}

#hero-subtitle {
  color: rgba(51, 65, 85, 0.82) !important;
}

.home-hero-visual {
  min-height: 560px;
}

.hero-visual-entry {
  animation: heroVisualIn 1.2s ease-out both;
}

@keyframes heroVisualIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8) rotate(-10deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.home-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  pointer-events: none;
  z-index: 1;
}

.home-ring-1 {
  inset: 2%;
  animation: spin 24s linear infinite;
}

.home-ring-2 {
  inset: 12%;
  animation: spin-reverse 30s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

.hero-bottle-wrap {
  position: relative;
  width: min(460px, 100%);
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-bottle-image {
  height: 82%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 35px 35px rgba(2, 6, 23, 0.28));
  animation: levitate 6s ease-in-out infinite;
  transition: transform 0.35s ease;
}

@keyframes levitate {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

.home-floating-tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 22px;
  border: 1px solid rgba(203, 213, 225, 0.6);
  box-shadow: 0 20px 42px -30px rgba(2, 6, 23, 0.4);
  padding: 1rem 1.2rem;
}

.home-floating-tag-top {
  top: 18%;
  right: -12%;
}

.home-floating-tag-bottom {
  bottom: 30%;
  left: -14%;
}

.home-floating-tag-enter-right {
  animation: homeTagInRight 0.75s ease-out 1.2s both;
}

.home-floating-tag-enter-left {
  animation: homeTagInLeft 0.75s ease-out 1.4s both;
}

@keyframes homeTagInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes homeTagInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-floating-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(71, 85, 105, 0.85);
}

.home-floating-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-950);
  font-weight: 700;
}

.home-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  animation: homeScrollFadeIn 0.8s ease-out 2s both;
}

.home-scroll-indicator span {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: rgba(51, 65, 85, 0.45);
}

.home-scroll-indicator div {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4), transparent);
}

@keyframes homeScrollFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.home-swirl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.home-swirl path {
  fill: none;
  stroke: rgba(15, 23, 42, 0.78);
  stroke-width: 0.5;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: homeSwirlTrace 3s ease-in-out infinite alternate;
}

@keyframes homeSwirlTrace {
  from {
    stroke-dashoffset: 120;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* Featured products */
#page-home > div:nth-child(2),
#page-shop > div,
#page-product > div,
#page-about > div,
#page-contact > div,
#page-designer > div,
#page-cart > div {
  background: transparent !important;
}

#page-home .product-card,
#page-shop #products-grid > .product-card,
#page-cart .bg-white,
#page-contact .bg-white,
#page-designer .designer-main-card,
#page-designer .designer-side-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

#page-product #product-detail > div:first-child {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
}

.product-card {
  border-radius: 1.8rem;
  overflow: hidden;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.glass-shimmer {
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.5) 42%, transparent 75%);
  background-size: 250% 100%;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 220% 0;
  }
}

#page-home #home-featured-kicker,
#page-home #home-featured-title {
  color: var(--brand-950) !important;
}

/* Story section */
.home-story-media {
  padding-right: 0;
}

.home-story-image-wrap {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(203, 213, 225, 0.7);
}

.home-story-stat-card {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 16rem;
  height: 16rem;
  padding: 2rem;
  border-radius: 30px;
  background: var(--brand-950);
  color: #fff;
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#page-home .home-story-stat-card {
  display: none !important;
}

.home-story-stat-card p {
  margin: 0;
}

.home-story-features {
  align-items: start;
}

.home-story-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.home-story-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-story-feature-icon svg {
  width: 24px;
  height: 24px;
  color: #334155;
  stroke-width: 2;
}

.home-story-feature-title {
  margin: 0 0 0.35rem;
  color: var(--brand-950);
  font-family: "Cormorant Garamond", "Noto Sans Georgian", serif;
  font-size: 1.9rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.home-story-feature-text {
  margin: 0;
  color: rgba(51, 65, 85, 0.68);
  font-size: 0.98rem;
  line-height: 1.35;
  max-width: 260px;
}

.home-story-btn {
  min-width: 0;
  justify-content: center;
  border-color: rgba(148, 163, 184, 0.52) !important;
  border-width: 2px !important;
  padding: 0.95rem 2.4rem !important;
}

/* Shop filters */
.filter-btn {
  border-radius: 999px !important;
  padding: 0.75rem 1.8rem !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
  color: rgba(15, 23, 42, 0.65) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.72rem;
}

.filter-btn.active {
  background: var(--brand-950) !important;
  color: #fff !important;
  border-color: var(--brand-950) !important;
}

/* About */
.about-badge {
  position: absolute;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.about-badge-left {
  left: -2.5rem;
  top: -2.5rem;
  background: #a1a1aa;
}

.about-badge-right {
  right: -2.5rem;
  bottom: -2.5rem;
  border-radius: 2rem;
  background: var(--brand-950);
}

.about-value-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  min-height: 280px;
  box-shadow: 0 24px 50px -34px rgba(2, 6, 23, 0.28);
  transition: background-color 0.3s ease;
}

.about-value-card:hover {
  background: #ffffff;
}

.about-value-card svg {
  width: 2.75rem;
  height: 2.75rem;
  color: #475569;
  margin-bottom: 1.35rem;
}

.about-value-card h3 {
  font-size: clamp(2.05rem, 3vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin-bottom: 0.75rem;
}

.about-value-card p {
  font-size: 0.99rem;
  line-height: 1.45;
  color: rgba(71, 85, 105, 0.78);
}

/* Contact */
.contact-info-main {
  min-height: 260px;
}

#page-contact input,
#page-contact textarea {
  border: 1px solid #e2e8f0 !important;
  background: rgba(248, 250, 252, 0.72) !important;
  color: var(--brand-950);
}

#page-contact input::placeholder,
#page-contact textarea::placeholder {
  color: rgba(51, 65, 85, 0.55);
}

#page-contact h1,
#page-contact h2,
#page-contact h3,
#page-contact h4,
#page-about h1,
#page-about h2,
#page-home h1,
#page-home h2,
#page-home h3,
#page-shop h1,
#page-cart h1 {
  letter-spacing: -0.015em;
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
}

.product-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.12;
}

.product-detail-title {
  font-size: clamp(2.3rem, 6.5vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  max-width: 100%;
}

.product-detail-meta {
  font-size: clamp(1.8rem, 3vw, 2.12rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  overflow-wrap: normal;
  word-break: keep-all;
}

.product-detail-description {
  font-size: clamp(0.92rem, 1.02vw, 1.01rem);
  max-width: 100%;
  line-height: 1.42;
  letter-spacing: 0.005em;
  overflow-wrap: normal;
  word-break: keep-all;
}

.product-detail-spec-title {
  font-size: 0.66rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
}

.product-detail-spec-text {
  font-size: 0.93rem;
  line-height: 1.38;
  overflow-wrap: normal;
  word-break: keep-all;
}

/* Designer */
.designer-main-card {
  border-radius: 30px;
  padding: 1.7rem;
}

.designer-stage {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  touch-action: none;
}

.designer-photo-wrap,
.designer-photo,
.designer-draw-canvas,
.designer-text-layer {
  position: absolute;
  inset: 0;
}

.designer-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform-origin: center center;
  cursor: grab;
}

.designer-draw-canvas {
  touch-action: none;
  z-index: 2;
}

.designer-text-layer {
  z-index: 3;
  touch-action: none;
}

.designer-safe-zone {
  position: absolute;
  inset: 6.5%;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 16px;
  pointer-events: none;
  z-index: 4;
}

.designer-mode-switch {
  background: #fff;
  border: 1px solid #dbe2ec;
  border-radius: 24px;
  padding: 0.35rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  box-shadow: var(--shadow-soft);
}

.designer-mode-btn {
  border: 0;
  background: transparent;
  color: var(--brand-950);
  border-radius: 18px;
  height: 64px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.designer-mode-btn.active {
  background: var(--brand-950);
  color: #fff;
}

.designer-side-card {
  border-radius: 30px;
  padding: 1.5rem;
}

.designer-panel-title {
  color: var(--brand-950);
  font-size: 1.45rem;
  font-family: "Cormorant Garamond", "Noto Sans Georgian", serif;
  font-weight: 700;
}

.designer-panel-block.hidden {
  display: none !important;
}

.designer-control-row {
  display: grid;
  gap: 0.45rem;
}

.designer-control-row label {
  color: rgba(51, 65, 85, 0.8);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.designer-control-row input[type="range"] {
  width: 100%;
}

.designer-text-input {
  width: 100%;
  border: 1px solid #dbe2ec;
  border-radius: 12px;
  min-height: 42px;
  padding: 0.5rem 0.7rem;
  color: var(--brand-950);
  background: #fff;
}

.designer-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  border: 0;
  background: var(--brand-950);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.designer-status-pill {
  display: block;
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #1e293b;
  font-size: 0.73rem;
  text-align: center;
  font-weight: 700;
}

.designer-tool-btn.active {
  background: var(--brand-950);
  color: #fff;
  border-color: var(--brand-950);
}

.designer-side-empty {
  min-height: 260px;
  border-radius: 22px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: rgba(51, 65, 85, 0.48);
}

.designer-side-icon {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.designer-quick-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.designer-mini-btn,
.designer-icon-btn {
  border: 1px solid #dbe2ec;
  background: #fff;
  color: var(--brand-950);
  border-radius: 14px;
  min-height: 40px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.designer-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 1.2rem;
}

.designer-mini-btn:hover,
.designer-icon-btn:hover {
  background: #f1f5f9;
}

.designer-text-item {
  position: absolute;
  left: 100px;
  top: 120px;
  color: var(--brand-950);
  font-family: "Cormorant Garamond", "Noto Sans Georgian", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  cursor: move;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  white-space: pre-wrap;
  max-width: calc(100% - 20px);
  word-break: break-word;
}

.designer-text-item.selected {
  outline: 2px dashed rgba(51, 65, 85, 0.75);
  outline-offset: 4px;
}

.designer-text-item.locked {
  cursor: not-allowed;
  opacity: 0.75;
}

/* Product detail / cart */
#page-product #product-detail > div:first-child {
  border-radius: var(--radius-2xl);
}

#page-product #product-detail .grid.grid-cols-2 > div {
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid #e2e8f0;
}

#page-cart .bg-wine-900,
#page-cart .bg-wine-950 {
  background: var(--brand-950) !important;
  color: #fff !important;
  border-radius: var(--radius-xl);
}

#page-cart .bg-wine-900 .text-cream-200,
#page-cart .bg-wine-900 .text-cream-200\/60,
#page-cart .bg-wine-900 .text-cream-50,
#page-cart .bg-wine-950 .text-white\/70,
#page-cart .bg-wine-950 .text-white\/60 {
  color: rgba(255, 255, 255, 0.82) !important;
}

#page-cart .bg-wine-900 .font-display.text-3xl.font-bold,
#page-cart .bg-wine-900 .font-display.text-4xl.font-bold,
#page-cart .bg-wine-950 .font-display.text-5xl.font-bold {
  color: #fff !important;
}

#page-contact h1 {
  font-size: clamp(2.45rem, 6.2vw, 5.2rem);
  line-height: 1.06;
}

#page-contact h1 span {
  white-space: nowrap;
}

/* Toast */
#toast-container > div {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-soft);
}

@keyframes slideInRight {
  from {
    transform: translateX(120%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

.toast-enter {
  animation: slideInRight 0.3s ease forwards;
}

.toast-exit {
  animation: slideOutRight 0.3s ease forwards;
}

/* Footer */
.matsi-footer {
  background: var(--brand-950) !important;
  color: #fff;
  margin-top: 6rem;
}

.matsi-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 2.4rem;
}

.matsi-footer-title {
  color: #a1a1aa;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.matsi-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.matsi-footer-links a,
.matsi-footer-links span,
.matsi-footer-lead,
.matsi-footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}

#footer-created-by a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

#footer-created-by a:hover {
  color: #ffffff;
}

.matsi-footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.matsi-footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}

.matsi-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.4rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Admin helpers */
.admin-editable-target {
  outline: 1px dashed rgba(51, 65, 85, 0.36);
  outline-offset: 2px;
  cursor: text;
}

.admin-selected-target {
  outline: 2px solid rgba(51, 65, 85, 0.95) !important;
  outline-offset: 2px;
}

.admin-product-item {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-product-item.active {
  border-color: rgba(51, 65, 85, 0.7);
  background: rgba(226, 232, 240, 0.5);
}

/* Responsive */
@media (max-width: 1280px) {
  .hero-bottle-wrap {
    height: 560px;
  }

  .home-floating-tag-top {
    right: -6%;
  }

  .home-floating-tag-bottom {
    left: -8%;
  }
}

@media (max-width: 1024px) {
  .home-story-media {
    padding-right: 0;
  }

  .home-story-stat-card {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 1rem;
  }

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

  .home-story-feature-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  #main-nav {
    background: rgba(255, 255, 255, 0.92) !important;
  }

  .home-hero {
    min-height: 780px;
  }

  .home-swirl {
    display: none;
  }

  .home-story-feature-title {
    font-size: 1.45rem;
  }

  .home-story-btn {
    width: 100%;
    min-width: 0;
  }

  .home-story-stat-card {
    display: none;
  }

  #hero-title {
    font-size: clamp(3.4rem, 18vw, 5.4rem) !important;
  }

  #hero-subtitle {
    font-size: 1rem !important;
  }

  .product-detail-title {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.08;
  }

  .product-detail-meta {
    font-size: clamp(1.42rem, 7.2vw, 1.8rem);
  }

  .product-detail-description {
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .product-detail-spec-title {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .product-detail-spec-text {
    font-size: 0.85rem;
    line-height: 1.32;
  }

  .premium-button-primary,
  .premium-button-outline,
  .btn-wine,
  .filter-btn {
    font-size: 0.88rem !important;
    line-height: 1.2;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .designer-mode-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .designer-main-card {
    padding: 1rem;
  }

  .designer-stage {
    border-radius: 24px;
  }

  .designer-side-card {
    padding: 1rem;
  }

  #toast-container {
    right: 12px !important;
    left: 12px;
  }

  #toast-container > div {
    max-width: 100% !important;
  }

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

  .matsi-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-badge {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .about-badge {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual-entry,
  .home-floating-tag-enter-right,
  .home-floating-tag-enter-left,
  .home-scroll-indicator,
  .home-swirl path {
    animation: none !important;
  }

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

/* ============================================================
   OUR WINES — Fantini-style pinned scroll showcase (mw-*)
   თბილი კრემისფერი პალიტრა, საიტის tailwind-კონფიგისგან დამოუკიდებელი
   ============================================================ */
#mw-showcase {
  --mw-cream: #f8f1e8;
  --mw-ink: #4a3a33;
  --mw-terra: #a85a3b;
  --mw-terra-soft: #c08a6e;
  --mw-burgundy: #7c2e35;
  --mw-muted: #9c8b7c;
  --mw-body: #7a6a5c;
  --mw-serif: 'Cormorant Garamond', 'Noto Sans Georgian', Georgia, serif;
  --mw-sans: 'Manrope', 'Inter', 'Noto Sans Georgian', sans-serif;
  --mw-accent: var(--mw-burgundy);
  position: relative;
  height: 300vh;
  background: var(--mw-cream);
}
.mw-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.mw-contour {
  position: absolute;
  inset: -4% 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.mw-contour svg { width: 100%; height: 100%; }

.mw-illus {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(58vw, 820px);
  aspect-ratio: 900 / 760;
  transform: translate(-57%, -52%) translateY(var(--mw-par, 0px));
  z-index: 1;
  opacity: 0.85;
  pointer-events: none;
  will-change: transform;
}
.mw-illus svg { width: 100%; height: 100%; display: block; }
.mw-illus .mw-illus-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.22,1,0.36,1);
  transform: rotate(4deg) scale(0.97);
}
.mw-illus .mw-illus-item.is-active {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* left menu */
.mw-menu {
  position: absolute;
  left: clamp(24px, 6.5vw, 110px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  max-width: 240px;
}
.mw-menu-title {
  font-family: var(--mw-serif);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  color: var(--mw-terra);
  margin-bottom: 40px;
}
.mw-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.mw-menu-item {
  position: relative;
  display: block;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--mw-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  color: var(--mw-muted);
  opacity: 0.5;
  cursor: pointer;
  padding: 2px 0;
  transition: opacity 0.5s, color 0.5s;
}
.mw-menu-item:hover { opacity: 0.85; }
.mw-menu-item.is-active { color: #5b4436; opacity: 1; }
.mw-menu-item.is-active::before {
  content: '';
  position: absolute;
  right: calc(100% + 26px);
  top: 50%;
  width: 40vw;
  height: 1px;
  background: color-mix(in srgb, var(--mw-accent) 55%, transparent);
}

/* bottle */
.mw-bottle-wrap {
  position: absolute;
  left: 44%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: min(80vh, 80svh);
  aspect-ratio: 433 / 577;
  z-index: 4;
}
.mw-bottle-stack { position: absolute; inset: 0; }
.mw-bottle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 44px 54px rgba(70,25,20,0.22));
  user-select: none;
  will-change: opacity, transform;
}
.mw-cart-btn {
  margin-top: 34px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--mw-accent) 55%, transparent);
  background: color-mix(in srgb, var(--mw-accent) 92%, black 0%);
  color: #fbf3ea;
  font-family: var(--mw-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s, background 0.4s, opacity 0.8s ease 0.46s;
  box-shadow: 0 14px 30px rgba(90,40,30,0.22);
  opacity: 0;
}
.mw-panel-item.is-active .mw-cart-btn { opacity: 1; }
.mw-cart-btn::before {
  content: '';
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'><path stroke-linecap='round' stroke-linejoin='round' d='M16 11V7a4 4 0 0 0-8 0v4M5 9h14l1 12H4L5 9z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.8' viewBox='0 0 24 24'><path stroke-linecap='round' stroke-linejoin='round' d='M16 11V7a4 4 0 0 0-8 0v4M5 9h14l1 12H4L5 9z'/></svg>") center/contain no-repeat;
  flex: none;
}
.mw-cart-btn:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 20px 40px rgba(90,40,30,0.3); }

/* right panel */
.mw-panel {
  position: absolute;
  right: clamp(24px, 6vw, 110px);
  top: 50%;
  transform: translateY(-50%);
  width: min(40vw, 540px);
  z-index: 6;
}
.mw-panel-item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.mw-panel-item.is-active { opacity: 1; pointer-events: auto; position: relative; top: auto; transform: none; }
.mw-title {
  font-family: var(--mw-serif);
  font-weight: 500;
  font-size: clamp(52px, 7.2vw, 112px);
  line-height: 0.98;
  color: var(--mw-accent);
  margin: 0;
}
.mw-title .mw-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.mw-title .mw-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.85s cubic-bezier(0.22,1,0.36,1);
}
.mw-panel-item.is-active .mw-title .mw-line > span { transform: translateY(0); }
.mw-region {
  font-family: var(--mw-serif);
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 500;
  color: #6b4f3f;
  margin: 30px 0 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease 0.25s, transform 0.8s cubic-bezier(0.22,1,0.36,1) 0.25s;
}
.mw-desc {
  font-family: var(--mw-sans);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.72;
  color: var(--mw-body);
  margin: 16px 0 0;
  max-width: 46ch;
  font-weight: 300;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease 0.36s, transform 0.8s cubic-bezier(0.22,1,0.36,1) 0.36s;
}
.mw-panel-item.is-active .mw-region,
.mw-panel-item.is-active .mw-desc { opacity: 1; transform: translateY(0); }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  #mw-showcase { height: 300vh; }
  .mw-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 88px 22px 96px;
  }
  .mw-illus { width: 130vw; left: 50%; top: 30%; transform: translate(-50%, -50%); opacity: 0.55; }
  .mw-menu {
    position: absolute; left: 22px; right: 22px; top: auto; bottom: 18px;
    transform: none; max-width: none;
  }
  .mw-menu-title { display: none; }
  .mw-menu ul { flex-direction: row; justify-content: space-between; gap: 10px; }
  .mw-menu-item { font-size: 11.5px; max-width: 30vw; }
  .mw-menu-item.is-active::before { right: auto; left: 0; top: calc(100% + 5px); width: 100%; }
  .mw-bottle-wrap {
    position: relative; left: auto; top: auto; transform: none;
    height: min(42vh, 42svh); aspect-ratio: 433 / 577; flex: none;
  }
  .mw-cart-btn { margin-top: 26px; font-size: 12px; padding: 14px 26px; }
  .mw-cart-btn:hover { transform: scale(1.04) translateY(-2px); }
  .mw-panel {
    position: relative; right: auto; top: auto; transform: none;
    width: 100%; margin-top: 34px; flex: 1; min-height: 0;
  }
  .mw-panel-item { position: relative; top: auto; transform: none; }
  .mw-panel-item:not(.is-active) { display: none; }
  .mw-title { font-size: clamp(40px, 11vw, 60px); }
  .mw-region { margin-top: 14px; font-size: 17px; }
  .mw-desc { font-size: 14px; line-height: 1.62; }
}

@media (prefers-reduced-motion: reduce) {
  .mw-illus .mw-illus-item,
  .mw-title .mw-line > span,
  .mw-region, .mw-desc { transition: opacity 0.3s ease; transform: none; }
  .mw-title .mw-line > span { transform: none; }
}


/* ============================================================
   HERO — 2026 რედიზაინი (თბილი კრემი + ოქროს ხვეული + ვაზი)
   ============================================================ */
.home-hero-vines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: rgba(150, 126, 88, 0.20);
  overflow: hidden;
}
.home-hero-vines svg { width: 100%; height: 100%; display: block; }

#hero-title .hero-title-second {
  font-style: normal;
  color: var(--brand-950) !important;
  display: inline-block;
}

.nav-vine {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 92px;
  transform: translateX(-50%);
  opacity: 0.75;
  pointer-events: none;
}
.nav-vine svg { width: 100%; height: auto; display: block; overflow: visible; }

.hero-swirl {
  position: absolute;
  inset: -6% -4% auto -4%;
  width: 108%;
  height: auto;
  aspect-ratio: 600 / 620;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}
.hero-swirl-line path {
  fill: none;
  stroke-width: 1.3;
  opacity: 0.75;
  stroke-dasharray: var(--swirl-len, 3000);
  stroke-dashoffset: var(--swirl-len, 3000);
  animation: swirlDraw 2.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}
.hero-swirl-line path:nth-child(2) { animation-delay: 0.5s; }
.hero-swirl-line path:nth-child(3) { animation-delay: 0.75s; }
@keyframes swirlDraw { to { stroke-dashoffset: 0; } }

.hero-swirl-dust circle {
  opacity: 0;
  animation: dustIn 1.1s ease-out forwards;
}
.hero-swirl-dust circle:nth-child(3n) { animation-delay: 1.5s; }
.hero-swirl-dust circle:nth-child(3n+1) { animation-delay: 1.75s; }
.hero-swirl-dust circle:nth-child(3n+2) { animation-delay: 2s; }
@keyframes dustIn { from { opacity: 0; transform: scale(0.4); } to { opacity: 0.55; transform: scale(1); } }

.hero-swirl-grapes {
  opacity: 0;
  animation: dustIn 1s ease-out 2.1s forwards;
  transform-origin: 490px 540px;
}

/* ბოთლი კრემისფერ ფონზე — რბილი, თბილი ჩრდილი */
.hero-bottle-image {
  filter: drop-shadow(0 34px 42px rgba(70, 50, 26, 0.22));
}

/* მოქაფის მიხედვით მცურავი ტეგები არ ჩანს */
.home-floating-tag { display: none !important; }

/* SCROLL ინდიკატორი */
.home-scroll-indicator span { color: var(--brand-500) !important; }
.home-scroll-indicator div { background: linear-gradient(180deg, var(--gold), transparent) !important; }

@media (prefers-reduced-motion: reduce) {
  .hero-swirl-line path,
  .hero-swirl-dust circle,
  .hero-swirl-grapes { animation: none !important; stroke-dashoffset: 0 !important; opacity: 0.55; }
}


/* ============================================================
   მობილური დახვეწა — 2026
   ============================================================ */

/* ჰორიზონტალური გადაჭიმვის დაზღვევა.
   მნიშვნელოვანი: html/body-ზე overflow-ის დაყენება ტეხს გვერდის სქროლს და
   showcase-ის position:sticky-ს — ამიტომ შეზღუდვა მხოლოდ სექციებზეა. */
#page-home, #page-shop, #page-product, #page-about, #page-contact, #page-designer, #page-cart,
footer { overflow-x: clip; }
img, svg, video { max-width: 100%; }

@media (max-width: 900px) {
  .nav-vine { display: none; }
}

@media (max-width: 1024px) {
  .home-hero .grid.lg\:grid-cols-2 { gap: 2rem; }
}

@media (max-width: 768px) {
  /* ჰერო — ვერტიკალური წყობა, ბოთლი ტექსტის ქვემოთ */
  .home-hero {
    min-height: 100svh;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }
  .home-hero .grid.lg\:grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .home-hero-visual {
    min-height: 0;
    order: 2;
    width: 100%;
  }
  .hero-bottle-wrap {
    width: min(280px, 70vw);
    height: min(340px, 38svh);
  }
  .hero-bottle-image { height: 100%; }
  .hero-swirl {
    inset: -12% -18% auto -18%;
    width: 136%;
    opacity: 0.8;
  }
  .home-hero-vines { opacity: 0.7; }
  #hero-title {
    font-size: clamp(2.7rem, 14.5vw, 4.2rem) !important;
    margin-bottom: 0.85rem !important;
  }
  #home-hero-kicker { margin-bottom: 1rem !important; font-size: 0.66rem !important; }
  #hero-subtitle { margin-bottom: 1.35rem !important; font-size: 0.95rem !important; }
  /* ღილაკები — თანაბარი სიგანე, ორ სვეტად */
  .home-hero .flex.flex-wrap.gap-5 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem !important;
    max-width: 380px;
    margin-inline: auto;
  }
  .home-hero .flex.flex-wrap.gap-5 > button { width: 100%; }
  .home-hero .flex.flex-wrap.gap-5 > button {
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    white-space: nowrap;
  }
  .premium-button-primary,
  .premium-button-outline {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    min-height: 48px;
  }
  .home-scroll-indicator { display: none; }
  .home-blob { display: none; }
}

/* დაბალი მობილური ეკრანები — ჰერო მთლიანად ეტევა */
@media (max-width: 768px) and (max-height: 700px) {
  .home-hero {
    padding-top: 3.6rem;
    padding-bottom: 1.6rem;
  }
  #home-hero-kicker { margin-bottom: 0.6rem !important; }
  #hero-title {
    font-size: clamp(2.2rem, 12vw, 3.2rem) !important;
    margin-bottom: 0.6rem !important;
  }
  #hero-subtitle { margin-bottom: 1rem !important; font-size: 0.9rem !important; }
  .hero-bottle-wrap {
    width: min(240px, 62vw);
    height: min(270px, 32svh);
  }
}

/* ---- Our wines showcase — მობილური (flex სვეტი, გადაფარვის გარეშე) ---- */
@media (max-width: 900px) {
  #mw-showcase { height: 300svh; }

  .mw-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100svh;
    padding: 74px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    gap: 0;
  }

  .mw-illus { opacity: 0.38; }

  /* 1 — ბოთლი */
  .mw-bottle-wrap {
    order: 1;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    /* ბოთლი იკავებს ყველა დარჩენილ სივრცეს — ტექსტი არასდროს გადმოდის */
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 140px;
    aspect-ratio: auto;
    margin: 0;
  }
  .mw-bottle { filter: drop-shadow(0 22px 28px rgba(70, 50, 26, 0.22)); }

  /* 2 — ტექსტის პანელი */
  .mw-panel {
    order: 2;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    flex: 0 0 auto;
    min-height: 0;
    margin-top: 12px;
    display: flex;
  }
  .mw-panel-item {
    position: relative;
    top: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
  }
  .mw-panel-item:not(.is-active) { display: none; }

  /* min-height 3 ხაზზე — სამივე ღვინოს ერთი და იგივე სიმაღლე აქვს,
     ამიტომ ბოთლი გადასვლისას არ ხტება */
  .mw-title { font-size: clamp(28px, 8.4vw, 42px); line-height: 1.02; min-height: 3.6em; }
  .mw-region { margin-top: 8px; font-size: 15px; }
  .mw-desc {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    flex: 0 1 auto;
  }
  .mw-cart-btn {
    margin-top: 16px;
    align-self: flex-start;
    flex: none;
    min-height: 46px;
    font-size: 12px;
    padding: 12px 24px;
  }
  .mw-cart-btn:hover { transform: scale(1.04) translateY(-2px); }

  /* 3 — ღვინოების არჩევანი (ნაკადში, აბსოლუტურის ნაცვლად) */
  .mw-menu {
    order: 3;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    flex: 0 0 auto;
    max-width: none;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(150, 126, 88, 0.18);
  }
  .mw-menu-title { display: none; }
  .mw-menu ul { flex-direction: row; justify-content: space-between; gap: 8px; }
  .mw-menu-item {
    font-size: 10.5px;
    line-height: 1.25;
    letter-spacing: 0.04em;
    max-width: 32vw;
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 0;
  }
  .mw-menu-item.is-active::before {
    right: auto;
    left: 0;
    top: calc(100% - 2px);
    width: 100%;
  }
}

/* ძალიან დაბალი ეკრანები — ტექსტი კიდევ უფრო კომპაქტური */
@media (max-width: 900px) and (max-height: 700px) {
  .mw-title { font-size: clamp(24px, 7vw, 32px); }
  .mw-desc { -webkit-line-clamp: 3; font-size: 12.5px; }
  .mw-region { font-size: 14px; }
}

@media (max-width: 380px) {
  .mw-menu-item { font-size: 9.5px; }
  .mw-title { font-size: clamp(26px, 8vw, 34px); }
}

/* ---- საერთო მობილური ერგონომიკა ---- */
@media (max-width: 768px) {
  #mobile-menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  #mobile-menu-btn { min-width: 44px; min-height: 44px; }
  nav#main-nav button { min-height: 44px; }
  .matsi-footer-grid { gap: 1.75rem; }
  .product-card { touch-action: manipulation; }
}

/* iOS-ზე მასშტაბირების თავიდან აცილება ფორმებში */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
}
