:root {
  --beige: #f6f1ea;
  --beige-deep: #ebe3d6;
  --white: #ffffff;
  --ink: #1a1512;
  --ink-soft: #3d342e;
  --burgundy: #7a1f2b;
  --burgundy-deep: #5c1520;
  --gold: #b08d57;
  --gold-soft: #c9a87a;
  --line: rgba(26, 21, 18, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --max: 1280px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(26, 21, 18, 0.14);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--beige);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > .site-main,
body > .site-header,
body > .top-banner {
  flex-shrink: 0;
}

.site-main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  inset-inline-start: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--ink);
  color: var(--beige);
  padding: 0.6rem 0.9rem;
}

/* Top banner */
/* Top banner */
.top-banner {
  background: linear-gradient(90deg, var(--burgundy-deep) 0%, var(--burgundy) 50%, var(--burgundy-deep) 100%);
  color: var(--beige);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 60;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.top-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(246, 241, 234, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 21, 18, 0.07);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(26, 21, 18, 0.06);
  border-bottom-color: rgba(26, 21, 18, 0.09);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}

/* Header Desktop Nav */
.site-header__nav {
  display: flex;
  align-items: center;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav__list a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s var(--ease);
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
  color: var(--burgundy);
}

.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after {
  width: 100%;
}

.site-nav__list .sub-menu {
  display: none;
}

/* Brand */
.site-brand {
  text-align: center;
  text-decoration: none;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.2rem 0;
}

.site-brand__fa {
  display: block;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--burgundy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.site-brand__en {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 0.15rem;
  text-transform: uppercase;
}

/* Actions */
.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-link {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0.4rem;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.icon-link:hover {
  background: rgba(26, 21, 18, 0.05);
  color: var(--burgundy);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: 0px;
  inset-inline-end: -2px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(122, 31, 43, 0.35);
}

.lang-switch {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(26, 21, 18, 0.04);
}

.lang-switch__sep {
  opacity: 0.3;
}

.lang-switch a {
  text-decoration: none;
  opacity: 0.6;
  padding: 0.1rem 0.25rem;
  transition: opacity 0.2s, color 0.2s;
}

.lang-switch a:hover {
  opacity: 1;
}

.lang-switch a.is-active,
.lang-switch .trp-ls-shortcode-current-language {
  opacity: 1;
  color: var(--burgundy);
  font-weight: 800;
}

/* Hide TranslatePress floating switcher */
#trp-floater-ls,
.trp-language-switcher-container,
.trp-floater-ls-flags {
  display: none !important;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(26, 21, 18, 0.05);
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 1rem 1.25rem;
}

.mobile-nav.is-open {
  display: block;
  animation: navSlideDown 0.25s var(--ease);
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav__list a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  padding: 0.35rem 0;
}

.mobile-nav__list a:hover {
  color: var(--burgundy);
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding-top: clamp(2rem, 8vh, 6rem);
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.search-overlay[hidden] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.search-overlay__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 18, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-overlay__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100vw - 2rem));
  max-height: 80vh;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(26, 21, 18, 0.22);
  border: 1px solid rgba(26, 21, 18, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: searchDrop 0.25s var(--ease);
}

@keyframes searchDrop {
  from { opacity: 0; transform: translateY(-16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.search-overlay__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--beige);
}

.search-overlay__form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  background: var(--white);
  border: 1px solid rgba(26, 21, 18, 0.12);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-overlay__form:focus-within {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

.search-overlay__icon {
  color: var(--ink-soft);
  flex-shrink: 0;
}

.search-overlay__input {
  border: 0;
  background: transparent;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
}

.search-overlay__input::placeholder {
  color: rgba(61, 52, 46, 0.5);
}

.search-overlay__clear,
.search-overlay__close {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0.35rem;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.search-overlay__clear:hover,
.search-overlay__close:hover {
  background: rgba(26, 21, 18, 0.08);
  color: var(--burgundy);
}

.search-overlay__body {
  padding: 1.25rem;
  overflow-y: auto;
  max-height: calc(80vh - 85px);
}

.search-overlay__quicklinks {
  padding: 0.5rem 0;
}

.search-overlay__tags-title {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-overlay__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-overlay__tag {
  text-decoration: none;
  background: var(--beige);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.search-overlay__tag:hover {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}

.search-overlay__suggest {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-suggest__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s;
}

.search-suggest__item:hover {
  background: var(--beige);
}

.search-suggest__item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.search-suggest__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.search-suggest__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.search-suggest__price {
  font-size: 0.88rem;
  color: var(--burgundy);
  font-weight: 700;
}

.search-suggest__all {
  margin-top: 0.75rem;
  align-self: center;
}

.search-suggest__empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 2rem 0;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 21, 18, 0.12);
}

.btn--sm { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn--burgundy { background: var(--burgundy); color: #fff; }
.btn--burgundy:hover { background: var(--burgundy-deep); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #9a7848; }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--beige);
}
.btn--filters { margin-bottom: 1rem; }

/* Hero Slider — High-Contrast Editorial Presentation */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  height: clamp(480px, 78vh, 680px);
  min-height: 460px;
}

.hero-slider__track {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s var(--ease);
  background-color: var(--beige-deep);
  background-image: var(--hero-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 21, 18, 0.1) 0%, rgba(26, 21, 18, 0.35) 100%);
}

.hero-slide__container {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  justify-content: flex-start;
}

.is-ltr .hero-slide__container {
  justify-content: flex-start;
}

.hero-slide__card {
  background: rgba(246, 241, 234, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  max-width: 480px;
  box-shadow: 0 20px 45px rgba(26, 21, 18, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: heroCardEntrance 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

@keyframes heroCardEntrance {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-slide__badge {
  display: inline-block;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.hero-slide__eyebrow {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.hero-slide__title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--burgundy-deep);
}

.hero-slide__lede {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 500;
  line-height: 1.7;
}

.hero-slide__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-slide__actions .btn svg {
  transition: transform 0.2s var(--ease);
}

.is-rtl .hero-slide__actions .btn svg {
  transform: rotate(180deg);
}

.hero-slide__actions .btn:hover svg {
  transform: translateX(4px);
}

.is-rtl .hero-slide__actions .btn:hover svg {
  transform: rotate(180deg) translateX(4px);
}

/* Hero Controls */
.hero-slider__controls {
  position: absolute;
  bottom: 1.5rem;
  inset-inline: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.hero-slider__counter {
  pointer-events: auto;
  background: rgba(26, 21, 18, 0.7);
  backdrop-filter: blur(8px);
  color: var(--beige);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-slider__sep {
  opacity: 0.4;
}

.hero-slider__dots {
  pointer-events: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero-slider__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s var(--ease), width 0.25s var(--ease), border-radius 0.25s var(--ease);
}

.hero-slider__dots button.is-active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  width: 24px;
  border-radius: 999px;
}

.hero-slider__nav {
  pointer-events: auto;
  display: flex;
  gap: 0.4rem;
}

.hero-slider__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(26, 21, 18, 0.7);
  backdrop-filter: blur(8px);
  color: var(--beige);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}

.hero-slider__btn:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  transform: scale(1.05);
}

.is-rtl .hero-slider__btn svg {
  transform: rotate(180deg);
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.text-link {
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.text-link:hover {
  opacity: 0.8;
}

/* Category Grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  min-height: 320px;
  display: grid;
  align-items: end;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(26, 21, 18, 0.18);
}

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cat-card:hover img {
  transform: scale(1.06);
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 21, 18, 0.7) 0%, rgba(26, 21, 18, 0.2) 50%, transparent 80%);
}

.cat-card__label,
.cat-card .btn {
  position: relative;
  z-index: 1;
  margin: 0 1.25rem 1.25rem;
}

.cat-card__label {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cat-card .btn {
  justify-self: start;
  margin-top: 0;
}

/* Products */
.product-grid,
.woocommerce ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.woocommerce ul.products { float: none !important; }
.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 21, 18, 0.06);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 21, 18, 0.12);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 21, 18, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 21, 18, 0.12);
}

.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--beige-deep);
}

.product-card__img,
.woocommerce ul.products li.product a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  aspect-ratio: 3 / 4;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__img,
.woocommerce ul.products li.product:hover a img {
  transform: scale(1.05);
}

.product-card__hover {
  position: absolute;
  inset-inline: 0;
  bottom: 0.85rem;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 3;
}

.product-card:hover .product-card__hover {
  opacity: 1;
  transform: none;
}

.badge {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 2;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge--new { background: var(--gold); }

/* Sale % is sign + Persian digits + ٪; force LTR so the minus renders before the number. */
.badge--sale { direction: ltr; }

.product-card__meta {
  padding: 1rem 1.15rem 1.25rem;
}

.product-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-card__title a {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}

.product-card__title a:hover {
  color: var(--burgundy);
}

.product-card__rating {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.product-card__price,
.woocommerce ul.products li.product .price {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.product-card__actions {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
  flex-wrap: wrap;
}

.btn-icon {
  border: 1px solid var(--line);
  background: var(--beige);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

/* Shop layout */
.page-shell,
.page-shell--shop {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.shop-filters {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--header-h) + 3rem);
}

.shop-filters__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.shop-filters__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.shop-filters__close { display: none; border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }

.shop-filter-widget { margin-bottom: 1rem; }
.shop-filter-widget__title { font-size: 0.95rem; margin: 0 0 0.5rem; }

.shipping-banner {
  background: #fff7e8;
  border: 1px solid rgba(176, 141, 87, 0.35);
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ── WooCommerce notices (add-to-cart, cart, checkout) ── */
.woocommerce-notices-wrapper + * {
  margin-top: 1.5rem;
}

.page-shell .woocommerce-notices-wrapper,
.shop-layout .woocommerce-notices-wrapper,
.woocommerce .woocommerce-notices-wrapper {
  display: block;
  margin-block: 0 1.25rem;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding-block: 0.95rem;
  padding-inline: 3.1rem 1.1rem;
  margin: 0 0 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.6;
  box-shadow: 0 6px 20px rgba(26, 21, 18, 0.05);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  content: "";
  position: absolute;
  inset-inline-start: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--burgundy) center / 0.55rem no-repeat;
}

.woocommerce-message::before {
  background-color: #2f7d4f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5L4.5 9L10 3.5' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.woocommerce-info::before {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 5.3v3M6 3.6v.1' stroke='%23fff' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.woocommerce-error {
  border-color: rgba(122, 31, 43, 0.4);
}

.woocommerce-error::before {
  background-color: var(--burgundy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-message .wc-forward,
.woocommerce-info .wc-forward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 0 auto;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff !important;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-message .wc-forward:hover,
.woocommerce-info .wc-forward:hover {
  background: var(--burgundy-deep);
  transform: translateY(-1px);
}

.woocommerce-message a.button::before,
.woocommerce-info a.button::before,
.woocommerce-message .wc-forward::before,
.woocommerce-info .wc-forward::before {
  content: none;
}

.woocommerce-message .restore-item,
.woocommerce-info .restore-item {
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: underline;
}

/* Cart drawer */
.cart-drawer[hidden] { display: none !important; }

.cart-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 18, 0.45);
  backdrop-filter: blur(4px);
  z-index: 80;
}

.cart-drawer__panel {
  position: fixed;
  inset-block: 5vh;
  /* Physical left + -50% centers in both LTR and RTL (inset-inline flips and breaks). */
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(920px, 94vw);
  background: var(--white);
  border-radius: 18px;
  z-index: 90;
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: fade-rise 0.35s var(--ease);
}

.is-rtl .cart-drawer__panel { direction: rtl; }

.cart-drawer__sidebar {
  background: var(--burgundy);
  color: #fff;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.cart-drawer__side-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.cart-drawer__thumbs {
  flex: 1;
  overflow: auto;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.cart-thumb {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.4rem;
  border-radius: 10px;
}

.cart-thumb.is-active { background: rgba(255, 255, 255, 0.12); }

.cart-thumb img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-thumb__meta { font-size: 0.8rem; }
.cart-thumb__meta strong { display: block; }

.cart-drawer__side-total {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
}

.cart-drawer__main {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-drawer__head h3 { margin: 0; }

.cart-drawer__close,
.qv-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.cart-drawer__items {
  flex: 1;
  overflow: auto;
}

.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-row select {
  font: inherit;
  padding: 0.3rem 0.4rem;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.cart-row__meta {
  font-size: 0.8rem;
  color: var(--burgundy);
  font-weight: 600;
  margin: 0.15rem 0 0.25rem;
}

.cart-thumb__variation {
  font-size: 0.72rem;
  color: rgba(246, 241, 234, 0.8);
  display: block;
  font-weight: 500;
  margin: 0.1rem 0;
}

.cart-row__remove {
  border: 0;
  background: transparent;
  color: var(--burgundy);
  cursor: pointer;
  font-size: 0.8rem;
}

.cart-drawer__empty { opacity: 0.7; }

.cart-drawer__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Quick view */
.qv-modal[hidden] { display: none !important; }

.qv-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 18, 0.5);
  z-index: 80;
}

.qv-modal__panel {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(860px, 94vw);
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: 18px;
  z-index: 90;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.qv-modal__close {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 1rem;
}

.quick-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.quick-view__title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.quick-view__price {
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

/* Size chart */
.size-chart {
  margin-top: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--line);
}

.size-chart__title { margin: 0 0 0.35rem; }
.size-chart__note { margin: 0 0 1rem; opacity: 0.75; font-size: 0.9rem; }

.size-chart__table-wrap { overflow-x: auto; }

.size-chart__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.size-chart__table th,
.size-chart__table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: center;
}

.size-chart__table th { background: var(--beige); }

/* Footer */
.site-footer {
  background: #1f1916;
  color: rgba(246, 241, 234, 0.88);
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
}

.site-footer__brand {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.site-footer__en {
  margin: 0.2rem 0 0.6rem;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--gold-soft);
}

.site-footer__tag { margin: 0; opacity: 0.8; max-width: 36ch; }

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 220px));
  gap: 1.5rem;
  margin: 1.75rem 0;
}

.site-footer__cols h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--gold-soft);
}

.site-footer__cols a,
.site-footer__cols p {
  display: block;
  margin: 0.25rem 0;
  text-decoration: none;
  opacity: 0.85;
  font-size: 0.92rem;
}

.site-footer__landmark {
  display: flex;
  gap: 0.6rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__landmark-icon { color: var(--gold); }
.site-footer__landmark p { margin: 0; font-size: 0.9rem; opacity: 0.85; }
.site-footer__copy { margin: 1rem 0 0; font-size: 0.85rem; opacity: 0.65; }

/* Mobile bottom nav */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(5, 1fr);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom));
}

