:root {
  --brand: #323b1e;
  --brand-hover: #272e17;
  --text: #111;
  --muted: #666;
  --line: #e5e5e5;
  --bg: #fff;
  --bg-soft: #f4f4f2;
  --light: #ededed;
  --danger: #b42318;
  --radius: 0;
  --container: 1280px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Oswald", "Manrope", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .7rem 1.4rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  font-size: 13px;
  transition: .2s ease;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn--primary:hover {
  background: var(--brand-hover);
  color: var(--light);
}
.btn--light {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.btn--light:hover { background: var(--light); color: #111; }
.btn--sm { min-height: 36px; padding: .45rem 1rem; font-size: 12px; }

/* Header */
.topbar {
  background: #f0f0ee;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
  padding: .4rem 0;
}
.topbar__messengers,
.topbar__contacts {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}
.topbar a:hover { color: var(--brand); }

.header-main {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-main__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 78px;
}
.site-title {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: lowercase;
}
.site-title span { color: var(--brand); }
.custom-logo-link img { max-height: 52px; width: auto; }

.primary-nav__list {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}
.primary-nav__list a {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.header-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  min-width: 180px;
  background: #fff;
}
.header-search input {
  border: 0;
  outline: 0;
  width: 100%;
  padding: .55rem .7rem;
  background: transparent;
}
.header-search button {
  border: 0;
  background: transparent;
  padding: .45rem .7rem;
  cursor: pointer;
}
.header-tools__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}
.cart-count {
  position: absolute;
  top: -2px; right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: #111; width: 22px;
}

/* Hero */
.hero-slider {
  position: relative;
  min-height: clamp(420px, 62vh, 680px);
  overflow: hidden;
  background: #1c2014;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
  background:
    linear-gradient(90deg, rgba(20,24,12,.72) 0%, rgba(20,24,12,.35) 55%, rgba(20,24,12,.15) 100%),
    var(--hero-bg, linear-gradient(135deg, #3a4526, #1a1f12)) center/cover no-repeat;
  display: grid;
  align-items: center;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.hero-slide__content {
  color: #fff;
  max-width: 640px;
  padding: 4rem 0;
}
.hero-slide__label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  opacity: .85;
  margin: 0 0 .75rem;
}
.hero-slide__title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-slide__text { margin: 0 0 1.5rem; max-width: 34rem; opacity: .92; }
.hero-slider__nav {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.hero-slider__nav button {
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.features-bar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.features-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
}
.features-bar__item {
  display: flex;
  gap: .85rem;
  align-items: center;
}
.features-bar__item strong { display: block; font-size: 14px; }
.features-bar__item span { color: var(--muted); font-size: 13px; }
.features-bar__icon { color: var(--brand); flex-shrink: 0; }

/* Sections */
.section { padding: 3.5rem 0; }
.section--muted { background: var(--bg-soft); }
.section-head { margin-bottom: 1.75rem; }
.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 .35rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 600;
}
.section-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}
.muted { color: var(--muted); }

.category-circles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  justify-items: center;
}
.category-circle {
  text-align: center;
  width: min(100%, 280px);
}
.category-circle__media {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(180deg, #ecece8, #d9d9d2) center/cover no-repeat;
  margin-bottom: .9rem;
  border: 1px solid var(--line);
  transition: transform .25s ease;
}
.category-circle:hover .category-circle__media { transform: scale(1.03); }
.category-circle__name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 15px;
}

/* Woo product grid polish */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  text-align: left;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px;
  padding: .6rem 0 .2rem;
  font-weight: 600;
}
.woocommerce ul.products li.product .price {
  color: var(--brand);
  font-weight: 700;
}
.woocommerce ul.products li.product .price del {
  color: var(--muted);
  font-weight: 500;
  margin-right: .35rem;
}
.woocommerce ul.products li.product .button {
  background: var(--brand);
  color: #fff;
  border-radius: 0;
  margin-top: .6rem;
}

.about-teaser__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: center;
}
.about-teaser__text p { color: #333; }
.about-teaser__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 360px;
  background: var(--bg-soft);
}

