:root {
  --brand-primary: #8f2e2f;
  --brand-primary-dark: #541c1f;
  --brand-gold: #d4a373;
  --brand-cream: #f8f3ec;
  --text-dark: #2b2320;
  --text-muted: #7a6a63;
  --border-soft: rgba(43, 35, 32, 0.08);
}

body {
  font-family: 'Poppins', 'PT Sans', sans-serif;
  background: var(--brand-cream);
  color: var(--text-dark);
}

a { color: var(--brand-primary); }

a:hover { color: var(--brand-primary-dark); }

#wrapper { background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.08); border-radius: 28px; overflow: hidden; margin-top: 35px; margin-bottom: 35px; }

/* Header */
#header.site-header { border: none; background: transparent; box-shadow: none; }

.site-header-top {
  background: #1e1b1a;
  color: #fff;
  font-size: 13px;
}

.site-header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}

.top-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.top-contact a { color: #fff; font-weight: 600; }
.top-contact span { display: flex; align-items: center; gap: 6px; }

.header-social { display: flex; align-items: center; gap: 10px; }
.header-social a { color: #fff; opacity: 0.8; }
.header-social a:hover { opacity: 1; }

.language-switch { position: relative; }
.language-switch__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
}

.language-switch__list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(62, 31, 20, 0.2);
  padding: 10px;
  min-width: 150px;
  display: none;
  z-index: 2000;
}

.language-switch.is-open .language-switch__list { display: block; }
.language-switch__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text-dark);
}
.language-switch__list a:hover { background: var(--brand-cream); }

.flag-icon {
  width: 22px;
  height: 16px;
  display: inline-flex;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.header-main { padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.header-main__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

#logo { flex-shrink: 0; }
#logo img { max-height: 70px; transition: transform 0.2s ease; display: block; }
#logo a { display: inline-flex; align-items: center; }
#logo img:hover { transform: translateY(-2px); }

#primary-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
}

#primary-menu > ul {
  display: flex;
  gap: 26px;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.01em;
  width: auto;
}

#primary-menu ul li a div { position: relative; padding-bottom: 6px; }
#primary-menu > ul > li > a div::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 12px;
}

#primary-menu > ul > li.current > a div::after,
#primary-menu > ul > li:hover > a div::after {
  transform: scaleX(1);
}

#primary-menu ul ul {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  padding: 16px;
}

.nav-cta {
  margin-left: auto;
}

.nav-cta .button {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-cta .button:hover { background: var(--brand-primary-dark); border-color: var(--brand-primary-dark); }

/* Slider */
.hero-slider { background: linear-gradient(135deg, #fef4e8, #f8dfc1); padding: 30px 0 10px; }
.hero-slider .tp-banner-container {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(58, 25, 8, 0.2);
}

.hero-slider__meta {
  margin-top: -90px;
  position: relative;
  z-index: 10;
}

.hero-info-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-info-card h3 { margin-bottom: 8px; font-size: 24px; }
.hero-info-card p { margin: 0; color: var(--text-muted); }

.hero-stats { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-stats__item {
  min-width: 120px;
  background: var(--brand-cream);
  border-radius: 16px;
  padding: 12px 18px;
  text-align: center;
}
.hero-stats__item strong { font-size: 24px; display: block; color: var(--brand-primary); }

/* Product carousel */
.product-carousel .portfolio-image { border-radius: 18px; overflow: hidden; box-shadow: 0 15px 45px rgba(0,0,0,0.08); }
.product-carousel .portfolio-desc { text-align: center; padding-top: 14px; }
.product-carousel .portfolio-desc span { display: block; color: var(--text-muted); }

.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading h3 { font-size: 30px; margin-bottom: 6px; }
.section-heading span { color: var(--text-muted); }

.section-soft { padding: 80px 0; }
.section-soft:nth-of-type(even) { background: #fff; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; }
.feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}
.feature-card h4 { margin-bottom: 10px; }
.feature-card p { margin-bottom: 0; color: var(--text-muted); }

.category-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px; }
.category-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-soft); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.category-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,0,0,0.08); }
.category-card img { height: 240px; object-fit: cover; width: 100%; }
.category-card__body { padding: 18px 20px 24px; }
.category-card__body span { color: var(--text-muted); font-size: 14px; }

.stat-band { background: #1f1917; color: #fff; border-radius: 26px; padding: 36px; display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; margin: 50px 0; }
.stat-item { flex: 1; min-width: 160px; }
.stat-item strong { font-size: 36px; display: block; color: var(--brand-gold); }

/* Product detail */
.product-detail { display: flex; gap: 30px; flex-wrap: wrap; }
.product-detail__gallery { flex: 1 1 55%; background: #fdf7f1; border-radius: 24px; padding: 24px; box-shadow: inset 0 0 0 1px var(--border-soft); }
.product-detail__gallery img { border-radius: 20px; width: 100%; }
.product-detail__summary { flex: 1 1 35%; background: #fff; border-radius: 24px; padding: 30px; box-shadow: 0 20px 45px rgba(0,0,0,0.08); border: 1px solid var(--border-soft); }
.product-detail__summary h3 { margin-top: 0; }
.product-detail__summary ul { list-style: none; padding: 0; margin: 0 0 18px; }
.product-detail__summary li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-weight: 600; }
.product-detail__summary li span { color: var(--text-muted); font-weight: 400; }

.contact-card { background: var(--brand-cream); border-radius: 18px; padding: 18px; margin-top: 18px; border: 1px solid var(--border-soft); }
.contact-card p { margin-bottom: 8px; }

.related-products { margin-top: 60px; }
.related-products .portfolio-image { height: 260px; display: flex; align-items: center; justify-content: center; }
.related-products img { max-height: 220px; object-fit: contain; }

.sidebar .spost { background: #fff; border-radius: 16px; padding: 16px; border: 1px solid var(--border-soft); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.sidebar .spost + hr { border: none; height: 1px; background: var(--border-soft); margin: 20px 0; }

/* Responsive */
@media (max-width: 1199px) {
  #primary-menu > ul { gap: 16px; }
}

@media (max-width: 991px) {
  #wrapper { width: 100%; margin: 0; border-radius: 0; }
  .site-header-top__inner { flex-direction: column; align-items: flex-start; }
  .header-main__inner { flex-wrap: wrap; }
  #primary-menu { width: 100%; margin-top: 15px; }
  #primary-menu > ul { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-cta { width: 100%; }
  .hero-info-card { flex-direction: column; }
  .stat-band { flex-direction: column; }
}

@media (max-width: 575px) {
  .language-switch__list { min-width: 200px; }
  .hero-stats__item { width: 100%; }
  .product-detail__gallery, .product-detail__summary { padding: 20px; }
}