.mobile-bottom-nav__item {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-bottom-nav__item.is-active,
.mobile-bottom-nav__item:hover { color: var(--burgundy); }

.mobile-bottom-nav__fab {
  width: 48px;
  height: 48px;
  margin-top: -1.35rem;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(122, 31, 43, 0.35);
}

/* Woo single — layout owned by .pdp */
.woocommerce div.product {
  display: block;
}

.woocommerce div.product .product_title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button {
  background: var(--burgundy) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.page-header__title {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
}

.content-block .entry-content { max-width: 68ch; }

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .product-grid,
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .cat-grid { grid-template-columns: 1fr; }
  .cart-drawer__panel { grid-template-columns: 1fr; inset-block: auto 0; inset-inline: 0; transform: none; width: 100%; border-radius: 18px 18px 0 0; max-height: 92vh; }
  .cart-drawer__sidebar { display: none; }
  .quick-view { grid-template-columns: 1fr; }
  .site-header__nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .site-header__inner { padding: 0.5rem 1rem; min-height: 56px; }
  .site-brand__fa { font-size: 1.35rem; }
  .site-brand__en { font-size: 0.58rem; letter-spacing: 0.15em; }
  .site-header__actions { gap: 0.4rem; }
  .lang-switch { display: none; }
  .mobile-bottom-nav { display: grid; }
  .hero-slider { height: auto; min-height: 480px; }
  .hero-slide { align-items: flex-end; }
  .hero-slide__container { justify-content: center !important; padding: 1.5rem 1rem 4rem; }
  .hero-slide__card { max-width: 100%; padding: 1.25rem 1.25rem 1.5rem; }
  .hero-slider__controls { bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Homepage extras */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.story__copy p {
  max-width: 36ch;
  color: var(--ink-soft);
}

.story__media {
  min-height: 340px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.promo-band {
  background: linear-gradient(120deg, var(--burgundy-deep), var(--burgundy));
  color: #fff;
}

.promo-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) 1.25rem;
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.promo-band__title {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
}

.promo-band__text {
  margin: 0;
  opacity: 0.92;
  max-width: 42ch;
}

.benefit-grid,
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit,
.journal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  overflow: hidden;
}

.benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--burgundy);
}

.benefit p,
.journal-card__excerpt {
  margin: 0;
  opacity: 0.8;
  font-size: 0.95rem;
}

.journal-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.journal-card__title a { text-decoration: none; }
.journal-card__excerpt { margin-bottom: 0.75rem; }

.journal-card--featured {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, #fff 0%, var(--beige) 55%, var(--beige-deep) 100%);
  border-color: rgba(122, 31, 43, 0.18);
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.journal-card--ship {
  background:
    linear-gradient(160deg, var(--ink) 0%, #2a221c 70%, var(--burgundy-deep) 100%);
  color: #fff;
  border-color: transparent;
}

.journal-card--ship .journal-card__title a,
.journal-card--ship .text-link,
.journal-card--ship .journal-card__excerpt {
  color: #fff;
}

.journal-card--ship .journal-card__excerpt { opacity: 0.82; }
.journal-card--ship .text-link { border-bottom-color: rgba(255,255,255,0.35); }

.journal-card__kicker {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--burgundy);
  text-transform: uppercase;
}

.journal-card--ship .journal-card__kicker {
  color: var(--gold-soft);
}

.product-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.site-main { flex: 1 0 auto; min-height: 0; }

/* Global button typography — Vazirmatn everywhere */
button,
.button,
.btn,
input[type="submit"],
input[type="button"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button,
.add_to_cart_button,
.yith-wcwl-add-to-wishlist a,
.yith-wcwl-add-button a,
.comment-form .submit {
  font-family: var(--font) !important;
  letter-spacing: 0 !important;
  font-feature-settings: "ss01" 0;
}

/* —— Archive / category —— */
.page-shell--archive {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem) 3.5rem;
  box-sizing: border-box;
}

.archive-hero {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(122, 31, 43, 0.1), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(235, 227, 214, 0.9));
  border: 1px solid var(--line);
}

.archive-hero__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.archive-hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  text-align: start;
}

.archive-hero__desc {
  margin-top: 0.65rem;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.archive-hero__desc:empty {
  display: none;
}

.archive-hero__desc p {
  margin: 0;
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}

.shop-filters {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem;
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--header-h) + 3rem);
}

.shop-filters__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.shop-filters__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.shop-filters__close {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.shop-filter-widget,
.shop-filters .widget {
  margin-bottom: 1.1rem;
}

.shop-filters .widgettitle,
.shop-filter-widget__title {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.shop-filters ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.shop-filters ul a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.shop-filters ul a:hover {
  color: var(--burgundy);
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-bottom: 1.35rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.shop-toolbar__meta {
  flex: 1 1 auto;
  min-width: 0;
}

.shop-toolbar .woocommerce-result-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.shop-toolbar__sort {
  margin-inline-start: auto;
}

.shop-toolbar .woocommerce-ordering {
  margin: 0;
}

.shop-toolbar .woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 0.55rem 2.2rem 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237a1f2b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 12px 8px;
  cursor: pointer;
  min-width: 12rem;
  max-width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

body:not(.rtl) .shop-toolbar .woocommerce-ordering select,
html[dir="ltr"] .shop-toolbar .woocommerce-ordering select {
  padding: 0.55rem 2.2rem 0.55rem 0.85rem;
  background-position: right 0.75rem center;
}

html[dir="rtl"] .shop-toolbar .woocommerce-ordering select {
  padding: 0.55rem 0.85rem 0.55rem 2.2rem;
  background-position: left 0.75rem center;
}

.shop-toolbar .woocommerce-ordering select:hover {
  border-color: rgba(122, 31, 43, 0.35);
}

.shop-toolbar .woocommerce-ordering select:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

.btn--filters {
  display: none;
}

body.shop-filters-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 18, 0.35);
  z-index: 65;
}

.shop-filters .price_slider_wrapper {
  margin-top: 0.5rem;
}

/*
 * Custom RTL-aware price slider.
 *
 * The theme replaces WooCommerce's jQuery UI price slider (which uses LTR-only
 * `left` math and drifts from the pointer on this RTL storefront) with its own
 * track + two thumbs. Thumbs are moved with explicit pixel offsets computed from
 * getBoundingClientRect() so they track the cursor exactly in both directions.
 * The native slider markup and the min/max text inputs stay hidden; dragging
 * updates the inputs and the price label, and the Filter button submits the same
 * min_price / max_price query args WooCommerce expects.
 */
.shop-filters .price_slider_wrapper .price_slider.ui-slider {
  display: none !important;
}

.shop-filters .price_slider_wrapper input#min_price,
.shop-filters .price_slider_wrapper input#max_price {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.shop-filters .cloth-price-slider {
  position: relative;
  height: 1.25rem;
  margin: 1.1rem 0.25rem 0.25rem;
  touch-action: none;
}

