/* ── Reset & Variables ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --wood:    #8B5E3C;
  --wood-lt: #C4956A;
  --wood-dk: #5C3D1E;
  --cream:   #FAF6F0;
  --sand:    #EDE0CC;
  --text:    #2C1A0E;
  --muted:   #7A6652;
  --white:   #FFFFFF;
  --radius:  8px;
  --shadow:  0 2px 16px rgba(92,61,30,.10);
  --trans:   .22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);  font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

/* ── Utility ───────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--alt { background: var(--sand); }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: background var(--trans), transform var(--trans);
  border: 2px solid transparent;
}
.btn--primary  { background: var(--wood); color: var(--white); }
.btn--primary:hover { background: var(--wood-dk); transform: translateY(-1px); }
.btn--outline  { background: transparent; color: var(--wood); border-color: var(--wood); }
.btn--outline:hover { background: var(--wood); color: var(--white); transform: translateY(-1px); }
.tag {
  display: inline-block; padding: .2rem .75rem;
  background: var(--sand); border-radius: 99px;
  font-size: .78rem; font-weight: 600; color: var(--wood);
  text-transform: uppercase; letter-spacing: .04em;
}

/* ── Header / Nav ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(92,61,30,.10);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 1140px; margin: 0 auto;
}
.nav__logo { display: flex; align-items: center; gap: .75rem; }
.nav__logo img { height: 52px; width: auto; }
.nav__logo-text strong { display: block; font-size: 1.1rem; color: var(--wood-dk); }
.nav__logo-text span   { font-size: .78rem; color: var(--muted); }

.nav__links {
  display: flex; align-items: center; gap: 2rem;
}
.nav__links a {
  font-size: .92rem; font-weight: 500; color: var(--muted);
  transition: color var(--trans);
  position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--wood);
  transition: width var(--trans);
}
.nav__links a:hover, .nav__links a.active { color: var(--wood); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.lang-switcher {
  display: flex; gap: .25rem;
}
.lang-switcher button {
  background: none; border: 1px solid transparent;
  padding: .2rem .5rem; border-radius: 4px;
  font-size: .8rem; font-weight: 600; cursor: pointer;
  color: var(--muted); transition: all var(--trans);
}
.lang-switcher button.active,
.lang-switcher button:hover {
  border-color: var(--wood); color: var(--wood);
}

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .25rem;
}
.nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--wood); border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--wood-dk);
  min-height: 560px; display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover; background-position: center;
  opacity: .35;
}
.hero__content {
  position: relative; z-index: 1;
  padding: 5rem 1.5rem; max-width: 640px; margin: 0 auto;
  text-align: center; color: var(--white);
}
.hero__content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero__content p  {
  font-size: 1.15rem; opacity: .9;
  margin-bottom: 2rem;
}
.hero__badges {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center; margin-bottom: 2.5rem;
}
.hero__badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  padding: .4rem 1rem; border-radius: 99px;
  font-size: .85rem; color: var(--white);
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Values strip ──────────────────────────────────────────────── */
.values {
  background: var(--wood);
  padding: 2rem 0;
}
.values__grid {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: center; text-align: center;
}
.values__item { flex: 1 1 160px; color: var(--white); }
.values__item .icon { font-size: 2rem; margin-bottom: .5rem; }
.values__item strong { display: block; font-size: .92rem; }

/* ── Shop ──────────────────────────────────────────────────────── */
.shop-filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: var(--white); border: 2px solid var(--sand);
  padding: .45rem 1.1rem; border-radius: 99px;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  color: var(--muted); transition: all var(--trans);
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--wood); color: var(--wood);
  background: var(--sand);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(92,61,30,.15);
}
.product-card__img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; background: var(--sand);
}
.product-card__img-placeholder {
  width: 100%; aspect-ratio: 1;
  background: var(--sand); display: flex;
  align-items: center; justify-content: center;
  font-size: 3rem;
}
.product-card__body { padding: 1.25rem; }
.product-card__cat  { margin-bottom: .5rem; }
.product-card__name { font-weight: 600; margin-bottom: .35rem; }
.product-card__desc {
  font-size: .88rem; color: var(--muted);
  margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-card__price {
  font-size: 1.25rem; font-weight: 700; color: var(--wood);
}
.product-card__custom {
  font-size: .75rem; color: var(--wood-lt);
  display: flex; align-items: center; gap: .3rem;
}

/* ── Modal / Product detail ────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(44,26,14,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--trans);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--radius);
  max-width: 760px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--trans);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal__img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.modal__img-placeholder {
  aspect-ratio: 1; background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.modal__body { padding: 2rem; }
.modal__close {
  float: right; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--muted);
  line-height: 1; margin-left: 1rem;
}
.modal__name  { margin: .75rem 0 .5rem; }
.modal__desc  { color: var(--muted); margin-bottom: 1.5rem; font-size: .95rem; }
.modal__price { font-size: 1.6rem; font-weight: 700; color: var(--wood); margin-bottom: 1.5rem; }
.modal__order-btn { width: 100%; justify-content: center; margin-bottom: .75rem; }
.modal__custom-note {
  font-size: .82rem; color: var(--muted); text-align: center;
}

/* ── Custom order section ──────────────────────────────────────── */
.custom-banner {
  background: var(--wood-dk);
  border-radius: var(--radius); padding: 3rem;
  color: var(--white); text-align: center;
}
.custom-banner h2, .custom-banner p { color: var(--white); margin-bottom: 1rem; }

/* ── Order Form ────────────────────────────────────────────────── */
.order-form {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2.5rem;
  max-width: 680px; margin: 0 auto;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-weight: 600; font-size: .9rem;
  margin-bottom: .4rem; color: var(--wood-dk);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .7rem 1rem;
  border: 2px solid var(--sand); border-radius: var(--radius);
  font-size: .95rem; font-family: inherit;
  transition: border-color var(--trans);
  background: var(--cream);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--wood);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; justify-content: center; margin-top: .5rem; font-size: 1rem; }
.form-success {
  text-align: center; padding: 2rem;
  color: var(--wood-dk); font-size: 1.1rem;
}
.form-success .icon { font-size: 3rem; margin-bottom: 1rem; }

/* ── About ─────────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-img {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ── Gallery ───────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover; border-radius: 4px;
  cursor: pointer;
  transition: transform var(--trans), opacity var(--trans);
}
.gallery-grid img:hover { transform: scale(1.03); opacity: .9; }

/* ── Contact ───────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info__item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--sand); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-info__text strong { display: block; margin-bottom: .2rem; }
.contact-info__text a:hover { color: var(--wood); }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  background: var(--wood-dk); color: rgba(255,255,255,.8);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.footer__brand img { height: 48px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer__brand p   { font-size: .88rem; opacity: .75; }
.footer__col h4    { color: var(--white); margin-bottom: 1rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.footer__col a     { display: block; font-size: .88rem; margin-bottom: .5rem; opacity: .75; transition: opacity var(--trans); }
.footer__col a:hover { opacity: 1; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; opacity: .6; flex-wrap: wrap; gap: .5rem;
}

/* ── Toast ─────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 300;
  background: var(--wood-dk); color: var(--white);
  padding: .9rem 1.5rem; border-radius: var(--radius);
  font-size: .92rem; box-shadow: var(--shadow);
  transform: translateY(80px); opacity: 0;
  transition: all .3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1.5rem; box-shadow: var(--shadow); gap: 1.25rem; }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }
  .nav { position: relative; }

  .hero__content { padding: 3rem 1rem; }
  .about-grid    { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .modal__grid   { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
}
