@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Georgian:wght@400;600;700&family=Noto+Sans+Georgian:wght@300;400;500;600&family=Playfair+Display:wght@400;700&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-5) 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled,
.navbar--static {
  background: var(--color-gray-100);
  box-shadow: var(--shadow-sm);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition);
}
.navbar.scrolled .navbar__logo, .navbar--static .navbar__logo { color: var(--color-primary); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.navbar__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.navbar.scrolled .navbar__links a, .navbar--static .navbar__links a { color: var(--color-text-muted); }
.navbar__links a:hover { color: var(--color-accent); }

.lang-switcher {
  display: flex;
  gap: var(--space-1);
  margin-left: var(--space-6);
  padding-left: var(--space-6);
  border-left: 1px solid rgba(255,255,255,0.25);
}
.navbar.scrolled .lang-switcher, .navbar--static .lang-switcher { border-color: var(--color-border); }
.lang-switcher a {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--border-radius-sm);
  color: rgba(255,255,255,0.6) !important;
  transition: all var(--transition);
}
.lang-switcher a:hover,
.lang-switcher a.active {
  background: var(--color-accent);
  color: var(--color-white) !important;
}
.navbar.scrolled .lang-switcher a, .navbar--static .lang-switcher a { color: var(--color-text-muted) !important; }
.navbar.scrolled .lang-switcher a.active, .navbar--static .lang-switcher a.active {
  background: var(--color-accent);
  color: var(--color-white) !important;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
}
.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 250ms ease, opacity 200ms ease;
}
.navbar.scrolled .navbar__burger span, .navbar--static .navbar__burger span { background: var(--color-primary); }

/* ── Hero — minimal text only ── */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-primary);
  padding: 120px var(--space-6) var(--space-20);
}
.hero__content { max-width: 700px; }

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}
.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-10);
  line-height: 1.7;
}
.hero__cta {
  display: inline-block;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 14px 36px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.hero__cta:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* ── Sections ── */
.section { padding: var(--space-24) 0; }
.section--soft { background: var(--color-bg-soft); }

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.section__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

/* ── Product Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ── Product Card ── */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card__image {
  aspect-ratio: 1 / 1;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card__image img { transform: scale(1.04); }

.product-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.product-card__tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
}
.product-card__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-soft);
}
.product-card__price-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.product-card__price-size {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.product-card__stock {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.product-card__stock::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: var(--space-3) var(--space-6);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--whatsapp {
  background: #25D366;
  color: var(--color-white);
  width: 100%;
  padding: var(--space-3) var(--space-6);
  margin-top: var(--space-4);
}
.btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--coming-soon {
  background: var(--color-gray-100);
  color: var(--color-coming-soon);
  cursor: default;
  font-size: 0.82rem;
}

/* ── Payment ── */
.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-white);
  font-weight: 500;
  font-size: 0.92rem;
  min-width: 170px;
  justify-content: center;
}
.payment-method--active { border-color: #25D366; }
.payment-method--soon   { color: var(--color-coming-soon); }
.payment-method__badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--color-gray-100);
  color: var(--color-coming-soon);
}

/* ── About ── */
.about-inner {
  max-width: var(--max-width-text);
  margin: 0 auto;
  text-align: center;
}
.about-inner p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* ── Footer ── */
.footer {
  background: var(--color-gray-900);
  color: rgba(255,255,255,0.55);
  padding: var(--space-10) 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
}
.footer__copy { font-size: 0.82rem; }
.footer__whatsapp {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: #25D366;
  font-weight: 500;
  font-size: 0.88rem;
  transition: opacity var(--transition);
}
.footer__whatsapp:hover { opacity: 0.75; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  /* მობილურზე nav links იმალება, ენის switcher რჩება */
  .navbar__links { display: none; }
  .navbar__links {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-white);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    gap: var(--space-4);
    z-index: 99;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 250ms ease, transform 250ms ease;
  }
  .navbar__links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .navbar__links.open a { color: var(--color-text-muted) !important; }
  .navbar__links .lang-switcher { display: none; }
  .navbar__burger { display: flex; }
  .navbar__lang-mobile { display: flex; }
  .products-grid { grid-template-columns: 1fr; }
  .payment-methods { flex-direction: column; align-items: stretch; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ── Product Page ── */
.product-page {
  padding-top: 100px;
  padding-bottom: var(--space-12);
}

.product-page__back {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  transition: color var(--transition);
}
.product-page__back:hover { color: var(--color-primary); }

.product-page__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: start;
}