.shop-filters .cloth-price-slider__track {
  position: absolute;
  inset-inline: 0;
  top: 0.45rem;
  height: 4px;
  background: var(--beige-deep);
  border-radius: 999px;
}

.shop-filters .cloth-price-slider__range {
  position: absolute;
  top: 0.45rem;
  height: 4px;
  background: var(--burgundy);
  border-radius: 999px;
}

.shop-filters .cloth-price-slider__thumb {
  position: absolute;
  top: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-inline: -0.5625rem; /* center thumb on the value point */
  border-radius: 50%;
  border: 2px solid var(--burgundy);
  background: var(--white);
  box-shadow: 0 1px 3px rgba(26, 21, 18, 0.18);
  cursor: grab;
  touch-action: none;
}

.shop-filters .cloth-price-slider__thumb.is-dragging {
  cursor: grabbing;
  box-shadow: 0 1px 3px rgba(26, 21, 18, 0.18), 0 0 0 4px rgba(122, 31, 43, 0.14);
}

.shop-filters .cloth-price-slider__thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.shop-filters .price_slider_amount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.shop-filters .price_slider_amount .price_label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.shop-filters .price_slider_amount .price_label .from,
.shop-filters .price_slider_amount .price_label .to {
  color: var(--burgundy);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.shop-filters .price_slider_amount .button {
  margin-inline-start: auto;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--burgundy);
  color: #fff;
  cursor: pointer;
}

.shop-results ul.products,
.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.35rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

.shop-filters .current-cat > a {
  color: var(--burgundy);
  font-weight: 700;
}

.shop-results ul.products::before,
.shop-results ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}

.shop-results ul.products li.product,
.woocommerce ul.products li.product,
ul.products li.product,
li.shop-card {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

li.shop-card:hover {
  border-color: rgba(122, 31, 43, 0.22);
  box-shadow: 0 12px 28px rgba(26, 21, 18, 0.08);
}

.shop-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--beige-deep);
  overflow: hidden;
}

.shop-card__image-link {
  display: block;
  height: 100%;
}

.shop-card__img,
.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  transition: transform 0.45s var(--ease);
}

.shop-card:hover .shop-card__img,
.shop-card:hover .shop-card__media img {
  transform: scale(1.03);
}

.shop-card__hover {
  position: absolute;
  inset-inline: 0.6rem;
  bottom: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s var(--ease);
}

.shop-card:hover .shop-card__hover {
  opacity: 1;
  transform: none;
}

.shop-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: grid;
  gap: 0.4rem;
  flex: 1;
}

.shop-card__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.shop-card__title a {
  text-decoration: none;
  color: var(--ink);
}

.shop-card__title a:hover {
  color: var(--burgundy);
}

.shop-card__price {
  font-weight: 800;
  color: var(--burgundy);
  font-size: 0.98rem;
}

.shop-card__wish .yith-wcwl-add-to-wishlist,
.shop-card__wish .yith-wcwl-add-button {
  margin: 0.25rem 0 0 !important;
}

.shop-card__wish a {
  font-family: var(--font) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--ink-soft) !important;
  text-decoration: none !important;
}

/* ── Wishlist page (branded cards) ── */
.woocommerce-wishlist .wishlist-title,
.woocommerce-wishlist .wishlist-title-container {
  display: none;
}

.wishlist-wrap {
  width: 100%;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.wish-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.wish-card:hover {
  border-color: rgba(122, 31, 43, 0.22);
  box-shadow: 0 12px 28px rgba(26, 21, 18, 0.08);
}

.wish-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: var(--beige-deep);
  overflow: hidden;
}

.wish-card__img,
.wish-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  transition: transform 0.45s var(--ease);
}

.wish-card:hover .wish-card__img,
.wish-card:hover .wish-card__media img {
  transform: scale(1.03);
}

.wish-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}

.wish-card__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.wish-card__title a {
  text-decoration: none;
  color: var(--ink);
}

.wish-card__title a:hover {
  color: var(--burgundy);
}

.wish-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.wish-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.wish-card__stock::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.wish-card__stock.is-in { color: #2f7d4f; }

.wish-card__stock.is-out { color: var(--burgundy); }

.wish-card__price {
  font-weight: 800;
  color: var(--burgundy);
  font-size: 0.98rem;
}

.wish-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.25rem;
}

.wish-card__remove {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.wish-card__remove:hover {
  border-color: rgba(122, 31, 43, 0.45);
  background: rgba(122, 31, 43, 0.05);
  color: var(--burgundy);
}

.wishlist-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 4rem 1.5rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wishlist-empty-state__icon {
  width: 3.25rem;
  height: 3.25rem;
  color: var(--burgundy);
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

.wishlist-empty-state__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.wishlist-empty-state__text {
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .wishlist-grid {
    grid-template-columns: 1fr;
  }
}

/* Neutralize YITH's default table styles on the wishlist page */
.woocommerce-wishlist table.wishlist_table,
.woocommerce-wishlist table.wishlist_table tr,
.woocommerce-wishlist table.wishlist_table td,
.woocommerce-wishlist table.wishlist_table th {
  display: none !important;
}

.woocommerce-wishlist .wishlist-items-wrapper,
.woocommerce-wishlist .yith-wcwl-form {
  background: transparent;
  border: 0;
}

.shop-pagination {
  margin-top: 2rem;
}

.shop-pagination .woocommerce-pagination {
  margin: 0;
}

.shop-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.shop-pagination .page-numbers li {
  margin: 0;
}

.shop-pagination .page-numbers a,
.shop-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.shop-pagination .page-numbers .current {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

.shop-pagination .page-numbers a:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.shop-empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* —— Reviews panel —— */
.woocommerce-Reviews,
#reviews {
  max-width: 720px;
}

.woocommerce-Reviews-title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.comment-reply-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.25rem 0 0.75rem;
}

.comment-form {
  display: grid;
  gap: 1rem;
}

.comment-form-rating,
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-cookies-consent,
.form-submit {
  margin: 0 !important;
}

.comment-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-family: var(--font);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--beige);
  box-sizing: border-box;
}

.comment-form-author,
.comment-form-email {
  display: grid;
}

.comment-form-row,
.comment-form .comment-form-author-email {
  display: contents;
}

@media (min-width: 700px) {
  .comment-form {
    grid-template-columns: 1fr 1fr;
  }
  .comment-form-rating,
  .comment-form-comment,
  .comment-form-cookies-consent,
  .form-submit,
  .comment-notes {
    grid-column: 1 / -1;
  }
}

/* Star rating — hide text labels, show stars */
p.stars {
  display: flex !important;
  gap: 0.25rem;
  margin: 0.25rem 0 0 !important;
}

p.stars a {
  position: relative;
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  text-indent: -999px;
  overflow: hidden;
  border: 0 !important;
  box-shadow: none !important;
}

p.stars a::before {
  content: "★";
  position: absolute;
  inset: 0;
  text-indent: 0;
  font-size: 1.55rem;
  line-height: 1.6rem;
  color: #d5c8b6;
  font-family: var(--font);
}

p.stars a:hover ~ a::before {
  color: #d5c8b6;
}

p.stars:hover a::before,
p.stars.selected a.active::before,
p.stars.selected a:hover::before {
  color: var(--gold);
}

p.stars:hover a:hover::before,
p.stars.selected a.active ~ a::before {
  color: #d5c8b6;
}

p.stars.selected a.active ~ a:hover::before {
  color: var(--gold);
}

.form-submit .submit,
.comment-form .submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 0.9rem 1.5rem !important;
  border-radius: 999px !important;
  background: var(--burgundy) !important;
  color: #fff !important;
  border: 0 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  font-family: var(--font) !important;
  cursor: pointer;
}

/* —— Product detail page —— */
.page-shell--pdp {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem 3rem;
}

.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.pdp__gallery {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--header-h) + 3.5rem);
}

.pdp__gallery .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.pdp__gallery .woocommerce-product-gallery__image img,
.pdp__gallery .wp-post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.pdp__gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
}

.pdp__gallery .flex-control-thumbs li {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.pdp__gallery .flex-control-thumbs img {
  border-radius: 8px;
  opacity: 0.7;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pdp__gallery .flex-control-thumbs .flex-active,
.pdp__gallery .flex-control-thumbs img:hover {
  opacity: 1;
}

.pdp__summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
}

.pdp__summary .onsale,
.pdp .onsale {
  position: static;
  display: inline-flex;
  background: var(--burgundy) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  min-height: 0;
  line-height: 1.2;
}

.pdp__summary .product_title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
}

.pdp__summary .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--burgundy);
  margin: 0 0 1rem;
}

.pdp__summary .price del {
  opacity: 0.45;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.pdp__summary .price ins {
  text-decoration: none;
}

.pdp__summary .stock {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sage-deep, var(--ink-soft));
}

.pdp__summary .cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 1.25rem !important;
}

/* Variable product swatches & rows */
.cloth-variations-form {
  margin-bottom: 1.5rem;
}

