:root {
  --hairvina-shadow: 0 18px 55px rgba(44, 20, 30, 0.1);
  --hairvina-radius: 0.5rem;
  --hairvina-section-pad: clamp(4rem, 8vw, 7.5rem);
}

/* Compact language selector shared by desktop and mobile headers. */
.hairvina-language-switcher {
  position: relative;
  z-index: 100005;
  flex: 0 0 auto;
  color: #342d30;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
}

.hairvina-language-switcher__trigger {
  display: inline-flex;
  min-width: 4.8rem;
  min-height: 2rem;
  padding: 0.34rem 0.55rem;
  border: 1px solid #ead3dc;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  color: #30282c;
  background: #fff;
  box-shadow: 0 0.22rem 0.65rem rgba(88, 47, 62, 0.06);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hairvina-language-switcher__trigger:hover,
.hairvina-language-switcher__trigger:focus-visible,
.hairvina-language-switcher__trigger[aria-expanded="true"] {
  border-color: #d783a3;
  box-shadow: 0 0.35rem 0.9rem rgba(141, 57, 88, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.hairvina-language-switcher__trigger svg {
  width: 0.7rem;
  height: 0.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  transition: transform 180ms ease;
}

.hairvina-language-switcher__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.hairvina-language-switcher__flag {
  display: inline-flex;
  width: 1.35rem;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.hairvina-language-switcher__menu {
  position: absolute;
  z-index: 100006;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 12rem;
  padding: 0.45rem;
  border: 1px solid #eadce1;
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 1rem 2.7rem rgba(56, 32, 41, 0.17);
}

.hairvina-language-switcher__menu[hidden] {
  display: none !important;
}

.hairvina-language-switcher__option {
  display: flex;
  width: 100%;
  min-height: 2.55rem;
  padding: 0.52rem 0.65rem;
  border: 0;
  border-radius: 0.42rem;
  align-items: center;
  gap: 0.65rem;
  color: #2f282b;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  text-align: left;
}

.hairvina-language-switcher__option:hover,
.hairvina-language-switcher__option:focus-visible,
.hairvina-language-switcher__option[aria-checked="true"] {
  color: #a72b58;
  background: #fff1f6;
  outline: none;
}

.hairvina-google-translate {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

body {
  top: 0 !important;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt {
  display: none !important;
}

@media (max-width: 782px) {
  .hairvina-language-switcher__trigger {
    min-width: 4.35rem;
    min-height: 1.8rem;
    padding: 0.28rem 0.48rem;
  }

  .hairvina-language-switcher__menu {
    width: min(12rem, calc(100vw - 1.5rem));
  }
}

/* Blog sidebar product cards: preserve full titles and align the rating with the CTA. */
body .hairvina-blog-products-widget .hairvina-blog-product {
  display: grid !important;
  grid-template-columns: 7.25rem minmax(0, 1fr) !important;
  align-items: stretch !important;
  min-height: 9rem !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__media {
  width: 100% !important;
  height: 100% !important;
  min-height: 9rem !important;
  align-self: stretch !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product > div:last-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto 1fr auto !important;
  column-gap: .7rem !important;
  row-gap: .6rem !important;
  min-width: 0 !important;
  padding: .9rem .95rem !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product h4 {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  font-size: .88rem !important;
  line-height: 1.32 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating {
  grid-column: 1 !important;
  grid-row: 3 !important;
  align-self: center !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product > div:last-child > p:last-child {
  display: flex !important;
  grid-column: 2 !important;
  grid-row: 3 !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 0 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  gap: .16rem .35rem !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating__stars {
  white-space: nowrap !important;
  font-size: .77rem !important;
  line-height: 1 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating__text {
  font-size: .58rem !important;
  line-height: 1.2 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__link {
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 0 !important;
  padding: .48rem .72rem !important;
  white-space: nowrap !important;
  font-size: .67rem !important;
  line-height: 1 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__link:hover,
body .hairvina-blog-products-widget .hairvina-blog-product__link:focus-visible {
  transform: translateY(-2px) !important;
  background: #c45f89 !important;
  color: #fff !important;
  box-shadow: 0 .45rem 1rem rgba(178, 77, 119, .2) !important;
}

@media (max-width: 600px) {
  body .hairvina-blog-products-widget .hairvina-blog-product {
    grid-template-columns: 6.25rem minmax(0, 1fr) !important;
    min-height: 8.5rem !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product__media {
    min-height: 8.5rem !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product > div:last-child {
    padding: .8rem !important;
    column-gap: .5rem !important;
  }
}

/* Dynamic homepage category and product carousels. */
.hairvina-carousel-section {
  position: relative;
  width: min(100%, var(--wp--style--global--wide-size));
  margin-inline: auto;
}

.hairvina-carousel-section__title {
  margin: 0 0 clamp(1.75rem, 4vw, 3rem);
  text-align: center;
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.hairvina-carousel {
  position: relative;
  width: 100%;
  padding-bottom: 2.2rem;
}

.hairvina-carousel__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  touch-action: pan-x pan-y;
}

.hairvina-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.hairvina-carousel__track {
  display: flex;
  gap: clamp(0.8rem, 1.8vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hairvina-carousel__slide {
  flex: 0 0 calc((100% - 4.5rem) / 4);
  min-width: 0;
  scroll-snap-align: start;
}

.hairvina-carousel--products .hairvina-carousel__slide {
  flex-basis: calc((100% - 6rem) / 5);
}

.hairvina-carousel__arrow {
  position: absolute;
  z-index: 4;
  top: calc(50% - 1.9rem);
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(60, 48, 53, 0.16);
  border-radius: 50%;
  color: #4b4548;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(40, 20, 28, 0.12);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}

.hairvina-carousel__arrow span {
  font-size: 2rem;
  line-height: 1;
}

.hairvina-carousel__arrow--previous {
  left: -1.35rem;
}

.hairvina-carousel__arrow--next {
  right: -1.35rem;
}

.hairvina-carousel__arrow:disabled {
  cursor: default;
  opacity: 0.28;
}

.hairvina-carousel__dots {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.hairvina-carousel__dots button {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d6d2d4;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.hairvina-carousel__dots button.is-active {
  background: var(--wp--preset--color--accent);
  transform: scale(1.16);
}

.hairvina-category-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(40, 20, 28, 0.08);
}

.hairvina-category-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hairvina-category-card__media {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f6f3f4;
  place-items: center;
}

.hairvina-category-card__image,
.hairvina-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.hairvina-category-card__placeholder {
  padding: 1rem;
  color: #8a7c82;
  text-align: center;
  font-size: 0.82rem;
}

.hairvina-category-card__title {
  display: block;
  min-height: 3.4rem;
  padding: 1rem 0.8rem;
  color: #fff;
  background: var(--wp--preset--color--accent);
  text-align: center;
  font-weight: 700;
}

.hairvina-carousel--products .hairvina-product-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0.7rem;
}

.hairvina-carousel--products .hairvina-product-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f6f3f4;
}

.hairvina-carousel--products .hairvina-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.hairvina-carousel--products .hairvina-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 0.9rem 0.85rem 1.1rem;
  text-align: center;
}

.hairvina-carousel--products .hairvina-product-card__category {
  margin: 0 0 0.45rem !important;
  font-size: 0.68rem;
}

.hairvina-carousel--products .hairvina-product-card__body h3 {
  margin: 0 0 1rem;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.94rem;
  line-height: 1.45;
}

.hairvina-carousel--products .hairvina-product-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.hairvina-product-card__button {
  margin-top: auto;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--wp--preset--color--accent);
  border-radius: var(--wp--custom--hairvina--button--radius);
  color: var(--wp--preset--color--accent);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}

.hairvina-product-card__button:hover,
.hairvina-product-card__button:focus-visible {
  color: #fff;
  background: var(--wp--preset--color--accent);
}

.hairvina-dynamic-empty {
  box-sizing: border-box;
  width: min(100%, 52rem);
  margin: 1.5rem auto;
  padding: 1rem 1.25rem;
  border: 1px dashed #efb3c7;
  color: #6d5260;
  background: #fff9fb;
  text-align: center;
}

/* Subtle flowing-strand backdrop for the homepage (CSS only, no hotlinked art). */
body.home .hairvina-about,
body.home .hairvina-categories,
body.home .hairvina-product-showcase,
body.home .hairvina-staff,
body.home .hairvina-blog,
body.home .hairvina-inquiry {
  background-image:
    radial-gradient(130% 52% at 8% -12%, transparent 61.4%, rgba(239, 63, 118, 0.055) 61.8%, transparent 62.25%),
    radial-gradient(118% 58% at 73% 112%, transparent 60.6%, rgba(191, 100, 137, 0.05) 61%, transparent 61.5%),
    radial-gradient(105% 47% at 44% -5%, transparent 67%, rgba(239, 63, 118, 0.035) 67.45%, transparent 67.9%),
    linear-gradient(135deg, rgba(255, 248, 251, 0.75), rgba(255, 255, 255, 0.82));
  background-position: center;
  background-size: 100% 100%, 100% 100%, 100% 100%, auto;
}

body.home .hairvina-product-showcase,
body.home .hairvina-blog {
  background-image:
    radial-gradient(128% 54% at 92% -8%, transparent 62.2%, rgba(239, 63, 118, 0.06) 62.6%, transparent 63.05%),
    radial-gradient(115% 56% at 20% 108%, transparent 59.8%, rgba(191, 100, 137, 0.045) 60.2%, transparent 60.7%),
    linear-gradient(125deg, rgba(255, 244, 248, 0.88), rgba(255, 255, 255, 0.9));
}

body.home .hairvina-feature-card,
body.home .hairvina-category-card,
body.home .hairvina-carousel--products .hairvina-product-card,
body.home .hairvina-post-card {
  box-shadow: 0 12px 32px rgba(105, 45, 68, 0.095);
}

/* Category cards: alternate gallery image and quick-view style overlay. */
.hairvina-product-card__image .wc-block-components-product-image {
  position: relative;
  overflow: hidden;
}

.hairvina-product-card__image .wc-block-components-product-image::after {
  content: "VIEW PRODUCT";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.65rem;
  color: #fff;
  background: rgba(239, 63, 118, 0.94);
  text-align: center;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 260ms ease;
}

.hairvina-product-card__image .wc-block-components-product-image > img,
.hairvina-product-card__image .wc-block-components-product-image > a > img {
  position: relative;
  z-index: 1;
  transition: opacity 320ms ease, transform 420ms ease;
}

.hairvina-product-card__secondary-image {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transition: opacity 320ms ease, transform 420ms ease;
  transform: scale(1.015);
}

@media (hover: hover) {
  .hairvina-category-card:hover .hairvina-category-card__image,
  .hairvina-category-card:focus-within .hairvina-category-card__image,
  .hairvina-carousel--products .hairvina-product-card:hover .hairvina-product-card__image,
  .hairvina-carousel--products .hairvina-product-card:focus-within .hairvina-product-card__image,
  .hairvina-blog-card:hover .hairvina-blog-card__image img,
  .hairvina-blog-card:focus-within .hairvina-blog-card__image img {
    transform: scale(1.055);
  }

  .hairvina-product-card:hover .wc-block-components-product-image::after,
  .hairvina-product-card:focus-within .wc-block-components-product-image::after {
    transform: translateY(0);
  }

  .hairvina-product-card:hover .hairvina-product-card__secondary-image,
  .hairvina-product-card:focus-within .hairvina-product-card__secondary-image {
    opacity: 1;
    transform: scale(1.055);
  }

  .hairvina-product-card:hover .hairvina-product-card__image .wc-block-components-product-image > img,
  .hairvina-product-card:hover .hairvina-product-card__image .wc-block-components-product-image > a > img,
  .hairvina-product-card:focus-within .hairvina-product-card__image .wc-block-components-product-image > img,
  .hairvina-product-card:focus-within .hairvina-product-card__image .wc-block-components-product-image > a > img {
    opacity: 0;
    transform: scale(1.055);
  }
}

/* Unified product and editorial search ------------------------------------ */
.hairvina-header-search {
  width: clamp(9.5rem, 15vw, 14.5rem);
  flex: 0 1 14.5rem;
}

.hairvina-search-form {
  display: flex;
  width: 100%;
  align-items: stretch;
  gap: 0.45rem;
}

.hairvina-search-form__field {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
}

.hairvina-search-form__field > svg {
  position: absolute;
  z-index: 1;
  left: 0.82rem;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: #8f7580;
  stroke-linecap: round;
  stroke-width: 1.7;
  pointer-events: none;
}

.hairvina-search-form input[type="search"] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 2.7rem;
  margin: 0;
  padding: 0.65rem 0.8rem 0.65rem 2.35rem;
  border: 1px solid #e8d8de;
  border-radius: 999px;
  outline: 0;
  color: #2b2326;
  background: #fff;
  font-family: inherit;
  font-size: 0.76rem;
  line-height: 1;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  -webkit-appearance: none;
}

.hairvina-search-form input[type="search"]:focus {
  border-color: #d53b70;
  box-shadow: 0 0 0 3px rgba(213, 59, 112, 0.11);
}

.hairvina-search-form button {
  display: inline-flex;
  min-width: 2.7rem;
  height: 2.7rem;
  margin: 0;
  padding: 0 0.92rem;
  border: 1px solid #b52f5e;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #b52f5e;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.hairvina-search-form button:hover,
.hairvina-search-form button:focus-visible {
  background: #8f2148;
  transform: translateY(-1px);
}

.hairvina-search-form button svg {
  display: none;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.hairvina-search-form--header {
  gap: 0.3rem;
}

.hairvina-search-form--header button {
  width: 2.7rem;
  padding: 0;
}

.hairvina-search-form--header .hairvina-search-form__button-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hairvina-search-form--header button svg {
  display: block;
}

.hairvina-search-page {
  color: #272023;
  background: #fff;
}

.hairvina-search-hero {
  padding: clamp(3.6rem, 7vw, 6.4rem) max(1.25rem, env(safe-area-inset-left));
  border-bottom: 1px solid #f1e2e7;
  background: radial-gradient(circle at 18% 20%, rgba(239, 71, 125, 0.08), transparent 28rem), linear-gradient(135deg, #fff9fb 0%, #fff 72%);
}

.hairvina-search-hero__eyebrow {
  margin: 0 0 0.65rem;
  color: #b52f5e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.hairvina-search-hero h2 {
  max-width: 14ch;
  margin: 0 auto;
  color: #32272b;
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hairvina-search-hero > p:last-child {
  max-width: 43rem;
  margin: 1rem auto 0;
  color: #72666b;
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  line-height: 1.7;
}

.hairvina-search-content {
  box-sizing: border-box;
  width: min(100% - 2.5rem, 80rem) !important;
  margin-inline: auto !important;
  padding: clamp(2.25rem, 5vw, 4.75rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.hairvina-search-panel {
  max-width: 47rem;
  margin: 0 auto 2.3rem;
  padding: 0.65rem;
  border: 1px solid #eadde2;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.9rem 2.5rem rgba(74, 40, 52, 0.08);
}

.hairvina-search-form--results {
  gap: 0.65rem;
}

.hairvina-search-form--results input[type="search"] {
  height: 3.25rem;
  border-color: transparent;
  border-radius: 0.72rem;
  background: #fbf8f9;
  font-size: 0.9rem;
}

.hairvina-search-form--results button {
  height: 3.25rem;
  min-width: 7.3rem;
  border-radius: 0.72rem;
}

.hairvina-search-summary {
  display: grid;
  margin-bottom: clamp(2.6rem, 5vw, 4.5rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #eadde2;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.4rem;
}

.hairvina-search-summary > div > p {
  margin: 0 0 0.3rem;
  color: #9a858d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hairvina-search-summary h1 {
  margin: 0;
  color: #34292d;
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hairvina-search-summary nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.hairvina-search-summary nav a {
  display: inline-flex;
  min-height: 2.65rem;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
  border: 1px solid #eadde2;
  border-radius: 999px;
  align-items: center;
  gap: 0.7rem;
  color: #54484d;
  background: #fff;
  font-size: 0.77rem;
  font-weight: 700;
  text-decoration: none;
}

.hairvina-search-summary nav strong {
  display: grid;
  min-width: 1.75rem;
  height: 1.75rem;
  padding-inline: 0.3rem;
  border-radius: 999px;
  color: #fff;
  background: #b52f5e;
  place-items: center;
}

.hairvina-search-section + .hairvina-search-section {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.hairvina-search-section > header {
  display: flex;
  margin-bottom: 1.45rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #e8dce1;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.hairvina-search-section__eyebrow {
  margin: 0 0 0.3rem;
  color: #c03565;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hairvina-search-section h2 {
  margin: 0;
  color: #30272a;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hairvina-search-section > header > span {
  color: #8c7e83;
  font-size: 0.76rem;
}

.hairvina-search-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.4rem);
}

.hairvina-search-product {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee3e7;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 0.45rem 1.25rem rgba(69, 38, 49, 0.045);
}

.hairvina-search-product__media,
.hairvina-search-product__image {
  position: relative;
  margin: 0;
}

.hairvina-search-product__image.hairvina-card-media {
  aspect-ratio: 1 / 1.06;
  overflow: hidden;
  background: #fbf3f6;
}

.hairvina-search-product__image .hairvina-card-media__link,
.hairvina-search-product__image img {
  width: 100%;
  height: 100%;
}

.hairvina-search-product__image img {
  object-fit: cover;
}

.hairvina-search-product__body {
  padding: 1rem 1rem 1.2rem;
  text-align: left;
}

.hairvina-search-product__body > p {
  margin: 0 0 0.45rem;
  color: #9a858d;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hairvina-search-product h3 {
  min-height: 2.8em;
  margin: 0 0 1rem;
  font-size: clamp(0.88rem, 1.35vw, 1rem);
  font-weight: 650;
  line-height: 1.4;
}

.hairvina-search-product h3 a,
.hairvina-search-article h3 a {
  color: #30272a;
  text-decoration: none;
}

.hairvina-search-product__link,
.hairvina-search-article__link,
.hairvina-search-section__empty a,
.hairvina-search-empty > a {
  display: inline-flex;
  align-items: center;
  color: #b52f5e;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.hairvina-search-product__link {
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #da4779;
  border-radius: 0.35rem;
}

.hairvina-search-articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
}

.hairvina-search-article {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee3e7;
  border-radius: 0.8rem;
  background: #fff;
  grid-template-columns: minmax(8rem, 42%) minmax(0, 1fr);
}

.hairvina-search-article__media {
  display: block;
  min-height: 13rem;
  overflow: hidden;
  background: #f8eef2;
}

.hairvina-search-article__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.hairvina-search-article:hover .hairvina-search-article__media img {
  transform: scale(1.035);
}

.hairvina-search-article__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 13rem;
  color: #bd4a70;
  background: linear-gradient(145deg, #fff8fa, #f4dce5);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  place-items: center;
}

.hairvina-search-article__body {
  padding: clamp(1rem, 2.3vw, 1.5rem);
}

.hairvina-search-article__meta {
  margin: 0 0 0.55rem;
  color: #a18f96;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

.hairvina-search-article h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.34;
}

.hairvina-search-article__excerpt {
  margin: 0 0 1rem;
  color: #6f6468;
  font-size: 0.78rem;
  line-height: 1.65;
}

.hairvina-search-section__empty,
.hairvina-search-empty {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px dashed #e1cbd4;
  border-radius: 0.85rem;
  text-align: center;
  background: #fffafb;
}

.hairvina-search-section__empty p,
.hairvina-search-empty p {
  margin: 0 0 1rem;
  color: #75696e;
}

.hairvina-search-empty h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

@media (max-width: 1120px) and (min-width: 783px) {
  .hairvina-header-main__inner { gap: 0.65rem !important; }
  .hairvina-header-search { width: 8.75rem; flex-basis: 8.75rem; }
  .hairvina-search-form--header input[type="search"] { font-size: 0.68rem; }
  .hairvina-search-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
  .hairvina-header-main__inner { flex-wrap: wrap !important; row-gap: 0 !important; }
  .hairvina-brand-logo { order: 1; }
  .hairvina-primary-navigation { order: 2; }
  .hairvina-header-search {
    box-sizing: border-box;
    width: 100%;
    padding: 0.35rem 0 0.7rem;
    flex: 0 0 100%;
    order: 3;
  }
  .hairvina-search-form--header input[type="search"] { height: 2.5rem; font-size: 0.78rem; }
  .hairvina-search-form--header button { width: 2.5rem; min-width: 2.5rem; height: 2.5rem; }
  .hairvina-search-hero { padding-block: 2.8rem; }
  .hairvina-search-content { width: min(100% - 1.5rem, 80rem) !important; padding-top: 1.6rem; }
  .hairvina-search-panel { margin-bottom: 1.7rem; padding: 0.45rem; }
  .hairvina-search-form--results { gap: 0.4rem; }
  .hairvina-search-form--results input[type="search"],
  .hairvina-search-form--results button { height: 2.9rem; }
  .hairvina-search-form--results button { min-width: 3rem; width: 3rem; padding: 0; }
  .hairvina-search-form--results .hairvina-search-form__button-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .hairvina-search-form--results button svg { display: block; }
  .hairvina-search-summary { display: block; margin-bottom: 2.5rem; }
  .hairvina-search-summary nav { margin-top: 1.1rem; justify-content: flex-start; }
  .hairvina-search-section > header { align-items: center; }
  .hairvina-search-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .hairvina-search-product__body { padding: 0.72rem 0.72rem 0.9rem; }
  .hairvina-search-product h3 { min-height: 3.95em; margin-bottom: 0.7rem; font-size: 0.78rem; line-height: 1.32; }
  .hairvina-search-product__link { min-height: 2rem; padding: 0.35rem 0.5rem; font-size: 0.58rem; }
  .hairvina-search-articles { grid-template-columns: 1fr; }
  .hairvina-search-article { grid-template-columns: 8.75rem minmax(0, 1fr); }
  .hairvina-search-article__media,
  .hairvina-search-article__fallback { min-height: 10.5rem; }
  .hairvina-search-article__excerpt { display: none; }
}

/* Home company cards: the visible label and the whole card open the intended page. */
.hairvina-feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.8rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hairvina-feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}

.hairvina-feature-card__link::after {
  content: "→";
  color: #b42f60;
  transition: transform 180ms ease;
}

.hairvina-feature-card__link::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
}

.hairvina-feature-card:hover,
.hairvina-feature-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 0.9rem 2rem rgba(83, 39, 57, 0.14);
}

.hairvina-feature-card:hover .hairvina-feature-card__link::after,
.hairvina-feature-card:focus-within .hairvina-feature-card__link::after {
  transform: translateX(0.2rem);
}

@media (max-width: 420px) {
  .hairvina-search-summary nav a { min-height: 2.45rem; padding-left: 0.8rem; font-size: 0.69rem; }
  .hairvina-search-article { grid-template-columns: 7.4rem minmax(0, 1fr); }
  .hairvina-search-article__body { padding: 0.85rem; }
  .hairvina-search-article h3 { font-size: 0.91rem; }
}

.hairvina-carousel__slide.is-active .hairvina-category-card__image,
.hairvina-carousel__slide.is-active .hairvina-product-card__image {
  transform: scale(1.035);
}

.hairvina-product-card:active .wc-block-components-product-image::after {
  transform: translateY(0);
}

.hairvina-product-card:active .hairvina-product-card__secondary-image {
  opacity: 1;
  transform: scale(1.04);
}

/* Shared WooCommerce card media: first gallery image on hover plus a genuine
 * quick-view dialog trigger. This is used by home, shop, categories, and the
 * related-products carousel. */
.hairvina-card-media {
  position: relative;
  overflow: hidden;
  background: #f8f3f5;
}

.hairvina-card-media__link {
  display: block;
  width: 100%;
  height: 100%;
}

.hairvina-card-primary-image,
.hairvina-card-secondary-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 340ms ease, transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hairvina-card-secondary-image {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.025);
}

.hairvina-card-quick-view {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 2.45rem;
  padding: 0.65rem 0.8rem;
  border: 0;
  color: #fff;
  background: rgba(239, 63, 118, 0.96);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 240ms ease, background-color 180ms ease, transform 260ms ease;
}

.hairvina-card-quick-view:hover,
.hairvina-card-quick-view:focus-visible {
  background: #d92e68;
  outline: 2px solid #fff;
  outline-offset: -4px;
}

@media (hover: hover) {
  .hairvina-card-media.has-loaded-secondary:hover .hairvina-card-primary-image,
  .hairvina-card-media.has-loaded-secondary:focus-within .hairvina-card-primary-image {
    opacity: 0;
    transform: scale(1.055);
  }

  .hairvina-card-media:hover .hairvina-card-secondary-image.is-loaded,
  .hairvina-card-media:focus-within .hairvina-card-secondary-image.is-loaded {
    opacity: 1;
    transform: scale(1.055);
  }

  .hairvina-card-media:hover .hairvina-card-quick-view,
  .hairvina-card-media:focus-within .hairvina-card-quick-view {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: none) {
  .hairvina-card-quick-view {
    min-height: 2.15rem;
    padding-block: 0.5rem;
    opacity: 1;
    transform: translateY(0);
  }
}

.hairvina-quick-view-modal {
  width: min(calc(100% - 2rem), 56rem);
  max-height: min(86vh, 46rem);
  padding: 0;
  border: 0;
  border-radius: 0.8rem;
  color: #433e40;
  background: #fff;
  box-shadow: 0 2rem 6rem rgba(45, 21, 31, 0.28);
}

.hairvina-quick-view-modal::backdrop {
  background: rgba(35, 23, 28, 0.62);
  backdrop-filter: blur(3px);
}

.hairvina-quick-view-modal__layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.95fr) minmax(0, 1.05fr);
}

.hairvina-quick-view-modal__image {
  width: 100%;
  height: 100%;
  min-height: 29rem;
  object-fit: contain;
  background: #faf5f7;
}

.hairvina-quick-view-modal__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hairvina-quick-view-modal__category {
  margin: 0 0 0.65rem;
  color: #9b8c92;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hairvina-quick-view-modal__title {
  margin: 0 0 1rem;
  color: #4f484c;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.12;
}

.hairvina-quick-view-modal__summary {
  margin: 0 0 1.5rem;
  line-height: 1.75;
}

.hairvina-quick-view-modal__link {
  align-self: flex-start;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  color: #fff;
  background: var(--wp--preset--color--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.hairvina-quick-view-modal__close {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #4d4549;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.4rem 1rem rgba(45, 21, 31, 0.15);
  cursor: pointer;
  font-size: 1.35rem;
  place-items: center;
}

@media (max-width: 640px) {
  .hairvina-quick-view-modal__layout {
    display: block;
  }

  .hairvina-quick-view-modal__image {
    height: 48vh;
    min-height: 16rem;
  }

  .hairvina-quick-view-modal__content {
    padding: 1.35rem;
  }
}

/* Blog sidebar product cards: preserve full titles and keep the compact
   rating/action row aligned at the bottom. */
body .hairvina-blog-products-widget .hairvina-blog-product {
  display: grid !important;
  grid-template-columns: 7.25rem minmax(0, 1fr) !important;
  grid-template-rows: minmax(9rem, auto) !important;
  height: auto !important;
  min-height: 9rem !important;
  max-height: none !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product > .hairvina-blog-product__media,
body .hairvina-blog-products-widget .hairvina-blog-product > .hairvina-blog-product__media img {
  width: 7.25rem !important;
  height: 100% !important;
  min-height: 9rem !important;
  max-height: none !important;
  align-self: stretch !important;
  object-fit: cover !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto 1fr auto !important;
  column-gap: 0.55rem !important;
  row-gap: 0.45rem !important;
  width: auto !important;
  height: auto !important;
  min-height: 9rem !important;
  max-height: none !important;
  padding: 0.8rem 0.85rem !important;
  align-content: stretch !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product h4 {
  display: block !important;
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating {
  grid-column: 1 !important;
  grid-row: 3 !important;
  align-self: end !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  gap: 0.15rem 0.3rem !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating__stars {
  flex: 0 0 auto !important;
  font-size: 0.76rem !important;
  line-height: 1 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating__text {
  flex: 0 1 auto !important;
  font-size: 0.61rem !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__link {
  grid-column: 2 !important;
  grid-row: 3 !important;
  justify-self: end !important;
  align-self: end !important;
  margin: 0 !important;
  padding: 0.38rem 0.58rem !important;
  font-size: 0.58rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 700px) {
  body .hairvina-blog-products-widget .hairvina-blog-product {
    grid-template-columns: 6.25rem minmax(0, 1fr) !important;
    grid-template-rows: minmax(8.5rem, auto) !important;
    min-height: 8.5rem !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product > .hairvina-blog-product__media,
  body .hairvina-blog-products-widget .hairvina-blog-product > .hairvina-blog-product__media img {
    width: 6.25rem !important;
    min-height: 8.5rem !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product > div {
    min-height: 8.5rem !important;
    padding: 0.7rem 0.75rem !important;
  }
}

/* Article breadcrumb, product tags, and genuine review threads. */
.hairvina-article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: #74676c;
  font-size: 0.9rem;
  line-height: 1.6;
}

.hairvina-article-breadcrumbs a,
.hairvina-product-tags a {
  color: #a94e71;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.hairvina-article-breadcrumbs__current {
  color: #362f32;
  font-weight: 600;
}

.hairvina-product-tags {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid #f0dfe6;
  color: #665b60;
  font-size: 0.92rem;
  line-height: 1.55;
}

.hairvina-product-tags__label {
  color: #312b2e;
  font-weight: 700;
}

.hairvina-product-detail-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.hairvina-product-detail-list__item {
  margin: 0;
  padding: 0 0 0.9rem;
  border-bottom: 1px solid #f1e3e9;
  color: #544c50;
  line-height: 1.75;
}

.hairvina-product-detail-list__item strong {
  color: #2f292c;
  font-weight: 750;
}

.woocommerce #reviews .commentlist .children {
  margin: 0.75rem 0 0 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid #f0c6d7;
}

.woocommerce #reviews .commentlist .children .comment-text {
  background: #fff8fb;
}

@media (max-width: 640px) {
  .hairvina-article-breadcrumbs__current {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .woocommerce #reviews .commentlist .children {
    margin-left: 0.35rem;
    padding-left: 0.75rem;
  }
}

/* Product description sales lead: every product opens with a clear bold hook. */
body.single-product .hairvina-product-lead,
body.single-product .hairvina-product-lead strong {
  color: #2f292c !important;
  font-weight: 750 !important;
  line-height: 1.7 !important;
}

body.single-product .hairvina-product-lead {
  margin: 0 0 clamp(1.4rem, 3vw, 2rem) !important;
  font-size: clamp(1rem, 1.15vw, 1.12rem) !important;
}

.hairvina-blog-card__media,
.hairvina-blog-card__image {
  overflow: hidden;
}

.hairvina-blog-card__image img {
  transition: transform 420ms ease;
}

.hairvina-feature-card.is-linked {
  cursor: pointer;
  outline: none;
}

.hairvina-feature-card .wp-block-cover,
.hairvina-feature-card .wp-block-image {
  overflow: hidden;
}

.hairvina-feature-card .wp-block-cover__image-background,
.hairvina-feature-card .wp-block-image img {
  transition: transform 420ms ease;
}

.hairvina-feature-card > p,
.hairvina-feature-card > p a {
  transition: color 220ms ease;
}

.hairvina-feature-card.is-linked:hover .wp-block-cover__image-background,
.hairvina-feature-card.is-linked:focus-visible .wp-block-cover__image-background,
.hairvina-feature-card.is-linked:hover .wp-block-image img,
.hairvina-feature-card.is-linked:focus-visible .wp-block-image img {
  transform: scale(1.055);
}

.hairvina-feature-card.is-linked:hover > p,
.hairvina-feature-card.is-linked:focus-visible > p,
.hairvina-feature-card.is-linked:hover > p a,
.hairvina-feature-card.is-linked:focus-visible > p a {
  color: var(--wp--preset--color--accent);
}

.hairvina-feature-card.is-linked:focus-visible {
  box-shadow: 0 0 0 3px rgba(239, 63, 118, 0.28);
}

/* Consistent, restrained close-up interaction for editable content images. */
main .wp-block-image,
main .wp-block-cover,
main .wp-block-post-featured-image {
  overflow: hidden;
}

main .wp-block-image img,
main .wp-block-cover__image-background,
main .wp-block-post-featured-image img {
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) {
  main .wp-block-image:hover img,
  main .wp-block-image:focus-within img,
  main .wp-block-cover:hover .wp-block-cover__image-background,
  main .wp-block-cover:focus-within .wp-block-cover__image-background,
  main .wp-block-post-featured-image:hover img,
  main .wp-block-post-featured-image:focus-within img {
    transform: scale(1.045);
  }
}

main .wp-block-image:active img,
main .wp-block-cover:active .wp-block-cover__image-background,
main .wp-block-post-featured-image:active img {
  transform: scale(1.035);
}

.hairvina-about-map-hero {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  background: #fff9fb;
}

.hairvina-about-map-hero img {
  display: block;
  width: 100%;
  max-height: clamp(23rem, 46vw, 42rem);
  aspect-ratio: 3.08 / 1;
  object-fit: cover;
  object-position: center;
}

.hairvina-factory-gallery .wp-block-image,
.hairvina-factory-gallery .wp-block-cover {
  position: relative;
}

.hairvina-factory-gallery .hairvina-factory-overlay {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  padding: 1.25rem;
  color: #fff;
  background: rgba(239, 63, 118, 0.82);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  place-content: center;
  transition: opacity 260ms ease;
}

.hairvina-factory-gallery .hairvina-factory-overlay strong {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
}

.hairvina-factory-gallery .hairvina-factory-overlay span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.86rem;
}

.hairvina-factory-gallery .wp-block-image:hover .hairvina-factory-overlay,
.hairvina-factory-gallery .wp-block-image:focus-within .hairvina-factory-overlay,
.hairvina-factory-gallery .wp-block-cover:hover .hairvina-factory-overlay,
.hairvina-factory-gallery .wp-block-cover:focus-within .hairvina-factory-overlay,
.hairvina-factory-gallery .wp-block-image:active .hairvina-factory-overlay,
.hairvina-factory-gallery .wp-block-cover:active .hairvina-factory-overlay,
.hairvina-factory-gallery .wp-block-image.is-active .hairvina-factory-overlay,
.hairvina-factory-gallery .wp-block-cover.is-active .hairvina-factory-overlay {
  opacity: 1;
}

.hairvina-blog-page-status {
  width: max-content;
  margin: 0.85rem auto 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: #6c6266;
  background: #f8f3f5;
  font-size: 0.76rem;
  font-weight: 700;
}

/* Contact map is driven by the address saved in Settings > General. */
.hairvina-contact-map {
  width: min(100% - 2rem, var(--wp--style--global--wide-size));
  margin: clamp(2rem, 5vw, 4rem) auto 0;
}

.hairvina-contact-map__frame {
  overflow: hidden;
  min-height: clamp(22rem, 42vw, 34rem);
  border: 1px solid var(--wp--preset--color--border);
  background: #f7f3f5;
  box-shadow: 0 12px 34px rgba(40, 20, 28, 0.08);
}

.hairvina-contact-map iframe {
  display: block;
  width: 100%;
  min-height: clamp(22rem, 42vw, 34rem);
  border: 0;
}

.hairvina-contact-map__placeholder {
  display: grid;
  min-height: clamp(22rem, 42vw, 34rem);
  padding: 2rem;
  color: #7e6a73;
  text-align: center;
  place-items: center;
}

.hairvina-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hairvina-social-link {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--wp--preset--color--accent);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hairvina-social-link:hover,
.hairvina-social-link:focus-visible {
  color: #fff;
  background: var(--wp--preset--color--accent);
  transform: translateY(-2px);
}

.hairvina-social-links__pending {
  color: #806f76;
  font-size: 0.86rem;
}

.hairvina-social-profile-pending {
  color: #9c8d93;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .hairvina-carousel__slide,
  .hairvina-carousel--products .hairvina-carousel__slide {
    flex-basis: calc((100% - 1rem) / 2.35);
  }

  .hairvina-carousel__arrow--previous {
    left: 0.35rem;
  }

  .hairvina-carousel__arrow--next {
    right: 0.35rem;
  }
}

@media (max-width: 600px) {
  .hairvina-carousel__slide,
  .hairvina-carousel--products .hairvina-carousel__slide {
    flex-basis: 82%;
  }

  .hairvina-carousel__arrow {
    width: 2.45rem;
    height: 2.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hairvina-carousel__viewport,
  .hairvina-category-card__image,
  .hairvina-product-card__image,
  .hairvina-product-card__secondary-image,
  .hairvina-blog-card__image img {
    scroll-behavior: auto;
    transition: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
}

.wp-site-blocks > * {
  margin-block-start: 0;
}

.hairvina-topbar {
  padding: 0.55rem clamp(1rem, 4vw, 3rem);
  color: #5e3946;
  background: #fff2f7;
  border-bottom: 1px solid #f8dbe5;
}

.hairvina-topbar p,
.hairvina-footer p {
  margin: 0;
}

.hairvina-header-main {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 0.48rem clamp(1rem, 4vw, 3rem);
  border-bottom: 3px solid #f7c7d7;
  box-shadow: 0 8px 28px rgba(24, 18, 20, 0.04);
}

.hairvina-header-main__inner {
  min-height: 4.25rem;
}

.hairvina-brand-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: clamp(9.25rem, 15vw, 12.15rem);
  height: 4.15rem;
}

.hairvina-brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.hairvina-brand-logo__mark {
  display: block;
  overflow: hidden;
  width: 3.25rem;
  height: 3.7rem;
  flex: 0 0 3.25rem;
}

.hairvina-brand-logo__mark img {
  width: 8.1rem;
  max-width: none;
  height: 3.7rem;
  object-fit: contain;
  object-position: left center;
}

.hairvina-brand-logo__wordmark {
  color: #e6477d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

body.admin-bar .hairvina-header-main {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .hairvina-header-main {
    top: 46px;
  }

  .hairvina-brand-logo {
    width: 9.4rem;
    height: 3.7rem;
  }
}

.hairvina-header-main .wp-block-site-title {
  margin: 0;
  color: var(--wp--preset--color--accent);
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 700;
}

.hairvina-header-main .wp-block-site-title a {
  color: inherit;
  text-decoration: none;
}

.hairvina-primary-navigation {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hairvina-primary-navigation .wp-block-navigation-item__content {
  color: var(--wp--preset--color--contrast);
}

.hairvina-primary-navigation .wp-block-navigation-item__content:hover,
.hairvina-primary-navigation .wp-block-navigation-item__content:focus-visible,
.hairvina-primary-navigation .current-menu-item > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--accent);
}

.hairvina-primary-navigation .wp-block-navigation__submenu-container {
  min-width: 14rem !important;
  padding: 0.65rem !important;
  border: 0 !important;
  border-radius: 0 0 1rem 1rem;
  background: var(--wp--preset--color--base) !important;
  box-shadow: 0 1rem 2.5rem rgba(67, 45, 54, 0.16);
}

.hairvina-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 0.72rem 0.85rem;
  border-radius: 0.45rem;
  white-space: nowrap;
}

.hairvina-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.hairvina-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
  background: #fff1f6;
}

.hairvina-header-main .wp-block-woocommerce-customer-account,
.hairvina-header-main .wp-block-woocommerce-mini-cart {
  display: none !important;
}

.hairvina-section {
  padding: var(--hairvina-section-pad) clamp(1rem, 4vw, 3rem);
}

.hairvina-section--compact {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.hairvina-section-title {
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.hairvina-eyebrow {
  margin-bottom: 0.8rem;
  color: var(--wp--preset--color--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hairvina-hero {
  min-height: clamp(34rem, 68vw, 48rem) !important;
  padding: clamp(2rem, 7vw, 6rem) clamp(1rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.75), transparent 25%),
    linear-gradient(110deg, #f8dce6 0%, #f5bbcf 48%, #e688aa 100%);
}

.hairvina-hero::after {
  content: "[Replace Hero Image]";
  position: absolute;
  right: clamp(1rem, 8vw, 8rem);
  bottom: 2rem;
  color: rgba(80, 25, 45, 0.46);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.hairvina-hero:has(.wp-block-cover__image-background)::after {
  content: none;
}

.hairvina-hero .wp-block-cover__background {
  opacity: 1 !important;
  background: linear-gradient(90deg, rgba(255, 252, 253, 0.96) 0%, rgba(255, 248, 251, 0.86) 39%, rgba(255, 248, 251, 0.08) 70%) !important;
}

.hairvina-hero__content {
  width: min(100%, 41rem);
  margin-right: auto;
  margin-left: 0;
}

.hairvina-hero h1 {
  margin: 0;
  color: var(--wp--preset--color--contrast);
  font-size: clamp(3rem, 7vw, 6.4rem);
  letter-spacing: -0.045em;
}

.hairvina-hero__copy {
  max-width: 36rem;
  margin-block: 1.5rem 2rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.hairvina-hero .wp-block-button__link,
.hairvina-header-cta .wp-block-button__link {
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hairvina-hero .is-style-outline .wp-block-button__link {
  color: var(--wp--preset--color--contrast);
  border-color: currentColor;
}

.hairvina-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.hairvina-stat-grid > .wp-block-column {
  width: auto !important;
  margin: 0 !important;
}

.hairvina-stat-card {
  min-height: 10rem;
  padding: 1.5rem 1rem;
  text-align: center;
}

.hairvina-stat-image {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem !important;
}

.hairvina-stat-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: inset 0 0 0 1px rgba(237, 71, 126, 0.18);
}

.hairvina-stat-card h3 {
  margin: 0;
  color: var(--wp--preset--color--accent);
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.hairvina-stat-card p {
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

.hairvina-about-split {
  gap: 0;
  box-shadow: var(--hairvina-shadow);
}

.hairvina-about-split > .wp-block-column {
  margin: 0;
}

.hairvina-about-split > .wp-block-column:first-child {
  display: flex;
}

.hairvina-about-split > .wp-block-column:first-child > .wp-block-cover {
  width: 100%;
  height: 100%;
}

.hairvina-about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 30rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--wp--preset--color--base);
  background: linear-gradient(145deg, var(--wp--preset--color--accent-dark), var(--wp--preset--color--accent));
}

.hairvina-about-copy h3 {
  color: inherit;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.hairvina-media-placeholder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    repeating-linear-gradient(45deg, #eadfe3 0, #eadfe3 18px, #f3e9ed 18px, #f3e9ed 36px);
}

.hairvina-media-placeholder .wp-block-cover__inner-container {
  color: rgba(70, 35, 50, 0.6);
  text-align: center;
}

/* Photography remains clean: editorial helper labels are never overlaid on images. */
.hairvina-media-placeholder .wp-block-cover__inner-container {
  display: none !important;
}

.hairvina-feature-grid,
.hairvina-staff-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.hairvina-feature-grid > .wp-block-column,
.hairvina-staff-grid > .wp-block-column {
  width: auto !important;
  margin: 0 !important;
}

.hairvina-feature-card,
.hairvina-staff-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(40, 20, 28, 0.08);
}

.hairvina-feature-card p,
.hairvina-staff-card h3,
.hairvina-staff-card > p {
  padding-inline: 1rem;
  text-align: center;
}

.hairvina-dynamic-block {
  min-height: 12rem;
}

.hairvina-admin-note {
  max-width: 52rem;
  margin: 1.5rem auto 0;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--wp--preset--color--accent);
  color: #6d5260;
  background: #fff;
  text-align: center;
  font-size: 0.85rem;
}

.hairvina-product-showcase {
  background:
    radial-gradient(circle at top right, rgba(237, 71, 126, 0.07), transparent 35%),
    var(--wp--preset--color--surface);
}

.hairvina-product-showcase .wc-block-grid__product,
.hairvina-product-showcase .wc-block-product {
  padding: 1rem;
  border: 0;
  border-radius: var(--hairvina-radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(40, 20, 28, 0.08);
}

.hairvina-why {
  color: #fff;
  background: linear-gradient(135deg, #c94070, #ed77a0);
}

.hairvina-why h2,
.hairvina-why h3 {
  color: inherit;
}

.hairvina-why__grid {
  gap: clamp(2rem, 6vw, 6rem);
}

.hairvina-why-list {
  display: grid;
  gap: 1.1rem;
}

.hairvina-why-item {
  position: relative;
  padding-left: 3.6rem;
}

.hairvina-why-item::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--wp--preset--color--accent-dark);
  background: #fff;
  place-items: center;
  font-weight: 800;
}

.hairvina-why-item h3,
.hairvina-why-item p {
  margin: 0;
}

.hairvina-why-item p {
  margin-top: 0.25rem;
  opacity: 0.86;
  font-size: 0.92rem;
}

.hairvina-staff-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hairvina-staff-card .wp-block-cover {
  min-height: clamp(17rem, 32vw, 28rem) !important;
}

.hairvina-post-query .wp-block-post-template {
  gap: 1.5rem;
}

.hairvina-post-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--wp--preset--color--border);
  background: #fff;
  box-shadow: 0 10px 30px rgba(40, 20, 28, 0.06);
}

.hairvina-post-card > *:not(.wp-block-post-featured-image) {
  margin-inline: 1.25rem;
}

.hairvina-post-card .wp-block-post-date {
  margin-top: 1.25rem;
  color: var(--wp--preset--color--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hairvina-inquiry {
  background: linear-gradient(180deg, #fff 0%, var(--wp--preset--color--surface) 100%);
}

.hairvina-inquiry__grid {
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch !important;
}

.hairvina-form-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #fff;
  box-shadow: var(--hairvina-shadow);
}

.hairvina-home-inquiry-hours {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.2rem 0.75rem;
  align-items: baseline;
  margin: 1rem 0 1.35rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--wp--preset--color--accent);
  background: #fff7fa;
  color: #3b3236;
}

.hairvina-home-inquiry-hours > span {
  color: var(--wp--preset--color--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hairvina-home-inquiry-hours > strong {
  font-size: 0.88rem;
  line-height: 1.4;
}

.hairvina-home-inquiry-hours > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #71666b;
  font-size: 0.76rem;
  line-height: 1.45;
}

.hairvina-form-card .ff-el-form-control {
  border-color: var(--wp--preset--color--border);
  border-radius: 0;
  background: var(--wp--preset--color--surface);
}

.hairvina-form-card .ff-btn-submit {
  width: 100%;
  border-radius: var(--wp--custom--hairvina--button--radius);
  background: var(--wp--preset--color--accent) !important;
}

.hairvina-footer {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem) 1.5rem;
}

.hairvina-footer-grid {
  gap: clamp(2rem, 4vw, 4rem);
}

.hairvina-footer h4,
.hairvina-footer .wp-block-site-title {
  color: #fff;
}

.hairvina-footer a {
  color: inherit;
}

.hairvina-footer-bottom {
  padding-top: 1.25rem;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .hairvina-header-actions .hairvina-header-cta {
    display: none !important;
  }

  .hairvina-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hairvina-staff-grid {
    grid-template-columns: repeat(3, minmax(14rem, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .hairvina-staff-grid > .wp-block-column {
    scroll-snap-align: start;
  }
}

@media (max-width: 782px) {
  :root {
    --hairvina-section-pad: 4.5rem;
  }

  .hairvina-topbar {
    display: none;
  }

  .hairvina-header-main {
    padding-block: 0.65rem;
  }

  .hairvina-header-main__inner {
    min-height: 3rem;
  }

  .hairvina-hero {
    min-height: 32rem !important;
    padding-block: 4rem 3rem;
    background:
      linear-gradient(90deg, rgba(249, 226, 234, 0.92), rgba(230, 136, 170, 0.64)),
      linear-gradient(135deg, #f5c8d7, #d8779d);
  }

  .hairvina-hero::after {
    right: 1rem;
    bottom: 1rem;
  }

  .hairvina-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.15rem);
  }

  .hairvina-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hairvina-about-split {
    display: block;
  }

  .hairvina-about-split .hairvina-media-placeholder,
  .hairvina-about-copy {
    min-height: 24rem !important;
  }

  .hairvina-why__grid,
  .hairvina-inquiry__grid {
    display: block;
  }

  .hairvina-why__grid > .wp-block-column + .wp-block-column,
  .hairvina-inquiry__grid > .wp-block-column + .wp-block-column {
    margin-top: 2rem;
  }

  .hairvina-home-inquiry-hours {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding: 0.75rem 0.85rem;
  }

  .hairvina-home-inquiry-hours > p {
    grid-column: auto;
  }

  .hairvina-post-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .hairvina-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hairvina-footer-grid > .wp-block-column:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .hairvina-section {
    padding-inline: 0.85rem;
  }

  .hairvina-section-title {
    font-size: 2rem;
  }

  .hairvina-hero {
    min-height: 29rem !important;
    padding-inline: 1rem;
  }

  .hairvina-hero .wp-block-cover__background {
    background: rgba(255, 249, 251, 0.66) !important;
  }

  .hairvina-hero__content {
    box-sizing: border-box;
    padding: 1.15rem 0.8rem;
    border-radius: 0.5rem;
    background: rgba(255, 251, 252, 0.74);
    backdrop-filter: blur(2px);
  }

  .hairvina-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.15rem);
  }

  .hairvina-hero .wp-block-buttons {
    gap: 0.6rem;
  }

  .hairvina-hero .wp-block-button__link {
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
  }

  .hairvina-stat-card {
    padding-inline: 0.25rem;
  }

  .hairvina-feature-grid {
    gap: 0.75rem;
  }

  .hairvina-feature-card .wp-block-cover {
    min-height: 10rem !important;
  }

  .hairvina-footer-grid {
    grid-template-columns: 1fr;
  }

  .hairvina-footer-grid > .wp-block-column:first-child {
    grid-column: auto;
  }
}

/* 2026-10 editorial navigation, staff directory, and Contact social finish. */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  z-index: 1000;
  top: 0;
}

body.admin-bar .wp-site-blocks > header.wp-block-template-part {
  top: 32px;
}

header.wp-block-template-part .hairvina-header-main {
  position: relative;
  top: auto;
}

.hairvina-article__content :is(h2, h3)[id] {
  scroll-margin-top: 9rem;
}

.hairvina-article-toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0dce4;
}

.hairvina-article-toc__header p {
  margin: 0;
}

.hairvina-article-toc__header button {
  padding: 0;
  border: 0;
  color: #b82c5d;
  background: transparent;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.hairvina-article-toc ol {
  max-height: 60rem;
  margin-top: 0.9rem;
  transition: max-height 220ms ease, margin 220ms ease, opacity 180ms ease;
}

.hairvina-article-toc.is-collapsed ol {
  overflow: hidden;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
}

.hairvina-article-toc a {
  display: inline-block;
  padding-block: 0.12rem;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.hairvina-article-toc a:hover,
.hairvina-article-toc a:focus-visible,
.hairvina-article-toc a.is-active {
  color: #e63f76;
}

.hairvina-article-toc a.is-active {
  font-weight: 800;
  transform: translateX(0.2rem);
}

@media (min-width: 783px) {
  .hairvina-blog-sidebar {
    top: 8.25rem;
    max-height: calc(100vh - 9rem);
    padding-right: 0.35rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}

.hairvina-featured-list {
  display: grid !important;
  gap: 0 !important;
}

.hairvina-featured-card {
  display: grid !important;
  grid-template-columns: 7rem minmax(0, 1fr) !important;
  gap: 0.85rem !important;
  align-items: center;
  padding: 0.85rem 0 !important;
  border-bottom: 1px solid #eadfe3;
}

.hairvina-featured-card__media {
  display: block;
  overflow: hidden;
  width: 7rem;
  aspect-ratio: 3 / 2;
  border-radius: 0.2rem;
  background: #f7e8ed;
}

.hairvina-featured-card__media img,
.hairvina-featured-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hairvina-featured-card__fallback {
  background-image: url("../images/blog-topics-sprite.webp");
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.hairvina-featured-card__copy {
  min-width: 0;
}

.hairvina-featured-card__copy h4 {
  margin: 0 0 0.35rem;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.4;
}

.hairvina-featured-card__copy h4 a {
  color: #453e41;
  text-decoration: none;
}

.hairvina-featured-card__copy time {
  color: #9b9095;
  font-size: 0.66rem;
}

.hairvina-article-author__chat {
  display: inline-flex;
  margin-top: 0.8rem;
  color: #ae2857;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-decoration: none;
}

.hairvina-contact-socials .hairvina-social-links {
  display: flex !important;
  flex-flow: row wrap !important;
  gap: 0.75rem !important;
  align-items: center;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
}

.hairvina-contact-socials .hairvina-social-link,
body .hairvina-contact-socials .hairvina-social-link {
  position: relative;
  display: grid !important;
  box-sizing: border-box;
  width: 3.25rem !important;
  min-width: 3.25rem !important;
  height: 3.25rem !important;
  min-height: 3.25rem !important;
  padding: 0 !important;
  border: 1px solid #d99bb1 !important;
  border-radius: 50% !important;
  color: #a42855 !important;
  background: #fff !important;
  place-items: center;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.hairvina-contact-socials .hairvina-social-link > span {
  display: grid !important;
  width: 1.8rem !important;
  height: 1.8rem !important;
  color: inherit !important;
  background: transparent !important;
  place-items: center;
}

.hairvina-contact-socials .hairvina-social-link svg {
  width: 1.8rem !important;
  height: 1.8rem !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.hairvina-contact-socials .hairvina-social-link svg .is-fill {
  fill: currentColor;
  stroke: none;
}

.hairvina-contact-socials .hairvina-social-link > strong {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.hairvina-contact-socials .hairvina-social-link:hover,
.hairvina-contact-socials .hairvina-social-link:focus-visible {
  color: #fff !important;
  background: #c72f63 !important;
  transform: translateY(-2px);
}

.hairvina-contact-socials .hairvina-social-link.is-pending {
  opacity: 0.55;
  cursor: not-allowed;
}

.hairvina-team-section {
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1rem, 5vw, 4rem);
  background: linear-gradient(180deg, #fff 0%, #fff8fa 100%);
}

.hairvina-team-section__inner {
  width: min(100%, 75rem);
  margin-inline: auto;
  text-align: center;
}

.hairvina-team-section h2 {
  margin: 0.35rem 0 0;
  color: #3b3437;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hairvina-team-section__intro {
  width: min(100%, 49rem);
  margin: 1rem auto 2.5rem;
  color: #6b6266;
  line-height: 1.75;
}

.hairvina-team-carousel {
  position: relative;
  padding-inline: 2.5rem;
}

.hairvina-team-carousel .hairvina-carousel__viewport {
  overflow-x: auto;
  padding: 0.5rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hairvina-team-carousel .hairvina-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.hairvina-team-carousel .hairvina-carousel__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.65rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hairvina-team-carousel .hairvina-carousel__slide {
  flex: 0 0 calc((100% - 6.6rem) / 5);
  min-width: 10.5rem;
  scroll-snap-align: start;
}

.hairvina-team-card a {
  display: grid;
  justify-items: center;
  color: #3f383b;
  text-decoration: none;
}

.hairvina-team-card__portrait {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(100%, 10.5rem);
  aspect-ratio: 1;
  border: 0.35rem solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(113, 49, 73, 0.14);
}

.hairvina-team-card__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 280ms ease;
}

.hairvina-team-card__whatsapp {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  place-items: center;
}

.hairvina-team-card__whatsapp svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
}

.hairvina-team-card__whatsapp .is-fill {
  fill: currentColor;
  stroke: none;
}

.hairvina-team-card strong {
  margin-top: 0.9rem;
  font-size: 1rem;
}

.hairvina-team-card small {
  margin-top: 0.2rem;
  color: #92878c;
  font-size: 0.75rem;
}

.hairvina-team-card__action {
  margin-top: 0.65rem;
  color: #b72c5d;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.055em;
}

.hairvina-team-card a:hover .hairvina-team-card__portrait img,
.hairvina-team-card a:focus-visible .hairvina-team-card__portrait img {
  transform: scale(1.045);
}

.hairvina-team-carousel .hairvina-carousel__dots {
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  .hairvina-team-carousel .hairvina-carousel__slide {
    flex-basis: calc((100% - 3rem) / 3);
  }
}

@media (max-width: 782px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: 46px;
  }

  .hairvina-team-carousel {
    padding-inline: 0;
  }

  .hairvina-team-carousel .hairvina-carousel__slide {
    flex-basis: 66%;
    min-width: 12rem;
  }

  .hairvina-team-carousel .hairvina-carousel__arrow {
    display: none !important;
  }

  .hairvina-contact-socials .hairvina-social-link,
  body .hairvina-contact-socials .hairvina-social-link {
    width: 3rem !important;
    min-width: 3rem !important;
    height: 3rem !important;
    min-height: 3rem !important;
  }
}

/* Balanced Help Center policy typography and content rhythm — 2026-10-11. */
.hairvina-policy-article {
  color: #5d5459;
  font-size: 1rem;
  line-height: 1.78;
}

.hairvina-policy-article > h2:first-of-type {
  margin-top: 2.5rem;
}

.hairvina-policy-article h2 {
  max-width: 28ch;
  margin-top: clamp(3rem, 5.5vw, 4.5rem);
  margin-bottom: 1.2rem;
  color: #3b3437;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.026em;
  text-align: left !important;
}

.hairvina-policy-article h3 {
  color: #443b40;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
}

.hairvina-policy-article p,
.hairvina-policy-article li,
.hairvina-policy-article details,
.hairvina-policy-article summary {
  font-size: 1rem;
}

.hairvina-policy-article > p,
.hairvina-policy-article > ul {
  margin-top: 0.9rem;
  margin-bottom: 1.4rem;
}

.hairvina-policy-article > ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.35rem;
}

.hairvina-policy-article > ul li::marker {
  color: #ef477d;
}

.hairvina-policy-step {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}

.hairvina-policy-article .wp-block-details {
  margin-bottom: 0.85rem;
  padding: 1rem 1.2rem;
  background: #fff;
}

.hairvina-policy-article .wp-block-details summary {
  color: #443b40;
  font-weight: 750;
  line-height: 1.5;
}

.hairvina-policy-article .wp-block-details p {
  margin: 0.8rem 0 0;
  color: #665c61;
  line-height: 1.75;
}

.hairvina-policy-cta {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin-top: clamp(3.5rem, 6vw, 5rem) !important;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 1px solid #edced9;
  border-radius: 0.65rem;
  background:
    radial-gradient(circle at 92% 18%, rgba(239, 71, 125, 0.13), transparent 11rem),
    linear-gradient(145deg, #fff8fa, #fff1f6);
}

.hairvina-policy-cta > * {
  width: 100% !important;
  max-width: none !important;
  margin-block-start: 0.65rem !important;
}

.hairvina-policy-cta > p:first-child {
  margin-top: 0 !important;
  color: #3b3437;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
}

.hairvina-policy-cta .wp-block-buttons {
  margin-top: 1.2rem !important;
}

.hairvina-policy-cta .wp-block-button__link {
  min-height: 2.85rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid #ef477d;
  border-radius: 999px;
  color: #fff;
  background: #ef477d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

@media (max-width: 782px) {
  .hairvina-policy-article {
    font-size: 0.96rem;
  }

  .hairvina-policy-article h2 {
    max-width: 100%;
    margin-top: 2.75rem;
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .hairvina-policy-article p,
  .hairvina-policy-article li,
  .hairvina-policy-article details,
  .hairvina-policy-article summary {
    font-size: 0.96rem;
  }
}

/* Final homepage visual system: two-row categories and original project artwork. */
.hairvina-carousel--categories .hairvina-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4.5rem) / 4);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.hairvina-carousel--categories .hairvina-carousel__slide {
  width: auto;
  min-width: 0;
}

.hairvina-carousel--categories .hairvina-category-card__media {
  aspect-ratio: 4 / 3;
}

.hairvina-sprite-tile {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("../images/hair-products-sprite.webp");
  background-repeat: no-repeat;
  background-size: 400% auto;
  transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hairvina-sprite-tile--bulk { background-position: 0 0; }
.hairvina-sprite-tile--weft { background-position: 33.333% 0; }
.hairvina-sprite-tile--tape { background-position: 66.666% 0; }
.hairvina-sprite-tile--extension { background-position: 100% 0; }
.hairvina-sprite-tile--wig { background-position: 0 100%; }
.hairvina-sprite-tile--lace { background-position: 33.333% 100%; }
.hairvina-sprite-tile--topper { background-position: 66.666% 100%; }
.hairvina-sprite-tile--color { background-position: 100% 100%; }

.hairvina-category-card__fallback {
  grid-area: 1 / 1;
}

.hairvina-category-card:hover .hairvina-category-card__fallback,
.hairvina-category-card:focus-within .hairvina-category-card__fallback,
.hairvina-collection-preview-card:hover .hairvina-sprite-tile,
.hairvina-collection-preview-card:focus-within .hairvina-sprite-tile {
  transform: scale(1.055);
}

.hairvina-carousel-section--preview {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.hairvina-collection-preview-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border-radius: 0.7rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(105, 45, 68, 0.095);
}

.hairvina-collection-preview-card__media {
  overflow: hidden;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
}

.hairvina-collection-preview-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 0.9rem 0.75rem 1.1rem;
  text-align: center;
}

.hairvina-collection-preview-card__body > span {
  color: #9b8b92;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hairvina-collection-preview-card__body h3 {
  margin: 0.55rem 0 1rem;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.92rem;
  line-height: 1.4;
}

.hairvina-collection-preview-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

/* Four distinct code-native pictograms replace the pale empty circles. */
body.home .hairvina-stat-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

body.home .hairvina-stat-grid > .wp-block-column:nth-child(1) .hairvina-stat-image { background-image: url("../images/icon-flexible-sourcing.svg"); }
body.home .hairvina-stat-grid > .wp-block-column:nth-child(2) .hairvina-stat-image { background-image: url("../images/icon-specifications.svg"); }
body.home .hairvina-stat-grid > .wp-block-column:nth-child(3) .hairvina-stat-image { background-image: url("../images/icon-quality.svg"); }
body.home .hairvina-stat-grid > .wp-block-column:nth-child(4) .hairvina-stat-image { background-image: url("../images/icon-support.svg"); }

body.home .hairvina-stat-image img {
  opacity: 0;
}

/* The homepage now stores the four real pictogram files in the editor. */
body.home .hairvina-stat-grid .hairvina-stat-image {
  background-image: none !important;
}

body.home .hairvina-stat-grid .hairvina-stat-image img {
  opacity: 1;
}

/* Fill every homepage photography slot while keeping each block replaceable. */
body.home .hairvina-media-placeholder:not(:has(.wp-block-cover__image-background)) {
  background-image: url("../images/sections/buyer-consultation.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

body.home .hairvina-feature-card .hairvina-media-placeholder .wp-block-cover__inner-container,
body.home .hairvina-staff-card .hairvina-media-placeholder .wp-block-cover__inner-container,
body.home .hairvina-why .hairvina-media-placeholder .wp-block-cover__inner-container {
  display: none;
}

body.home .hairvina-feature-card:nth-child(1) .hairvina-media-placeholder,
body.home .hairvina-why .hairvina-media-placeholder { background-image: url("../images/sections/product-preparation.webp"); }
body.home .hairvina-feature-card:nth-child(2) .hairvina-media-placeholder,
body.home .hairvina-staff-card:nth-child(1) .hairvina-media-placeholder { background-image: url("../images/sections/staff-team.webp"); }
body.home .hairvina-feature-card:nth-child(3) .hairvina-media-placeholder,
body.home .hairvina-staff-card:nth-child(2) .hairvina-media-placeholder { background-image: url("../images/sections/order-packing.webp"); }
body.home .hairvina-feature-card:nth-child(4) .hairvina-media-placeholder,
body.home .hairvina-staff-card:nth-child(3) .hairvina-media-placeholder { background-image: url("../images/sections/foundation-development-4.webp"); }

body.home .hairvina-feature-card .hairvina-media-placeholder,
body.home .hairvina-staff-card .hairvina-media-placeholder,
body.home .hairvina-why .hairvina-media-placeholder {
  transition: background-size 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.home .hairvina-feature-card:hover .hairvina-media-placeholder,
body.home .hairvina-feature-card:focus-within .hairvina-media-placeholder,
body.home .hairvina-staff-card:hover .hairvina-media-placeholder,
body.home .hairvina-staff-card:focus-within .hairvina-media-placeholder,
body.home .hairvina-why .hairvina-media-placeholder:hover {
  background-size: cover;
}

/* The generated world map is the About hero; remove the obsolete duplicate placeholder banner. */
.hairvina-about-page > .hairvina-about-banner {
  display: none;
}

/* Fill company-page editable placeholders with the company scene sprite. */
.hairvina-company-page .hairvina-editable-image:has(img[src*="stat-placeholder.svg"]) {
  background-image: url("../images/sections/product-preparation.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hairvina-company-page .hairvina-editable-image:has(img[src*="stat-placeholder.svg"]) img {
  opacity: 0;
}

.hairvina-company-page .hairvina-staff-grid .hairvina-info-card:nth-child(1) .hairvina-editable-image,
.hairvina-company-page .hairvina-team-feature-grid > *:nth-child(1) .hairvina-editable-image { background-image: url("../images/sections/staff-team.webp"); }
.hairvina-company-page .hairvina-staff-grid .hairvina-info-card:nth-child(2) .hairvina-editable-image,
.hairvina-company-page .hairvina-order-gallery .hairvina-info-card .hairvina-editable-image { background-image: url("../images/sections/order-packing.webp"); }
.hairvina-company-page .hairvina-staff-grid .hairvina-info-card:nth-child(3) .hairvina-editable-image,
.hairvina-company-page .hairvina-feedback-gallery .hairvina-info-card .hairvina-editable-image { background-image: url("../images/sections/customer-testimonials.webp"); }

@media (max-width: 900px) {
  .hairvina-carousel--categories .hairvina-carousel__track {
    grid-auto-columns: calc((100% - 1rem) / 2.35);
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .hairvina-carousel--categories .hairvina-carousel__track {
    grid-auto-columns: 82%;
  }

  .hairvina-carousel--categories .hairvina-category-card__media {
    aspect-ratio: 4 / 3;
  }
}

/* Editable Contact Us page and central Fluent Forms inquiry. */
.hairvina-contact-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(22rem, 42vw, 34rem);
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1rem, 5vw, 4rem);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 16% 25%, rgba(255, 255, 255, 0.26), transparent 23%),
    radial-gradient(circle at 88% 80%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #f58cb0 0%, #e96796 52%, #d54a7f 100%);
}

.hairvina-contact-hero::before,
.hairvina-contact-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.hairvina-contact-hero::before {
  top: -10rem;
  left: -8rem;
  width: 27rem;
  height: 27rem;
}

.hairvina-contact-hero::after {
  right: -10rem;
  bottom: -15rem;
  width: 38rem;
  height: 38rem;
}

.hairvina-contact-hero__inner {
  position: relative;
  z-index: 1;
}

.hairvina-contact-eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hairvina-contact-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hairvina-contact-hero__copy {
  max-width: 48rem;
  margin: 1.5rem auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.8;
}

.hairvina-contact-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  background: #f5f1f3;
}

.hairvina-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.hairvina-contact-layout > *,
.hairvina-contact-details > * {
  margin-block-start: 0 !important;
}

.hairvina-contact-form-card,
.hairvina-contact-info {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(84, 48, 64, 0.08);
}

.hairvina-contact-form-card h2,
.hairvina-contact-info > h2 {
  margin: 0;
  color: #4b4447;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
}

.hairvina-contact-form-card h2::after,
.hairvina-contact-info > h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 0.2rem;
  margin-top: 1rem;
  background: var(--wp--preset--color--accent);
}

.hairvina-contact-intro,
.hairvina-contact-info > p {
  color: #70696c;
  line-height: 1.75;
}

.hairvina-contact-form-card .fluentform {
  margin-top: 2rem;
}

.hairvina-contact-form-card .ff-el-group {
  margin-bottom: 1.15rem;
}

.hairvina-contact-form-card .ff-el-input--label label {
  margin-bottom: 0.45rem;
  color: #4f484b;
  font-size: 0.83rem;
  font-weight: 750;
}

.hairvina-contact-form-card .ff-el-form-control {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e3d9dd;
  border-radius: 0.2rem;
  color: #433d40;
  background: #fffafb;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hairvina-contact-form-card textarea.ff-el-form-control {
  min-height: 9rem;
  resize: vertical;
}

.hairvina-contact-form-card .ff-el-form-control:focus {
  border-color: var(--wp--preset--color--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 63, 118, 0.12);
}

.hairvina-contact-form-card .ff-btn-submit {
  min-height: 3.35rem;
  padding: 0.85rem 2rem;
  border: 1px solid var(--wp--preset--color--accent) !important;
  border-radius: 999px;
  color: #fff !important;
  background: var(--wp--preset--color--accent) !important;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: none !important;
}

.hairvina-contact-form-card .ff-btn-submit:hover,
.hairvina-contact-form-card .ff-btn-submit:focus-visible {
  border-color: var(--wp--preset--color--accent-dark) !important;
  background: var(--wp--preset--color--accent-dark) !important;
}

.hairvina-contact-info {
  border-top: 4px solid var(--wp--preset--color--accent);
}

.hairvina-contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0 2.5rem;
  border-top: 1px solid #eee4e8;
  border-left: 1px solid #eee4e8;
}

.hairvina-contact-detail {
  min-height: 8.5rem;
  padding: 1.25rem;
  border-right: 1px solid #eee4e8;
  border-bottom: 1px solid #eee4e8;
}

.hairvina-contact-detail h3,
.hairvina-contact-detail p {
  margin: 0;
}

.hairvina-contact-detail h3 {
  color: #4f484b;
  font-size: 1rem;
}

.hairvina-contact-detail p {
  margin-top: 0.55rem;
  color: #7b7377;
  font-size: 0.9rem;
  line-height: 1.6;
}

.hairvina-contact-socials {
  margin-top: 1.2rem;
}

.hairvina-contact-socials .wp-social-link {
  transition: transform 160ms ease;
}

.hairvina-contact-socials .wp-social-link:hover {
  transform: translateY(-0.2rem);
}

.hairvina-contact-help-button {
  margin-top: 2rem;
}

.hairvina-contact-help-button .wp-block-button__link {
  border-radius: 999px;
  color: var(--wp--preset--color--accent-dark);
  border-color: var(--wp--preset--color--accent) !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .hairvina-contact-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
    gap: 2rem;
  }

  .hairvina-contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .hairvina-contact-hero {
    min-height: 28rem;
    padding-block: 4.5rem;
  }

  .hairvina-contact-layout {
    grid-template-columns: 1fr;
  }

  .hairvina-contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .hairvina-contact-section {
    padding-inline: 0.75rem;
  }

  .hairvina-contact-form-card,
  .hairvina-contact-info {
    padding: 1.6rem;
  }

  .hairvina-contact-details {
    grid-template-columns: 1fr;
  }

  .hairvina-contact-form-card .ff-t-cell {
    display: block;
    width: 100%;
    padding: 0 !important;
  }
}

/* Editable Help Center and Order & Payment Policy pages. */
.hairvina-help-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(25rem, 46vw, 37rem);
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 4rem);
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.28), transparent 25%),
    radial-gradient(circle at 12% 86%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #f68cb0 0%, #e96896 52%, #d94d82 100%);
}

.hairvina-help-hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.hairvina-help-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.hairvina-help-hero__grid > *,
.hairvina-help-grid > *,
.hairvina-policy-layout > * {
  margin-block-start: 0 !important;
}

.hairvina-help-hero__intro,
.hairvina-help-hero__copy {
  margin: 0;
}

.hairvina-help-hero h1 {
  margin: 0 0 2rem;
  color: #fff;
  font-size: clamp(3.25rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hairvina-help-hero__copy {
  max-width: 41rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.85;
}

.hairvina-help-hero .wp-block-button__link {
  padding: 0.9rem 1.8rem;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85) !important;
  border-radius: 999px;
  background: transparent !important;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.hairvina-help-hero .wp-block-button__link:hover,
.hairvina-help-hero .wp-block-button__link:focus-visible {
  color: #c94373;
  background: #fff !important;
}

.hairvina-help-topics {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  background: #f1eff0;
}

.hairvina-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.5vw, 2rem);
}

.hairvina-help-card {
  display: flex;
  flex-direction: column;
  min-height: 23rem;
  height: 100%;
  padding: clamp(2rem, 3.5vw, 3rem);
  border: 1px solid #eee5e9;
  border-radius: 0.25rem;
  background: #fff;
  box-shadow: 0 1.2rem 3.2rem rgba(84, 48, 64, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hairvina-help-card:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 1.5rem 3.5rem rgba(84, 48, 64, 0.11);
}

.hairvina-help-card::before {
  content: "";
  display: block;
  width: 3.25rem;
  height: 0.2rem;
  margin-bottom: 2rem;
  background: var(--wp--preset--color--accent);
}

.hairvina-help-card h2 {
  margin: 0;
  color: #4d4649;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.2;
}

.hairvina-help-card p {
  margin: 1.25rem 0 2rem;
  color: #777074;
  line-height: 1.75;
}

.hairvina-help-card .wp-block-buttons {
  width: 100%;
  margin-top: auto;
}

.hairvina-help-card .wp-block-button,
.hairvina-help-card .wp-block-button__link {
  width: 100%;
}

.hairvina-help-card .wp-block-button__link {
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.hairvina-policy-hero {
  min-height: clamp(13rem, 24vw, 19rem);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(95, 48, 67, 0.2), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, #ed77a1, #d94d82);
}

.hairvina-policy-hero h1 {
  max-width: 50rem;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hairvina-policy-breadcrumb {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.hairvina-policy-breadcrumb a {
  color: #fff;
}

.hairvina-policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(16rem, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hairvina-policy-article {
  min-width: 0;
}

.hairvina-policy-article > * {
  width: 100%;
  max-width: none !important;
}

.hairvina-policy-lead {
  margin-top: 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eadfe4;
  color: #625b5e;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.85;
}

.hairvina-policy-article h2 {
  margin: clamp(3rem, 6vw, 5rem) 0 1.5rem;
  color: #4a4346;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
}

.hairvina-policy-article h2::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 0.2rem;
  margin-top: 1rem;
  background: var(--wp--preset--color--accent);
}

.hairvina-policy-article p,
.hairvina-policy-article li {
  color: #625b5e;
  line-height: 1.8;
}

.hairvina-policy-step {
  position: relative;
  margin: 0 0 1rem;
  padding: 1.45rem 1.6rem 1.45rem 2rem;
  border-left: 3px solid #f18caf;
  background: #fff7fa;
}

.hairvina-policy-step h3,
.hairvina-policy-step p {
  margin: 0;
}

.hairvina-policy-step h3 {
  color: #4d4549;
  font-size: 1.08rem;
}

.hairvina-policy-step p {
  margin-top: 0.45rem;
}

.hairvina-policy-note {
  padding: 1.25rem 1.4rem;
  border: 1px solid #f2cfdb;
  border-radius: 0.35rem;
  background: #fff6f9;
}

.hairvina-policy-article .wp-block-details {
  margin: 0 0 0.75rem;
  padding: 1rem 1.2rem;
  border: 1px solid #eadfe4;
  border-radius: 0.35rem;
}

.hairvina-policy-article .wp-block-details summary {
  color: #4d4549;
  font-weight: 700;
  cursor: pointer;
}

.hairvina-policy-sidebar {
  position: sticky;
  top: 2rem;
  overflow: hidden;
  border: 1px solid #e9dfe3;
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgba(84, 48, 64, 0.07);
}

.hairvina-policy-sidebar h2 {
  margin: 0;
  padding: 1.45rem 1.6rem;
  color: #fff;
  background: var(--wp--preset--color--accent);
  font-size: 1.45rem;
}

.hairvina-policy-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hairvina-policy-menu li {
  margin: 0;
  border-bottom: 1px solid #eee5e9;
}

.hairvina-policy-menu li:last-child {
  border-bottom: 0;
}

.hairvina-policy-menu a {
  display: block;
  padding: 1rem 1.25rem;
  color: #5b5357;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.hairvina-policy-menu a:hover,
.hairvina-policy-menu a:focus-visible,
.hairvina-policy-menu .is-current a {
  color: var(--wp--preset--color--accent-dark);
  background: #fff1f6;
}

.hairvina-policy-menu .is-current a {
  border-left: 3px solid var(--wp--preset--color--accent);
  font-weight: 750;
}

@media (max-width: 960px) {
  .hairvina-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hairvina-policy-layout {
    grid-template-columns: minmax(0, 1.75fr) minmax(14rem, 0.85fr);
    gap: 2rem;
  }
}

@media (max-width: 782px) {
  .hairvina-help-hero {
    min-height: 32rem;
    padding-block: 4rem;
  }

  .hairvina-help-hero__grid,
  .hairvina-policy-layout {
    grid-template-columns: 1fr;
  }

  .hairvina-help-hero__grid {
    gap: 2.5rem;
  }

  .hairvina-help-hero h1 {
    max-width: 10ch;
  }

  .hairvina-help-grid {
    grid-template-columns: 1fr;
  }

  .hairvina-help-card {
    min-height: 20rem;
  }

  .hairvina-policy-layout {
    padding-block: 3.5rem;
  }

  .hairvina-policy-sidebar {
    position: static;
  }
}

@media (max-width: 480px) {
  .hairvina-help-topics {
    padding-inline: 0.75rem;
  }

  .hairvina-help-card {
    min-height: 0;
    padding: 1.65rem;
  }

  .hairvina-policy-layout {
    width: min(100% - 1.25rem, 76rem);
  }

  .hairvina-policy-step {
    padding: 1.25rem;
  }
}

/* Dynamic blog home, category archives, article cards, and article detail. */
.hairvina-blog-archive,
.hairvina-blog-single {
  background: #fff;
}

.hairvina-blog-hero {
  padding: clamp(1.5rem, 3vw, 2.5rem) 1rem clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--wp--preset--color--border);
  background: linear-gradient(180deg, #fff 0%, #fff9fb 100%);
}

.hairvina-blog-breadcrumb {
  width: min(100%, var(--wp--style--global--wide-size));
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  color: #8b8b8b;
  font-size: 0.84rem;
}

.hairvina-blog-breadcrumb p {
  margin: 0;
}

.hairvina-blog-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.hairvina-blog-breadcrumb a:hover,
.hairvina-blog-breadcrumb a:focus-visible {
  color: var(--wp--preset--color--accent);
}

.hairvina-blog-title {
  margin: 0 auto;
  color: #3f3f3f;
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.hairvina-blog-title::after {
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: 1.1rem auto 0;
  background: var(--wp--preset--color--accent);
  content: "";
}

.hairvina-blog-description {
  max-width: 62rem;
  margin: 1.35rem auto 0;
  color: #666;
  font-size: clamp(0.96rem, 1.5vw, 1.08rem);
  line-height: 1.8;
}

.hairvina-blog-description p {
  margin: 0;
}

.hairvina-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  width: min(100% - 2rem, var(--wp--style--global--wide-size));
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.hairvina-blog-main,
.hairvina-blog-layout > .wp-block-template-part,
.hairvina-article {
  min-width: 0;
}

.hairvina-blog-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.hairvina-blog-grid > li {
  width: 100% !important;
  margin: 0 !important;
}

.hairvina-blog-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--wp--preset--color--border);
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(68, 45, 54, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hairvina-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.1rem 2.6rem rgba(68, 45, 54, 0.12);
}

.hairvina-blog-card__media {
  position: relative;
  min-height: 13rem;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #fff8fa 0 18px, #fbeef3 18px 36px);
}

.hairvina-blog-card__media::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  content: "";
}

/* Editorial fallback photography is shown only while a post has no featured
 * image. WordPress featured images still render above this layer and remain
 * the administrator-controlled source of truth. */
.hairvina-blog-grid > .wp-block-post:nth-child(6n + 1) .hairvina-blog-card__media {
  background-image: url("../images/blog-topics-sprite.webp");
  background-position: 0 0;
  background-size: 300% auto;
}

.hairvina-blog-grid > .wp-block-post:nth-child(6n + 2) .hairvina-blog-card__media {
  background-image: url("../images/blog-topics-sprite.webp");
  background-position: 50% 0;
  background-size: 300% auto;
}

.hairvina-blog-grid > .wp-block-post:nth-child(6n + 3) .hairvina-blog-card__media {
  background-image: url("../images/blog-topics-sprite.webp");
  background-position: 100% 0;
  background-size: 300% auto;
}

.hairvina-blog-grid > .wp-block-post:nth-child(6n + 4) .hairvina-blog-card__media {
  background-image: url("../images/blog-topics-sprite.webp");
  background-position: 0 100%;
  background-size: 300% auto;
}

.hairvina-blog-grid > .wp-block-post:nth-child(6n + 5) .hairvina-blog-card__media {
  background-image: url("../images/blog-topics-sprite.webp");
  background-position: 50% 100%;
  background-size: 300% auto;
}

.hairvina-blog-grid > .wp-block-post:nth-child(6n) .hairvina-blog-card__media {
  background-image: url("../images/blog-topics-sprite.webp");
  background-position: 100% 100%;
  background-size: 300% auto;
}

.hairvina-blog-card__media:has(img)::before {
  content: none;
}

.hairvina-blog-card__image,
.hairvina-blog-card__image a,
.hairvina-blog-card__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hairvina-blog-card__image img {
  transition: transform 300ms ease;
}

.hairvina-blog-card:hover .hairvina-blog-card__image img {
  transform: scale(1.035);
}

.hairvina-blog-card__date {
  position: absolute;
  top: 1rem;
  left: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 4rem;
  min-height: 3.6rem;
  margin: 0;
  padding: 0.45rem;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  background: var(--wp--preset--color--accent);
}

.hairvina-blog-card__body {
  padding: 1.35rem 1.4rem 1.6rem;
}

.hairvina-blog-card__title {
  margin: 0;
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.3;
}

.hairvina-blog-card__title a {
  color: #343434;
  text-decoration: none;
}

.hairvina-blog-card__title a:hover,
.hairvina-blog-card__title a:focus-visible {
  color: var(--wp--preset--color--accent);
}

.hairvina-blog-card__divider {
  width: 2rem !important;
  height: 2px;
  margin: 1rem 0 !important;
  border: 0;
  opacity: 1;
}

.hairvina-blog-card__excerpt {
  margin: 0;
  color: #6c6c6c;
  font-size: 0.92rem;
  line-height: 1.65;
}

.hairvina-blog-card__excerpt p {
  margin: 0;
}

.hairvina-blog-pagination {
  gap: 0.45rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.hairvina-blog-pagination a,
.hairvina-blog-pagination .page-numbers {
  display: inline-grid;
  min-width: 2.45rem;
  min-height: 2.45rem;
  place-items: center;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 999px;
  color: #555;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.hairvina-blog-pagination .current,
.hairvina-blog-pagination a:hover,
.hairvina-blog-pagination a:focus-visible {
  border-color: var(--wp--preset--color--accent);
  color: #fff;
  background: var(--wp--preset--color--accent);
}

.hairvina-blog-empty {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  border: 1px dashed #efb3c7;
  background: var(--wp--preset--color--blush);
}

.hairvina-blog-sidebar {
  position: sticky;
  top: 2rem;
  display: grid;
  gap: 2.5rem;
}

.hairvina-blog-sidebar > .hairvina-blog-widget {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.hairvina-blog-widget {
  margin: 0;
}

.hairvina-blog-widget > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none;
}

.hairvina-blog-widget__title {
  margin: 0;
  color: #3d3d3d;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0.055em;
}

.hairvina-blog-widget__divider {
  width: 2.25rem !important;
  height: 3px;
  margin: 0.8rem 0 1.25rem !important;
  border: 0;
  opacity: 1;
}

.hairvina-blog-categories,
.hairvina-blog-categories ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hairvina-blog-categories li {
  margin: 0;
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.hairvina-blog-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  color: #555;
  font-size: 0.92rem;
  text-decoration: none;
}

.hairvina-blog-categories a small {
  min-width: 1.6rem;
  color: #8b8286;
  font-size: 0.78rem;
  text-align: right;
}

.hairvina-blog-categories .is-current > a {
  color: var(--wp--preset--color--accent);
  font-weight: 700;
}

.hairvina-blog-categories .current-cat > a,
.hairvina-blog-categories a:hover,
.hairvina-blog-categories a:focus-visible {
  color: var(--wp--preset--color--accent);
}

.hairvina-featured-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.hairvina-featured-card {
  grid-template-columns: 40% minmax(0, 1fr) !important;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.hairvina-featured-card__image {
  min-height: 4.75rem;
  margin: 0;
  background: var(--wp--preset--color--blush);
}

.hairvina-featured-card__copy {
  align-self: center;
}

.hairvina-featured-card:not(:has(.hairvina-featured-card__image img)) .hairvina-featured-card__copy {
  grid-column: 1 / -1;
}

.hairvina-featured-card__title {
  margin: 0;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.86rem;
  line-height: 1.35;
}

.hairvina-featured-card__title a {
  color: #3d3d3d;
  text-decoration: none;
}

.hairvina-featured-card__date {
  margin: 0.4rem 0 0;
  color: #949494;
  font-size: 0.72rem;
}

.hairvina-blog-products ul.products {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  margin: 0 !important;
}

.hairvina-blog-products ul.products li.product {
  display: grid !important;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.9rem;
  width: 100% !important;
  margin: 0 !important;
  padding: 0.8rem 0 !important;
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.hairvina-blog-products ul.products li.product a.woocommerce-loop-product__link {
  display: contents;
}

.hairvina-blog-products ul.products li.product img {
  grid-row: 1 / span 3;
  width: 4.75rem !important;
  height: 4.75rem !important;
  margin: 0 !important;
  object-fit: cover;
}

.hairvina-blog-products .woocommerce-loop-product__title {
  align-self: end;
  margin: 0 !important;
  padding: 0 !important;
  color: #444;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.86rem !important;
  line-height: 1.35;
}

.hairvina-blog-products .price,
.hairvina-blog-products .star-rating {
  margin: 0 !important;
  color: var(--wp--preset--color--accent-dark) !important;
  font-size: 0.78rem !important;
}

.hairvina-blog-products .button,
.hairvina-blog-products .added_to_cart {
  display: none !important;
}

.hairvina-blog-products__all {
  margin-top: 1.25rem;
}

.hairvina-blog-products__all .wp-block-button__link {
  border-radius: 0.6rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.78rem;
}

.hairvina-blog-single__breadcrumb {
  width: min(100% - 2rem, var(--wp--style--global--wide-size));
  margin: 0 auto;
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.hairvina-blog-single__layout {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.hairvina-article {
  width: 100%;
}

.hairvina-article__title {
  max-width: 52rem;
  margin: 0 auto;
  color: #3d3d3d;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.hairvina-article__meta {
  gap: 0.55rem 1.25rem;
  margin-top: 1.1rem;
  color: #8b8b8b;
  font-size: 0.82rem;
}

.hairvina-article__meta a {
  color: var(--wp--preset--color--accent-dark);
}

.hairvina-article__divider {
  width: 2.75rem !important;
  height: 3px;
  margin: 1.4rem auto 2.25rem !important;
  border: 0;
  opacity: 1;
}

.hairvina-article__featured-wrap {
  position: relative;
  display: grid;
  min-height: clamp(16rem, 38vw, 30rem);
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  place-items: center;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #fff8fa 0 22px, #fbeef3 22px 44px);
}

.hairvina-article__featured-wrap::before {
  color: #9a8b91;
  font-size: 0.9rem;
  content: "Add this article's featured image";
}

.hairvina-article__featured-wrap:has(img)::before {
  content: none;
}

.hairvina-article__featured {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
  background: var(--wp--preset--color--blush);
}

.hairvina-article__featured,
.hairvina-article__featured img {
  margin: 0;
}

.hairvina-article__content {
  color: #4e4e4e;
  font-size: 1.03rem;
  line-height: 1.82;
}

.hairvina-article__content h2,
.hairvina-article__content h3 {
  margin-top: 2em;
  color: #333;
}

.hairvina-article__content img {
  height: auto;
}

.hairvina-article__navigation {
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.88rem;
}

.hairvina-article__navigation a {
  color: var(--wp--preset--color--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hairvina-blog-layout {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.72fr);
    gap: 2rem;
  }

  .hairvina-blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .hairvina-blog-layout {
    grid-template-columns: 1fr;
    width: min(100% - 1.25rem, var(--wp--style--global--wide-size));
  }

  .hairvina-blog-grid {
    grid-template-columns: 1fr;
  }

  .hairvina-blog-sidebar {
    position: static;
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    border-top: 1px solid var(--wp--preset--color--border);
  }

  .hairvina-blog-card__media {
    min-height: 12rem;
  }
}

@media (max-width: 480px) {
  .hairvina-blog-hero {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .hairvina-blog-breadcrumb {
    margin-bottom: 1.25rem;
  }

  .hairvina-blog-title {
    font-size: 1.85rem;
  }

  .hairvina-blog-card__body {
    padding: 1.15rem 1.1rem 1.35rem;
  }

  .hairvina-featured-card {
    grid-template-columns: 6rem minmax(0, 1fr) !important;
  }

  .hairvina-article__title {
    font-size: 2rem;
  }

  .hairvina-article__navigation {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* WooCommerce product-category archive. */
.hairvina-product-archive {
  overflow: clip;
  background: var(--wp--preset--color--base);
}

body.tax-product_cat .wp-block-navigation-item:has(> a[href*="/cart/"]),
body.tax-product_cat .wp-block-navigation-item:has(> a[href*="/checkout/"]),
body.tax-product_cat .wp-block-woocommerce-mini-cart {
  display: none !important;
}

.hairvina-archive-hero {
  padding-block: clamp(2rem, 3vw, 3rem);
  border-bottom: 1px solid var(--wp--preset--color--border);
  background: linear-gradient(135deg, #ffffff 0%, var(--wp--preset--color--surface) 100%);
}

.hairvina-archive-hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hairvina-archive-hero__grid:has(.hairvina-category-hero__media) {
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 24rem);
}

.hairvina-archive-hero__copy {
  max-width: 52rem;
  margin-inline: 0 !important;
}

.hairvina-archive-hero .woocommerce-breadcrumb {
  margin-bottom: 1rem;
  color: #777;
  font-size: 0.82rem;
}

.hairvina-archive-title {
  margin: 0;
  font-size: clamp(2.25rem, 3.25vw, 3rem);
}

.hairvina-archive-description {
  max-width: 48rem;
  margin-top: 1rem;
  color: #5f5f5f;
}

.hairvina-category-hero__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: var(--wp--preset--color--surface);
  box-shadow: var(--hairvina-shadow);
}

.hairvina-category-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hairvina-archive-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.hairvina-archive-main,
.hairvina-archive-sidebar {
  min-width: 0;
}

.hairvina-archive-toolbar {
  min-height: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.hairvina-archive-toolbar:not(:has(.woocommerce-result-count, .woocommerce-ordering)) {
  display: none !important;
}

.hairvina-archive-toolbar .woocommerce-result-count {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.hairvina-archive-toolbar .woocommerce-ordering {
  margin: 0;
}

.hairvina-archive-toolbar select {
  min-height: 2.75rem;
  padding: 0.55rem 2.5rem 0.55rem 0.85rem;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 0;
  background-color: var(--wp--preset--color--base);
}

.hairvina-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.hairvina-product-grid > li,
.hairvina-product-grid > .wc-block-product {
  min-width: 0;
  margin: 0 !important;
}

.hairvina-product-card {
  overflow: hidden;
  height: 100%;
  padding: 0 0 1.25rem;
  border: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--base);
  box-shadow: 0 8px 24px rgba(40, 20, 28, 0.07);
}

.hairvina-product-card__image,
.hairvina-product-card__image .wc-block-components-product-image,
.hairvina-product-card__image img {
  width: 100%;
}

.hairvina-product-card__image {
  margin-bottom: 0.9rem !important;
}

.hairvina-product-card__image img {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.hairvina-product-card__category,
.hairvina-product-card__title,
.hairvina-product-card__rating,
.hairvina-product-card__price,
.hairvina-product-card__link {
  margin-inline: 1rem !important;
}

.hairvina-product-card__category {
  margin-block: 0 0.45rem !important;
  color: #8a8a8a;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hairvina-product-card__category a {
  color: inherit;
  text-decoration: none;
}

.hairvina-product-card__title {
  min-height: 2.8em;
  margin-block: 0 !important;
  font-family: var(--wp--preset--font-family--system-sans);
  font-weight: 600;
}

.hairvina-product-card__title a {
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
}

.hairvina-product-card__rating {
  min-height: 1.6rem;
  margin-block: 0.65rem 0.25rem !important;
  color: #e6a03b;
}

.hairvina-product-card__price {
  min-height: 1.6rem;
  margin-block: 0.25rem 0.8rem !important;
  color: var(--wp--preset--color--accent-dark);
  font-weight: 700;
}

.hairvina-product-card__link {
  display: table;
  margin-block: 0.9rem 0 !important;
  margin-inline: auto !important;
  padding: 0.55rem 1rem;
  border: 1px solid var(--wp--preset--color--accent);
  border-radius: var(--wp--custom--hairvina--button--radius);
  color: var(--wp--preset--color--accent);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.hairvina-product-card__link:hover,
.hairvina-product-card__link:focus-visible {
  color: var(--wp--preset--color--base);
  background: var(--wp--preset--color--accent);
}

.hairvina-product-pagination {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.hairvina-product-pagination .page-numbers {
  display: grid;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.25rem;
  border: 1px solid var(--wp--preset--color--border);
  color: var(--wp--preset--color--contrast);
  place-items: center;
  text-decoration: none;
}

.hairvina-product-pagination .page-numbers.current,
.hairvina-product-pagination a.page-numbers:hover {
  border-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--base);
  background: var(--wp--preset--color--accent);
}

.hairvina-no-products {
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
  border: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--surface);
}

.hairvina-archive-sidebar {
  align-self: start;
  position: sticky;
  top: 2rem;
}

.hairvina-category-filter {
  margin: 0;
  border-top: 3px solid var(--wp--preset--color--accent);
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.hairvina-category-filter > summary {
  padding: 1rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.hairvina-category-list {
  padding-bottom: 1rem;
}

.hairvina-category-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hairvina-category-list li {
  margin: 0;
  border-top: 1px solid var(--wp--preset--color--border);
}

.hairvina-category-list li a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
}

.hairvina-category-list li a:hover,
.hairvina-category-list li a:focus-visible {
  color: var(--wp--preset--color--accent);
}

.hairvina-category-list > ul > li > a {
  font-weight: 700;
}

.hairvina-category-list ul ul a {
  padding-left: 1rem;
  font-weight: 400;
}

.hairvina-category-list li:has(> a[href*="/product-category/uncategorized/"]) {
  display: none;
}

.hairvina-archive-cta {
  gap: 0.75rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
  padding: clamp(2.25rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
}

.hairvina-archive-cta h2,
.hairvina-archive-cta p {
  margin-block: 0;
}

@media (max-width: 900px) {
  .hairvina-archive-layout {
    grid-template-columns: minmax(12rem, 14rem) minmax(0, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 700px) {
  .hairvina-archive-hero {
    padding-block: 2rem;
  }

  .hairvina-archive-hero__grid:has(.hairvina-category-hero__media) {
    grid-template-columns: 1fr;
  }

  .hairvina-category-hero__media {
    aspect-ratio: 16 / 9;
  }

  .hairvina-archive-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 1.75rem 3rem;
  }

  .hairvina-archive-sidebar {
    position: static;
    order: -1;
  }

  .hairvina-category-filter {
    padding-inline: 0.9rem;
    border: 1px solid var(--wp--preset--color--border);
  }

  .hairvina-archive-toolbar {
    align-items: stretch !important;
  }

  .hairvina-archive-toolbar .woocommerce-result-count {
    width: 100%;
  }

  .hairvina-archive-toolbar .woocommerce-ordering,
  .hairvina-archive-toolbar select {
    width: 100%;
  }

  .hairvina-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .hairvina-product-card {
    padding-bottom: 1rem;
  }

  .hairvina-product-card__category,
  .hairvina-product-card__title,
  .hairvina-product-card__rating,
  .hairvina-product-card__price,
  .hairvina-product-card__link {
    margin-inline: 0.7rem !important;
  }

  .hairvina-product-card__title {
    min-height: 3.8em;
    font-size: 0.86rem !important;
  }

  .hairvina-product-card__category {
    font-size: 0.62rem;
  }

  .hairvina-product-card__link {
    display: block;
    margin-inline: 0.7rem !important;
    padding-inline: 0.55rem;
    text-align: center;
  }

  .hairvina-archive-cta .wp-block-buttons,
  .hairvina-archive-cta .wp-block-button {
    width: 100%;
  }

  .hairvina-archive-cta .wp-block-button__link {
    width: 100%;
  }
}

/* Final measured corrections after desktop/mobile DOM audit. */
body .hairvina-product-card__button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 8rem !important;
  height: 2.6rem !important;
  min-height: 2.6rem !important;
  max-height: 2.6rem !important;
  margin: 0 auto !important;
  padding: 0.55rem 0.85rem !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  justify-self: center !important;
  line-height: 1 !important;
}
body .hairvina-article-product-preview__media,
body .hairvina-article-product-preview__copy,
body .hairvina-article-product-preview__media img,
body .hairvina-article-product-preview__placeholder {
  box-sizing: border-box !important;
}
body .hairvina-blog-product {
  grid-template-columns: 4.4rem minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  height: auto !important;
  max-height: none !important;
}
body .hairvina-blog-product > p:empty {
  display: none !important;
}
body .hairvina-blog-product > .hairvina-blog-product__media {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
}
body .hairvina-blog-product > div {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: grid !important;
  grid-template-rows: minmax(2.35rem, auto) auto auto !important;
  gap: 0.22rem !important;
  height: auto !important;
  min-height: 0 !important;
}
body .hairvina-blog-product h4 {
  max-height: 3.6rem !important;
  margin: 0 !important;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
body .hairvina-blog-product__rating,
body .hairvina-blog-product__link {
  margin: 0 !important;
}
body .hairvina-blog-product > div > p {
  margin: 0 !important;
}

@media (max-width: 700px) {
  body .hairvina-product-card__button {
    min-width: 7.15rem !important;
    height: 2.45rem !important;
    min-height: 2.45rem !important;
    max-height: 2.45rem !important;
    padding: 0.5rem 0.65rem !important;
  }
  body .hairvina-shop-card__body {
    display: grid !important;
    grid-template-rows: 4.45rem 3rem 2.45rem !important;
    gap: 0.3rem !important;
    height: 10.8rem !important;
    min-height: 10.8rem !important;
    padding: 0.65rem 0.55rem 0.75rem !important;
    align-content: start !important;
    justify-items: center !important;
  }
  body .hairvina-shop-card__body > h2 {
    display: -webkit-box !important;
    width: 100% !important;
    height: 4.45rem !important;
    min-height: 4.45rem !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    align-self: center !important;
    text-align: center !important;
  }
  body .hairvina-shop-card__rating {
    display: flex !important;
    width: 100% !important;
    height: 3rem !important;
    min-height: 3rem !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  body .hairvina-shop-card__actions {
    display: flex !important;
    width: 100% !important;
    height: 2.45rem !important;
    min-height: 2.45rem !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* 2026-10-28 final card-system lock: one five-star row and one shared rhythm. */
.hairvina-rating__stars {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  gap: 0.08em !important;
  overflow: visible !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
}
.hairvina-rating__star {
  display: block !important;
  flex: 0 0 auto !important;
  width: 0.92em !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* Product collection cards: no drifting CTA and no hollow vertical gap. */
body .hairvina-product-archive .hairvina-product-card__body {
  display: grid !important;
  grid-template-rows: 2.2rem 3.65rem 3.05rem 2.6rem !important;
  gap: 0.32rem !important;
  height: 13.25rem !important;
  min-height: 13.25rem !important;
  padding: 0.8rem 1rem 0.9rem !important;
  align-content: start !important;
  justify-items: center !important;
}
body .hairvina-product-archive .hairvina-product-card__category {
  width: 100% !important;
  height: 2.2rem !important;
  min-height: 2.2rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  align-self: start !important;
  text-align: left !important;
}
body .hairvina-product-archive .hairvina-product-card__title {
  display: flex !important;
  width: 100% !important;
  height: 3.65rem !important;
  min-height: 3.65rem !important;
  max-height: 3.65rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  align-items: flex-start !important;
  text-align: left !important;
}
body .hairvina-product-archive .hairvina-product-card__title a {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
body .hairvina-product-archive .hairvina-product-card__rating {
  align-self: center !important;
  justify-self: center !important;
  width: 100% !important;
  height: 3.05rem !important;
  min-height: 3.05rem !important;
  margin: 0 !important;
}
body .hairvina-product-archive .hairvina-product-card__link {
  align-self: center !important;
  justify-self: center !important;
  min-height: 2.6rem !important;
  margin: 0 !important;
}

/* Related Products on product and article pages share exactly the same rows. */
body .hairvina-related-products-carousel .hairvina-product-card__body,
body .hairvina-blog-related-products .hairvina-product-card__body {
  grid-template-rows: 2.15rem 3.9rem 3rem 2.6rem !important;
  gap: 0.38rem !important;
  height: 14.25rem !important;
  min-height: 14.25rem !important;
  padding: 0.8rem 0.8rem 0.95rem !important;
  align-content: start !important;
  justify-items: center !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__category,
body .hairvina-blog-related-products .hairvina-product-card__category {
  grid-row: 1 !important;
  height: 2.15rem !important;
  min-height: 2.15rem !important;
  margin: 0 !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__body h3,
body .hairvina-blog-related-products .hairvina-product-card__body h3 {
  grid-row: 2 !important;
  height: 3.9rem !important;
  min-height: 3.9rem !important;
  margin: 0 !important;
}
body .hairvina-related-products-carousel .hairvina-blog-related-products__rating,
body .hairvina-blog-related-products .hairvina-blog-related-products__rating {
  grid-row: 3 !important;
  width: 100% !important;
  height: 3rem !important;
  min-height: 3rem !important;
  margin: 0 !important;
  align-self: center !important;
  justify-self: center !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__link,
body .hairvina-blog-related-products .hairvina-product-card__link {
  grid-row: 4 !important;
  min-height: 2.6rem !important;
  margin: 0 !important;
  align-self: center !important;
  justify-self: center !important;
}

/* Products Mentioned: image and copy always form one compact horizontal card. */
body .hairvina-article-product-previews,
body .hairvina-article-product-previews > div,
body .hairvina-article-product-preview {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
body .hairvina-article-product-preview {
  display: grid !important;
  grid-template-columns: 6.5rem minmax(0, 1fr) !important;
  grid-template-rows: 8.25rem !important;
  height: 8.25rem !important;
  min-height: 8.25rem !important;
  overflow: hidden !important;
}
body .hairvina-article-product-preview__media {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 6.5rem !important;
  height: 8.25rem !important;
  min-height: 8.25rem !important;
  overflow: hidden !important;
}
body .hairvina-article-product-preview__copy {
  display: grid !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  grid-template-rows: auto minmax(2.6rem, auto) auto auto !important;
  gap: 0.24rem !important;
  height: 8.25rem !important;
  min-height: 0 !important;
  padding: 0.7rem 0.8rem !important;
  overflow: hidden !important;
  align-content: center !important;
}
body .hairvina-article-product-preview__rating .hairvina-rating {
  gap: 0.12rem !important;
}
body .hairvina-article-product-preview__view {
  display: inline-block !important;
  width: max-content !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Keep article columns and carousels inside the phone viewport. */
body .hairvina-blog-shell,
body .hairvina-blog-article,
body .hairvina-blog-content,
body .hairvina-blog-related-products,
body .hairvina-blog-related-products .hairvina-carousel,
body .hairvina-blog-related-products .hairvina-carousel__viewport {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* Sidebar product cards should be useful, not oversized empty boxes. */
body .hairvina-blog-products-list {
  gap: 0.55rem !important;
}
body .hairvina-blog-product {
  grid-template-columns: 4.4rem minmax(0, 1fr) !important;
  gap: 0.65rem !important;
  min-height: 6.65rem !important;
  padding: 0.55rem !important;
  align-items: center !important;
}
body .hairvina-blog-product > .hairvina-blog-product__media,
body .hairvina-blog-product > .hairvina-blog-product__media img {
  width: 4.4rem !important;
  height: 4.4rem !important;
}
body .hairvina-blog-product > div {
  min-height: 0 !important;
  align-content: center !important;
}

@media (max-width: 700px) {
  body .hairvina-product-archive .hairvina-product-card__body {
    grid-template-rows: 3.55rem 3rem 2.45rem !important;
    gap: 0.28rem !important;
    height: 10.45rem !important;
    min-height: 10.45rem !important;
    padding: 0.7rem 0.65rem 0.8rem !important;
  }
  body .hairvina-product-archive .hairvina-product-card__title {
    grid-row: 1 !important;
    height: 3.55rem !important;
    min-height: 3.55rem !important;
    max-height: 3.55rem !important;
    align-items: center !important;
    text-align: center !important;
  }
  body .hairvina-product-archive .hairvina-product-card__title a {
    width: 100% !important;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  body .hairvina-product-archive .hairvina-product-card__rating {
    grid-row: 2 !important;
    height: 3rem !important;
    min-height: 3rem !important;
  }
  body .hairvina-product-archive .hairvina-product-card__link {
    grid-row: 3 !important;
    min-height: 2.45rem !important;
  }
  body .hairvina-article-product-previews {
    padding: 0.75rem !important;
  }
  body .hairvina-article-product-preview {
    grid-template-columns: 5.25rem minmax(0, 1fr) !important;
    grid-template-rows: 7.8rem !important;
    height: 7.8rem !important;
    min-height: 7.8rem !important;
  }
  body .hairvina-article-product-preview__media {
    width: 5.25rem !important;
    height: 7.8rem !important;
    min-height: 7.8rem !important;
  }
  body .hairvina-article-product-preview__copy {
    height: 7.8rem !important;
    padding: 0.55rem 0.65rem !important;
  }
  body .hairvina-blog-related-products .hairvina-carousel__track {
    box-sizing: border-box !important;
    max-width: none !important;
  }
  body .hairvina-blog-related-products .hairvina-carousel__slide {
    flex: 0 0 calc(100% - 0.1px) !important;
    width: calc(100% - 0.1px) !important;
    min-width: calc(100% - 0.1px) !important;
    max-width: calc(100% - 0.1px) !important;
  }
  body .hairvina-blog-product {
    grid-template-columns: 4rem minmax(0, 1fr) !important;
    min-height: 6.15rem !important;
    padding: 0.5rem !important;
  }
  body .hairvina-blog-product > .hairvina-blog-product__media,
  body .hairvina-blog-product > .hairvina-blog-product__media img {
    width: 4rem !important;
    height: 4rem !important;
  }
}

/* 2026-10 refinement pass: brand, typography, motion, quick view and contact. */
.hairvina-brandbar {
  margin: 0 !important;
  padding: 0.42rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  background: linear-gradient(90deg, #9f2450, #dd3c72 58%, #ef477d);
}

.hairvina-brandbar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, var(--wp--style--global--wide-size));
  margin-inline: auto;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hairvina-brandbar__content > div,
.hairvina-brandbar .hairvina-social-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hairvina-brand-logo {
  width: auto;
  min-width: 10rem;
  gap: 0.45rem;
  text-decoration: none;
}

.hairvina-hero__content {
  width: min(100%, 35rem);
}

.hairvina-hero h1 {
  max-width: 11.5ch;
  font-size: clamp(2.8rem, 4.4vw, 4.5rem);
  line-height: 1.01;
}

.hairvina-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(255, 252, 253, 0.98) 0%, rgba(255, 248, 251, 0.9) 38%, rgba(255, 248, 251, 0.22) 60%, rgba(255, 248, 251, 0.03) 76%) !important;
}

.hairvina-hero__video {
  z-index: 0;
}

.hairvina-hero:has(.hairvina-hero__video) .wp-block-cover__image-background {
  opacity: 0 !important;
}

.hairvina-hero .wp-block-cover__background {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.hairvina-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

.hairvina-brandbar .hairvina-social-link {
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.hairvina-brandbar .hairvina-social-link strong,
.hairvina-brandbar .hairvina-social-links__pending {
  display: none;
}

.hairvina-brandbar__contact {
  padding-left: 0.65rem;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  text-decoration: none;
}

body.admin-bar .hairvina-header-main {
  top: 32px;
}

.hairvina-section-title,
.hairvina-carousel-section__title,
.hairvina-help-hero h1,
.hairvina-contact-hero h1,
.hairvina-article__title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.hairvina-section-title,
.hairvina-carousel-section__title {
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
  font-size: clamp(2.15rem, 4.1vw, 3.45rem);
  line-height: 1.08;
}

.hairvina-hero {
  isolation: isolate;
}

.hairvina-hero__video {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hairvina-hero .wp-block-cover__background,
.hairvina-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
}

.hairvina-hero h1 {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.3vw, 5.75rem);
  font-weight: 600;
  line-height: 0.98;
  text-wrap: balance;
}

.hairvina-stat-grid {
  align-items: stretch;
}

.hairvina-stat-card {
  display: flex;
  min-height: 15rem;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.35rem 1rem 1.6rem;
}

.hairvina-stat-card h3 {
  min-height: 1.2em;
  margin-top: 0.25rem;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 500;
  line-height: 1.05;
}

.hairvina-stat-card p {
  max-width: 15rem;
  margin: 0.55rem auto 0;
  color: #5c5357;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  line-height: 1.55;
  text-align: center;
}

.hairvina-collection-preview-card__media {
  position: relative;
  display: block;
  background: #f8eef2;
}

.hairvina-collection-preview-card__image {
  position: absolute;
  inset: 0;
  transition: opacity 320ms ease, transform 500ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 320ms ease;
}

.hairvina-collection-preview-card__image--secondary {
  opacity: 0;
  filter: saturate(1.08) contrast(1.04) brightness(1.025);
  transform: scale(1.035) translateX(-1.5%);
}

.hairvina-collection-preview-card__hover {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.72rem;
  color: #fff;
  background: rgba(239, 63, 118, 0.96);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 220ms ease, transform 260ms ease;
}

@media (hover: hover) {
  .hairvina-collection-preview-card__media:hover .hairvina-collection-preview-card__image--primary,
  .hairvina-collection-preview-card__media:focus-visible .hairvina-collection-preview-card__image--primary {
    opacity: 0;
    transform: scale(1.055);
  }

  .hairvina-collection-preview-card__media:hover .hairvina-collection-preview-card__image--secondary,
  .hairvina-collection-preview-card__media:focus-visible .hairvina-collection-preview-card__image--secondary,
  .hairvina-collection-preview-card__media:hover .hairvina-collection-preview-card__hover,
  .hairvina-collection-preview-card__media:focus-visible .hairvina-collection-preview-card__hover {
    opacity: 1;
    transform: translateY(0) scale(1.055);
  }

  .hairvina-collection-preview-card__media:hover .hairvina-collection-preview-card__hover,
  .hairvina-collection-preview-card__media:focus-visible .hairvina-collection-preview-card__hover {
    transform: translateY(0);
  }
}

.hairvina-quick-view-modal {
  width: min(calc(100% - 2rem), 64rem);
  max-height: min(90vh, 48rem);
  border-radius: 0.35rem;
}

.hairvina-quick-view-modal__layout {
  grid-template-columns: minmax(20rem, 1.05fr) minmax(0, 0.95fr);
}

.hairvina-quick-view-modal__gallery {
  position: relative;
  display: grid;
  min-height: 34rem;
  place-items: center;
  background: #f7f1f3;
}

.hairvina-quick-view-modal__image {
  min-height: 34rem;
  max-height: 42rem;
}

.hairvina-quick-view-modal__arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #4f474b;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-size: 1.65rem;
  transform: translateY(-50%);
  place-items: center;
}

.hairvina-quick-view-modal__arrow--prev { left: 1rem; }
.hairvina-quick-view-modal__arrow--next { right: 1rem; }

.hairvina-quick-view-modal__dots {
  position: absolute;
  bottom: 1rem;
  display: flex;
  gap: 0.45rem;
}

.hairvina-quick-view-modal__dots button {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ddd7d9;
  cursor: pointer;
}

.hairvina-quick-view-modal__dots button.is-active { background: #ef477d; }

.hairvina-quick-view-modal__content {
  justify-content: flex-start;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.hairvina-quick-view-modal__title {
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  font-weight: 500;
  line-height: 1.2;
}

.hairvina-quick-view-modal__accent {
  width: 2rem;
  height: 3px;
  margin-bottom: 1.35rem;
  background: #ef477d;
}

.hairvina-quick-view-modal__summary {
  margin-bottom: 1.3rem;
  color: #5c5558;
  line-height: 1.8;
}

.hairvina-quick-view-modal__meta {
  margin-bottom: 1.35rem;
  padding-block: 0.8rem;
  border-block: 1px dotted #d8ced2;
  color: #796f74;
  font-size: 0.76rem;
}

.hairvina-quick-view-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hairvina-quick-view-modal__actions a,
.hairvina-quick-view-modal__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid #ef477d;
  border-radius: 999px;
  color: #fff;
  background: #ef477d;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.hairvina-quick-view-modal__whatsapp {
  color: #d33168 !important;
  background: #fff !important;
}

.hairvina-quick-view-modal__link {
  align-self: flex-start;
  min-height: auto;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #8a7b82;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hairvina-article__title {
  max-width: 21ch;
  color: #373033;
  font-size: clamp(2.2rem, 4.3vw, 3.7rem);
  line-height: 1.08;
}

.hairvina-article-rating {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #eadfe3;
  background: #fff;
}

.hairvina-article-rating__editorial,
.hairvina-article-rating__reader {
  display: grid;
  gap: 0.48rem;
  align-content: center;
  min-height: 10rem;
  padding: 1.35rem 1.5rem;
}

.hairvina-article-rating__editorial {
  color: #fff;
  background: linear-gradient(135deg, #a92759, #e9447a);
}

.hairvina-article-rating__editorial > span,
.hairvina-article-follow > div > span {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.hairvina-article-rating__editorial strong {
  color: #ffc35a;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}

.hairvina-article-rating__editorial strong small {
  color: #fff;
  font-size: 0.75rem;
}

.hairvina-article-rating__editorial em {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  font-style: normal;
  line-height: 1.5;
}

.hairvina-article-follow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
  padding: 1.2rem 0 1.6rem;
  border-bottom: 1px solid #e9e2e5;
}

.hairvina-article-follow p {
  margin: 0.25rem 0 0;
  color: #73696e;
  font-size: 0.82rem;
}

.hairvina-social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.65rem;
  width: 100%;
}

.hairvina-social-link {
  display: flex;
  width: auto;
  min-width: 0;
  height: 2.8rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #ead9df;
  border-radius: 0.45rem;
  gap: 0.55rem;
  color: #b02b5a;
  background: #fff;
  font-size: 0.78rem;
  place-items: center;
}

.hairvina-social-link span {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  color: #fff;
  background: #ef477d;
  place-items: center;
}

.hairvina-social-link strong {
  overflow: hidden;
  font-size: 0.7rem;
  text-overflow: ellipsis;
}

.hairvina-social-link.is-pending {
  opacity: 0.58;
  cursor: default;
}

.hairvina-social-link.is-pending:hover {
  color: #b02b5a;
  background: #fff;
  transform: none;
}

.hairvina-article-follow .hairvina-social-links {
  width: min(100%, 28rem);
  grid-template-columns: repeat(3, minmax(6rem, 1fr));
}

.hairvina-floating-contact {
  position: fixed;
  z-index: 9998;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  gap: 0.6rem;
}

.hairvina-floating-contact__item {
  display: grid;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  min-width: 3.25rem;
  height: 3.25rem;
  min-height: 3.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #fff;
  background: #242124;
  box-shadow: 0 0.75rem 2rem rgba(48, 26, 35, 0.22);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hairvina-floating-contact__item svg {
  width: 1.55rem;
  height: 1.55rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hairvina-floating-contact__item--whatsapp svg path:last-child,
.hairvina-floating-contact__item--telegram svg path {
  fill: currentColor;
  stroke: none;
}

.hairvina-floating-contact__item--whatsapp { background: #21a862; }
.hairvina-floating-contact__item--telegram { background: #229ed9; }
.hairvina-floating-contact__item:hover,
.hairvina-floating-contact__item:focus-visible { transform: translateY(-2px); }

.hairvina-official-contact {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.45;
}

.hairvina-official-contact a {
  display: grid;
  gap: 0.08rem;
  color: inherit;
  text-decoration: none;
}

.hairvina-official-contact a:hover strong,
.hairvina-official-contact a:focus-visible strong { text-decoration: underline; }
.hairvina-official-contact span { opacity: 0.68; }
.hairvina-official-contact strong {
  overflow-wrap: anywhere;
  font-weight: 650;
}

.hairvina-official-contact-section {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--wp--preset--color--border, #eadde3);
  border-radius: 1rem;
  background: #fff;
}

.hairvina-official-contact-section .hairvina-official-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .hairvina-official-contact-section .hairvina-official-contact { grid-template-columns: 1fr; }
}

/* Keep the quick-contact rail visible above the Contact Us layout and form. */
body.page-id-51 .hairvina-floating-contact,
body:has(.hairvina-contact-layout) .hairvina-floating-contact {
  position: fixed !important;
  z-index: 10020;
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@media (max-width: 782px) {
  body.page-id-51 .hairvina-floating-contact,
  body:has(.hairvina-contact-layout) .hairvina-floating-contact {
    display: grid !important;
  }
}

.hairvina-product-archive .hairvina-archive-cta,
.hairvina-shop-page .hairvina-archive-cta {
  width: min(calc(100% - 2rem), 72rem) !important;
  margin-top: clamp(4.5rem, 8vw, 7rem) !important;
  margin-bottom: clamp(4.5rem, 8vw, 7rem) !important;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem) !important;
  border-radius: 0.6rem;
  color: #fff;
  background: linear-gradient(125deg, #942448, #c52f63 58%, #e8497b) !important;
  box-shadow: 0 1.5rem 3.8rem rgba(101, 28, 55, 0.16);
}

.hairvina-archive-cta h2 {
  max-width: 38rem;
  margin: 0 auto !important;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hairvina-archive-cta p {
  max-width: 42rem;
  margin: 0.85rem auto 0 !important;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.65;
}

.hairvina-archive-cta .wp-block-buttons { margin-top: 1.35rem !important; }
.hairvina-archive-cta .wp-block-button__link {
  min-height: 2.8rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.hairvina-help-card h2,
.hairvina-contact-form-card h2,
.hairvina-contact-info > h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

@media (max-width: 782px) {
  .hairvina-brandbar__content > span { display: none; }
  .hairvina-brandbar__content { justify-content: flex-end; }
  .hairvina-brandbar .hairvina-social-links { width: auto; grid-template-columns: repeat(7, auto); }
  .hairvina-brandbar .hairvina-social-link { display: grid; }
  .hairvina-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hairvina-stat-card { min-height: 13rem; }
  .hairvina-quick-view-modal { width: min(calc(100% - 1rem), 34rem); max-height: 92vh; }
  .hairvina-quick-view-modal__layout { display: block; }
  .hairvina-quick-view-modal__gallery { min-height: 46vh; }
  .hairvina-quick-view-modal__image { height: 46vh; min-height: 16rem; }
  .hairvina-quick-view-modal__content { padding: 1.35rem; }
  .hairvina-article-rating { grid-template-columns: 1fr; }
  .hairvina-article-follow { align-items: flex-start; flex-direction: column; }
  .hairvina-article-follow .hairvina-social-links { grid-template-columns: repeat(2, minmax(7rem, 1fr)); }
}

@media (max-width: 520px) {
  .hairvina-brandbar { padding-inline: 0.75rem; }
  .hairvina-brandbar__contact { font-size: 0.6rem; }
  .hairvina-stat-grid { gap: 0.5rem; }
  .hairvina-stat-card { min-height: 11.5rem; padding-inline: 0.35rem; }
  .hairvina-stat-image { width: 3.8rem; height: 3.8rem; }
  .hairvina-stat-card h3 { font-size: 1.55rem; }
  .hairvina-stat-card p { font-size: 0.72rem; }
  .hairvina-floating-contact { right: 0.7rem; bottom: 0.7rem; display: flex; }
  .hairvina-floating-contact__item { min-width: 2.9rem; width: 2.9rem; padding: 0.55rem; }
  .hairvina-floating-contact__item b { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); }
  .hairvina-archive-cta .wp-block-buttons,
  .hairvina-archive-cta .wp-block-button,
  .hairvina-archive-cta .wp-block-button__link { width: 100%; }
  .hairvina-archive-cta .wp-block-button__link { text-align: center; }
}

/* 2026-10-25 final catalogue/article alignment.
 * These rules intentionally live last: older archive and carousel rules above
 * must not pull actions back to the left or narrow article headings again. */
@media (min-width: 783px) {
  .hairvina-shop-layout .hairvina-shop-card__body {
    box-sizing: border-box !important;
    min-height: 15.75rem !important;
    padding: 1rem 1.05rem 1.15rem !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hairvina-shop-layout .hairvina-shop-card__category {
    display: -webkit-box !important;
    width: 100% !important;
    min-height: 2.05rem !important;
    max-height: 2.05rem !important;
    margin: 0 0 0.3rem !important;
    overflow: hidden !important;
    line-height: 1.4 !important;
    text-align: center !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hairvina-shop-layout .hairvina-shop-card__body h2 {
    display: -webkit-box !important;
    width: 100% !important;
    min-height: 3.05rem !important;
    max-height: 3.05rem !important;
    margin: 0 !important;
    overflow: hidden !important;
    font-size: 1rem !important;
    line-height: 1.52 !important;
    text-align: center !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hairvina-shop-layout .hairvina-shop-card__rating {
    min-height: 1.2rem !important;
    margin: 0.48rem 0 0 !important;
  }

  .hairvina-shop-layout .hairvina-shop-card__rating .star-rating {
    margin-inline: auto !important;
  }

  .hairvina-shop-layout .hairvina-shop-card__summary {
    display: -webkit-box !important;
    width: 100% !important;
    min-height: 4.35rem !important;
    max-height: 4.35rem !important;
    margin: 0.5rem 0 0 !important;
    overflow: hidden !important;
    line-height: 1.5 !important;
    text-align: center !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .hairvina-shop-layout .hairvina-shop-card__actions {
    display: flex !important;
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 0.72rem !important;
    align-self: stretch !important;
    justify-content: center !important;
  }

  .hairvina-shop-layout .hairvina-shop-card__actions .hairvina-product-card__button {
    margin-inline: auto !important;
  }
}

.hairvina-related-products-carousel .hairvina-carousel__track,
.hairvina-blog-related-products .hairvina-carousel__track {
  align-items: stretch !important;
}

.hairvina-related-products-carousel .hairvina-product-card,
.hairvina-blog-related-products .hairvina-product-card {
  display: flex !important;
  height: auto !important;
  min-height: 100% !important;
  flex-direction: column !important;
}

.hairvina-related-products-carousel .hairvina-product-card__body,
.hairvina-blog-related-products .hairvina-product-card__body {
  display: grid !important;
  box-sizing: border-box !important;
  grid-template-rows: 2.2rem 4.15rem 1.15rem 2.55rem !important;
  width: 100% !important;
  height: 11.35rem !important;
  min-height: 11.35rem !important;
  padding: 0.85rem 0.8rem 1rem !important;
  flex: 1 1 auto !important;
  align-items: start !important;
  justify-items: center !important;
}

.hairvina-related-products-carousel .hairvina-product-card__category,
.hairvina-blog-related-products .hairvina-product-card__category {
  display: -webkit-box !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: 2.2rem !important;
  min-height: 2.2rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 0.62rem !important;
  line-height: 1.4 !important;
  text-align: center !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hairvina-related-products-carousel .hairvina-product-card__body h3,
.hairvina-blog-related-products .hairvina-product-card__body h3 {
  display: -webkit-box !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 4.15rem !important;
  min-height: 4.15rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 0.88rem !important;
  line-height: 1.42 !important;
  text-align: center !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hairvina-blog-related-products__rating {
  grid-row: 3 !important;
  align-self: center !important;
  height: 1.15rem !important;
  min-height: 1.15rem !important;
  margin: 0 !important;
}

.hairvina-related-products-carousel .hairvina-product-card__button,
.hairvina-blog-related-products .hairvina-product-card__button {
  display: inline-flex !important;
  grid-row: 4 !important;
  min-width: 7.8rem !important;
  min-height: 2.45rem !important;
  margin: 0 auto !important;
  align-self: end !important;
  justify-self: center !important;
  align-items: center !important;
  justify-content: center !important;
}

.hairvina-article__title,
.hairvina-local-draft-preview > .hairvina-article__title {
  width: 100% !important;
  max-width: 100% !important;
  text-wrap: wrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

@media (max-width: 782px) {
  .hairvina-related-products-carousel .hairvina-product-card__body,
  .hairvina-blog-related-products .hairvina-product-card__body {
    height: 10.95rem !important;
    min-height: 10.95rem !important;
    grid-template-rows: 2rem 3.75rem 1.05rem 2.4rem !important;
    padding-inline: 0.7rem !important;
  }
}

/* WooCommerce single-product template. */
.hairvina-single-product {
  overflow: clip;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem) clamp(4rem, 7vw, 7rem);
  background: var(--wp--preset--color--base);
}

.hairvina-product-overview {
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: flex-start !important;
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.hairvina-product-gallery,
.hairvina-product-summary {
  min-width: 0;
}

.hairvina-product-gallery .woocommerce-product-gallery,
.hairvina-product-gallery .wp-block-woocommerce-product-image-gallery,
.hairvina-product-gallery .wc-block-product-gallery {
  width: 100% !important;
}

.hairvina-product-gallery .wc-block-product-gallery {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.8rem;
}

.hairvina-product-gallery .woocommerce-product-gallery__wrapper,
.hairvina-product-gallery .wc-block-product-gallery-large-image,
.hairvina-product-gallery .wc-block-product-gallery-large-image__container,
.hairvina-product-gallery .wc-block-product-gallery-large-image__wrapper {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f6f7f7;
}

.hairvina-product-gallery .wc-block-product-gallery-large-image__container {
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior-x: contain;
}

.hairvina-product-gallery .wc-block-product-gallery-large-image__container.is-dragging {
  cursor: grabbing;
}

.hairvina-product-gallery .wc-block-product-gallery-large-image img,
.hairvina-product-gallery .woocommerce-product-gallery__wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hairvina-product-gallery .flex-control-thumbs,
.hairvina-product-gallery .wc-block-product-gallery-thumbnails__scrollable {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.8rem;
  width: 100%;
  margin: 0 !important;
  padding-bottom: 0.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.hairvina-product-gallery .flex-control-thumbs li,
.hairvina-product-gallery .wc-block-product-gallery-thumbnails__thumbnail {
  flex: 0 0 calc((100% - 2.4rem) / 4) !important;
  width: calc((100% - 2.4rem) / 4) !important;
  height: auto !important;
  margin: 0 !important;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
}

.hairvina-product-gallery .wc-block-product-gallery-thumbnails__thumbnail__image,
.hairvina-product-gallery .flex-control-thumbs img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 1px solid #eee7ea;
  object-fit: cover;
  object-position: center;
}

.hairvina-product-gallery .wc-block-product-gallery-thumbnails__thumbnail__image--is-active,
.hairvina-product-gallery .flex-control-thumbs img.flex-active {
  border-color: var(--wp--preset--color--accent);
  box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent);
}

.hairvina-product-gallery .wc-block-next-previous-buttons__button {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(76, 68, 72, 0.14);
  border-radius: 999px !important;
  color: #5d565a;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 0.35rem 1rem rgba(75, 49, 61, 0.12);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.hairvina-product-gallery .wc-block-next-previous-buttons__button:hover,
.hairvina-product-gallery .wc-block-next-previous-buttons__button:focus-visible {
  color: var(--wp--preset--color--base);
  background: var(--wp--preset--color--accent) !important;
  transform: scale(1.04);
}

.hairvina-product-gallery .wc-block-woocommerce-product-gallery-large-image__image--full-screen-on-click {
  cursor: zoom-in;
}

.hairvina-product-breadcrumbs {
  margin-bottom: 1rem;
  color: #9a9698;
  font-size: 0.82rem;
}

.hairvina-product-breadcrumbs .woocommerce-breadcrumb {
  margin: 0;
}

.hairvina-product-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.hairvina-product-title {
  position: relative;
  margin: 0 0 1.35rem;
  padding-bottom: 1.1rem;
  color: #4f4a4d;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hairvina-product-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 3px;
  background: var(--wp--preset--color--accent);
}

.hairvina-product-rating {
  margin-bottom: 1.35rem;
  color: #f6a12c;
}

.hairvina-product-price {
  display: none !important;
}

.hairvina-product-short-description {
  margin-bottom: 1.5rem;
  color: #514d4f;
  font-size: 1rem;
  line-height: 1.8;
}

.hairvina-product-short-description p:first-child,
.hairvina-product-short-description ul:first-child {
  margin-top: 0;
}

.hairvina-product-short-description ul {
  padding-left: 1.25rem;
}

.hairvina-product-short-description li + li {
  margin-top: 0.45rem;
}

.hairvina-product-key-specs {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0;
  color: #454044;
  font-size: 1rem;
  line-height: 1.65;
  list-style: none;
}

.hairvina-product-key-specs li {
  position: relative;
  margin: 0;
  padding-left: 1.05rem;
}

.hairvina-product-key-specs li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--wp--preset--color--accent);
  content: "•";
}

.hairvina-product-summary form.cart,
.hairvina-product-summary .variations_form,
.hairvina-product-options {
  margin-block: 1.25rem;
  padding-block: 1rem;
  border-block: 1px solid #ece7e9;
}

.hairvina-product-options__title {
  margin: 0 0 0.85rem;
  color: #504b4e;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.95rem;
  font-weight: 700;
}

.hairvina-product-option {
  display: grid;
  grid-template-columns: minmax(5rem, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.hairvina-product-option + .hairvina-product-option {
  margin-top: 0.75rem;
}

.hairvina-product-option label {
  color: #585255;
  font-size: 0.9rem;
  font-weight: 700;
}

.hairvina-product-option select,
.hairvina-product-summary .variations select {
  width: 100%;
  min-height: 2.85rem;
  padding-inline: 0.8rem;
  border: 1px solid #ded7da;
  border-radius: 0;
  background: var(--wp--preset--color--base);
}

body.single-product .hairvina-product-summary form.cart .quantity,
body.single-product .hairvina-product-summary form.cart button[type="submit"],
body.single-product .hairvina-product-summary .single_add_to_cart_button,
body.single-product .hairvina-product-summary .wc-block-components-quantity-selector,
body.single-product .hairvina-product-summary .wc-block-add-to-cart-form__button {
  display: none !important;
}

.hairvina-product-inquiry {
  margin-block: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #f0dce4;
  background: linear-gradient(135deg, #fff8fb, #fff);
}

.hairvina-product-inquiry__title {
  margin: 0 0 0.45rem;
  color: #4e474b;
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: 1.35rem;
}

body.single-product .hairvina-product-inquiry__note {
  display: block;
  margin: 0 0 1rem;
  color: #6e6569;
  font-size: 0.88rem;
  line-height: 1.65;
}

.hairvina-product-inquiry__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hairvina-product-inquiry__buttons .wp-block-button__link {
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid var(--wp--preset--color--accent);
  border-radius: 999px;
  color: var(--wp--preset--color--base);
  background: var(--wp--preset--color--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.hairvina-product-inquiry__buttons .is-style-outline .wp-block-button__link {
  color: var(--wp--preset--color--accent);
  background: transparent;
}

.hairvina-product-inquiry__buttons .wp-block-button__link:hover,
.hairvina-product-inquiry__buttons .wp-block-button__link:focus-visible {
  border-color: var(--wp--preset--color--accent-dark);
  color: var(--wp--preset--color--base);
  background: var(--wp--preset--color--accent-dark);
}

.hairvina-product-meta {
  margin-top: 1.65rem;
  color: #615b5e;
  font-size: 0.8rem;
}

.hairvina-product-meta > .wp-block-group {
  display: grid !important;
  gap: 0 !important;
}

.hairvina-product-meta .wp-block-woocommerce-product-sku,
.hairvina-product-meta .wp-block-post-terms {
  width: 100%;
  margin: 0;
  padding: 0.48rem 0;
  border-bottom: 1px dotted #d7cfd3;
}

.hairvina-product-meta a {
  color: inherit;
  text-decoration: none;
}

.hairvina-product-meta a:hover,
.hairvina-product-meta a:focus-visible {
  color: var(--wp--preset--color--accent);
}

.hairvina-product-social {
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hairvina-product-social__label {
  margin: 0;
  color: #777075;
  font-size: 0.8rem;
  font-weight: 700;
}

.hairvina-product-social__icons {
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.hairvina-product-social__icons .wp-social-link {
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  border: 2px solid #d7d2d4;
  border-radius: 999px;
  color: var(--wp--preset--color--accent) !important;
  background: transparent !important;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.hairvina-product-social__icons .wp-social-link:hover,
.hairvina-product-social__icons .wp-social-link:focus-within {
  border-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--base) !important;
  background: var(--wp--preset--color--accent) !important;
  transform: translateY(-1px);
}

.hairvina-product-social__icons .wp-social-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.hairvina-product-details {
  margin-bottom: clamp(3rem, 6vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid #eee8eb;
}

.hairvina-product-details #tab-description > h2:first-child,
.hairvina-product-details .wc-block-woocommerce-product-details__description > h2:first-child {
  display: none;
}

.hairvina-product-details #tab-description h2,
.hairvina-product-details .wc-block-woocommerce-product-details__description h2 {
  position: relative;
  margin: clamp(2.25rem, 5vw, 3.5rem) 0 1rem;
  padding-bottom: 0.7rem;
  color: #3f393c;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hairvina-product-details #tab-description h2::after,
.hairvina-product-details .wc-block-woocommerce-product-details__description h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.7rem;
  height: 2px;
  background: var(--wp--preset--color--accent);
  content: "";
}

.hairvina-product-details #tab-description h3,
.hairvina-product-details .wc-block-woocommerce-product-details__description h3 {
  margin-top: 2rem;
  color: #514a4e;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
}

.hairvina-product-details #tab-description p,
.hairvina-product-details #tab-description li,
.hairvina-product-details .wc-block-woocommerce-product-details__description p,
.hairvina-product-details .wc-block-woocommerce-product-details__description li {
  color: #564f52;
  line-height: 1.85;
}

.hairvina-product-details #tab-description table,
.hairvina-product-details .wc-block-woocommerce-product-details__description table {
  width: 100%;
  margin-block: 1.5rem 2.5rem;
  border-collapse: collapse;
}

.hairvina-product-details #tab-description th,
.hairvina-product-details #tab-description td,
.hairvina-product-details .wc-block-woocommerce-product-details__description th,
.hairvina-product-details .wc-block-woocommerce-product-details__description td {
  padding: 0.9rem 1rem;
  border: 1px solid #eadfe3;
  text-align: left;
  vertical-align: top;
}

.hairvina-product-details #tab-description th,
.hairvina-product-details .wc-block-woocommerce-product-details__description th {
  width: 28%;
  color: #4f484c;
  background: #fff5f8;
}

.hairvina-inline-inquiry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: clamp(2.5rem, 5vw, 3.75rem) 0 0;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1rem, 3vw, 1.6rem);
  border: 1px solid #eadfe3;
  border-left: 3px solid var(--wp--preset--color--accent);
  border-radius: 0.6rem;
  color: #403a3d;
  background: #fff8fa;
}

.hairvina-inline-inquiry__copy {
  min-width: 0;
}

.hairvina-inline-inquiry__copy strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #3f393c;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 1rem;
  line-height: 1.35;
}

.hairvina-inline-inquiry p {
  margin: 0;
  color: #6b6267 !important;
  font-size: 0.9rem;
  line-height: 1.55 !important;
}

.hairvina-inline-inquiry__actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  gap: 0.5rem;
  min-width: max-content;
}

.hairvina-inline-inquiry__actions a {
  padding: 0.58rem 0.85rem;
  border: 1px solid var(--wp--preset--color--accent);
  border-radius: 999px;
  color: var(--wp--preset--color--accent);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.hairvina-inline-inquiry__actions a:first-child {
  color: #fff;
  background: var(--wp--preset--color--accent);
}

.hairvina-product-description {
  width: min(100%, 62rem);
  margin-inline: auto;
}

.hairvina-product-description__lead {
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--wp--preset--color--accent);
  background: #fff8fa;
  font-size: 1.03rem;
}

.hairvina-description-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1rem 0 2rem;
  border: 1px solid #eadfe3;
  border-radius: 0.65rem;
  overflow: hidden;
}

.hairvina-description-specs > div {
  display: grid;
  grid-template-columns: minmax(8rem, 38%) 1fr;
  min-width: 0;
  border-bottom: 1px solid #eadfe3;
}

.hairvina-description-specs > div:nth-child(odd) {
  border-right: 1px solid #eadfe3;
}

.hairvina-description-specs dt,
.hairvina-description-specs dd {
  margin: 0;
  padding: 0.8rem 0.9rem;
}

.hairvina-description-specs dt {
  color: #4d4549;
  background: #fff5f8;
  font-weight: 700;
}

.hairvina-description-specs dd {
  color: #5d5559;
}

.hairvina-description-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
  padding: 0;
  list-style: none;
}

.hairvina-description-checklist li {
  position: relative;
  margin: 0;
  padding-left: 1.2rem;
}

.hairvina-description-checklist li::before {
  position: absolute;
  left: 0;
  color: var(--wp--preset--color--accent);
  content: "✓";
}

.hairvina-product-details #reviews {
  max-width: 62rem;
  margin-inline: auto;
}

.hairvina-product-details #reviews .commentlist {
  display: grid;
  gap: 1rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.hairvina-product-details #reviews .comment_container {
  padding: 1.25rem;
  border: 1px solid #eee3e7;
  background: #fff;
  box-shadow: 0 0.5rem 1.4rem rgba(68, 45, 54, 0.055);
}

.hairvina-product-details #reviews .star-rating {
  color: #f3a034;
}

.hairvina-product-details #review_form_wrapper {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: #fff7fa;
}

.hairvina-product-details #review_form input:not([type="checkbox"]),
.hairvina-product-details #review_form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #dfd5d9;
  background: #fff;
}

.hairvina-product-details .wc-block-woocommerce-product-details__wrapper {
  max-width: 66rem;
  margin-inline: auto;
}

.hairvina-product-details [role="tablist"] {
  border-bottom-color: #eadfe3;
}

.hairvina-product-details [role="tab"][aria-selected="true"] {
  color: var(--wp--preset--color--accent-dark);
  border-color: var(--wp--preset--color--accent);
}

.hairvina-related-products {
	box-sizing: border-box;
	width: min(calc(100% - 2rem), 76rem) !important;
	max-width: none !important;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid #eee8eb;
}

.hairvina-related-products > .wp-block-shortcode {
	width: 100% !important;
	max-width: none !important;
}

.hairvina-related-products .hairvina-carousel-section {
  width: 100%;
	max-width: none;
}

.hairvina-related-products .hairvina-carousel-section--preview {
  margin-top: 0;
}

.hairvina-related-products .hairvina-carousel-section__title {
  text-transform: none;
}

.hairvina-related-products h2 {
  text-align: center;
}

.hairvina-related-products .hairvina-carousel--products .hairvina-carousel__slide {
	flex-basis: calc((100% - 4.5rem) / 4);
	min-width: 15.5rem;
}

.hairvina-related-products .hairvina-collection-preview-card__media,
.hairvina-related-products .hairvina-product-card__media {
	aspect-ratio: 4 / 3;
}

.hairvina-related-products .hairvina-collection-preview-card__body,
.hairvina-related-products .hairvina-product-card__body {
	min-height: 9.5rem;
	padding: 1.15rem 1rem 1.3rem;
}

.hairvina-related-products .hairvina-product-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 9.5rem;
	min-height: 2.85rem;
	padding: 0.72rem 1rem;
	white-space: nowrap;
}

.hairvina-product-details #reviews .woocommerce-Reviews-title,
.hairvina-product-details #reviews .comment-reply-title {
	display: block;
	margin: 0 0 1rem;
	color: #4e474b;
	font-family: var(--wp--preset--font-family--system-serif);
	font-size: clamp(1.7rem, 4vw, 2.5rem);
	line-height: 1.2;
}

.hairvina-product-details #reviews .woocommerce-noreviews {
	padding: 1rem 1.2rem;
	border: 1px solid #f0dce4;
	color: #6b5d63;
	background: #fff8fb;
}

.hairvina-review-policy {
	margin: 0 0 1.4rem;
	padding: 0.9rem 1rem;
	border-left: 3px solid var(--wp--preset--color--accent);
	color: #675d61;
	background: #fff;
	line-height: 1.65;
}

.hairvina-product-details #review_form .form-submit input[type="submit"] {
	min-height: 2.9rem;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 999px;
	color: #fff;
	background: var(--wp--preset--color--accent);
	font-weight: 800;
	cursor: pointer;
}

.hairvina-inquiry-product {
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr);
	gap: 1.25rem;
	align-items: center;
	box-sizing: border-box;
	margin: 0 0 1.5rem;
	padding: 1rem;
	border: 2px solid #ef477d;
	background: linear-gradient(135deg, #fff3f7, #fff);
}

.hairvina-inquiry-product__media {
	overflow: hidden;
	aspect-ratio: 1;
	background: #f7edf1;
}

.hairvina-inquiry-product__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hairvina-inquiry-product__fallback {
	display: grid;
	width: 100%;
	height: 100%;
	color: #fff;
	background: #ef477d;
	font-weight: 800;
	place-items: center;
}

.hairvina-inquiry-product__eyebrow {
	color: #d52d65;
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.075em;
}

.hairvina-inquiry-product h3 {
	margin: 0.35rem 0 0.55rem;
	color: #4f474b;
	font-size: clamp(1.15rem, 2.4vw, 1.55rem);
	line-height: 1.25;
}

.hairvina-inquiry-product__options,
.hairvina-inquiry-product__notice {
	margin: 0.45rem 0;
	color: #6a6065;
	font-size: 0.82rem;
	line-height: 1.55;
}

.hairvina-inquiry-product a {
	color: #d52d65;
	font-weight: 700;
}

.hairvina-contact-form-card input[readonly] {
	color: #5c5357;
	background: #f6f1f3;
	cursor: not-allowed;
}

/* Make the dynamic option area understandable in the Site Editor. */
.editor-styles-wrapper .hairvina-product-options-block {
  min-height: 5.5rem;
  padding: 1rem;
  border-block: 1px solid #ece7e9;
  color: #514d4f;
}

.editor-styles-wrapper .hairvina-product-options-block textarea,
.editor-styles-wrapper .hairvina-product-options-block .block-editor-plain-text {
  display: none !important;
}

.editor-styles-wrapper .hairvina-product-options-block::before {
  content: "Available Options";
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.editor-styles-wrapper .hairvina-product-options-block::after {
  content: "Product options appear automatically for variable products.";
  display: block;
  padding: 0.75rem;
  border: 1px solid #ded7da;
  color: #736c70;
  font-size: 0.82rem;
}

@media (max-width: 782px) {
  .hairvina-single-product {
    padding-top: 1.5rem;
  }

  .hairvina-product-overview {
    flex-direction: column;
  }

  .hairvina-product-overview > .wp-block-column {
    width: 100%;
    flex-basis: auto !important;
  }

  .hairvina-product-summary {
    margin-top: 2rem;
  }

  .hairvina-product-title {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .hairvina-product-gallery .wc-block-next-previous-buttons {
    display: flex !important;
  }

  .hairvina-product-gallery .flex-control-thumbs li,
  .hairvina-product-gallery .wc-block-product-gallery-thumbnails__thumbnail {
    flex-basis: calc((100% - 2.4rem) / 4) !important;
    width: calc((100% - 2.4rem) / 4) !important;
  }

  .hairvina-product-inquiry__buttons,
  .hairvina-product-inquiry__buttons .wp-block-button,
  .hairvina-product-inquiry__buttons .wp-block-button__link {
    width: 100%;
  }

  .hairvina-product-inquiry__buttons .wp-block-button__link {
    text-align: center;
  }

  .hairvina-inline-inquiry {
    align-items: stretch;
    flex-direction: column;
  }

  .hairvina-inline-inquiry__actions {
    min-width: 0;
  }

  .hairvina-description-specs,
  .hairvina-description-checklist {
    grid-template-columns: 1fr;
  }

  .hairvina-description-specs > div:nth-child(odd) {
    border-right: 0;
  }

  .hairvina-product-details #tab-description th,
  .hairvina-product-details #tab-description td,
  .hairvina-product-details .wc-block-woocommerce-product-details__description th,
  .hairvina-product-details .wc-block-woocommerce-product-details__description td {
    display: block;
    box-sizing: border-box;
    width: 100%;
  }

  .hairvina-product-details #tab-description td,
  .hairvina-product-details .wc-block-woocommerce-product-details__description td {
    border-top: 0;
  }

	.hairvina-related-products {
		width: min(calc(100% - 1.25rem), 76rem) !important;
	}

	.hairvina-related-products .hairvina-carousel--products .hairvina-carousel__slide {
		flex-basis: 84%;
		min-width: 0;
	}

	.hairvina-related-products .hairvina-carousel__arrow--previous {
		left: 0.25rem;
	}

	.hairvina-related-products .hairvina-carousel__arrow--next {
		right: 0.25rem;
	}

	.hairvina-product-details [role="tablist"] {
		display: flex;
		overflow-x: auto;
		white-space: nowrap;
		scrollbar-width: none;
	}

	.hairvina-product-details [role="tab"] {
		flex: 0 0 auto;
	}

	.hairvina-inquiry-product {
		grid-template-columns: 5.75rem minmax(0, 1fr);
		gap: 0.9rem;
		padding: 0.8rem;
	}
}

/* Footer method typography and alignment — kept last to win responsive cascade. */
.hairvina-footer-methods__group {
	display: block;
}

.hairvina-footer-methods__heading {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 0.7rem;
	text-align: center;
}

.hairvina-footer-methods__heading h2 {
	font-size: clamp(1.18rem, 1.6vw, 1.35rem);
	font-weight: 750;
	letter-spacing: 0.01em;
}

.hairvina-footer-methods__list--payment {
	grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
}

.hairvina-footer a.hairvina-method-card,
.hairvina-footer-methods__list--payment .hairvina-method-card:last-child {
	min-height: 3.15rem;
	font-size: clamp(0.88rem, 1.2vw, 1.04rem);
}

@media (max-width: 480px) {
	.hairvina-footer-methods__list--payment {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.hairvina-footer-methods__heading {
		margin-bottom: 0.55rem;
	}

	.hairvina-footer-methods__heading h2 {
		font-size: 1.18rem;
	}

	.hairvina-footer a.hairvina-method-card,
	.hairvina-footer-methods__list--payment .hairvina-method-card:last-child {
		min-height: 3rem;
		font-size: 0.88rem;
	}
}

/* Centered method headings with clearer brand labels. */
.hairvina-footer-methods__group {
	display: block;
}

.hairvina-footer-methods__heading {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 0.7rem;
	text-align: center;
}

.hairvina-footer-methods__heading h2 {
	font-size: clamp(1.18rem, 1.6vw, 1.35rem);
	font-weight: 750;
	letter-spacing: 0.01em;
}

.hairvina-footer-methods__list--payment {
	grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
}

.hairvina-footer a.hairvina-method-card,
.hairvina-footer-methods__list--payment .hairvina-method-card:last-child {
	min-height: 3.15rem;
	font-size: clamp(0.88rem, 1.2vw, 1.04rem);
}

@media (max-width: 480px) {
	.hairvina-footer-methods__list--payment {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.hairvina-footer-methods__heading {
		margin-bottom: 0.55rem;
	}

	.hairvina-footer-methods__heading h2 {
		font-size: 1.18rem;
	}

	.hairvina-footer a.hairvina-method-card,
	.hairvina-footer-methods__list--payment .hairvina-method-card:last-child {
		min-height: 3rem;
		font-size: 0.88rem;
	}
}

/* Editable company pages: Factory Introduction, Staff, Feedback, and Bulk Orders. */
.hairvina-page-main,
.hairvina-company-page {
  overflow: clip;
}

.hairvina-company-page {
  background: var(--wp--preset--color--base);
}

.hairvina-company-page > * {
  margin-block-start: 0;
}

.hairvina-editable-image {
  margin: 0;
}

.hairvina-editable-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hairvina-company-hero {
  display: grid;
  height: clamp(22rem, 45vw, 34rem);
  background: #7e5366;
  isolation: isolate;
}

.hairvina-company-hero > * {
  grid-area: 1 / 1;
}

.hairvina-company-hero__image,
.hairvina-company-hero__image img {
  width: 100%;
  height: 100%;
}

.hairvina-company-hero__image {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.hairvina-company-hero__image img {
  filter: brightness(0.48) saturate(0.82);
}

.hairvina-company-hero__overlay {
  z-index: 1;
  align-self: center;
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
  color: #fff;
  text-align: center;
}

.hairvina-company-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hairvina-company-hero__intro {
  max-width: 46rem;
  margin: 1.1rem auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.hairvina-about-banner {
  height: clamp(20rem, 38vw, 32rem);
  overflow: hidden;
  background: #f7eef2;
}

.hairvina-about-banner__image,
.hairvina-about-banner__image img {
  width: 100%;
  height: 100%;
}

.hairvina-about-banner__image img {
  object-fit: cover;
  object-position: center;
}

.hairvina-company-breadcrumb {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  color: #8e878b;
  font-size: 0.86rem;
}

.hairvina-company-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.hairvina-company-breadcrumb a:hover,
.hairvina-company-breadcrumb a:focus-visible {
  color: var(--wp--preset--color--accent);
}

.hairvina-about-page > .hairvina-company-section {
  padding-top: clamp(2.25rem, 5vw, 4rem);
}

.hairvina-company-section {
  width: min(100% - 2rem, 76rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hairvina-section-title {
  position: relative;
  margin: clamp(3.5rem, 7vw, 6rem) 0 2rem;
  padding-bottom: 1rem;
  color: #4f494d;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
}

.hairvina-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.4rem;
  height: 3px;
  background: var(--wp--preset--color--accent);
}

.hairvina-section-title.has-text-align-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.hairvina-section-intro {
  max-width: 52rem;
  margin: -0.5rem auto 2.5rem;
  color: #716a6e;
  line-height: 1.8;
}

.hairvina-company-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hairvina-company-split + .hairvina-company-split,
.hairvina-card-grid + .hairvina-company-split {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.hairvina-company-split__media {
  min-width: 0;
}

.hairvina-company-split__media .hairvina-editable-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f8eff3;
}

.hairvina-company-split__copy .hairvina-section-title {
  margin-top: 0;
}

.hairvina-company-split__copy p {
  color: #625b5f;
  line-height: 1.85;
}

.hairvina-card-grid,
.hairvina-stats-grid,
.hairvina-staff-grid,
.hairvina-testimonial-grid,
.hairvina-feedback-gallery,
.hairvina-video-feedback-grid,
.hairvina-order-gallery,
.hairvina-certificate-grid,
.hairvina-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.hairvina-info-card {
  overflow: hidden;
  height: 100%;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid #eee4e8;
  background: #fffafb;
  box-shadow: 0 0.9rem 2.2rem rgba(110, 65, 84, 0.06);
}

.hairvina-info-card__title {
  margin: 0;
  color: #514b4e;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.hairvina-info-card__text {
  margin: 0.7rem 0 0;
  color: #716a6e;
  line-height: 1.75;
}

.hairvina-info-card > .hairvina-editable-image {
  margin: calc(clamp(1.35rem, 3vw, 2rem) * -1) calc(clamp(1.35rem, 3vw, 2rem) * -1) 1.35rem;
  aspect-ratio: 4 / 3;
  background: #f8eff3;
}

.hairvina-timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: timeline;
}

.hairvina-timeline .hairvina-info-card {
  position: relative;
  padding-top: 3.5rem;
  border-top: 3px solid var(--wp--preset--color--accent);
  counter-increment: timeline;
}

.hairvina-timeline .hairvina-info-card::before {
  content: counter(timeline, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 1.4rem;
  color: var(--wp--preset--color--accent);
  font-weight: 800;
}

.hairvina-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.hairvina-stats-grid .hairvina-info-card {
  text-align: center;
}

.hairvina-stats-grid .hairvina-stat-image {
  width: 6rem;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  aspect-ratio: 1;
}

.hairvina-staff-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hairvina-staff-grid .hairvina-info-card {
  padding-bottom: 1.5rem;
  text-align: center;
}

.hairvina-staff-grid .hairvina-staff-photo {
  aspect-ratio: 4 / 5;
}

.hairvina-testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hairvina-testimonial-grid .hairvina-info-card {
  text-align: center;
}

.hairvina-testimonial-grid .hairvina-customer-photo {
  width: 7.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  aspect-ratio: 1;
}

.hairvina-feedback-gallery,
.hairvina-order-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hairvina-feedback-gallery .hairvina-info-card,
.hairvina-order-gallery .hairvina-info-card,
.hairvina-certificate-grid .hairvina-info-card,
.hairvina-video-feedback-grid .hairvina-info-card {
  padding: 0;
  background: #fff;
}

.hairvina-feedback-gallery .hairvina-editable-image,
.hairvina-order-gallery .hairvina-editable-image,
.hairvina-certificate-grid .hairvina-editable-image,
.hairvina-video-feedback-grid .hairvina-editable-image {
  margin: 0;
}

.hairvina-feedback-gallery .hairvina-feedback-photo,
.hairvina-order-gallery .hairvina-order-photo {
  aspect-ratio: 1;
}

.hairvina-feedback-gallery .hairvina-info-card__title,
.hairvina-order-gallery .hairvina-info-card__title,
.hairvina-certificate-grid .hairvina-info-card__title,
.hairvina-video-feedback-grid .hairvina-info-card__title {
  padding: 0.9rem 1rem 1rem;
  font-size: 0.88rem;
}

.hairvina-company-cta {
  width: min(100% - 2rem, 76rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--wp--preset--color--accent-dark), var(--wp--preset--color--accent));
}

.hairvina-company-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hairvina-company-cta p {
  max-width: 46rem;
  margin: 1rem auto 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hairvina-company-cta .wp-block-button__link {
  border-radius: 999px;
  color: var(--wp--preset--color--accent-dark);
  background: #fff !important;
}

@media (max-width: 900px) {
  .hairvina-timeline,
  .hairvina-stats-grid,
  .hairvina-feedback-gallery,
  .hairvina-order-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 2026-10-25: keep Related Products information and actions on one baseline. */
.hairvina-related-products-carousel .hairvina-carousel__track,
.hairvina-blog-related-products .hairvina-carousel__track {
  align-items: stretch !important;
}

.hairvina-related-products-carousel .hairvina-product-card,
.hairvina-blog-related-products .hairvina-product-card {
  display: flex !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 100% !important;
  flex-direction: column !important;
}

.hairvina-related-products-carousel .hairvina-product-card__body,
.hairvina-blog-related-products .hairvina-product-card__body {
  display: flex !important;
  box-sizing: border-box !important;
  min-height: 12.2rem !important;
  padding: 1rem 0.9rem 1.1rem !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: center !important;
}

.hairvina-related-products-carousel .hairvina-product-card__category,
.hairvina-blog-related-products .hairvina-product-card__category {
  display: -webkit-box !important;
  overflow: hidden !important;
  width: 100% !important;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  margin: 0 0 0.55rem !important;
  line-height: 1.45 !important;
  text-align: center !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hairvina-related-products-carousel .hairvina-product-card__body h3,
.hairvina-blog-related-products .hairvina-product-card__body h3 {
  display: -webkit-box !important;
  overflow: hidden !important;
  width: 100% !important;
  height: 4.2rem !important;
  min-height: 4.2rem !important;
  margin: 0 !important;
  line-height: 1.45 !important;
  text-align: center !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hairvina-related-products-carousel .hairvina-product-card__button,
.hairvina-blog-related-products .hairvina-product-card__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 7.6rem;
  min-height: 2.55rem;
  margin-top: auto !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.hairvina-blog-related-products__rating {
  height: 1.15rem;
  min-height: 1.15rem;
  margin: 0.35rem 0 0.2rem;
}

/* Real editorial photography appears automatically after it is assigned.
 * Until then, omit the old repeated sprite rather than implying a real photo. */
.hairvina-blog-grid .hairvina-blog-card__media:not(:has(img)) {
  display: none !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  background: none !important;
  background-image: none !important;
}

.hairvina-blog-grid .hairvina-blog-card__media:not(:has(img))::before {
  content: none !important;
}

/* Give image-free Featured Articles enough air for long editorial titles. */
.hairvina-featured-list .hairvina-featured-card.is-text-only {
  display: flex !important;
  box-sizing: border-box;
  min-height: 6.5rem;
  padding: 1.15rem 1.2rem !important;
  align-items: center;
}

.hairvina-featured-list .hairvina-featured-card.is-text-only .hairvina-featured-card__copy {
  width: 100%;
}

.hairvina-featured-list .hairvina-featured-card.is-text-only h4 {
  margin-bottom: 0.55rem !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
}

.hairvina-featured-list .hairvina-featured-card.is-text-only h4 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hairvina-featured-list .hairvina-featured-card.is-text-only time {
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
}

@media (max-width: 520px) {
  .hairvina-related-products-carousel .hairvina-product-card__body,
  .hairvina-blog-related-products .hairvina-product-card__body {
    min-height: 11.7rem !important;
    padding-inline: 0.72rem !important;
  }

  .hairvina-featured-list .hairvina-featured-card.is-text-only {
    min-height: 6.25rem;
    padding: 1.05rem 1rem !important;
  }
}

/* Recognizable SVG social icons across header, articles, products and footer. */
.hairvina-social-link svg,
.hairvina-mobile-nav-support__social svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hairvina-social-link svg .is-fill,
.hairvina-mobile-nav-support__social svg .is-fill {
  fill: currentColor;
  stroke: none;
}

.hairvina-brandbar .hairvina-social-link svg {
  width: 0.98rem;
  height: 0.98rem;
}

.hairvina-footer .hairvina-social-links {
  overflow-x: auto;
  padding: 0.15rem 0 0.45rem;
  gap: 0.65rem;
  scrollbar-width: thin;
}

.hairvina-footer .hairvina-social-link {
  width: 2.7rem;
  min-width: 2.7rem;
  height: 2.7rem;
  min-height: 2.7rem;
}

.hairvina-footer .hairvina-social-link svg {
  width: 1.28rem;
  height: 1.28rem;
}

/* Article footer follows the reference order with a distinct, readable social row. */
.hairvina-article-follow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2rem 0 0;
  padding: 1.35rem 0 1.55rem;
  border-block: 1px solid #eadfe3;
  background: transparent;
}

.hairvina-article-follow > div {
  max-width: 28rem;
}

.hairvina-article-follow .hairvina-social-links {
  display: flex;
  width: auto;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 0.55rem;
}

.hairvina-article-follow .hairvina-social-link {
  display: grid;
  width: 2.65rem;
  min-width: 2.65rem;
  height: 2.65rem;
  min-height: 2.65rem;
  padding: 0;
  border: 1px solid #dcb9c7;
  border-radius: 50%;
  color: #a92b58;
  background: #fff;
  opacity: 1;
  place-items: center;
}

.hairvina-article-follow .hairvina-social-link span {
  display: grid;
  width: auto;
  height: auto;
  border-radius: 0;
  color: inherit;
  background: transparent;
  place-items: center;
}

.hairvina-article-follow .hairvina-social-link svg {
  width: 1.24rem;
  height: 1.24rem;
}

.hairvina-article-follow .hairvina-social-link strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hairvina-article-follow .hairvina-social-link:hover,
.hairvina-article-follow .hairvina-social-link:focus-visible {
  border-color: #d53b70;
  color: #fff;
  background: #d53b70;
}

/* Final title system: consistent measure, alignment and editorial hierarchy. */
.hairvina-blog-title,
.hairvina-article__title,
.hairvina-archive-title,
.hairvina-shop-heading h1,
.hairvina-product-title,
.hairvina-help-hero h1,
.hairvina-contact-hero h1,
.hairvina-about-reference h1,
.hairvina-company-hero__overlay h1,
.hairvina-company-heading h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hairvina-blog-title,
.hairvina-archive-title,
.hairvina-shop-heading h1,
.hairvina-help-hero h1,
.hairvina-contact-hero h1 {
  font-size: clamp(2.55rem, 5vw, 4.35rem) !important;
}

.hairvina-article__title {
  width: min(100%, 48rem);
  max-width: 48rem;
  margin: 0 !important;
  font-size: clamp(2.45rem, 4.5vw, 4rem) !important;
  text-align: left !important;
}

.hairvina-article__meta {
  justify-content: flex-start !important;
  margin-inline: 0 !important;
  text-align: left;
}

.hairvina-blog-title {
  width: min(100%, 54rem);
  margin-inline: auto !important;
  text-align: center !important;
}

.hairvina-archive-title,
.hairvina-shop-heading h1,
.hairvina-help-hero h1,
.hairvina-contact-hero h1,
.hairvina-about-reference h1,
.hairvina-company-heading h1 {
  text-align: left !important;
}

.hairvina-company-hero__overlay h1 {
  font-size: clamp(2.65rem, 5vw, 4.5rem) !important;
  text-align: center !important;
}

.hairvina-section-title,
.hairvina-carousel-section__title {
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.032em;
}

.hairvina-article__content h2 {
  margin-top: 2.3em;
  margin-bottom: 0.65em;
  color: #342d30;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-align: left;
}

.hairvina-article__content h3 {
  margin-top: 1.8em;
  margin-bottom: 0.55em;
  color: #443b3f;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 650;
  line-height: 1.28;
  text-align: left;
}

.hairvina-related-articles__heading {
  text-align: left;
}

.hairvina-related-articles__heading h2 {
  position: relative;
  margin-bottom: 1.75rem;
  padding-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hairvina-related-articles__heading h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.6rem;
  height: 2px;
  background: #e84479;
  content: "";
}

.hairvina-archive-title::after,
.hairvina-shop-heading h1::after,
.hairvina-help-hero h1::after,
.hairvina-contact-hero h1::after,
.hairvina-about-reference h1::after,
.hairvina-company-heading h1::after,
.hairvina-company-hero__overlay h1::after {
  display: block;
  width: 2.8rem;
  height: 2px;
  margin: 1rem 0 0;
  background: #e84479;
  content: "";
}

.hairvina-company-hero__overlay h1::after {
  margin-inline: auto;
}

.hairvina-article-rating__reader {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.65rem;
}

.hairvina-article-rating__reader output {
  display: block;
  color: #3f373a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hairvina-article-rating__reader small {
  display: block;
  line-height: 1.5;
}

/* All remaining shortcode placements use the same round, icon-only system. */
body .hairvina-social-links {
  display: flex;
  width: auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

body .hairvina-social-link {
  display: grid;
  width: 2.55rem;
  min-width: 2.55rem;
  height: 2.55rem;
  min-height: 2.55rem;
  padding: 0;
  border: 1px solid #dcb9c7;
  border-radius: 50%;
  color: #a92b58;
  background: #fff;
  opacity: 1;
  place-items: center;
}

body .hairvina-social-link > span {
  display: grid;
  width: auto;
  height: auto;
  border-radius: 0;
  color: inherit;
  background: transparent;
  place-items: center;
}

body .hairvina-social-link > strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body .hairvina-social-link:hover,
body .hairvina-social-link:focus-visible {
  border-color: #d53b70;
  color: #fff;
  background: #d53b70;
}

body .hairvina-brandbar .hairvina-social-link {
  width: 1.9rem;
  min-width: 1.9rem;
  height: 1.9rem;
  min-height: 1.9rem;
}

body .hairvina-footer .hairvina-social-link {
  width: 2.7rem;
  min-width: 2.7rem;
  height: 2.7rem;
  min-height: 2.7rem;
  border-color: rgba(255, 255, 255, 0.52);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

body .hairvina-article-follow .hairvina-social-link {
  width: 2.65rem;
  min-width: 2.65rem;
  height: 2.65rem;
  min-height: 2.65rem;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hairvina-product-title {
  text-align: left !important;
}

.hairvina-help-hero__intro > h1 {
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
}

@media (max-width: 782px) {
  .hairvina-about-reference__intro-grid > .hairvina-about-reference__copy {
    order: -1;
  }
}

@media (max-width: 782px) {
  .hairvina-article-follow {
    align-items: flex-start;
    flex-direction: column;
  }

  .hairvina-article-follow .hairvina-social-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }

  .hairvina-article__title {
    font-size: clamp(2.15rem, 9vw, 3.05rem) !important;
  }

  .hairvina-blog-title,
  .hairvina-archive-title,
  .hairvina-shop-heading h1,
  .hairvina-help-hero h1,
  .hairvina-contact-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.15rem) !important;
  }

  .hairvina-footer .hairvina-social-link {
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
  }
}

@media (max-width: 782px) {
  .hairvina-company-hero {
    height: 24rem;
  }

  .hairvina-about-banner {
    height: 15rem;
  }

  .hairvina-company-split,
  .hairvina-company-split.is-reversed {
    grid-template-columns: 1fr;
  }

  .hairvina-company-split.is-reversed .hairvina-company-split__copy {
    order: 2;
  }

  .hairvina-card-grid,
  .hairvina-staff-grid,
  .hairvina-testimonial-grid,
  .hairvina-video-feedback-grid,
  .hairvina-certificate-grid {
    grid-template-columns: 1fr;
  }

  .hairvina-team-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hairvina-company-section {
    width: min(100% - 1.25rem, 76rem);
  }

  .hairvina-feedback-gallery,
  .hairvina-order-gallery,
  .hairvina-timeline,
  .hairvina-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact numeric blog pagination, visible even when only page 1 exists. */
.hairvina-blog-page-status {
  display: flex;
  width: max-content;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  gap: 0.5rem;
}

.hairvina-blog-page-status__arrow,
.hairvina-blog-page-status__number {
  display: inline-grid;
  box-sizing: border-box;
  min-width: 2.55rem;
  min-height: 2.55rem;
  padding: 0.45rem;
  border: 1px solid #eadde2;
  border-radius: 50%;
  color: #5e5559;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  place-items: center;
}

.hairvina-blog-page-status__number.is-current,
.hairvina-blog-page-status__number:hover,
.hairvina-blog-page-status__number:focus-visible,
.hairvina-blog-page-status__arrow:hover,
.hairvina-blog-page-status__arrow:focus-visible {
  border-color: var(--wp--preset--color--accent);
  color: #fff;
  background: var(--wp--preset--color--accent);
}

.hairvina-blog-page-status__arrow.is-disabled {
  opacity: 0.38;
}

/* Product archive: retain the reference catalogue skeleton even before the
 * first WooCommerce product is published. */
.hairvina-shop-page {
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 8% 18%, rgba(236, 61, 120, 0.06), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #fffafb 100%);
}

.hairvina-shop-heading {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hairvina-shop-heading h1 {
  margin: 0.65rem 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.hairvina-shop-heading p {
  max-width: 48rem;
  color: #675e62;
}

.hairvina-shop-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  width: min(100% - 2rem, var(--wp--style--global--wide-size));
  margin: 0 auto clamp(3rem, 7vw, 6rem);
}

.hairvina-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--wp--preset--color--border);
}

.hairvina-shop-toolbar p {
  margin: 0;
  color: #675e62;
}

.hairvina-shop-ordering select {
  min-width: 12rem;
  padding: 0.75rem 2.25rem 0.75rem 0.9rem;
  border: 1px solid #ded7da;
  background: #fff;
}

.hairvina-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.hairvina-shop-card {
  overflow: hidden;
  border: 1px solid #eee5e8;
  background: #fff;
  box-shadow: 0 0.65rem 1.8rem rgba(68, 45, 54, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hairvina-shop-card:hover,
.hairvina-shop-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2.2rem rgba(68, 45, 54, 0.13);
}

.hairvina-shop-card__media {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #fff5f8;
}

.hairvina-shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.hairvina-shop-card:hover .hairvina-shop-card__media img,
.hairvina-shop-card:focus-within .hairvina-shop-card__media img,
.hairvina-shop-card:hover .hairvina-shop-card__media.hairvina-sprite-tile,
.hairvina-shop-card:focus-within .hairvina-shop-card__media.hairvina-sprite-tile {
  transform: scale(1.045);
}

.hairvina-shop-card__body {
  display: flex;
  min-height: 11rem;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  text-align: center;
}

.hairvina-shop-card__category {
  margin: 0 0 0.55rem;
  color: #94888d;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hairvina-shop-card__body h2 {
  margin: 0 0 1rem;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.35;
}

.hairvina-shop-card__body h2 a {
  color: inherit;
  text-decoration: none;
}

.hairvina-shop-card__body .hairvina-product-card__button {
  margin-top: auto;
}

.hairvina-shop-card__rating {
  margin: 0.2rem 0 0;
  color: #f3a034;
}

.hairvina-shop-card__rating .star-rating {
  float: none;
  margin-inline: auto;
}

.hairvina-shop-card__summary {
  margin: 0.55rem 0 0;
  color: #675e62;
  font-size: 0.8rem;
  line-height: 1.5;
}

.hairvina-shop-card__actions {
  margin-top: auto;
  padding-top: 1rem;
}

.hairvina-shop-card__actions .hairvina-product-card__button {
  margin-top: 0;
}

.hairvina-shop-sidebar {
  padding-top: 0;
}

.hairvina-shop-filter {
  margin-bottom: 2rem;
}

.hairvina-shop-filter h2 {
  position: relative;
  margin: 0 0 1rem;
  padding-bottom: 0.8rem;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hairvina-shop-filter h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--wp--preset--color--accent);
  content: "";
}

.hairvina-shop-filter ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hairvina-shop-filter li {
  border-bottom: 1px solid #eee7e9;
}

.hairvina-shop-filter a {
  display: block;
  padding: 0.7rem 0;
  color: #50484b;
  text-decoration: none;
}

.hairvina-shop-filter a:hover,
.hairvina-shop-filter a:focus-visible {
  color: var(--wp--preset--color--accent);
}

.hairvina-shop-filter .is-current > a,
.hairvina-shop-filter__branch.is-current summary > a {
  color: var(--wp--preset--color--accent-dark);
  font-weight: 700;
}

.hairvina-shop-filter__branch > details {
  margin: 0;
  padding: 0;
  border: 0;
}

.hairvina-shop-filter__branch summary {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 1.4rem;
  list-style: none;
  cursor: pointer;
}

.hairvina-shop-filter__branch summary::-webkit-details-marker {
  display: none;
}

.hairvina-shop-filter__branch summary > a {
  flex: 1;
}

.hairvina-shop-filter__branch summary::after {
  position: absolute;
  right: 0.25rem;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid #7b7176;
  border-bottom: 1.5px solid #7b7176;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.hairvina-shop-filter__branch details[open] summary::after {
  transform: rotate(225deg);
}

.hairvina-shop-filter .hairvina-shop-filter__children {
  margin: 0 0 0.45rem 0.15rem;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid #e7dfe2;
}

.hairvina-shop-filter .hairvina-shop-filter__children li {
  border-bottom: 0;
}

.hairvina-shop-filter .hairvina-shop-filter__children a {
  padding: 0.35rem 0;
}

.hairvina-shop-pagination ul {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hairvina-shop-pagination a.page-numbers,
.hairvina-shop-pagination span.page-numbers {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid #eadfe3;
  border-radius: 999px;
  text-decoration: none;
}

.hairvina-shop-pagination ul.page-numbers {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
}

.hairvina-shop-pagination ul.page-numbers > li {
  display: block;
  margin: 0;
}

.hairvina-shop-pagination .current {
  border-color: var(--wp--preset--color--accent);
  background: var(--wp--preset--color--accent);
  color: #fff;
}

.hairvina-shop-page .hairvina-archive-cta {
  padding: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  background: linear-gradient(135deg, #b92358, #eb477f);
}

@media (max-width: 900px) {
  .hairvina-shop-layout {
    grid-template-columns: 1fr;
  }

  .hairvina-shop-sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .hairvina-shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .hairvina-shop-ordering select {
    width: 100%;
  }

  .hairvina-shop-grid {
    grid-template-columns: 1fr;
  }

  .hairvina-shop-card {
    display: grid;
    grid-template-columns: 44% minmax(0, 1fr);
  }

  .hairvina-shop-card__media {
    height: 100%;
    aspect-ratio: auto;
  }

  .hairvina-shop-card__body {
    min-height: 12rem;
    justify-content: center;
  }

  .hairvina-shop-sidebar {
    grid-template-columns: 1fr;
  }
}

/* About page sections present in the reference structure: news and a final
 * contact route. */
.hairvina-about-insights {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding: clamp(3rem, 7vw, 6rem) 1rem;
  background: linear-gradient(145deg, #fff 0%, #fff5f8 100%);
}

.hairvina-about-insights__inner {
  width: min(100%, var(--wp--style--global--wide-size));
  margin: 0 auto;
  text-align: center;
}

.hairvina-about-insights h2,
.hairvina-about-keep-in-touch h2 {
  margin: 0.3rem 0 1rem;
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.hairvina-about-insights__intro {
  max-width: 45rem;
  margin: 0 auto 2.25rem;
  color: #675e62;
}

.hairvina-about-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.hairvina-about-insight {
  overflow: hidden;
  border: 1px solid #eee3e7;
  background: #fff;
  box-shadow: 0 0.85rem 2.2rem rgba(68, 45, 54, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hairvina-about-insight:hover,
.hairvina-about-insight:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 1.15rem 2.6rem rgba(68, 45, 54, 0.14);
}

.hairvina-about-insight__media {
  display: block;
  overflow: hidden;
  height: 14rem;
}

.hairvina-about-insight__media img,
.hairvina-about-insight__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.hairvina-about-insight:hover .hairvina-about-insight__media img,
.hairvina-about-insight:hover .hairvina-about-insight__fallback,
.hairvina-about-insight:focus-within .hairvina-about-insight__media img,
.hairvina-about-insight:focus-within .hairvina-about-insight__fallback {
  transform: scale(1.045);
}

.hairvina-about-insight__fallback {
  background-image: url("../images/blog-topics-sprite.webp");
  background-repeat: no-repeat;
  background-size: 300% auto;
}

.hairvina-about-insight__fallback--1 { background-position: 0 0; }
.hairvina-about-insight__fallback--2 { background-position: 50% 0; }
.hairvina-about-insight__fallback--3 { background-position: 100% 0; }

.hairvina-about-insight__body {
  padding: 1.25rem;
}

.hairvina-about-insight__body time {
  color: var(--wp--preset--color--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hairvina-about-insight__body h3 {
  margin: 0.6rem 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.hairvina-about-insight__body h3 a,
.hairvina-about-insight__link {
  color: inherit;
}

.hairvina-about-insight__all {
  display: inline-flex;
  margin-top: 2rem;
  padding: 0.85rem 1.3rem;
  color: #fff;
  background: var(--wp--preset--color--accent);
  font-weight: 800;
  text-decoration: none;
}

.hairvina-about-keep-in-touch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 2rem, var(--wp--style--global--wide-size));
  margin: clamp(3rem, 7vw, 6rem) auto;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background: linear-gradient(135deg, #b82358, #ed4d83);
}

.hairvina-about-keep-in-touch > div {
  max-width: 48rem;
}

.hairvina-about-keep-in-touch p {
  margin-bottom: 0;
}

.hairvina-about-keep-in-touch > a {
  flex: 0 0 auto;
  padding: 0.9rem 1.35rem;
  border: 1px solid #fff;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

/* A sprite tile used as the media element must size from its aspect ratio,
 * not from the full flex-card height. Otherwise the text/button body is
 * pushed outside the clipped slide. */
.hairvina-collection-preview-card__media.hairvina-sprite-tile,
.hairvina-shop-card__media.hairvina-sprite-tile {
  height: auto;
}

.hairvina-collection-preview-card,
.hairvina-shop-card {
  height: auto !important;
}

/* On narrow screens the catalog preview keeps the same image-first card
 * hierarchy as the reference shop.  A side-by-side card made the empty
 * sprite link collapse to a very short strip because it has no intrinsic
 * image dimensions. */
@media (max-width: 640px) {
  .hairvina-shop-card {
    display: block;
  }

  .hairvina-shop-card__media.hairvina-sprite-tile {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .hairvina-shop-card__body {
    min-height: 10.5rem;
  }
}

body.home .hairvina-categories .hairvina-carousel,
body.home .hairvina-product-showcase .hairvina-carousel-section,
body.home .hairvina-home-blog-showcase {
  width: min(calc(100vw - 5rem), var(--wp--style--global--wide-size));
  max-width: none;
  margin-inline: auto;
  transform: none;
}

.hairvina-collection-preview-card {
  position: relative;
}

.hairvina-collection-preview-card::before {
  position: absolute;
  z-index: 3;
  top: 0.8rem;
  right: 0;
  padding: 0.38rem 0.62rem;
  color: #fff;
  background: var(--wp--preset--color--accent);
  content: "PREVIEW";
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* Reference-style homepage blog: one editorial lead story plus four image
 * tiles, all driven by WordPress posts and featured images. */
.hairvina-home-blog-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-top: 2rem;
}

.hairvina-home-blog__featured {
  overflow: hidden;
  border: 1px solid #e9e1e4;
  background: #fff;
  box-shadow: 0 0.9rem 2.4rem rgba(68, 45, 54, 0.1);
}

.hairvina-home-blog__featured-media,
.hairvina-home-blog__tile-media {
  display: block;
  overflow: hidden;
}

.hairvina-home-blog__featured-media {
  height: clamp(18rem, 33vw, 28rem);
}

.hairvina-home-blog__featured-media img,
.hairvina-home-blog__tile-media img,
.hairvina-home-blog__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.hairvina-home-blog__fallback {
  background-image: url("../images/blog-topics-sprite.webp");
  background-repeat: no-repeat;
  background-size: 300% auto;
}

.hairvina-home-blog__fallback--1 { background-position: 0 0; }
.hairvina-home-blog__fallback--2 { background-position: 50% 0; }
.hairvina-home-blog__fallback--3 { background-position: 100% 0; }
.hairvina-home-blog__fallback--4 { background-position: 0 100%; }
.hairvina-home-blog__fallback--5 { background-position: 50% 100%; }
.hairvina-home-blog__fallback--6 { background-position: 100% 100%; }

.hairvina-home-blog__featured-body {
  padding: 1.4rem 1.5rem 1.7rem;
}

.hairvina-home-blog__featured-body time,
.hairvina-home-blog__tile-overlay time {
  color: var(--wp--preset--color--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hairvina-home-blog__featured-body h3 {
  margin: 0.55rem 0;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.2;
}

.hairvina-home-blog__featured-body h3 a {
  color: inherit;
  text-decoration: none;
}

.hairvina-home-blog__featured-body p {
  margin-bottom: 0;
  color: #5f575a;
}

.hairvina-home-blog__secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hairvina-home-blog__tile,
.hairvina-home-blog__tile > a {
  position: relative;
  display: block;
  min-height: 15rem;
  overflow: hidden;
  color: #fff;
}

.hairvina-home-blog__tile-media {
  position: absolute;
  inset: 0;
}

.hairvina-home-blog__tile-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  padding: 1.1rem;
  background: linear-gradient(180deg, transparent 25%, rgba(31, 19, 24, 0.83) 100%);
}

.hairvina-home-blog__tile-overlay time {
  color: #fff;
  opacity: 0.82;
}

.hairvina-home-blog__tile-overlay strong {
  margin-top: 0.3rem;
  font-size: 1rem;
  line-height: 1.35;
}

.hairvina-home-blog__featured:hover img,
.hairvina-home-blog__featured:focus-within img,
.hairvina-home-blog__featured:hover .hairvina-home-blog__fallback,
.hairvina-home-blog__featured:focus-within .hairvina-home-blog__fallback,
.hairvina-home-blog__tile:hover img,
.hairvina-home-blog__tile:focus-within img,
.hairvina-home-blog__tile:hover .hairvina-home-blog__fallback,
.hairvina-home-blog__tile:focus-within .hairvina-home-blog__fallback {
  transform: scale(1.045);
}

@media (max-width: 760px) {
  .hairvina-about-insights__grid {
    grid-template-columns: 1fr;
  }

  .hairvina-about-keep-in-touch {
    align-items: flex-start;
    flex-direction: column;
  }

  .hairvina-home-blog-showcase {
    grid-template-columns: 1fr;
  }

  body.home .hairvina-categories .hairvina-carousel,
  body.home .hairvina-product-showcase .hairvina-carousel-section,
  body.home .hairvina-home-blog-showcase {
    width: calc(100vw - 2rem);
  }

  .hairvina-home-blog__featured-media {
    height: 18rem;
  }
}

@media (max-width: 520px) {
  .hairvina-home-blog__secondary {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
}

/* Factory Introduction: reference-aligned page structure. */
.hairvina-about-reference {
  width: 100vw;
  max-width: none !important;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: #4f494d;
  background: radial-gradient(circle at 10% 28%, rgba(239, 64, 125, 0.055), transparent 25rem), #fff;
}

.hairvina-about-reference__map {
  width: 100vw;
  max-width: none !important;
  height: clamp(24rem, 42vw, 34rem);
  margin: 0 0 clamp(2.5rem, 5vw, 4rem) calc(50% - 50vw) !important;
  overflow: hidden;
  background: #f7f5f6;
}

.hairvina-about-reference__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hairvina-about-reference__section {
  width: min(calc(100vw - 2rem), 70rem);
  max-width: none !important;
  margin-right: 0;
  margin-left: 50%;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  transform: translateX(-50%);
}

.hairvina-about-reference__breadcrumb {
  display: flex;
  gap: 0.55rem;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
  color: #8d8589;
  font-size: 0.9rem;
}

.hairvina-about-reference__breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.hairvina-about-reference h1,
.hairvina-about-reference h2 {
  color: #4b4548;
  font-family: var(--wp--preset--font-family--system-serif);
}

.hairvina-about-reference h1 {
  margin: 0 0 1.35rem;
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 1.05;
}

.hairvina-about-reference h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.08;
}

.hairvina-about-reference p {
  max-width: none;
  line-height: 1.8;
}

.hairvina-about-reference__intro {
  padding-top: 0;
}

.hairvina-about-reference__intro-grid,
.hairvina-about-reference__staff-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hairvina-about-reference__copy > p:not(.hairvina-section-kicker),
.hairvina-about-reference__staff-intro > div:last-child > p:not(.hairvina-section-kicker) {
  color: #675f63;
  font-size: 1.03rem;
}

.hairvina-about-scene {
  position: relative;
  overflow: hidden;
  min-height: 16rem;
  background-color: #f6eef1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: background-size 450ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 300ms ease;
}

.hairvina-about-scene--factory { background-image: url("../images/sections/product-preparation.webp"); }
.hairvina-about-scene--office { background-image: url("../images/sections/staff-team.webp"); }
.hairvina-about-scene--orders { background-image: url("../images/sections/order-packing.webp"); }
.hairvina-about-scene--client { background-image: url("../images/sections/buyer-consultation.webp"); }
.hairvina-about-scene--quality { background-image: url("../images/sections/foundation-development-4.webp"); }
.hairvina-about-scene--customer-testimonials { background-image: url("../images/sections/customer-testimonials.webp"); }
.hairvina-about-scene--staff-ella { background-image: url("../images/staff/our-team/team-1.webp"); }
.hairvina-about-scene--staff-linh { background-image: url("../images/staff/our-team/team-2.webp"); }
.hairvina-about-scene--staff-minh { background-image: url("../images/staff/our-team/team-3.webp"); }
.hairvina-about-scene--staff-mai { background-image: url("../images/staff/our-team/team-4.webp"); }
.hairvina-about-scene--staff-anh { background-image: url("../images/staff/our-team/team-5.webp"); }
.hairvina-about-scene--staff-huy { background-image: url("../images/staff/our-team/team-6.webp"); }
.hairvina-about-scene--staff-thao { background-image: url("../images/staff/our-team/team-7.webp"); }
.hairvina-about-scene--staff-nhi { background-image: url("../images/staff/our-team/team-8.webp"); }
.hairvina-about-scene--staff-group { background-image: url("../images/sections/staff-team.webp"); }
.hairvina-about-scene--staff-rd { background-image: url("../images/sections/product-preparation.webp"); }
.hairvina-about-scene--staff-operations { background-image: url("../images/sections/order-packing.webp"); }

/* Five distinct photographs tell the development story in chronological order. */
.hairvina-about-reference__timeline article:nth-child(1) .hairvina-about-scene { background-image: url("../images/sections/buyer-consultation.webp"); }
.hairvina-about-reference__timeline article:nth-child(2) .hairvina-about-scene { background-image: url("../images/sections/product-preparation.webp"); }
.hairvina-about-reference__timeline article:nth-child(3) .hairvina-about-scene { background-image: url("../images/sections/foundation-development-3.webp"); }
.hairvina-about-reference__timeline article:nth-child(4) .hairvina-about-scene { background-image: url("../images/sections/order-packing.webp"); }
.hairvina-about-reference__timeline article:nth-child(5) .hairvina-about-scene { background-image: url("../images/sections/foundation-development-4.webp"); }

.hairvina-about-scene:hover,
.hairvina-about-scene:focus-visible {
  background-size: cover;
}

.hairvina-about-reference__intro-grid > .hairvina-about-scene {
  min-height: clamp(21rem, 34vw, 30rem);
}

.hairvina-about-reference__values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 5rem);
  background: #eadfe3;
}

.hairvina-about-reference__values article {
  padding: clamp(1.75rem, 3vw, 2.6rem);
  background: #fff9fb;
}

.hairvina-about-reference__values h3 {
  margin: 0 0 0.7rem;
  color: var(--wp--preset--color--accent);
  font-size: 1.35rem;
}

.hairvina-about-reference__values p {
  margin: 0;
  color: #6c6468;
}

.hairvina-title-line {
  display: block;
  width: 2.5rem;
  height: 3px;
  margin: 1.1rem auto 2.8rem;
  background: var(--wp--preset--color--accent);
}

.hairvina-about-reference__development {
  width: min(calc(100vw - 2rem), 76rem);
}

.hairvina-about-reference__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
}

.hairvina-about-reference__timeline::before {
  position: absolute;
  z-index: 0;
  top: 2.05rem;
  right: 7%;
  left: 7%;
  height: 1px;
  background: #e6d7dc;
  content: "";
}

.hairvina-about-reference__timeline article {
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
  text-align: center;
}

.hairvina-about-reference__timeline article > span {
  display: grid;
  width: 4.15rem;
  height: 4.15rem;
  margin: 0 auto 1.2rem;
  place-items: center;
  border: 1px solid #efb4c9;
  border-radius: 999px;
  color: #fff;
  background: var(--wp--preset--color--accent);
  font-weight: 800;
}

.hairvina-about-reference__timeline strong {
  display: block;
  min-height: 3rem;
  color: #4b4548;
  font-size: 1.02rem;
}

.hairvina-about-reference__timeline p {
  margin: 0.55rem 0 0;
  color: #7a7075;
  font-size: 0.85rem;
  line-height: 1.6;
}

.hairvina-about-reference__factory,
.hairvina-about-reference__certificates,
.hairvina-about-reference__contact {
  width: 100vw;
  max-width: none !important;
  margin-left: calc(50% - 50vw);
}

.hairvina-about-reference__factory {
  padding: clamp(4rem, 8vw, 7rem) 1rem;
  color: #fff;
  background: linear-gradient(90deg, rgba(207, 52, 107, 0.96), rgba(234, 105, 149, 0.92)), url("../images/sections/product-preparation.webp") center / cover;
}

.hairvina-about-reference__factory-inner {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  width: min(100%, 76rem);
  margin-inline: auto;
}

.hairvina-about-reference__factory-copy h2,
.hairvina-about-reference__factory-copy p {
  color: #fff;
  text-align: left;
}

.hairvina-about-reference__factory-copy h2 {
  margin-bottom: 1.25rem;
}

.hairvina-about-reference__factory-copy a,
.hairvina-about-reference__offer > a,
.hairvina-about-news__all,
.hairvina-about-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid currentColor;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.hairvina-about-reference__factory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.hairvina-about-reference__factory-grid .hairvina-about-scene {
  min-height: clamp(12rem, 19vw, 16.5rem);
}

.hairvina-about-reference__factory-grid .hairvina-about-scene > span {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #fff;
  text-align: center;
  background: rgba(232, 65, 125, 0.82);
  opacity: 0;
  transition: opacity 260ms ease;
}

.hairvina-about-reference__factory-grid .hairvina-about-scene:hover > span,
.hairvina-about-reference__factory-grid .hairvina-about-scene:focus-visible > span {
  opacity: 1;
}

.hairvina-about-reference__factory-grid strong {
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: 1.55rem;
}

.hairvina-about-reference__factory-grid small {
  max-width: 16rem;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.hairvina-about-reference__workflow-grid,
.hairvina-about-reference__staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hairvina-about-reference__workflow-grid article,
.hairvina-about-reference__staff-grid article {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0.8rem 2.2rem rgba(95, 55, 70, 0.08);
}

.hairvina-about-reference__workflow-grid .hairvina-about-scene,
.hairvina-about-reference__staff-grid .hairvina-about-scene {
  min-height: 15.5rem;
}

.hairvina-about-reference__staff-grid .hairvina-about-scene--staff-ella {
  background-position: center 8%;
}

.hairvina-about-reference__workflow-grid h3,
.hairvina-about-reference__staff-grid h3 {
  margin: 0;
  padding: 1.2rem 1.25rem 0.5rem;
  color: var(--wp--preset--color--accent);
  font-size: 1.28rem;
  text-align: center;
}

.hairvina-about-reference__workflow-grid p,
.hairvina-about-reference__staff-grid p {
  margin: 0;
  padding: 0 1.3rem 1.5rem;
  color: #746b70;
  font-size: 0.9rem;
  text-align: center;
}

.hairvina-about-reference__staff {
  width: min(calc(100vw - 2rem), 76rem);
}

.hairvina-about-reference__staff-intro {
  margin-bottom: 2rem;
}

.hairvina-about-reference__staff-intro--text-only {
  display: block;
  max-width: 52rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid #efdce4;
  background: linear-gradient(145deg, #fff 0%, #fff7fa 100%);
  text-align: center;
}

.hairvina-about-reference__staff-intro--text-only h2 {
  text-align: center;
}

.hairvina-about-reference__staff-intro--text-only > div > p:not(.hairvina-section-kicker) {
  max-width: 44rem;
  margin-inline: auto;
}

.hairvina-about-reference__staff-intro > .hairvina-about-scene {
  min-height: clamp(21rem, 34vw, 29rem);
}

.hairvina-about-reference__staff-intro > .hairvina-about-scene--staff-group {
  min-height: 0;
  aspect-ratio: 3 / 2;
}

.hairvina-about-reference__staff-intro h2 {
  margin-bottom: 1.2rem;
  text-align: left;
}

.hairvina-about-reference__certificates {
  background: #fff4f7;
}

.hairvina-about-reference__center-copy {
  max-width: 49rem !important;
  margin: -1rem auto 2.5rem;
  color: #746b70;
  text-align: center;
}

.hairvina-about-reference__certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hairvina-about-reference__certificate-grid article {
  padding: 2.25rem 1.5rem;
  border: 1px solid #f0dce4;
  background: #fff;
  text-align: center;
}

.hairvina-about-reference__certificate-grid article > span {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  place-items: center;
  border: 2px solid var(--wp--preset--color--accent);
  border-radius: 999px;
  color: var(--wp--preset--color--accent);
  font-size: 2rem;
  font-weight: 900;
}

.hairvina-about-reference__certificate-grid h3 {
  margin: 0;
}

.hairvina-about-reference__certificate-grid p {
  margin-bottom: 0;
  color: #746b70;
  font-size: 0.9rem;
}

.hairvina-about-reference .hairvina-about-news.hairvina-about-insights {
  margin-top: 0;
  background: #fff;
  text-align: center;
}

.hairvina-about-news__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.hairvina-about-news__lead,
.hairvina-about-news__item {
  overflow: hidden;
  border: 1px solid #eee4e8;
  background: #fff;
}

.hairvina-about-news__media,
.hairvina-about-news__thumb {
  display: block;
  overflow: hidden;
}

.hairvina-about-news__media {
  aspect-ratio: 16 / 9;
}

.hairvina-about-news__media img,
.hairvina-about-news__fallback,
.hairvina-about-news__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.hairvina-about-news__fallback {
  background-image: url("../images/blog-topics-sprite.webp");
  background-repeat: no-repeat;
  background-size: 300% auto;
}

.hairvina-about-news__fallback--1 { background-position: 0 0; }
.hairvina-about-news__fallback--2 { background-position: 50% 0; }
.hairvina-about-news__fallback--3 { background-position: 100% 0; }

.hairvina-about-news__lead:hover .hairvina-about-news__media img,
.hairvina-about-news__lead:hover .hairvina-about-news__fallback,
.hairvina-about-news__item:hover .hairvina-about-news__thumb img,
.hairvina-about-news__item:hover .hairvina-about-news__fallback {
  transform: scale(1.045);
}

.hairvina-about-news__body {
  padding: 1.5rem;
}

.hairvina-about-news time {
  color: var(--wp--preset--color--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hairvina-about-news__body h3 {
  margin: 0.55rem 0 0.7rem;
  font-size: 1.45rem;
}

.hairvina-about-news a {
  color: inherit;
  text-decoration: none;
}

.hairvina-about-news__read {
  color: var(--wp--preset--color--accent) !important;
  font-weight: 800;
}

.hairvina-about-news__list {
  display: grid;
  gap: 1rem;
}

.hairvina-about-news__item {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  align-items: center;
}

.hairvina-about-news__thumb {
  height: 100%;
  min-height: 7rem;
}

.hairvina-about-news__item > span:last-child {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.hairvina-about-news__all {
  margin-top: 2rem;
  color: #fff !important;
  background: var(--wp--preset--color--accent);
}

.hairvina-about-reference__offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100vw - 2rem), 70rem);
  max-width: none !important;
  margin: 0 0 clamp(4rem, 7vw, 6rem) 50%;
  padding: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  background: linear-gradient(135deg, #b7275a, #ec4b82);
  transform: translateX(-50%);
}

.hairvina-about-reference__offer h2,
.hairvina-about-reference__offer p {
  color: #fff;
  text-align: left;
}

.hairvina-about-reference__offer h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.hairvina-about-reference__offer p {
  max-width: 48rem;
  margin-bottom: 0;
}

.hairvina-about-reference__offer > a {
  flex: 0 0 auto;
}

.hairvina-about-reference__contact {
  display: grid;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - 70rem) / 2));
  background: #fff4f7;
}

.hairvina-about-reference__contact h2 {
  margin: 0.4rem 0 1rem;
  text-align: left;
}

.hairvina-about-contact__form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(95, 55, 70, 0.08);
}

@media (max-width: 900px) {
  .hairvina-about-reference__timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hairvina-about-reference__timeline::before {
    display: none;
  }

  .hairvina-about-reference__factory-inner,
  .hairvina-about-reference__contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .hairvina-about-reference__map {
    height: 17rem;
  }

  .hairvina-about-reference__intro-grid,
  .hairvina-about-reference__staff-intro,
  .hairvina-about-news__layout {
    grid-template-columns: 1fr;
  }

  .hairvina-about-reference__values,
  .hairvina-about-reference__workflow-grid,
  .hairvina-about-reference__staff-grid,
  .hairvina-about-reference__certificate-grid {
    grid-template-columns: 1fr;
  }

  .hairvina-about-reference__factory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hairvina-about-reference__offer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hairvina-about-reference__map {
    height: 13rem;
  }

  .hairvina-about-reference__timeline,
  .hairvina-about-reference__factory-grid {
    grid-template-columns: 1fr;
  }

  .hairvina-about-reference__factory-grid .hairvina-about-scene > span {
    opacity: 1;
    background: linear-gradient(transparent 35%, rgba(116, 23, 57, 0.92));
    justify-content: flex-end;
  }

  .hairvina-about-news__item {
    grid-template-columns: 6.25rem minmax(0, 1fr);
  }
}

/* Reference-style category cards while retaining the requested two-row carousel. */
.hairvina-carousel--categories .hairvina-category-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  height: auto;
  border-radius: 0.72rem;
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(79, 45, 58, 0.09);
}

.hairvina-carousel--categories .hairvina-category-card::before {
  position: absolute;
  z-index: 3;
  top: 0.8rem;
  right: 0;
  padding: 0.5rem 0.72rem;
  color: #fff;
  background: var(--wp--preset--color--accent);
  content: "CATEGORY";
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hairvina-carousel--categories .hairvina-category-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f9eef2;
}

.hairvina-carousel--categories .hairvina-category-card__image,
.hairvina-carousel--categories .hairvina-category-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hairvina-category-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.85rem 1.15rem;
  text-align: center;
}

.hairvina-category-card__body > span {
  margin-bottom: 0.48rem;
  color: #96858c;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hairvina-category-card__body h3 {
  margin: 0 0 1rem;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 1rem;
  line-height: 1.35;
}

.hairvina-category-card__body h3 a {
  color: #403a3d;
  text-decoration: none;
}

.hairvina-category-card__body .hairvina-product-card__button {
  margin-top: auto;
}

/* Shared About Us child-page system. */
.hairvina-company-reference,
.hairvina-company-reference *,
.hairvina-company-reference *::before,
.hairvina-company-reference *::after {
  box-sizing: border-box;
}

.hairvina-company-reference {
  width: 100vw;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: calc(0px - var(--wp--style--root--padding-left, 0px)) !important;
  overflow: hidden;
  color: #50494d;
  background: #fff;
}

.entry-content.has-global-padding > .hairvina-about-reference {
  margin-right: 0 !important;
  margin-left: calc(0px - var(--wp--style--root--padding-left, 0px)) !important;
}

.hairvina-company-reference img,
.hairvina-company-reference video,
.hairvina-company-reference iframe {
  display: block;
  max-width: 100%;
}

.hairvina-company-hero {
  position: relative;
  width: 100%;
  min-height: clamp(25rem, 42vw, 34rem);
  overflow: hidden;
  color: #fff;
}

.hairvina-company-hero__media {
  position: absolute;
  inset: 0;
  min-height: 100%;
  transform: scale(1.01);
}

.hairvina-company-reference--feedback .hairvina-company-hero__media {
  background-position: center 24%;
}

.hairvina-company-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(53, 31, 40, 0.73), rgba(53, 31, 40, 0.22) 64%, rgba(53, 31, 40, 0.08));
  content: "";
}

.hairvina-company-hero__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: min(calc(100% - 2rem), 70rem);
  min-height: inherit;
  margin-inline: auto;
  padding-block: 4rem;
}

.hairvina-company-hero__overlay h1,
.hairvina-company-reference h2 {
  font-family: var(--wp--preset--font-family--system-serif);
}

.hairvina-company-hero__overlay h1 {
  max-width: 52rem;
  margin: 0.35rem 0 1rem;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.02;
}

.hairvina-company-hero__overlay > p:last-child {
  max-width: 48rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.hairvina-company-hero__overlay > nav {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  font-size: 0.86rem;
}

.hairvina-company-hero__overlay > nav a {
  color: #fff;
  text-decoration: none;
}

.hairvina-company-breadcrumb,
.hairvina-company-section {
  width: min(calc(100vw - 2rem), 70rem);
  margin-inline: auto;
}

.hairvina-company-breadcrumb {
  display: flex;
  gap: 0.55rem;
  padding-top: 2.2rem;
  color: #8c8287;
  font-size: 0.88rem;
}

.hairvina-company-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.hairvina-company-section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.hairvina-company-heading {
  max-width: 50rem;
  margin: 0 auto clamp(2.4rem, 5vw, 4rem);
  text-align: center;
}

.hairvina-company-heading h2,
.hairvina-team-department h2,
.hairvina-feedback-intro h2 {
  margin: 0.35rem 0 0;
  color: #4a4347;
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  line-height: 1.08;
}

.hairvina-company-heading > span {
  display: block;
  width: 2.65rem;
  height: 3px;
  margin: 1.15rem auto 1.5rem;
  background: var(--wp--preset--color--accent);
}

.hairvina-company-heading > p:last-child,
.hairvina-team-department p,
.hairvina-feedback-intro p {
  color: #71676c;
  line-height: 1.8;
}

.hairvina-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.45rem;
}

.hairvina-team-grid article,
.hairvina-feedback-gallery article,
.hairvina-video-grid article,
.hairvina-order-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0.8rem 2.2rem rgba(80, 44, 59, 0.09);
}

.hairvina-team-grid .hairvina-about-scene {
  min-height: 18rem;
}

.hairvina-team-grid h3,
.hairvina-feedback-gallery h3,
.hairvina-video-grid h3,
.hairvina-order-card h3 {
  margin: 0;
  padding: 1.15rem 1.1rem 0.45rem;
  color: var(--wp--preset--color--accent);
  text-align: center;
}

.hairvina-team-grid p,
.hairvina-feedback-gallery p,
.hairvina-order-card p {
  margin: 0;
  padding: 0 1.1rem 1.35rem;
  color: #766d71;
  font-size: 0.9rem;
  line-height: 1.65;
  text-align: center;
}

.hairvina-team-department {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hairvina-team-department + .hairvina-team-department {
  padding-top: 0;
}

.hairvina-team-department__media {
  min-height: clamp(22rem, 38vw, 31rem);
}

.hairvina-team-department__media.hairvina-about-scene--staff-rd,
.hairvina-team-department__media.hairvina-about-scene--staff-operations {
  min-height: 0;
  aspect-ratio: 3 / 2;
}

.hairvina-team-department h2 {
  margin-bottom: 1.3rem;
}

.hairvina-team-department ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hairvina-team-department li {
  position: relative;
  padding-left: 1.45rem;
}

.hairvina-team-department li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--wp--preset--color--accent);
  content: "";
}

.hairvina-company-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  width: min(calc(100vw - 2rem), 76rem);
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  padding: clamp(2.7rem, 6vw, 5.2rem);
  color: #fff;
  background: linear-gradient(120deg, #a52352, #ed4a83);
  text-align: center;
}

.hairvina-company-cta h2,
.hairvina-company-cta p {
  color: #fff;
}

.hairvina-company-cta h2 {
  margin: 0.25rem 0 0.8rem;
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
  line-height: 1.05;
}

.hairvina-company-cta p {
  max-width: 45rem;
  margin: 0;
}

.hairvina-company-cta > a,
.hairvina-company-cta > p:last-child > a,
.hairvina-feedback-intro > a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid currentColor;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.hairvina-company-cta > p:last-child {
  margin: 0;
}

.hairvina-company-cta > a,
.hairvina-company-cta > p:last-child > a {
  position: relative;
  z-index: 2;
  color: #fff !important;
  border-color: #fff !important;
  background: transparent !important;
  pointer-events: auto;
}

.hairvina-company-cta > a:hover,
.hairvina-company-cta > a:focus-visible,
.hairvina-company-cta > p:last-child > a:hover,
.hairvina-company-cta > p:last-child > a:focus-visible {
  color: var(--wp--preset--color--accent-dark) !important;
  background: #fff !important;
}

.hairvina-feedback-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.hairvina-feedback-intro > div {
  max-width: 48rem;
}

.hairvina-feedback-intro > a {
  color: var(--wp--preset--color--accent);
}

.hairvina-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 0;
}

.hairvina-testimonial-grid article {
  position: relative;
  padding: 2.1rem;
  border: 1px solid #f0dfe6;
  background: #fff9fb;
}

.hairvina-testimonial-grid article > span {
  color: var(--wp--preset--color--accent);
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: 4rem;
  line-height: 0.7;
}

.hairvina-testimonial-grid h3 {
  margin: 1rem 0 0.75rem;
}

.hairvina-testimonial-grid p {
  color: #71676c;
  line-height: 1.75;
}

.hairvina-testimonial-grid strong {
  color: var(--wp--preset--color--accent);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hairvina-feedback-wall,
.hairvina-order-process {
  width: 100%;
  background: #fff4f7;
}

.hairvina-feedback-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.hairvina-feedback-gallery .hairvina-about-scene {
  min-height: 16rem;
}

.hairvina-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hairvina-video-grid .hairvina-about-scene {
  display: grid;
  min-height: 17rem;
  place-items: center;
}

.hairvina-video-grid .hairvina-about-scene::after {
  position: absolute;
  inset: 0;
  background: rgba(58, 34, 43, 0.2);
  content: "";
}

.hairvina-video-grid .hairvina-about-scene > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 4rem;
  height: 4rem;
  padding-left: 0.18rem;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: rgba(235, 63, 124, 0.78);
  font-size: 1.2rem;
  place-items: center;
}

.hairvina-video-grid h3 {
  padding-bottom: 1.2rem;
}

.hairvina-orders-intro {
  width: min(calc(100vw - 2rem), 76rem);
}

.hairvina-order-carousel {
  padding-bottom: 3.5rem;
}

.hairvina-order-carousel .hairvina-carousel__track {
  align-items: stretch;
}

.hairvina-order-carousel .hairvina-carousel__slide {
  flex-basis: calc((100% - 4.5rem) / 4);
}

.hairvina-order-card {
  display: flex;
  flex-direction: column;
}

.hairvina-order-card .hairvina-about-scene {
  min-height: 18rem;
}

.hairvina-order-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.hairvina-order-process__grid article {
  padding: 2rem 1.4rem;
  background: #fff;
}

.hairvina-order-process__grid b {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  color: #fff;
  background: var(--wp--preset--color--accent);
  place-items: center;
}

.hairvina-order-process__grid h3 {
  margin: 0 0 0.7rem;
}

.hairvina-order-process__grid p {
  margin: 0;
  color: #746a6f;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Prevent wide block and form internals from forcing horizontal page overflow. */
.wp-site-blocks,
main,
.wp-block-post-content,
.wp-block-columns,
.wp-block-column,
.ff-t-container,
.ff-t-cell,
.fluentform,
.frm-fluent-form {
  min-width: 0;
}

.fluentform input,
.fluentform select,
.fluentform textarea,
.frm-fluent-form input,
.frm-fluent-form select,
.frm-fluent-form textarea {
  box-sizing: border-box;
  max-width: 100%;
}

.hairvina-about-reference__factory,
.hairvina-about-reference__contact,
.hairvina-about-reference__offer {
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .hairvina-team-grid,
  .hairvina-testimonial-grid,
  .hairvina-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hairvina-feedback-gallery,
  .hairvina-order-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hairvina-order-carousel .hairvina-carousel__slide {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 700px) {
  .hairvina-company-hero {
    min-height: 29rem;
  }

  .hairvina-company-hero::after {
    background: linear-gradient(180deg, rgba(53, 31, 40, 0.3), rgba(53, 31, 40, 0.82));
  }

  .hairvina-company-hero__overlay {
    justify-content: flex-end;
    padding-bottom: 3rem;
  }

  .hairvina-company-hero__overlay h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .hairvina-company-hero__media.hairvina-about-scene--staff-group {
    background-color: #49323b;
    background-position: center top;
    background-size: contain;
  }

  .hairvina-team-grid,
  .hairvina-testimonial-grid,
  .hairvina-feedback-gallery,
  .hairvina-video-grid,
  .hairvina-order-process__grid,
  .hairvina-team-department {
    grid-template-columns: 1fr;
  }

  .hairvina-team-department--reverse > div:first-child {
    order: 2;
  }

  .hairvina-team-department--reverse > div:last-child {
    order: 1;
  }

  .hairvina-feedback-intro,
  .hairvina-company-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .hairvina-company-cta {
    width: 100%;
    margin-bottom: 0;
  }

  .hairvina-order-carousel .hairvina-carousel__slide {
    flex-basis: 84%;
  }
}

@media (max-width: 520px) {
  .hairvina-company-breadcrumb,
  .hairvina-company-section {
    width: min(calc(100vw - 1.5rem), 70rem);
  }

  .hairvina-company-section {
    padding-block: 3.5rem;
  }

  .hairvina-team-section {
    padding-top: 2.5rem;
  }

  .hairvina-team-grid .hairvina-about-scene,
  .hairvina-feedback-gallery .hairvina-about-scene,
  .hairvina-video-grid .hairvina-about-scene,
  .hairvina-order-card .hairvina-about-scene {
    min-height: 15rem;
  }

  .hairvina-team-department__media {
    min-height: 20rem;
  }

  .hairvina-company-cta {
    padding: 3rem 1.25rem;
  }

  .hairvina-carousel--categories .hairvina-category-card__media {
    aspect-ratio: 1 / 1;
  }
}

/* Second-pass reference alignment for the complete About Us family. */
.hairvina-primary-navigation .wp-block-navigation__submenu-container {
  min-width: 17rem !important;
}

/* Reference-aligned desktop dropdown: anchored directly below its parent item. */
.hairvina-mobile-nav-support {
  display: none;
}

@media (min-width: 783px) {
  .hairvina-primary-navigation .wp-block-navigation__container > .wp-block-navigation-submenu {
    position: relative;
  }

  .hairvina-primary-navigation .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
    top: 100% !important;
    left: 0 !important;
    min-width: 16.25rem !important;
    margin-top: 0 !important;
    padding: 0.7rem 0 !important;
    border-radius: 0 0 0.9rem 0.9rem;
  }

  .hairvina-primary-navigation .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 0.64rem 1.3rem;
    border-radius: 0;
  }

  .hairvina-primary-navigation .wp-block-navigation__submenu-container .hairvina-menu-indent > .wp-block-navigation-item__content {
    padding-left: 2.35rem;
    color: #756b70;
    font-size: 0.82rem;
  }
}

/* Header/footer social alignment lock: left/right header groups and one clean footer row. */
.hairvina-brandbar__content {
  box-sizing: border-box;
  display: flex !important;
  width: min(100%, 80rem) !important;
  margin-inline: auto !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(1rem, 4vw, 3.5rem) !important;
  text-align: left !important;
}

.hairvina-brandbar__content > span {
  flex: 0 0 auto;
  margin: 0 !important;
  text-align: left !important;
}

.hairvina-brandbar__content > div {
  display: flex !important;
  min-width: 0;
  margin: 0 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.hairvina-header-main__inner {
  display: flex !important;
  width: min(100%, 80rem) !important;
  margin-inline: auto !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.hairvina-footer .hairvina-social-links {
  display: flex !important;
  width: auto !important;
  max-width: 100%;
  grid-template-columns: none !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.55rem !important;
  overflow: visible !important;
  padding: 0.15rem 0 0.45rem !important;
}

.hairvina-footer .hairvina-social-link,
body .hairvina-footer .hairvina-social-link {
  display: grid !important;
  width: 2.65rem !important;
  min-width: 2.65rem !important;
  height: 2.65rem !important;
  min-height: 2.65rem !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07) !important;
  place-items: center !important;
}

.hairvina-footer .hairvina-social-link > span {
  display: grid !important;
  width: 1.35rem !important;
  height: 1.35rem !important;
  color: inherit !important;
  background: transparent !important;
  place-items: center !important;
}

.hairvina-footer .hairvina-social-link svg {
  width: 1.28rem !important;
  height: 1.28rem !important;
}

.hairvina-footer .hairvina-social-link > strong {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.hairvina-footer .hairvina-social-link:hover,
.hairvina-footer .hairvina-social-link:focus-visible {
  border-color: #ef477d !important;
  color: #fff !important;
  background: #ef477d !important;
}

@media (max-width: 782px) {
  .hairvina-brandbar__content {
    gap: 0.55rem !important;
  }

  .hairvina-brandbar__content > span {
    display: block !important;
    max-width: 8.5rem;
    overflow: hidden;
    font-size: 0.58rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hairvina-brandbar__content > div {
    width: auto !important;
    flex: 0 1 auto;
    gap: 0.4rem !important;
  }

  .hairvina-brandbar .hairvina-social-links {
    display: none !important;
  }

  .hairvina-footer .hairvina-social-links {
    gap: 0.4rem !important;
  }

  .hairvina-footer .hairvina-social-link,
  body .hairvina-footer .hairvina-social-link {
    width: 2.25rem !important;
    min-width: 2.25rem !important;
    height: 2.25rem !important;
    min-height: 2.25rem !important;
  }

  .hairvina-footer .hairvina-social-link > span,
  .hairvina-footer .hairvina-social-link svg {
    width: 1.14rem !important;
    height: 1.14rem !important;
  }
}

/* Header brand and social strip: text-only identity with a lighter reference-style bar. */
.hairvina-brandbar {
  padding: 0.42rem clamp(1rem, 4vw, 3rem);
  color: #51484c;
  border-bottom: 1px solid #f0dce4;
  background: #fff9fb;
}

.hairvina-brandbar__content {
  width: min(100%, 80rem);
  min-height: 2.35rem;
  justify-content: space-between;
  gap: clamp(1rem, 4vw, 3.5rem);
  color: #6c5d63;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
}

.hairvina-brandbar__content > span {
  flex: 0 0 auto;
  color: #75676c;
}

.hairvina-brandbar__content > div {
  min-width: 0;
  margin-left: auto;
  gap: clamp(0.55rem, 1.25vw, 1rem);
}

.hairvina-brandbar .hairvina-social-links {
  display: flex;
  width: auto;
  flex-wrap: nowrap;
  gap: 0.42rem;
}

.hairvina-brandbar .hairvina-social-link {
  display: grid;
  width: 1.9rem;
  min-width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: 1px solid #e9c8d5;
  border-radius: 50%;
  color: #a82b58;
  background: #fff;
  box-shadow: 0 0.25rem 0.7rem rgba(106, 45, 67, 0.06);
  opacity: 1;
  place-items: center;
}

.hairvina-brandbar .hairvina-social-link span {
  width: auto;
  height: auto;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: 0.68rem;
}

.hairvina-brandbar .hairvina-social-link:hover,
.hairvina-brandbar .hairvina-social-link:focus-visible {
  color: #fff;
  border-color: #d53b70;
  background: #d53b70;
  transform: translateY(-1px);
}

.hairvina-brandbar .hairvina-social-link.is-pending {
  opacity: 0.82;
}

.hairvina-brandbar__contact {
  min-height: 1.95rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #d53b70;
  border-radius: 999px;
  color: #a82b58;
  background: #fff;
  line-height: 1;
  white-space: nowrap;
}

.hairvina-brandbar__contact:hover,
.hairvina-brandbar__contact:focus-visible {
  color: #fff;
  background: #d53b70;
}

.hairvina-brand-logo {
  width: auto;
  min-width: 0;
  height: auto;
  padding-block: 0.4rem;
  text-decoration: none;
}

.hairvina-brand-logo__mark {
  display: none !important;
}

.hairvina-brand-logo__wordmark {
  color: #b42e5e;
  font-size: clamp(1.45rem, 2.15vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

@keyframes hairvina-contact-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hairvina-floating-contact__item {
  animation: hairvina-contact-float 4.2s ease-in-out infinite;
}

.hairvina-floating-contact__item:hover,
.hairvina-floating-contact__item:focus-visible {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.05);
}

@media (max-width: 782px) {
  .hairvina-brandbar {
    padding: 0.38rem 0.75rem;
  }

  .hairvina-brandbar__content {
    min-height: 2.25rem;
    justify-content: space-between;
    gap: 0.6rem;
  }

  .hairvina-brandbar__content > span {
    display: none;
  }

  .hairvina-brandbar__content > div {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .hairvina-brandbar .hairvina-social-links {
    overflow-x: auto;
    gap: 0.3rem;
    scrollbar-width: none;
  }

  .hairvina-brandbar .hairvina-social-links::-webkit-scrollbar {
    display: none;
  }

  .hairvina-brandbar .hairvina-social-link {
    width: 1.75rem;
    min-width: 1.75rem;
    height: 1.75rem;
  }

  .hairvina-brandbar__contact {
    flex: 0 0 auto;
    min-height: 1.8rem;
    padding: 0.42rem 0.65rem;
    font-size: 0.58rem;
  }

  .hairvina-brand-logo {
    width: auto;
    min-width: 0;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hairvina-floating-contact__item {
    animation: none;
  }
}

/* Footer social links stay as a single, clean row of circular icons. */
.hairvina-footer .hairvina-social-links {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
}

.hairvina-footer .hairvina-social-link {
  display: grid;
  width: 2.35rem;
  min-width: 2.35rem;
  height: 2.35rem;
  min-height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  opacity: 1;
  place-items: center;
}

.hairvina-footer .hairvina-social-link span {
  display: grid;
  width: auto;
  height: auto;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: 0.72rem;
  place-items: center;
}

.hairvina-footer .hairvina-social-link strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hairvina-footer .hairvina-social-link:hover,
.hairvina-footer .hairvina-social-link:focus-visible {
  border-color: #ef477d;
  color: #fff;
  background: #ef477d;
}

@media (max-width: 520px) {
  .hairvina-footer .hairvina-social-links {
    gap: 0.35rem;
  }

  .hairvina-footer .hairvina-social-link {
    width: 2.1rem;
    min-width: 2.1rem;
    height: 2.1rem;
    min-height: 2.1rem;
  }
}

/* Mobile navigation follows the reference's left drawer and stacked accordions. */
@media (max-width: 782px) {
  body.hairvina-custom-menu-open {
    overflow: hidden;
  }

  body.hairvina-custom-menu-open .hairvina-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .hairvina-custom-mobile-drawer[hidden] {
    display: none !important;
  }

  .hairvina-custom-mobile-drawer__backdrop[hidden] {
    display: none !important;
  }

  .hairvina-custom-mobile-drawer__backdrop {
    position: fixed;
    z-index: 100000;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(34, 24, 29, 0.3);
    cursor: default;
    appearance: none;
    -webkit-appearance: none;
  }

  .hairvina-custom-mobile-drawer {
    position: fixed;
    z-index: 100001;
    inset: 0 auto 0 0;
    box-sizing: border-box;
    width: min(92vw, 22rem);
    height: 100dvh;
    overflow-y: auto;
    color: #302a2d;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 1.2rem 0 3rem rgba(54, 36, 43, 0.2);
  }

  .hairvina-custom-mobile-drawer__close {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0;
    padding: 0;
    border: 0;
    color: #302a2d;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    place-items: center;
  }

  .hairvina-custom-mobile-drawer__menu > a,
  .hairvina-custom-mobile-drawer__menu summary {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-height: 3.65rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
    border-top: 1px solid #eee8eb;
    color: #302a2d;
    cursor: pointer;
    font-size: 0.96rem;
    font-weight: 600;
    text-decoration: none;
    list-style: none;
  }

  .hairvina-custom-mobile-drawer__menu summary::-webkit-details-marker {
    display: none;
  }

  .hairvina-custom-mobile-drawer__menu summary::after {
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid #8b8286;
    border-bottom: 2px solid #8b8286;
    content: "";
    transform: rotate(45deg) translateY(-0.15rem);
    transition: transform 180ms ease;
  }

  .hairvina-custom-mobile-drawer__menu details[open] summary::after {
    transform: rotate(225deg) translate(-0.1rem, -0.1rem);
  }

  .hairvina-custom-mobile-drawer__children {
    padding: 0.2rem 0 0.65rem;
    border-top: 1px solid #f4eef1;
  }

  .hairvina-custom-mobile-drawer__children a {
    display: block;
    padding: 0.58rem 1.7rem;
    color: #655c61;
    font-size: 0.86rem;
    text-decoration: none;
  }

  .hairvina-custom-mobile-drawer__children .hairvina-menu-indent {
    padding-left: 2.65rem;
    color: #82787d;
    font-size: 0.81rem;
  }

  .hairvina-custom-mobile-drawer .hairvina-mobile-nav-support {
    display: block;
    margin-top: 0.25rem;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
    right: auto;
    width: min(92vw, 22rem);
    height: 100dvh;
    padding: 0;
    background: rgba(255, 255, 255, 0.985) !important;
    box-shadow: 1.2rem 0 3rem rgba(54, 36, 43, 0.16);
    overflow-y: auto;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-close {
    top: 0.9rem;
    right: auto;
    left: 1rem;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content {
    display: block !important;
    padding: 3.3rem 0 0 !important;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
    display: block;
    width: 100%;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee8eb;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-height: 3.55rem;
    align-items: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.96rem;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation-submenu__toggle {
    display: none !important;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .hairvina-mobile-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: flex !important;
    width: 3.5rem;
    min-height: 3.5rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .hairvina-mobile-submenu-toggle svg {
    width: 1rem;
    height: 1rem;
    transition: transform 180ms ease;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation-submenu:not(.is-hairvina-collapsed) > .hairvina-mobile-submenu-toggle svg {
    transform: rotate(180deg);
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 0 0.55rem !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation-submenu.is-hairvina-collapsed > .wp-block-navigation__submenu-container {
    display: none !important;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation-submenu:not(.is-hairvina-collapsed) > .wp-block-navigation__submenu-container {
    display: block !important;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item {
    border: 0;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    min-height: 2.65rem;
    padding: 0.55rem 1.65rem;
    color: #5e5559;
    font-size: 0.88rem;
  }

  .hairvina-primary-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .hairvina-menu-indent > .wp-block-navigation-item__content {
    padding-left: 2.6rem;
    color: #83797e;
    font-size: 0.82rem;
  }

  .hairvina-mobile-nav-support {
    display: block;
    padding: 1.7rem 1.25rem 2rem;
    border-top: 1px solid #eee8eb;
  }

  .hairvina-mobile-nav-support__actions {
    display: grid;
    gap: 0.75rem;
  }

  .hairvina-mobile-nav-support__actions a {
    color: #5d5558;
    font-size: 0.86rem;
    text-decoration: none;
    overflow-wrap: anywhere;
  }

  .hairvina-mobile-nav-support__actions .hairvina-mobile-nav-support__whatsapp {
    justify-self: start;
    padding: 0.8rem 1rem;
    border-radius: 0.55rem;
    color: #fff;
    background: var(--wp--preset--color--accent);
    font-weight: 800;
  }

  .hairvina-mobile-nav-support__social {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.5rem;
  }

  .hairvina-mobile-nav-support__social a {
    display: grid;
    width: 2rem;
    height: 2rem;
    border: 1px solid #6e676a;
    border-radius: 50%;
    color: #4f494c;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
    place-items: center;
  }
}

/* Slim, product-led related carousel matching the supplied reference. */
.hairvina-related-products {
  width: min(calc(100% - 2rem), 69.5rem) !important;
  padding-top: 1.2rem;
}

.hairvina-related-products .hairvina-carousel-section__title,
.hairvina-related-products h2 {
  margin: 0 0 1.35rem;
  color: #4d494b;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.075em;
  text-align: left;
  text-transform: uppercase;
}

.hairvina-related-products .hairvina-carousel--products .hairvina-carousel__track {
  gap: 1rem;
}

.hairvina-related-products .hairvina-carousel--products .hairvina-carousel__slide {
  flex-basis: calc((100% - 4rem) / 5);
  min-width: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hairvina-related-products .hairvina-collection-preview-card__media,
.hairvina-related-products .hairvina-product-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
}

.hairvina-related-products .hairvina-collection-preview-card__body,
.hairvina-related-products .hairvina-product-card__body {
  min-height: 0;
  padding: 0.65rem 0.1rem 0.8rem;
}

.hairvina-related-products .hairvina-collection-preview-card__body > span,
.hairvina-related-products .hairvina-product-card__category {
  color: #999095;
  font-size: 0.62rem;
}

.hairvina-related-products .hairvina-collection-preview-card h3,
.hairvina-related-products .hairvina-product-card h3 {
  min-height: 2.5em;
  margin: 0.45rem 0 0.7rem;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
}

.hairvina-related-products .hairvina-product-card__button {
  min-width: 0;
  min-height: 2.25rem;
  padding: 0.52rem 0.8rem;
  font-size: 0.65rem;
}

/* Clean editorial article skeleton: left-aligned heading and natural image ratio. */
.hairvina-blog-single__layout {
  align-items: start;
}

.hairvina-article__title {
  max-width: none;
  margin: 0;
  color: #332f31;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  text-align: left;
}

.hairvina-article__meta {
  justify-content: flex-start !important;
  margin-top: 0.9rem;
}

.hairvina-article__divider {
  width: 3rem !important;
  margin: 1.1rem 0 1.8rem !important;
}

.hairvina-article__featured-wrap {
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.hairvina-article__featured,
.hairvina-article__featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hairvina-article__content > * {
  max-width: 100%;
}

.hairvina-article-toc {
  margin: 2rem 0 2.5rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid #eadfe3;
  background: #fff8fa;
}

.hairvina-article-toc p {
  margin: 0 0 0.8rem;
  color: #a62b56;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.hairvina-article-toc ol {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.25rem;
}

.hairvina-article-toc li.is-level-3 {
  margin-left: 1rem;
}

.hairvina-article-toc a,
.hairvina-further-reading a {
  color: #4d4649;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.hairvina-further-reading {
  margin: 2rem 0;
  padding: 1.15rem 1.35rem;
  border-left: 3px solid var(--wp--preset--color--accent);
  background: #fbf8f9;
}

.hairvina-further-reading ul {
  margin-bottom: 0;
}

.hairvina-blog-whatsapp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 2.6rem 0;
  padding: 1.25rem 1.4rem;
  color: #fff;
  background: linear-gradient(120deg, #ae2857, #ed477c);
}

.hairvina-blog-whatsapp span,
.hairvina-blog-whatsapp strong {
  display: block;
}

.hairvina-blog-whatsapp span {
  margin-bottom: 0.25rem;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.hairvina-blog-whatsapp a {
  flex: 0 0 auto;
  padding: 0.7rem 0.9rem;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #b82c5d;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  text-decoration: none;
}

.hairvina-article-author {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-top: 3.5rem;
  padding: 1.5rem;
  border-block: 1px solid #e9e2e5;
}

.hairvina-article-author__avatar {
  display: grid;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #b92a5d, #ef477d);
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: 2rem;
  place-items: center;
}

.hairvina-article-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hairvina-article-author > div:last-child > span,
.hairvina-related-articles__heading > span,
.hairvina-article-share > span {
  color: #a62b56;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.hairvina-article-author h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.35rem;
}

.hairvina-article-author h2 small {
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.72em;
  font-weight: 500;
}

.hairvina-article-author p {
  margin: 0;
  color: #665e62;
  font-size: 0.9rem;
  line-height: 1.65;
}

.hairvina-article-rating {
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  margin: 1.8rem 0;
}

.hairvina-article-rating p,
.hairvina-article-rating output,
.hairvina-article-rating small {
  margin: 0;
}

.hairvina-article-rating__stars {
  display: flex;
}

.hairvina-article-rating__stars button {
  padding: 0 0.08rem;
  border: 0;
  color: #d8d1d4;
  background: transparent;
  cursor: pointer;
  font-size: 1.55rem;
}

.hairvina-article-rating__stars button:hover,
.hairvina-article-rating__stars button:focus-visible,
.hairvina-article-rating__stars button.is-selected {
  color: #f5a12b;
}

.hairvina-article-rating small {
  color: #91878b;
  font-size: 0.7rem;
}

.hairvina-article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.6rem;
  border-bottom: 1px solid #e9e2e5;
}

.hairvina-article-share div {
  display: flex;
  gap: 0.5rem;
}

.hairvina-article-share a {
  display: grid;
  width: 2rem;
  height: 2rem;
  border: 1px solid #8c8387;
  border-radius: 50%;
  color: #4f484b;
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
  place-items: center;
}

.hairvina-related-articles {
  margin-top: 3.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e9e2e5;
}

.hairvina-related-articles__heading h2 {
  margin: 0.25rem 0 1.35rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.hairvina-related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hairvina-related-articles__grid article {
  min-width: 0;
}

.hairvina-related-article__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f8edf1;
}

.hairvina-related-article__media img,
.hairvina-related-article__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hairvina-related-article__fallback--1 { background: linear-gradient(140deg, #f8d8e3, #e97ca4); }
.hairvina-related-article__fallback--2 { background: linear-gradient(140deg, #e5d5db, #bd718d); }
.hairvina-related-article__fallback--3 { background: linear-gradient(140deg, #f8e6d7, #dd8ca9); }

.hairvina-related-articles time {
  display: block;
  margin-top: 0.7rem;
  color: #9b9095;
  font-size: 0.68rem;
}

.hairvina-related-articles h3 {
  margin: 0.35rem 0 0.55rem;
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.92rem;
  line-height: 1.4;
}

.hairvina-related-articles h3 a,
.hairvina-related-article__link {
  color: #433d40;
  text-decoration: none;
}

.hairvina-related-article__link {
  color: var(--wp--preset--color--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
}

.hairvina-article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hairvina-article-pager a {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #e7dfe2;
  color: #433d40;
  text-decoration: none;
}

.hairvina-article-pager .is-next {
  grid-column: 2;
  text-align: right;
}

.hairvina-article-pager span {
  color: var(--wp--preset--color--accent-dark);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hairvina-article-pager strong {
  font-size: 0.86rem;
  line-height: 1.4;
}

@media (max-width: 782px) {
  .hairvina-related-products .hairvina-carousel--products .hairvina-carousel__slide {
    flex-basis: 74%;
    min-width: 13rem;
  }

  .hairvina-blog-single__layout {
    padding-top: 1rem;
  }

  .hairvina-blog-whatsapp {
    align-items: flex-start;
    flex-direction: column;
  }

  .hairvina-related-articles__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .hairvina-related-article__media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .hairvina-article__title {
    font-size: 2rem;
  }

  .hairvina-article-author {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    align-items: start;
    padding-inline: 0;
  }

  .hairvina-article-pager {
    grid-template-columns: 1fr;
  }

  .hairvina-article-pager .is-next {
    grid-column: 1;
  }
}

.hairvina-about-reference__timeline {
  align-items: start;
}

.hairvina-about-reference__timeline::before {
  top: 11.25rem;
}

.hairvina-about-reference__timeline article > .hairvina-about-scene {
  min-height: 9rem;
  margin: 0 -0.5rem 1.15rem;
}

.hairvina-about-reference__videos .hairvina-about-scene {
  display: grid;
  place-items: center;
}

.hairvina-about-reference__videos .hairvina-about-scene::after {
  position: absolute;
  inset: 0;
  background: rgba(57, 32, 42, 0.18);
  content: "";
}

.hairvina-about-reference__videos .hairvina-about-scene > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 4rem;
  height: 4rem;
  padding-left: 0.15rem;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: rgba(234, 64, 125, 0.82);
  place-items: center;
}

.hairvina-feedback-gallery-carousel {
  padding-bottom: 3.6rem;
}

.hairvina-feedback-gallery-carousel .hairvina-carousel__track,
.hairvina-order-carousel .hairvina-carousel__track {
  gap: 0;
}

.hairvina-feedback-gallery-carousel .hairvina-feedback-gallery {
  display: flex;
  grid-template-columns: none;
  gap: 0;
}

.hairvina-feedback-gallery-carousel .hairvina-carousel__slide {
  box-sizing: border-box;
  flex-basis: 25%;
  padding: 0.575rem;
}

.hairvina-feedback-gallery-carousel article {
  height: 100%;
}

.hairvina-order-carousel .hairvina-carousel__slide {
  box-sizing: border-box;
  flex-basis: 25%;
  padding: 0.65rem;
  box-shadow: none;
}

.hairvina-order-carousel .hairvina-order-card > * {
  background-color: #fff;
}

.hairvina-company-reference--orders {
  background: linear-gradient(180deg, #fff8fa, #fff 45rem);
}

.hairvina-company-reference--orders .hairvina-orders-intro {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.hairvina-company-breadcrumb--inline {
  width: 100%;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-top: 0;
}

.hairvina-orders-intro .hairvina-company-heading h1 {
  margin: 0.35rem 0 0;
  color: #4a4347;
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: clamp(2.65rem, 5.5vw, 4.5rem);
  line-height: 1.04;
}

.hairvina-orders-intro .hairvina-company-heading > p:last-child {
  margin-top: 0.5rem;
}

.hairvina-company-cta > a,
.hairvina-company-cta > p:last-child > a {
  min-width: 12rem;
}

@media (max-width: 900px) {
  .hairvina-about-reference__timeline article > .hairvina-about-scene {
    min-height: 11rem;
  }

  .hairvina-feedback-gallery-carousel .hairvina-carousel__slide {
    flex-basis: 50%;
  }

  .hairvina-order-carousel .hairvina-carousel__slide {
    flex-basis: 50%;
  }
}

@media (max-width: 700px) {
  .hairvina-company-hero .hairvina-about-scene:not(.hairvina-about-scene--staff-group),
  .hairvina-team-department__media:not(.hairvina-about-scene--staff-rd):not(.hairvina-about-scene--staff-operations),
  .hairvina-about-reference__intro-grid > .hairvina-about-scene,
  .hairvina-about-reference__staff-intro > .hairvina-about-scene:not(.hairvina-about-scene--staff-group) {
    background-size: auto 200%;
  }

  .hairvina-company-hero .hairvina-about-scene:not(.hairvina-about-scene--staff-group):hover,
  .hairvina-company-hero .hairvina-about-scene:not(.hairvina-about-scene--staff-group):focus-visible,
  .hairvina-team-department__media:not(.hairvina-about-scene--staff-rd):not(.hairvina-about-scene--staff-operations):hover,
  .hairvina-team-department__media:not(.hairvina-about-scene--staff-rd):not(.hairvina-about-scene--staff-operations):focus-visible,
  .hairvina-about-reference__intro-grid > .hairvina-about-scene:hover,
  .hairvina-about-reference__intro-grid > .hairvina-about-scene:focus-visible,
  .hairvina-about-reference__staff-intro > .hairvina-about-scene:not(.hairvina-about-scene--staff-group):hover,
  .hairvina-about-reference__staff-intro > .hairvina-about-scene:not(.hairvina-about-scene--staff-group):focus-visible {
    background-size: auto 211%;
  }

  .hairvina-feedback-gallery-carousel .hairvina-carousel__slide {
    flex-basis: 84%;
  }

  .hairvina-order-carousel .hairvina-carousel__slide {
    flex-basis: 84%;
  }

  .hairvina-company-cta h2,
  .hairvina-company-cta p,
  .hairvina-company-cta .hairvina-section-kicker {
    width: 100%;
    text-align: center;
  }

  .hairvina-company-cta > a,
  .hairvina-company-cta > p:last-child > a {
    align-self: center;
  }
}

/* Final specificity safeguards for late-loaded article and archive sections. */
.hairvina-article__title {
  max-width: 21ch;
  margin: 0;
  color: #373033;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.3vw, 3.7rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.034em;
  text-align: left;
  text-wrap: balance;
}

.hairvina-article-rating {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  justify-items: stretch;
  gap: 0;
  overflow: hidden;
  margin: 2rem 0;
  border: 1px solid #eadfe3;
  background: #fff;
}

.hairvina-article-rating__editorial,
.hairvina-article-rating__reader {
  display: grid;
  gap: 0.48rem;
  align-content: center;
  min-height: 10rem;
  padding: 1.35rem 1.5rem;
}

.hairvina-article-rating__editorial {
  color: #fff;
  background: linear-gradient(135deg, #a92759, #e9447a);
}

.hairvina-product-archive .hairvina-archive-cta,
.hairvina-shop-page .hairvina-archive-cta {
  box-sizing: border-box;
  width: min(calc(100% - 2rem), 72rem) !important;
  margin-top: clamp(4.5rem, 8vw, 7rem) !important;
  margin-bottom: clamp(4.5rem, 8vw, 7rem) !important;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem) !important;
  border-radius: 0.6rem;
  color: #fff;
  background: linear-gradient(125deg, #942448, #c52f63 58%, #e8497b) !important;
  box-shadow: 0 1.5rem 3.8rem rgba(101, 28, 55, 0.16);
}

.hairvina-product-archive .hairvina-archive-cta h2,
.hairvina-shop-page .hairvina-archive-cta h2 {
  max-width: 38rem;
  margin: 0 auto !important;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hairvina-brandbar .hairvina-social-links {
  width: auto;
  grid-template-columns: none;
}

.hairvina-footer .hairvina-social-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.hairvina-footer .hairvina-social-link {
  height: 2.35rem;
  padding: 0.35rem 0.5rem;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hairvina-footer .hairvina-social-link span {
  width: 1.4rem;
  height: 1.4rem;
}

.hairvina-footer .hairvina-social-link strong {
  font-size: 0.61rem;
}

.hairvina-help-hero,
.hairvina-contact-hero {
  min-height: clamp(24rem, 38vw, 31rem);
}

.hairvina-help-hero h1,
.hairvina-contact-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
}

.hairvina-help-card {
  min-height: 18rem;
  padding: clamp(1.6rem, 2.8vw, 2.35rem);
  border-radius: 0.6rem;
}

.hairvina-help-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}

.hairvina-contact-form-card,
.hairvina-contact-info {
  border-radius: 0.65rem;
}

@media (max-width: 782px) {
  .hairvina-article-rating { grid-template-columns: 1fr; }

  .hairvina-footer .hairvina-social-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hairvina-brand-logo {
    min-width: 9.25rem;
  }

  .hairvina-brand-logo__mark,
  .hairvina-brand-logo__mark img {
    height: 3.25rem;
  }

  .hairvina-brand-logo__mark { width: 2.85rem; flex-basis: 2.85rem; }
  .hairvina-brand-logo__mark img { width: 7.1rem; }

  .hairvina-hero {
    min-height: 38rem !important;
    padding: 3.5rem 1.25rem;
  }

  .hairvina-hero__content {
    width: min(100%, 26rem);
  }

  .hairvina-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 10vw, 3.5rem);
    line-height: 1;
  }

  .hairvina-hero .wp-block-cover__background {
    background: linear-gradient(90deg, rgba(255, 252, 253, 0.96) 0%, rgba(255, 248, 251, 0.86) 55%, rgba(255, 248, 251, 0.28) 100%) !important;
  }

  .hairvina-floating-contact {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    gap: 0.5rem;
  }

  .hairvina-floating-contact .hairvina-floating-contact__item {
    width: 2.9rem;
    min-width: 2.9rem;
    height: 2.9rem;
    min-height: 2.9rem;
    padding: 0;
  }
}

/* Final hero typography guard: keep the message refined and anchored to the copy column. */
@media (min-width: 783px) {
  .hairvina-hero .hairvina-hero__content,
  .hairvina-hero .hairvina-hero__copy,
  .hairvina-hero h1 {
    text-align: left !important;
  }

  .hairvina-hero .hairvina-hero__content {
    width: min(100%, 38rem);
  }

  .hairvina-hero h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 3.9vw, 3.9rem) !important;
    line-height: 1.02;
  }
}

/* Last-pass header/footer guards: later rules must not re-center or re-grid these areas. */
.hairvina-brandbar__content {
  display: flex !important;
  width: min(100%, 80rem) !important;
  max-width: 80rem !important;
  margin-inline: auto !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: left !important;
}

.hairvina-brandbar__content > div {
  display: flex !important;
  width: auto !important;
  margin-left: auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.hairvina-header-main__inner {
  display: flex !important;
  width: min(100%, 80rem) !important;
  max-width: 80rem !important;
  margin-inline: auto !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.hairvina-footer-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(10rem, 0.9fr) minmax(8.5rem, 0.75fr) minmax(19rem, 1.2fr) !important;
  gap: clamp(1.5rem, 3vw, 3rem) !important;
}

.hairvina-footer-grid > .wp-block-column {
  width: auto !important;
  min-width: 0 !important;
  flex-basis: auto !important;
}

.hairvina-footer .hairvina-social-links {
  display: flex !important;
  width: auto !important;
  max-width: 100% !important;
  grid-template-columns: none !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.55rem !important;
  overflow: visible !important;
  padding: 0.15rem 0 0.45rem !important;
}

.hairvina-footer .hairvina-social-link,
body .hairvina-footer .hairvina-social-link {
  display: grid !important;
  width: 2.65rem !important;
  min-width: 2.65rem !important;
  height: 2.65rem !important;
  min-height: 2.65rem !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07) !important;
  place-items: center !important;
}

.hairvina-footer .hairvina-social-link > span,
.hairvina-footer .hairvina-social-link svg {
  width: 1.28rem !important;
  height: 1.28rem !important;
}

.hairvina-footer .hairvina-social-link > strong {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 782px) {
  .hairvina-brandbar__content > span {
    display: block !important;
    max-width: 8.5rem;
    overflow: hidden;
    font-size: 0.58rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hairvina-brandbar .hairvina-social-links {
    display: none !important;
  }

  .hairvina-footer .hairvina-social-links {
    gap: 0.4rem !important;
  }

  .hairvina-footer .hairvina-social-link,
  body .hairvina-footer .hairvina-social-link {
    width: 2.25rem !important;
    min-width: 2.25rem !important;
    height: 2.25rem !important;
    min-height: 2.25rem !important;
  }

  .hairvina-footer .hairvina-social-link > span,
  .hairvina-footer .hairvina-social-link svg {
    width: 1.14rem !important;
    height: 1.14rem !important;
  }

  .hairvina-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .hairvina-footer {
    padding-bottom: max(8rem, calc(6.75rem + env(safe-area-inset-bottom))) !important;
  }
}

@media (min-width: 783px) and (max-width: 1080px) {
  .hairvina-footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) !important;
  }
}

/* Blog article refinement: editorial-scale titles and a compact reference-style footer. */
.hairvina-article__title {
  width: min(100%, 44rem) !important;
  max-width: 18ch !important;
  margin: 0 !important;
  font-size: clamp(2.05rem, 3.35vw, 3.15rem) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.032em !important;
  text-align: left !important;
  text-wrap: balance;
}

.hairvina-blog-title {
  font-size: clamp(2.15rem, 3.7vw, 3.25rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
}

.hairvina-article-rating {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  gap: 0 !important;
  overflow: hidden;
  margin: 1.75rem 0 2rem !important;
  border: 1px solid #eadfe3 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.hairvina-article-rating__editorial,
.hairvina-article-rating__reader {
  display: grid !important;
  min-height: 0 !important;
  padding: 1.15rem 1.3rem !important;
  align-content: center !important;
  gap: 0.35rem !important;
}

.hairvina-article-rating__editorial {
  color: #4a4145 !important;
  background: #fff8fa !important;
}

.hairvina-article-rating__editorial > span {
  color: #a82b58 !important;
}

.hairvina-article-rating__editorial strong {
  color: #f0a02b !important;
  font-size: 1.3rem !important;
  letter-spacing: 0.05em !important;
}

.hairvina-article-rating__editorial strong small {
  color: #4a4145 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0 !important;
}

.hairvina-article-rating__editorial em {
  color: #7a6f74 !important;
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
}

.hairvina-article-rating__reader {
  border-left: 1px solid #eadfe3;
}

.hairvina-article-rating__reader p {
  color: #3f373a;
  font-size: 0.92rem;
  font-weight: 700;
}

.hairvina-article-rating__stars button {
  font-size: 1.35rem !important;
}

.hairvina-article-follow {
  margin-top: 0 !important;
  padding: 1.35rem 0 !important;
}

.hairvina-related-articles {
  margin-top: 2.8rem !important;
}

.hairvina-related-articles__heading h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.25rem) !important;
}

/* Blog detail: real catalogue products, sized like the reference strip. */
.hairvina-blog-related-products {
  width: 100%;
  margin-top: 2.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e9e2e5;
}

.hairvina-blog-related-products__heading > span {
  color: #a62b56;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.hairvina-blog-related-products__heading h2 {
  margin: 0.25rem 0 1.35rem;
  color: #3f373a;
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: clamp(1.75rem, 2.7vw, 2.25rem);
  line-height: 1.2;
  text-align: left;
}

.hairvina-blog-related-products .hairvina-carousel {
  padding-bottom: 1.8rem;
}

.hairvina-blog-related-products .hairvina-carousel__track {
  gap: 1rem;
}

.hairvina-blog-related-products .hairvina-carousel__slide {
  flex-basis: calc((100% - 2rem) / 3);
  min-width: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hairvina-blog-related-products .hairvina-product-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 0.45rem;
}

.hairvina-blog-related-products .hairvina-product-card__body {
  min-height: 8.8rem;
  padding: 0.75rem 0.15rem 0.9rem;
}

.hairvina-blog-related-products .hairvina-product-card__category {
  margin-bottom: 0.35rem !important;
  color: #958b90;
  font-size: 0.6rem;
  line-height: 1.35;
}

.hairvina-blog-related-products .hairvina-product-card__body h3 {
  min-height: 2.75em;
  margin-bottom: 0.7rem;
  font-size: 0.84rem;
  line-height: 1.38;
}

.hairvina-blog-related-products__rating {
  min-height: 1rem;
  margin: -0.2rem 0 0.65rem;
}

.hairvina-blog-related-products__rating .star-rating {
  float: none;
  width: 5.4em;
  margin-inline: auto;
  color: #f3a034;
  font-size: 0.78rem;
}

.hairvina-blog-related-products .hairvina-product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.52rem 0.8rem;
  font-size: 0.64rem;
}

.hairvina-blog-related-products .hairvina-carousel__arrow {
  top: 36%;
  width: 2.4rem;
  height: 2.4rem;
}

.hairvina-blog-related-products .hairvina-carousel__arrow[hidden],
.hairvina-blog-related-products .hairvina-carousel__dots[hidden] {
  display: none !important;
}

@media (max-width: 782px) {
  .hairvina-article__title {
    max-width: 100% !important;
    font-size: clamp(1.9rem, 8vw, 2.5rem) !important;
    line-height: 1.1 !important;
  }

  .hairvina-blog-title {
    font-size: clamp(2rem, 8.5vw, 2.65rem) !important;
  }

  .hairvina-article-rating {
    grid-template-columns: 1fr !important;
  }

  .hairvina-article-rating__reader {
    border-top: 1px solid #eadfe3;
    border-left: 0;
  }

  .hairvina-article-follow .hairvina-social-links {
    width: 100% !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    overflow: visible !important;
  }

  .hairvina-blog-related-products .hairvina-carousel__slide {
    flex-basis: 100%;
    min-width: 0;
  }

  .hairvina-blog-related-products .hairvina-product-card__media {
    aspect-ratio: 4 / 3;
  }

  .hairvina-blog-related-products .hairvina-carousel__arrow--previous {
    left: 0.25rem;
  }

  .hairvina-blog-related-products .hairvina-carousel__arrow--next {
    right: 0.25rem;
  }

  .hairvina-article-follow .hairvina-social-link,
  body .hairvina-article-follow .hairvina-social-link {
    box-sizing: border-box !important;
    width: 2.15rem !important;
    min-width: 2.15rem !important;
    height: 2.15rem !important;
    min-height: 2.15rem !important;
  }

  .hairvina-article-follow .hairvina-social-link svg {
    width: 1.05rem !important;
    height: 1.05rem !important;
  }
}

/* Final editorial typography and distortion-free responsive imagery. */
.hairvina-blog-hero .hairvina-blog-title {
  width: min(100%, 24ch) !important;
  max-width: 24ch !important;
  color: #393235;
  font-size: clamp(2.45rem, 4vw, 3.55rem) !important;
  font-weight: 500 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
}

.hairvina-blog-hero .hairvina-blog-title::before {
  display: block;
  margin-bottom: 0.75rem;
  color: #a82b58;
  content: "WHOLESALE HAIR INSIGHTS";
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.hairvina-article__title {
  position: relative;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 27ch !important;
  padding-top: 1.65rem;
  color: #332d30 !important;
  font-size: clamp(2.1rem, 3vw, 3.05rem) !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.028em !important;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.hairvina-article__title::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #a82b58;
  content: "HAIR VINA JOURNAL";
  font-family: var(--wp--preset--font-family--system-sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.3;
}

.hairvina-blog-card {
  display: flex;
  flex-direction: column;
}

.hairvina-blog-card__media {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
  background-position: center;
}

.hairvina-blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.hairvina-blog-card__title {
  max-width: 24ch;
  font-size: clamp(1.15rem, 1.7vw, 1.38rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.018em;
  text-wrap: pretty;
}

.hairvina-blog-card__image img,
.hairvina-home-blog__featured-media img,
.hairvina-home-blog__tile-media img,
.hairvina-related-article__media img,
.hairvina-about-insight__media img,
.hairvina-about-news__media img,
.hairvina-about-news__thumb img,
.hairvina-card-primary-image,
.hairvina-card-secondary-image,
.hairvina-category-card__image {
  image-rendering: auto;
  object-position: center;
}

.hairvina-article__content img {
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
}

@media (hover: hover) {
  .hairvina-blog-card:hover .hairvina-blog-card__image img,
  .hairvina-blog-card:focus-within .hairvina-blog-card__image img {
    transform: none;
  }
}

@media (max-width: 782px) {
  .hairvina-blog-hero .hairvina-blog-title {
    font-size: clamp(2.15rem, 10vw, 2.85rem) !important;
  }

  .hairvina-article__title {
    max-width: 100% !important;
    padding-top: 1.55rem;
    font-size: clamp(1.9rem, 7.7vw, 2.45rem) !important;
    line-height: 1.14 !important;
  }

  .hairvina-blog-card__title {
    max-width: 28ch;
    font-size: clamp(1.18rem, 5.5vw, 1.4rem);
  }
}

/* Final support-page and product-quick-view system — 2026-10-11. */
.hairvina-contact-hero,
.hairvina-help-hero,
.hairvina-policy-hero {
  box-sizing: border-box;
  width: 100%;
}

.hairvina-contact-hero {
  min-height: 0;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  color: #43383d;
  text-align: left;
  background:
    radial-gradient(circle at 92% 15%, rgba(239, 71, 125, 0.12), transparent 28rem),
    linear-gradient(135deg, #fffafb 0%, #fff3f7 100%);
}

.hairvina-contact-hero::before {
  top: 1.5rem;
  right: 6vw;
  left: auto;
  width: clamp(10rem, 20vw, 18rem);
  height: clamp(10rem, 20vw, 18rem);
  border-color: rgba(239, 71, 125, 0.12);
}

.hairvina-contact-hero::after {
  display: none;
}

.hairvina-contact-hero__inner {
  box-sizing: border-box;
  width: min(100%, 72rem) !important;
  max-width: 72rem !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

.hairvina-contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  color: #a82b58;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hairvina-contact-eyebrow::before {
  width: 2.25rem;
  height: 2px;
  background: #ef477d;
  content: "";
}

.hairvina-contact-hero h1 {
  max-width: 12ch;
  margin: 0 !important;
  color: #352f32 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.35rem) !important;
  font-weight: 600 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.045em !important;
  text-align: left !important;
}

.hairvina-contact-hero h1::after {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 1.35rem 0 0;
  background: #ef477d;
  content: "";
}

.hairvina-contact-hero__copy {
  max-width: 43rem;
  margin: 1.35rem 0 0 !important;
  color: #62585d !important;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
  text-align: left;
}

.hairvina-contact-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3rem);
  background: #f7f4f5;
}

.hairvina-contact-layout {
  width: min(100%, 72rem) !important;
  max-width: 72rem !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.hairvina-contact-form-card,
.hairvina-contact-info {
  box-sizing: border-box;
  height: 100%;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border: 1px solid #eadfe3;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgba(70, 42, 54, 0.06);
}

.hairvina-contact-info {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #eadfe3;
  background: linear-gradient(155deg, #fff 0%, #fff8fa 100%);
}

.hairvina-contact-info::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #a82b58, #ef477d);
  content: "";
}

.hairvina-contact-form-card h2,
.hairvina-contact-info > h2 {
  max-width: 15ch;
  margin: 0;
  color: #383134;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
}

.hairvina-contact-form-card h2::after,
.hairvina-contact-info > h2::after {
  width: 3rem;
  height: 2px;
  margin-top: 1rem;
}

.hairvina-contact-intro,
.hairvina-contact-info > p {
  max-width: 42rem;
  margin-top: 1.2rem;
  color: #6e6469;
  line-height: 1.75;
}

.hairvina-contact-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
  border: 0;
}

.hairvina-contact-detail {
  min-height: 7.5rem;
  padding: 1.15rem;
  border: 1px solid #ecdee4;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.84);
}

.hairvina-contact-detail h3 {
  color: #3f373b;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hairvina-contact-detail p {
  color: #6e6469;
  font-size: 0.9rem;
}

.hairvina-contact-socials {
  display: flex !important;
  flex-flow: row wrap !important;
  gap: 0.65rem !important;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
}

.hairvina-contact-socials .wp-social-link {
  width: 2.75rem !important;
  height: 2.75rem !important;
  margin: 0 !important;
  border-radius: 50% !important;
}

.hairvina-help-hero {
  min-height: 0;
  padding: clamp(4rem, 8vw, 6.75rem) clamp(1.25rem, 5vw, 4rem);
  color: #3a3336;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.98) 0 47%, rgba(255, 244, 248, 0.92) 47% 100%),
    #fff8fa;
}

.hairvina-help-hero::after {
  right: 8%;
  bottom: -13rem;
  border-color: rgba(239, 71, 125, 0.16);
}

.hairvina-help-hero__grid {
  width: min(100%, 72rem) !important;
  max-width: 72rem !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
}

.hairvina-help-hero h1 {
  margin: 0 0 1.75rem;
  color: #352f32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hairvina-help-hero__copy {
  color: #62585d;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.8;
}

.hairvina-help-hero .wp-block-button__link {
  color: #a82b58;
  border-color: #ef477d !important;
  background: #fff !important;
}

.hairvina-help-topics {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
  background: #f7f4f5;
}

.hairvina-help-grid {
  width: min(100%, 72rem) !important;
  max-width: 72rem !important;
  margin-inline: auto !important;
  gap: 1rem;
}

.hairvina-help-card {
  min-height: 20rem;
  padding: clamp(1.65rem, 2.6vw, 2.25rem);
  border: 1px solid #eadfe3;
  border-radius: 0.75rem;
  box-shadow: none;
}

.hairvina-help-card::before {
  width: 2.8rem;
  height: 2px;
  margin-bottom: 1.45rem;
}

.hairvina-help-card h2 {
  max-width: 18ch;
  color: #3b3437;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left !important;
}

.hairvina-help-card p {
  margin: 1rem 0 1.75rem;
  color: #6d6368;
  font-size: 0.95rem;
  line-height: 1.72;
}

.hairvina-help-card .wp-block-button,
.hairvina-help-card .wp-block-button__link {
  width: auto;
}

.hairvina-help-card .wp-block-button__link {
  min-height: 2.8rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid #ef477d;
  color: #a82b58;
  background: transparent;
}

.hairvina-help-card .wp-block-button__link:hover,
.hairvina-help-card .wp-block-button__link:focus-visible {
  color: #fff;
  background: #ef477d;
}

.hairvina-policy-hero {
  min-height: 0;
  padding: clamp(3.6rem, 7vw, 5.75rem) clamp(1.25rem, 5vw, 4rem);
  color: #3b3437;
  background:
    radial-gradient(circle at 88% 25%, rgba(239, 71, 125, 0.14), transparent 20rem),
    linear-gradient(135deg, #fff9fb, #fff1f6);
}

.hairvina-policy-hero > .alignwide {
  width: min(100%, 72rem) !important;
  max-width: 72rem !important;
  margin-inline: auto !important;
}

.hairvina-policy-hero h1 {
  max-width: 21ch;
  margin: 0 0 1rem;
  color: #352f32;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hairvina-policy-breadcrumb,
.hairvina-policy-breadcrumb a {
  color: #7b6e74;
}

.hairvina-policy-layout {
  width: min(100% - 2rem, 72rem);
  grid-template-columns: minmax(0, 2.2fr) minmax(16rem, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.hairvina-policy-lead {
  margin-bottom: 2.5rem;
  padding: 1.35rem 1.5rem;
  border: 0;
  border-left: 3px solid #ef477d;
  background: #fff6f9;
  color: #5f555a;
}

.hairvina-policy-article h2 {
  margin: clamp(2.75rem, 5vw, 4.25rem) 0 1.25rem;
  color: #3b3437;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hairvina-policy-article h2::after {
  width: 3rem;
  height: 2px;
  margin-top: 0.8rem;
}

.hairvina-policy-step {
  margin-bottom: 0.85rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid #ecdfe4;
  border-left: 3px solid #ef477d;
  border-radius: 0.35rem;
  background: #fff;
}

.hairvina-policy-sidebar {
  top: 1.25rem;
  border-radius: 0.6rem;
  box-shadow: 0 1rem 2.5rem rgba(70, 42, 54, 0.06);
}

.hairvina-policy-sidebar h2 {
  padding: 1.25rem 1.4rem;
  background: #9f2954;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.hairvina-policy-menu a {
  padding: 0.9rem 1.15rem;
  font-size: 0.9rem;
}

.hairvina-policy-article .wp-block-details {
  border-radius: 0.45rem;
  background: #fff;
}

.hairvina-quick-view-modal {
  box-sizing: border-box;
  width: min(calc(100% - 2rem), 65rem);
  max-width: 65rem;
  max-height: min(90vh, 48rem);
  padding: 0;
  border: 0;
  border-radius: 0.25rem;
  color: #3a3336;
  background: #fff;
  box-shadow: 0 2rem 6rem rgba(23, 17, 20, 0.28);
  overflow: auto;
}

.hairvina-quick-view-modal::backdrop {
  background: rgba(24, 19, 21, 0.62);
  backdrop-filter: blur(3px);
}

.hairvina-quick-view-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: 36rem;
}

.hairvina-quick-view-modal__gallery {
  position: relative;
  display: flex;
  min-height: 36rem;
  flex-direction: column;
  padding: 1.8rem 1.8rem 1.25rem;
  background: #f7f3f4;
  touch-action: pan-y;
}

.hairvina-quick-view-modal__image-frame {
  display: flex;
  min-height: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.hairvina-quick-view-modal__image {
  display: block;
  width: 100%;
  height: 30rem;
  min-height: 0;
  object-fit: contain;
  opacity: 1;
  transform: scale(1);
  transition: opacity 160ms ease, transform 240ms ease;
}

.hairvina-quick-view-modal__image.is-changing {
  opacity: 0.35;
  transform: scale(0.99);
}

.hairvina-quick-view-modal__arrow {
  top: 48%;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(74, 62, 68, 0.14);
  border-radius: 50%;
  color: #4b4146;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.4rem 1.3rem rgba(50, 35, 42, 0.13);
  font-size: 1.8rem;
  line-height: 1;
  z-index: 4;
  cursor: pointer;
}

.hairvina-quick-view-modal__arrow--prev { left: 0.75rem; }
.hairvina-quick-view-modal__arrow--next { right: 0.75rem; }

.hairvina-quick-view-modal__gallery-footer {
  display: grid;
  grid-template-columns: 3.5rem 1fr 3.5rem;
  align-items: center;
  min-height: 2.5rem;
  padding-top: 0.75rem;
}

.hairvina-quick-view-modal__count {
  color: #9a8c92;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.hairvina-quick-view-modal__count b {
  color: #a82b58;
}

.hairvina-quick-view-modal__dots {
  position: static;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  transform: none;
}

.hairvina-quick-view-modal__dots button {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d7cfd2;
  cursor: pointer;
}

.hairvina-quick-view-modal__dots button.is-active {
  background: #ef477d;
  box-shadow: 0 0 0 3px rgba(239, 71, 125, 0.14);
}

.hairvina-quick-view-modal__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.2rem, 4vw, 3.25rem);
}

.hairvina-quick-view-modal__category {
  margin: 0 0 0.85rem;
  color: #a82b58;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hairvina-quick-view-modal__title {
  max-width: 24ch;
  margin: 0;
  color: #332d30;
  font-family: var(--wp--preset--font-family--system-sans), Arial, sans-serif;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: -0.03em;
}

.hairvina-quick-view-modal__accent {
  width: 2.7rem;
  height: 2px;
  margin: 1rem 0 1.15rem;
  background: #ef477d;
}

.hairvina-quick-view-modal__summary {
  margin: 0 0 1rem;
  color: #645b60;
  font-size: 0.93rem;
  line-height: 1.65;
}

.hairvina-quick-view-modal__features {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: #574f53;
  font-size: 0.85rem;
  line-height: 1.5;
}

.hairvina-quick-view-modal__features li::marker {
  color: #ef477d;
}

.hairvina-quick-view-modal__meta {
  margin: 0 0 1.3rem;
  padding: 0;
  border-top: 1px solid #eadfe3;
}

.hairvina-quick-view-modal__meta div {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eadfe3;
  font-size: 0.76rem;
}

.hairvina-quick-view-modal__meta dt {
  color: #9a8c92;
  font-weight: 700;
  text-transform: uppercase;
}

.hairvina-quick-view-modal__meta dd {
  margin: 0;
  color: #554c51;
}

.hairvina-quick-view-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0;
}

.hairvina-quick-view-modal__actions a {
  width: auto;
  min-height: 2.75rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid #ef477d;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.045em;
}

.hairvina-quick-view-modal__contact {
  color: #fff;
  background: #ef477d;
}

.hairvina-quick-view-modal__whatsapp {
  color: #a82b58;
  background: #fff;
}

.hairvina-quick-view-modal__link {
  display: inline-flex;
  width: fit-content;
  min-height: 0;
  margin-top: 1.15rem;
  padding: 0;
  border: 0;
  color: #51474c;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.hairvina-quick-view-modal__close {
  top: 0.8rem;
  right: 0.8rem;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid #eadfe3;
  border-radius: 50%;
  color: #493f44;
  background: rgba(255, 255, 255, 0.94);
  z-index: 8;
}

@media (max-width: 782px) {
  .hairvina-contact-hero,
  .hairvina-help-hero,
  .hairvina-policy-hero {
    min-height: 0;
    padding: 3.5rem 1.2rem;
  }

  .hairvina-contact-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-inline: calc(50% - 50vw) !important;
    padding-block: 3rem;
  }

  .hairvina-help-hero,
  .hairvina-policy-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-inline: calc(50% - 50vw) !important;
  }

  .hairvina-contact-hero__inner {
    width: 100% !important;
  }

  .hairvina-contact-hero h1 {
    max-width: none;
    font-size: clamp(2.8rem, 12vw, 3.35rem) !important;
    line-height: 1 !important;
  }

  .hairvina-contact-layout,
  .hairvina-help-hero__grid,
  .hairvina-policy-layout {
    grid-template-columns: 1fr;
  }

  .hairvina-contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hairvina-help-hero {
    background: linear-gradient(145deg, #fff, #fff2f7);
  }

  .hairvina-help-hero__grid {
    gap: 2rem;
  }

  .hairvina-help-card {
    min-height: 0;
  }

  .hairvina-policy-layout {
    width: min(100% - 1.5rem, 72rem);
  }

  .hairvina-policy-sidebar {
    position: static;
    order: -1;
  }

  .hairvina-quick-view-modal {
    width: min(calc(100% - 1rem), 35rem);
    max-height: 94vh;
  }

  .hairvina-quick-view-modal__layout {
    display: block;
    min-height: 0;
  }

  .hairvina-quick-view-modal__gallery {
    min-height: 0;
    padding: 0.75rem 0.75rem 0.35rem;
  }

  .hairvina-quick-view-modal__image {
    height: min(45vh, 23rem);
    min-height: 15rem;
  }

  .hairvina-quick-view-modal__content {
    padding: 1.35rem 1.2rem 1.5rem;
  }

  .hairvina-quick-view-modal__title {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .hairvina-quick-view-modal__summary {
    display: none;
  }

  .hairvina-quick-view-modal__features {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hairvina-contact-details {
    grid-template-columns: 1fr;
  }

  .hairvina-quick-view-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hairvina-quick-view-modal__actions a {
    justify-content: center;
    padding-inline: 0.75rem;
  }
}

/* 2026-10-12 blog reading rail and unified sticky header.
 * Keep the complete header (brand strip + navigation) in one opaque layer.
 * The template-part wrapper is the grid item, so it—not the nested aside—must
 * be sticky. This also removes the sidebar's independent scrollbar. */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky !important;
  z-index: 100000 !important;
  top: 0 !important;
  isolation: isolate;
  width: 100%;
  margin: 0 !important;
  background: #fff !important;
  box-shadow: 0 1px 0 #f3c6d5, 0 0.45rem 1.35rem rgba(64, 34, 45, 0.055);
}

.wp-site-blocks > header.wp-block-template-part > .hairvina-brandbar,
.wp-site-blocks > header.wp-block-template-part .hairvina-brandbar {
  position: relative !important;
  top: auto !important;
  margin: 0 !important;
  background: #fff9fb !important;
}

.wp-site-blocks > header.wp-block-template-part > .hairvina-header-main,
.wp-site-blocks > header.wp-block-template-part .hairvina-header-main {
  position: relative !important;
  top: auto !important;
  margin: 0 !important;
  background: #fff !important;
}

body.admin-bar .wp-site-blocks > header.wp-block-template-part {
  top: 32px !important;
}

@media (min-width: 783px) {
  .hairvina-blog-layout {
    align-items: start;
  }

  .hairvina-blog-layout > .wp-block-template-part {
    position: sticky;
    top: 9.4rem;
    align-self: start;
    height: max-content;
    min-width: 0;
    max-height: none;
    overflow: visible;
  }

  .hairvina-blog-layout > .wp-block-template-part .hairvina-blog-sidebar,
  .hairvina-blog-sidebar {
    position: static !important;
    top: auto !important;
    align-self: start;
    height: max-content;
    max-height: none !important;
    padding-right: 0 !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
    scrollbar-width: auto !important;
  }

  body.admin-bar .hairvina-blog-layout > .wp-block-template-part {
    top: calc(9.4rem + 32px);
  }
}

@media (max-width: 782px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: 46px !important;
  }

  .hairvina-blog-layout > .wp-block-template-part,
  .hairvina-blog-sidebar {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* 2026-10-12 reference-style featured article rows.
 * WordPress can inject empty paragraphs around shortcode inline elements;
 * explicitly place media and copy so the text never drops below the image. */
.hairvina-featured-list .hairvina-featured-card {
  display: grid !important;
  grid-template-columns: 8rem minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  column-gap: 0.85rem !important;
  row-gap: 0 !important;
  align-items: center !important;
  padding: 0.9rem 0 !important;
}

.hairvina-featured-card > p:empty {
  display: none !important;
}

.hairvina-featured-card > .hairvina-featured-card__media {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  aspect-ratio: 8 / 5;
  margin: 0 !important;
}

.hairvina-featured-card > .hairvina-featured-card__copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  min-width: 0;
  margin: 0 !important;
}

.hairvina-featured-card__copy h4 {
  margin: 0 0 0.4rem !important;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.38;
}

.hairvina-featured-card__copy p {
  margin: 0 !important;
}

.hairvina-featured-card__copy time {
  display: block;
  color: #999095;
  font-size: 0.68rem;
  line-height: 1.35;
}

@media (max-width: 480px) {
  .hairvina-featured-list .hairvina-featured-card {
    grid-template-columns: 6.5rem minmax(0, 1fr) !important;
  }
}

/* 2026-10-12 Help Center policy navigation.
 * Keep the full Help Center menu below the unified sticky header while the
 * policy article scrolls; do not create a second, internal scroll area. */
.hairvina-page-main:has(.hairvina-policy-layout) {
  overflow: visible !important;
}

@media (min-width: 783px) {
  .hairvina-policy-layout {
    align-items: start;
    overflow: visible;
  }

  .hairvina-policy-sidebar {
    position: sticky !important;
    top: 9.4rem !important;
    align-self: start;
    height: max-content;
    max-height: none !important;
    overflow: hidden !important;
  }

  body.admin-bar .hairvina-policy-sidebar {
    top: calc(9.4rem + 32px) !important;
  }
}

@media (max-width: 782px) {
  .hairvina-policy-sidebar {
    position: static !important;
    top: auto !important;
    max-height: none !important;
  }
}

/* 2026-10-12 quick-view drag and swipe affordance. */
.hairvina-quick-view-modal__image-frame {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.hairvina-quick-view-modal__image-frame.is-dragging {
  cursor: grabbing;
}

.hairvina-quick-view-modal__image {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* 2026-10-12 mobile catalogue card repair.
 * The Woo block card must keep the same content hierarchy as desktop.  The
 * earlier two-column mobile grid made the square image and permanently shown
 * quick-view strip fill the visible card area, leaving the product copy below
 * it looking absent.  Use one complete, reference-style card per row and
 * explicitly keep every information element visible. */
@media (max-width: 700px) {
  .hairvina-product-archive .hairvina-product-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 25rem);
    margin-inline: auto !important;
    gap: 1.35rem !important;
  }

  .hairvina-product-archive .hairvina-product-grid > li,
  .hairvina-product-archive .hairvina-product-card {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
  }

  .hairvina-product-archive .hairvina-product-card {
    display: flex !important;
    overflow: hidden;
    flex-direction: column;
    padding: 0 0 1.25rem !important;
    border-radius: 0.45rem;
    background: #fff;
  }

  .hairvina-product-archive .hairvina-product-card__image {
    display: block !important;
    overflow: hidden;
    flex: 0 0 auto;
    width: 100% !important;
    margin: 0 0 1rem !important;
    aspect-ratio: 1 / 1;
  }

  .hairvina-product-archive .hairvina-product-card__image > a,
  .hairvina-product-archive .hairvina-product-card__image img {
    width: 100% !important;
    height: 100% !important;
  }

  .hairvina-product-archive .hairvina-product-card__category,
  .hairvina-product-archive .hairvina-product-card__title,
  .hairvina-product-archive .hairvina-product-card__rating,
  .hairvina-product-archive .hairvina-product-card__price,
  .hairvina-product-archive .hairvina-product-card__link {
    position: static !important;
    display: block !important;
    visibility: visible !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hairvina-product-archive .hairvina-product-card__category {
    margin: 0 1rem 0.55rem !important;
    color: #91858a;
    font-size: 0.68rem;
    line-height: 1.4;
    text-align: center;
  }

  .hairvina-product-archive .hairvina-product-card__title {
    min-height: 0 !important;
    margin: 0 1rem !important;
    font-size: 1rem !important;
    font-weight: 600;
    line-height: 1.45 !important;
    text-align: center;
  }

  .hairvina-product-archive .hairvina-product-card__rating {
    min-height: 0;
    margin: 0.75rem auto 0 !important;
    text-align: center;
  }

  .hairvina-product-archive .hairvina-product-card__price:empty,
  .hairvina-product-archive .hairvina-product-card__price:not(:has(*)) {
    display: none !important;
  }

  .hairvina-product-archive .hairvina-product-card__link {
    width: max-content !important;
    margin: 1rem auto 0 !important;
    padding: 0.72rem 1.15rem;
    text-align: center;
  }

  .hairvina-product-archive .hairvina-card-quick-view {
    min-height: 2.55rem;
    padding: 0.7rem 1rem;
    font-size: 0.72rem;
  }

  /* The Shop archive is rendered by a shortcode and therefore uses a
   * different card class from taxonomy archives. Keep its complete product
   * information below the image instead of letting the media consume the
   * card's full height. */
  .hairvina-shop-layout .hairvina-shop-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100%, 25rem);
    margin-inline: auto;
    gap: 1.35rem;
  }

  .hairvina-shop-layout .hairvina-shop-card {
    display: flex !important;
    overflow: hidden;
    width: 100%;
    height: auto !important;
    min-height: 0;
    flex-direction: column;
    border-radius: 0.45rem;
    background: #fff;
  }

  .hairvina-shop-layout .hairvina-shop-card__media {
    display: block !important;
    overflow: hidden;
    flex: 0 0 auto;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }

  .hairvina-shop-layout .hairvina-shop-card__media > a,
  .hairvina-shop-layout .hairvina-shop-card__media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .hairvina-shop-layout .hairvina-shop-card__body {
    position: relative !important;
    display: flex !important;
    visibility: visible !important;
    overflow: visible !important;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    padding: 1.1rem 1rem 1.3rem;
    opacity: 1 !important;
    transform: none !important;
  }

  .hairvina-shop-layout .hairvina-shop-card__category,
  .hairvina-shop-layout .hairvina-shop-card__body h2,
  .hairvina-shop-layout .hairvina-shop-card__rating,
  .hairvina-shop-layout .hairvina-shop-card__summary,
  .hairvina-shop-layout .hairvina-shop-card__actions {
    position: static !important;
    display: block !important;
    visibility: visible !important;
    max-width: 100%;
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hairvina-shop-layout .hairvina-shop-card__category {
    margin: 0 0 0.5rem;
    color: #91858a;
    font-size: 0.69rem;
    line-height: 1.4;
    text-align: center;
  }

  .hairvina-shop-layout .hairvina-shop-card__body h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.42;
    text-align: center;
  }

  .hairvina-shop-layout .hairvina-shop-card__rating {
    margin-top: 0.7rem;
  }

  .hairvina-shop-layout .hairvina-shop-card__rating .star-rating {
    float: none;
    margin-inline: auto;
    color: #f3a034;
  }

  .hairvina-shop-layout .hairvina-shop-card__summary {
    margin: 0.7rem 0 0;
    color: #655d61;
    font-size: 0.82rem;
    line-height: 1.55;
    text-align: center;
  }

  .hairvina-shop-layout .hairvina-shop-card__actions {
    margin-top: 1rem;
  }

  .hairvina-shop-layout .hairvina-shop-card__actions .hairvina-product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    margin: 0;
    padding: 0.65rem 1.15rem;
  }
}

/* 2026-10-13 catalogue information alignment.
 * Product names are easier to compare when every text line starts from the
 * same edge. Keep action labels centered inside their controls, but align the
 * information hierarchy itself to the left on desktop and mobile. */
.hairvina-shop-layout .hairvina-shop-card__body {
  align-items: stretch;
  text-align: left;
}

.hairvina-shop-layout .hairvina-shop-card__category,
.hairvina-shop-layout .hairvina-shop-card__body h2,
.hairvina-shop-layout .hairvina-shop-card__summary {
  text-align: left;
}

.hairvina-shop-layout .hairvina-shop-card__rating .star-rating {
  margin-inline: 0;
}

.hairvina-shop-layout .hairvina-shop-card__actions {
  align-self: flex-start;
}

.hairvina-product-archive .hairvina-product-card__category,
.hairvina-product-archive .hairvina-product-card__title,
.hairvina-product-archive .hairvina-product-card__rating,
.hairvina-product-archive .hairvina-product-card__price {
  text-align: left !important;
}

.hairvina-product-archive .hairvina-product-card__link {
  margin-inline: 1rem auto !important;
}

/* 2026-10-13 compact two-column mobile catalogue.
 * At phone widths buyers scan images and titles first. Keep the hierarchy
 * concise and left aligned while retaining quick view and a clear product
 * action. This applies to both Woo taxonomy cards and the Shop shortcode. */
@media (max-width: 700px) {
  .hairvina-product-archive .hairvina-product-grid,
  .hairvina-shop-layout .hairvina-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    margin-inline: 0 !important;
    gap: 0.75rem !important;
  }

  .hairvina-product-archive .hairvina-product-card,
  .hairvina-shop-layout .hairvina-shop-card {
    height: 100% !important;
    border-radius: 0.35rem;
    box-shadow: 0 0.45rem 1.15rem rgba(68, 45, 54, 0.075);
  }

  .hairvina-product-archive .hairvina-product-card__image,
  .hairvina-shop-layout .hairvina-shop-card__media {
    margin-bottom: 0 !important;
    aspect-ratio: 1 / 1 !important;
  }

  .hairvina-product-archive .hairvina-card-quick-view,
  .hairvina-shop-layout .hairvina-card-quick-view {
    min-height: 2.15rem;
    padding: 0.48rem 0.4rem;
    font-size: 0.61rem;
    letter-spacing: 0.045em;
  }

  .hairvina-product-archive .hairvina-product-card {
    padding-bottom: 0.85rem !important;
  }

  .hairvina-product-archive .hairvina-product-card__category {
    margin: 0.7rem 0.7rem 0.35rem !important;
    overflow: hidden;
    color: #998b91;
    font-size: 0.58rem;
    line-height: 1.35;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hairvina-product-archive .hairvina-product-card__title {
    display: -webkit-box !important;
    min-height: 2.9em !important;
    margin: 0 0.7rem !important;
    overflow: hidden;
    font-size: 0.78rem !important;
    font-weight: 650;
    line-height: 1.45 !important;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hairvina-product-archive .hairvina-product-card__price {
    display: none !important;
  }

  .hairvina-product-archive .hairvina-product-card__rating {
    min-height: 0;
    margin: 0.55rem 0.7rem 0 !important;
    font-size: 0.7rem;
    text-align: left;
  }

  .hairvina-product-archive .hairvina-product-card__link {
    box-sizing: border-box;
    width: calc(100% - 1.4rem) !important;
    margin: 0.75rem 0.7rem 0 !important;
    padding: 0.56rem 0.35rem;
    font-size: 0.64rem;
    text-align: center;
  }

  .hairvina-shop-layout .hairvina-shop-card__body {
    min-height: 9.2rem !important;
    align-items: stretch;
    padding: 0.72rem 0.7rem 0.85rem;
    text-align: left;
  }

  .hairvina-shop-layout .hairvina-shop-card__category {
    margin: 0 0 0.34rem;
    overflow: hidden;
    font-size: 0.58rem;
    line-height: 1.35;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hairvina-shop-layout .hairvina-shop-card__body h2 {
    display: -webkit-box !important;
    min-height: 2.9em;
    margin: 0;
    overflow: hidden;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.45;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hairvina-shop-layout .hairvina-shop-card__summary {
    display: none !important;
  }

  .hairvina-shop-layout .hairvina-shop-card__rating {
    margin-top: 0.55rem;
    font-size: 0.7rem;
  }

  .hairvina-shop-layout .hairvina-shop-card__rating .star-rating {
    margin-inline: 0;
  }

  .hairvina-shop-layout .hairvina-shop-card__actions {
    width: 100%;
    margin-top: auto;
    padding-top: 0.75rem;
  }

  .hairvina-shop-layout .hairvina-shop-card__actions .hairvina-product-card__button {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.25rem;
    padding: 0.5rem 0.3rem;
    font-size: 0.64rem;
    text-align: center;
  }
}

/* 2026-10-13 search refinement and mobile sticky-header height correction. */
.wp-site-blocks > header.wp-block-template-part + * {
  margin-block-start: 0 !important;
}

.hairvina-search-hero {
  box-sizing: border-box;
  padding: clamp(3.25rem, 5.5vw, 5.25rem) max(1.25rem, calc((100vw - 80rem) / 2));
  text-align: left;
}

.hairvina-search-hero > * {
  box-sizing: border-box;
  width: min(100%, 80rem);
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: left !important;
}

.hairvina-search-hero__eyebrow {
  margin-bottom: 0.8rem !important;
}

.hairvina-search-hero h2 {
  position: relative;
  max-width: 18ch;
  padding-bottom: 1.15rem;
  font-size: clamp(2.25rem, 4.2vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.hairvina-search-hero h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3.1rem;
  height: 0.18rem;
  border-radius: 999px;
  background: #ef477d;
  content: "";
}

.hairvina-search-hero > p:last-child {
  max-width: 43rem;
  margin-top: 1.15rem !important;
  margin-left: max(0px, calc((100vw - 80rem) / 2)) !important;
}

.hairvina-search-section#search-articles {
  padding: clamp(1rem, 2.4vw, 1.8rem);
  border: 1px solid #f0e1e6;
  border-radius: 1.1rem;
  background: #fffbfc;
}

.hairvina-search-articles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.hairvina-search-article {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  border-color: #eadde2;
  box-shadow: 0 0.55rem 1.4rem rgba(73, 39, 51, 0.055);
}

.hairvina-search-article__media {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.hairvina-search-article__fallback {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.hairvina-search-article__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.15rem 1.15rem 1.3rem;
}

.hairvina-search-article h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.35;
  text-wrap: pretty;
}

.hairvina-search-article__excerpt {
  margin-bottom: 1.15rem;
}

.hairvina-search-article__link {
  margin-top: auto;
}

@media (max-width: 1100px) and (min-width: 783px) {
  .hairvina-search-articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .wp-site-blocks > header.wp-block-template-part {
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .wp-site-blocks > header.wp-block-template-part > .hairvina-brandbar,
  .wp-site-blocks > header.wp-block-template-part .hairvina-brandbar {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .wp-site-blocks > header.wp-block-template-part > .hairvina-header-main,
  .wp-site-blocks > header.wp-block-template-part .hairvina-header-main {
    box-sizing: border-box;
    min-height: 0 !important;
    padding: 0.45rem 0.9rem 0 !important;
  }

  .hairvina-header-main__inner {
    min-height: 0 !important;
    flex-wrap: wrap !important;
    align-content: start !important;
    row-gap: 0 !important;
  }

  .hairvina-header-search {
    min-height: 0 !important;
    padding: 0.28rem 0 0.58rem !important;
  }

  .hairvina-search-hero {
    padding: 2.45rem 1rem 2.65rem;
  }

  .hairvina-search-hero h2 {
    max-width: 15ch;
    padding-bottom: 0.95rem;
    font-size: clamp(2rem, 9.6vw, 2.75rem);
    line-height: 1.05;
  }

  .hairvina-search-hero > p:last-child {
    margin-left: 0 !important;
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .hairvina-search-section#search-articles {
    padding: 0.75rem;
    border-radius: 0.85rem;
  }

  .hairvina-search-articles {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .hairvina-search-article {
    display: grid;
    min-height: 9.8rem;
    grid-template-columns: 7.8rem minmax(0, 1fr);
    align-items: stretch;
    box-shadow: none;
  }

  .hairvina-search-article__media,
  .hairvina-search-article__fallback {
    width: 100%;
    height: 100%;
    min-height: 9.8rem;
    aspect-ratio: auto;
  }

  .hairvina-search-article__body {
    padding: 0.85rem;
  }

  .hairvina-search-article__meta {
    margin-bottom: 0.4rem;
    font-size: 0.61rem;
  }

  .hairvina-search-article h3 {
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.32;
  }

  .hairvina-search-article__link {
    font-size: 0.58rem;
  }
}

/* Mobile fixed-header paint guard.
 * Keep an independent opaque layer behind the fixed header so Safari/WebKit
 * cannot expose scrolling page content while recompositing the header. */
@media (max-width: 782px) {
  .wp-site-blocks::before {
    position: fixed;
    z-index: 999998;
    top: 0;
    right: 0;
    left: 0;
    height: var(--hairvina-mobile-header-height);
    background: #fff;
    pointer-events: none;
    content: "";
  }

  body.admin-bar .wp-site-blocks::before {
    top: 46px;
  }

  .wp-site-blocks > header.wp-block-template-part > .hairvina-header-main,
  .wp-site-blocks > header.wp-block-template-part .hairvina-header-main {
    isolation: isolate !important;
    background: #fff !important;
    transform: none !important;
    backface-visibility: visible !important;
  }

  .wp-site-blocks > header.wp-block-template-part .hairvina-header-main::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: #fff;
    pointer-events: none;
    content: "";
  }

  .wp-site-blocks > header.wp-block-template-part .hairvina-header-main__inner {
    position: relative;
    z-index: 1;
    background: #fff !important;
  }
}

/* 2026-10-13 shared support-page frame and grouped search pagination. */
:root {
  --hairvina-support-frame: 72rem;
  --hairvina-support-mobile-gutter: 1.2rem;
}

.hairvina-contact-hero__inner,
.hairvina-contact-layout,
.hairvina-help-hero__grid,
.hairvina-help-grid,
.hairvina-search-content {
  box-sizing: border-box;
  max-width: var(--hairvina-support-frame) !important;
}

.hairvina-search-content {
  width: min(calc(100% - 2.5rem), var(--hairvina-support-frame)) !important;
}

.hairvina-search-hero {
  padding-right: max(1.25rem, calc((100vw - var(--hairvina-support-frame)) / 2));
  padding-left: max(1.25rem, calc((100vw - var(--hairvina-support-frame)) / 2));
}

.hairvina-search-hero > * {
  width: min(100%, var(--hairvina-support-frame));
  max-width: var(--hairvina-support-frame);
}

.hairvina-search-pagination {
  display: flex;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 1.25rem;
  border-top: 1px solid #eadde2;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}

.hairvina-search-pagination a,
.hairvina-search-pagination span {
  box-sizing: border-box;
}

.hairvina-search-pagination__number,
.hairvina-search-pagination__direction {
  display: inline-flex;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #e7d7dd;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #55484d;
  background: #fff;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.hairvina-search-pagination__direction {
  padding-inline: 0.95rem;
  gap: 0.35rem;
}

.hairvina-search-pagination__number.is-current,
.hairvina-search-pagination a:hover,
.hairvina-search-pagination a:focus-visible {
  border-color: #b52f5e;
  color: #fff;
  background: #b52f5e;
}

.hairvina-search-pagination a:hover,
.hairvina-search-pagination a:focus-visible {
  transform: translateY(-1px);
}

.hairvina-search-pagination__ellipsis {
  min-width: 1.2rem;
  color: #9e8c93;
  text-align: center;
}

#search-products,
#search-articles {
  scroll-margin-top: 8.5rem;
}

@media (max-width: 782px) {
  .hairvina-contact-hero,
  .hairvina-contact-section,
  .hairvina-help-hero,
  .hairvina-help-topics,
  .hairvina-search-hero {
    padding-right: var(--hairvina-support-mobile-gutter) !important;
    padding-left: var(--hairvina-support-mobile-gutter) !important;
  }

  .hairvina-contact-hero__inner,
  .hairvina-contact-layout,
  .hairvina-help-hero__grid,
  .hairvina-help-grid {
    width: 100% !important;
    max-width: var(--hairvina-support-frame) !important;
  }

  .hairvina-search-content {
    width: min(calc(100% - (var(--hairvina-support-mobile-gutter) * 2)), var(--hairvina-support-frame)) !important;
  }

  .hairvina-search-hero h2 {
    width: 100% !important;
    max-width: none !important;
    white-space: nowrap;
    font-size: clamp(1.34rem, 5.8vw, 1.72rem) !important;
    letter-spacing: -0.035em;
    text-wrap: nowrap;
  }

  .hairvina-search-pagination {
    margin-top: 1.15rem;
    padding-top: 1rem;
    gap: 0.32rem;
  }

  .hairvina-search-pagination__number,
  .hairvina-search-pagination__direction {
    min-width: 2.15rem;
    min-height: 2.15rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.68rem;
  }

  .hairvina-search-pagination__direction {
    padding-inline: 0.72rem;
  }
}

@media (max-width: 390px) {
  .hairvina-search-pagination__direction span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 370px) {
  .hairvina-search-article {
    grid-template-columns: 6.8rem minmax(0, 1fr);
  }
}

/* Keep every search-hero line on one deliberate left edge. */
.hairvina-search-hero > * {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.hairvina-search-hero h2 {
  width: min(100%, 18ch);
}

.hairvina-search-hero > p:last-child {
  margin-left: 0 !important;
}

/* Search title: refined editorial weight instead of an oversized bold banner. */
.hairvina-search-hero h2 {
  width: min(100%, 24ch);
  max-width: 24ch;
  padding-bottom: 0.95rem;
  color: #493b40;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 3.35vw, 3.1rem);
  font-weight: 400 !important;
  letter-spacing: -0.032em;
  line-height: 1.06;
  text-wrap: balance;
}

.hairvina-search-hero h2::after {
  width: 2.35rem;
  height: 0.13rem;
}

@media (max-width: 782px) {
  .hairvina-search-hero {
    padding-top: 2.15rem;
    padding-bottom: 2.35rem;
  }

  .hairvina-search-hero h2 {
    width: min(100%, 16ch);
    max-width: 16ch;
    padding-bottom: 0.8rem;
    font-size: clamp(2rem, 8.4vw, 2.35rem);
    letter-spacing: -0.026em;
    line-height: 1.07;
  }

  .hairvina-search-hero__eyebrow {
    margin-bottom: 0.62rem !important;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }

  .hairvina-search-hero > p:last-child {
    margin-top: 0.95rem !important;
  }
}

/* WordPress can inject an empty paragraph after the linked article image. */
.hairvina-search-article > p:empty {
  display: none !important;
  margin: 0 !important;
}

@media (max-width: 782px) {
  :root {
    --hairvina-mobile-header-height: 7.15rem;
  }

  .wp-site-blocks {
    box-sizing: border-box;
    padding-top: var(--hairvina-mobile-header-height) !important;
  }

  .wp-site-blocks > header.wp-block-template-part {
    position: fixed !important;
    z-index: 1000000 !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: var(--hairvina-mobile-header-height) !important;
    min-height: var(--hairvina-mobile-header-height) !important;
    overflow: hidden !important;
    isolation: auto !important;
    background: #fff !important;
    box-shadow: 0 1px 0 #f3c6d5, 0 0.45rem 1.35rem rgba(64, 34, 45, 0.07) !important;
  }

  body.admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: 46px !important;
  }

  .wp-site-blocks > header.wp-block-template-part .hairvina-header-main,
  .wp-site-blocks > header.wp-block-template-part .hairvina-header-main__inner,
  .wp-site-blocks > header.wp-block-template-part .hairvina-header-search {
    background: #fff !important;
  }

  .hairvina-search-article {
    min-height: 9.6rem;
    grid-template-columns: 7.8rem minmax(0, 1fr) !important;
    grid-template-rows: minmax(9.6rem, auto) !important;
    align-items: stretch;
  }

  .hairvina-search-article > .hairvina-search-article__media {
    width: 100% !important;
    height: 100% !important;
    min-height: 9.6rem !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .hairvina-search-article > .hairvina-search-article__body {
    box-sizing: border-box;
    width: auto !important;
    min-width: 0 !important;
    height: 100%;
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .hairvina-search-article h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 782px) {
  .wp-site-blocks > header.wp-block-template-part {
    position: static !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .wp-site-blocks > header.wp-block-template-part > .hairvina-header-main,
  .wp-site-blocks > header.wp-block-template-part .hairvina-header-main {
    position: fixed !important;
    z-index: 1000000 !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    box-sizing: border-box;
    width: 100% !important;
    height: var(--hairvina-mobile-header-height) !important;
    min-height: var(--hairvina-mobile-header-height) !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 1px 0 #f3c6d5, 0 0.45rem 1.35rem rgba(64, 34, 45, 0.07) !important;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  body.admin-bar .wp-site-blocks > header.wp-block-template-part > .hairvina-header-main,
  body.admin-bar .wp-site-blocks > header.wp-block-template-part .hairvina-header-main {
    top: 46px !important;
  }
}

/* Final frame alignment overrides: keep support and search layouts on one grid. */
.hairvina-contact-hero,
.hairvina-help-hero {
  width: 100vw !important;
  max-width: 100vw !important;
}

.hairvina-contact-hero__inner,
.hairvina-contact-layout,
.hairvina-help-hero__grid,
.hairvina-help-grid,
.hairvina-search-content {
  box-sizing: border-box;
  max-width: 72rem !important;
}

.hairvina-search-content {
  width: min(calc(100% - 2.5rem), 72rem) !important;
}

.hairvina-search-hero {
  padding-right: max(1.25rem, calc((100vw - 72rem) / 2)) !important;
  padding-left: max(1.25rem, calc((100vw - 72rem) / 2)) !important;
}

.hairvina-search-hero > * {
  width: min(100%, 72rem) !important;
  max-width: 72rem !important;
}

@media (max-width: 782px) {
  .hairvina-contact-hero,
  .hairvina-contact-section,
  .hairvina-help-hero,
  .hairvina-help-topics,
  .hairvina-search-hero {
    padding-right: 1.2rem !important;
    padding-left: 1.2rem !important;
  }

  .hairvina-contact-hero__inner,
  .hairvina-contact-layout,
  .hairvina-help-hero__grid,
  .hairvina-help-grid {
    width: 100% !important;
    max-width: 72rem !important;
  }

  .hairvina-search-content {
    width: min(calc(100% - 2.4rem), 72rem) !important;
  }

  .hairvina-search-hero h2 {
    width: 100% !important;
    max-width: none !important;
    white-space: nowrap !important;
    font-size: clamp(1.34rem, 5.8vw, 1.72rem) !important;
    letter-spacing: -0.035em !important;
    text-wrap: nowrap !important;
  }
}

/* Final mobile header compositing override. */
@media (max-width: 782px) {
  html,
  html[lang],
  html:has(body.admin-bar) {
    margin-top: 0 !important;
  }

  body.admin-bar {
    padding-top: 0 !important;
  }

  body.admin-bar #wpadminbar {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }

  body.admin-bar .wp-site-blocks::before,
  body.admin-bar .wp-site-blocks > header.wp-block-template-part,
  body.admin-bar .wp-site-blocks > header.wp-block-template-part > .hairvina-header-main,
  body.admin-bar .wp-site-blocks > header.wp-block-template-part .hairvina-header-main {
    top: 0 !important;
  }

  .wp-site-blocks > header.wp-block-template-part > .hairvina-header-main,
  .wp-site-blocks > header.wp-block-template-part .hairvina-header-main {
    isolation: isolate !important;
    transform: none !important;
    backface-visibility: visible !important;
  }
}

/* Mobile category archives should open on the selected products, not on a
 * desktop-style taxonomy introduction and the full category directory. */
@media (max-width: 700px) {
  body.tax-product_cat .hairvina-archive-hero {
    display: none !important;
  }

  body.tax-product_cat .hairvina-archive-layout {
    display: block !important;
    width: min(calc(100% - 1.5rem), var(--wp--style--global--wide-size)) !important;
    margin-inline: auto !important;
    padding-block: 1rem 3.25rem !important;
  }

  body.tax-product_cat .hairvina-archive-sidebar.hairvina-shop-sidebar {
    display: block !important;
    width: min(100%, 20rem) !important;
    max-width: none !important;
    margin: 0 0 2rem !important;
  }

  body.tax-product_cat .hairvina-archive-sidebar .hairvina-shop-filter {
    width: 100% !important;
    max-width: none !important;
  }

  body.tax-product_cat .hairvina-archive-toolbar {
    margin-bottom: 1rem !important;
    padding-bottom: 0.8rem !important;
  }

  body.tax-product_cat .hairvina-archive-toolbar .woocommerce-result-count {
    font-size: 0.78rem !important;
  }
}

/* Legacy wholesale-response layout shared across the homepage,
 * Contact Us, desktop header, mobile drawer, footer, products, and articles. */
.hairvina-service-sla {
  box-sizing: border-box;
  width: min(calc(100% - 2.5rem), 72rem);
  margin: clamp(1.5rem, 3vw, 2.5rem) auto;
  overflow: hidden;
  border: 1px solid #eadde2;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 1rem 2.8rem rgba(83, 45, 59, 0.09);
}

.hairvina-service-sla--home {
  position: relative;
  z-index: 4;
  margin-top: clamp(-2.6rem, -3vw, -1.5rem);
}

.hairvina-service-sla--contact {
  width: 100%;
  max-width: 72rem;
  margin-top: 0;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hairvina-service-sla__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hairvina-service-sla__item {
  position: relative;
  min-width: 0;
  padding: clamp(1.25rem, 2.7vw, 2rem);
}

.hairvina-service-sla__item + .hairvina-service-sla__item {
  border-left: 1px solid #eee3e7;
}

.hairvina-service-sla__item::before {
  display: block;
  width: 2.4rem;
  height: 2px;
  margin-bottom: 0.85rem;
  background: #dd3f75;
  content: "";
}

.hairvina-service-sla__item > span {
  display: block;
  margin-bottom: 0.45rem;
  color: #b32f5e;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hairvina-service-sla__item > strong {
  display: block;
  color: #332c2f;
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.25;
}

.hairvina-service-sla__item > p {
  margin: 0.5rem 0 0;
  color: #71686c;
  font-size: 0.82rem;
  line-height: 1.55;
}

.hairvina-service-sla__note {
  margin: 0;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid #eee3e7;
  color: #71686c;
  background: #fff8fa;
  font-size: 0.77rem;
  line-height: 1.55;
  text-align: center;
}

.hairvina-brandbar__content > .hairvina-brandbar__contacts {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-start !important;
  gap: 1rem;
  margin-left: 0 !important;
  white-space: nowrap;
}

.hairvina-brandbar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #5f5358;
  text-decoration: none;
}

.hairvina-brandbar__contacts a + a {
  padding-left: 1rem;
  border-left: 1px solid #e6cbd5;
}

.hairvina-brandbar__contacts span {
  color: #a62b56;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hairvina-brandbar__contacts strong {
  color: #5f5358;
  font-size: 0.69rem;
  letter-spacing: 0.045em;
}

.hairvina-brandbar__content > .hairvina-brandbar__actions {
  margin-left: auto !important;
}

.hairvina-contact-response-summary {
  display: flex;
  width: min(100%, 72rem);
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
  scroll-margin-top: 9rem;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  border: 1px solid #eadde2;
  border-radius: 0.75rem;
  background: #fff8fa;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hairvina-contact-response-summary span,
.hairvina-contact-response-summary strong {
  display: block;
}

.hairvina-contact-response-summary span {
  margin-bottom: 0.35rem;
  color: #b32f5e;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hairvina-contact-response-summary strong {
  color: #3d3539;
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hairvina-contact-response-summary p {
  margin: 0.4rem 0 0;
  color: #746a6f;
  font-size: 0.76rem;
  line-height: 1.55;
}

.hairvina-contact-response-summary > a {
  flex: 0 0 auto;
  padding: 0.8rem 1rem;
  border: 1px solid #c52f65;
  border-radius: 0.35rem;
  color: #a92a57;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-decoration: none;
}

.hairvina-staff-contact {
  display: grid;
  width: min(calc(100% - 2rem), 72rem);
  grid-template-columns: minmax(15rem, 0.72fr) minmax(20rem, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
  margin: clamp(1.75rem, 4vw, 3.25rem) auto;
  padding: clamp(1.1rem, 2.5vw, 2rem);
  scroll-margin-top: 9rem;
  border: 1px solid #eadde2;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff 0%, #fff7fa 100%);
  box-shadow: 0 18px 45px rgba(62, 34, 45, 0.08);
}

body:has(.hairvina-staff-contact) .hairvina-contact-hero {
  display: none;
}

.hairvina-staff-contact__portrait {
  overflow: hidden;
  min-height: 22rem;
  border-radius: 0.75rem;
  background: #f6e9ee;
}

.hairvina-staff-contact__portrait img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  object-position: center top;
}

.hairvina-staff-contact__content > span,
.hairvina-staff-contact__hours span {
  display: block;
  color: #b32f5e;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hairvina-staff-contact__content h2 {
  margin: 0.45rem 0 0.1rem;
  color: #2f292c;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.hairvina-staff-contact__role {
  margin: 0 0 1.25rem;
  color: #a92a57;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hairvina-staff-contact__greeting {
  margin-bottom: 0.65rem;
  color: #41383c;
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.45;
}

.hairvina-staff-contact__content > p:not(.hairvina-staff-contact__role, .hairvina-staff-contact__greeting) {
  color: #6e6268;
  line-height: 1.7;
}

.hairvina-staff-contact__hours {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid #e83d78;
  background: #fff;
}

.hairvina-staff-contact__hours strong {
  display: block;
  margin-top: 0.2rem;
  color: #352e31;
  font-size: 0.9rem;
}

.hairvina-staff-contact__hours p {
  margin: 0;
  color: #71666b;
  font-size: 0.76rem;
  line-height: 1.5;
}

.hairvina-staff-contact__button {
  display: inline-flex;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border-radius: 0.35rem;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #18aa65;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.hairvina-blog-whatsapp small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.45;
}

@media (max-width: 1180px) and (min-width: 783px) {
  .hairvina-brandbar__contacts a + a {
    display: none;
  }
}

@media (max-width: 700px) {
  .hairvina-service-sla {
    width: min(calc(100% - 1.5rem), 28rem);
    margin-block: 1rem 1.75rem;
  }

  .hairvina-service-sla--home {
    margin-top: -1rem;
  }

  .hairvina-service-sla--contact {
    width: 100%;
    margin-top: 0;
  }

  .hairvina-service-sla__grid {
    grid-template-columns: 1fr;
  }

  .hairvina-service-sla__item {
    padding: 1rem 1.1rem;
  }

  .hairvina-service-sla__item + .hairvina-service-sla__item {
    border-top: 1px solid #eee3e7;
    border-left: 0;
  }

  .hairvina-service-sla__item::before {
    width: 1.9rem;
    margin-bottom: 0.6rem;
  }

  .hairvina-service-sla__item > strong {
    font-size: 1.05rem;
  }

  .hairvina-contact-response-summary {
    width: min(calc(100% - 1.5rem), 28rem);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    scroll-margin-top: 7.5rem;
  }

  .hairvina-staff-contact {
    width: min(calc(100% - 1.5rem), 30rem);
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-block: 1.25rem 1.75rem;
    padding: 0.85rem;
    scroll-margin-top: 7.5rem;
  }

  .hairvina-staff-contact__portrait,
  .hairvina-staff-contact__portrait img {
    min-height: 20rem;
    max-height: 26rem;
  }

  .hairvina-staff-contact__content {
    padding: 0.25rem 0.35rem 0.5rem;
  }

  .hairvina-staff-contact__hours {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .hairvina-staff-contact__button {
    width: 100%;
  }
}
.hairvina-footer-products {
	display: grid;
	gap: 0.55rem;
}

.hairvina-footer-product {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	width: 100%;
	max-width: 100%;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.35;
}

.hairvina-footer-product span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hairvina-product-badge {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 1.15rem;
	padding: 0.08rem 0.3rem;
	border-radius: 0.16rem;
	color: #fff;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	white-space: nowrap;
}

.hairvina-product-badge--new {
	background: #ff3f83;
}

.hairvina-product-badge--hot {
	background: #e00000;
}

.hairvina-security-status {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: 0.5rem;
}

.hairvina-security-status::before {
	content: "🔒";
	font-size: 0.85em;
}

#fluentform_1 .ff-el-group {
	margin-bottom: 0.9rem;
}

#fluentform_1 .ff-el-form-control {
	min-height: 3.9rem;
	padding: 0.95rem 1rem;
	border: 1px solid transparent;
	border-radius: 0.5rem;
	background: #f2f1f2;
	box-shadow: none;
}

#fluentform_1 .ff-el-form-control:focus {
	border-color: #c53f70;
	background: #fff;
	box-shadow: 0 0 0 3px rgb(197 63 112 / 12%);
}

#fluentform_1 textarea.ff-el-form-control {
	min-height: 8rem;
	resize: vertical;
}

#fluentform_1 .hairvina-robot-check {
	padding: 1rem;
	border: 1px solid #d9d5d7;
	border-radius: 0.4rem;
	background: #fff;
}

#fluentform_1 .hairvina-robot-check .ff-el-form-check {
	margin: 0;
}

#fluentform_1 .hairvina-robot-check input[type="checkbox"] {
	width: 1.35rem;
	height: 1.35rem;
	margin-right: 0.55rem;
	accent-color: #c53f70;
}

#fluentform_1 .ff-btn-submit {
	width: 100%;
	min-height: 3.8rem;
	border: 0;
	border-radius: 999px;
	background: #c53f70;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.02em;
}

#fluentform_1 .ff-btn-submit:hover,
#fluentform_1 .ff-btn-submit:focus {
	background: #a92f5d;
}

/* Unified Help Center, policy, and legal page presentation — 2026-10-17. */
.hairvina-policy-hero,
.hairvina-help-hero.hairvina-support-banner {
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	width: 100vw !important;
	max-width: none !important;
	min-height: 0 !important;
	margin-inline: calc(50% - 50vw) !important;
	padding: 0 !important;
	color: #fff;
	background:
		linear-gradient(105deg, rgba(119, 28, 63, 0.16), rgba(255, 255, 255, 0.06)),
		linear-gradient(120deg, #b14970 0%, #c76685 100%) !important;
}

.hairvina-policy-hero::after,
.hairvina-help-hero.hairvina-support-banner::after {
	display: none !important;
}

.hairvina-policy-hero > .alignwide,
.hairvina-help-hero.hairvina-support-banner > .alignwide,
.hairvina-support-banner__inner {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: min(100% - 3rem, 72rem) !important;
	max-width: 72rem !important;
	min-height: 8.25rem;
	margin: 0 auto !important;
	padding: 2rem 0 !important;
	gap: 2rem;
}

.hairvina-policy-hero h1,
.hairvina-help-hero.hairvina-support-banner h1 {
	max-width: none !important;
	margin: 0 !important;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: clamp(1.85rem, 3.2vw, 2.65rem) !important;
	font-weight: 650 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.028em !important;
	text-align: left !important;
}

.hairvina-policy-hero h1::after,
.hairvina-help-hero.hairvina-support-banner h1::after {
	display: none !important;
}

.hairvina-policy-breadcrumb {
	flex: 0 0 auto;
	margin: 0 !important;
	color: rgba(255, 255, 255, 0.84) !important;
	font-size: 0.92rem !important;
	line-height: 1.5;
	text-align: right;
}

.hairvina-policy-breadcrumb a,
.hairvina-policy-breadcrumb strong {
	color: #fff !important;
}

.hairvina-policy-breadcrumb a {
	text-decoration-color: rgba(255, 255, 255, 0.52);
	text-underline-offset: 0.2em;
}

.hairvina-policy-breadcrumb span {
	display: inline-block;
	margin: 0 0.45rem;
	opacity: 0.72;
}

.hairvina-policy-layout {
	align-items: start !important;
	width: min(100% - 3rem, 72rem) !important;
	grid-template-columns: minmax(0, 2.2fr) minmax(17rem, 0.8fr) !important;
	gap: clamp(2rem, 4vw, 3.5rem) !important;
	padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(5rem, 8vw, 7rem) !important;
}

.hairvina-policy-article,
.hairvina-policy-sidebar {
	align-self: start;
	margin-block-start: 0 !important;
}

.hairvina-policy-article > :first-child,
.hairvina-policy-sidebar > :first-child {
	margin-top: 0 !important;
}

.hairvina-policy-article > .hairvina-policy-lead:first-child {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 2.5rem !important;
}

.hairvina-policy-body {
	box-sizing: border-box;
	width: min(100% - 3rem, 58rem) !important;
	max-width: 58rem !important;
	margin: 0 auto !important;
	padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(6rem, 10vw, 9rem) !important;
	color: #554e51;
	font-size: 1rem;
	line-height: 1.82;
}

.hairvina-policy-body > * {
	max-width: none !important;
}

.hairvina-policy-body .hairvina-policy-lead {
	margin: 0 0 0.8rem !important;
	padding: 1.35rem 1.5rem;
	border: 0;
	border-left: 3px solid #c94a77;
	background: #fff5f8;
	color: #4f484b;
	font-size: clamp(1.04rem, 1.5vw, 1.18rem);
	line-height: 1.72;
}

.hairvina-policy-meta {
	margin: 0 0 2.75rem !important;
	color: #756b70;
	font-size: 0.9rem;
}

.hairvina-policy-body h2 {
	margin: clamp(2.8rem, 5vw, 4rem) 0 1rem;
	color: #342e31;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(1.55rem, 2.5vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.025em;
	text-align: left !important;
}

.hairvina-policy-body p,
.hairvina-policy-body li {
	font-size: 1rem;
	line-height: 1.82;
}

.hairvina-policy-body p {
	margin: 0.85rem 0 1.25rem;
}

.hairvina-policy-body ul {
	display: grid;
	gap: 0.55rem;
	margin: 1rem 0 1.6rem;
	padding-left: 1.35rem;
}

.hairvina-policy-body li::marker {
	color: #c94a77;
}

.hairvina-policy-body a {
	color: #9f2954;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.hairvina-help-intro {
	width: min(100% - 3rem, 46rem);
	margin: 0 auto clamp(2rem, 4vw, 3rem) !important;
	color: #6b6267;
	font-size: clamp(0.98rem, 1.35vw, 1.08rem);
	line-height: 1.65;
	text-align: center;
}

.hairvina-help-scope {
	box-sizing: border-box;
	width: min(100% - 3rem, 72rem);
	margin: 0 auto clamp(2.5rem, 5vw, 4rem) !important;
	padding: 1rem 1.2rem;
	border-left: 3px solid #c94a77;
	background: #fff5f8;
	color: #61585d;
	font-size: 0.92rem;
	line-height: 1.7;
}

.hairvina-help-card h2 {
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: clamp(1.15rem, 1.55vw, 1.38rem) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.025em !important;
	text-wrap: balance;
	white-space: normal;
}

.hairvina-help-card p {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.68;
}

/* Let the shorter contact form end naturally instead of stretching to the info card. */
.hairvina-contact-layout {
	align-items: start !important;
}

.hairvina-contact-form-card,
.hairvina-contact-info {
	height: auto !important;
	min-height: 0 !important;
}

@media (max-width: 781px) {
	.hairvina-policy-hero > .alignwide,
	.hairvina-help-hero.hairvina-support-banner > .alignwide,
	.hairvina-support-banner__inner {
		align-items: flex-start;
		flex-direction: column;
		width: min(100% - 2.4rem, 72rem) !important;
		min-height: 0;
		padding: 1.65rem 0 !important;
		gap: 0.65rem;
	}

	.hairvina-policy-breadcrumb {
		text-align: left;
	}

	.hairvina-policy-layout {
		width: min(100% - 2rem, 72rem) !important;
		grid-template-columns: 1fr !important;
		padding: 2.5rem 0 4.5rem !important;
	}

	.hairvina-policy-body {
		width: min(100% - 2rem, 58rem) !important;
		padding: 2.75rem 0 5rem !important;
	}

}

/* Contact Us responsive polish: clearer social actions and a wider location map. */
body.page-id-51 {
	overflow-x: clip;
}

body.page-id-51 .hairvina-contact-info .hairvina-official-contact-section {
	margin-top: 2rem !important;
}

body.page-id-51 .hairvina-contact-info #social-media {
	max-width: none;
	margin: 3rem 0 0 !important;
	font-size: clamp(1.9rem, 3vw, 2.45rem);
}

body.page-id-51 .hairvina-contact-info > .hairvina-social-links {
	margin-top: 0 !important;
}

body.page-id-51 .hairvina-contact-info > .hairvina-social-links {
	display: flex !important;
	flex-flow: row wrap !important;
	width: 100% !important;
	margin-top: 1.25rem !important;
	gap: 0.75rem !important;
}

body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link {
	display: grid !important;
	align-items: center !important;
	justify-content: center !important;
	width: 3rem !important;
	min-width: 3rem !important;
	height: 3rem !important;
	padding: 0 !important;
	border-color: rgba(255, 255, 255, 0.9) !important;
	border-radius: 50% !important;
	color: #fff !important;
	background: #b02b5a !important;
	box-shadow: 0 0.45rem 1.1rem rgba(74, 33, 50, 0.12) !important;
	place-items: center !important;
}

body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link:hover,
body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link:focus-visible {
	border-color: #fff !important;
	color: #fff !important;
	filter: brightness(1.06);
}

body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link > strong {
	position: absolute !important;
	overflow: hidden !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link > span {
	width: 1.7rem !important;
	height: 1.7rem !important;
	border-radius: 50% !important;
	color: #fff !important;
	background: transparent !important;
}

body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link--instagram {
	background: linear-gradient(135deg, #6d3acb, #ef477d 58%, #ef9d31) !important;
}
body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link--whatsapp { background: #21a862 !important; }
body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link--facebook { background: #1877f2 !important; }
body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link--youtube { background: #e62424 !important; }
body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link--telegram { background: #229ed9 !important; }
body.page-id-51 .hairvina-contact-info > .hairvina-social-links .hairvina-social-link--threads { background: #171717 !important; }

@media (max-width: 781px) {
	body.page-id-51 .hairvina-contact-section {
		padding-inline: 1rem !important;
	}

	body.page-id-51 .hairvina-contact-form-card,
	body.page-id-51 .hairvina-contact-info {
		padding: clamp(1.35rem, 5vw, 2rem) !important;
	}

	body.page-id-51 .hairvina-contact-details,
	body.page-id-51 .hairvina-official-contact-section .hairvina-official-contact {
		grid-template-columns: 1fr !important;
	}

	body.page-id-51 .hairvina-contact-detail {
		min-height: 0;
	}

	body.page-id-51 .hairvina-official-contact-section {
		padding: 1.25rem !important;
	}

	body.page-id-51 .hairvina-official-contact-section h2 {
		font-size: 1.7rem;
	}

	body.page-id-51 .hairvina-floating-contact,
	body:has(.hairvina-contact-layout) .hairvina-floating-contact {
		right: max(0.75rem, env(safe-area-inset-right)) !important;
		bottom: max(0.75rem, env(safe-area-inset-bottom)) !important;
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 0.45rem !important;
	}

	body.page-id-51 .hairvina-contact-map {
		position: relative;
		left: 50%;
		width: calc(100vw - 2rem) !important;
		max-width: none !important;
		margin-top: 2.5rem !important;
		margin-left: 0 !important;
		transform: translateX(-50%);
	}

	body.page-id-51 .hairvina-contact-map__frame,
	body.page-id-51 .hairvina-contact-map iframe {
		min-height: 22rem;
		border-radius: 0.8rem;
	}
}

@media (min-width: 783px) {
	body.page-id-51 .hairvina-contact-map {
		position: relative;
		left: 50%;
		width: min(calc(100vw - 4rem), 92rem) !important;
		max-width: none !important;
		margin-top: clamp(3rem, 5vw, 5rem) !important;
		margin-left: 0 !important;
		transform: translateX(-50%);
	}

	body.page-id-51 .hairvina-contact-map__frame,
	body.page-id-51 .hairvina-contact-map iframe {
		min-height: clamp(30rem, 42vw, 40rem);
		border-radius: 0.9rem;
	}
}

@media (min-width: 560px) {
	.hairvina-help-card h2 {
		text-wrap: nowrap;
		white-space: nowrap;
	}
}

/* 2026-10-20 mobile product-first catalogue.
 * Desktop keeps the full category sidebar. On phones, buyers land directly on
 * the product grid; category navigation remains available from the main menu. */
@media (max-width: 781px) {
	.hairvina-shop-page .hairvina-shop-heading {
		padding-top: 1.5rem;
		padding-bottom: 1.1rem;
	}

	.hairvina-shop-page .hairvina-shop-heading h1 {
		font-size: clamp(2.15rem, 11vw, 3rem);
	}

	.hairvina-shop-page .hairvina-shop-heading > p {
		display: none;
	}

	.hairvina-shop-layout,
	.hairvina-archive-layout {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 0 !important;
	}

	.hairvina-shop-layout > .hairvina-shop-sidebar,
	.hairvina-archive-layout > .hairvina-archive-sidebar,
	body.tax-product_cat .hairvina-archive-layout > .hairvina-archive-sidebar.hairvina-shop-sidebar {
		display: none !important;
	}

	.hairvina-shop-main,
	.hairvina-archive-main {
		min-width: 0;
	}

	.hairvina-shop-toolbar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(8.5rem, 10.5rem);
		align-items: center;
		gap: 0.75rem;
		margin-bottom: 1rem;
		padding-bottom: 0.85rem;
	}

	.hairvina-shop-toolbar p {
		font-size: 0.8rem;
		line-height: 1.35;
	}

	.hairvina-shop-ordering select {
		width: 100%;
		min-width: 0;
		padding: 0.68rem 1.8rem 0.68rem 0.7rem;
		font-size: 0.78rem;
	}

	body .hairvina-shop-layout .hairvina-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		width: 100%;
		margin-inline: 0;
		gap: 0.75rem;
	}

	.hairvina-shop-layout .hairvina-shop-card {
		border-radius: 0.4rem;
	}

	.hairvina-shop-layout .hairvina-shop-card__body {
		align-items: flex-start;
		padding: 0.8rem 0.7rem 0.9rem;
	}

	.hairvina-shop-layout .hairvina-shop-card__category,
	.hairvina-shop-layout .hairvina-shop-card__body h2 {
		text-align: left;
	}

	.hairvina-shop-layout .hairvina-shop-card__category {
		margin-bottom: 0.35rem;
		font-size: 0.6rem;
		line-height: 1.3;
	}

	.hairvina-shop-layout .hairvina-shop-card__body h2 {
		font-size: 0.9rem;
		line-height: 1.35;
	}

	.hairvina-shop-layout .hairvina-shop-card__summary,
	.hairvina-shop-layout .hairvina-shop-card__actions {
		display: none !important;
	}

	.hairvina-shop-pagination ul,
	.hairvina-product-pagination {
		margin-top: 1.5rem;
		gap: 0.35rem;
	}

	.hairvina-shop-pagination .page-numbers,
	.hairvina-product-pagination .page-numbers {
		min-width: 2.35rem;
		height: 2.35rem;
	}
}

/* 2026-10-21 footer payment and shipping methods. */
.hairvina-footer-methods {
	box-sizing: border-box;
	width: min(100%, var(--wp--style--global--wide-size));
	margin: clamp(2.2rem, 5vw, 4rem) auto 1.75rem;
	padding: clamp(1.35rem, 3vw, 2.25rem);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 1rem;
	background:
		radial-gradient(circle at 12% 0%, rgba(226, 55, 115, 0.13), transparent 24rem),
		rgba(255, 255, 255, 0.035);
	box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.18);
}

.hairvina-footer-methods__group + .hairvina-footer-methods__group {
	margin-top: clamp(1.7rem, 4vw, 2.7rem);
	padding-top: clamp(1.7rem, 4vw, 2.7rem);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hairvina-footer-methods__heading {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: baseline;
	gap: 0.45rem 0.85rem;
	margin-bottom: 1rem;
}

.hairvina-footer .hairvina-footer-methods__eyebrow {
	margin: 0;
	color: #ff7ca9;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.hairvina-footer-methods__heading h2 {
	margin: 0;
	color: #fff;
	font-family: var(--wp--preset--font-family--system-sans);
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	line-height: 1.2;
}

.hairvina-footer .hairvina-footer-methods__heading > p:last-child {
	grid-column: 1 / -1;
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 0.78rem;
	line-height: 1.55;
}

.hairvina-footer-methods__list {
	display: grid;
	gap: clamp(0.65rem, 1.4vw, 1rem);
}

.hairvina-footer-methods__list--payment {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hairvina-footer-methods__list--shipping {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hairvina-footer a.hairvina-method-card {
	position: relative;
	display: flex;
	overflow: hidden;
	box-sizing: border-box;
	min-width: 0;
	min-height: 4.35rem;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 0.72rem;
	color: #171317;
	background: #fff;
	box-shadow: 0 0.55rem 1.2rem rgba(0, 0, 0, 0.16);
	font-family: var(--wp--preset--font-family--system-sans);
	font-size: clamp(0.78rem, 1.4vw, 1rem);
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	touch-action: manipulation;
	transform: translateZ(0) scale(1);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hairvina-footer a.hairvina-method-card::after {
	position: absolute;
	top: -60%;
	bottom: -60%;
	left: -45%;
	width: 28%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
	content: "";
	pointer-events: none;
	transform: skewX(-18deg) translateX(-260%);
	transition: transform 620ms ease;
}

.hairvina-footer a.hairvina-method-card:hover,
.hairvina-footer a.hairvina-method-card:focus-visible {
	z-index: 2;
	border-color: rgba(255, 255, 255, 0.62);
	box-shadow: 0 0.9rem 1.8rem rgba(0, 0, 0, 0.25);
	outline: none;
	transform: translateY(-0.18rem) scale(1.055);
}

.hairvina-footer a.hairvina-method-card:hover::after,
.hairvina-footer a.hairvina-method-card:focus-visible::after,
.hairvina-footer a.hairvina-method-card:active::after {
	transform: skewX(-18deg) translateX(620%);
}

.hairvina-footer a.hairvina-method-card:active {
	transform: scale(1.035);
}

.hairvina-method-card__mark {
	display: inline-grid;
	flex: 0 0 auto;
	width: 1.8rem;
	height: 1.8rem;
	place-items: center;
	border-radius: 50%;
	font-size: 0.84rem;
	font-weight: 900;
}

.hairvina-footer a.hairvina-method-card--bank {
	color: #3b2830;
	background: #fbf6f7;
}

.hairvina-method-card--bank .hairvina-method-card__mark {
	color: #fff;
	background: #a92856;
}

.hairvina-footer a.hairvina-method-card--wise {
	color: #9fe870;
	background: #163300;
	letter-spacing: 0.04em;
}

.hairvina-footer a.hairvina-method-card--remitly {
	color: #fff;
	background: #142858;
}

.hairvina-method-card--remitly .hairvina-method-card__mark {
	color: #142858;
	background: #69d4c4;
}

.hairvina-footer a.hairvina-method-card--revolut {
	color: #0b0b0d;
	background: #f4f4f6;
	letter-spacing: -0.025em;
}

.hairvina-footer a.hairvina-method-card--usdt {
	color: #168f6d;
	background: #f6fffc;
}

.hairvina-method-card--usdt .hairvina-method-card__mark {
	color: #fff;
	background: #26a17b;
}

.hairvina-footer a.hairvina-method-card--dhl {
	color: #d40511;
	background: #ffcc00;
	font-size: 1.25rem;
	font-style: italic;
	letter-spacing: -0.06em;
}

.hairvina-footer a.hairvina-method-card--fedex {
	background: #fff;
	font-size: 1.18rem;
	letter-spacing: -0.07em;
}

.hairvina-method-card--fedex strong > span { color: #4d148c; }
.hairvina-method-card--fedex strong > b { color: #ff6600; }

.hairvina-footer a.hairvina-method-card--ups {
	color: #ffb500;
	background: #351c15;
}

.hairvina-method-card--ups .hairvina-method-card__mark {
	width: 2.45rem;
	height: 2.65rem;
	border: 2px solid #ffb500;
	border-radius: 0.55rem 0.55rem 1rem 1rem;
	font-size: 0.72rem;
}

.hairvina-footer a.hairvina-method-card--ems {
	color: #075fa8;
	background: #f7fbff;
	font-size: 1.05rem;
	font-style: italic;
}

.hairvina-method-card--ems .hairvina-method-card__mark {
	width: auto;
	color: #ef7d00;
	font-size: 1.25rem;
}

/* Brand labels should visually fill their compact footer cards. */
.hairvina-footer-methods__list--payment .hairvina-method-card {
	min-height: 4.25rem !important;
}

.hairvina-footer a.hairvina-method-card--bank {
	font-size: 1rem !important;
	white-space: nowrap;
}

.hairvina-method-card--bank .hairvina-method-card__mark {
	display: none;
}

.hairvina-footer a.hairvina-method-card--wise {
	font-size: 1.55rem !important;
}

.hairvina-footer a.hairvina-method-card--remitly {
	font-size: 1rem !important;
}

.hairvina-method-card--remitly .hairvina-method-card__mark,
.hairvina-method-card--usdt .hairvina-method-card__mark {
	width: 1.55rem;
	height: 1.55rem;
	font-size: 0.86rem;
}

.hairvina-footer a.hairvina-method-card--revolut {
	font-size: 1.08rem !important;
}

.hairvina-footer a.hairvina-method-card--usdt {
	font-size: 1.18rem !important;
}

.hairvina-footer a.hairvina-method-card--dhl {
	font-size: 2.35rem !important;
}

.hairvina-footer a.hairvina-method-card--fedex {
	font-size: 1.95rem !important;
}

.hairvina-method-card--ups .hairvina-method-card__mark {
	width: 3.2rem !important;
	height: 3rem !important;
	font-size: 1rem !important;
}

.hairvina-footer a.hairvina-method-card--ems {
	font-size: 1.75rem !important;
}

.hairvina-method-card--ems .hairvina-method-card__mark {
	font-size: 1.55rem !important;
}

@media (max-width: 480px) {
	.hairvina-footer a.hairvina-method-card--bank {
		font-size: 0.9rem !important;
		white-space: normal;
	}
}

@media (max-width: 900px) {
	.hairvina-footer-methods__list--payment {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.hairvina-footer-methods {
		margin-top: 2rem;
		padding: 1.1rem;
		border-radius: 0.8rem;
	}

	.hairvina-footer-methods__heading {
		grid-template-columns: 1fr;
		gap: 0.3rem;
	}

	.hairvina-footer-methods__list--payment,
	.hairvina-footer-methods__list--shipping {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hairvina-footer-methods__list--payment .hairvina-method-card:last-child {
		grid-column: 1 / -1;
		width: calc(50% - 0.35rem);
		justify-self: center;
	}

	.hairvina-footer a.hairvina-method-card {
		min-height: 3.8rem;
		padding: 0.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hairvina-footer a.hairvina-method-card,
	.hairvina-footer a.hairvina-method-card::after {
		transition: none;
	}
}

/* Compact footer treatment: keep every method without turning the footer into a page section. */
@media (min-width: 901px) {
	.hairvina-footer-methods {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
		gap: clamp(1.4rem, 3vw, 2.5rem);
		margin-top: 2rem;
		padding: 1.15rem 1.25rem;
	}

	.hairvina-footer-methods__group + .hairvina-footer-methods__group {
		margin-top: 0;
		padding-top: 0;
		padding-left: clamp(1.4rem, 3vw, 2.5rem);
		border-top: 0;
		border-left: 1px solid rgba(255, 255, 255, 0.1);
	}

	.hairvina-footer-methods__heading {
		margin-bottom: 0.65rem;
	}

	.hairvina-footer .hairvina-footer-methods__heading > p:last-child {
		font-size: 0.7rem;
		line-height: 1.35;
	}

	.hairvina-footer-methods__list {
		gap: 0.5rem;
	}

	.hairvina-footer a.hairvina-method-card {
		min-height: 3.15rem;
		padding: 0.5rem;
		border-radius: 0.55rem;
		font-size: clamp(0.7rem, 0.85vw, 0.84rem);
	}

	.hairvina-method-card__mark {
		width: 1.55rem;
		height: 1.55rem;
	}

	.hairvina-method-card--ups .hairvina-method-card__mark {
		width: 2rem;
		height: 2.15rem;
	}
}

@media (max-width: 900px) {
	.hairvina-footer-methods {
		margin-top: 1.5rem;
		padding: 1rem;
	}

	.hairvina-footer-methods__group + .hairvina-footer-methods__group {
		margin-top: 1rem;
		padding-top: 1rem;
	}

	.hairvina-footer-methods__heading {
		margin-bottom: 0.6rem;
	}

	.hairvina-footer .hairvina-footer-methods__heading > p:last-child {
		font-size: 0.7rem;
		line-height: 1.35;
	}

	.hairvina-footer-methods__list--payment,
	.hairvina-footer-methods__list--shipping {
		display: flex;
		overflow-x: auto;
		gap: 0.55rem;
		padding: 0.15rem 0.15rem 0.5rem;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
		scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
		-webkit-overflow-scrolling: touch;
	}

	.hairvina-footer-methods__list--payment .hairvina-method-card:last-child,
	.hairvina-footer a.hairvina-method-card {
		flex: 0 0 clamp(7.2rem, 33vw, 9.2rem);
		width: auto;
		min-height: 3.2rem;
		padding: 0.5rem;
		scroll-snap-align: start;
	}
}

@media (max-width: 560px) {
	.hairvina-footer-methods {
		margin-top: 1.2rem;
		padding: 0.8rem;
	}

	.hairvina-footer-methods__group + .hairvina-footer-methods__group {
		margin-top: 0.75rem;
		padding-top: 0.75rem;
	}

	.hairvina-footer-methods__heading {
		display: block;
		margin-bottom: 0.45rem;
	}

	.hairvina-footer .hairvina-footer-methods__eyebrow,
	.hairvina-footer .hairvina-footer-methods__heading > p:last-child {
		display: none;
	}

	.hairvina-footer-methods__heading h2 {
		font-size: 1rem;
	}
}

/* Final non-clipping footer layout: every method stays visible at every width. */
.hairvina-footer-methods {
	display: block;
	margin-top: 1.5rem;
	padding: 1rem 1.1rem;
}

.hairvina-footer-methods__group {
	display: block;
}

.hairvina-footer-methods__group + .hairvina-footer-methods__group {
	margin-top: 0.8rem;
	padding-top: 0.8rem;
	padding-left: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-left: 0;
}

.hairvina-footer-methods__heading {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 0.7rem;
	text-align: center;
}

.hairvina-footer .hairvina-footer-methods__eyebrow {
	display: none;
}

.hairvina-footer-methods__heading h2 {
	font-size: clamp(1.18rem, 1.6vw, 1.35rem);
	font-weight: 750;
	letter-spacing: 0.01em;
}

.hairvina-footer .hairvina-footer-methods__heading > p:last-child {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.64rem;
	line-height: 1.35;
}

.hairvina-footer-methods__list,
.hairvina-footer-methods__list--payment,
.hairvina-footer-methods__list--shipping {
	display: grid;
	overflow: visible;
	width: auto;
	padding: 0;
	gap: 0.45rem;
	scroll-snap-type: none;
}

.hairvina-footer-methods__list--payment {
	grid-template-columns: 1.3fr 0.96fr 1.18fr 0.98fr 1.06fr;
}

.hairvina-footer-methods__list--shipping {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hairvina-footer a.hairvina-method-card,
.hairvina-footer-methods__list--payment .hairvina-method-card:last-child {
	flex: initial;
	box-sizing: border-box;
	width: auto;
	min-height: 3.15rem;
	padding: 0.45rem;
	border-radius: 0.52rem;
	font-size: clamp(0.88rem, 1.2vw, 1.04rem);
	justify-self: stretch;
	scroll-snap-align: none;
}

.hairvina-method-card__mark {
	width: 1.45rem;
	height: 1.45rem;
}

.hairvina-method-card--ups .hairvina-method-card__mark {
	width: 1.85rem;
	height: 2rem;
}

@media (max-width: 750px) {
	.hairvina-footer-methods {
		padding: 0.9rem;
	}

	.hairvina-footer-methods__group {
		display: block;
	}

	.hairvina-footer-methods__heading {
		margin-bottom: 0.5rem;
	}

	.hairvina-footer .hairvina-footer-methods__heading > p:last-child {
		display: none;
	}

	.hairvina-footer-methods__group + .hairvina-footer-methods__group {
		margin-top: 0.75rem;
		padding-top: 0.75rem;
	}
}

@media (max-width: 480px) {
	.hairvina-footer-methods {
		margin-top: 1rem;
		padding: 0.75rem;
	}

	.hairvina-footer-methods__list--payment {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.hairvina-footer-methods__list--payment .hairvina-method-card {
		grid-column: span 2;
	}

	.hairvina-footer-methods__list--payment .hairvina-method-card:nth-child(4) {
		grid-column: 2 / span 2;
	}

	.hairvina-footer-methods__list--payment .hairvina-method-card:nth-child(5) {
		grid-column: 4 / span 2;
	}

	.hairvina-footer-methods__list--shipping {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hairvina-footer a.hairvina-method-card,
	.hairvina-footer-methods__list--payment .hairvina-method-card:last-child {
		min-height: 3rem;
		padding: 0.4rem;
		font-size: 0.88rem;
	}
}
/* Homepage story carousel and collection links — 2026-10-21. */
.hairvina-story-hero {
  --hero-ink: #2f2028;
  --hero-wine: #a82756;
  --hero-pink: #ff4f87;
  position: relative;
  width: 100vw;
  max-width: none !important;
  margin-inline: calc(50% - 50vw) !important;
  overflow: hidden;
  color: var(--hero-ink);
  background: #f9ecef;
  touch-action: pan-y;
  user-select: none;
}

.hairvina-story-hero__viewport {
  position: relative;
  height: clamp(34rem, 47vw, 46rem);
  min-height: 34rem;
}

.hairvina-story-hero__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(2.5%);
  transition: opacity 650ms ease, transform 650ms ease, visibility 650ms;
}

.hairvina-story-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.hairvina-story-hero__slide:nth-child(even) {
  color: #fff;
  background: linear-gradient(128deg, #341724 0%, #72233f 50%, #a82a58 100%);
}

.hairvina-story-hero__slide:nth-child(odd) {
  background:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.88), transparent 30%),
    linear-gradient(128deg, #fff9f7 0%, #f8e4e9 60%, #f2cbd6 100%);
}

.hairvina-story-hero__inner {
  display: grid;
  grid-template-columns: minmax(20rem, .86fr) minmax(31rem, 1.14fr);
  width: min(100%, 100rem);
  height: 100%;
  margin-inline: auto;
}

.hairvina-story-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(3rem, 5vw, 4.75rem) clamp(2.25rem, 5vw, 5.5rem) 4rem;
}

.hairvina-story-hero__kicker {
  margin: 0 0 1rem;
  color: var(--hero-wine);
  font-size: clamp(.72rem, .9vw, .88rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .15em;
}

.hairvina-story-hero__slide:nth-child(even) .hairvina-story-hero__kicker {
  color: #ffd1df;
}

.hairvina-story-hero h1 {
  max-width: 13.5ch;
  margin: 0;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 4.4vw, 4.85rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.hairvina-story-hero__copy {
  max-width: 37rem;
  margin: 1.45rem 0 0;
  color: #63515a;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.7;
}

.hairvina-story-hero__slide:nth-child(even) .hairvina-story-hero__copy {
  color: rgba(255,255,255,.82);
}

.hairvina-story-hero__markets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  margin-top: 1.4rem;
}

.hairvina-story-hero__markets strong {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: .55rem .85rem;
  border: 1px solid rgba(168,39,86,.22);
  border-radius: 999px;
  color: var(--hero-wine);
  background: rgba(255,255,255,.68);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.hairvina-story-hero__markets span {
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  letter-spacing: .12em;
  line-height: 1.35;
}

.hairvina-story-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.hairvina-story-hero__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.2rem;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hairvina-story-hero__button:hover,
.hairvina-story-hero__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 .85rem 1.8rem rgba(60,18,36,.18);
}

.hairvina-story-hero__button.is-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--hero-pink), var(--hero-wine));
}

.hairvina-story-hero__button.is-secondary {
  border-color: rgba(64,39,50,.22);
  color: inherit;
  background: rgba(255,255,255,.66);
  backdrop-filter: blur(8px);
}

.hairvina-story-hero__slide:nth-child(even) .hairvina-story-hero__button.is-secondary {
  border-color: rgba(255,255,255,.34);
  color: #fff;
  background: rgba(255,255,255,.09);
}

.hairvina-story-hero__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #eacbd4;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.hairvina-story-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(63,24,40,.2), transparent 26%, transparent 78%, rgba(45,12,28,.12));
}

.hairvina-story-hero__photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #e9d9de;
}

.hairvina-story-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.hairvina-story-hero__photo--main {
  inset: 0;
}

.hairvina-story-hero__photo--detail {
  z-index: 1;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(2.75rem, 5vw, 5rem);
  width: min(38%, 22rem);
  height: min(36%, 15rem);
  border: clamp(.35rem, .6vw, .7rem) solid rgba(255,255,255,.92);
  border-radius: 1.25rem;
  box-shadow: 0 1.4rem 3.4rem rgba(48,16,30,.28);
  transform: rotate(-2.5deg);
}

.hairvina-story-hero__slide:first-child .hairvina-story-hero__photo--main img {
  object-position: 58% center;
}

.hairvina-story-hero__slide:first-child .hairvina-story-hero__photo--detail {
  width: min(48%, 29rem);
  height: min(27%, 11.5rem);
}

.hairvina-story-hero__arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  color: #fff;
  background: rgba(38,18,27,.54);
  box-shadow: 0 .5rem 1.5rem rgba(37,9,22,.18);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease;
}

.hairvina-story-hero__arrow:hover,
.hairvina-story-hero__arrow:focus-visible {
  background: var(--hero-wine);
  transform: translateY(-50%) scale(1.08);
}

.hairvina-story-hero__arrow span {
  margin-top: -.15rem;
  font-size: 2rem;
  line-height: 1;
}

.hairvina-story-hero__arrow.is-previous { left: calc(43% + 1rem); }
.hairvina-story-hero__arrow.is-next { right: clamp(.75rem, 2vw, 2rem); }

.hairvina-story-hero__dots {
  position: absolute;
  z-index: 5;
  bottom: 1.35rem;
  left: 50%;
  display: flex;
  gap: .55rem;
  align-items: center;
  padding: .55rem .7rem;
  border-radius: 999px;
  background: rgba(35,16,25,.4);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.hairvina-story-hero__dot {
  width: .62rem;
  height: .62rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.hairvina-story-hero__dot.is-active {
  width: 1.75rem;
  border-radius: 999px;
  background: #fff;
}

.hairvina-story-hero.is-dragging { cursor: grabbing; }

.hairvina-collection-view-all {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 3vw, 2.35rem);
}

.hairvina-collection-view-all a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-width: 9.5rem;
  min-height: 3.25rem;
  padding: .8rem 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(167,35,83,.15);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, #ff4f87, #aa2857);
  box-shadow: 0 .75rem 1.75rem rgba(162,34,79,.18);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hairvina-collection-view-all a::before {
  content: "";
  position: absolute;
  inset: -50% auto -50% -45%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.46), transparent);
  transform: skewX(-20deg);
  transition: left 520ms ease;
}

.hairvina-collection-view-all a:hover,
.hairvina-collection-view-all a:focus-visible,
.hairvina-collection-view-all a:active {
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 1rem 2rem rgba(162,34,79,.26);
}

.hairvina-collection-view-all a:hover::before,
.hairvina-collection-view-all a:focus-visible::before,
.hairvina-collection-view-all a:active::before { left: 112%; }

.hairvina-collection-view-all svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

@media (max-width: 800px) {
  .hairvina-story-hero__viewport {
    height: clamp(42rem, 155vw, 48rem);
    min-height: 42rem;
  }

  .hairvina-story-hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(24rem, 58%) minmax(17rem, 42%);
  }

  .hairvina-story-hero__content {
    justify-content: flex-start;
    padding: 4.5rem 1.4rem 3.2rem;
  }

  .hairvina-story-hero h1 {
    max-width: 13ch;
    font-size: clamp(2.4rem, 11vw, 3.75rem);
  }

  .hairvina-story-hero__copy {
    margin-top: 1rem;
    font-size: .98rem;
    line-height: 1.55;
  }

  .hairvina-story-hero__markets {
    margin-top: 1rem;
  }

  .hairvina-story-hero__markets span {
    font-size: 1rem;
    letter-spacing: .06em;
  }

  .hairvina-story-hero__actions {
    gap: .55rem;
    margin-top: 1.1rem;
  }

  .hairvina-story-hero__button {
    min-height: 2.8rem;
    padding: .7rem .9rem;
    font-size: .68rem;
  }

  .hairvina-story-hero__media {
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  }

  .hairvina-story-hero__photo--detail {
    right: 1rem;
    bottom: 1.25rem;
    width: 38%;
    height: 45%;
    border-width: .35rem;
    border-radius: .75rem;
  }

  .hairvina-story-hero__slide:first-child .hairvina-story-hero__photo--detail {
    width: 45%;
    height: 34%;
  }

  .hairvina-story-hero__arrow {
    top: auto;
    bottom: 1rem;
    width: 2.65rem;
    height: 2.65rem;
    transform: none;
  }

  .hairvina-story-hero__arrow:hover,
  .hairvina-story-hero__arrow:focus-visible {
    transform: scale(1.06);
  }

  .hairvina-story-hero__arrow.is-previous { left: 1rem; }
  .hairvina-story-hero__arrow.is-next { right: 1rem; }
  .hairvina-story-hero__dots { bottom: 1.15rem; }

  .hairvina-collection-view-all a {
    min-width: 8.75rem;
    min-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hairvina-story-hero__slide,
  .hairvina-story-hero__button,
  .hairvina-story-hero__dot,
  .hairvina-collection-view-all a,
  .hairvina-collection-view-all a::before {
    transition: none !important;
  }
}

/* Product title: quieter hierarchy for long wholesale catalogue names. */
.hairvina-product-title {
  width: 100%;
  max-width: 27ch;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  font-family: var(--wp--preset--font-family--system-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif) !important;
  font-size: clamp(1.75rem, 2.8vw, 2.3rem) !important;
  font-weight: 500 !important;
  line-height: 1.24 !important;
  letter-spacing: -0.022em !important;
  text-wrap: balance;
}

.hairvina-product-title__suffix {
  display: block;
  width: fit-content;
  margin-top: 0.7rem;
  padding: 0.38rem 0.65rem 0.34rem;
  border: 1px solid rgba(174, 41, 91, 0.22);
  border-radius: 999px;
  color: #a42a59;
  background: #fff4f8;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

@media (max-width: 782px) {
  .hairvina-product-title {
    max-width: 100%;
    font-size: clamp(1.55rem, 6.5vw, 1.95rem) !important;
    line-height: 1.27 !important;
  }
}

/* Local-only blog migration workspace. */
.hairvina-editorial-queue {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid #ecdde4;
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff 0%, #fff8fb 100%);
  box-shadow: 0 1.2rem 3rem rgba(91, 49, 66, 0.07);
}

.hairvina-editorial-queue__intro {
  max-width: 52rem;
  margin-bottom: 1.6rem;
}

.hairvina-editorial-queue__eyebrow,
.hairvina-editorial-card__number {
  margin: 0 0 0.45rem;
  color: #a42a59;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hairvina-editorial-queue h2 {
  margin: 0 0 0.65rem;
  color: #3f393c;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
}

.hairvina-editorial-queue__intro > p:not(.hairvina-editorial-queue__eyebrow) {
  max-width: 46rem;
  color: #686064;
  line-height: 1.65;
}

.hairvina-editorial-queue__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.hairvina-editorial-queue__stats span {
  padding: 0.55rem 0.75rem;
  border: 1px solid #eadbe2;
  border-radius: 0.65rem;
  color: #645b60;
  background: #fff;
  font-size: 0.82rem;
}

.hairvina-editorial-queue__stats strong {
  color: #a42a59;
  font-size: 1rem;
}

.hairvina-editorial-queue__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hairvina-editorial-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #ece3e7;
  border-radius: 0.8rem;
  background: #fff;
}

.hairvina-editorial-card h3 {
  margin: 0;
  color: #413b3e;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hairvina-editorial-card__date {
  margin: 0.65rem 0 0;
  color: #81777c;
  font-size: 0.76rem;
}

.hairvina-editorial-card__draft {
  margin: 0.7rem 0 0;
  padding: 0.65rem 0.7rem;
  border-radius: 0.55rem;
  color: #5f3b4a;
  background: #fff2f7;
  font-size: 0.8rem;
  line-height: 1.45;
}

.hairvina-editorial-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.hairvina-editorial-card__actions a {
  color: #a42a59;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.hairvina-editorial-card__actions a.is-primary {
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  color: #fff;
  background: #a42a59;
}

.hairvina-local-draft-preview {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.2rem, 4vw, 2.6rem);
  border: 1px solid #e9dce2;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1.2rem 3rem rgba(91, 49, 66, 0.07);
}

.hairvina-local-draft-preview__back {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: #8f3154;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.hairvina-local-draft-preview > h2 {
  max-width: 22ch;
  margin: 0 0 0.8rem;
  color: #3f393c;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hairvina-local-draft-preview__dek {
  max-width: 48rem;
  color: #655d61;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hairvina-local-draft-preview__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 1.2rem 0 2rem;
  padding-block: 0.9rem;
  border-block: 1px solid #eee4e8;
  color: #776e72;
  font-size: 0.78rem;
}

.hairvina-local-draft-preview__meta a {
  color: #a42a59;
  font-weight: 700;
}

.hairvina-local-draft-preview__content {
  max-width: 48rem;
}

.hairvina-local-draft-preview__content h2 {
  margin: 2.3rem 0 0.8rem;
  color: #443d40;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

.hairvina-local-draft-preview__content h3 {
  margin: 1.7rem 0 0.65rem;
  color: #4d4549;
  font-size: 1.2rem;
  font-weight: 650;
}

.hairvina-local-draft-preview__content p,
.hairvina-local-draft-preview__content li {
  color: #554e51;
  line-height: 1.78;
}

.hairvina-local-draft-preview__content table {
  width: 100%;
  margin-block: 1.2rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hairvina-local-draft-preview__content th,
.hairvina-local-draft-preview__content td {
  padding: 0.75rem;
  border: 1px solid #eadfe4;
  text-align: left;
  vertical-align: top;
}

.hairvina-local-draft-preview__content th {
  color: #6c2944;
  background: #fff4f8;
}

.hairvina-editorial-queue__pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hairvina-editorial-queue__pagination a,
.hairvina-editorial-queue__pagination span {
  display: grid;
  min-width: 2.35rem;
  min-height: 2.35rem;
  place-items: center;
  border: 1px solid #e6d5dd;
  border-radius: 999px;
  color: #8e3154;
  background: #fff;
  text-decoration: none;
}

.hairvina-editorial-queue__pagination .current {
  border-color: #a42a59;
  color: #fff;
  background: #a42a59;
}

@media (max-width: 782px) {
  .hairvina-editorial-queue__grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-10-24 catalogue, editorial, footer, and conversion polish. */
:root {
  --hairvina-rose-soft: #bd6f89;
  --hairvina-rose-soft-hover: #a85874;
  --hairvina-rose-wash: #f8ebf0;
  --hairvina-plum: #533743;
}

.hairvina-shop-heading {
  margin: clamp(1.25rem, 3vw, 2.5rem) auto clamp(1.4rem, 3vw, 2.5rem) !important;
  padding: clamp(1.35rem, 3vw, 2.25rem) clamp(1.2rem, 4vw, 3rem) !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, #49313b 0%, #704658 100%);
  box-shadow: 0 1.1rem 2.6rem rgba(71, 42, 54, 0.14);
}

.hairvina-shop-heading h1,
.hairvina-shop-heading p {
  color: inherit !important;
}

.hairvina-shop-heading h1 {
  margin-bottom: 0.5rem !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 650 !important;
  letter-spacing: -0.025em;
}

.hairvina-shop-heading p {
  max-width: 48rem;
  margin: 0 !important;
  opacity: 0.86;
}

.hairvina-shop-grid {
  align-items: stretch !important;
}

.hairvina-shop-card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
}

.hairvina-shop-card__media {
  flex: 0 0 auto;
}

.hairvina-shop-card__body {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 17.5rem;
}

.hairvina-shop-card__body h2 {
  display: -webkit-box;
  min-height: 3.15em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.hairvina-shop-card__summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.hairvina-shop-card__actions {
  margin-top: auto !important;
  padding-top: 1rem;
}

.hairvina-product-card__button,
.hairvina-product-inquiry .wp-block-button__link,
.hairvina-story-hero__button.is-primary {
  border-color: var(--hairvina-rose-soft) !important;
  color: #fff !important;
  background: var(--hairvina-rose-soft) !important;
  box-shadow: none !important;
}

.hairvina-product-card__button:hover,
.hairvina-product-card__button:focus-visible,
.hairvina-product-inquiry .wp-block-button__link:hover,
.hairvina-product-inquiry .wp-block-button__link:focus-visible,
.hairvina-story-hero__button.is-primary:hover,
.hairvina-story-hero__button.is-primary:focus-visible {
  border-color: var(--hairvina-rose-soft-hover) !important;
  background: var(--hairvina-rose-soft-hover) !important;
}

.hairvina-product-inquiry {
  border-color: #ead5dd !important;
  background: linear-gradient(135deg, #fff 0%, var(--hairvina-rose-wash) 100%) !important;
}

.hairvina-collection-view-all a {
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 8rem !important;
  height: 2.9rem !important;
  min-height: 2.9rem !important;
  padding: 0.58rem 1rem !important;
  border-color: var(--hairvina-rose-soft) !important;
  color: #fff !important;
  background: var(--hairvina-rose-soft) !important;
  font-size: 0.96rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.035em !important;
}

.hairvina-collection-view-all a:hover,
.hairvina-collection-view-all a:focus-visible,
.hairvina-collection-view-all a:active {
  background: var(--hairvina-rose-soft-hover) !important;
}

.hairvina-article__title,
.hairvina-local-draft-preview > .hairvina-article__title,
.hairvina-article__content h2,
.hairvina-article__content h3,
.hairvina-local-draft-preview__content h2,
.hairvina-local-draft-preview__content h3 {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.hairvina-article__title,
.hairvina-local-draft-preview > .hairvina-article__title {
  max-width: 24ch !important;
  margin: 0 0 0.8rem !important;
  color: #3f393c !important;
  font-size: clamp(2rem, 4vw, 3.35rem) !important;
  font-weight: 650 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
}

.hairvina-article__content h2,
.hairvina-local-draft-preview__content h2 {
  font-weight: 650 !important;
  letter-spacing: -0.018em !important;
}

.hairvina-local-draft-preview__content,
.hairvina-local-draft-preview__extras {
  width: min(100%, 52rem);
  max-width: 52rem !important;
  margin-inline: auto;
}

.hairvina-local-draft-preview__extras {
  margin-top: 2.5rem;
}

.hairvina-blog-products-list {
  display: grid;
  gap: 0.75rem;
}

.hairvina-blog-product {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee4e8;
}

.hairvina-blog-product__media,
.hairvina-blog-product__media img {
  display: block;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 0.55rem;
  object-fit: cover;
}

.hairvina-blog-product h4 {
  margin: 0 0 0.35rem;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.91rem;
  font-weight: 650;
  line-height: 1.35;
}

.hairvina-blog-product h4 a {
  color: #453d41;
  text-decoration: none;
}

.hairvina-blog-product__link {
  color: var(--hairvina-rose-soft-hover);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.hairvina-footer-methods__list--payment {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.hairvina-footer-methods__list--shipping {
  grid-template-columns: repeat(4, calc((100% - 3rem) / 5)) !important;
  justify-content: center !important;
}

.hairvina-footer-methods__list .hairvina-method-card,
.hairvina-footer-methods__list--payment .hairvina-method-card:last-child {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 4.85rem !important;
  min-height: 4.85rem !important;
  padding: 0.55rem 0.7rem !important;
  border-radius: 0.65rem !important;
}

.hairvina-method-card strong,
.hairvina-method-card__mark {
  font-size: clamp(1.18rem, 1.65vw, 1.7rem) !important;
  line-height: 1 !important;
}

.hairvina-method-card--ups .hairvina-method-card__mark {
  font-size: clamp(1.18rem, 1.65vw, 1.7rem) !important;
  font-weight: 800 !important;
}

.hairvina-method-card--bank { color: #fff !important; background: #203a5c !important; }
.hairvina-method-card--wise { color: #163300 !important; background: #9fe870 !important; }
.hairvina-method-card--remitly { color: #4c2b7a !important; background: #f6f0ff !important; }
.hairvina-method-card--revolut { color: #0b0b0d !important; background: #f4f4f5 !important; }
.hairvina-method-card--usdt { color: #fff !important; background: #26a17b !important; }
.hairvina-method-card--dhl { color: #d40511 !important; background: #ffcc00 !important; }
.hairvina-method-card--fedex { color: #4d148c !important; background: #fff !important; }
.hairvina-method-card--fedex b { color: #ff6600 !important; }
.hairvina-method-card--ups { color: #ffcf62 !important; background: #351c15 !important; }
.hairvina-method-card--ems { color: #fff !important; background: #1767a9 !important; }

.hairvina-footer-methods__heading h2 {
  font-size: clamp(1.2rem, 1.9vw, 1.65rem) !important;
  font-weight: 700 !important;
}

.hairvina-shop-pagination,
.hairvina-shop-pagination ul {
  display: flex !important;
  flex-flow: row nowrap !important;
  justify-content: center;
  gap: 0.4rem;
  overflow-x: auto;
}

@media (max-width: 782px) {
  .hairvina-shop-card__body {
    min-height: 0 !important;
    padding: 0.8rem 0.75rem 0.95rem !important;
  }

  .hairvina-shop-layout .hairvina-shop-card .hairvina-shop-card__category,
  .hairvina-shop-layout .hairvina-shop-card .hairvina-shop-card__rating,
  .hairvina-shop-layout .hairvina-shop-card .hairvina-shop-card__summary,
  .hairvina-shop-layout .hairvina-shop-card .hairvina-shop-card__actions,
  .hairvina-shop-layout .hairvina-shop-card .hairvina-card-quick-view {
    display: none !important;
  }

  .hairvina-shop-card__body h2 {
    display: -webkit-box !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: clamp(0.92rem, 4vw, 1.08rem) !important;
    line-height: 1.35 !important;
  }

  .hairvina-floating-contact,
  body.page-id-51 .hairvina-floating-contact,
  body:has(.hairvina-contact-layout) .hairvina-floating-contact {
    right: 0.7rem !important;
    bottom: 0.7rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.42rem !important;
  }

  .hairvina-footer-methods__list--payment,
  .hairvina-footer-methods__list--shipping {
    display: grid !important;
    grid-auto-columns: minmax(9rem, 1fr) !important;
    grid-auto-flow: column !important;
    grid-template-columns: none !important;
    justify-content: start !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .hairvina-footer-methods__list .hairvina-method-card {
    scroll-snap-align: start;
  }

  .hairvina-article__title,
  .hairvina-local-draft-preview > .hairvina-article__title {
    max-width: 100% !important;
    font-size: clamp(1.8rem, 8vw, 2.55rem) !important;
  }
}

/* 2026-10-24: equal-size footer method cards with real vector brand marks. */
.hairvina-footer-methods {
  width: min(calc(100% - 2rem), 70rem) !important;
  max-width: 70rem !important;
}

.hairvina-footer-methods__list--payment,
.hairvina-footer-methods__list--shipping {
  display: grid !important;
  justify-content: center !important;
  gap: 1rem !important;
}

.hairvina-footer-methods__list--payment {
  grid-template-columns: repeat(5, minmax(0, 10rem)) !important;
}

.hairvina-footer-methods__list--shipping {
  grid-template-columns: repeat(4, minmax(0, 10rem)) !important;
}

.hairvina-footer .hairvina-footer-methods__list .hairvina-method-card {
  width: 10rem !important;
  min-width: 10rem !important;
  max-width: 10rem !important;
  height: 5.35rem !important;
  min-height: 5.35rem !important;
  padding: 0.55rem 0.7rem !important;
  border-radius: 0.72rem !important;
}

.hairvina-method-logo {
  display: block;
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 3.65rem;
  object-fit: contain;
}

.hairvina-footer-methods__list--shipping .hairvina-method-logo {
  max-width: 92%;
  max-height: 3.9rem;
}

.hairvina-method-logo--bank {
  max-width: 94%;
  max-height: 3.35rem;
}

.hairvina-method-logo--symbol {
  width: 2.6rem;
  height: 2.6rem;
}

.hairvina-method-brand-name {
  color: #243b54;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hairvina-footer a.hairvina-method-card--bank { background: #203a5c !important; }
.hairvina-footer a.hairvina-method-card--wise { background: #9fe870 !important; }
.hairvina-footer a.hairvina-method-card--remitly { background: #f7fbff !important; }
.hairvina-footer a.hairvina-method-card--revolut { background: #fff !important; }
.hairvina-footer a.hairvina-method-card--usdt { background: #f3fffb !important; }
.hairvina-footer a.hairvina-method-card--dhl { background: #ffcc00 !important; }
.hairvina-footer a.hairvina-method-card--fedex { background: #fff !important; }
.hairvina-footer a.hairvina-method-card--ups { background: #ffb500 !important; }
.hairvina-footer a.hairvina-method-card--ems { background: #fff !important; }

.hairvina-method-card--dhl .hairvina-method-logo { width: 88%; }
.hairvina-method-card--fedex .hairvina-method-logo { width: 90%; }
.hairvina-method-card--ups .hairvina-method-logo { width: 4.25rem; max-height: 4.25rem; }
.hairvina-method-card--ems .hairvina-method-logo { width: 94%; max-width: 94%; }

@media (max-width: 782px) {
  .hairvina-footer-methods__list--payment,
  .hairvina-footer-methods__list--shipping {
    grid-template-columns: none !important;
    grid-auto-columns: 10rem !important;
    grid-auto-flow: column !important;
    justify-content: start !important;
  }
}

/* Honest role-based team presentation: operational coverage without fictional staff identities. */
.hairvina-team-card__portrait--role {
  display: grid;
  color: #fff;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(145deg, #7d2849 0%, #ad3f68 58%, #d17898 100%);
  place-items: center;
}

.hairvina-team-card__monogram {
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  text-shadow: 0 0.2rem 1rem rgba(68, 17, 36, 0.24);
}

.hairvina-staff-contact__portrait:not(:has(img)) {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 18rem;
  padding: 2rem;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(145deg, #742541, #b54770 62%, #d483a1);
}

.hairvina-staff-contact__portrait > span {
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.hairvina-staff-contact__portrait > small {
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.7;
}

.hairvina-article-author__avatar > span {
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

/* 2026-10-25: softer, inviting sales palette and honest image states. */
:root {
  --wp--preset--color--accent: #df8faa !important;
  --wp--preset--color--accent-dark: #b85f7f !important;
  --wp--preset--color--blush: #fff3f7 !important;
  --hairvina-rose-soft: #e59ab4;
  --hairvina-rose-soft-hover: #d87d9e;
  --hairvina-rose-wash: #fff3f7;
  --hairvina-pastel-border: #efccd9;
  --hairvina-ink-soft: #4b3941;
}

.hairvina-shop-heading {
  border-color: #f0cfdb !important;
  color: var(--hairvina-ink-soft) !important;
  background: linear-gradient(135deg, #fff9fb 0%, #f8dfe8 100%) !important;
  box-shadow: 0 1rem 2.4rem rgba(166, 91, 119, 0.12) !important;
  text-align: left !important;
}

@media (min-width: 782px) {
  .hairvina-shop-heading > .wc-block-breadcrumbs,
  .hairvina-shop-heading > h1,
  .hairvina-shop-heading > p {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  .hairvina-shop-heading > p {
    max-width: 52rem !important;
  }
}

.hairvina-shop-heading p {
  color: #765d68 !important;
  opacity: 1 !important;
}

.hairvina-product-inquiry {
  border-color: var(--hairvina-pastel-border) !important;
  background: linear-gradient(135deg, #fffafd 0%, #fbe7ee 100%) !important;
  box-shadow: 0 1rem 2.5rem rgba(177, 104, 132, 0.1) !important;
}

.hairvina-product-inquiry .wp-block-button__link,
.hairvina-product-card__button,
.hairvina-collection-view-all a {
  border-color: #e59ab4 !important;
  color: #fff !important;
  background: #e59ab4 !important;
  box-shadow: 0 0.55rem 1.25rem rgba(202, 111, 145, 0.18) !important;
}

.hairvina-product-inquiry .wp-block-button__link:hover,
.hairvina-product-inquiry .wp-block-button__link:focus-visible,
.hairvina-product-card__button:hover,
.hairvina-product-card__button:focus-visible,
.hairvina-collection-view-all a:hover,
.hairvina-collection-view-all a:focus-visible {
  border-color: #d87d9e !important;
  background: #d87d9e !important;
  transform: translateY(-1px);
}

.hairvina-blog-whatsapp {
  border: 1px solid #efc8d7 !important;
  color: var(--hairvina-ink-soft) !important;
  background: linear-gradient(135deg, #fff9fb 0%, #f9e2eb 100%) !important;
  box-shadow: 0 0.8rem 2rem rgba(177, 104, 132, 0.1) !important;
}

.hairvina-blog-whatsapp span {
  color: #aa5575 !important;
}

.hairvina-blog-whatsapp strong {
  color: #44343b !important;
}

.hairvina-blog-whatsapp small {
  color: #775f69 !important;
}

.hairvina-blog-whatsapp a {
  border-color: #e59ab4 !important;
  color: #fff !important;
  background: #e59ab4 !important;
}

.hairvina-blog-whatsapp a:hover,
.hairvina-blog-whatsapp a:focus-visible {
  border-color: #d87d9e !important;
  background: #d87d9e !important;
}

.hairvina-brand-wordmark {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: var(--wp--preset--font-family--heading) !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  letter-spacing: -0.045em !important;
  line-height: 0.82 !important;
}

.hairvina-brand-wordmark b {
  display: block;
  font: inherit;
}

.hairvina-team-card__monogram {
  font-size: clamp(1.45rem, 3vw, 2rem) !important;
}

.hairvina-staff-contact__portrait > .hairvina-brand-wordmark {
  font-size: clamp(2.4rem, 7vw, 4.8rem) !important;
}

.hairvina-article-author__avatar > .hairvina-brand-wordmark {
  font-size: clamp(0.9rem, 2.4vw, 1.2rem) !important;
  letter-spacing: -0.04em !important;
}

.hairvina-article-author__avatar,
.hairvina-staff-contact__portrait,
.hairvina-team-card__portrait--role {
  background: linear-gradient(135deg, #c66f91 0%, #efabc1 100%) !important;
}

.hairvina-featured-list {
  gap: 0.7rem !important;
}

.hairvina-featured-list .hairvina-featured-card {
  overflow: hidden;
  border: 1px solid #f0d9e2;
  border-radius: 0.78rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.25rem rgba(92, 61, 72, 0.07);
}

.hairvina-featured-list .hairvina-featured-card.is-text-only {
  display: block !important;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #fffafd 0%, #fcedf2 100%);
}

.hairvina-featured-list .hairvina-featured-card.is-text-only .hairvina-featured-card__copy {
  padding: 0 !important;
}

.hairvina-blog-products-list {
  gap: 0.72rem !important;
}

.hairvina-blog-product {
  display: grid !important;
  box-sizing: border-box !important;
  grid-template-columns: 5.1rem minmax(0, 1fr) !important;
  gap: 0.82rem !important;
  align-items: center !important;
  width: 100% !important;
  height: 6.5rem !important;
  max-height: 6.5rem !important;
  min-height: 0 !important;
  padding: 0.68rem !important;
  border: 1px solid #f0d8e1 !important;
  border-radius: 0.82rem !important;
  background: #fffafb !important;
  box-shadow: 0 0.5rem 1.25rem rgba(92, 61, 72, 0.06);
}

.hairvina-blog-product > .hairvina-blog-product__media {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.hairvina-blog-product > div {
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.hairvina-blog-product__media,
.hairvina-blog-product__media img {
  width: 5.1rem !important;
  height: 5.1rem !important;
  border-radius: 0.62rem !important;
}

.hairvina-blog-product h4 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0.42rem !important;
  font-size: 0.88rem !important;
  line-height: 1.34 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hairvina-blog-product__link,
.hairvina-featured-card__copy time {
  color: #b45e7e !important;
}

.hairvina-blog-product__link {
  display: inline-flex !important;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #f8e4ec;
  line-height: 1 !important;
}

.hairvina-inline-inquiry {
  border-color: #e59ab4 !important;
  background: linear-gradient(135deg, #fffafd 0%, #fbe7ee 100%) !important;
}

.hairvina-inline-inquiry__actions a {
  border-color: #e59ab4 !important;
  color: #fff !important;
  background: #e59ab4 !important;
  box-shadow: none !important;
}

.hairvina-inline-inquiry__actions a:hover,
.hairvina-inline-inquiry__actions a:focus-visible {
  border-color: #d87d9e !important;
  background: #d87d9e !important;
}

.hairvina-inline-inquiry__actions .hairvina-inline-inquiry__whatsapp {
  color: #a34d6d !important;
  background: #fff !important;
}

.hairvina-related-articles__grid > article.is-text-only {
  display: flex;
  min-height: 12rem;
  padding: 1.2rem;
  border: 1px solid #f0d8e1;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #fffafd 0%, #fcedf2 100%);
  flex-direction: column;
  justify-content: flex-end;
}

.hairvina-inline-media {
  margin: clamp(2rem, 5vw, 3.5rem) auto !important;
}

.hairvina-inline-media img {
  display: block;
  width: 100%;
  max-height: 44rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 1rem 2.6rem rgba(74, 45, 56, 0.12);
}

.hairvina-inline-media figcaption {
  margin-top: 0.65rem;
  color: #806a73;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 520px) {
  .hairvina-featured-list .hairvina-featured-card.is-text-only {
    display: block !important;
    padding: 0.85rem !important;
  }

  .hairvina-blog-product {
    grid-template-columns: 4.6rem minmax(0, 1fr) !important;
    height: 6.15rem !important;
    max-height: 6.15rem !important;
  }

  .hairvina-blog-product__media,
  .hairvina-blog-product__media img {
    width: 4.6rem !important;
    height: 4.6rem !important;
  }
}

/* Final cascade lock: catalogue actions and editorial titles. */
@media (min-width: 783px) {
  body .hairvina-shop-layout .hairvina-shop-card__body {
    min-height: 15.75rem !important;
    padding: 1rem 1.05rem 1.15rem !important;
    align-items: center !important;
    text-align: center !important;
  }

  body .hairvina-shop-layout .hairvina-shop-card__category {
    display: -webkit-box !important;
    width: 100% !important;
    min-height: 2.05rem !important;
    max-height: 2.05rem !important;
    margin: 0 0 0.3rem !important;
    overflow: hidden !important;
    line-height: 1.4 !important;
    text-align: center !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body .hairvina-shop-layout .hairvina-shop-card__body h2 {
    display: -webkit-box !important;
    width: 100% !important;
    min-height: 3.05rem !important;
    max-height: 3.05rem !important;
    margin: 0 !important;
    overflow: hidden !important;
    font-size: 1rem !important;
    line-height: 1.52 !important;
    text-align: center !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body .hairvina-shop-layout .hairvina-shop-card__summary {
    min-height: 4.35rem !important;
    max-height: 4.35rem !important;
    margin: 0.5rem 0 0 !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  body .hairvina-shop-layout .hairvina-shop-card__actions {
    display: flex !important;
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 0.72rem !important;
    align-self: stretch !important;
    justify-content: center !important;
  }

  body .hairvina-shop-layout .hairvina-shop-card__actions .hairvina-product-card__button {
    margin-inline: auto !important;
  }
}

body .hairvina-related-products-carousel .hairvina-product-card__body,
body .hairvina-blog-related-products .hairvina-product-card__body {
  display: grid !important;
  grid-template-rows: 2.2rem 4.15rem 1.15rem 2.55rem !important;
  width: 100% !important;
  height: 11.35rem !important;
  min-height: 11.35rem !important;
  padding: 0.85rem 0.8rem 1rem !important;
  align-items: start !important;
  justify-items: center !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__category,
body .hairvina-blog-related-products .hairvina-product-card__category {
  grid-row: 1 !important;
  width: 100% !important;
  height: 2.2rem !important;
  min-height: 2.2rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 0.62rem !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__body h3,
body .hairvina-blog-related-products .hairvina-product-card__body h3 {
  grid-row: 2 !important;
  width: 100% !important;
  height: 4.15rem !important;
  min-height: 4.15rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 0.88rem !important;
  line-height: 1.42 !important;
  text-align: center !important;
}

body .hairvina-blog-related-products__rating {
  grid-row: 3 !important;
  align-self: center !important;
  height: 1.15rem !important;
  min-height: 1.15rem !important;
  margin: 0 !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__button,
body .hairvina-blog-related-products .hairvina-product-card__button {
  grid-row: 4 !important;
  min-width: 7.8rem !important;
  min-height: 2.45rem !important;
  margin: 0 auto !important;
  align-self: end !important;
  justify-self: center !important;
}

body .hairvina-article__title,
body .hairvina-local-draft-preview > .hairvina-article__title {
  width: 100% !important;
  max-width: 100% !important;
  text-wrap: wrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* 2026-10-25 catalogue copy and related-card refinement. */
@media (min-width: 783px) {
  body .hairvina-shop-layout .hairvina-shop-card__body {
    align-items: stretch !important;
    text-align: left !important;
  }

  body .hairvina-shop-layout .hairvina-shop-card__category,
  body .hairvina-shop-layout .hairvina-shop-card__body h2,
  body .hairvina-shop-layout .hairvina-shop-card__summary {
    text-align: left !important;
  }

  body .hairvina-shop-layout .hairvina-shop-card__actions {
    align-items: center !important;
    justify-content: center !important;
  }
}

body .hairvina-related-products-carousel .hairvina-product-card__body,
body .hairvina-blog-related-products .hairvina-product-card__body {
  grid-template-rows: 2rem 3.65rem 0.85rem 2.35rem !important;
  height: 11.6rem !important;
  min-height: 11.6rem !important;
  padding: 0.7rem 0.8rem 0.9rem !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__category,
body .hairvina-blog-related-products .hairvina-product-card__category {
  height: 2rem !important;
  min-height: 2rem !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__body h3,
body .hairvina-blog-related-products .hairvina-product-card__body h3 {
  height: 3.65rem !important;
  min-height: 3.65rem !important;
  font-size: 0.86rem !important;
  line-height: 1.4 !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__button,
body .hairvina-blog-related-products .hairvina-product-card__button {
  min-width: 7.5rem !important;
  min-height: 2.35rem !important;
  padding: 0.52rem 0.78rem !important;
  align-self: start !important;
  font-size: 0.7rem !important;
  line-height: 1.1 !important;
}

/* Compact article-linked product previews use the 150px WordPress derivative. */
.hairvina-article-product-previews {
  box-sizing: border-box;
  margin: 1.6rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid #efd8e1;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #fffafd, #fcedf2);
}

.hairvina-article-product-previews > p {
  margin: 0 0 0.75rem !important;
  color: #ad5576;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hairvina-article-product-previews > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hairvina-article-product-preview {
  display: grid;
  overflow: hidden;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  min-width: 0;
  min-height: 5.5rem;
  border: 1px solid #ead8df;
  border-radius: 0.72rem;
  color: #443b3f !important;
  background: #fff;
  text-decoration: none !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hairvina-article-product-preview:hover,
.hairvina-article-product-preview:focus-visible {
  border-color: #dfa0b8;
  box-shadow: 0 0.6rem 1.4rem rgba(103, 62, 78, 0.1);
  transform: translateY(-1px);
}

.hairvina-article-product-preview__media,
.hairvina-article-product-preview__media img,
.hairvina-article-product-preview__placeholder {
  display: flex;
  width: 5.5rem;
  height: 5.5rem;
  align-items: center;
  justify-content: center;
}

.hairvina-article-product-preview__media {
  overflow: hidden;
  background: #f7eef1;
}

.hairvina-article-product-preview__media img {
  object-fit: cover;
}

.hairvina-article-product-preview__placeholder {
  color: #b98397;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hairvina-article-product-preview__copy {
  display: flex;
  min-width: 0;
  padding: 0.65rem 0.7rem;
  flex-direction: column;
  justify-content: center;
}

.hairvina-article-product-preview__copy small {
  margin-bottom: 0.25rem;
  color: #aa647e;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hairvina-article-product-preview__copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hairvina-article-product-preview__copy > span {
  margin-top: 0.35rem;
  color: #b35879;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

/* Keep an honest media slot visible until the article's first photo is added. */
.hairvina-featured-list .hairvina-featured-card,
.hairvina-featured-list .hairvina-featured-card.is-awaiting-image {
  display: grid !important;
  overflow: hidden;
  grid-template-columns: 6.25rem minmax(0, 1fr) !important;
  min-height: 7rem !important;
  padding: 0 !important;
  border: 1px solid #efd9e2;
  border-radius: 0.78rem;
  background: #fff !important;
}

.hairvina-featured-list .hairvina-featured-card__media {
  display: block !important;
  overflow: hidden;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 6.25rem !important;
  height: 100% !important;
  min-height: 7rem;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  background: #f8e8ee;
}

.hairvina-featured-list .hairvina-featured-card__media img,
.hairvina-article-media-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.hairvina-featured-list .hairvina-featured-card__media img {
  object-fit: cover;
}

.hairvina-article-media-placeholder {
  min-height: 7rem;
  color: #ac7186;
  background: linear-gradient(145deg, #f9e6ed, #f2ccd9);
  flex-direction: column;
}

.hairvina-article-media-placeholder b {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}

.hairvina-article-media-placeholder small {
  margin-top: 0.4rem;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.hairvina-featured-list .hairvina-featured-card__copy,
.hairvina-featured-list .hairvina-featured-card.is-awaiting-image .hairvina-featured-card__copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding: 0.85rem 0.9rem !important;
  align-self: center !important;
}

@media (max-width: 520px) {
  .hairvina-article-product-previews > div {
    grid-template-columns: 1fr;
  }
}

/* 2026-10-25 complete catalogue excerpts and in-article product visuals. */
@media (min-width: 783px) {
  body .hairvina-shop-layout .hairvina-shop-card__summary {
    display: -webkit-box !important;
    height: calc(1.45em * 3) !important;
    min-height: calc(1.45em * 3) !important;
    max-height: calc(1.45em * 3) !important;
    margin-top: 0.55rem !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    text-align: left !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

.hairvina-article-product-preview {
  grid-template-columns: 7rem minmax(0, 1fr);
  min-height: 7rem;
}

.hairvina-article-product-preview__media,
.hairvina-article-product-preview__media img,
.hairvina-article-product-preview__placeholder {
  width: 7rem;
  height: 7rem;
}

.hairvina-article-product-preview__media img {
  display: block;
  object-fit: cover;
}

.hairvina-article-product-preview__copy {
  padding: 0.8rem 0.85rem;
}

.hairvina-article-product-inline-group {
  display: grid;
  margin: 2.15rem 0 1.2rem;
  gap: 1rem;
}

.hairvina-article-product-inline-group.is-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hairvina-article-product-inline {
  overflow: hidden;
  margin: 0;
  border: 1px solid #ead8df;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(93, 57, 72, 0.07);
}

.hairvina-article-product-inline__media {
  display: flex;
  min-height: 22rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #443b3f !important;
  background: #f8f3f5;
  text-decoration: none !important;
}

.hairvina-article-product-inline-group.is-pair .hairvina-article-product-inline__media,
.hairvina-article-product-inline-group.is-pair .hairvina-article-product-inline__placeholder {
  min-height: 16rem;
}

.hairvina-article-product-inline__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 34rem;
  object-fit: contain;
}

.hairvina-article-product-inline__placeholder {
  display: flex;
  width: 100%;
  min-height: 22rem;
  align-items: center;
  justify-content: center;
  color: #b47a90;
  background: linear-gradient(145deg, #fbf3f6, #f2dce4);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hairvina-article-product-inline figcaption {
  display: grid;
  padding: 1rem 1.15rem 1.1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  align-items: center;
}

.hairvina-article-product-inline figcaption > span {
  grid-column: 1 / -1;
  color: #ad607c;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hairvina-article-product-inline figcaption strong {
  min-width: 0;
  color: #342d30;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.35;
}

.hairvina-article-product-inline figcaption a {
  display: inline-flex;
  min-height: 2.35rem;
  padding: 0.55rem 0.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff !important;
  background: #c97594;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none !important;
}

.hairvina-article-product-inline-group.is-pair .hairvina-article-product-inline figcaption {
  display: flex;
  min-height: 10.25rem;
  flex-direction: column;
  align-items: flex-start;
}

.hairvina-article-product-inline-group.is-pair .hairvina-article-product-inline figcaption > span {
  width: 100%;
}

.hairvina-article-product-inline-group.is-pair .hairvina-article-product-inline figcaption strong {
  display: -webkit-box;
  width: 100%;
  min-height: 4.15rem;
  margin-top: 0.25rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.hairvina-article-product-inline-group.is-pair .hairvina-article-product-inline figcaption a {
  margin-top: auto;
}

@media (max-width: 520px) {
  .hairvina-article-product-preview {
    grid-template-columns: 6rem minmax(0, 1fr);
    min-height: 6rem;
  }

  .hairvina-article-product-preview__media,
  .hairvina-article-product-preview__media img,
  .hairvina-article-product-preview__placeholder {
    width: 6rem;
    height: 6rem;
  }

  .hairvina-article-product-inline__media,
  .hairvina-article-product-inline__placeholder {
    min-height: 13rem;
  }

  .hairvina-article-product-inline-group.is-pair {
    grid-template-columns: 1fr;
  }

  .hairvina-article-product-inline-group.is-pair .hairvina-article-product-inline figcaption {
    min-height: 0;
  }

  .hairvina-article-product-inline-group.is-pair .hairvina-article-product-inline figcaption strong {
    min-height: 0;
  }

  .hairvina-article-product-inline-group.is-pair .hairvina-article-product-inline figcaption a {
    margin-top: 0.55rem;
  }

  .hairvina-article-product-inline figcaption {
    grid-template-columns: 1fr;
  }

  .hairvina-article-product-inline figcaption a {
    margin-top: 0.35rem;
    justify-self: start;
  }
}

/* 2026-10-25 unclipped related-product information hierarchy. */
body .hairvina-related-products-carousel .hairvina-product-card__body,
body .hairvina-blog-related-products .hairvina-product-card__body {
  display: grid !important;
  box-sizing: border-box !important;
  grid-template-rows: 2.1rem 4.3rem 0.5rem 2.5rem !important;
  height: 12.2rem !important;
  min-height: 12.2rem !important;
  padding: 0.8rem 0.72rem 1rem !important;
  align-items: start !important;
  justify-items: center !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__category,
body .hairvina-blog-related-products .hairvina-product-card__category {
  display: -webkit-box !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: 2.1rem !important;
  min-height: 2.1rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 0.62rem !important;
  line-height: 1.45 !important;
  text-align: center !important;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

body .hairvina-related-products-carousel .hairvina-product-card__body h3,
body .hairvina-blog-related-products .hairvina-product-card__body h3 {
  display: -webkit-box !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 4.3rem !important;
  min-height: 4.3rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 0.86rem !important;
  line-height: 1.42 !important;
  text-align: center !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

body .hairvina-related-products-carousel .hairvina-blog-related-products__rating,
body .hairvina-blog-related-products .hairvina-blog-related-products__rating {
  grid-row: 3 !important;
  height: 0.5rem !important;
  min-height: 0.5rem !important;
  margin: 0 !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__body > p,
body .hairvina-blog-related-products .hairvina-product-card__body > p {
  display: flex !important;
  grid-row: 4 !important;
  margin: 0 !important;
  align-items: flex-start !important;
  align-self: start !important;
  justify-self: center !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__button,
body .hairvina-blog-related-products .hairvina-product-card__button {
  display: inline-flex !important;
  grid-row: 4 !important;
  min-width: 7.5rem !important;
  min-height: 2.5rem !important;
  margin: 0 auto !important;
  padding: 0.58rem 0.78rem !important;
  align-items: center !important;
  align-self: start !important;
  justify-content: center !important;
  justify-self: center !important;
  font-size: 0.7rem !important;
  line-height: 1 !important;
}

/* Product pagination regression lock.
 * Keep this block last: WooCommerce and responsive rules must not stack pages vertically. */
body #hairvina-product-pages.hairvina-shop-pagination {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  text-align: center !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

body #hairvina-product-pages.hairvina-shop-pagination > ul.page-numbers {
  display: flex !important;
  flex-flow: row nowrap !important;
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  margin: 2rem auto 0 !important;
  padding: 0 0.35rem 0.4rem !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  border: 0 !important;
  list-style: none !important;
  white-space: nowrap !important;
}

body #hairvina-product-pages.hairvina-shop-pagination > ul.page-numbers > li {
  display: block !important;
  float: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body #hairvina-product-pages.hairvina-shop-pagination > ul.page-numbers > li > .page-numbers {
  display: grid !important;
  width: 2.7rem !important;
  min-width: 2.7rem !important;
  height: 2.7rem !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  line-height: 1 !important;
}

body #hairvina-product-pages.hairvina-shop-pagination > ul.page-numbers > li > .dots {
  width: 1.6rem !important;
  min-width: 1.6rem !important;
}

@media (max-width: 520px) {
  body #hairvina-product-pages.hairvina-shop-pagination > ul.page-numbers {
    justify-content: center !important;
  }
}

/* Product archive pagination regression lock.
 * Product-category archives use the WooCommerce Product Collection block,
 * not the custom shop pagination above. Keep every implementation horizontal. */
body .hairvina-product-pagination.wp-block-query-pagination,
body.woocommerce .woocommerce-pagination {
  display: flex !important;
  flex-flow: row nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 2rem auto 0 !important;
  padding: 0 0.35rem 0.4rem !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

body .hairvina-product-pagination > .wp-block-query-pagination-numbers,
body.woocommerce .woocommerce-pagination > ul.page-numbers {
  display: flex !important;
  flex-flow: row nowrap !important;
  width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  border: 0 !important;
  list-style: none !important;
  white-space: nowrap !important;
}

body .hairvina-product-pagination > .wp-block-query-pagination-numbers > .page-numbers,
body .hairvina-product-pagination > .wp-block-query-pagination-previous,
body .hairvina-product-pagination > .wp-block-query-pagination-next,
body.woocommerce .woocommerce-pagination > ul.page-numbers > li {
  display: flex !important;
  float: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body .hairvina-product-pagination > .wp-block-query-pagination-numbers > .page-numbers,
body .hairvina-product-pagination > .wp-block-query-pagination-previous,
body .hairvina-product-pagination > .wp-block-query-pagination-next,
body.woocommerce .woocommerce-pagination > ul.page-numbers > li > .page-numbers {
  display: grid !important;
  width: 2.7rem !important;
  min-width: 2.7rem !important;
  height: 2.7rem !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  line-height: 1 !important;
  text-align: center !important;
}

body .hairvina-product-pagination > .wp-block-query-pagination-previous,
body .hairvina-product-pagination > .wp-block-query-pagination-next {
  width: auto !important;
  padding-inline: 0.8rem !important;
}

@media (max-width: 520px) {
  body .hairvina-product-pagination.wp-block-query-pagination,
  body.woocommerce .woocommerce-pagination {
    justify-content: center !important;
  }
}

/* Product archive card alignment lock.
 * Equal content rows keep every VIEW PRODUCT action on the same baseline. */
body .hairvina-product-archive .hairvina-product-grid > li {
  display: flex !important;
  height: auto !important;
  align-items: stretch !important;
}

body .hairvina-product-archive .hairvina-product-card {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  height: 100% !important;
}

body .hairvina-product-archive .hairvina-product-card__category {
  display: -webkit-box !important;
  height: 2.7em !important;
  min-height: 2.7em !important;
  max-height: 2.7em !important;
  overflow: hidden !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

body .hairvina-product-archive .hairvina-product-card__title {
  display: -webkit-box !important;
  height: 2.9em !important;
  min-height: 2.9em !important;
  max-height: 2.9em !important;
  overflow: hidden !important;
  line-height: 1.45 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

body .hairvina-product-archive .hairvina-product-card__rating,
body .hairvina-product-archive .hairvina-product-card__price {
  display: none !important;
}

body .hairvina-product-archive .hairvina-product-card__link {
  display: flex !important;
  flex: 0 0 auto !important;
  min-height: 2.3rem !important;
  margin-top: auto !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 640px) {
  body .hairvina-product-archive .hairvina-product-card__category {
    display: none !important;
  }

  body .hairvina-product-archive .hairvina-product-card__title {
    height: 4.35em !important;
    min-height: 4.35em !important;
    max-height: 4.35em !important;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}

/* 2026-10-28 modern moderated product reviews and honest ratings. */
#tab-reviews{scroll-margin-top:9rem}
.hairvina-rating{display:flex;align-items:center;gap:.55rem;color:#756a70;font-size:.82rem;line-height:1.2}
.hairvina-rating__stars{position:relative;display:inline-block;color:#d8d1d4;font-size:1rem;letter-spacing:.11em;line-height:1;white-space:nowrap}
.hairvina-rating__fill{position:absolute;inset:0 auto 0 0;overflow:hidden;color:#eca43b;white-space:nowrap}
.hairvina-rating--single{margin:.65rem 0 1.2rem;font-size:.9rem}
.hairvina-rating--single .hairvina-rating__stars{font-size:1.15rem}
.hairvina-rating--card{min-height:1.2rem;margin-top:.65rem}
.hairvina-rating--card .hairvina-rating__text{font-size:.72rem}
body .hairvina-product-archive .hairvina-product-card__rating,
body .hairvina-product-archive .hairvina-shop-card__rating,
.hairvina-shop-layout .hairvina-shop-card__rating,
.hairvina-product-card .hairvina-rating{display:block!important}
.hairvina-shop-card__rating .hairvina-rating,
.hairvina-product-card .hairvina-rating{display:flex!important}
body .hairvina-shop-layout .hairvina-shop-card .hairvina-shop-card__rating{display:block!important;width:100%;margin-top:auto!important}
body .hairvina-shop-layout .hairvina-shop-card__rating .hairvina-rating{display:flex!important;visibility:visible!important;opacity:1!important;min-height:2.1rem;gap:.42rem}
body .hairvina-shop-layout .hairvina-shop-card__rating .hairvina-rating__stars{color:#d59ab1;font-size:1.08rem;letter-spacing:.08em}
body .hairvina-shop-layout .hairvina-shop-card__rating .hairvina-rating__fill{color:#e7a13a}
body .hairvina-shop-layout .hairvina-shop-card__rating .hairvina-rating__text{color:#665d62;font-size:.74rem;font-weight:650}
body .hairvina-shop-layout .hairvina-shop-card__rating .hairvina-rating--rated .hairvina-rating__text{color:#4f464b}

.hairvina-review-summary{display:grid;grid-template-columns:minmax(13rem,.8fr) minmax(18rem,1.2fr);gap:clamp(1.5rem,4vw,3.25rem);margin:0 0 1.2rem;padding:clamp(1.35rem,4vw,2.4rem);border:1px solid #eedfe5;border-radius:1.25rem;background:linear-gradient(135deg,#fffafb 0%,#fff 58%,#fff7fa 100%);box-shadow:0 1rem 2.8rem rgba(87,50,65,.07)}
.hairvina-review-summary__score{display:flex;flex-direction:column;justify-content:center}
.hairvina-review-summary__eyebrow{margin-bottom:.55rem;color:#ad5477;font-size:.68rem;font-weight:800;letter-spacing:.13em}
.hairvina-review-summary__score>strong{color:#2f292c;font-family:Georgia,"Times New Roman",serif;font-size:clamp(3rem,7vw,4.8rem);font-weight:500;line-height:.95}
.hairvina-review-summary__score .hairvina-rating--summary{margin-top:.9rem}
.hairvina-review-summary__score .hairvina-rating--summary .hairvina-rating__text{display:none}
.hairvina-review-summary__score p{margin:.75rem 0 0;color:#776d72;font-size:.82rem}
.hairvina-feedback-type{margin:0 0 1.2rem;padding:0;border:0}
.hairvina-feedback-type legend{margin:0 0 .7rem;color:#342d31;font-size:.9rem;font-weight:800}
.hairvina-feedback-type__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.hairvina-feedback-type__options label{display:flex;align-items:flex-start;gap:.65rem;min-height:5.2rem;margin:0;padding:1rem;border:1px solid #eadce2;border-radius:1rem;background:#fff;box-shadow:0 .45rem 1.35rem rgba(82,49,63,.05);cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.hairvina-feedback-type__options label:hover{border-color:#d99ab3;box-shadow:0 .65rem 1.6rem rgba(126,67,91,.1);transform:translateY(-1px)}
.hairvina-feedback-type__options label:has(input:checked){border-color:#cd7899;background:#fff8fb;box-shadow:0 0 0 2px rgba(205,120,153,.13)}
.hairvina-feedback-type__options input{flex:0 0 1.05rem!important;width:1.05rem!important;min-width:1.05rem!important;max-width:1.05rem!important;height:1.05rem!important;margin:.15rem 0 0!important;padding:0!important;accent-color:#c45f87}
.hairvina-feedback-type__options span{display:grid;gap:.28rem}
.hairvina-feedback-type__options strong{color:#342d31;font-size:.88rem}
.hairvina-feedback-type__options small{color:#776d72;font-size:.74rem;line-height:1.45}
.hairvina-feedback-type>[data-feedback-type-help]{margin:.65rem 0 0;color:#756a70;font-size:.74rem}
.comment-form-rating[hidden]{display:none!important}
.hairvina-review-summary__bars{display:grid;align-content:center;gap:.6rem}
.hairvina-review-bar{display:grid;grid-template-columns:1rem 1rem 1fr 1.6rem;align-items:center;gap:.45rem;color:#7d7277;font-size:.75rem}
.hairvina-review-bar>span:nth-child(2){color:#eca43b}
.hairvina-review-bar__track{height:.42rem;overflow:hidden;border-radius:999px;background:#ece6e8}
.hairvina-review-bar__track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e996b7,#c45f87)}
.hairvina-review-filters{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 1.4rem}
.hairvina-review-filters button{min-height:2.35rem;padding:.55rem .85rem;border:1px solid #e9dce2;border-radius:999px;color:#655b60;background:#fff;font:inherit;font-size:.78rem;cursor:pointer}
.hairvina-review-filters button span{color:#a19399}
.hairvina-review-filters button:hover,.hairvina-review-filters button:focus-visible,.hairvina-review-filters button.is-active{border-color:#d77da0;color:#7d2e51;background:#fff1f6}
.hairvina-review-filter-status{min-height:1.2em;margin:-.8rem 0 1rem;color:#8b7f84;font-size:.72rem}

.hairvina-product-details #reviews .commentlist{gap:1.15rem}
.hairvina-product-details #reviews .commentlist>li.review{margin:0}
.hairvina-product-details #reviews .comment_container{display:grid;grid-template-columns:3rem minmax(0,1fr);gap:.9rem;padding:clamp(1rem,3vw,1.45rem);border:1px solid #eee2e7;border-radius:1rem;background:#fff;box-shadow:0 .7rem 2rem rgba(73,47,58,.055)}
.hairvina-product-details #reviews .comment_container .comment-text{min-width:0;margin:0!important;padding:0!important;border:0!important}
.hairvina-review-avatar{display:grid;width:3rem;height:3rem;place-items:center;border-radius:50%;color:#8e3e60;background:linear-gradient(135deg,#ffe7f0,#f5c9da);font-size:.78rem;font-weight:800;letter-spacing:.04em}
.hairvina-review-kind{display:inline-flex;margin:0 0 .45rem;padding:.25rem .5rem;border-radius:999px;color:#8e365b;background:#fff0f5;font-size:.6rem;font-weight:800;letter-spacing:.08em}
.hairvina-review-kind.is-question{color:#5a657b;background:#f1f4f9}
.hairvina-review-kind.is-support{color:#3f695d;background:#eaf6f1}
.hairvina-product-details #reviews .commentlist .children{margin:.75rem 0 0 clamp(.8rem,5vw,3.8rem);padding-left:1rem;border-left:2px solid #efc5d5}
.hairvina-product-details #reviews .commentlist .children .comment_container{border-color:#e3eee9;background:#fbfffd}

.hairvina-review-photos,.hairvina-review-upload__preview{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}
.hairvina-review-photos a,.hairvina-review-upload__item{display:block;width:5.25rem}
.hairvina-review-photos img,.hairvina-review-upload__item img{display:block;width:5.25rem;height:5.25rem;border:1px solid #eadfe3;border-radius:.7rem;object-fit:cover}
.hairvina-review-upload__item small{display:block;margin-top:.3rem;overflow:hidden;color:#756a70;font-size:.65rem;text-overflow:ellipsis;white-space:nowrap}
.hairvina-product-details #review_form_wrapper{margin-top:2rem;border:1px solid #eedfe5;border-radius:1.25rem;background:#fffafb}
.hairvina-review-policy{padding:.9rem 1rem;border:1px solid #eadbe1;border-radius:.8rem;color:#5f555a;background:#fff}
.hairvina-review-policy strong{display:block;color:#85395a}
.hairvina-review-upload{margin:1rem 0;padding:1rem;border:1px dashed #d9b9c6;border-radius:.9rem;background:#fff}
.hairvina-review-upload label{display:flex;flex-direction:column;gap:.2rem;margin-bottom:.7rem}
.hairvina-review-upload label span{color:#83767c;font-size:.72rem}
.hairvina-review-upload input[type=file]{width:100%;padding:.65rem;border:1px solid #eadfe3;border-radius:.7rem;background:#fff8fb}
.hairvina-review-upload input[type=file]::file-selector-button{margin-right:.7rem;padding:.55rem .8rem;border:0;border-radius:999px;color:#fff;background:#c25f87;font-weight:700;cursor:pointer}
#comments .commentlist>li.review[hidden]{display:none!important}

@media(max-width:640px){
  .hairvina-review-summary{grid-template-columns:1fr}
  .hairvina-product-details #reviews .comment_container{grid-template-columns:2.6rem minmax(0,1fr);gap:.7rem;padding:.95rem}
  .hairvina-review-avatar{width:2.6rem;height:2.6rem}
  .hairvina-product-details #reviews .commentlist .children{margin-left:.3rem;padding-left:.65rem}
  .hairvina-rating--card{align-items:flex-start;flex-direction:column;gap:.3rem}
}


/* 2026-10-28 final product-card rhythm, centered ratings, and review photo controls. */
.hairvina-shop-card__summary {
  display: none !important;
}

body .hairvina-shop-layout .hairvina-shop-card__body {
  display: grid !important;
  box-sizing: border-box !important;
  grid-template-rows: 2rem minmax(4.35rem, auto) 3rem 2.7rem !important;
  min-height: 14.1rem !important;
  padding: 0.9rem 0.85rem 1rem !important;
  align-items: start !important;
  justify-items: stretch !important;
}

body .hairvina-shop-layout .hairvina-shop-card__category {
  display: block !important;
  grid-row: 1 !important;
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  text-align: left !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .hairvina-shop-layout .hairvina-shop-card__body h2 {
  display: -webkit-box !important;
  grid-row: 2 !important;
  width: 100% !important;
  min-height: 4.35rem !important;
  margin: 0 !important;
  overflow: hidden;
  line-height: 1.42 !important;
  text-align: left !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

body .hairvina-shop-layout .hairvina-shop-card__rating {
  display: flex !important;
  grid-row: 3 !important;
  width: 100% !important;
  min-height: 3rem !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}

body .hairvina-shop-layout .hairvina-shop-card__rating .hairvina-rating,
.hairvina-search-product__rating .hairvina-rating,
.hairvina-carousel--products .hairvina-product-card__body > .hairvina-rating {
  width: 100%;
  margin: 0 !important;
  align-items: center !important;
  flex-direction: column !important;
  gap: 0.28rem !important;
  justify-content: center !important;
  text-align: center !important;
}

body .hairvina-shop-layout .hairvina-shop-card__rating .hairvina-rating__text,
.hairvina-search-product__rating .hairvina-rating__text,
.hairvina-carousel--products .hairvina-product-card__body > .hairvina-rating .hairvina-rating__text {
  width: 100%;
  text-align: center !important;
}

body .hairvina-shop-layout .hairvina-shop-card__actions {
  display: flex !important;
  grid-row: 4 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: end !important;
  align-self: end !important;
  justify-content: center !important;
}

body .hairvina-shop-layout .hairvina-shop-card__actions .hairvina-product-card__button,
.hairvina-search-product__link,
.hairvina-carousel--products .hairvina-product-card__button {
  margin-inline: auto !important;
  align-self: center !important;
  justify-self: center !important;
  text-align: center !important;
}

.hairvina-search-product__rating {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
}

.hairvina-search-product__link {
  min-width: 8.25rem;
}

/* Related product cards always reserve the same space for every hierarchy row. */
body .hairvina-related-products-carousel .hairvina-product-card__body,
body .hairvina-blog-related-products .hairvina-product-card__body {
  display: grid !important;
  box-sizing: border-box !important;
  grid-template-rows: 2.4rem 4.8rem 3.1rem 2.6rem !important;
  gap: 0.28rem !important;
  height: 15.7rem !important;
  min-height: 15.7rem !important;
  padding: 0.85rem 0.75rem 1.05rem !important;
  align-items: start !important;
  justify-items: center !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__category,
body .hairvina-blog-related-products .hairvina-product-card__category {
  display: -webkit-box !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: 2.4rem !important;
  min-height: 2.4rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  line-height: 1.4 !important;
  text-align: center !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

body .hairvina-related-products-carousel .hairvina-product-card__body h3,
body .hairvina-blog-related-products .hairvina-product-card__body h3 {
  display: -webkit-box !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 4.8rem !important;
  min-height: 4.8rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  line-height: 1.4 !important;
  text-align: center !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

body .hairvina-related-products-carousel .hairvina-blog-related-products__rating,
body .hairvina-blog-related-products .hairvina-blog-related-products__rating {
  display: flex !important;
  grid-row: 3 !important;
  width: 100% !important;
  height: 3.1rem !important;
  min-height: 3.1rem !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__body > p,
body .hairvina-blog-related-products .hairvina-product-card__body > p {
  display: flex !important;
  grid-row: 4 !important;
  width: 100% !important;
  height: 2.6rem !important;
  margin: 0 !important;
  align-items: end !important;
  justify-content: center !important;
}

body .hairvina-related-products-carousel .hairvina-product-card__button,
body .hairvina-blog-related-products .hairvina-product-card__button {
  min-width: 7.75rem !important;
  min-height: 2.5rem !important;
  margin: 0 auto !important;
  align-self: end !important;
  justify-self: center !important;
}

/* Editorial product modules: natural rating placement with room for full titles. */
.hairvina-blog-products-widget .hairvina-blog-widget__title {
  margin: 1.25rem 0 0.75rem !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}

.hairvina-blog-products-widget .hairvina-blog-widget__divider {
  margin: 0 0 0.9rem !important;
}

.hairvina-blog-product {
  display: grid !important;
  box-sizing: border-box !important;
  grid-template-columns: 5.4rem minmax(0, 1fr) !important;
  gap: 0.85rem !important;
  height: auto !important;
  min-height: 9.2rem !important;
  max-height: none !important;
  padding: 0.75rem !important;
  align-items: stretch !important;
}

.hairvina-blog-product > .hairvina-blog-product__media,
.hairvina-blog-product > .hairvina-blog-product__media img {
  width: 5.4rem !important;
  height: 5.4rem !important;
  align-self: center;
}

.hairvina-blog-product > div {
  display: grid !important;
  grid-template-rows: auto auto 2rem !important;
  gap: 0.42rem !important;
  min-height: 7.7rem !important;
  padding: 0 !important;
  align-content: center !important;
}

.hairvina-blog-product h4 {
  margin: 0 !important;
  overflow: visible !important;
  font-size: 0.8rem !important;
  line-height: 1.38 !important;
  overflow-wrap: anywhere;
}

.hairvina-blog-product__rating {
  margin: 0 !important;
}

.hairvina-blog-product__rating .hairvina-rating,
.hairvina-article-product-preview__rating .hairvina-rating,
.hairvina-article-product-inline__rating .hairvina-rating {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  align-items: flex-start !important;
  flex-direction: column !important;
  gap: 0.2rem !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

.hairvina-blog-product__link {
  margin-top: 0 !important;
  align-self: end !important;
  justify-self: start !important;
}

.hairvina-article-product-previews {
  padding: clamp(0.9rem, 2vw, 1.2rem) !important;
  background: #fff !important;
}

.hairvina-article-product-previews > div {
  gap: 0.9rem !important;
}

.hairvina-article-product-preview {
  display: grid !important;
  grid-template-columns: 7rem minmax(0, 1fr) !important;
  height: auto !important;
  min-height: 9.5rem !important;
  overflow: hidden !important;
  background: #fff !important;
}

.hairvina-article-product-preview__copy {
  display: flex !important;
  min-width: 0;
  padding: 0.85rem !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.hairvina-article-product-preview__copy strong {
  width: 100%;
  margin: 0.2rem 0 0 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere;
}

.hairvina-article-product-preview__rating,
.hairvina-article-product-inline__rating {
  width: 100%;
  margin: 0.58rem 0 0.65rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hairvina-article-product-preview__view {
  margin-top: auto !important;
}

.hairvina-review-upload__preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 7rem));
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.hairvina-review-upload__item {
  position: relative;
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.hairvina-review-upload__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.7rem;
  object-fit: cover;
}

.hairvina-review-upload__item small {
  overflow: hidden;
  color: #70656a;
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hairvina-review-upload__remove {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  color: #fff;
  background: rgba(73,44,55,.86);
  box-shadow: 0 0.25rem 0.7rem rgba(52,31,39,.2);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.hairvina-review-upload__remove:hover,
.hairvina-review-upload__remove:focus-visible {
  background: #a64269;
  outline: 2px solid #fff;
  outline-offset: 1px;
}

@media (max-width: 640px) {
  body .hairvina-shop-layout .hairvina-shop-card__body {
    grid-template-rows: 1.55rem minmax(4.5rem, auto) 3.2rem 2.45rem !important;
    min-height: 13.2rem !important;
    padding: 0.72rem 0.68rem 0.82rem !important;
  }

  body .hairvina-shop-layout .hairvina-shop-card__body h2 {
    min-height: 4.5rem !important;
    font-size: 0.82rem !important;
  }

  body .hairvina-shop-layout .hairvina-shop-card__actions .hairvina-product-card__button {
    width: auto !important;
    min-width: 7.2rem !important;
    padding-inline: 0.7rem !important;
  }

  .hairvina-blog-product {
    grid-template-columns: 4.75rem minmax(0, 1fr) !important;
    min-height: 9rem !important;
  }

  .hairvina-blog-product > .hairvina-blog-product__media,
  .hairvina-blog-product > .hairvina-blog-product__media img {
    width: 4.75rem !important;
    height: 4.75rem !important;
  }

  .hairvina-article-product-preview {
    grid-template-columns: 5.75rem minmax(0, 1fr) !important;
    min-height: 9.2rem !important;
  }

  .hairvina-article-product-preview__media,
  .hairvina-article-product-preview__media img,
  .hairvina-article-product-preview__placeholder {
    width: 5.75rem !important;
    height: 100% !important;
    min-height: 9.2rem !important;
  }

  .hairvina-review-upload__preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


@media (max-width:600px){
  .hairvina-feedback-type__options{grid-template-columns:1fr}
  .hairvina-feedback-type__options label{min-height:0}
}

/* 2026-10-28 unified clickable ratings across search, editorial recommendations, and related products. */
a.hairvina-rating{text-decoration:none!important}
a.hairvina-rating:hover .hairvina-rating__text,a.hairvina-rating:focus-visible .hairvina-rating__text{color:#a64269;text-decoration:underline;text-underline-offset:.18em}
.hairvina-search-product__body{display:flex!important;flex-direction:column!important}
.hairvina-search-product__rating{width:100%;margin:.1rem 0 .72rem}
.hairvina-search-product__rating .hairvina-rating{align-items:flex-start;flex-direction:column;gap:.22rem}
.hairvina-search-product__rating .hairvina-rating__stars{font-size:.96rem}
.hairvina-search-product__rating .hairvina-rating__text{font-size:.68rem}
.hairvina-search-product__link{margin-top:auto}

.hairvina-blog-products-widget .hairvina-blog-widget__title{margin-top:0!important;margin-bottom:.45rem!important;padding-top:.35rem;line-height:1.25}
.hairvina-blog-product{height:8rem!important;max-height:8rem!important;align-items:center!important}
.hairvina-blog-product>div{display:flex!important;min-height:6.45rem!important;flex-direction:column;justify-content:center}
.hairvina-blog-product h4{margin:0 0 .35rem!important}
.hairvina-blog-product__rating{margin:0 0 .42rem}
.hairvina-blog-product__rating .hairvina-rating{align-items:flex-start;flex-direction:column;gap:.15rem}
.hairvina-blog-product__rating .hairvina-rating__stars{font-size:.83rem}
.hairvina-blog-product__rating .hairvina-rating__text{font-size:.62rem;line-height:1.25}
.hairvina-blog-product__link{align-self:flex-start}

body .hairvina-related-products-carousel .hairvina-product-card__body,
body .hairvina-blog-related-products .hairvina-product-card__body{grid-template-rows:2.1rem 4.3rem 2.85rem 2.5rem!important;height:14.6rem!important;min-height:14.6rem!important}
body .hairvina-related-products-carousel .hairvina-blog-related-products__rating,
body .hairvina-blog-related-products .hairvina-blog-related-products__rating{display:flex!important;grid-row:3!important;width:100%!important;height:2.85rem!important;min-height:2.85rem!important;margin:0!important;align-items:center!important;justify-content:center!important}
body .hairvina-related-products-carousel .hairvina-blog-related-products__rating .hairvina-rating,
body .hairvina-blog-related-products .hairvina-blog-related-products__rating .hairvina-rating{align-items:center;flex-direction:column;gap:.18rem;text-align:center}
body .hairvina-related-products-carousel .hairvina-blog-related-products__rating .hairvina-rating__stars,
body .hairvina-blog-related-products .hairvina-blog-related-products__rating .hairvina-rating__stars{font-size:.9rem}
body .hairvina-related-products-carousel .hairvina-blog-related-products__rating .hairvina-rating__text,
body .hairvina-blog-related-products .hairvina-blog-related-products__rating .hairvina-rating__text{font-size:.62rem}
body .hairvina-related-products-carousel .hairvina-product-card__button,
body .hairvina-blog-related-products .hairvina-product-card__button{grid-row:4!important;align-self:end!important}

.hairvina-article-product-preview{cursor:default}
.hairvina-article-product-preview__copy strong a{color:inherit;text-decoration:none}
.hairvina-article-product-preview__rating,.hairvina-article-product-inline__rating{width:100%}
.hairvina-article-product-preview__rating .hairvina-rating,.hairvina-article-product-inline__rating .hairvina-rating{align-items:flex-start;flex-direction:column;gap:.18rem}
.hairvina-article-product-preview__rating .hairvina-rating__stars,.hairvina-article-product-inline__rating .hairvina-rating__stars{font-size:.9rem}
.hairvina-article-product-preview__rating .hairvina-rating__text,.hairvina-article-product-inline__rating .hairvina-rating__text{font-size:.66rem}
.hairvina-article-product-preview__view{align-self:flex-start;color:#ad4f73;font-size:.68rem;font-weight:800;letter-spacing:.05em;text-decoration:none}
.hairvina-article-product-inline figcaption{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto auto!important}
.hairvina-article-product-inline figcaption>span,.hairvina-article-product-inline figcaption>strong{grid-column:1}
.hairvina-article-product-inline__rating{grid-column:1;grid-row:3}
.hairvina-article-product-inline__view{grid-column:2;grid-row:1 / span 3;align-self:end!important}

.hairvina-review-success{display:flex;gap:.9rem;margin:0 0 1.25rem;padding:1rem 1.1rem;border:1px solid #b8dfcf;border-radius:1rem;color:#315e50;background:#f2fbf7;box-shadow:0 .65rem 1.8rem rgba(50,105,84,.08)}
.hairvina-review-success>span{display:grid;flex:0 0 2.1rem;width:2.1rem;height:2.1rem;place-items:center;border-radius:50%;color:#fff;background:#4a9a7c;font-size:1.05rem;font-weight:900}
.hairvina-review-success strong{display:block;margin:.05rem 0 .25rem;color:#244f41;font-size:.92rem}
.hairvina-review-success p{margin:0;color:#517064;font-size:.78rem;line-height:1.55}

@media(max-width:640px){
  .hairvina-blog-product{height:7.75rem!important;max-height:7.75rem!important}
  .hairvina-blog-product>div{min-height:6.2rem!important}
  .hairvina-article-product-inline figcaption{grid-template-columns:1fr!important}
  .hairvina-article-product-inline__rating,.hairvina-article-product-inline__view{grid-column:1;grid-row:auto}
  .hairvina-article-product-inline__view{justify-self:start}
}

/* Cascade lock for the final card system. */
.hairvina-search-product__rating .hairvina-rating {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.hairvina-search-product__link { align-self: center !important; }
.hairvina-blog-products-widget .hairvina-blog-widget__title {
  margin: 1.25rem 0 0.75rem !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}
.hairvina-blog-product {
  height: auto !important;
  min-height: 9.2rem !important;
  max-height: none !important;
  align-items: stretch !important;
}
.hairvina-blog-product > div {
  display: grid !important;
  grid-template-rows: auto auto 2rem !important;
  gap: 0.42rem !important;
  min-height: 7.7rem !important;
  flex-direction: initial !important;
  justify-content: initial !important;
  align-content: center !important;
}
.hairvina-blog-product h4 {
  margin: 0 !important;
  overflow: visible !important;
  line-height: 1.38 !important;
  overflow-wrap: anywhere;
}
.hairvina-blog-product__rating { margin: 0 !important; }
.hairvina-blog-product__link { margin-top: 0 !important; align-self: end !important; }
body .hairvina-related-products-carousel .hairvina-product-card__body,
body .hairvina-blog-related-products .hairvina-product-card__body {
  grid-template-rows: 2.4rem 4.8rem 3.1rem 2.6rem !important;
  gap: 0.28rem !important;
  height: 15.7rem !important;
  min-height: 15.7rem !important;
  padding: 0.85rem 0.75rem 1.05rem !important;
}
body .hairvina-related-products-carousel .hairvina-blog-related-products__rating,
body .hairvina-blog-related-products .hairvina-blog-related-products__rating {
  height: 3.1rem !important;
  min-height: 3.1rem !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__button,
body .hairvina-blog-related-products .hairvina-product-card__button {
  align-self: end !important;
  justify-self: center !important;
  margin-inline: auto !important;
}
@media(max-width:640px){
  .hairvina-blog-product { height: auto !important; min-height: 9rem !important; max-height: none !important; }
  .hairvina-blog-product > div { min-height: 7.5rem !important; }
}

/* 2026-10-28 compact, even rhythm for every Related Products card. */
body .hairvina-related-products-carousel .hairvina-product-card__body,
body .hairvina-blog-related-products .hairvina-product-card__body {
  grid-template-rows: 2rem 3.65rem 2.7rem 2.5rem !important;
  gap: 0.18rem !important;
  height: 12.95rem !important;
  min-height: 12.95rem !important;
  padding: 0.7rem 0.75rem 0.85rem !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__category,
body .hairvina-blog-related-products .hairvina-product-card__category {
  height: 2rem !important;
  min-height: 2rem !important;
  line-height: 1.3 !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__body h3,
body .hairvina-blog-related-products .hairvina-product-card__body h3 {
  height: 3.65rem !important;
  min-height: 3.65rem !important;
  line-height: 1.35 !important;
}
body .hairvina-related-products-carousel .hairvina-blog-related-products__rating,
body .hairvina-blog-related-products .hairvina-blog-related-products__rating {
  height: 2.7rem !important;
  min-height: 2.7rem !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__body > p,
body .hairvina-blog-related-products .hairvina-product-card__body > p {
  height: 2.5rem !important;
}

/* 2026-10-28 definitive five-star and responsive product-card layout. */
.hairvina-rating__stars {
  display: inline-flex !important;
  gap: 0.08em !important;
  width: auto !important;
  letter-spacing: 0 !important;
}
.hairvina-rating__star {
  display: inline-block;
  color: #d8d1d4;
  line-height: 1;
}
.hairvina-rating__star.is-filled { color: #eca43b; }
.hairvina-rating__fill { display: none !important; }

/* Catalogue cards: same centred rating and action position for rated/unrated products. */
body .hairvina-product-archive .hairvina-product-card {
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 0.9rem !important;
}
body .hairvina-product-archive .hairvina-product-card__rating {
  display: flex !important;
  width: calc(100% - 2rem) !important;
  min-height: 2.75rem !important;
  margin: 0.55rem 1rem 0.2rem !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
body .hairvina-product-archive .hairvina-product-card__rating .hairvina-rating {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  align-items: center !important;
  flex-direction: column !important;
  gap: 0.22rem !important;
  justify-content: center !important;
  text-align: center !important;
}
body .hairvina-product-archive .hairvina-product-card__link {
  width: auto !important;
  min-width: 8.6rem !important;
  min-height: 2.65rem !important;
  margin: 0.35rem auto 0 !important;
  padding: 0.65rem 1rem !important;
  align-self: center !important;
  text-align: center !important;
}

/* Product-detail and article Related Products use one shared visual rhythm. */
body .hairvina-related-products-carousel .hairvina-product-card__body,
body .hairvina-blog-related-products .hairvina-product-card__body {
  grid-template-rows: 2.1rem 3.6rem 2.75rem 2.65rem !important;
  gap: 0.36rem !important;
  height: 13.55rem !important;
  min-height: 13.55rem !important;
  padding: 0.75rem 0.75rem 0.85rem !important;
  justify-items: center !important;
  text-align: center !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__category,
body .hairvina-blog-related-products .hairvina-product-card__category {
  display: flex !important;
  width: 100% !important;
  height: 2.1rem !important;
  min-height: 2.1rem !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__body h3,
body .hairvina-blog-related-products .hairvina-product-card__body h3 {
  display: flex !important;
  width: 100% !important;
  height: 3.6rem !important;
  min-height: 3.6rem !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__body h3 > a,
body .hairvina-blog-related-products .hairvina-product-card__body h3 > a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
body .hairvina-related-products-carousel .hairvina-blog-related-products__rating,
body .hairvina-blog-related-products .hairvina-blog-related-products__rating {
  display: flex !important;
  width: 100% !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}
body .hairvina-related-products-carousel .hairvina-rating,
body .hairvina-blog-related-products .hairvina-rating {
  width: 100% !important;
  margin: 0 !important;
  align-items: center !important;
  flex-direction: column !important;
  gap: 0.18rem !important;
  justify-content: center !important;
  text-align: center !important;
}
body .hairvina-related-products-carousel .hairvina-product-card__button,
body .hairvina-blog-related-products .hairvina-product-card__button {
  grid-row: 4 !important;
  min-width: 8rem !important;
  min-height: 2.55rem !important;
  margin: 0 auto !important;
  align-self: center !important;
  justify-self: center !important;
}

/* Products Mentioned: compact horizontal cards; one complete card per row on mobile. */
.hairvina-article-product-previews {
  width: 100% !important;
  max-width: 100% !important;
  padding: 1rem !important;
  overflow: hidden !important;
}
.hairvina-article-product-previews > div {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.85rem !important;
}
.hairvina-article-product-preview {
  display: grid !important;
  grid-template-columns: 6.25rem minmax(0, 1fr) !important;
  grid-template-rows: minmax(7.5rem, auto) !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 7.5rem !important;
  height: auto !important;
}
.hairvina-article-product-preview__media {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 6.25rem !important;
  height: 100% !important;
  min-height: 7.5rem !important;
}
.hairvina-article-product-preview__media img,
.hairvina-article-product-preview__placeholder {
  width: 100% !important;
  height: 100% !important;
  min-height: 7.5rem !important;
}
.hairvina-article-product-preview__copy {
  display: grid !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  grid-template-rows: auto minmax(2.7rem, auto) auto auto !important;
  gap: 0.3rem !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0.7rem 0.8rem !important;
  align-content: center !important;
}
.hairvina-article-product-preview__copy strong {
  display: -webkit-box !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.hairvina-article-product-preview__rating {
  margin: 0 !important;
}
.hairvina-article-product-preview__view {
  margin: 0 !important;
  align-self: start !important;
  white-space: nowrap !important;
}

/* BEST SELLING PRODUCTS: reduce oversized empty boxes without clipping titles. */
.hairvina-blog-products-list { gap: 0.65rem !important; }
.hairvina-blog-product {
  grid-template-columns: 4.6rem minmax(0, 1fr) !important;
  gap: 0.7rem !important;
  min-height: 7.3rem !important;
  height: auto !important;
  padding: 0.6rem !important;
}
.hairvina-blog-product > .hairvina-blog-product__media,
.hairvina-blog-product > .hairvina-blog-product__media img {
  width: 4.6rem !important;
  height: 4.6rem !important;
}
.hairvina-blog-product > div {
  grid-template-rows: auto auto auto !important;
  gap: 0.28rem !important;
  min-height: 6rem !important;
}
.hairvina-blog-product h4 {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.hairvina-blog-product__link {
  margin: 0.1rem 0 0 !important;
  align-self: start !important;
}

@media (max-width: 700px) {
  body .hairvina-product-archive .hairvina-product-card__category {
    display: none !important;
  }
  body .hairvina-product-archive .hairvina-product-card__title {
    height: 3.5rem !important;
    min-height: 3.5rem !important;
    max-height: 3.5rem !important;
    line-height: 1.35 !important;
  }
  body .hairvina-product-archive .hairvina-product-card__rating {
    width: calc(100% - 1.2rem) !important;
    margin: 0.35rem 0.6rem 0.15rem !important;
  }
  body .hairvina-product-archive .hairvina-product-card__link {
    min-width: 7rem !important;
    min-height: 2.4rem !important;
    padding: 0.55rem 0.7rem !important;
  }
  .hairvina-article-product-previews > div {
    grid-template-columns: 1fr !important;
  }
  .hairvina-article-product-preview {
    grid-template-columns: 5.5rem minmax(0, 1fr) !important;
    grid-template-rows: minmax(7rem, auto) !important;
    min-height: 7rem !important;
  }
  .hairvina-article-product-preview__media {
    width: 5.5rem !important;
    min-height: 7rem !important;
  }
  .hairvina-article-product-preview__media img,
  .hairvina-article-product-preview__placeholder {
    min-height: 7rem !important;
  }
  .hairvina-blog-related-products .hairvina-carousel__viewport {
    width: 100% !important;
    overflow: hidden !important;
  }
  .hairvina-blog-related-products .hairvina-carousel__track {
    gap: 0.75rem !important;
  }
  .hairvina-blog-related-products .hairvina-carousel__slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
  .hairvina-blog-product {
    grid-template-columns: 4.25rem minmax(0, 1fr) !important;
    min-height: 6.8rem !important;
  }
  .hairvina-blog-product > .hairvina-blog-product__media,
  .hairvina-blog-product > .hairvina-blog-product__media img {
    width: 4.25rem !important;
    height: 4.25rem !important;
  }
  .hairvina-blog-product > div {
    min-height: 5.6rem !important;
  }
}

/* Measured end-of-file overrides: keep responsive cards compact and complete. */
body .hairvina-product-card__button{box-sizing:border-box!important;display:inline-flex!important;width:auto!important;min-width:8rem!important;height:2.6rem!important;min-height:2.6rem!important;max-height:2.6rem!important;margin:0 auto!important;padding:.55rem .85rem!important;align-items:center!important;justify-content:center!important;align-self:center!important;justify-self:center!important;line-height:1!important}
body .hairvina-article-product-preview__media,body .hairvina-article-product-preview__copy,body .hairvina-article-product-preview__media img,body .hairvina-article-product-preview__placeholder{box-sizing:border-box!important}
body .hairvina-blog-product>p:empty{display:none!important}
body .hairvina-blog-product>div>p{margin:0!important}
@media(max-width:700px){body .hairvina-shop-layout .hairvina-shop-card__body{display:grid!important;grid-template-rows:4.45rem 3rem 2.45rem!important;gap:.3rem!important;height:10.8rem!important;min-height:10.8rem!important;padding:.65rem .55rem .75rem!important;align-content:start!important;justify-items:center!important}body .hairvina-shop-layout .hairvina-shop-card__body>h2{display:-webkit-box!important;width:100%!important;height:4.45rem!important;min-height:4.45rem!important;margin:0!important;overflow:hidden!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;align-self:center!important;text-align:center!important}body .hairvina-shop-layout .hairvina-shop-card__rating{display:flex!important;width:100%!important;height:3rem!important;min-height:3rem!important;margin:0!important;align-items:center!important;justify-content:center!important;text-align:center!important}body .hairvina-shop-layout .hairvina-shop-card__actions{display:flex!important;width:100%!important;height:2.45rem!important;min-height:2.45rem!important;margin:0!important;align-items:center!important;justify-content:center!important}body .hairvina-product-card__button{min-width:7.15rem!important;height:2.45rem!important;min-height:2.45rem!important;max-height:2.45rem!important;padding:.5rem .65rem!important}}
@media(max-width:700px){body .hairvina-shop-layout .hairvina-shop-card .hairvina-shop-card__body>h2{grid-row:1!important}body .hairvina-shop-layout .hairvina-shop-card .hairvina-shop-card__rating{grid-row:2!important}body .hairvina-shop-layout .hairvina-shop-card .hairvina-shop-card__actions{display:flex!important;grid-row:3!important;visibility:visible!important;opacity:1!important}body .hairvina-shop-layout .hairvina-shop-card .hairvina-shop-card__actions .hairvina-product-card__button{display:inline-flex!important}}

/* 2026-10-28 blog product-card polish: prevent clipping and give CTAs feedback. */
body .hairvina-article-product-preview {
  grid-template-columns: 6.5rem minmax(0, 1fr) !important;
  grid-template-rows: 10rem !important;
  height: 10rem !important;
  min-height: 10rem !important;
  overflow: hidden !important;
}
body .hairvina-article-product-preview__media,
body .hairvina-article-product-preview__media img,
body .hairvina-article-product-preview__placeholder {
  width: 6.5rem !important;
  height: 10rem !important;
  min-height: 10rem !important;
}
body .hairvina-article-product-preview__copy {
  grid-template-rows: auto minmax(2.7rem, auto) auto auto !important;
  gap: 0.3rem !important;
  height: 10rem !important;
  padding: 0.75rem 0.85rem !important;
  align-content: start !important;
  overflow: hidden !important;
}
body .hairvina-article-product-preview__copy small {
  margin: 0 !important;
  line-height: 1.25 !important;
}
body .hairvina-article-product-preview__copy strong {
  max-height: 3.75rem !important;
  line-height: 1.3 !important;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
body .hairvina-article-product-preview__rating .hairvina-rating {
  align-items: flex-start !important;
}
body .hairvina-article-product-preview__view {
  margin-top: 0.05rem !important;
}

body .hairvina-blog-product {
  grid-template-columns: 7rem minmax(0, 1fr) !important;
  grid-template-rows: 7.75rem !important;
  height: 7.75rem !important;
  min-height: 7.75rem !important;
  max-height: 7.75rem !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  align-items: stretch !important;
}
body .hairvina-blog-product > .hairvina-blog-product__media,
body .hairvina-blog-product > .hairvina-blog-product__media img {
  box-sizing: border-box !important;
  width: 7rem !important;
  height: 7.75rem !important;
  min-height: 7.75rem !important;
  margin: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}
body .hairvina-blog-product > div {
  display: grid !important;
  grid-template-rows: minmax(2.4rem, auto) auto auto !important;
  gap: 0.3rem !important;
  height: 7.75rem !important;
  padding: 0.7rem 0.85rem !important;
  align-content: center !important;
  overflow: hidden !important;
}
body .hairvina-blog-product h4 {
  max-height: 3.55rem !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
body .hairvina-blog-product__link {
  display: inline-flex !important;
  width: max-content !important;
  margin: 0 !important;
  padding: 0.48rem 0.75rem !important;
  border-radius: 999px !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease !important;
}
body .hairvina-blog-product__link:hover,
body .hairvina-blog-product__link:focus-visible {
  color: #fff !important;
  background: #bd537c !important;
  box-shadow: 0 .4rem 1rem rgba(162, 62, 101, .22) !important;
  transform: translateY(-2px) !important;
  outline: none !important;
}
@media(max-width:700px){body .hairvina-article-product-preview{grid-template-columns:5.35rem minmax(0,1fr)!important;grid-template-rows:9.5rem!important;height:9.5rem!important;min-height:9.5rem!important}body .hairvina-article-product-preview__media,body .hairvina-article-product-preview__media img,body .hairvina-article-product-preview__placeholder{width:5.35rem!important;height:9.5rem!important;min-height:9.5rem!important}body .hairvina-article-product-preview__copy{height:9.5rem!important;padding:.65rem .7rem!important}body .hairvina-blog-product{grid-template-columns:5.5rem minmax(0,1fr)!important;grid-template-rows:7.5rem!important;height:7.5rem!important;min-height:7.5rem!important;max-height:7.5rem!important}body .hairvina-blog-product>.hairvina-blog-product__media,body .hairvina-blog-product>.hairvina-blog-product__media img{width:5.5rem!important;height:7.5rem!important;min-height:7.5rem!important}body .hairvina-blog-product>div{height:7.5rem!important;padding:.6rem .7rem!important}}
body .hairvina-blog-product,body .hairvina-blog-product>.hairvina-blog-product__media,body .hairvina-blog-product>div{box-sizing:border-box!important;height:8.5rem!important;min-height:8.5rem!important;max-height:8.5rem!important}
body .hairvina-blog-product>.hairvina-blog-product__media,body .hairvina-blog-product>.hairvina-blog-product__media img{height:8.5rem!important;min-height:8.5rem!important;max-height:8.5rem!important}
body .hairvina-blog-product__link{padding:.38rem .72rem!important}
@media(max-width:700px){body .hairvina-blog-product,body .hairvina-blog-product>.hairvina-blog-product__media,body .hairvina-blog-product>.hairvina-blog-product__media img,body .hairvina-blog-product>div{height:8.5rem!important;min-height:8.5rem!important;max-height:8.5rem!important}}
body .hairvina-blog-product{grid-template-rows:1fr!important}
body .hairvina-blog-product>.hairvina-blog-product__media,body .hairvina-blog-product>.hairvina-blog-product__media img{height:100%!important;min-height:0!important;max-height:none!important;align-self:stretch!important}
body .hairvina-blog-product>div{height:100%!important;min-height:0!important;max-height:none!important}
body .hairvina-article-product-preview__copy>small{grid-row:1!important}
body .hairvina-article-product-preview__copy>strong{grid-row:2!important}
body .hairvina-article-product-preview__copy>.hairvina-article-product-preview__rating{grid-row:3!important}
body .hairvina-article-product-preview__copy>.hairvina-article-product-preview__view{grid-row:4!important}
body .hairvina-article-product-preview__copy>p:empty{display:none!important}
body .hairvina-article-product-preview__copy>p:last-child{display:flex!important;grid-row:4!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;align-items:flex-start!important}

/* Search products reuse the Products archive card system verbatim. */
body .hairvina-search-product-layout.hairvina-shop-layout {
  display: block !important;
  width: 100% !important;
}
body .hairvina-search-product-layout .hairvina-shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
  margin-inline: 0 !important;
}
@media (max-width: 700px) {
  body .hairvina-search-product-layout .hairvina-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }
}

/* Product/search card titles share one balanced alignment and safe inset. */
body .hairvina-shop-layout .hairvina-shop-card__body > h2 {
  box-sizing: border-box !important;
  width: 100% !important;
  padding-inline: 0.65rem !important;
  text-align: center !important;
  text-wrap: balance;
}
body .hairvina-shop-layout .hairvina-shop-card__body > h2 > a {
  display: block !important;
  width: 100% !important;
}

/* Factory-direct value statement inside every product description. */
.hairvina-factory-direct-note {
  margin: 0 0 1.65rem;
  padding: 1rem 1.15rem;
  border: 1px solid #efd4df;
  border-left: 0.24rem solid #d77d9e;
  border-radius: 0.75rem;
  color: #504249;
  background: linear-gradient(135deg, #fffafd, #fcedf2);
}
.hairvina-factory-direct-note > span {
  display: block;
  margin-bottom: 0.35rem;
  color: #ad5576;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.hairvina-factory-direct-note p { margin: 0 !important; }

/* Review continuation after the description; the Reviews tab remains linked. */
.hairvina-product-review-preview {
  clear: both;
  box-sizing: border-box;
  width: min(100%, 75rem);
  margin: 2.25rem auto 3rem;
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border: 1px solid #eed9e1;
  border-radius: 1.1rem;
  background: #fffafd;
}
.hairvina-product-review-preview__heading {
  display: flex;
  margin-bottom: 1.15rem;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
}
.hairvina-product-review-preview__heading > div > span {
  color: #b75a7d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.hairvina-product-review-preview__heading h2 {
  margin: 0.25rem 0 0.35rem !important;
  color: #44393e;
  font-size: clamp(1.45rem, 3vw, 2.1rem) !important;
  line-height: 1.12 !important;
}
.hairvina-product-review-preview__heading p {
  margin: 0 !important;
  color: #756970;
}
.hairvina-product-review-preview__heading > .hairvina-rating {
  flex: 0 0 auto;
  align-items: flex-end !important;
}
.hairvina-product-review-preview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.hairvina-product-review-preview__card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #eddde3;
  border-radius: 0.85rem;
  background: #fff;
}
.hairvina-product-review-preview__card > header {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}
.hairvina-product-review-preview__stars {
  display: inline-flex;
  color: #d5cdd0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.hairvina-product-review-preview__stars .is-filled { color: #e8a32f; }
.hairvina-product-review-preview__meta {
  display: flex;
  margin: 0.65rem 0 0.55rem !important;
  gap: 0.5rem;
  align-items: baseline;
  justify-content: space-between;
  color: #746970;
  font-size: 0.77rem;
}
.hairvina-product-review-preview__meta strong { color: #44393e; }
.hairvina-product-review-preview__content > p,
.hairvina-product-review-preview__reply p { margin: 0 !important; }
.hairvina-product-review-preview__content {
  color: #554a50;
  font-size: 0.9rem;
  line-height: 1.6;
}
.hairvina-product-review-preview__reply {
  margin-top: 0.8rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  color: #5d4d54;
  background: #faedf2;
  font-size: 0.82rem;
  line-height: 1.55;
}
.hairvina-product-review-preview__reply strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #a44368;
}
.hairvina-product-review-preview__actions {
  display: flex;
  margin-top: 1.15rem;
  justify-content: center;
}
.hairvina-product-review-preview__actions a {
  display: inline-flex;
  min-height: 2.7rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: #d47699;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.hairvina-product-review-preview__actions a:hover,
.hairvina-product-review-preview__actions a:focus-visible {
  background: #b9577c;
  box-shadow: 0 0.5rem 1.2rem rgba(163, 67, 104, 0.2);
  transform: translateY(-2px);
}

/* Mobile Products Mentioned: one clean row per product with a full-height image. */
@media (max-width: 700px) {
  body .hairvina-article-product-previews {
    margin-inline: 0 !important;
    padding: 0.75rem !important;
  }
  body .hairvina-article-product-previews > div {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.7rem !important;
  }
  body .hairvina-article-product-preview {
    grid-template-columns: 6.25rem minmax(0, 1fr) !important;
    grid-template-rows: 8.75rem !important;
    width: 100% !important;
    height: 8.75rem !important;
    min-height: 8.75rem !important;
  }
  body .hairvina-article-product-preview__media,
  body .hairvina-article-product-preview__media img,
  body .hairvina-article-product-preview__placeholder {
    width: 6.25rem !important;
    height: 8.75rem !important;
    min-height: 8.75rem !important;
  }
  body .hairvina-article-product-preview__copy {
    display: grid !important;
    grid-template-rows: auto minmax(2.45rem, auto) auto auto !important;
    gap: 0.25rem !important;
    height: 8.75rem !important;
    padding: 0.62rem 0.7rem !important;
    align-content: center !important;
  }
  body .hairvina-article-product-preview__copy strong {
    max-height: 2.7rem !important;
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }
  body .hairvina-article-product-preview__rating .hairvina-rating {
    align-items: flex-start !important;
    text-align: left !important;
  }
  body .hairvina-article-product-preview__view {
    align-self: end !important;
    justify-self: start !important;
  }
  .hairvina-product-review-preview__heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .hairvina-product-review-preview__heading > .hairvina-rating {
    align-items: flex-start !important;
  }
  .hairvina-product-review-preview__grid { grid-template-columns: 1fr; }
}

.hairvina-review-pagination {
  margin: 1rem 0 1.2rem;
}
.hairvina-review-pagination ul {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  list-style: none !important;
}
.hairvina-review-pagination a,
.hairvina-review-pagination span {
  display: inline-flex;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #e9ced9;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #9e4668;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 750;
  text-decoration: none !important;
}
.hairvina-review-pagination .current {
  color: #fff;
  border-color: #d47699;
  background: #d47699;
}
.hairvina-review-pagination a:hover,
.hairvina-review-pagination a:focus-visible {
  color: #fff;
  border-color: #b9577c;
  background: #b9577c;
}

.hairvina-review-pagination--preview ul {
  justify-content: center;
}

/* Final mobile polish: keep Products Mentioned images and copy balanced. */
@media (max-width: 700px) {
  body .hairvina-article-product-preview {
    grid-template-columns: 7rem minmax(0, 1fr) !important;
    grid-template-rows: 8.25rem !important;
    height: 8.25rem !important;
    min-height: 8.25rem !important;
    overflow: hidden !important;
  }
  body .hairvina-article-product-preview__media,
  body .hairvina-article-product-preview__media img,
  body .hairvina-article-product-preview__placeholder {
    width: 7rem !important;
    height: 8.25rem !important;
    min-height: 8.25rem !important;
  }
  body .hairvina-article-product-preview__media,
  body .hairvina-article-product-preview__placeholder {
    display: grid !important;
    place-items: center !important;
    padding: 0.45rem !important;
    text-align: center !important;
  }
  body .hairvina-article-product-preview__copy {
    grid-template-rows: auto minmax(2.35rem, auto) auto auto !important;
    height: 8.25rem !important;
    padding: 0.58rem 0.68rem !important;
    align-content: center !important;
  }
  body .hairvina-article-product-preview__copy strong {
    font-size: 0.77rem !important;
    line-height: 1.28 !important;
  }
  body .hairvina-article-product-preview__copy .hairvina-rating {
    margin: 0 !important;
  }
}

/* Review preview is a clean continuation list, not a second boxed panel. */
body .hairvina-product-review-preview {
  padding: 1.75rem 0 !important;
  border: 0 !important;
  border-top: 1px solid #eadde2 !important;
  border-bottom: 1px solid #eadde2 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body .hairvina-product-review-preview[hidden] {
  display: none !important;
}
body .hairvina-product-review-preview__heading {
  margin-bottom: 0 !important;
  padding: 0 0 1.1rem !important;
  border-bottom: 1px solid #eadde2;
  align-items: center !important;
}
body .hairvina-product-review-preview__grid {
  display: block !important;
}
body .hairvina-product-review-preview__card {
  display: grid !important;
  grid-template-columns: minmax(10rem, 0.28fr) minmax(0, 1fr) !important;
  grid-template-areas:
    "kind content"
    "meta content"
    ". reply" !important;
  gap: 0.3rem 1.5rem !important;
  padding: 1rem 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eee3e7 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body .hairvina-product-review-preview__card:last-child {
  border-bottom: 0 !important;
}
body .hairvina-product-review-preview__card > header {
  grid-area: kind;
  align-self: end;
  justify-content: flex-start !important;
}
body .hairvina-product-review-preview__meta {
  grid-area: meta;
  margin: 0.25rem 0 0 !important;
  flex-wrap: wrap;
}
body .hairvina-product-review-preview__content {
  grid-area: content;
  align-self: center;
}
body .hairvina-product-review-preview__content > :first-child,
body .hairvina-product-review-preview__reply p > :first-child {
  margin-top: 0 !important;
}
body .hairvina-product-review-preview__content > :last-child,
body .hairvina-product-review-preview__reply p > :last-child {
  margin-bottom: 0 !important;
}
body .hairvina-product-review-preview__reply {
  grid-area: reply;
  margin-top: 0.55rem !important;
}
body .hairvina-product-review-preview__actions {
  margin-top: 0.9rem !important;
}

@media (max-width: 700px) {
  body .hairvina-product-review-preview {
    padding: 1.25rem 0 !important;
  }
  body .hairvina-product-review-preview__heading {
    align-items: flex-start !important;
  }
  body .hairvina-product-review-preview__card {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "kind"
      "meta"
      "content"
      "reply" !important;
    gap: 0.45rem !important;
    padding: 0.95rem 0 !important;
  }
  body .hairvina-product-review-preview__card > header {
    align-self: auto;
  }
}

/* Ratings are real navigation controls everywhere they appear. */
body a.hairvina-rating {
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  text-decoration: none !important;
}
body a.hairvina-rating > * {
  pointer-events: none !important;
}
body a.hairvina-rating:hover .hairvina-rating__text,
body a.hairvina-rating:focus-visible .hairvina-rating__text {
  color: #a44368 !important;
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
}

/* Homepage collection cards: every label, title, rating, and CTA keeps one shared baseline. */
body.home .hairvina-carousel--products .hairvina-product-card__body {
  display: grid !important;
  box-sizing: border-box !important;
  grid-template-rows: 3.2rem 4.15rem 2.65rem 2.6rem !important;
  gap: 0.32rem !important;
  height: 15.9rem !important;
  min-height: 15.9rem !important;
  padding: 0.8rem 0.75rem 0.9rem !important;
  align-items: start !important;
  justify-items: center !important;
  text-align: center !important;
}
body.home .hairvina-carousel--products .hairvina-product-card__category {
  display: -webkit-box !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: 3.2rem !important;
  min-height: 3.2rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  line-height: 1.45 !important;
  text-align: center !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
body.home .hairvina-carousel--products .hairvina-product-card__body h3 {
  display: flex !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 4.15rem !important;
  min-height: 4.15rem !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.38 !important;
  text-align: center !important;
}
body.home .hairvina-carousel--products .hairvina-product-card__body h3 > a {
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
body.home .hairvina-carousel--products .hairvina-product-card__body > .hairvina-rating {
  grid-row: 3 !important;
  width: 100% !important;
  height: 2.65rem !important;
  min-height: 2.65rem !important;
  margin: 0 !important;
  align-self: center !important;
  justify-self: center !important;
}
body.home .hairvina-carousel--products .hairvina-product-card__button {
  grid-row: 4 !important;
  height: 2.6rem !important;
  min-height: 2.6rem !important;
  max-height: 2.6rem !important;
  margin: 0 auto !important;
  align-self: center !important;
  justify-self: center !important;
}

/* Blog covers use one editorial 16:9 frame across every article. */
.hairvina-article-featured-media {
  display: block;
  width: 100%;
  margin: 1.1rem 0 2rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid #f0d8e1;
  border-radius: 1rem;
  background: #fbf4f6;
  box-shadow: 0 0.7rem 1.8rem rgba(84, 52, 64, 0.08);
}
.hairvina-article-featured-media__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 600px) {
  .hairvina-article-featured-media {
    margin: 0.85rem 0 1.4rem;
    border-radius: 0.75rem;
  }
}

/* Article slides and editor-inserted media stay large, centered, and consistent. */
.hairvina-article__content .hairvina-inline-media,
.hairvina-article__content .hairvina-inline-embed,
.hairvina-local-draft-preview__content .hairvina-inline-media,
.hairvina-local-draft-preview__content .hairvina-inline-embed {
  width: min(100%, 980px);
  margin: clamp(1.8rem, 4vw, 3rem) auto;
  text-align: center;
}

.hairvina-article__content .hairvina-inline-media img,
.hairvina-local-draft-preview__content .hairvina-inline-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 auto;
  border: 1px solid #f1dbe4;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(84, 48, 63, 0.09);
}

.hairvina-article__content .hairvina-inline-media figcaption,
.hairvina-local-draft-preview__content .hairvina-inline-media figcaption {
  margin: 0.75rem auto 0;
  color: #766b70;
  font-size: 0.82rem;
  line-height: 1.5;
}

.hairvina-editorial-queue__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.65rem;
  width: min(100%, 760px);
  margin: 1.35rem auto 0;
}

.hairvina-editorial-queue__search input {
  min-width: 0;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 1px solid #e8cbd7;
  border-radius: 999px;
  background: #fff;
}

.hairvina-editorial-queue__search button,
.hairvina-editorial-queue__search a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: #d983a5;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.hairvina-editorial-queue__search a {
  background: #f8edf2;
  color: #9a3f64;
}

.hairvina-editorial-queue__result-note {
  margin: 0.8rem 0 0;
  color: #6f6268;
  text-align: center;
}

@media (max-width: 640px) {
  .hairvina-editorial-queue__search {
    grid-template-columns: 1fr;
  }

  .hairvina-article__content .hairvina-inline-media img,
  .hairvina-local-draft-preview__content .hairvina-inline-media img {
    border-radius: 12px;
  }
}

/* Final blog sidebar alignment override. */
body .hairvina-blog-products-widget .hairvina-blog-product {
  display: grid !important;
  grid-template-columns: 7.25rem minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 0 !important;
  min-height: 9rem !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product > .hairvina-blog-product__media,
body .hairvina-blog-products-widget .hairvina-blog-product > .hairvina-blog-product__media img {
  width: 7.25rem !important;
  height: 100% !important;
  min-height: 9rem !important;
  max-height: none !important;
  object-fit: cover !important;
  align-self: stretch !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product > div:last-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto 1fr auto !important;
  gap: .55rem .7rem !important;
  min-width: 0 !important;
  min-height: 9rem !important;
  padding: .85rem .9rem !important;
  align-content: stretch !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product h4 {
  display: block !important;
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-line-clamp: unset !important;
  font-size: .88rem !important;
  line-height: 1.32 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 3 !important;
  align-self: center !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  gap: .16rem .35rem !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating__stars {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  font-size: .77rem !important;
  line-height: 1 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating__text {
  flex: 0 1 auto !important;
  font-size: .58rem !important;
  line-height: 1.2 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__link {
  grid-column: 2 !important;
  grid-row: 3 !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 0 !important;
  padding: .48rem .72rem !important;
  white-space: nowrap !important;
  font-size: .67rem !important;
  line-height: 1 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product__link:hover,
body .hairvina-blog-products-widget .hairvina-blog-product__link:focus-visible {
  transform: translateY(-2px) !important;
  background: #c45f89 !important;
  color: #fff !important;
  box-shadow: 0 .45rem 1rem rgba(178, 77, 119, .2) !important;
}

@media (max-width: 600px) {
  body .hairvina-blog-products-widget .hairvina-blog-product {
    grid-template-columns: 6.25rem minmax(0, 1fr) !important;
    min-height: 8.5rem !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product > .hairvina-blog-product__media,
  body .hairvina-blog-products-widget .hairvina-blog-product > .hairvina-blog-product__media img {
    width: 6.25rem !important;
    min-height: 8.5rem !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product > div:last-child {
    min-height: 8.5rem !important;
    padding: .75rem .8rem !important;
    column-gap: .5rem !important;
  }
}

body .hairvina-blog-products-widget .hairvina-blog-product > div:last-child > p:last-child {
  display: flex !important;
  grid-column: 2 !important;
  grid-row: 3 !important;
  align-self: center !important;
  justify-self: end !important;
  margin: 0 !important;
}

body .hairvina-blog-products-widget .hairvina-blog-product > div:last-child > p:last-child .hairvina-blog-product__link {
  grid-column: auto !important;
  grid-row: auto !important;
}

@media (max-width: 600px) {
  body .hairvina-blog-products-widget .hairvina-blog-product > div:last-child {
    grid-template-columns: minmax(4.15rem, 1fr) auto !important;
    column-gap: .25rem !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product__rating {
    overflow: hidden !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating {
    min-width: 0 !important;
    gap: .1rem !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating__stars {
    font-size: .66rem !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product__rating .hairvina-rating__text {
    flex-basis: 100% !important;
    white-space: nowrap !important;
    font-size: .52rem !important;
  }

  body .hairvina-blog-products-widget .hairvina-blog-product > div:last-child > p:last-child .hairvina-blog-product__link {
    padding: .43rem .5rem !important;
    font-size: .56rem !important;
  }
}

/* Article TOC: centered numbered badges instead of uneven native markers. */
body .hairvina-article-toc ol[data-toc-list] {
  counter-reset: hairvina-toc-item !important;
  display: grid !important;
  gap: .6rem !important;
  margin: .95rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body .hairvina-article-toc ol[data-toc-list] > li {
  counter-increment: hairvina-toc-item !important;
  display: grid !important;
  grid-template-columns: 1.65rem minmax(0, 1fr) !important;
  align-items: center !important;
  gap: .7rem !important;
  min-height: 1.65rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .hairvina-article-toc ol[data-toc-list] > li::before {
  content: counter(hairvina-toc-item) !important;
  display: grid !important;
  width: 1.65rem !important;
  height: 1.65rem !important;
  box-sizing: border-box !important;
  align-self: center !important;
  border: 1px solid #ebc5d4 !important;
  border-radius: 50% !important;
  color: #a63f66 !important;
  background: #fbeaf1 !important;
  font-size: .7rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  place-items: center !important;
}

body .hairvina-article-toc ol[data-toc-list] > li > a {
  display: block !important;
  min-width: 0 !important;
  padding: .15rem 0 !important;
  line-height: 1.45 !important;
}

body .hairvina-article-toc ol[data-toc-list] > li.is-level-3 {
  margin-left: 2.35rem !important;
}

@media (max-width: 600px) {
  body .hairvina-article-toc {
    padding: 1.1rem !important;
  }

  body .hairvina-article-toc ol[data-toc-list] > li {
    grid-template-columns: 1.5rem minmax(0, 1fr) !important;
    gap: .6rem !important;
    min-height: 1.5rem !important;
  }

  body .hairvina-article-toc ol[data-toc-list] > li::before {
    width: 1.5rem !important;
    height: 1.5rem !important;
    font-size: .64rem !important;
  }

  body .hairvina-article-toc ol[data-toc-list] > li.is-level-3 {
    margin-left: 1.4rem !important;
  }
}

/* Floating back-to-top control: shares the contact rail on desktop and mobile. */
.hairvina-floating-contact .hairvina-floating-contact__item--top {
  border-color: rgba(180, 46, 94, 0.2);
  color: #9f2d58;
  background: rgba(255, 248, 251, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.65rem) scale(0.92);
  animation: none;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hairvina-floating-contact .hairvina-floating-contact__item--top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.hairvina-floating-contact .hairvina-floating-contact__item--top:hover,
.hairvina-floating-contact .hairvina-floating-contact__item--top:focus-visible {
  color: #fff;
  background: #c9688d;
  animation: none;
  transform: translateY(-2px) scale(1.04);
}

.hairvina-floating-contact .hairvina-floating-contact__item--top svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke-width: 2.2;
}

@media (prefers-reduced-motion: reduce) {
  .hairvina-floating-contact .hairvina-floating-contact__item--top {
    transition: opacity 120ms ease, visibility 120ms ease;
  }
}

/* 2026-11-08 product archive spacing: keep copy away from card edges. */
body .hairvina-product-archive .hairvina-product-card__category {
  width: calc(100% - 2.5rem) !important;
  margin: 1.25rem auto 0 !important;
  padding-inline: .15rem !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

body .hairvina-product-archive .hairvina-product-card__title {
  width: calc(100% - 2.5rem) !important;
  margin: .65rem auto 0 !important;
  padding-inline: .15rem !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

body .hairvina-product-archive .hairvina-product-card__title a {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

@media (max-width: 700px) {
  body .hairvina-product-archive .hairvina-product-card__title {
    width: calc(100% - 1.5rem) !important;
    margin: 1.15rem auto 0 !important;
    padding-inline: .25rem !important;
    align-content: center !important;
  }
}

/* 2026-11-08 homepage company-introduction cleanup. */
body.home .hairvina-about {
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(2rem, 3.5vw, 3.25rem);
}

body.home .hairvina-about > .hairvina-section-title {
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

body.home .hairvina-about .hairvina-stat-grid {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

body.home .hairvina-about-video-panel {
  width: min(100%, var(--wp--style--global--wide-size, 1200px));
  margin: 0 auto !important;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #2f2027;
  box-shadow: 0 20px 50px rgba(55, 26, 39, 0.16);
}

body.home .hairvina-about-video-panel__cover {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  min-height: clamp(20rem, 50vw, 36rem) !important;
  aspect-ratio: 16 / 9 !important;
}

body.home .hairvina-about-video-panel__cover .wp-block-cover__image-background {
  position: absolute;
  inset: 0;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  transition: transform 500ms ease;
}

body.home .hairvina-about-video-panel:hover .wp-block-cover__image-background,
body.home .hairvina-about-video-panel:focus-within .wp-block-cover__image-background {
  transform: scale(1.025);
}

body.home .hairvina-about-video-panel__label {
  display: grid;
  place-items: center;
  width: min(90%, 34rem);
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

body.home .hairvina-about-video-panel__play {
  display: grid;
  width: 4.75rem;
  height: 4.75rem;
  margin: 0 0 1rem !important;
  padding-left: .3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  color: #fff;
  background: rgba(191, 76, 118, .86);
  box-shadow: 0 14px 34px rgba(42, 15, 25, .28);
  font-size: 1.55rem;
}

body.home .hairvina-about-video-panel__title {
  margin: 0 !important;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
}

body.home .hairvina-about-video-panel__note {
  display: none;
}

@media (max-width: 700px) {
  body.home .hairvina-about {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
  }

  body.home .hairvina-about-video-panel {
    width: calc(100% - 1.5rem);
    border-radius: .9rem;
  }

  body.home .hairvina-about-video-panel__cover {
    min-height: 18rem !important;
    aspect-ratio: 4 / 3;
  }

  body.home .hairvina-about-video-panel__play {
    width: 3.8rem;
    height: 3.8rem;
    font-size: 1.2rem;
  }
}

body.home .hairvina-about + .hairvina-product-showcase {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

@media (max-width: 700px) {
  body.home .hairvina-about + .hairvina-product-showcase {
    padding-top: 1.25rem;
  }
}

/* Shared homepage/About factory video. One YouTube URL powers both embeds. */
.hairvina-factory-video {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.1rem;
  color: #fff;
  background: #2f2027;
  box-shadow: 0 1.25rem 3rem rgba(62, 29, 43, 0.16);
}

body.home .hairvina-about > .hairvina-factory-video {
  width: min(calc(100% - 2rem), var(--wp--style--global--wide-size)) !important;
  max-width: var(--wp--style--global--wide-size) !important;
  margin-inline: auto !important;
}

.hairvina-factory-video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hairvina-factory-video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.hairvina-factory-video .fb-video,
.hairvina-factory-video .fb_iframe_widget,
.hairvina-factory-video .fb_iframe_widget > span,
.hairvina-factory-video .fb_iframe_widget iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* Long descriptions open as a calm preview and expand without moving reviews. */
.hairvina-product-details #tab-description.hairvina-description-collapsible {
  position: relative;
}

.hairvina-description-collapsible__content {
  position: relative;
  max-height: 36rem;
  overflow: hidden;
  transition: max-height 420ms ease;
}

.hairvina-description-collapsible:not(.is-expanded):not(.is-short) .hairvina-description-collapsible__content::after {
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 78%);
  content: "";
  pointer-events: none;
}

.hairvina-description-collapsible.is-expanded .hairvina-description-collapsible__content {
  max-height: none;
  overflow: visible;
}

.hairvina-description-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 13.5rem;
  margin: 1rem 50% 0;
  padding: 0.9rem 1.4rem;
  transform: translateX(-50%);
  border: 1px solid #e7a4bd;
  border-radius: 999px;
  background: #f8d9e5;
  color: #7e294c;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.hairvina-description-toggle span {
  white-space: nowrap;
}

.hairvina-description-toggle:hover,
.hairvina-description-toggle:focus-visible {
  border-color: #d77d9f;
  background: #f4c8d8;
}

.hairvina-description-toggle b {
  font-size: 1.1rem;
  transition: transform 200ms ease;
}

.hairvina-description-collapsible.is-expanded .hairvina-description-toggle b {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .hairvina-description-collapsible__content {
    max-height: 28rem;
  }

  .hairvina-company-reference--feedback .hairvina-company-hero .hairvina-about-scene--customer-testimonials,
  .hairvina-company-reference--feedback .hairvina-company-hero .hairvina-about-scene--customer-testimonials:hover,
  .hairvina-company-reference--feedback .hairvina-company-hero .hairvina-about-scene--customer-testimonials:focus-visible {
    background-color: #3f3037;
    background-position: center top;
    background-size: 100% auto;
  }
}

.hairvina-factory-video.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 2rem;
  text-align: center;
  background-image: linear-gradient(rgba(31, 18, 24, 0.38), rgba(31, 18, 24, 0.6)), var(--hairvina-video-poster);
  background-position: center;
  background-size: cover;
}

.hairvina-factory-video__play {
  display: grid;
  width: 4.8rem;
  height: 4.8rem;
  padding-left: 0.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(204, 80, 124, 0.9);
  box-shadow: 0 0.8rem 2rem rgba(35, 15, 23, 0.28);
  font-size: 1.45rem;
}

.hairvina-factory-video.is-placeholder strong {
  font-family: var(--wp--preset--font-family--system-serif);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
}

.hairvina-factory-video.is-placeholder small {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
}

/* About-page wholesale callout: balanced copy, clear one-line title, visible CTA. */
.hairvina-about-reference__offer {
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #c4547c 0%, #e993b2 100%);
  box-shadow: 0 1.2rem 3rem rgba(104, 44, 67, 0.16);
}

.hairvina-about-reference__offer > div {
  min-width: 0;
  flex: 1 1 auto;
}

.hairvina-about-reference__offer h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.75rem, 3.25vw, 3rem);
}

.hairvina-about-reference__offer > p:last-child {
  flex: 0 0 auto;
  margin: 0 !important;
}

.hairvina-about-reference__offer > a,
.hairvina-about-reference__offer > p:last-child > a {
  box-sizing: border-box;
  display: inline-flex !important;
  min-width: 14.5rem;
  margin-top: 0;
  padding: 1rem 1.4rem;
  border: 2px solid #fff !important;
  border-radius: 999px;
  color: #a92c59 !important;
  background: #fff !important;
  box-shadow: 0 0.7rem 1.7rem rgba(78, 26, 46, 0.17);
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.hairvina-about-reference__offer > a:hover,
.hairvina-about-reference__offer > a:focus-visible,
.hairvina-about-reference__offer > p:last-child > a:hover,
.hairvina-about-reference__offer > p:last-child > a:focus-visible {
  color: #7d1f41 !important;
  transform: translateY(-2px);
  box-shadow: 0 1rem 2.2rem rgba(78, 26, 46, 0.24);
}

/* Desktop keeps WooCommerce sorting; mobile uses the category switcher. */
.hairvina-mobile-category-select {
  display: none;
}

@media (max-width: 700px) {
  .hairvina-factory-video {
    border-radius: 0.8rem;
  }

  body.home .hairvina-about > .hairvina-factory-video {
    width: calc(100% - 1.5rem) !important;
  }

  .hairvina-about-reference__offer {
    gap: 1.25rem;
    padding: 1.75rem 1.25rem;
  }

  .hairvina-about-reference__offer h2 {
    white-space: nowrap;
    font-size: clamp(1.35rem, 5.6vw, 2rem);
    letter-spacing: -0.025em;
  }

  .hairvina-about-reference__offer > p:last-child,
  .hairvina-about-reference__offer > a,
  .hairvina-about-reference__offer > p:last-child > a {
    width: 100%;
    min-width: 0;
  }

  body.tax-product_cat .hairvina-archive-hero {
    display: block !important;
    padding-block: 1.5rem 1.25rem !important;
  }

  body.tax-product_cat .hairvina-archive-hero__grid,
  body.tax-product_cat .hairvina-archive-hero__grid:has(.hairvina-category-hero__media) {
    display: block !important;
    width: min(calc(100% - 1.5rem), var(--wp--style--global--wide-size)) !important;
    margin-inline: auto !important;
  }

  body.tax-product_cat .hairvina-archive-hero__copy {
    max-width: none !important;
  }

  body.tax-product_cat .hairvina-archive-hero .woocommerce-breadcrumb,
  body.tax-product_cat .hairvina-category-hero__media {
    display: none !important;
  }

  body.tax-product_cat .hairvina-archive-title {
    display: block !important;
    margin: 0 !important;
    font-size: clamp(1.9rem, 8vw, 2.45rem) !important;
    line-height: 1.08 !important;
  }

  body.tax-product_cat .hairvina-archive-description {
    margin: 0.65rem 0 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  body.tax-product_cat .hairvina-archive-layout {
    padding-top: 1.25rem !important;
  }

  body.tax-product_cat .hairvina-archive-sidebar.hairvina-shop-sidebar {
    display: none !important;
  }

  body.tax-product_cat .hairvina-archive-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 0.8fr) minmax(11.5rem, 1.2fr);
    gap: 0.75rem;
    align-items: center !important;
  }

  body.tax-product_cat .hairvina-archive-toolbar .woocommerce-result-count {
    width: auto !important;
    margin: 0 !important;
    font-size: 0.76rem !important;
    line-height: 1.35;
  }

  body.tax-product_cat .hairvina-archive-toolbar .woocommerce-ordering {
    display: none !important;
  }

  body.tax-product_cat .hairvina-mobile-category-select {
    display: block;
    width: 100%;
  }

  body.tax-product_cat .hairvina-mobile-category-select select {
    width: 100%;
    min-height: 2.65rem;
    padding: 0.55rem 2rem 0.55rem 0.7rem;
    border: 1px solid #ead4dc;
    border-radius: 999px;
    color: #5a3f49;
    background-color: #fff8fb;
    font-size: 0.78rem;
    font-weight: 700;
  }

  body.woocommerce-shop .hairvina-shop-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 0.8fr) minmax(11.5rem, 1.2fr) !important;
    gap: 0.75rem !important;
    align-items: center !important;
  }

  body.woocommerce-shop .hairvina-shop-toolbar > p {
    width: auto !important;
    margin: 0 !important;
    font-size: 0.76rem !important;
    line-height: 1.35;
  }

  body.woocommerce-shop .hairvina-shop-ordering {
    display: none !important;
  }

  body.woocommerce-shop .hairvina-mobile-category-select {
    display: block;
    width: 100%;
  }

  body.woocommerce-shop .hairvina-mobile-category-select select {
    width: 100%;
    min-height: 2.65rem;
    padding: 0.55rem 2rem 0.55rem 0.7rem;
    border: 1px solid #ead4dc;
    border-radius: 999px;
    color: #5a3f49;
    background-color: #fff8fb;
    font-size: 0.78rem;
    font-weight: 700;
  }
}

/* Final mobile header guard: reserve the utility row for language + sales CTA. */
@media (max-width: 782px) {
  .hairvina-brandbar__content > .hairvina-brandbar__contacts {
    display: none !important;
  }

  .hairvina-brandbar__content > .hairvina-brandbar__actions {
    width: 100% !important;
    margin-left: 0 !important;
    justify-content: flex-end !important;
  }
}

/* Final multilingual-header alignment and Google toolbar suppression. */
.hairvina-brandbar__actions {
  display: flex !important;
  min-height: 2rem;
  align-items: center !important;
  line-height: 1 !important;
}

.hairvina-brandbar__actions > .hairvina-language-switcher,
.hairvina-brandbar__actions > .hairvina-brandbar__contact,
.hairvina-brandbar__actions > .hairvina-social-links {
  box-sizing: border-box;
  height: 2rem !important;
  min-height: 2rem !important;
  align-self: center !important;
  margin-block: 0 !important;
}

.hairvina-brandbar__actions > .hairvina-social-links {
  display: flex !important;
  align-items: center !important;
}

.hairvina-brandbar__actions .hairvina-social-link,
.hairvina-brandbar__actions .hairvina-language-switcher__trigger,
.hairvina-brandbar__actions .hairvina-brandbar__contact {
  box-sizing: border-box !important;
  height: 2rem !important;
  min-height: 2rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.hairvina-brandbar .hairvina-language-switcher__trigger {
  margin: 0;
  transform: none !important;
}

.hairvina-header-main__inner > .hairvina-language-switcher {
  display: none;
}

html.translated-ltr,
html.translated-rtl {
  margin-top: 0 !important;
}

body > iframe.goog-te-banner-frame,
body > iframe.skiptranslate,
body > iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
body > .skiptranslate,
body > .VIpgJd-ZVi9od-ORHb,
.goog-te-banner-frame.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
}

@media (max-width: 782px) {
  .wp-site-blocks > header.wp-block-template-part .hairvina-header-main {
    overflow: visible !important;
  }

  .hairvina-brandbar .hairvina-language-switcher {
    display: none !important;
  }

  .hairvina-header-main__inner {
    column-gap: 0.45rem !important;
    justify-content: flex-start !important;
  }

  .hairvina-header-main__inner > .hairvina-brand-logo {
    order: 1 !important;
  }

  .hairvina-header-main__inner > .hairvina-language-switcher {
    display: block !important;
    order: 2 !important;
    margin: 0 0 0 auto !important;
    transform: translateY(0.375rem);
  }

  .hairvina-header-main__inner > .hairvina-primary-navigation {
    order: 3 !important;
    margin: 0 !important;
  }

  .hairvina-header-main__inner > .hairvina-header-search {
    width: 100% !important;
    flex: 1 0 100% !important;
    order: 4 !important;
  }

  .hairvina-header-main .hairvina-language-switcher__trigger {
    height: 2.25rem;
    min-height: 2.25rem;
    margin: 0;
  }

  .hairvina-header-main .hairvina-language-switcher__menu {
    position: fixed !important;
    top: var(--hairvina-language-menu-top, 3.5rem) !important;
    right: var(--hairvina-language-menu-right, 2.9rem) !important;
    left: auto !important;
    max-height: calc(100dvh - var(--hairvina-language-menu-top, 3.5rem) - 0.75rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* Final company-page cascade: keep the approved editorial layout above legacy rules. */
.hairvina-company-reference--staff .hairvina-company-hero::after,
.hairvina-company-reference--feedback .hairvina-company-hero::after {
  display: block;
  background: linear-gradient(90deg, rgba(45, 27, 35, 0.72), rgba(45, 27, 35, 0.25) 64%, rgba(45, 27, 35, 0.12));
}

.hairvina-company-reference--staff .hairvina-company-hero,
.hairvina-company-reference--feedback .hairvina-company-hero {
  min-height: clamp(28rem, 46vw, 39rem);
  background: #f5eef1;
}

.hairvina-company-reference--staff .hairvina-company-hero__media,
.hairvina-company-reference--feedback .hairvina-company-hero__media {
  filter: blur(2px);
  transform: scale(1.035);
}

.hairvina-company-hero__overlay--clean {
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
}

.hairvina-company-hero__overlay--clean h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.35rem, 4.4vw, 3.8rem);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.hairvina-company-hero__overlay--clean > p:last-child {
  max-width: 47rem;
  margin: 0;
  padding-left: 1.1rem;
  border-left: 3px solid rgba(255, 255, 255, 0.68);
}

body .hairvina-company-reference .hairvina-company-cta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: center !important;
  justify-content: stretch !important;
  overflow: hidden;
  border: 1px solid #eccbd7;
  border-radius: 1.1rem;
  color: #4f3f46;
  background: linear-gradient(135deg, #fff8fb 0%, #fdeaf1 55%, #f8dce7 100%);
  box-shadow: 0 1.15rem 3rem rgba(96, 48, 67, 0.12);
  text-align: left !important;
}

body .hairvina-company-reference .hairvina-company-cta h2,
body .hairvina-company-reference .hairvina-company-cta p {
  width: auto !important;
  color: #4f3f46 !important;
  text-align: left !important;
}

body .hairvina-company-reference .hairvina-company-cta h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  white-space: nowrap;
}

body .hairvina-company-reference .hairvina-company-cta > a {
  min-width: 12.5rem;
  min-height: 3.35rem;
  border: 1px solid #b83365 !important;
  border-radius: 999px;
  color: #fff !important;
  background: #b83365 !important;
  box-shadow: 0 0.65rem 1.45rem rgba(184, 51, 101, 0.2);
}

body .hairvina-company-reference .hairvina-company-cta > a:hover,
body .hairvina-company-reference .hairvina-company-cta > a:focus-visible {
  color: #fff !important;
  background: #96254f !important;
  transform: translateY(-2px);
}

body .hairvina-company-reference--feedback .hairvina-company-cta {
  margin-top: clamp(3rem, 6vw, 5.5rem) !important;
}

body .hairvina-about-reference__staff-intro--text-only {
  display: grid !important;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1.45fr) !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: start !important;
  max-width: none !important;
  padding: clamp(2rem, 4vw, 3.25rem) 0 !important;
  border: 0 !important;
  border-top: 1px solid #eadde2 !important;
  border-bottom: 1px solid #eadde2 !important;
  background: transparent !important;
  text-align: left !important;
}

body .hairvina-about-reference__staff-intro--text-only h2,
body .hairvina-about-reference__staff-intro--text-only > p {
  margin: 0 !important;
  text-align: left !important;
}

body .hairvina-about-reference__staff-intro--text-only > p {
  max-width: 46rem;
  color: #675f63;
  font-size: 1.03rem;
  line-height: 1.85;
}

body .hairvina-company-reference .hairvina-feedback-intro h2,
body .hairvina-company-reference .hairvina-team-department h2,
body .hairvina-about-reference .hairvina-about-reference__copy h1,
body .hairvina-about-reference .hairvina-about-reference__development > h2,
body .hairvina-about-reference .hairvina-about-reference__contact h2 {
  max-width: 100% !important;
  font-size: clamp(1.85rem, 2.9vw, 2.6rem) !important;
  letter-spacing: -0.035em !important;
  white-space: nowrap !important;
}

body .hairvina-company-reference--feedback .hairvina-feedback-intro {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.hairvina-feedback-evidence {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
  padding-top: 0.75rem;
}

.hairvina-feedback-evidence figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #eadde2;
  border-radius: 0.85rem;
  aspect-ratio: 9 / 16;
  background: #f8f2f4;
  box-shadow: 0 0.75rem 1.8rem rgba(80, 44, 59, 0.09);
}

.hairvina-feedback-evidence img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body .hairvina-shorts-carousel .hairvina-short-page {
  box-sizing: border-box !important;
  flex: 0 0 100% !important;
  padding: 0.4rem !important;
  box-shadow: none !important;
}

.hairvina-company-reference--staff .hairvina-team-grid article:nth-child(1) .hairvina-about-scene {
  background-position: center 24%;
}

.hairvina-company-reference--staff .hairvina-team-grid article:nth-child(2) .hairvina-about-scene {
  background-position: center 72%;
}

.hairvina-company-reference--staff .hairvina-team-grid article:nth-child(3) .hairvina-about-scene {
  background-position: center 96%;
}

.hairvina-company-reference--staff .hairvina-team-grid article:nth-child(4) .hairvina-about-scene {
  background-position: center 56%;
}

.hairvina-company-reference--staff .hairvina-team-grid article:nth-child(5) .hairvina-about-scene,
.hairvina-company-reference--staff .hairvina-team-grid article:nth-child(5) .hairvina-about-scene:hover,
.hairvina-company-reference--staff .hairvina-team-grid article:nth-child(5) .hairvina-about-scene:focus-visible {
  background-position: center 62%;
  background-size: 120% auto;
}

.hairvina-company-reference--staff .hairvina-team-grid article:nth-child(6) .hairvina-about-scene,
.hairvina-company-reference--staff .hairvina-team-grid article:nth-child(6) .hairvina-about-scene:hover,
.hairvina-company-reference--staff .hairvina-team-grid article:nth-child(6) .hairvina-about-scene:focus-visible {
  background-position: center 65%;
  background-size: 125% auto;
}

.hairvina-shorts-carousel {
  padding-bottom: 3.75rem;
}

.hairvina-shorts-carousel .hairvina-carousel__track {
  align-items: stretch;
}

.hairvina-short-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.hairvina-short-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #efdee5;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(80, 44, 59, 0.08);
}

.hairvina-short-card__media {
  position: relative;
  display: grid;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  place-items: center;
  background-color: #f5eef1;
  background-image: linear-gradient(180deg, rgba(38, 22, 29, 0.06), rgba(38, 22, 29, 0.42)), var(--hairvina-short-poster, none);
  background-position: center;
  background-size: cover;
  text-decoration: none;
}

.hairvina-short-card__media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hairvina-short-card__number {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(56, 32, 42, 0.66);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hairvina-short-card__play {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  padding-left: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #fff;
  background: rgba(222, 91, 139, 0.9);
  box-shadow: 0 0.6rem 1.6rem rgba(36, 18, 25, 0.24);
  place-items: center;
}

.hairvina-short-card h3 {
  display: -webkit-box;
  min-height: 4.8rem;
  margin: 0;
  overflow: hidden;
  padding: 1rem;
  color: #4d4448;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 700px) {
  body .hairvina-company-reference .hairvina-company-cta {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  body .hairvina-company-reference .hairvina-company-cta > a,
  body .hairvina-company-reference .hairvina-company-cta > p:last-child > a {
    align-self: start !important;
  }

  body .hairvina-company-reference .hairvina-company-cta {
    width: min(calc(100vw - 1.5rem), 70rem) !important;
    margin-bottom: 3rem !important;
    padding: 2rem 1.35rem !important;
  }

  body .hairvina-company-reference .hairvina-company-cta > a {
    align-self: stretch !important;
    width: 100%;
  }

  body .hairvina-about-reference__staff-intro--text-only {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  body .hairvina-company-reference--staff .hairvina-team-grid .hairvina-about-scene,
  body .hairvina-about-reference__staff-grid .hairvina-about-scene {
    min-height: 0 !important;
  }

  body .hairvina-company-reference--staff .hairvina-team-grid .hairvina-about-scene {
    aspect-ratio: 1.18 / 1;
  }

  body .hairvina-about-reference__staff-grid .hairvina-about-scene {
    aspect-ratio: 1.5 / 1;
  }

  body .hairvina-company-reference--feedback .hairvina-feedback-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body .hairvina-company-reference--feedback .hairvina-feedback-intro > a {
    justify-self: start;
  }

  .hairvina-feedback-evidence {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hairvina-short-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body .hairvina-company-reference--staff .hairvina-company-hero,
  body .hairvina-company-reference--feedback .hairvina-company-hero {
    min-height: 24rem;
  }

  body .hairvina-company-hero__overlay--clean {
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.7rem;
    padding-bottom: 2.5rem;
  }

  body .hairvina-company-hero__overlay--clean h1 {
    font-size: clamp(1.6rem, 6.5vw, 2.15rem) !important;
    white-space: nowrap !important;
  }

  body .hairvina-company-hero__overlay--clean > p:last-child {
    width: 100%;
    padding-left: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  body .hairvina-company-reference .hairvina-company-cta h2 {
    font-size: clamp(1.15rem, 4.8vw, 1.55rem) !important;
  }

  body .hairvina-company-reference .hairvina-feedback-intro h2,
  body .hairvina-company-reference .hairvina-team-department h2,
  body .hairvina-about-reference .hairvina-about-reference__copy h1,
  body .hairvina-about-reference .hairvina-about-reference__development > h2,
  body .hairvina-about-reference .hairvina-about-reference__contact h2 {
    font-size: clamp(1.32rem, 5.9vw, 2.2rem) !important;
  }
}

@media (max-width: 420px) {
  .hairvina-short-grid {
    gap: 0.8rem;
  }

  .hairvina-short-card h3 {
    min-height: 4.45rem;
    padding: 0.85rem;
    font-size: 0.82rem;
  }

  .hairvina-short-card__play {
    width: 3rem;
    height: 3rem;
  }
}
