/* ── Variables ─────────────────────────────────────────────── */
:root {
  --black:   #0a0a0a;
  --white:   #ffffff;
  --cream:   #f9f6f2;
  --cream2:  #f0ece6;
  --gold:    #c9a96e;
  --gold-dk: #a8864f;
  --gray:    #6b6b6b;
  --gray-lt: #d4d0cb;
  --border:  #e8e3dc;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius: 4px;
  --shadow: 0 4px 24px rgba(10,10,10,.08);
  --shadow-lg: 0 12px 48px rgba(10,10,10,.14);

  --transition: .3s cubic-bezier(.4,0,.2,1);

  --header-h: 72px;
  --section-pad: clamp(60px, 8vw, 120px);
  --container: 1280px;
  --container-pad: clamp(20px, 5vw, 60px);
}

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

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--gray); line-height: 1.8; }

/* ── Layout helpers ────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: var(--section-pad) 0; }
.section--cream { background: var(--cream); }
.section--black { background: var(--black); color: var(--white); }

.section-header { text-align: center; margin-bottom: clamp(32px, 5vw, 64px); }
.section-header p {
  color: var(--gray);
  margin-top: 12px;
  font-size: 1.05rem;
}
.section-header--light p { color: rgba(255,255,255,.65); }
.section-header--light h2 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn--primary {
  background: var(--black);
  color: var(--white);
}
.btn--primary:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--outline {
  border: 2px solid var(--black);
  color: var(--black);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover {
  background: var(--gold-dk);
  transform: translateY(-2px);
}
.btn--outline-white {
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* ── Header ────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 20px rgba(10,10,10,.08);
  backdrop-filter: blur(8px);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__logo img {
  height: 44px;
  width: auto;
}
.header__logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: .05em;
  font-weight: 700;
}
.header.scrolled .header__logo-text { color: var(--black); }
.header:not(.scrolled) .header__logo-text { color: var(--white); }
.header:not(.scrolled) .header__logo img { filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.header:not(.scrolled) .nav__link { color: rgba(255,255,255,.9); }
.header:not(.scrolled) .nav__link:hover { color: var(--white); }
.header.scrolled .nav__link { color: var(--black); }

.nav__lang {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  opacity: .7;
  transition: opacity var(--transition);
}
.nav__lang:hover { opacity: 1; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.burger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: var(--transition);
}
.header:not(.scrolled) .burger { color: var(--white); }
.header.scrolled .burger { color: var(--black); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--black);
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
}
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 640px;
}
.hero__content .eyebrow { color: var(--gold); }
.hero__content h1 { color: var(--white); margin-bottom: 20px; }
.hero__content p  { color: rgba(255,255,255,.8); font-size: 1.15rem; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
.hero__scroll svg { opacity: .6; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Category tiles ────────────────────────────────────────── */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  display: block;
}
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.75) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}
.cat-tile__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
}
.cat-tile__link {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cat-tile__link svg { transition: transform var(--transition); }
.cat-tile:hover .cat-tile__link svg { transform: translateX(4px); }

/* ── Product grid ──────────────────────────────────────────── */
.products__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 22px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  color: var(--gray);
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--black);
  color: var(--black);
  background: var(--black);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream2);
}
.product-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__body { padding: 20px; }
.product-card__cat {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}
.product-card__desc {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.product-card__link {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.product-card__link:hover { color: var(--gold); }
.product-card__link svg { transition: transform var(--transition); }
.product-card__link:hover svg { transform: translateX(4px); }

/* ── Product detail ────────────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.product-gallery__main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream2);
  margin-bottom: 12px;
  cursor: zoom-in;
}
.product-gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.product-gallery__thumbs::-webkit-scrollbar { height: 3px; }
.product-gallery__thumbs::-webkit-scrollbar-thumb { background: var(--border); }
.product-thumb {
  flex-shrink: 0;
  width: 80px; height: 60px;
  border-radius: 2px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
}
.product-thumb.active { border-color: var(--gold); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info__cat {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.product-info__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}
.product-info__desc { margin-bottom: 32px; }
.product-info__fabrics {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 32px;
}
.product-info__fabrics h4 {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}
.fabric-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fabric-tag {
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .78rem;
  color: var(--gray);
}
.product-info__price {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

/* ── About section ─────────────────────────────────────────── */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__content h2 { margin-bottom: 20px; }
.about__content p  { margin-bottom: 20px; }

/* ── Fabrics section ───────────────────────────────────────── */
.fabrics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.fabric-card {
  text-align: center;
}
.fabric-card__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream2);
  margin-bottom: 10px;
}
.fabric-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.fabric-card:hover .fabric-card__img img { transform: scale(1.05); }
.fabric-card__name {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
}