.cloth-variations-form .variations {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.variation-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.variation-row__header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.variation-row__title {
  font-weight: 700;
  color: var(--ink);
}

.variation-row__selected-val {
  font-weight: 700;
  color: var(--burgundy);
  font-size: 0.92rem;
}

.cloth-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.cloth-swatch {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-family: var(--font);
  transition: all 0.2s var(--ease);
  user-select: none;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.cloth-swatch--size {
  min-width: 46px;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.cloth-swatch--size:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
  background: #faf6f1;
}

.cloth-swatch--size.is-selected {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(122, 31, 43, 0.22);
}

.cloth-swatch--size.is-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  text-decoration: line-through;
  background: var(--beige-deep);
  border-style: dashed;
}

.cloth-swatch--color {
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.cloth-swatch__color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--swatch-hex, #ccc);
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.cloth-swatch--color:hover {
  border-color: var(--burgundy);
  background: #faf6f1;
}

.cloth-swatch--color.is-selected {
  border-color: var(--burgundy);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--burgundy), 0 4px 12px rgba(122, 31, 43, 0.15);
}

.cloth-swatch--color.is-disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.cloth-variation-reset-wrap {
  margin: -0.25rem 0 1rem;
}

.cloth-variation-reset {
  background: none;
  border: none;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
  font-family: var(--font);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.cloth-variation-reset:hover {
  opacity: 1;
  color: var(--burgundy);
}

/* Single variation wrap & add to cart */
.single_variation_wrap {
  margin-top: 1rem;
}

.woocommerce-variation-price {
  margin-bottom: 0.85rem;
}

.woocommerce-variation-price .price {
  margin: 0 !important;
  font-size: 1.4rem !important;
  font-weight: 800;
  color: var(--burgundy);
}

.woocommerce-variation-availability {
  margin-bottom: 1rem;
}

.woocommerce-variation-availability .stock {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.woocommerce-variation-availability .stock.in-stock {
  color: #276749;
}

.woocommerce-variation-availability .stock.low-stock,
.woocommerce-variation-availability .stock.stock-low {
  color: #c05621;
}

.woocommerce-variation-availability .stock.out-of-stock {
  color: #9b2c2c;
}

.woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.pdp__summary .quantity .qty {
  width: 4.5rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  text-align: center;
}

.pdp__summary .single_add_to_cart_button {
  flex: 1;
  min-width: 180px;
  background: var(--burgundy) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.95rem 1.5rem !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  font-family: var(--font) !important;
  line-height: 1.4 !important;
  cursor: pointer;
  transition: background 0.2s var(--ease), opacity 0.2s var(--ease);
}

.pdp__summary .single_add_to_cart_button:disabled,
.pdp__summary .single_add_to_cart_button.disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  background: var(--ink-soft) !important;
}

.pdp__summary .yith-wcwl-add-to-wishlist a,
.pdp__summary .add_to_wishlist,
.pdp__summary .yith-wcwl-wishlistexistsbrowse a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.9rem 1.3rem !important;
  border-radius: 999px !important;
  border: 1px solid var(--line) !important;
  background: var(--beige) !important;
  color: var(--ink) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  font-family: var(--font) !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

.pdp__summary .product_meta {
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  opacity: 0.85;
}

.pdp__summary .product_meta a {
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 600;
}

.pdp__below {
  margin-top: 2.5rem;
}

.pdp__below .woocommerce-tabs {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.pdp__below .woocommerce-tabs ul.tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--beige);
}

.pdp__below .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.pdp__below .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0.95rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}

.pdp__below .woocommerce-tabs ul.tabs li.active a {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
  background: var(--white);
}

.pdp__below .woocommerce-Tabs-panel {
  padding: 1.5rem 1.25rem 1.75rem;
  margin: 0 !important;
}

.pdp__below .related > h2,
.pdp__below .upsells > h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
}

.pdp__below .related ul.products,
.pdp__below .upsells ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pdp__below .related ul.products li.product,
.pdp__below .upsells ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

/* Override legacy Woo single grid that broke PDP */
.woocommerce div.product.pdp {
  display: block;
}

.woocommerce div.product.pdp .pdp__grid {
  display: grid;
}

@media (max-width: 980px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .btn--filters {
    display: inline-flex;
  }

  .shop-filters {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(320px, 90vw);
    z-index: 70;
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform 0.3s var(--ease);
    top: 0;
    height: 100%;
    overflow: auto;
    box-shadow: 8px 0 32px rgba(26, 21, 18, 0.12);
  }

  .is-rtl .shop-filters {
    inset: 0 0 0 auto;
    transform: translateX(105%);
    box-shadow: -8px 0 32px rgba(26, 21, 18, 0.12);
  }

  .shop-filters.is-open {
    transform: none;
  }

  .shop-filters__close {
    display: block;
  }

  .shop-card__hover {
    opacity: 1;
    transform: none;
  }

  .shop-results ul.products,
  .page-shell--archive .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .pdp__grid {
    grid-template-columns: 1fr;
  }

  .pdp__gallery {
    position: static;
  }

  .pdp__below .related ul.products,
  .pdp__below .upsells ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 560px) {
  .shop-results ul.products,
  .page-shell--archive .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-toolbar__sort {
    margin-inline-start: 0;
  }

  .shop-toolbar .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 980px) {
  .story,
  .benefit-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .product-grid--four {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── About page ── */
.about-page {
  background: var(--beige);
}

.about-hero {
  position: relative;
  min-height: min(58vh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.about-hero__media {
  position: absolute;
  inset: 0;
  background-image: var(--about-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  animation: aboutHeroIn 1.1s var(--ease) both;
}

.about-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 21, 18, 0.25) 0%, rgba(26, 21, 18, 0.72) 100%);
}

.about-hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  text-align: start;
}

.about-hero__eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold-soft);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.about-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
}

.about-hero__lede {
  margin: 0;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

@keyframes aboutHeroIn {
  from { transform: scale(1.08); opacity: 0.7; }
  to { transform: scale(1.02); opacity: 1; }
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-story__copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.about-story__copy .entry-content {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 42ch;
}

.about-story__figure {
  margin: 0;
  min-height: 380px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(26, 21, 18, 0.12);
}

.about-values .section__title {
  margin-bottom: 1.75rem;
}

.about-atelier__panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(135deg, var(--ink) 0%, #2a221c 55%, var(--burgundy-deep) 100%);
  color: #fff;
  border-radius: var(--radius);
}

.about-atelier__panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.about-atelier__panel p {
  margin: 0 0 1.25rem;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.about-atelier__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.about-atelier__list li {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .about-story__grid,
  .about-atelier__panel {
    grid-template-columns: 1fr;
  }

  .about-story__figure {
    min-height: 260px;
  }
}

/* ── Auth / login ── */
.auth-page {
  width: min(1100px, calc(100% - 2rem));
  margin: clamp(1.5rem, 4vw, 3rem) auto clamp(2.5rem, 6vw, 4rem);
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.auth-page__intro {
  text-align: start;
  max-width: 36rem;
}

.auth-page__eyebrow {
  margin: 0 0 0.4rem;
  color: var(--burgundy);
  font-size: 0.85rem;
  font-weight: 600;
}

.auth-page__heading {
  margin: 0 0 0.65rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
}

.auth-page__lede {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.auth-page__perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.auth-page__perks li {
  position: relative;
  padding-inline-start: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.auth-page__perks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--burgundy);
}

.auth-page__panels {
  display: grid;
  gap: 1.25rem;
}

.auth-page__panels--split {
  grid-template-columns: 1fr 1fr;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: 0 10px 28px rgba(26, 21, 18, 0.05);
}

.auth-card h2 {
  margin: 0 0 1.15rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.auth-form__field {
  margin: 0 0 1rem;
}

.auth-form__field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.auth-form__field .input-text,
.auth-form input.input-text {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: var(--beige);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.auth-form__field .input-text:focus,
.auth-form input.input-text:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
  background: #fff;
}

.auth-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
}

.auth-form__remember {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.auth-form__lost {
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 600;
}

.auth-form__lost:hover {
  text-decoration: underline;
}

.auth-form__hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.auth-form .woocommerce-privacy-policy-text,
.auth-card .woocommerce-privacy-policy-text {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.auth-form .woocommerce-privacy-policy-text a {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
}

.auth-form .woocommerce-privacy-policy-text a:hover {
  text-decoration: underline;
}

/* Password visibility toggle (WC injects .password-input; styles are scoped to .form-row by default) */
.password-input {
  display: block;
  position: relative;
  width: 100%;
}

.password-input input[type="password"],
.password-input input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding-inline-end: 2.75rem;
}

.password-input input::-ms-reveal {
  display: none;
}

.show-password-input {
  position: absolute;
  inset-inline-end: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent !important;
  color: var(--ink-soft);
  box-shadow: none !important;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}

.show-password-input:hover,
.show-password-input:focus-visible {
  color: var(--burgundy);
  background: rgba(122, 31, 43, 0.08) !important;
  outline: none;
}

.show-password-input::before {
  content: "";
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath fill='%233d342e' d='M17.3 3.3c-.4-.4-1.1-.4-1.6 0L13.3 5.7A8.5 8.5 0 0 0 10 5.1C6.2 5.2 2.8 7.2 1 10.5c.2.4.5.8.8 1.2a11 11 0 0 0 2.9 2.7L3 16.1c-.4.4-.5 1.1 0 1.6.4.4 1.1.5 1.6 0L17.3 4.9c.4-.5.4-1.2 0-1.6ZM6.7 12.3 5.4 13.6A9.5 9.5 0 0 1 2.3 10.7c1.2-1.7 2.8-2.9 4.7-3.5-1.3 1.4-1.4 3.6-.3 5.1Zm3.4-3.3c-.5-.5-.4-1.3.1-1.8.5-.4 1.2-.4 1.7 0L10.1 9Zm8.2.5c-.5-.7-1.1-1.4-1.8-1.9l-1 1a9 9 0 0 1 2.1 2.2c-1.7 2.6-4.6 4.2-7.7 4.2h-.8l-1 1c.7-.1 1.3 0 1.9 0 3.3 0 6.4-1.6 8.3-4.3.3-.4.5-.8.8-1.2-.3-.3-.5-.7-.8-1Zm-4.3.5-4 4c2.2 0 4-1.8 4-4Z'/%3E%3C/svg%3E");
}

.show-password-input.display-password::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath fill='%233d342e' d='M18.3 9.5C15 4.9 8.5 3.8 3.9 7.2a10.7 10.7 0 0 0-3 3.4c.2.4.5.8.8 1.2 3.3 4.6 9.6 5.6 14.2 2.4.9-.7 1.7-1.4 2.4-2.4.3-.4.5-.8.8-1.2-.3-.4-.5-.8-.8-1.1ZM10.1 7.2c.5-.5 1.3-.5 1.8 0s.5 1.3 0 1.8-1.3.5-1.8 0-.5-1.3 0-1.8ZM10 14.9c-3.1 0-6-1.6-7.7-4.2 1.2-1.7 2.8-2.9 4.7-3.5-.7.8-1 1.7-1 2.7 0 2.2 1.7 4.1 4 4.1 2.2 0 4.1-1.7 4.1-4v-.1c0-1-.4-2-1.1-2.7 1.9.6 3.5 1.8 4.7 3.5-1.7 2.6-4.6 4.2-7.7 4.2Z'/%3E%3C/svg%3E");
}

.auth-page .show-password-input,
.auth-page .show-password-input:hover {
  width: 2rem !important;
  min-width: 2rem !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--ink-soft) !important;
}

.auth-form__submit {
  margin: 0;
}

.auth-btn,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.auth-page .button {
  font-family: var(--font) !important;
  width: 100%;
  border-radius: 999px !important;
  padding: 0.85rem 1.25rem !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  background: var(--burgundy) !important;
  color: #fff !important;
  border: 0 !important;
  cursor: pointer;
}

.auth-btn:hover,
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
  background: var(--burgundy-deep) !important;
}

@media (max-width: 820px) {
  .auth-page__panels--split {
    grid-template-columns: 1fr;
  }
}

/* ── Logged-in account ── */
.account-page {
  width: min(1120px, calc(100% - 2rem));
  margin: clamp(1.25rem, 3vw, 2.5rem) auto clamp(2.5rem, 5vw, 3.5rem);
}

.account-page__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.account-page__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--burgundy);
  font-size: 0.82rem;
  font-weight: 600;
}