.wholesale-block { background: #1f2416; color: #fff; }
.wholesale-block .section-title { color: #fff; }
.wholesale-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.wholesale-block .vaneda-form label span { color: #d7d7d0; }
.wholesale-block input,
.wholesale-block textarea {
  background: #fff;
  color: #111;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.advantage-card {
  border: 1px solid var(--line);
  padding: 1.4rem 1.2rem;
  background: #fff;
}
.advantage-card__icon {
  display: block;
  width: 36px; height: 36px;
  margin-bottom: .85rem;
  background:
    radial-gradient(circle at 30% 30%, #6b7a45, transparent 55%),
    var(--brand);
}
.advantage-card h3 {
  margin: 0 0 .45rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.advantage-card p { margin: 0; color: var(--muted); font-size: 14px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.4rem;
}
.review-card__stars { color: var(--brand); letter-spacing: 2px; margin-bottom: .6rem; }
.review-card__text { font-style: italic; margin: 0 0 1rem; }
.review-card__author { margin: 0; font-weight: 700; text-transform: uppercase; font-size: 13px; }

/* Forms */
.vaneda-form { display: grid; gap: .85rem; }
.vaneda-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.vaneda-form label { display: grid; gap: .35rem; font-size: 13px; }
.vaneda-form input,
.vaneda-form textarea {
  border: 1px solid var(--line);
  padding: .7rem .8rem;
  background: #fff;
}
.vaneda-form__status { min-height: 1.2em; margin: 0; font-size: 14px; }
.vaneda-form__status.is-ok { color: var(--brand); }
.vaneda-form__status.is-error { color: var(--danger); }

.site-cta {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 2.75rem 0;
}
.site-cta__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.site-cta h2 {
  font-family: var(--display);
  text-transform: uppercase;
  margin: 0 0 .5rem;
}

/* Footer */
.site-footer {
  background: #111;
  color: #d3d3d3;
  padding-top: 3rem;
}
.site-footer a { color: #d3d3d3; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-col__title {
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .05em;
  margin: 0 0 1rem;
}
.footer-menu { display: grid; gap: .55rem; }
.footer-address { margin: .75rem 0; }
.footer-social { display: grid; gap: .55rem; margin-top: 1rem; }
.footer-social a {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.footer-social__icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.site-title--footer { color: #fff; display: inline-block; margin-bottom: .5rem; }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 1rem 0;
  font-size: 13px;
}
.footer-bottom__inner { display: flex; justify-content: space-between; }

/* Page interiors */
.page-hero {
  background: var(--bg-soft);
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--display);
  text-transform: uppercase;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.content-wrap { padding: 2.5rem 0 3.5rem; }
.content-wrap .entry-content { max-width: 820px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-card {
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: #fff;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.promo-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.promo-card h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.4rem;
  margin: 0 0 .75rem;
}
.promo-card p { color: var(--muted); margin: 0 0 1rem; }

.shop-main { padding: 2rem 0 3rem; }

/* Modal */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.modal__dialog {
  position: relative;
  width: min(92vw, 440px);
  background: #fff;
  padding: 1.5rem;
  z-index: 1;
}
.modal__close {
  position: absolute;
  top: .4rem; right: .6rem;
  border: 0; background: transparent;
  font-size: 1.6rem; cursor: pointer;
}

/* Responsive */
@media (max-width: 1100px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .advantages-grid,
  .reviews-grid,
  .promo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-main__inner {
    grid-template-columns: auto 1fr auto;
  }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav__list { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .header-search { display: none; }
  .features-bar__grid,
  .about-teaser__grid,
  .wholesale-block__inner,
  .site-cta__inner,
  .site-footer__grid,
  .contact-layout { grid-template-columns: 1fr; }
  .category-circles { gap: 1rem; }
}
@media (max-width: 640px) {
  .woocommerce ul.products,
  .advantages-grid,
  .reviews-grid,
  .promo-grid,
  .vaneda-form__row { grid-template-columns: 1fr !important; }
  .topbar__address { display: none; }
  .category-circles { grid-template-columns: 1fr; }
}

/* ===== Shop / product / cart additions ===== */
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: .75rem; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs__sep { margin: 0 .35rem; }

.header-tools__cart { border: 0; background: transparent; cursor: pointer; color: inherit; }
.page-hero__inline-title { font-family: var(--display); text-transform: uppercase; margin: .5rem 0 1.25rem; }

.shop-toolbar { margin-bottom: 1.5rem; }
.shop-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.shop-cats__item { border: 1px solid var(--line); padding: .45rem .9rem; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.shop-cats__item.is-active, .shop-cats__item:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.shop-filters { display: grid; gap: .75rem; }
.shop-filters__panel { display: none; gap: .75rem; flex-wrap: wrap; align-items: end; padding: 1rem; background: var(--bg-soft); border: 1px solid var(--line); }
.shop-filters__panel.is-open { display: flex; }
.shop-filters label { display: grid; gap: .3rem; font-size: 12px; }
.shop-filters select { min-width: 160px; padding: .5rem; border: 1px solid var(--line); }
.shop-filters__sort { display: flex; flex-wrap: wrap; gap: 1rem; }

.vaneda-product-card { list-style: none; }
.vaneda-product-card__title { display: block; font-weight: 600; font-size: 14px; margin: .6rem 0 .35rem; }
.vaneda-product-card__excerpt { color: var(--muted); font-size: 13px; min-height: 2.6em; margin-bottom: .4rem; }
.vaneda-product-card__actions { display: flex; gap: .4rem; align-items: center; margin-top: .5rem; }
.wishlist-toggle { border: 1px solid var(--line); background: #fff; min-width: 40px; min-height: 40px; cursor: pointer; }
.wishlist-toggle.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

.product-trust { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; padding: 0; list-style: none; }
.product-trust li { font-size: 13px; font-weight: 600; border: 1px solid var(--line); padding: .45rem .7rem; }
.product-desc-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; }
.feature-dots { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.feature-dots li { position: relative; padding-left: 1.1rem; }
.feature-dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.product-meta-table th, .size-chart-table th { text-align: left; width: 45%; }

.side-cart[hidden] { display: none !important; }
.side-cart { position: fixed; inset: 0; z-index: 120; }
.side-cart__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.side-cart__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(100%, 420px); background: #fff; display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(0,0,0,.12); }
.side-cart__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.side-cart__title { margin: 0; font-size: 1.1rem; text-transform: uppercase; font-family: var(--display); }
.side-cart__close { border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; }
.side-cart__inner { padding: 1.1rem; overflow: auto; flex: 1; }
.side-cart__list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.side-cart__list li { display: grid; gap: .2rem; border-bottom: 1px solid var(--line); padding-bottom: .75rem; font-size: 14px; }
.side-cart__actions { display: grid; gap: .5rem; }
.side-cart__actions .btn { width: 100%; }

.cart-shipping-note { margin-top: 1rem; padding: 1rem; background: var(--bg-soft); border: 1px solid var(--line); }
.cart-shipping-note h3 { margin: 0 0 .5rem; font-size: 15px; text-transform: uppercase; }

.wholesale-block--light { background: var(--bg-soft); color: var(--text); padding: 2rem; border: 1px solid var(--line); margin-bottom: 2rem; }
.wholesale-block--light .section-title { color: var(--text); }
.shop-seo { margin-bottom: 2.5rem; max-width: 920px; }
.shop-bottom { margin-top: 2rem; }

.wishlist-table img { display: inline-block; vertical-align: middle; margin-right: .75rem; width: 64px; height: auto; }
.wishlist-table td, .wishlist-table th { padding: .75rem; border-bottom: 1px solid var(--line); text-align: left; }

.woocommerce-notices-wrapper .woocommerce-message { border-top-color: var(--brand); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--brand); }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--brand); color: #fff; border-radius: 0; }
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--brand-hover); color: var(--light); }

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