.product-page__image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-gray-100);
  aspect-ratio: 1 / 1;
  position: sticky;
  top: 100px;
}
.product-page__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.product-page__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-top: var(--space-4);
}

.product-page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.product-page__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.product-page__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
}

.product-page__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.product-page__price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.product-page__price-size {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .product-page__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .product-page__image { position: static; }
}

/* ── Product Benefits ── */
.product-page__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 0;
  list-style: none;
}

.product-page__benefit {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.95rem;
  color: var(--color-text);
}

.benefit-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--color-accent-light);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── Product card as link ── */
a.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-card__cta {
  padding: var(--space-3) var(--space-6) var(--space-5);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition);
}

.product-card:hover .product-card__cta {
  text-decoration: underline;
}

/* ── Product sections (below the fold) ── */
.product-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.product-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-8);
}

.product-section__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent-light);
}

.product-section__text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

@media (max-width: 640px) {
  .product-sections { grid-template-columns: 1fr; }
}

/* ── Gallery ── */
.gallery {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-3);
  position: sticky;
  top: 100px;
}

.gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
  max-height: 520px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.gallery__thumbs::-webkit-scrollbar { display: none; }

.gallery__thumb {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition), opacity var(--transition);
  opacity: 0.5;
  flex-shrink: 0;
  display: block;
}

.gallery__thumb:hover { opacity: 0.8; }
.gallery__thumb.active {
  border-color: var(--color-primary);
  opacity: 1;
}

.gallery__main {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-gray-100);
  aspect-ratio: 1 / 1;
  width: 100%;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 200ms ease;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
    position: static;
  }
  .gallery__thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .gallery__thumb { width: 64px; height: 64px; }
}

/* ── Logo ── */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.navbar__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* ── Hero logo ── */
.hero__logo {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto var(--space-6);
  display: block;
}

/* ── How to Order ── */
.shipping-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.shipping-step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: var(--space-8);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
}

.shipping-step__icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-4);
}

.shipping-step__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.shipping-step__text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.shipping-step__arrow {
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .shipping-step__arrow { transform: rotate(90deg); }
}



/* ── Stock badge ── */
.product-card__stock-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge--in {
  background: #e8f5ee;
  color: var(--color-primary);
}

.badge--out {
  background: #fce8e8;
  color: #c0392b;
}

/* ── Footer socials ── */
.footer__socials {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer__social:hover {
  background: rgba(255,255,255,0.18);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer__social--whatsapp:hover { background: #25D366; color: var(--color-white); }

@media (max-width: 640px) {
  .footer__socials { justify-content: center; }
}

/* ── 404 Page ── */
.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--space-6) var(--space-24);
}

.notfound__inner { max-width: 480px; }

.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent-light);
  margin-bottom: var(--space-6);
}

.notfound__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.notfound__text {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  line-height: 1.7;
}


/* ── Mobile lang dropdown ── */
.navbar__lang-mobile {
  display: none;
  position: relative;
}

.navbar__lang-mobile__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--border-radius-sm);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition);
}

.navbar.scrolled .navbar__lang-mobile__btn,
.navbar--static .navbar__lang-mobile__btn {
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

.navbar__lang-mobile__btn::after {
  content: '';
}

.navbar__lang-mobile__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-width: 130px;
  z-index: 200;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.navbar__lang-mobile__dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar__lang-mobile__dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted) !important;
  transition: background var(--transition);
  text-decoration: none;
}

.navbar__lang-mobile__dropdown a:hover {
  background: var(--color-bg-soft);
  color: var(--color-primary) !important;
}

.navbar__lang-mobile__dropdown a.active {
  color: var(--color-primary) !important;
  font-weight: 700;
  background: var(--color-gray-100);
}

@media (max-width: 640px) {
  .navbar__lang-mobile { display: block; }
}