.account-page__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
}

.account-page__welcome {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.account-page__shop-link {
  flex-shrink: 0;
}

.account-page__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.account-nav,
.woocommerce-MyAccount-navigation {
  background: linear-gradient(180deg, #fff 0%, var(--beige) 140%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.account-nav__label {
  margin: 0 0.6rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: uppercase;
}

.account-nav__list,
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-inline-start: 3px solid transparent;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.woocommerce-MyAccount-navigation a:hover {
  background: rgba(122, 31, 43, 0.06);
  color: var(--burgundy);
}

.woocommerce-MyAccount-navigation .is-active a {
  background: var(--beige-deep);
  color: var(--burgundy);
  border-inline-start-color: var(--burgundy);
}

.account-page__content,
.woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  min-height: 280px;
  box-shadow: 0 12px 32px rgba(26, 21, 18, 0.04);
}

.account-page__content > p:first-child {
  margin-top: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.account-page__content .woocommerce-Button,
.account-page__content .button,
.account-page__content .btn {
  font-family: var(--font) !important;
}

/* Dashboard cards */
.account-dash__intro {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 42ch;
}

.account-dash__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.account-dash__card {
  display: block;
  padding: 1.15rem 1.1rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--line);
  background: var(--beige);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}

.account-dash__card:hover {
  border-color: rgba(122, 31, 43, 0.35);
  background: #fff;
  transform: translateY(-2px);
}

.account-dash__card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.account-dash__card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.account-dash__logout {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.account-dash__logout a {
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: none;
}

.account-dash__logout a:hover {
  text-decoration: underline;
}

/* Addresses */
.account-addresses__lede {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.account-addresses__grid,
.woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.account-addresses--single .account-addresses__grid {
  grid-template-columns: 1fr;
  max-width: 32rem;
}

/* Checkout: one address (shipping). Hide “ship to different address” toggle. */
#ship-to-different-address {
  display: none !important;
}

.woocommerce-shipping-fields .shipping_address {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

.woocommerce-billing-fields h3 {
  font-size: 1.1rem;
}

/* Country / state are hidden inputs (always Iran · Tehran) */
.woocommerce-address-fields #shipping_country_field,
.woocommerce-address-fields #shipping_state_field,
.woocommerce-address-fields #billing_country_field,
.woocommerce-address-fields #billing_state_field,
.woocommerce-checkout #shipping_country_field,
.woocommerce-checkout #shipping_state_field,
.woocommerce form-row.place-hidden,
.woocommerce form-row[id$="_country_field"]:has(input[type="hidden"]),
.woocommerce form-row[id$="_state_field"]:has(input[type="hidden"]) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.account-address-card,
.woocommerce-Address {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.25rem 1.4rem;
  margin: 0;
  box-shadow: 0 4px 16px rgba(26, 21, 18, 0.04);
  transition: all 0.2s var(--ease);
}
.account-address-card:hover {
  border-color: rgba(122, 31, 43, 0.3);
  box-shadow: 0 8px 24px rgba(26, 21, 18, 0.08);
}

.account-address-card__head,
.woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.account-address-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.account-address-card__badge svg {
  color: var(--burgundy);
}

.account-address-card__btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 14px !important;
  font-size: 0.85rem !important;
  border-radius: 6px !important;
  text-decoration: none !important;
}

.account-address-card__body address,
.woocommerce-Address address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.8;
  margin: 0;
  background: var(--beige);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 1rem 1.15rem;
}

.account-address-card__empty-state {
  text-align: center;
  padding: 1.25rem 0.5rem;
}

.account-address-card__empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--beige-deep);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.account-address-card__empty-text {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.account-edit-address-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.account-edit-address__header {
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.account-form__back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: none;
  margin-bottom: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--beige);
  border: 1px solid var(--line);
  transition: all 0.2s;
}

.account-form__back-link:hover {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}

.account-back-icon {
  transform: rotate(0deg);
  transition: transform 0.2s;
}
body.rtl .account-back-icon {
  transform: rotate(180deg);
}

.account-edit-address__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.account-edit-address__subtitle {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.account-address-form-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.account-form-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
}
.account-form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .account-form-row--2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}
.account-form-row .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: right;
}
.account-form-row .form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  text-align: right;
}
.account-form-row .form-row label .required {
  color: #c94050;
  font-size: 1rem;
}
.account-form-row input.input-text,
.account-form-row select,
.account-form-row textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  text-align: right;
  direction: rtl;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.account-form-row textarea {
  min-height: 80px;
  resize: vertical;
}
.account-form-row input.input-text:focus,
.account-form-row select:focus,
.account-form-row textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

/* Account edit form */
.account-form__section {
  margin-bottom: 1.75rem;
}

.account-form__section-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.account-form__section--password {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: var(--beige);
}

.account-form__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.account-form__field {
  margin: 0 0 1rem;
}

.account-form__field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.account-form__field .input-text,
.account-form input.input-text,
.woocommerce-EditAccountForm .input-text,
.woocommerce-Address-fields .input-text,
.woocommerce-address-fields .input-text {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.account-form__field .input-text:focus,
.woocommerce-EditAccountForm .input-text:focus,
.woocommerce-Address-fields .input-text:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

.account-form__hint {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  font-style: normal;
}

.account-form__hint--block {
  margin: -0.35rem 0 1rem;
}

.account-form__actions {
  margin: 0;
}

.account-form__actions .button,
.woocommerce-EditAccountForm .button,
.woocommerce-address-fields .button {
  font-family: var(--font) !important;
  border-radius: 999px !important;
  padding: 0.8rem 1.5rem !important;
  font-weight: 700 !important;
  background: var(--burgundy) !important;
  color: #fff !important;
  border: 0 !important;
  cursor: pointer;
}

.account-form__actions .button:hover,
.woocommerce-EditAccountForm .button:hover {
  background: var(--burgundy-deep) !important;
}

/* Country / state selects + Select2 (Woo address forms) */
.woocommerce form .form-row select,
.woocommerce-address-fields select,
.woocommerce-EditAccountForm select,
.account-page select,
.woocommerce form .form-row .select2-container {
  width: 100% !important;
  max-width: 100%;
}

.woocommerce form .form-row select,
.woocommerce-address-fields select,
.account-page select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  min-height: 2.85rem;
  padding: 0.7rem 0.9rem;
  padding-inline-end: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%233d342e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.9rem center;
  background-size: 0.75rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.is-ltr .woocommerce form .form-row select,
.is-ltr .woocommerce-address-fields select,
.is-ltr .account-page select {
  background-position: right 0.9rem center;
}

.woocommerce form .form-row select:focus,
.woocommerce-address-fields select:focus,
.account-page select:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

.select2-container--default .select2-selection--single {
  min-height: 2.85rem;
  height: auto;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 0.35rem 0.55rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--burgundy) !important;
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--ink) !important;
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 2.1rem;
  padding-inline: 0.45rem 1.75rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--ink-soft) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  top: 0;
  width: 1.5rem;
  right: 0.55rem;
  left: auto;
}

.is-rtl .select2-container--default .select2-selection--single .select2-selection__arrow {
  left: 0.55rem;
  right: auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border: 0 !important;
  margin: 0 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%233d342e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}

.select2-dropdown {
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26, 21, 18, 0.14);
  background: #fff;
  font-family: var(--font);
}

.select2-container--default .select2-search--dropdown {
  padding: 0.65rem;
  background: var(--beige);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  padding: 0.55rem 0.75rem !important;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--burgundy) !important;
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.1);
}

.select2-results__options {
  max-height: 240px;
  padding: 0.35rem;
}

.select2-container--default .select2-results__option {
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--burgundy) !important;
  color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background: var(--beige-deep);
  color: var(--burgundy);
  font-weight: 700;
}

.account-page .password-input {
  width: 100%;
}

.account-page .show-password-input,
.account-page .show-password-input:hover {
  width: 2rem !important;
  min-width: 2rem !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Orders table */
.woocommerce-orders-table,
.account-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
  padding: 0.85rem 0.65rem;
  border-bottom: 1px solid var(--line);
  text-align: start;
}

.woocommerce-orders-table th {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.woocommerce-orders-table a {
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: none;
}

.woocommerce-orders-table .button {
  display: inline-flex !important;
  width: auto !important;
  padding: 0.45rem 0.9rem !important;
  font-size: 0.8rem !important;
  border-radius: 999px !important;
  background: var(--burgundy) !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .account-page__layout {
    grid-template-columns: 1fr;
  }

  .account-nav,
  .woocommerce-MyAccount-navigation {
    position: static;
    padding: 0.65rem;
  }

  .account-nav__label {
    display: none;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.35rem;
    padding-bottom: 0.15rem;
  }

  .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
    border-inline-start: 0;
    border-bottom: 2px solid transparent;
  }

  .woocommerce-MyAccount-navigation .is-active a {
    border-bottom-color: var(--burgundy);
  }

  .account-dash__grid,
  .account-addresses__grid,
  .woocommerce-Addresses,
  .account-form__row--2 {
    grid-template-columns: 1fr;
  }
}

#trp-floater-ls,
.trp-floater-ls,
.trp-floating-switcher,
.trp-language-switcher.trp-floating-switcher,
.trp-language-switcher.trp-floater-ls,
[class*="trp-floater"],
[class*="trp-floating"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ── Privacy / legal pages ── */
.legal-page {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.5rem, 4vw, 2.75rem);
}

.legal-page__hero {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.legal-page__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--burgundy);
  font-size: 0.85rem;
  font-weight: 600;
}

.legal-page__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.legal-page__lede {
  margin: 0 0 0.75rem;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-page__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}

.legal-block {
  margin: 0 0 1.75rem;
}

.legal-block h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.legal-block p,
.legal-block li {
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 0.98rem;
}

.legal-block p {
  margin: 0 0 0.75rem;
}

.legal-block ul {
  margin: 0 0 0.75rem;
  padding-inline-start: 1.25rem;
}

.legal-block li {
  margin-bottom: 0.45rem;
}

.legal-block a:not(.btn) {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
}

.legal-block a:not(.btn):hover {
  text-decoration: underline;
}