/* ── CTA bar ───────────────────────────────────────────────── */
.cta-bar {
  background: var(--black);
  padding: clamp(48px, 6vw, 80px) 0;
  text-align: center;
  color: var(--white);
}
.cta-bar h2 { color: var(--white); margin-bottom: 14px; }
.cta-bar p  { color: rgba(255,255,255,.65); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-bar__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq__list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item__q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-item__q:hover { color: var(--gold); }
.faq-item__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.faq-item__icon svg { transition: transform var(--transition); }
.faq-item.open .faq-item__icon { border-color: var(--gold); background: var(--gold); }
.faq-item.open .faq-item__icon svg { transform: rotate(45deg); color: white; }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-item__a { max-height: 300px; padding-bottom: 20px; }
.faq-item__a p { color: var(--gray); }

/* ── Contact ───────────────────────────────────────────────── */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.contact__info h3 { margin-bottom: 24px; }
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact__detail-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact__detail-text strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin-bottom: 2px; }
.contact__detail-text a { font-size: 1.05rem; font-weight: 500; transition: color var(--transition); }
.contact__detail-text a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.form-group input,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font: inherit;
  font-size: .95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group--honey { display: none; }
.form-error { font-size: .82rem; color: #dc2626; display: none; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: #dc2626; }
.form-group.has-error .form-error { display: block; }
.form-msg {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .9rem;
  display: none;
}
.form-msg.success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; display: block; }
.form-msg.error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; display: block; }

/* ── Gallery grid ──────────────────────────────────────────── */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--gray);
  padding: calc(var(--header-h) + 20px) 0 20px;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb__sep { color: var(--gray-lt); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 60px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__logo img { height: 40px; filter: brightness(0) invert(1); }
.footer__logo-text { font-family: var(--font-serif); color: var(--white); font-size: 1rem; font-weight: 700; }
.footer__desc { font-size: .9rem; line-height: 1.8; max-width: 280px; }
.footer__col h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a {
  font-size: .88rem;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .82rem;
}
.footer__bottom a { transition: color var(--transition); }
.footer__bottom a:hover { color: var(--white); }

/* ── Lightbox overrides (GLightbox) ────────────────────────── */
.glightbox-clean .gclose svg { stroke: var(--white); }

/* ── Page header ───────────────────────────────────────────── */
.page-header {
  background: var(--cream);
  padding: calc(var(--header-h) + 48px) 0 48px;
  text-align: center;
}
.page-header h1 { margin-bottom: 10px; }
.page-header p { color: var(--gray); }

/* ── Pagination ────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
}
.pagination a:hover { border-color: var(--black); }
.pagination .current {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ── Utility ───────────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.hidden { display: none; }

/* ── Animations ────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile menu ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 99;
  }
  .nav.open { display: flex; }
  .nav__link { font-size: 1.1rem; color: var(--black) !important; }
  .nav__lang { color: var(--black); }
  .header:not(.scrolled) .burger { color: var(--white); }
  .header.scrolled    .burger { color: var(--black); }

  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner,
  .contact__inner,
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .categories__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .cta-bar__btns { flex-direction: column; align-items: center; }
}