.legal-block--cta {
  margin-top: 2rem;
  padding: 1.5rem 1.35rem;
  background: linear-gradient(135deg, #fff 0%, var(--beige-deep) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-block--cta .btn {
  margin-top: 0.35rem;
}

/* ── Journal articles (size guide + free shipping) ── */
.journal-article {
  background: var(--beige);
}

.journal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 4.5rem) 1.25rem clamp(2rem, 5vw, 3rem);
}

.journal-hero__inner {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin-inline: auto;
}

.journal-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--burgundy);
}

.journal-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.journal-hero__lede {
  margin: 0;
  max-width: 38ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 500;
}

.journal-hero--size {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(176, 141, 87, 0.18), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--beige) 100%);
}

.journal-hero--size .journal-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
}

.journal-hero--ship {
  background: linear-gradient(155deg, var(--ink) 0%, #241c18 55%, var(--burgundy-deep) 100%);
  color: #fff;
}

.journal-hero--ship .journal-hero__eyebrow { color: var(--gold-soft); }
.journal-hero--ship .journal-hero__title { color: #fff; }
.journal-hero--ship .journal-hero__lede { color: rgba(255, 255, 255, 0.84); }

.journal-hero__skyline {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 110px;
  color: rgba(246, 241, 234, 0.08);
  pointer-events: none;
}

.journal-hero__skyline svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ship-threshold {
  margin: 1.5rem 0 0;
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.ship-threshold__label {
  font-size: 0.82rem;
  opacity: 0.8;
}

.ship-threshold__value {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--gold-soft);
}

.journal-body {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  padding-top: 0.5rem;
}

.journal-section {
  margin: 0 0 2rem;
}

.journal-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
}

.journal-section > p {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.journal-section--table .size-chart {
  margin-top: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.journal-section--table .size-chart__title,
.journal-section--table .size-chart__note {
  display: none;
}

.measure-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.measure-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--burgundy);
}

.measure-step__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--beige-deep);
  color: var(--burgundy);
  font-weight: 800;
  font-size: 0.95rem;
}

.measure-step h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.measure-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.journal-tip {
  margin: 0 0 2rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(120deg, rgba(122, 31, 43, 0.08), rgba(176, 141, 87, 0.12));
  border-radius: var(--radius);
  border: 1px solid rgba(122, 31, 43, 0.12);
}

.journal-tip--ship {
  background: var(--beige-deep);
  border-color: var(--line);
}

.journal-tip__label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--burgundy);
}

.journal-tip p:last-child {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
  font-weight: 500;
}

.ship-route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}

.ship-route::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.55rem;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 2px;
  background: linear-gradient(180deg, var(--burgundy), var(--gold));
  opacity: 0.45;
}

.ship-route li {
  position: relative;
  padding-block: 0.85rem;
  padding-inline: 2rem 0;
}

.ship-route__dot {
  position: absolute;
  inset-inline-start: 0.25rem;
  top: 1.15rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--burgundy);
  box-shadow: 0 0 0 4px var(--beige);
}

.ship-route h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.ship-route p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.95rem;
}

.ship-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ship-split__pane {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.ship-split__pane--tehran {
  background: linear-gradient(160deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: #fff;
  border-color: transparent;
}

.ship-split__pane h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.ship-split__pane ul {
  margin: 0;
  padding-inline-start: 1.1rem;
}

.ship-split__pane li {
  margin-bottom: 0.4rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.ship-split__pane--tehran li { color: rgba(255, 255, 255, 0.9); }

.journal-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .ship-split {
    grid-template-columns: 1fr;
  }

  .journal-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Stacked product badges ── */
.card-badges {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.card-badges .badge {
  position: static;
  z-index: auto;
}

.badge--best { background: var(--ink); }

/* ── Shop attribute filters (size / color) ── */
.cloth-filter { margin-bottom: 1.15rem; }

.cloth-filter__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}

.cloth-filter__title::-webkit-details-marker { display: none; }

.cloth-filter__title:hover .cloth-filter__chevron { color: var(--burgundy); }

.cloth-filter__count {
  min-width: 1.35rem;
  height: 1.35rem;
  padding-inline: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.cloth-filter__chevron {
  width: 0.85rem;
  height: 0.85rem;
  margin-inline-start: auto;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease), color 0.2s var(--ease);
}

.cloth-filter__details[open] .cloth-filter__chevron { transform: rotate(180deg); }

.cloth-filter__form { margin-top: 0.55rem; }

.cloth-filter__options {
  display: grid;
  gap: 0.45rem;
}

.cloth-filter__options--color { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cloth-filter__options--size {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

/* Shared chip — visually-hidden checkbox keeps the form's native behavior. */
.cloth-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.cloth-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cloth-chip:hover {
  border-color: rgba(122, 31, 43, 0.35);
  color: var(--ink);
}

.cloth-chip:has(input:focus-visible) {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
}

.cloth-chip__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cloth-chip__check {
  width: 0.8rem;
  height: 0.8rem;
  margin-inline-start: auto;
  flex-shrink: 0;
  color: var(--burgundy);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

/* ── Color: swatch dot + name, 2-up ── */
.cloth-chip--color {
  justify-content: flex-start;
  padding-block: 0.42rem;
}

.cloth-chip__swatch {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--swatch, transparent);
  border: 1px solid rgba(26, 21, 18, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: box-shadow 0.18s var(--ease);
}

/* Unmapped color names → neutral fabric-like pattern. */
.cloth-chip__swatch:not([style]) {
  background: repeating-linear-gradient(45deg, #e0d9cc 0 2px, #f6f1ea 2px 4px);
}

.cloth-chip--color:has(input:checked) {
  border-color: var(--burgundy);
  background: rgba(122, 31, 43, 0.06);
  color: var(--ink);
}

.cloth-chip--color:has(input:checked) .cloth-chip__swatch {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--burgundy);
}

.cloth-chip:has(input:checked) .cloth-chip__check {
  opacity: 1;
  transform: scale(1);
}

/* ── Size: filled pill tiles, 3-up ── */
.cloth-chip--size {
  justify-content: center;
  padding: 0.42rem 0.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
}

.cloth-chip--size .cloth-chip__check { display: none; }

.cloth-chip--size:has(input:checked) {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

.cloth-filter__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.cloth-filter__actions .btn { flex: 1 1 auto; }

.cloth-filter__clear {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: none;
  white-space: nowrap;
}

.cloth-filter__clear:hover { text-decoration: underline; }

/* ── Shop categories filter (custom, widget-factory independent) ── */
.cloth-filter__cats {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.cloth-filter__cats a {
  display: block;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.cloth-filter__cats a:hover {
  background: rgba(122, 31, 43, 0.06);
  color: var(--burgundy);
}

.cloth-filter__cats a.is-active {
  background: var(--burgundy);
  color: #fff;
  font-weight: 700;
}

/* ── Header search suggestions ── */
.header-search { position: relative; }

.header-search__suggest {
  position: absolute;
  top: calc(100% + 0.55rem);
  inset-inline: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 60;
  overflow: hidden;
}

.header-search__suggest[hidden] { display: none; }

.search-suggest__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  text-decoration: none;
}

.search-suggest__item + .search-suggest__item { border-top: 1px solid var(--line); }
.search-suggest__item:hover { background: var(--beige); }

.search-suggest__img {
  width: 46px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.search-suggest__meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.search-suggest__meta strong {
  font-size: 0.9rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggest__meta span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--burgundy);
}

.search-suggest__all {
  display: block;
  text-align: center;
  padding: 0.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
}

.search-suggest__all:hover { background: var(--beige); }

.search-suggest__empty {
  margin: 0;
  padding: 0.9rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ── PDP breadcrumb + trust block ── */
.pdp-breadcrumb { margin-bottom: 1rem; font-size: 0.85rem; }

.pdp-breadcrumb .woocommerce-breadcrumb {
  margin: 0;
  color: var(--ink-soft);
}

.pdp-breadcrumb a {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
}

.pdp-breadcrumb a:hover { text-decoration: underline; }

.pdp-trust {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--beige);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.85rem;
}

.pdp-trust__row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.pdp-trust__ico {
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pdp-trust__row strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.pdp-trust__row p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.82;
}

.pdp-trust__row a {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
}

.pdp-trust__row a:hover { text-decoration: underline; }

.pdp-trust__share {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.pdp-share {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.pdp-share:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

/* ── Out-of-stock waitlist ── */
.stock-wait {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px dashed var(--burgundy);
  border-radius: var(--radius);
}

.stock-wait__title {
  margin: 0 0 0.3rem;
  font-weight: 800;
  color: var(--burgundy);
}

.stock-wait__note {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  opacity: 0.8;
}

.stock-wait__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stock-wait__form input[type="email"] {
  flex: 1 1 200px;
  font: inherit;
  font-family: var(--font);
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--beige);
}

.stock-wait__msg {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.stock-wait__msg.is-ok { color: #2f4a24; }

/* ── Journal archive & search results ── */
.journal-card__date {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}

.journal-card__thumb {
  display: block;
  margin: -1.35rem -1.25rem 1rem;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.journal-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.journal-card__thumb:hover img {
  transform: scale(1.04);
}

/* `the_posts_pagination()` output — same look as shop pagination */
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.pagination .nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.pagination .nav-links .page-numbers.current {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

.pagination .nav-links .page-numbers:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

/* ── Contact page ── */
.contact-page {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.5rem, 4vw, 2.75rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.contact-channels {
  display: grid;
  gap: 0.9rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
}

.contact-card--social {
  background:
    linear-gradient(145deg, #fff 0%, var(--beige-deep) 100%);
  border-color: rgba(122, 31, 43, 0.16);
}

.contact-card__label {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: uppercase;
}

.contact-card__value {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
}

.contact-card__value a {
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 700;
}

.contact-card__value a:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 8px 24px rgba(26, 21, 18, 0.06);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form__note {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  opacity: 0.85;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label > span {
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-family: var(--font);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--beige);
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

.contact-form__message {
  grid-column: 1 / -1;
}

.contact-form__submit {
  justify-self: start;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.contact-errors,
.contact-success {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.contact-errors {
  background: #fdf1f0;
  border: 1px solid rgba(122, 31, 43, 0.25);
  color: var(--burgundy-deep);
}

.contact-errors p {
  margin: 0 0 0.35rem;
}

.contact-errors p:last-child {
  margin-bottom: 0;
}

.contact-success {
  background: #f2f8f0;
  border: 1px solid rgba(96, 128, 78, 0.35);
  color: #2f4a24;
  text-align: center;
}

.contact-success__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.contact-success p {
  margin: 0 0 0.9rem;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════
   Checkout redesign — استایل تهران
   ════════════════════════════════════════════════ */
.checkout-page {
  --cs-gutter: 1.5rem;
}

/* Hero header */
.checkout-hero {
  background:
    radial-gradient(1200px 420px at 88% -10%, rgba(176, 141, 87, 0.16), transparent 60%),
    linear-gradient(135deg, #fffdf9, var(--beige));
  border-bottom: 1px solid var(--line);
  padding: 2.6rem 1.25rem 2.2rem;
}

.checkout-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.checkout-hero__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.checkout-hero__lede {
  margin: 0 0 1.4rem;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Step indicator */
.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checkout-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.65;
}

.checkout-steps__item:not(:last-child)::after {
  content: "";
  margin-inline-start: 1.4rem;
  width: 1.4rem;
  height: 1px;
  background: rgba(26, 21, 18, 0.22);
}

.checkout-steps__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1px solid rgba(26, 21, 18, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
}

.checkout-steps__item.is-current {
  color: var(--burgundy);
  opacity: 1;
}

.checkout-steps__item.is-current .checkout-steps__mark {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

/* Shell + secure ribbon */
.checkout-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1.25rem 3.2rem;
}

.checkout-shell__secure {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(47, 125, 79, 0.08);
  color: #2f6b47;
  font-size: 0.82rem;
  font-weight: 600;
}

.checkout-content > .woocommerce-notices-wrapper {
  margin-bottom: 1.4rem;
}

.checkout-content {
  max-width: none !important;
}

/* Two-column grid */
.cs-checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: var(--cs-gutter);
  align-items: start;
}

.cs-checkout__details,
.cs-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
  box-shadow: 0 10px 30px rgba(26, 21, 18, 0.04);
}

.cs-panel__head {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.cs-panel__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.cs-panel__title {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.cs-panel__hint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* Address form sections */
.cs-checkout__details .woocommerce-billing-fields,
.cs-checkout__details .woocommerce-shipping-fields,
.cs-checkout__details .woocommerce-additional-fields {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.cs-checkout__details h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
}

.cs-checkout__details .woocommerce-shipping-fields {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line);
}

/* Two-column first/last name (Woo floats these; no WC CSS here) */
.cs-checkout form .form-row-first,
.cs-checkout form .form-row-last {
  width: calc(50% - 0.4rem);
  float: inline-start;
  margin: 0 0 1rem;
}

.cs-checkout form .form-row-first {
  margin-inline-end: 0.8rem;
}

.cs-checkout form .form-row-last {
  float: inline-end;
  clear: none;
}

/* Shipping / billing field inputs — refined touch targets */
.cs-checkout .shipping_address .form-row,
.cs-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.cs-checkout .woocommerce-account-fields .form-row,
.cs-checkout .woocommerce-additional-fields__field-wrapper .form-row {
  margin-bottom: 1rem;
}

.cs-checkout .shipping_address label,
.cs-checkout .woocommerce-billing-fields__field-wrapper label,
.cs-checkout .woocommerce-account-fields label {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.cs-checkout .shipping_address label .optional,
.cs-checkout .woocommerce-billing-fields__field-wrapper label .optional {
  margin-inline-start: auto;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
  opacity: 0.7;
}

.cs-checkout .shipping_address label .required,
.cs-checkout .woocommerce-billing-fields__field-wrapper label .required {
  color: var(--burgundy);
}

/* Description under postcode etc. */
.cs-checkout .shipping_address .description {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Generic field inputs scoped to all details sections */
.cs-checkout .shipping_address input.input-text,
.cs-checkout .woocommerce-billing-fields__field-wrapper input.input-text,
.cs-checkout .woocommerce-account-fields input.input-text,
.cs-checkout #billing_phone,
.cs-checkout #billing_email,
.cs-checkout .woocommerce-additional-fields textarea {
  width: 100% !important;
  box-sizing: border-box;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.cs-checkout .shipping_address input.input-text::placeholder,
.cs-checkout .woocommerce-billing-fields__field-wrapper input.input-text::placeholder,
.cs-checkout .woocommerce-account-fields input.input-text::placeholder,
.cs-checkout .woocommerce-additional-fields textarea::placeholder {
  color: rgba(61, 52, 46, 0.5);
}

.cs-checkout .shipping_address input.input-text:hover,
.cs-checkout .woocommerce-billing-fields__field-wrapper input.input-text:hover,
.cs-checkout .woocommerce-account-fields input.input-text:hover {
  border-color: rgba(26, 21, 18, 0.22);
}

.cs-checkout .shipping_address input.input-text:focus,
.cs-checkout .woocommerce-billing-fields__field-wrapper input.input-text:focus,
.cs-checkout .woocommerce-account-fields input.input-text:focus,
.cs-checkout .woocommerce-additional-fields textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

.cs-checkout .shipping_address input.input-text.woocommerce-invalid,
.cs-checkout .woocommerce-billing-fields__field-wrapper input.input-text.woocommerce-invalid,
.cs-checkout .woocommerce-account-fields input.input-text.woocommerce-invalid {
  border-color: var(--burgundy);
}

.cs-checkout__details #ship-to-different-address label {
  font-weight: 700;
  color: var(--ink);
}

/* Sticky order summary */
.cs-checkout__summary {
  position: relative;
}

.cs-summary {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.cs-summary__body #order_review {
  border: 0;
}

/* Review order table */
.cs-summary .woocommerce-checkout-review-order-table {
  border: 0;
  width: 100%;
  border-spacing: 0;
  margin: 0;
  font-size: 0.92rem;
}

.cs-summary .woocommerce-checkout-review-order-table thead {
  display: none;
}

.cs-summary .woocommerce-checkout-review-order-table tbody td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.cs-summary .woocommerce-checkout-review-order-table .cart_item .product-name {
  padding-inline-start: 0;
}

.cs-summary .woocommerce-checkout-review-order-table .product-total {
  text-align: end;
  font-weight: 700;
  white-space: nowrap;
}

.cs-summary .woocommerce-checkout-review-order-table .product-quantity {
  color: var(--burgundy);
}

.cs-summary .woocommerce-checkout-review-order-table .variation {
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.cs-summary .woocommerce-checkout-review-order-table .variation dt {
  float: inline-start;
  clear: left;
  margin-inline-end: 0.3rem;
  font-weight: 600;
}

.cs-summary .woocommerce-checkout-review-order-table .variation dd {
  margin: 0;
}

.cs-summary .woocommerce-checkout-review-order-table tfoot th {
  font-weight: 600;
  color: var(--ink-soft);
  text-align: start;
  padding: 0.55rem 0;
  font-size: 0.85rem;
}

.cs-summary .woocommerce-checkout-review-order-table tfoot td {
  text-align: end;
  padding: 0.55rem 0;
  font-weight: 600;
}

.cs-summary .woocommerce-checkout-review-order-table .order-total th,
.cs-summary .woocommerce-checkout-review-order-table .order-total td {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.cs-summary .woocommerce-checkout-review-order-table .order-total th {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.cs-summary .woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--burgundy);
}

.cs-summary .woocommerce-checkout-review-order-table .shipping a {
  font-size: 0.82rem;
  color: var(--burgundy);
  text-decoration: none;
}

.cs-summary .woocommerce-checkout-review-order-table .shipping a:hover {
  text-decoration: underline;
}

/* Payment block */
.cs-summary .woocommerce-checkout-payment {
  margin-top: 1.2rem;
  background: transparent;
  border-radius: 0;
}

.cs-summary .payment_methods {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
}

.cs-summary .payment_methods li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--beige);
  cursor: pointer;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

.cs-summary .payment_methods li:hover {
  border-color: rgba(122, 31, 43, 0.4);
}

.cs-summary .payment_methods li.payment_method_selected {
  border-color: var(--burgundy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.08);
}

.cs-summary .payment_methods input[type="radio"] {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  border: 1.5px solid rgba(26, 21, 18, 0.35);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.cs-summary .payment_methods input[type="radio"]:hover {
  border-color: var(--burgundy);
}

.cs-summary .payment_methods input[type="radio"]:checked {
  border-color: var(--burgundy);
  box-shadow: inset 0 0 0 0.26rem #fff;
  background: var(--burgundy);
}

.cs-summary .payment_methods input[type="radio"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.2);
}

.cs-summary .payment_methods .payment_box {
  flex: 1 1 100%;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.cs-summary .payment_methods .payment_box p {
  margin: 0;
}

.cs-summary .payment_methods .payment_method_label {
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Place order */
.cs-summary .form-row place-order,
.cs-summary .place-order {
  margin: 0;
  padding: 0;
}

.cs-summary .place-order .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.cs-summary .place-order .woocommerce-terms-and-conditions-wrapper a {
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 600;
}

.cs-summary .place-order .woocommerce-terms-and-conditions-wrapper a:hover {
  text-decoration: underline;
}

.cs-summary .place-order input[type="submit"],
.cs-summary #place_order,
.cs-summary .place-order .button {
  font-family: var(--font) !important;
  width: 100%;
  border-radius: 999px !important;
  padding: 0.95rem 1.25rem !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  background: var(--burgundy) !important;
  color: #fff !important;
  border: 0 !important;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.cs-summary .place-order input[type="submit"]:hover,
.cs-summary #place_order:hover {
  background: var(--burgundy-deep) !important;
  transform: translateY(-1px);
}

/* Trust note under button */
.cs-summary .place-order .cs-order-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

/* Coupon + order notes inputs */
.cs-checkout .woocommerce-remove-coupon,
.cs-checkout .woocommerce-additional-fields h3 {
  font-size: 0.9rem;
}

/* ── Coupon (checkout) redesign ── */
.cs-coupon-toggle {
  margin: 0 0 1.25rem;
}

.cs-coupon-toggle__btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.85rem 1.05rem;
  border: 1px dashed rgba(122, 31, 43, 0.4);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #fff8f2);
  color: var(--ink);
  font: inherit;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.cs-coupon-toggle__btn:hover {
  border-color: var(--burgundy);
  box-shadow: 0 6px 20px rgba(122, 31, 43, 0.08);
}

.cs-coupon-toggle__ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(176, 141, 87, 0.18);
  color: var(--burgundy);
}

.cs-coupon-toggle__btn strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.cs-coupon-toggle__hint {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.cs-coupon-toggle__arrow {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  color: var(--burgundy);
  transition: transform 0.25s var(--ease);
}

.cs-coupon-toggle__btn[aria-expanded="true"] .cs-coupon-toggle__arrow {
  transform: rotate(180deg);
}

/* Coupon input form — jQuery slideToggle sets inline display:block, so
   lay the input/button out with inline-flow instead of flex on the form. */
.cs-coupon-form {
  margin: 0.1rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 21, 18, 0.05);
  overflow: hidden;
}

.cs-coupon-form__input {
  box-sizing: border-box;
  width: calc(100% - 8.25rem);
  margin: 0;
  min-height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 10px 0 0 10px;
  padding: 0.7rem 1rem;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.cs-coupon-form__input::placeholder {
  color: rgba(61, 52, 46, 0.5);
}

.cs-coupon-form__input:focus {
  outline: none;
  border-color: var(--burgundy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

.cs-coupon-form__apply {
  font-family: var(--font) !important;
  display: inline-block;
  vertical-align: top;
  width: 8rem;
  height: 2.9rem;
  margin: 0;
  border-radius: 0 10px 10px 0 !important;
  padding: 0 1.1rem !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  background: var(--burgundy) !important;
  color: #fff !important;
  border: 0 !important;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.18s var(--ease);
}

.cs-coupon-form__apply:hover {
  background: var(--burgundy-deep) !important;
}

/* RTL: input on the right, button on the left */
html[dir="rtl"] .cs-coupon-form__input {
  border-radius: 0 10px 10px 0;
}

html[dir="rtl"] .cs-coupon-form__apply {
  float: left;
  width: 8rem;
  border-radius: 10px 0 0 10px !important;
}

@media (max-width: 480px) {
  .cs-coupon-form__input {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 0.6rem;
  }

  html[dir="rtl"] .cs-coupon-form__input {
    border-radius: 10px;
  }

  .cs-coupon-form__apply,
  html[dir="rtl"] .cs-coupon-form__apply {
    float: none;
    width: 100%;
    border-radius: 10px !important;
  }
}

.cs-checkout .woocommerce-additional-fields textarea {
  width: 100% !important;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
}

.cs-checkout .woocommerce-additional-fields textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

/* Form-row fields inside checkout */
.cs-checkout form .form-row {
  padding: 0;
  margin-bottom: 0.95rem;
}

.cs-checkout form .form-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.cs-checkout form .form-row input.input-text,
.cs-checkout form .form-row textarea,
.cs-checkout #billing_phone,
.cs-checkout #billing_email {
  width: 100% !important;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cs-checkout form .form-row input.input-text:focus,
.cs-checkout form .form-row textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.12);
}

/* Form validation */
.cs-checkout form .form-row.validate-required.woocommerce-invalid {
  color: var(--ink);
}

.cs-checkout form .form-row.validate-required.woocommerce-invalid .input-text {
  border-color: var(--burgundy);
}

/* Shipping method radios in the review (remove list bullets + nice radios) */
.cs-summary .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-summary .woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.45rem;
  line-height: 1.6;
}

.cs-summary .woocommerce-shipping-methods li:last-child {
  margin-bottom: 0;
}

/* The label holds only the method text; keep radio + text on one line. */
.cs-summary .woocommerce-shipping-methods label {
  display: inline-block;
  cursor: pointer;
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
  flex: 1 1 auto;
}

/* Custom radio dot */
.cs-summary .woocommerce-shipping-methods input[type="radio"] {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  border: 1.5px solid rgba(26, 21, 18, 0.35);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.cs-summary .woocommerce-shipping-methods input[type="radio"]:hover {
  border-color: var(--burgundy);
}

.cs-summary .woocommerce-shipping-methods input[type="radio"]:checked {
  border-color: var(--burgundy);
  border-width: 1.5px;
  box-shadow: inset 0 0 0 0.28rem #fff;
  background: var(--burgundy);
}

.cs-summary .woocommerce-shipping-methods input[type="radio"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(122, 31, 43, 0.2);
}

.cs-summary .woocommerce-shipping-methods input[type="radio"] + label {
  display: inline;
  vertical-align: middle;
}

.cs-summary .woocommerce-shipping-methods .woocommerce-Price-amount {
  font-weight: 700;
}

@media (max-width: 980px) {
  .cs-checkout__grid {
    grid-template-columns: 1fr;
  }

  .cs-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .checkout-hero {
    padding: 1.9rem 1rem 1.6rem;
  }

  .checkout-shell {
    padding-inline: 0.85rem;
  }

  .cs-checkout__details,
  .cs-summary {
    padding: 1rem;
  }

  .checkout-steps {
    gap: 0 0.9rem;
  }

  .checkout-steps__item:not(:last-child)::after {
    margin-inline-start: 0.9rem;
    width: 0.9rem;
  }
}

/* ════════════════════════════════════════════════
   Order confirmation (order-received / order-pay)
   ════════════════════════════════════════════════ */
.order-confirm-page {
  --cs-gutter: 1.5rem;
}

.order-confirm-hero {
  background:
    radial-gradient(1100px 420px at 50% -10%, rgba(47, 125, 79, 0.1), transparent 60%),
    linear-gradient(135deg, #fffdf9, var(--beige));
  border-bottom: 1px solid var(--line);
  padding: 2.6rem 1.25rem 2.2rem;
  text-align: center;
}

.order-confirm-hero__inner {
  max-width: 640px;
  margin: 0 auto;
}

.order-confirm-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(122, 31, 43, 0.25);
  margin-bottom: 0.9rem;
}

.order-confirm-hero__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.order-confirm-hero__lede {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.order-confirm-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 3.2rem;
}

.order-confirm-content {
  max-width: none !important;
}

/* Thank-you success card (message) */
.cs-thankyou {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(26, 21, 18, 0.05);
}

.cs-thankyou--failed {
  padding: 2rem;
  text-align: center;
}

.cs-thankyou__badge--fail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(122, 31, 43, 0.12);
  color: var(--burgundy);
  margin-bottom: 1rem;
}

.cs-thankyou__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.cs-thankyou__text {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
}

.cs-thankyou__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

/* Success confirmation message box */
.woocommerce-order > .woocommerce-thankyou-order-received {
  margin: 0 0 1.4rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(47, 125, 79, 0.3);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

/* Order overview card row */
.cs-thankyou-overview {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
}

.cs-thankyou-overview__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
  padding: 1.1rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  min-width: 0;
  min-height: 0;
  overflow-wrap: anywhere;
  overflow: hidden;
}

.cs-thankyou-overview__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--beige-deep);
  color: var(--burgundy);
  margin-bottom: 0.2rem;
}

.cs-thankyou-overview__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.cs-thankyou-overview__value {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.45;
}

/* Order details section */
.woocommerce-order .woocommerce-order-details {
  margin-top: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
  box-shadow: 0 10px 30px rgba(26, 21, 18, 0.04);
}

.woocommerce-order .woocommerce-order-details__title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.woocommerce-order .woocommerce-table--order-details {
  width: 100%;
  border: 0;
  border-spacing: 0;
  font-size: 0.92rem;
}

.woocommerce-order .woocommerce-table--order-details thead th {
  text-align: start;
  padding: 0 0 0.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.woocommerce-order .woocommerce-table--order-details td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.woocommerce-order .woocommerce-table--order-details .product-total,
.woocommerce-order .woocommerce-table--order-details td:last-child {
  text-align: end;
  white-space: nowrap;
}

.woocommerce-order .woocommerce-table--order-details tfoot th {
  text-align: start;
  padding: 0.55rem 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.woocommerce-order .woocommerce-table--order-details tfoot td {
  text-align: end;
  padding: 0.55rem 0;
  font-weight: 600;
}

.woocommerce-order .woocommerce-table--order-details a {
  color: var(--burgundy);
  text-decoration: none;
}

.woocommerce-order .woocommerce-table--order-details a:hover {
  text-decoration: underline;
}

.woocommerce-order .woocommerce-customer-details {
  margin-top: 1.2rem;
}

/* Delivery address card */
.cs-delivery-address {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 30px rgba(26, 21, 18, 0.04);
}

.cs-delivery-address__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.cs-delivery-address__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--beige-deep);
  color: var(--burgundy);
}

.cs-delivery-address__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.cs-delivery-address__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.7;
  min-width: 0;
}

.cs-delivery-address__lines {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cs-delivery-address__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.cs-delivery-address__meta svg {
  flex: 0 0 auto;
  color: var(--burgundy);
}

.cs-delivery-address__meta span {
  overflow-wrap: anywhere;
  word-break: break-word;
  direction: ltr;
  unicode-bidi: embed;
}

.woocommerce-order .woocommerce-customer-details .woocommerce-column {
  margin: 0;
}

.order-confirm-note {
  margin: 1.4rem 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.order-confirm-note a {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
}

.order-confirm-note a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .order-confirm-hero {
    padding: 2rem 1rem 1.8rem;
  }

  .order-confirm-shell {
    padding-inline: 0.9rem;
  }
}

/* Login prompt when viewing another customer's order */
.order-confirm-content form.login,
.order-confirm-content .woocommerce-form--login {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(26, 21, 18, 0.04);
}

/* ════════════════════════════════════════════════
   New sections — UGC social strip, FAQ, map, wishlist
   ════════════════════════════════════════════════ */

/* Section eyebrow/lede (front page subheads) */
.section__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--burgundy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.section__lede {
  margin: 0.4rem 0 0;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.section__head.has-cta .section__lede {
  max-width: 52ch;
}

/* Instagram / UGC gallery */
.ugc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.ugc-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--beige-deep);
  box-shadow: 0 6px 18px rgba(26, 21, 18, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ugc-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 21, 18, 0.14);
}

.ugc-tile__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s var(--ease);
}

.ugc-tile:hover .ugc-tile__media {
  transform: scale(1.06);
}

.ugc-tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 21, 18, 0) 45%, rgba(26, 21, 18, 0.55) 100%);
}

.ugc-tile__alt {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.5rem 0.6rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.ugc-tile:hover .ugc-tile__alt {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .ugc-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 560px) {
  .ugc-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}

/* FAQ accordion groups */
.faq-group {
  margin-bottom: 2.25rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}

.faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__a {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 0.96rem;
}

.faq-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.faq-cta .text-link {
  align-self: center;
  margin-inline-start: 0.25rem;
}

/* Store location map */
.contact-map {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.contact-map__title {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
}

.contact-map__note {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-map__note--small {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.contact-map__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 21, 18, 0.08);
  border: 1px solid var(--line);
}

.contact-map__frame iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

/* Wishlist toolbar (add all to cart) */
.wishlist-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26, 21, 18, 0.04);
}

.wishlist-toolbar__count {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.wishlist-toolbar__hint {
  margin: 0 0 0 auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burgundy);
}

/* Archive breadcrumb */
.archive-breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.archive-breadcrumb__sep {
  opacity: 0.5;
}
