/* =========================================================
   Hoorain v5 — Designer Commerce & Inner Pages
   Built as a separate layer so the approved homepage CSS stays untouched.
   ========================================================= */

:root {
  --hmai-inner-max: 1240px;
  --hmai-soft-line: #e9e3dc;
  --hmai-soft-bg: #fbf8f4;
  --hmai-warm-bg: #f5eee8;
  --hmai-deep: #23372d;
  --hmai-copy: #58534e;
}

/* ---------- Shared inner page shell ---------- */
.hmai-inner-hero {
  border-top: 1px solid #f3efeb;
  border-bottom: 1px solid var(--hmai-soft-line);
  background: linear-gradient(115deg, #fbf8f4 0%, #f6f0ea 58%, #f2e9e1 100%);
}
.hmai-inner-hero__inner {
  width: min(var(--hmai-inner-max), calc(100% - 48px));
  min-height: 280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.hmai-inner-hero--with-image .hmai-inner-hero__inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .65fr);
  gap: 64px;
  min-height: 360px;
}
.hmai-inner-hero__copy { padding: 54px 0 58px; max-width: 760px; }
.hmai-inner-hero__eyebrow {
  margin: 24px 0 11px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .27em;
  text-transform: uppercase;
  color: var(--taupe);
}
.hmai-inner-hero__title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
  color: #2e2a27;
}
.hmai-inner-hero__description {
  max-width: 64ch;
  margin-top: 18px;
  color: #68615b;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.75;
}
.hmai-inner-hero__description p { margin: 0; }
.hmai-inner-hero__media {
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}
.hmai-inner-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hmai-inner-hero--compact .hmai-inner-hero__inner { min-height: 190px; }
.hmai-inner-hero--compact .hmai-inner-hero__copy { padding: 36px 0 40px; }
.hmai-inner-hero--compact .hmai-inner-hero__title { font-size: clamp(30px, 3.2vw, 48px); }

.hmai-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #8b827a;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hmai-breadcrumbs a { transition: color .18s ease; }
.hmai-breadcrumbs a:hover { color: var(--green-btn); }
.hmai-crumb-separator { color: #c2b9b1; }

.hmai-inner-main,
.hmai-commerce-shell {
  width: min(var(--hmai-inner-max), calc(100% - 48px));
  margin: 0 auto;
}
.hmai-inner-main { padding: 58px 0 84px; }
.hmai-commerce-shell { padding: 42px 0 84px; }
.hmai-inner-main--commerce { max-width: 1180px; }

.hmai-page-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--hmai-copy);
  font-size: 15px;
  line-height: 1.82;
}
.hmai-page-content > :first-child { margin-top: 0; }
.hmai-page-content h2,
.hmai-page-content h3,
.hmai-page-content h4 {
  margin: 1.8em 0 .7em;
  color: #2e2a27;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.25;
}
.hmai-page-content h2 { font-size: clamp(28px, 3vw, 42px); }
.hmai-page-content h3 { font-size: clamp(22px, 2.2vw, 30px); }
.hmai-page-content p { margin: 0 0 1.15em; }
.hmai-page-content a:not(.button) { color: var(--green-btn); text-decoration: underline; text-underline-offset: 3px; }
.hmai-page-content ul,
.hmai-page-content ol { margin: 0 0 1.4em 1.2em; padding: 0; }
.hmai-page-content ul { list-style: disc; }
.hmai-page-content ol { list-style: decimal; }
.hmai-page-content blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 2px solid var(--green-btn);
  background: var(--hmai-soft-bg);
  color: #4f4944;
  font-family: var(--serif);
  font-size: 18px;
}
.hmai-page-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.hmai-page-content th,
.hmai-page-content td { padding: 13px 14px; border: 1px solid var(--hmai-soft-line); text-align: left; }

/* ---------- Collection / shop page ---------- */
.hmai-shop-shell .woocommerce-notices-wrapper { margin-bottom: 22px; }
.hmai-collection-chips {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 0 0 24px;
  margin: 0 0 26px;
  border-bottom: 1px solid var(--hmai-soft-line);
  scrollbar-width: none;
}
.hmai-collection-chips::-webkit-scrollbar { display: none; }
.hmai-collection-chips a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid #ddd5cd;
  border-radius: 999px;
  background: #fff;
  color: #45403c;
  font-size: 11px;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.hmai-collection-chips a span { color: #9a9189; font-size: 9px; }
.hmai-collection-chips a:hover { border-color: var(--green-btn); background: var(--green-btn); color: #fff; }
.hmai-collection-chips a:hover span { color: #dbe6df; }

.hmai-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.hmai-shop-toolbar__count,
.hmai-shop-toolbar__count .woocommerce-result-count {
  margin: 0 !important;
  color: #7b746e;
  font-size: 11px;
}
.hmai-shop-toolbar__sort { display: flex; align-items: center; gap: 10px; color: #827b75; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hmai-shop-toolbar__sort .woocommerce-ordering { margin: 0 !important; float: none !important; }
.hmai-shop-toolbar__sort select {
  min-width: 184px;
  height: 40px;
  padding: 0 36px 0 13px;
  border: 1px solid #ddd5cd;
  border-radius: 4px;
  background: #fff;
  color: #38332f;
  font-family: var(--sans);
  font-size: 11px;
  outline: none;
}
.hmai-shop-toolbar__sort select:focus { border-color: var(--green-btn); }

.woocommerce .hmai-shop-shell ul.products,
.woocommerce-page .hmai-shop-shell ul.products,
.hmai-shop-shell ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 18px;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce .hmai-shop-shell ul.products::before,
.woocommerce .hmai-shop-shell ul.products::after { display: none !important; }
.woocommerce .hmai-shop-shell ul.products li.product,
.hmai-shop-shell ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  min-width: 0;
}
.hmai-shop-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eee8e2;
}
.hmai-shop-card__image { display: block; width: 100%; height: 100%; }
.hmai-shop-card__image img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  transition: transform .5s ease;
}
.hmai-shop-card:hover .hmai-shop-card__image img { transform: scale(1.025); }
.hmai-shop-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 6px 9px;
  background: rgba(255,255,255,.94);
  color: #4a443f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(40,32,26,.05);
}
.hmai-shop-card__wish {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  color: #344339;
  box-shadow: 0 6px 18px rgba(28,24,20,.12);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.hmai-shop-card__wish .ico { width: 17px; height: 17px; }
.hmai-shop-card__wish:hover,
.hmai-shop-card__wish[aria-pressed="true"] { background: var(--green-btn); color: #fff; }
.hmai-shop-card__wish[aria-pressed="true"] .ico { fill: currentColor; }
.hmai-shop-card__cart { right: 12px; bottom: 12px; }
.hmai-shop-card__body { padding: 13px 1px 0; }
.hmai-shop-card__category {
  margin: 0 0 4px;
  color: #9a9189;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.woocommerce ul.products li.product .hmai-shop-card__title,
.hmai-shop-card__title {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--serif) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.42 !important;
  letter-spacing: .015em !important;
  color: #2d2926;
}
.hmai-shop-card__title a:hover { color: var(--green-btn); }
.hmai-shop-card__meta { margin-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.woocommerce ul.products li.product .hmai-shop-card__price,
.hmai-shop-card__price {
  margin: 0 !important;
  color: #58514b !important;
  font-size: 11px !important;
}
.hmai-shop-card__price ins { text-decoration: none; color: var(--green-btn); }
.hmai-shop-card__price del { opacity: .5; margin-right: 5px; }
.hmai-shop-card__rating { display: flex; align-items: center; gap: 4px; color: #8e8379; font-size: 9px; white-space: nowrap; }
.hmai-shop-card__rating span { color: var(--gold); }

.hmai-shop-pagination { margin-top: 58px; }
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 7px;
  border: 0 !important;
}
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; float: none !important; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px !important;
  border: 1px solid #e0d8d0;
  border-radius: 50%;
  background: #fff !important;
  color: #504a45 !important;
  font-size: 11px;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--green-btn) !important; border-color: var(--green-btn); color: #fff !important; }

/* ---------- Product detail ---------- */
.hmai-product-breadcrumbbar {
  width: min(var(--hmai-inner-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 4px;
}
.hmai-product-shell { padding-top: 26px; }
.hmai-product-detail__main {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .78fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: start;
}
.hmai-product-detail__gallery,
.hmai-product-detail__summary { min-width: 0; }
.hmai-product-detail__gallery { position: relative; }
.woocommerce .hmai-product-detail span.onsale {
  top: 12px !important;
  left: 12px !important;
  z-index: 6;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.94) !important;
  color: #4a443f !important;
  font-size: 8px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.woocommerce .hmai-product-detail div.images,
.woocommerce-page .hmai-product-detail div.images {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  overflow: hidden;
  background: #f0ebe5;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100%; }
.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px !important;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  overflow: hidden;
  background: #f0ebe5;
}
.woocommerce div.product div.images .flex-control-thumbs img { opacity: .7; transition: opacity .18s ease; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  top: 12px !important;
  right: 12px !important;
  display: grid !important;
  place-items: center;
  width: 40px !important;
  height: 40px !important;
  background: rgba(255,255,255,.94) !important;
  border-radius: 50% !important;
  box-shadow: 0 5px 18px rgba(28,24,20,.12);
}
.woocommerce .hmai-product-detail div.summary,
.woocommerce-page .hmai-product-detail div.summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  position: sticky;
  top: 22px;
  padding: 12px 0 0;
}
.woocommerce .hmai-product-detail .product_title {
  margin: 0;
  color: #2b2825;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.woocommerce .hmai-product-detail .woocommerce-product-rating { margin: 13px 0 0; display: flex; align-items: center; gap: 10px; }
.woocommerce .hmai-product-detail .star-rating { color: var(--gold); font-size: 12px; }
.woocommerce .hmai-product-detail .woocommerce-review-link { color: #8b827a; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce .hmai-product-detail p.price,
.woocommerce .hmai-product-detail span.price {
  margin: 20px 0 0;
  color: #34302c;
  font-family: var(--serif);
  font-size: 20px;
}
.woocommerce .hmai-product-detail .price ins { text-decoration: none; color: var(--green-btn); }
.woocommerce .hmai-product-detail .price del { color: #aaa29b; margin-right: 6px; }
.woocommerce-product-details__short-description {
  margin-top: 19px;
  padding-top: 19px;
  border-top: 1px solid var(--hmai-soft-line);
  color: #665f59;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.75;
}
.woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }

.woocommerce .hmai-product-detail form.cart { margin: 26px 0 0 !important; }
.woocommerce .hmai-product-detail form.cart:not(.variations_form) { display: flex; gap: 10px; }
.woocommerce .hmai-product-detail .quantity .qty {
  width: 64px;
  height: 48px;
  padding: 0 7px;
  border: 1px solid #d9d1c9;
  border-radius: 3px;
  background: #fff;
  color: #37322f;
  text-align: center;
}
.woocommerce .hmai-product-detail .single_add_to_cart_button,
.woocommerce .hmai-product-detail button.button.alt {
  min-height: 48px;
  padding: 0 32px !important;
  border-radius: 3px !important;
  background: var(--green-btn) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: background-color .18s ease;
}
.woocommerce .hmai-product-detail .single_add_to_cart_button:hover { background: var(--green-900) !important; }
.woocommerce .hmai-product-detail table.variations { margin: 0 0 15px !important; border: 0 !important; }
.woocommerce .hmai-product-detail table.variations tr { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 13px; }
.woocommerce .hmai-product-detail table.variations th,
.woocommerce .hmai-product-detail table.variations td { display: block; padding: 0 !important; border: 0 !important; text-align: left; }
.woocommerce .hmai-product-detail table.variations label { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #615a55; }
.woocommerce .hmai-product-detail table.variations select {
  width: 100%;
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid #d9d1c9;
  border-radius: 3px;
  background: #fff;
  color: #3f3935;
  outline: none;
}
.woocommerce .hmai-product-detail table.variations select:focus { border-color: var(--green-btn); }
.woocommerce .hmai-product-detail .reset_variations { display: inline-block; margin-top: 8px; color: #827870; font-size: 10px; text-decoration: underline; text-underline-offset: 2px; }
.woocommerce .hmai-product-detail .single_variation_wrap .woocommerce-variation-price { margin-bottom: 12px; }

.hmai-single-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
}
.hmai-single-wishlist {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid #d9d1c9;
  border-radius: 3px;
  background: #fff;
  color: #45403c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hmai-single-wishlist .ico { width: 15px; height: 15px; }
.hmai-single-wishlist[aria-pressed="true"] { border-color: var(--green-btn); color: var(--green-btn); }
.hmai-single-wishlist[aria-pressed="true"] .ico { fill: currentColor; }
.hmai-single-help { color: #726b65; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }

.hmai-product-assurance {
  margin-top: 24px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--hmai-soft-line);
  border-bottom: 1px solid var(--hmai-soft-line);
}
.hmai-product-assurance span { display: flex; align-items: center; gap: 7px; color: #716a64; font-size: 9px; line-height: 1.35; }
.hmai-product-assurance .ico { width: 14px; height: 14px; color: var(--green-btn); }
.woocommerce .hmai-product-detail .product_meta {
  margin-top: 20px;
  display: grid;
  gap: 5px;
  color: #8b827a;
  font-size: 9px;
  letter-spacing: .04em;
}
.woocommerce .hmai-product-detail .product_meta a { color: #554e49; }

.hmai-product-detail__after { margin-top: 74px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin: 0 0 34px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid var(--hmai-soft-line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 0 0 10px !important;
  color: #8a817a !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--green-btn) !important; border-bottom: 1px solid var(--green-btn); }
.woocommerce div.product .woocommerce-tabs .panel {
  max-width: 850px;
  margin: 0 auto 70px !important;
  color: #5f5852;
  font-size: 14px;
  line-height: 1.8;
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: #302c29;
}
.woocommerce div.product section.related,
.woocommerce div.product section.upsells { margin-top: 70px; }
.woocommerce div.product section.related > h2,
.woocommerce div.product section.upsells > h2 {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: #302c29;
}

/* ---------- WooCommerce notices / controls ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 0 0 22px !important;
  padding: 15px 18px 15px 48px !important;
  border: 1px solid #e1d9d1 !important;
  border-top: 1px solid #e1d9d1 !important;
  border-radius: 5px;
  background: #fbf8f4 !important;
  color: #4f4944;
  font-size: 12px;
  line-height: 1.55;
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--green-btn) !important; top: 15px !important; }
.woocommerce-error::before { top: 15px !important; }
.woocommerce-message .button,
.woocommerce-info .button { color: var(--green-btn) !important; background: none !important; padding: 0 !important; font-size: 10px !important; text-transform: uppercase; letter-spacing: .08em; }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button {
  border-radius: 3px !important;
  background: var(--green-btn) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: none !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover { background: var(--green-900) !important; color: #fff !important; }
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: var(--green-btn) !important; }

/* ---------- Cart ---------- */
.hmai-cart-page .hmai-page-content { max-width: none; }
.hmai-cart-page .woocommerce { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .65fr); gap: 46px; align-items: start; }
.hmai-cart-page .woocommerce-notices-wrapper,
.hmai-cart-page .woocommerce > .woocommerce-message,
.hmai-cart-page .woocommerce > .woocommerce-info { grid-column: 1 / -1; }
.woocommerce-cart-form { min-width: 0; }
.woocommerce table.shop_table {
  border: 1px solid var(--hmai-soft-line) !important;
  border-radius: 6px !important;
  background: #fff;
  border-collapse: separate !important;
  overflow: hidden;
}
.woocommerce table.shop_table th {
  padding: 14px 16px !important;
  background: #fbf8f4;
  color: #726a64;
  font-size: 9px;
  font-weight: 600 !important;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.woocommerce table.shop_table td { padding: 18px 16px !important; border-top: 1px solid var(--hmai-soft-line) !important; color: #5b544e; font-size: 12px; }
.woocommerce-cart-form .product-thumbnail img { width: 86px !important; border-radius: 2px; }
.woocommerce-cart-form .product-name a { font-family: var(--serif); color: #302c29; font-size: 13px; }
.woocommerce-cart-form .product-remove a.remove {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #e3dbd3;
  border-radius: 50%;
  color: #827970 !important;
  font-size: 16px;
  line-height: 1;
}
.woocommerce-cart-form .product-remove a.remove:hover { background: #fff !important; color: #8e5146 !important; border-color: #cdaaa3; }
.woocommerce-cart-form .quantity .qty { min-height: 40px; border: 1px solid #ddd5cd; border-radius: 3px; }
.woocommerce-cart-form .coupon { display: flex !important; gap: 7px; }
.woocommerce-cart-form .coupon .input-text {
  min-width: 190px;
  height: 42px;
  padding: 0 12px !important;
  border: 1px solid #ddd5cd !important;
  border-radius: 3px;
}
.woocommerce-cart-form td.actions { padding: 16px !important; }
.woocommerce-cart-form td.actions .button { min-height: 42px; padding: 0 18px !important; }
.hmai-cart-page .cart-collaterals { width: 100% !important; }
.hmai-cart-page .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  padding: 26px;
  border: 1px solid var(--hmai-soft-line);
  border-radius: 7px;
  background: var(--hmai-soft-bg);
}
.hmai-cart-page .cart_totals h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: #302c29;
}
.hmai-cart-page .cart_totals table { border: 0 !important; background: transparent; }
.hmai-cart-page .cart_totals th,
.hmai-cart-page .cart_totals td { padding: 13px 0 !important; background: transparent; border-top: 1px solid #e3dbd3 !important; }
.hmai-cart-page .wc-proceed-to-checkout { padding: 18px 0 0; }
.hmai-cart-page .wc-proceed-to-checkout a.checkout-button { min-height: 50px; display: flex; align-items: center; justify-content: center; margin: 0 !important; font-size: 11px !important; }

/* ---------- Checkout ---------- */
.hmai-checkout-page .hmai-page-content { max-width: none; }
.woocommerce form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 54px;
  align-items: start;
}
.woocommerce form.checkout .col2-set { width: 100%; }
.woocommerce form.checkout .col2-set .col-1,
.woocommerce form.checkout .col2-set .col-2 { float: none; width: 100%; }
.woocommerce form.checkout .col2-set .col-2 { margin-top: 32px; }
.woocommerce form.checkout h3,
.woocommerce-checkout #order_review_heading {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: #302c29;
}
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review { grid-column: 2; }
.woocommerce-checkout #order_review_heading { grid-row: 1; align-self: start; }
.woocommerce-checkout #order_review { grid-row: 1; margin-top: 50px; }
.woocommerce form .form-row { margin: 0 0 17px !important; padding: 0 !important; }
.woocommerce form .form-row label { margin-bottom: 6px; color: #625b55; font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #ddd5cd !important;
  border-radius: 3px !important;
  background: #fff;
  color: #3d3834;
  font-size: 12px;
  outline: none;
}
.woocommerce form .form-row textarea { min-height: 110px; padding-top: 12px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; padding: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { border-color: var(--green-btn) !important; }
.woocommerce-checkout-review-order {
  padding: 26px;
  border: 1px solid var(--hmai-soft-line);
  border-radius: 7px;
  background: var(--hmai-soft-bg);
}
.woocommerce-checkout-review-order table.shop_table { background: transparent; border: 0 !important; }
.woocommerce-checkout-review-order table.shop_table th,
.woocommerce-checkout-review-order table.shop_table td { background: transparent; padding-left: 0 !important; padding-right: 0 !important; }
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment { margin-top: 20px; border-radius: 5px !important; background: #fff !important; border: 1px solid #e2dad2; }
#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods { padding: 20px !important; border-bottom: 1px solid #ece5de !important; }
.woocommerce-checkout #payment div.payment_box { background: #f8f4ef !important; color: #625b55 !important; font-size: 11px; line-height: 1.55; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #f8f4ef !important; }
.woocommerce-checkout #payment div.form-row { padding: 20px !important; }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 50px; }

/* Checkout blocks */
.wc-block-checkout,
.wc-block-cart { font-family: var(--sans); }
.wc-block-components-sidebar,
.wc-block-checkout__sidebar { border-radius: 7px; }
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input { border-color: #ddd5cd !important; border-radius: 3px !important; }

/* ---------- Account ---------- */
.hmai-account-page .hmai-page-content { max-width: none; }
.hmai-account-login-intro {
  max-width: 650px;
  margin: 0 auto 30px;
  padding: 20px 24px;
  border: 1px solid var(--hmai-soft-line);
  border-radius: 7px;
  background: var(--hmai-soft-bg);
  text-align: center;
}
.hmai-account-login-intro span { display: block; color: var(--taupe); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hmai-account-login-intro p { margin: 7px 0 0; color: #6b645e; font-family: var(--serif); font-size: 14px; }
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
  padding: 28px !important;
  border: 1px solid var(--hmai-soft-line) !important;
  border-radius: 7px !important;
  background: #fff;
}
#customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
#customer_login .u-column1,
#customer_login .u-column2 { float: none; width: auto; }
#customer_login h2 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 42px; align-items: start; }
.woocommerce-account .woocommerce > .hmai-account-login-intro,
.woocommerce-account .woocommerce > #customer_login { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none !important; width: 100% !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  padding: 9px;
  border: 1px solid var(--hmai-soft-line);
  border-radius: 7px;
  background: var(--hmai-soft-bg);
}
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 13px;
  border-radius: 4px;
  color: #645d57;
  font-size: 11px;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: #fff; color: var(--green-btn); }
.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: 100% !important; min-width: 0; color: #625b55; }
.hmai-account-welcome { display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px; }
.hmai-account-welcome span { color: #8d847c; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hmai-account-welcome strong { font-family: var(--serif); font-size: 25px; font-weight: 400; color: #302c29; }
.woocommerce-account .addresses .title h3,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 { font-family: var(--serif); font-weight: 400; color: #302c29; }
.woocommerce-account .addresses .title .edit { color: var(--green-btn); font-size: 10px; }

/* ---------- Wishlist / empty state / thank you ---------- */
.hmai-wishlist-products .woocommerce ul.products { margin-top: 10px !important; }
.hmai-wishlist-empty,
.hmai-empty-state {
  max-width: 720px;
  margin: 42px auto;
  padding: 62px 34px;
  border: 1px solid var(--hmai-soft-line);
  border-radius: 8px;
  background: var(--hmai-soft-bg);
  text-align: center;
}
.hmai-empty-state__mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 17px;
  border: 1px solid #d8cec5;
  border-radius: 50%;
  color: var(--green-btn);
  font-family: var(--serif);
  font-size: 24px;
}
.hmai-empty-state h2,
.hmai-wishlist-empty p:first-child {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  color: #302c29;
}
.hmai-empty-state p { margin: 9px 0 20px; color: #746c66; }
.hmai-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid var(--green-btn);
  border-radius: 3px;
  color: var(--green-btn);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: background-color .18s ease, color .18s ease;
}
.hmai-primary-link:hover { background: var(--green-btn); color: #fff; }
.hmai-order-thanks {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  padding: 22px;
  border: 1px solid #cfdcd3;
  border-radius: 7px;
  background: #f5faf7;
}
.hmai-order-thanks > span { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--green-btn); color: #fff; }
.hmai-order-thanks strong { display: block; color: #30483a; font-family: var(--serif); font-size: 17px; }
.hmai-order-thanks p { margin: 4px 0 0; color: #647169; font-size: 11px; }
.woocommerce ul.order_details { padding: 18px 20px !important; border: 1px solid var(--hmai-soft-line); border-radius: 6px; background: var(--hmai-soft-bg); }

/* ---------- 404 ---------- */
.hmai-empty-state--404 { margin-top: 0; }
.hmai-404-search { max-width: 480px; margin: 22px auto 12px; display: flex; }
.hmai-404-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #d8d0c8;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  background: #fff;
  outline: none;
}
.hmai-404-search input:focus { border-color: var(--green-btn); }
.hmai-404-search button { padding: 0 18px; border-radius: 0 3px 3px 0; background: var(--green-btn); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hmai-404-collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.hmai-404-collections a { position: relative; min-height: 330px; overflow: hidden; background: #ece6df; }
.hmai-404-collections img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hmai-404-collections a:hover img { transform: scale(1.025); }
.hmai-404-collections span { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 11px 13px; background: rgba(255,255,255,.92); color: #38332f; font-family: var(--serif); font-size: 14px; text-align: center; }

/* ---------- Journal / editorial ---------- */
.hmai-editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; }
.hmai-editorial-card { min-width: 0; border-bottom: 1px solid var(--hmai-soft-line); padding-bottom: 28px; }
.hmai-editorial-card__image { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #eee8e2; }
.hmai-editorial-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hmai-editorial-card:hover .hmai-editorial-card__image img { transform: scale(1.025); }
.hmai-editorial-card__body { padding-top: 17px; }
.hmai-editorial-card__body > p { margin: 0 0 7px; color: #9a9189; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.hmai-editorial-card h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; color: #302c29; }
.hmai-editorial-card__body > div { color: #706861; font-size: 12px; line-height: 1.7; }
.hmai-editorial-card .hmai-primary-link { margin-top: 15px; min-height: 36px; }
.hmai-article-main { max-width: 980px; }
.hmai-article__hero { margin: 0 0 34px; }
.hmai-article__hero img { width: 100%; max-height: 720px; object-fit: cover; }
.hmai-article__meta { margin-bottom: 18px; color: #9a9189; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.hmai-article__content { max-width: 780px; margin: 0 auto; color: #5f5852; font-family: var(--serif); font-size: 16px; line-height: 1.9; }
.hmai-article__content h2,
.hmai-article__content h3 { margin: 1.7em 0 .6em; font-weight: 400; color: #302c29; }
.hmai-article__content img { height: auto; margin: 28px 0; }
.hmai-article .post-navigation { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--hmai-soft-line); }

/* ---------- Small screens ---------- */
@media (max-width: 1024px) {
  .hmai-inner-hero--with-image .hmai-inner-hero__inner { gap: 38px; }
  .woocommerce .hmai-shop-shell ul.products,
  .hmai-shop-shell ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hmai-product-detail__main { grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr); gap: 36px; }
  .hmai-cart-page .woocommerce { grid-template-columns: 1fr; gap: 28px; }
  .hmai-checkout-page .woocommerce form.checkout { grid-template-columns: 1fr; gap: 32px; }
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
  .woocommerce-checkout #order_review { margin-top: 0; }
}

@media (max-width: 767px) {
  .hmai-inner-hero__inner,
  .hmai-inner-main,
  .hmai-commerce-shell,
  .hmai-product-breadcrumbbar { width: calc(100% - 28px); }
  .hmai-inner-hero__inner { min-height: 220px; }
  .hmai-inner-hero--with-image .hmai-inner-hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hmai-inner-hero__copy { padding: 36px 0 40px; }
  .hmai-inner-hero__title { font-size: clamp(31px, 10vw, 43px); }
  .hmai-inner-hero__description { margin-top: 13px; font-size: 13px; line-height: 1.65; }
  .hmai-inner-hero__media { min-height: 230px; margin: 0 -14px; }
  .hmai-inner-main { padding: 36px 0 58px; }
  .hmai-commerce-shell { padding: 28px 0 58px; }

  .hmai-collection-chips { margin-bottom: 20px; padding-bottom: 18px; }
  .hmai-collection-chips a { min-height: 35px; padding: 0 12px; font-size: 10px; }
  .hmai-shop-toolbar { align-items: flex-end; gap: 12px; }
  .hmai-shop-toolbar__sort > span { display: none; }
  .hmai-shop-toolbar__sort select { min-width: 145px; height: 38px; font-size: 10px; }
  .woocommerce .hmai-shop-shell ul.products,
  .woocommerce-page .hmai-shop-shell ul.products,
  .hmai-shop-shell ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 30px 10px !important; }
  .hmai-shop-card__badge { top: 8px; left: 8px; padding: 5px 7px; font-size: 7px; }
  .hmai-shop-card__wish { top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 9px; }
  .hmai-shop-card__wish .ico { width: 14px; height: 14px; }
  .hmai-shop-card__cart { right: 8px; bottom: 8px; }
  .hmai-shop-card__body { padding-top: 10px; }
  .woocommerce ul.products li.product .hmai-shop-card__title,
  .hmai-shop-card__title { font-size: 11px !important; }
  .hmai-shop-card__rating { display: none; }

  .hmai-product-breadcrumbbar { padding-top: 17px; }
  .hmai-product-shell { padding-top: 18px; }
  .hmai-product-detail__main { grid-template-columns: 1fr; gap: 28px; }
  .woocommerce .hmai-product-detail div.summary,
  .woocommerce-page .hmai-product-detail div.summary { position: static; padding-top: 0; }
  .woocommerce .hmai-product-detail .product_title { font-size: 32px; }
  .hmai-single-actions { align-items: flex-start; flex-direction: column; }
  .hmai-product-assurance { grid-template-columns: 1fr; gap: 9px; }
  .hmai-product-detail__after { margin-top: 52px; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { justify-content: flex-start; gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li { flex: 0 0 auto; }
  .woocommerce div.product .woocommerce-tabs .panel { font-size: 13px; }
  .woocommerce div.product section.related,
  .woocommerce div.product section.upsells { margin-top: 46px; }

  .hmai-cart-page .woocommerce { display: block; }
  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td { padding: 12px !important; }
  .woocommerce-cart-form .coupon { float: none !important; width: 100%; margin-bottom: 9px; }
  .woocommerce-cart-form .coupon .input-text { min-width: 0; flex: 1; }
  .woocommerce-cart-form td.actions > .button { width: 100% !important; }
  .hmai-cart-page .cart-collaterals { margin-top: 24px; }
  .hmai-cart-page .cart-collaterals .cart_totals { padding: 20px; }

  .woocommerce form.checkout { display: block; }
  .woocommerce-checkout #order_review_heading { margin-top: 34px; }
  .woocommerce-checkout-review-order { padding: 20px; }

  #customer_login { grid-template-columns: 1fr; gap: 20px; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 24px; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-account .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
  .woocommerce-account .woocommerce-MyAccount-navigation a { padding: 10px 12px; white-space: nowrap; }

  .hmai-empty-state { padding: 44px 20px; }
  .hmai-404-collections { grid-template-columns: 1fr; }
  .hmai-404-collections a { min-height: 380px; }
  .hmai-editorial-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 420px) {
  .hmai-shop-toolbar { align-items: stretch; flex-direction: column; }
  .hmai-shop-toolbar__sort,
  .hmai-shop-toolbar__sort .woocommerce-ordering,
  .hmai-shop-toolbar__sort select { width: 100%; }
  .woocommerce .hmai-product-detail form.cart:not(.variations_form) { align-items: stretch; }
  .woocommerce .hmai-product-detail .single_add_to_cart_button { flex: 1; padding-left: 18px !important; padding-right: 18px !important; }
  .woocommerce-cart-form .coupon { flex-direction: column; }
  .woocommerce-cart-form .coupon .input-text,
  .woocommerce-cart-form .coupon .button { width: 100% !important; }
}

/* ---------- Modern WooCommerce Cart / Checkout Blocks ---------- */
.hmai-cart-page .wp-block-woocommerce-cart,
.hmai-checkout-page .wp-block-woocommerce-checkout { margin: 0; }
.hmai-cart-page .wc-block-cart,
.hmai-checkout-page .wc-block-checkout { margin: 0; }
.hmai-cart-page .wc-block-cart__main,
.hmai-checkout-page .wc-block-checkout__main { padding-right: clamp(18px, 3vw, 44px); }
.hmai-cart-page .wc-block-cart__sidebar,
.hmai-checkout-page .wc-block-checkout__sidebar {
  padding: 24px !important;
  border: 1px solid var(--hmai-soft-line);
  border-radius: 7px;
  background: var(--hmai-soft-bg);
}
.wc-block-components-order-summary,
.wc-block-components-totals-wrapper { border-color: var(--hmai-soft-line) !important; }
.wc-block-components-order-summary-item { padding-top: 16px !important; padding-bottom: 16px !important; }
.wc-block-components-order-summary-item__image > img,
.wc-block-cart-item__image img { border-radius: 2px; }
.wc-block-components-order-summary-item__description .wc-block-components-product-name,
.wc-block-cart-item__product .wc-block-components-product-name {
  color: #302c29;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.4;
}
.wc-block-components-product-price,
.wc-block-components-totals-item__value { color: #514b46; font-size: 12px; }
.wc-block-components-totals-item__label { color: #6e665f; font-size: 10px; letter-spacing: .05em; }
.wc-block-components-quantity-selector {
  border: 1px solid #ddd5cd !important;
  border-radius: 3px !important;
  background: #fff;
}
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { font-size: 11px !important; }
.wc-block-cart-item__remove-link { color: #887f77 !important; font-size: 9px !important; text-decoration: underline !important; text-underline-offset: 3px; }
.wc-block-components-title.wc-block-components-title,
.wc-block-checkout__main .wc-block-components-checkout-step__title {
  color: #302c29;
  font-family: var(--serif);
  font-weight: 400;
}
.wc-block-checkout__main .wc-block-components-checkout-step__heading { margin-bottom: 16px; }
.wc-block-checkout__main .wc-block-components-checkout-step__description { color: #7b736c; font-size: 11px; }
.wc-block-components-address-form__address_2-toggle { color: var(--green-btn); font-size: 10px; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
  border-radius: 4px !important;
  box-shadow: inset 0 0 0 1px var(--green-btn) !important;
  background: #fbfdfb !important;
}
.wc-block-components-checkout-place-order-button {
  min-height: 50px !important;
  width: 100%;
}
.wc-block-components-panel__button,
.wc-block-components-totals-coupon__button { color: var(--green-btn) !important; }
.wc-block-components-totals-coupon__input input { border-color: #ddd5cd !important; }

@media (max-width: 767px) {
  .hmai-cart-page .wc-block-cart__main,
  .hmai-checkout-page .wc-block-checkout__main { padding-right: 0; }
  .hmai-cart-page .wc-block-cart__sidebar,
  .hmai-checkout-page .wc-block-checkout__sidebar { padding: 18px !important; }
}

/* =========================================================
   v5.1.0 CLIENT AREA — dedicated designer account experience
   ========================================================= */
.hmai-account-page .hmai-inner-hero__inner { min-height: 220px; }
.hmai-account-page .hmai-inner-hero__copy { padding-top: 38px; padding-bottom: 42px; }
.hmai-account-page .hmai-inner-main--commerce { max-width: 1240px; padding-top: 46px; }
.hmai-account-page .hmai-page-content { max-width: none; }
.hmai-account-page .hmai-page-content > .woocommerce,
.woocommerce-account .hmai-page-content > .woocommerce {
  display: grid !important;
  grid-template-columns: 286px minmax(0, 1fr) !important;
  gap: 48px !important;
  align-items: start !important;
  width: 100% !important;
}
.hmai-account-page .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.hmai-account-page .woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid #e5ddd5;
  border-radius: 3px;
  background: #fbf8f4;
}
.hmai-account-page .woocommerce-MyAccount-navigation li,
.woocommerce-account .woocommerce-MyAccount-navigation li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hmai-account-nav { position: sticky; top: 118px; }
.hmai-account-nav__identity {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #e5ddd5;
  border-radius: 3px;
  background: #fff;
}
.hmai-account-nav__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: #293e33;
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
}
.hmai-account-nav__identity p { margin: 0 0 3px; color: #9a8d82; font-size: 8px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hmai-account-nav__identity strong { display: block; color: #302b27; font-family: var(--serif); font-size: 15px; font-weight: 400; line-height: 1.2; }
.hmai-account-nav__identity small { display: block; max-width: 170px; margin-top: 4px; overflow: hidden; color: #8b837c; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.hmai-account-nav ul a {
  min-height: 46px;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 11px !important;
  border-radius: 2px !important;
  color: #615a54 !important;
  font-size: 11px !important;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease;
}
.hmai-account-nav ul li + li { border-top: 1px solid #eee8e2; }
.hmai-account-nav ul li.is-active a,
.hmai-account-nav ul a:hover { background: #fff !important; color: #294235 !important; }
.hmai-account-nav__icon { width: 20px; height: 20px; display: grid; place-items: center; color: #81786f; }
.hmai-account-nav__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hmai-account-nav li.is-active .hmai-account-nav__icon { color: #294235; }
.hmai-account-nav__arrow { color: #aaa097; font-size: 13px; }
.woocommerce-account .woocommerce-MyAccount-content,
.hmai-account-page .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.hmai-account-dashboard__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr);
  gap: 30px;
  align-items: end;
  padding-bottom: 25px;
  border-bottom: 1px solid #e9e2dc;
}
.hmai-account-dashboard__head > div > p,
.hmai-account-dashboard__section-head p,
.hmai-account-endpoint-head p { margin: 0 0 7px; color: #9a8c82; font-size: 8px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hmai-account-dashboard__head h2,
.hmai-account-endpoint-head h2 {
  margin: 0;
  color: #2c2825;
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 46px);
  font-weight: 400;
  line-height: 1;
}
.hmai-account-dashboard__intro { margin: 0; color: #756d66; font-family: var(--serif); font-size: 13px; line-height: 1.7; }
.hmai-account-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin: 25px 0 38px; }
.hmai-account-overview > a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid #e5ddd5;
  border-radius: 3px;
  background: #fff;
  text-decoration: none !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hmai-account-overview > a:hover { transform: translateY(-2px); border-color: #c9bbb0; box-shadow: 0 9px 24px rgba(38,31,26,.06); }
.hmai-account-overview span { color: #8e847c; font-size: 8px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hmai-account-overview strong { margin: 15px 0 auto; color: #2f2b27; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1; }
.hmai-account-overview small { margin-top: 20px; color: #294235; font-size: 9px; }
.hmai-account-dashboard__section { padding-top: 2px; }
.hmai-account-dashboard__section-head,
.hmai-account-endpoint-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.hmai-account-dashboard__section-head h3 { margin: 0; color: #302c28; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.hmai-account-dashboard__section-head > a,
.hmai-account-endpoint-head > a { color: #294235 !important; font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; text-decoration: none !important; }
.hmai-recent-order {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr 1.15fr auto;
  gap: 18px;
  align-items: center;
  padding: 21px 22px;
  border: 1px solid #e5ddd5;
  border-radius: 3px;
  background: #fbf8f4;
}
.hmai-recent-order > div span,
.hmai-order-card__details span,
.hmai-order-card__top > div span { display: block; margin-bottom: 5px; color: #9b9189; font-size: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hmai-recent-order > div strong,
.hmai-order-card__details strong,
.hmai-order-card__top > div strong { color: #403a35; font-size: 11px; font-weight: 500; }
.hmai-recent-order > a { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid #294235; border-radius: 2px; color: #294235 !important; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; }
.hmai-recent-order > a:hover { background: #294235; color: #fff !important; }
.hmai-order-status { color: #37634a !important; }
.hmai-account-empty { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid #e5ddd5; background: #fbf8f4; }
.hmai-account-empty p { margin: 0; color: #6f6761; font-family: var(--serif); font-size: 13px; }
.hmai-account-empty a { color: #294235 !important; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; }

.hmai-account-endpoint-head { padding-bottom: 22px; border-bottom: 1px solid #e9e2dc; }
.hmai-orders-list { display: grid; gap: 12px; }
.hmai-order-card { padding: 22px; border: 1px solid #e5ddd5; border-radius: 3px; background: #fff; }
.hmai-order-card__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid #eee8e2; }
.hmai-order-card__top > div strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.hmai-order-card__status { padding: 7px 10px; border-radius: 999px; background: #edf4ef; color: #315842; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hmai-order-card__details { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 20px; padding: 18px 0; }
.hmai-order-card__actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 15px; border-top: 1px solid #eee8e2; }
.hmai-order-card__actions a { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid #d4c9c0; border-radius: 2px; color: #49423d !important; font-size: 8px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; }
.hmai-order-card__actions a.view { border-color: #294235; background: #294235; color: #fff !important; }
.hmai-account-pagination { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.hmai-account-empty--large { display: block; padding: 50px 30px; text-align: center; }
.hmai-account-empty--large > span { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border: 1px solid #d7ccc2; border-radius: 50%; color: #294235; font-family: var(--serif); font-size: 20px; }
.hmai-account-empty--large h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.hmai-account-empty--large p { margin: 0 0 17px; }

/* WooCommerce endpoint content inside the redesigned client area. */
.hmai-account-page .woocommerce-MyAccount-content table.shop_table { margin: 0 !important; }
.hmai-account-page .woocommerce-MyAccount-content .addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hmai-account-page .woocommerce-MyAccount-content .addresses .woocommerce-Address { float: none !important; width: auto !important; padding: 22px; border: 1px solid #e5ddd5; background: #fbf8f4; }
.hmai-account-page .woocommerce-MyAccount-content form > h3,
.hmai-account-page .woocommerce-MyAccount-content > h2 { margin-top: 0; font-size: 28px; }
.hmai-account-page .woocommerce-MyAccount-content fieldset { margin: 28px 0 20px; padding: 20px; border: 1px solid #e5ddd5; }
.hmai-account-page .woocommerce-MyAccount-content legend { padding: 0 8px; font-family: var(--serif); color: #302c28; }
.hmai-account-page .woocommerce-MyAccount-content .woocommerce-Button.button { min-height: 42px; }

/* =========================================================
   v5.1.0 FOOTER DESTINATION PAGES
   ========================================================= */
.hmai-managed-page { max-width: 1240px; }
.hmai-managed-page--new-in,
.hmai-managed-page--women,
.hmai-managed-page--brand-wear,
.hmai-managed-page--promotion { padding-top: 48px; }
.hmai-destination-intro { display: grid; grid-template-columns: .52fr 1.48fr; gap: 50px; align-items: start; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #e7dfd7; }
.hmai-destination-intro > p { margin: 6px 0 0; color: #9a8d83; font-size: 8px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hmai-destination-intro > h2 { max-width: 820px; margin: 0; color: #37312d; font-family: var(--serif); font-size: clamp(21px, 2vw, 31px); font-weight: 400; line-height: 1.45; }
.hmai-managed-products.hmai-shop-shell { width: 100%; padding: 0; }
.hmai-managed-products ul.products { margin-top: 0 !important; }
.hmai-managed-pagination { margin-top: 34px; }

.hmai-service-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 68px; align-items: start; }
.hmai-service-layout > aside { position: sticky; top: 118px; }
.hmai-service-nav { border-top: 1px solid #ddd4cc; }
.hmai-service-nav a { min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #e8e1da; color: #777069; font-size: 10px; text-decoration: none; }
.hmai-service-nav a::after { content: '→'; color: #aaa097; transition: transform .18s ease; }
.hmai-service-nav a:hover::after { transform: translateX(3px); }
.hmai-service-nav a.is-active { color: #294235; font-weight: 600; }
.hmai-service-nav a.is-active::after { color: #294235; }
.hmai-service-content { min-width: 0; }
.hmai-service-lead { max-width: 830px; margin-bottom: 38px; }
.hmai-service-kicker { margin: 0 0 10px; color: #9a8b80; font-size: 8px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hmai-service-lead h2,
.hmai-contact-intro h2 { margin: 0 0 16px; color: #302b27; font-family: var(--serif); font-size: clamp(31px, 3.1vw, 48px); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; }
.hmai-service-lead > p:last-child,
.hmai-contact-intro > p { max-width: 720px; margin: 0; color: #6d655f; font-family: var(--serif); font-size: 14px; line-height: 1.8; }
.hmai-service-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hmai-service-card-grid article,
.hmai-measure-grid article { min-height: 210px; padding: 25px; border: 1px solid #e4dcd4; background: #fbf8f4; }
.hmai-service-card-grid article > span,
.hmai-measure-mark { color: #a18f81; font-family: var(--serif); font-size: 13px; }
.hmai-service-card-grid h3,
.hmai-measure-grid h3 { margin: 44px 0 10px; color: #37312d; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.hmai-service-card-grid p,
.hmai-measure-grid p { margin: 0; color: #766e68; font-size: 11px; line-height: 1.75; }
.hmai-service-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 34px; padding: 25px 28px; background: #263b30; color: #fff; }
.hmai-service-cta p { margin: 0 0 5px; color: #c8d4cd; font-size: 8px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.hmai-service-cta h3 { margin: 0; color: #fff; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.hmai-service-cta a { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 15px; border: 1px solid rgba(255,255,255,.45); color: #fff; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.hmai-process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ddd4cc; }
.hmai-process-list li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 22px; padding: 25px 0; border-bottom: 1px solid #e8e1da; }
.hmai-process-list li > span { color: #a18f81; font-family: var(--serif); font-size: 13px; }
.hmai-process-list h3 { margin: 0 0 8px; color: #37312d; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.hmai-process-list p { max-width: 700px; margin: 0; color: #756d67; font-size: 11px; line-height: 1.75; }
.hmai-service-note { margin-top: 28px; padding: 21px 24px; border-left: 2px solid #9a7d68; background: #f7f1eb; }
.hmai-service-note strong { color: #3d3732; font-family: var(--serif); font-size: 16px; font-weight: 400; }
.hmai-service-note p { margin: 7px 0 0; color: #756d67; font-size: 11px; line-height: 1.7; }
.hmai-measure-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hmai-measure-grid article { min-height: 250px; }
.hmai-measure-grid h3 { margin-top: 65px; }
.hmai-fit-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 45px; margin-top: 28px; padding: 31px; border: 1px solid #e4dcd4; background: #fff; }
.hmai-fit-panel h3 { margin: 0; color: #37312d; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.35; }
.hmai-fit-panel > p { margin: 18px 0 0; color: #716a64; font-size: 11px; line-height: 1.8; }

.hmai-contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 58px; }
.hmai-contact-intro { padding-top: 5px; }
.hmai-contact-channel { margin-top: 27px; padding-top: 17px; border-top: 1px solid #e5ddd5; }
.hmai-contact-channel span { display: block; margin-bottom: 6px; color: #9a8d83; font-size: 8px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hmai-contact-channel a { color: #294235; font-family: var(--serif); font-size: 14px; text-decoration: none; }
.hmai-contact-form-wrap { padding: 30px; border: 1px solid #e4dcd4; background: #fbf8f4; }
.hmai-contact-form { display: grid; gap: 15px; }
.hmai-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hmai-contact-form label { display: grid; gap: 7px; }
.hmai-contact-form label > span { color: #756d66; font-size: 8px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.hmai-contact-form input,
.hmai-contact-form select,
.hmai-contact-form textarea { width: 100%; min-width: 0; border: 1px solid #dcd3cb; border-radius: 2px; background: #fff; color: #3e3935; font-family: var(--sans); font-size: 11px; outline: none; }
.hmai-contact-form input,
.hmai-contact-form select { height: 43px; padding: 0 11px; }
.hmai-contact-form textarea { min-height: 145px; padding: 11px; resize: vertical; }
.hmai-contact-form input:focus,
.hmai-contact-form select:focus,
.hmai-contact-form textarea:focus { border-color: #294235; }
.hmai-contact-form button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; margin-top: 3px; border: 1px solid #294235; border-radius: 2px; background: #294235; color: #fff; font-size: 9px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.hmai-contact-alert { margin-bottom: 18px; padding: 13px 14px; border: 1px solid #dcc9c3; background: #fff5f2; color: #81584d; font-size: 10px; line-height: 1.5; }
.hmai-contact-alert.is-success { border-color: #c9d9cf; background: #f2f8f4; color: #3f6950; }
.hmai-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 1023px) {
  .hmai-account-page .hmai-page-content > .woocommerce,
  .woocommerce-account .hmai-page-content > .woocommerce { grid-template-columns: 230px minmax(0, 1fr) !important; gap: 28px !important; }
  .hmai-account-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hmai-recent-order { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hmai-recent-order > a { grid-column: 1 / -1; }
  .hmai-service-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 38px; }
  .hmai-measure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hmai-contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 767px) {
  .hmai-account-page .hmai-inner-hero__inner { min-height: 170px; }
  .hmai-account-page .hmai-inner-main--commerce { padding-top: 28px; }
  .hmai-account-page .hmai-page-content > .woocommerce,
  .woocommerce-account .hmai-page-content > .woocommerce { display: block !important; }
  .hmai-account-nav { position: static; margin-bottom: 28px; }
  .hmai-account-nav__identity { margin-bottom: 8px; }
  .hmai-account-nav ul { display: flex; overflow-x: auto; gap: 6px; padding: 7px !important; scrollbar-width: none; }
  .hmai-account-nav ul::-webkit-scrollbar { display: none; }
  .hmai-account-nav ul li { flex: 0 0 auto; border: 0 !important; }
  .hmai-account-nav ul a { min-width: max-content; grid-template-columns: 19px auto; min-height: 40px; padding: 0 11px !important; border: 1px solid #e7dfd7; background: #fff; }
  .hmai-account-nav__arrow { display: none; }
  .hmai-account-nav__icon { width: 17px; height: 17px; }
  .hmai-account-nav__icon svg { width: 15px; height: 15px; }
  .hmai-account-dashboard__head { grid-template-columns: 1fr; gap: 12px; }
  .hmai-account-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hmai-account-overview > a { min-height: 128px; padding: 15px; }
  .hmai-recent-order { grid-template-columns: 1fr 1fr; gap: 15px; }
  .hmai-order-card__details { grid-template-columns: 1fr 1fr; }
  .hmai-order-card__details > div:last-child { grid-column: 1 / -1; }
  .hmai-account-page .woocommerce-MyAccount-content .addresses { grid-template-columns: 1fr; }

  .hmai-destination-intro { grid-template-columns: 1fr; gap: 10px; }
  .hmai-service-layout { grid-template-columns: 1fr; gap: 30px; }
  .hmai-service-layout > aside { position: static; }
  .hmai-service-nav { display: flex; overflow-x: auto; border: 0; gap: 7px; scrollbar-width: none; }
  .hmai-service-nav::-webkit-scrollbar { display: none; }
  .hmai-service-nav a { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border: 1px solid #dfd6ce; border-radius: 999px; }
  .hmai-service-nav a::after { display: none; }
  .hmai-service-nav a.is-active { border-color: #294235; background: #294235; color: #fff; }
  .hmai-service-card-grid,
  .hmai-measure-grid { grid-template-columns: 1fr; }
  .hmai-service-card-grid article,
  .hmai-measure-grid article { min-height: 175px; }
  .hmai-service-card-grid h3,
  .hmai-measure-grid h3 { margin-top: 34px; }
  .hmai-service-cta { align-items: flex-start; flex-direction: column; }
  .hmai-fit-panel { grid-template-columns: 1fr; gap: 13px; padding: 23px; }
  .hmai-fit-panel > p { margin-top: 0; }
  .hmai-form-row { grid-template-columns: 1fr; }
  .hmai-contact-form-wrap { padding: 20px; }
}

@media (max-width: 480px) {
  .hmai-account-overview { grid-template-columns: 1fr 1fr; }
  .hmai-account-dashboard__section-head,
  .hmai-account-endpoint-head { align-items: flex-start; flex-direction: column; }
  .hmai-recent-order { grid-template-columns: 1fr; }
  .hmai-order-card__details { grid-template-columns: 1fr; }
  .hmai-order-card__details > div:last-child { grid-column: auto; }
  .hmai-process-list li { grid-template-columns: 45px minmax(0, 1fr); gap: 10px; }
}


/* ---------- v5.1.1 Dedicated product search results ---------- */
.hmai-product-search-page .hmai-inner-hero { background: #f8f3ee; }
.hmai-product-search-page .hmai-inner-hero__inner { min-height: 220px; }
.hmai-product-search-page .hmai-inner-hero__copy { padding-top: 42px; padding-bottom: 44px; }
.hmai-product-search-page .hmai-inner-hero__title { max-width: 24ch; font-size: clamp(34px, 3.6vw, 54px); }
.hmai-search-shell { padding-top: 34px; }
.hmai-search-refine {
  display: grid;
  grid-template-columns: minmax(220px,.6fr) minmax(440px,1.4fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 34px;
  padding: 28px 30px;
  border: 1px solid var(--hmai-soft-line);
  background: #fff;
}
.hmai-search-refine__eyebrow,
.hmai-search-empty__eyebrow,
.hmai-search-suggestions__head p {
  margin: 0 0 8px;
  color: #9b8174;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hmai-search-refine__copy h2,
.hmai-search-empty h2,
.hmai-search-suggestions__head h2 {
  margin: 0;
  color: #2f2a27;
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.12;
}
.hmai-search-refine__copy > p:last-child { margin: 9px 0 0; color: #777069; font-size: 12px; }
.hmai-search-refine__form {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #aaa099;
}
.hmai-search-refine__form > .ico { width: 18px; height: 18px; color: #4a4541; }
.hmai-search-refine__form input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #292522;
  font-family: var(--sans);
  font-size: 13px;
}
.hmai-search-refine__form input::placeholder { color: #aaa29b; }
.hmai-search-refine__form button {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border: 0;
  border-radius: 3px;
  background: var(--green-btn);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.hmai-search-refine__form button:hover { background: #294437; }
.hmai-search-toolbar { padding-top: 2px; }
.hmai-search-empty {
  max-width: 710px;
  margin: 20px auto 64px;
  padding: 54px 34px;
  border-top: 1px solid var(--hmai-soft-line);
  border-bottom: 1px solid var(--hmai-soft-line);
  text-align: center;
}
.hmai-search-empty__mark {
  width: 42px;
  height: 42px;
  margin: 0 auto 19px;
  display: grid;
  place-items: center;
  border: 1px solid #cfc4ba;
  border-radius: 50%;
  color: #745e51;
  font-family: var(--serif);
  font-size: 20px;
}
.hmai-search-empty > p:not(.hmai-search-empty__eyebrow) { max-width: 550px; margin: 14px auto 22px; color: #746d67; line-height: 1.7; }
.hmai-search-suggestions { margin-top: 20px; padding-top: 34px; border-top: 1px solid var(--hmai-soft-line); }
.hmai-search-suggestions__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.hmai-search-suggestions__head > a { color: #3c3835; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hmai-search-suggestions__head > a span { margin-left: 7px; }
.hmai-search-suggestions > ul.products {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 42px 18px;
  margin: 0 !important;
  padding: 0 !important;
}
.hmai-search-suggestions > ul.products::before,
.hmai-search-suggestions > ul.products::after { display: none !important; }
.hmai-search-suggestions > ul.products > li.product { float: none !important; width: auto !important; margin: 0 !important; min-width: 0; }
.hmai-product-search-page .hmai-shop-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 48px 0 0;
  padding: 0;
  border: 0;
}
.hmai-product-search-page .hmai-shop-pagination ul.page-numbers li { border: 0; }
.hmai-product-search-page .hmai-shop-pagination .page-numbers a,
.hmai-product-search-page .hmai-shop-pagination .page-numbers span {
  min-width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid #ded6cf;
  background: #fff;
  color: #4f4944;
  font-size: 10px;
}
.hmai-product-search-page .hmai-shop-pagination .page-numbers .current,
.hmai-product-search-page .hmai-shop-pagination .page-numbers a:hover { border-color: var(--green-btn); background: var(--green-btn); color: #fff; }

@media (max-width: 900px) {
  .hmai-search-refine { grid-template-columns: 1fr; gap: 20px; }
  .hmai-search-suggestions > ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .hmai-product-search-page .hmai-inner-hero__inner,
  .hmai-search-shell { width: calc(100% - 28px); }
  .hmai-search-shell { padding-top: 22px; }
  .hmai-search-refine { margin-bottom: 24px; padding: 22px 18px; }
  .hmai-search-refine__form { grid-template-columns: auto minmax(0,1fr); }
  .hmai-search-refine__form button { grid-column: 1 / -1; width: 100%; justify-content: center; margin-bottom: 8px; }
  .hmai-search-suggestions > ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 10px; }
  .hmai-search-suggestions__head { align-items: flex-start; }
}

/* =========================================================
   v5.2.0 AI STYLE SEARCH RESULT CONTEXT
   ========================================================= */
.hmai-ai-match-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  margin: 0 0 26px;
  padding: 22px 24px;
  border: 1px solid #e1d9d1;
  border-radius: 4px;
  background: #fbf8f4;
}
.hmai-ai-match-summary__spark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #294437;
  color: #fff;
}
.hmai-ai-match-summary__spark .ico { width: 17px; height: 17px; }
.hmai-ai-match-summary__eyebrow {
  margin: 0 0 6px;
  color: #9a8271;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hmai-ai-match-summary h2 {
  margin: 0;
  color: #302c29;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.25;
}
.hmai-ai-match-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.hmai-ai-match-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #ded5cc;
  border-radius: 999px;
  background: #fff;
  color: #655d56;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hmai-ai-match-summary__note {
  max-width: 220px;
  margin: 2px 0 0;
  color: #887f77;
  font-size: 9px;
  line-height: 1.55;
  text-align: right;
}
@media (max-width: 767px) {
  .hmai-ai-match-summary { grid-template-columns: 36px minmax(0,1fr); gap: 13px; padding: 18px; }
  .hmai-ai-match-summary__spark { width: 36px; height: 36px; }
  .hmai-ai-match-summary__note { grid-column: 2; max-width: none; text-align: left; }
}

/* =========================================================
   v5.3.0 MOBILE COMMERCE IMAGE VISIBILITY
   Shop/search/collection cards should show the complete garment on phones.
   ========================================================= */
@media (max-width: 767px) {
  .hmai-inner-hero__media,
  .hmai-shop-card__media,
  .hmai-editorial-card__image,
  .hmai-404-collections a {
    background: #f3eee8;
  }

  .hmai-inner-hero__media img,
  .hmai-shop-card__image img,
  .hmai-editorial-card__image img,
  .hmai-404-collections img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
  }

  .hmai-shop-card__media {
    aspect-ratio: 3 / 4;
  }

  .hmai-shop-card:hover .hmai-shop-card__image img,
  .hmai-editorial-card:hover .hmai-editorial-card__image img,
  .hmai-404-collections a:hover img {
    transform: none !important;
  }

  /* WooCommerce product gallery should always scale to the phone width and
     retain the source image ratio instead of clipping it. */
  .woocommerce div.product div.images .woocommerce-product-gallery__image,
  .woocommerce div.product div.images .woocommerce-product-gallery__image a {
    width: 100%;
    max-width: 100%;
  }
  .woocommerce div.product div.images .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* =========================================================
   v5.3.2 PRODUCT DETAIL — COMPLETE MOBILE RESPONSIVE PASS
   Keeps the desktop PDP untouched. Prevents WooCommerce gallery,
   variations, cart controls, tabs and related products from overflowing.
   ========================================================= */
@media (max-width: 767px) {
  body.single-product,
  body.single-product #page,
  body.single-product #main,
  body.single-product .hmai-commerce-shell,
  body.single-product .hmai-product-detail,
  body.single-product .hmai-product-detail__main,
  body.single-product .hmai-product-detail__gallery,
  body.single-product .hmai-product-detail__summary,
  body.single-product .hmai-product-detail__after {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.single-product .hmai-product-breadcrumbbar,
  body.single-product .hmai-commerce-shell {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single-product .hmai-product-shell {
    padding-top: 14px !important;
    padding-bottom: 52px !important;
  }

  body.single-product .hmai-product-detail__main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
  }

  /* Product gallery / FlexSlider */
  body.single-product .hmai-product-detail__gallery,
  body.single-product .woocommerce-product-gallery,
  body.single-product .woocommerce-product-gallery__wrapper,
  body.single-product .flex-viewport,
  body.single-product .woocommerce-product-gallery__image,
  body.single-product .woocommerce-product-gallery__image a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product .woocommerce-product-gallery,
  body.single-product .flex-viewport,
  body.single-product .woocommerce-product-gallery__image {
    overflow: hidden !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
  }

  body.single-product .woocommerce-product-gallery__image,
  body.single-product .woocommerce-product-gallery__image a {
    height: auto !important;
    aspect-ratio: auto !important;
    background: #f3eee8;
  }

  body.single-product .woocommerce-product-gallery__image img,
  body.single-product .woocommerce-product-gallery__wrapper img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
  }

  body.single-product .woocommerce-product-gallery__trigger {
    top: 10px !important;
    right: 10px !important;
    width: 38px !important;
    height: 38px !important;
  }

  body.single-product .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
  }

  body.single-product .flex-control-thumbs li {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
  }

  body.single-product .flex-control-thumbs img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }

  /* Summary/content */
  body.single-product .hmai-product-detail__summary,
  body.single-product .woocommerce div.product div.summary,
  body.single-product.woocommerce-page div.product div.summary {
    position: static !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product .hmai-product-detail .product_title {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(28px, 9vw, 36px) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere;
  }

  body.single-product .hmai-product-detail p.price,
  body.single-product .hmai-product-detail span.price {
    margin-top: 14px !important;
    font-size: 19px !important;
    line-height: 1.4 !important;
  }

  body.single-product .woocommerce-product-details__short-description {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 16px !important;
    padding-top: 16px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    overflow-wrap: anywhere;
  }

  body.single-product .woocommerce-product-details__short-description img,
  body.single-product .woocommerce-product-details__short-description video,
  body.single-product .woocommerce-product-details__short-description iframe {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Simple + variable add-to-cart */
  body.single-product .hmai-product-detail form.cart,
  body.single-product .hmai-product-detail form.variations_form,
  body.single-product .hmai-product-detail .single_variation_wrap,
  body.single-product .hmai-product-detail .woocommerce-variation-add-to-cart {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product .hmai-product-detail form.cart {
    margin-top: 22px !important;
  }

  body.single-product .hmai-product-detail form.cart:not(.variations_form),
  body.single-product .hmai-product-detail .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 9px !important;
    align-items: stretch !important;
  }

  body.single-product .hmai-product-detail .quantity,
  body.single-product .hmai-product-detail .quantity .qty {
    width: 72px !important;
    min-width: 0 !important;
    max-width: 72px !important;
  }

  body.single-product .hmai-product-detail .quantity .qty {
    height: 50px !important;
  }

  body.single-product .hmai-product-detail .single_add_to_cart_button,
  body.single-product .hmai-product-detail button.button.alt {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  body.single-product .hmai-product-detail table.variations,
  body.single-product .hmai-product-detail table.variations tbody,
  body.single-product .hmai-product-detail table.variations tr,
  body.single-product .hmai-product-detail table.variations th,
  body.single-product .hmai-product-detail table.variations td {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product .hmai-product-detail table.variations {
    display: block !important;
    table-layout: fixed !important;
  }

  body.single-product .hmai-product-detail table.variations tbody {
    display: block !important;
  }

  body.single-product .hmai-product-detail table.variations tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  body.single-product .hmai-product-detail table.variations th,
  body.single-product .hmai-product-detail table.variations td {
    display: block !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.single-product .hmai-product-detail table.variations select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  /* Secondary actions */
  body.single-product .hmai-single-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  body.single-product .hmai-single-wishlist {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  body.single-product .hmai-single-help {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
  }

  body.single-product .hmai-product-assurance {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  body.single-product .hmai-product-assurance span,
  body.single-product .product_meta,
  body.single-product .product_meta span {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  /* Tabs / long product content */
  body.single-product .hmai-product-detail__after {
    width: 100% !important;
    margin-top: 44px !important;
  }

  body.single-product .woocommerce-tabs,
  body.single-product .woocommerce-tabs .panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product .woocommerce-tabs ul.tabs {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none;
  }

  body.single-product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto !important;
  }

  body.single-product .woocommerce-tabs .panel {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 46px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    overflow-wrap: anywhere;
  }

  body.single-product .woocommerce-tabs .panel h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  body.single-product .woocommerce-tabs .panel img,
  body.single-product .woocommerce-tabs .panel video,
  body.single-product .woocommerce-tabs .panel iframe {
    max-width: 100% !important;
    height: auto !important;
  }

  body.single-product .woocommerce-tabs .panel table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* Related / upsell product grids */
  body.single-product section.related,
  body.single-product section.upsells {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 42px !important;
  }

  body.single-product section.related > h2,
  body.single-product section.upsells > h2 {
    margin-bottom: 22px !important;
    font-size: clamp(25px, 8vw, 32px) !important;
    line-height: 1.12 !important;
  }

  body.single-product section.related ul.products,
  body.single-product section.upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product section.related ul.products::before,
  body.single-product section.related ul.products::after,
  body.single-product section.upsells ul.products::before,
  body.single-product section.upsells ul.products::after {
    display: none !important;
  }

  body.single-product section.related ul.products li.product,
  body.single-product section.upsells ul.products li.product {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.single-product section.related ul.products li.product img,
  body.single-product section.upsells ul.products li.product img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 420px) {
  body.single-product .hmai-product-breadcrumbbar,
  body.single-product .hmai-commerce-shell {
    width: calc(100% - 22px) !important;
    max-width: calc(100% - 22px) !important;
  }

  body.single-product .hmai-product-detail__main {
    gap: 20px !important;
  }

  body.single-product .hmai-product-detail .product_title {
    font-size: clamp(27px, 9.5vw, 34px) !important;
  }

  body.single-product .flex-control-thumbs {
    gap: 5px !important;
  }

  body.single-product .hmai-product-detail form.cart:not(.variations_form),
  body.single-product .hmai-product-detail .woocommerce-variation-add-to-cart {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body.single-product .hmai-product-detail .quantity,
  body.single-product .hmai-product-detail .quantity .qty {
    width: 64px !important;
    max-width: 64px !important;
  }

  body.single-product section.related ul.products,
  body.single-product section.upsells ul.products {
    gap: 24px 8px !important;
  }
}

/* =========================================================
   v5.3.3 PRODUCT DETAIL — PROFESSIONAL MOBILE GALLERY + UI
   Replaces fragile mobile FlexSlider presentation with a Hoorain gallery.
   Desktop is intentionally unchanged.
   ========================================================= */
@media (max-width: 767px) {
  body.single-product .hmai-product-breadcrumbbar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box !important;
  }
  body.single-product .hmai-product-breadcrumbbar::-webkit-scrollbar { display: none; }
  body.single-product .hmai-product-breadcrumbbar,
  body.single-product .hmai-product-breadcrumbbar a {
    font-size: 10px !important;
    letter-spacing: .08em !important;
  }

  body.single-product .hmai-commerce-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px 16px 48px !important;
    box-sizing: border-box !important;
  }

  /* JS-built gallery is the mobile source of truth. The original Woo gallery
     stays in the DOM for lightbox/variation compatibility but is not laid out. */
  body.single-product.hmai-mobile-gallery-ready .hmai-product-detail__gallery > .woocommerce-product-gallery {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    max-width: 1px !important;
    max-height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  body.single-product .hmai-mobile-product-gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  body.single-product .hmai-mobile-product-gallery__stage {
    position: relative;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid #e8e0d8;
    border-radius: 4px;
    background: #f5f1ec;
  }
  body.single-product .hmai-mobile-product-gallery__image-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
  }
  body.single-product .hmai-mobile-product-gallery__main-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 72svh;
    min-height: 0;
    margin: 0 auto;
    object-fit: contain;
    object-position: center top;
    background: #f5f1ec;
  }
  body.single-product .hmai-mobile-product-gallery__counter {
    position: absolute;
    right: 11px;
    bottom: 11px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #3f3934;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
    box-shadow: 0 3px 12px rgba(35,30,26,.08);
  }
  body.single-product .hmai-mobile-product-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(205,195,185,.8);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #2f2a26;
    transform: translateY(-50%);
    box-shadow: 0 3px 12px rgba(35,30,26,.08);
  }
  body.single-product .hmai-mobile-product-gallery__nav--prev { left: 10px; }
  body.single-product .hmai-mobile-product-gallery__nav--next { right: 10px; }

  body.single-product .hmai-mobile-product-gallery__thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(72px, 22%);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-top: 9px;
    padding: 0 0 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.single-product .hmai-mobile-product-gallery__thumbs::-webkit-scrollbar { display: none; }
  body.single-product .hmai-mobile-product-gallery__thumb {
    position: relative;
    scroll-snap-align: start;
    width: 100%;
    aspect-ratio: 3 / 4;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e3dad1;
    border-radius: 3px;
    background: #f5f1ec;
  }
  body.single-product .hmai-mobile-product-gallery__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    pointer-events: none;
  }
  body.single-product .hmai-mobile-product-gallery__thumb.is-active {
    border-color: #294235;
  }
  body.single-product .hmai-mobile-product-gallery__thumb.is-active::after {
    border-color: #294235;
  }
  body.single-product .hmai-mobile-product-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  /* Keep the sale badge attached to the gallery rather than floating in a
     large empty area when Woo's original gallery is visually hidden. */
  body.single-product .hmai-product-detail__gallery { position: relative !important; }
  body.single-product .hmai-product-detail > .onsale,
  body.single-product .hmai-product-detail span.onsale {
    top: 12px !important;
    left: 12px !important;
    z-index: 8 !important;
  }

  /* Product summary: editorial hierarchy, not raw Woo/plugin output. */
  body.single-product .hmai-product-detail__main { gap: 26px !important; }
  body.single-product div.product .summary.entry-summary,
  body.single-product .hmai-product-detail__summary {
    padding: 0 !important;
  }
  body.single-product div.product .product_title,
  body.single-product .hmai-product-detail .product_title {
    margin: 0 !important;
    font-size: clamp(27px, 8vw, 34px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  body.single-product div.product p.price,
  body.single-product div.product span.price {
    margin: 13px 0 0 !important;
    font-size: 18px !important;
  }
  body.single-product .woocommerce-product-details__short-description {
    margin-top: 16px !important;
    padding-top: 16px !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  /* Remove third-party duplicate compare/wishlist lines. Hoorain's own
     wishlist button remains directly below Add to Cart. */
  body.single-product .summary a.compare,
  body.single-product .summary .compare.button,
  body.single-product .summary .woosc-btn,
  body.single-product .summary .yith-wcwl-add-to-wishlist,
  body.single-product .summary .yith-wcwl-wishlistaddedbrowse,
  body.single-product .summary .yith-wcwl-wishlistexistsbrowse {
    display: none !important;
  }

  body.single-product .hmai-product-detail form.cart:not(.variations_form),
  body.single-product .hmai-product-detail .woocommerce-variation-add-to-cart {
    grid-template-columns: 66px minmax(0, 1fr) !important;
    gap: 9px !important;
  }
  body.single-product .hmai-product-detail .quantity,
  body.single-product .hmai-product-detail .quantity .qty {
    width: 66px !important;
    max-width: 66px !important;
  }
  body.single-product .hmai-product-detail .quantity .qty,
  body.single-product .hmai-product-detail .single_add_to_cart_button,
  body.single-product .hmai-product-detail button.button.alt {
    min-height: 50px !important;
    height: 50px !important;
  }

  body.single-product .hmai-single-actions {
    margin-top: 10px !important;
    gap: 10px !important;
  }
  body.single-product .hmai-single-wishlist {
    min-height: 48px !important;
    border-radius: 3px !important;
    background: #fff !important;
    font-size: 10px !important;
  }
  body.single-product .hmai-single-help {
    margin-top: 2px;
    padding: 4px 0 1px;
    color: #777069 !important;
    font-size: 10px !important;
  }

  body.single-product .hmai-product-assurance {
    margin-top: 20px !important;
    padding: 16px 0 !important;
    gap: 12px !important;
  }
  body.single-product .hmai-product-assurance span {
    font-size: 10px !important;
  }

  body.single-product .product_meta {
    margin-top: 18px !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid #ebe4dd;
    gap: 7px !important;
    font-size: 10px !important;
    line-height: 1.55 !important;
  }
  body.single-product .product_meta .tagged_as { display: none !important; }

  /* Professional compact mobile tabs. */
  body.single-product div.product .woocommerce-tabs.wc-tabs-wrapper {
    margin-top: 0 !important;
  }
  body.single-product div.product .woocommerce-tabs ul.tabs,
  body.single-product div.product .woocommerce-tabs ul.tabs.wc-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 0 24px !important;
    padding: 4px !important;
    overflow: visible !important;
    border: 1px solid #e5ddd5 !important;
    border-radius: 4px !important;
    background: #f8f5f1 !important;
  }
  body.single-product div.product .woocommerce-tabs ul.tabs li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.single-product div.product .woocommerce-tabs ul.tabs li a {
    width: 100% !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 9px !important;
    border-radius: 3px !important;
    color: #766e68 !important;
    font-size: 9px !important;
    letter-spacing: .1em !important;
    text-align: center !important;
  }
  body.single-product div.product .woocommerce-tabs ul.tabs li.active a {
    background: #fff !important;
    color: #294235 !important;
    box-shadow: 0 1px 4px rgba(43,37,32,.07);
  }
  body.single-product .woocommerce-tabs .panel {
    margin: 0 0 36px !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  body.single-product .woocommerce-tabs .panel > h2,
  body.single-product .woocommerce-tabs .panel h2:first-child {
    margin: 0 0 16px !important;
    font-family: var(--serif) !important;
    font-size: 27px !important;
    font-weight: 400 !important;
    line-height: 1.12 !important;
  }
  body.single-product .woocommerce-tabs .panel iframe,
  body.single-product .woocommerce-tabs .panel video {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 0 !important;
  }
}

@media (max-width: 420px) {
  body.single-product .hmai-commerce-shell { padding-left: 12px !important; padding-right: 12px !important; }
  body.single-product .hmai-product-breadcrumbbar { padding-left: 12px !important; padding-right: 12px !important; }
  body.single-product .hmai-mobile-product-gallery__thumbs { grid-auto-columns: minmax(68px, 24%); gap: 6px; }
  body.single-product div.product .product_title,
  body.single-product .hmai-product-detail .product_title { font-size: clamp(26px, 7.8vw, 32px) !important; }
}


/* ==========================================================
   v5.3.4 SINGLE PRODUCT — ONE WISHLIST CONTROL ONLY
   Keep Hoorain's .hmai-single-wishlist and suppress third-party
   wishlist/compare controls that duplicate the same action.
   ========================================================== */
body.single-product .summary .yith-wcwl-add-to-wishlist,
body.single-product .summary .yith-wcwl-wishlistaddedbrowse,
body.single-product .summary .yith-wcwl-wishlistexistsbrowse,
body.single-product .summary .tinv-wraper.tinv-wishlist,
body.single-product .summary .tinv-wishlist,
body.single-product .summary .tinvwl_add_to_wishlist_button,
body.single-product .summary .woosw-btn,
body.single-product .summary .woosw-btn-has-icon,
body.single-product .summary .woosw-added,
body.single-product .summary .add_to_wishlist,
body.single-product .summary .wishlist-button,
body.single-product .summary .woocommerce-wishlist-button,
body.single-product .summary a.compare,
body.single-product .summary button.compare,
body.single-product .summary .compare.button,
body.single-product .summary .woosc-btn,
body.single-product .summary .wooscp-btn {
  display: none !important;
}

/* Hoorain's own action remains the single visible wishlist control. */
body.single-product .summary .hmai-single-actions,
body.single-product .summary .hmai-single-wishlist {
  display: flex !important;
}


/* v5.4.0 — Search Again with AI: text, voice and photo on every result page */
.hmai-search-again{margin:0 0 28px;padding:28px 30px;border:1px solid #e4ded7;background:#fff;}
.hmai-search-again__head{display:flex;align-items:flex-start;justify-content:space-between;gap:26px;margin-bottom:22px;}
.hmai-search-again__head h2{margin:0;font:400 30px/1.15 "Libre Caslon Text",serif;color:#2e2926;}
.hmai-search-again__head p{margin:8px 0 0;max-width:690px;color:#756e68;font-size:13px;line-height:1.55;}
.hmai-search-again__modes{display:flex;gap:8px;flex-wrap:wrap;}
.hmai-search-again__modes button{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid #ddd5cd;border-radius:999px;background:#fff;color:#3b3733;font:600 11px/1 Inter,sans-serif;letter-spacing:.05em;text-transform:uppercase;cursor:pointer;}
.hmai-search-again__modes button .ico{width:14px;height:14px;}
.hmai-search-again__modes button.is-active{background:#2f6048;border-color:#2f6048;color:#fff;}
.hmai-search-again__panel[hidden]{display:none!important;}
.hmai-search-again__text-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border-top:1px solid #e7e1da;border-bottom:1px solid #bdb5ad;padding:12px 0;}
.hmai-search-again__text-form>.ico{width:19px;height:19px;color:#45413d;}
.hmai-search-again__text-form input{min-width:0;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;padding:10px 0!important;font:500 14px/1.3 Inter,sans-serif!important;}
.hmai-search-again__primary,.hmai-search-again__text-form button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;background:#2f6048;color:#fff;padding:14px 22px;min-height:46px;font:700 11px/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;}
.hmai-search-again__primary:disabled,.hmai-search-again__text-form button:disabled{opacity:.55;cursor:wait;}
.hmai-search-again__secondary{border:1px solid #d8d0c7;background:#fff;color:#3d3834;padding:12px 16px;min-height:44px;font:600 11px/1 Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;}
.hmai-search-again__voice{max-width:760px;}
.hmai-search-again__voice-main{width:100%;display:flex;align-items:center;gap:14px;text-align:left;padding:14px 16px;border:1px solid #d8d0c7;background:#faf8f5;border-radius:999px;cursor:pointer;}
.hmai-search-again__voice-main>span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0;}
.hmai-search-again__voice-main strong{font:600 14px/1.2 Inter,sans-serif;color:#2e2926;}
.hmai-search-again__voice-main small{font:400 11px/1.35 Inter,sans-serif;color:#7a736d;white-space:normal;}
.hmai-search-again__voice-circle{flex:0 0 44px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#2f6048;color:#fff;position:relative;overflow:hidden;}
.hmai-search-again__voice-circle .ico{width:18px;height:18px;}
.hmai-search-again__voice-wave{display:flex;align-items:center;justify-content:center;gap:2px;height:20px;}
.hmai-search-again__voice-wave[hidden]{display:none!important;}
.hmai-search-again__voice-wave i{display:block;width:2px;height:6px;background:#fff;border-radius:4px;animation:hmaiVoiceBars .8s ease-in-out infinite alternate;}
.hmai-search-again__voice-wave i:nth-child(2){animation-delay:.1s}.hmai-search-again__voice-wave i:nth-child(3){animation-delay:.2s}.hmai-search-again__voice-wave i:nth-child(4){animation-delay:.3s}.hmai-search-again__voice-wave i:nth-child(5){animation-delay:.4s}
@keyframes hmaiVoiceBars{to{height:20px}}
.hmai-search-again__voice-review{margin-top:14px;padding:16px;border:1px solid #e2dcd5;background:#fff;}
.hmai-search-again__voice-review[hidden]{display:none!important;}
.hmai-search-again__voice-review label{display:block;margin-bottom:7px;font:700 10px/1 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#8a7e73;}
.hmai-search-again__voice-review input{width:100%;min-height:46px;padding:11px 12px;border:1px solid #d9d2cb;font:500 14px/1.3 Inter,sans-serif;}
.hmai-search-again__voice-actions,.hmai-search-again__photo-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:12px;}
.hmai-search-again__photo{max-width:760px;}
.hmai-search-again__drop{display:flex;align-items:center;gap:16px;padding:14px;border:1px dashed #cfc6bd;background:#faf8f5;cursor:pointer;}
.hmai-search-again__drop.is-dragging{border-color:#2f6048;background:#f1f5f2;}
.hmai-search-again__photo-preview{width:78px;height:96px;flex:0 0 78px;background:#eee9e3;display:grid;place-items:center;overflow:hidden;}
.hmai-search-again__photo-preview .ico{width:24px;height:24px;color:#625c56;}
.hmai-search-again__photo-preview img{width:100%;height:100%;object-fit:cover;display:block;}
.hmai-search-again__photo-copy{display:flex;flex-direction:column;gap:5px;}
.hmai-search-again__photo-copy strong{font:600 14px/1.25 Inter,sans-serif;color:#2e2926;}
.hmai-search-again__photo-copy small{font:400 11px/1.35 Inter,sans-serif;color:#7d756f;}
.hmai-search-again__photo-actions[hidden]{display:none!important;}
.hmai-search-again__status{min-height:18px;margin:13px 0 0;font:500 12px/1.45 Inter,sans-serif;color:#756d66;}
.hmai-search-again__status.is-error{color:#9f332d}.hmai-search-again__status.is-success{color:#2f6048}.hmai-search-again__status.is-working{color:#6d5d4e}
@media(max-width:767px){
  .hmai-search-again{padding:20px 16px;margin-bottom:22px;}
  .hmai-search-again__head{display:block;margin-bottom:18px;}
  .hmai-search-again__head h2{font-size:25px;}
  .hmai-search-again__modes{margin-top:16px;display:grid;grid-template-columns:repeat(3,1fr);}
  .hmai-search-again__modes button{justify-content:center;padding:10px 8px;}
  .hmai-search-again__text-form{grid-template-columns:auto minmax(0,1fr);}
  .hmai-search-again__text-form button{grid-column:1/-1;width:100%;}
  .hmai-search-again__voice-actions,.hmai-search-again__photo-actions{display:grid;grid-template-columns:1fr;}
  .hmai-search-again__primary,.hmai-search-again__secondary{width:100%;}
  .hmai-search-again__voice-main{border-radius:24px;}
}


/* =========================================================
   v5.4.1 SEARCH AGAIN WITH AI — HOORAIN VISUAL SYSTEM
   Matches the soft editorial Personal Styling treatment.
   ========================================================= */
.hmai-search-again {
  position: relative;
  margin: 0 0 34px;
  padding: 30px 32px 32px;
  border: 0;
  border-radius: 22px;
  background: #f3e9df;
  box-shadow: 0 12px 34px rgba(55,43,33,.07);
  overflow: hidden;
}
.hmai-search-again__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  margin-bottom:22px;
}
.hmai-search-again__head h2 {
  margin:0;
  font:400 34px/1.08 "Libre Caslon Text",serif;
  color:#211d1a;
  letter-spacing:-.015em;
}
.hmai-search-again__head p { display:none; }
.hmai-search-again__modes {
  display:flex;
  gap:8px;
  padding:5px;
  border-radius:999px;
  background:rgba(255,255,255,.58);
}
.hmai-search-again__modes button {
  min-height:38px;
  padding:9px 15px;
  border:1px solid transparent;
  border-radius:999px;
  background:transparent;
  color:#514941;
  font:600 10px/1 Inter,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hmai-search-again__modes button.is-active {
  background:#2f6048;
  border-color:#2f6048;
  color:#fff;
  box-shadow:0 5px 14px rgba(47,96,72,.16);
}
.hmai-search-again__panel {
  padding:18px;
  border:1px solid rgba(207,195,183,.72);
  border-radius:14px;
  background:#fffdfa;
}
.hmai-search-again__panel[hidden] { display:none!important; }
.hmai-search-again__text-form {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  border:1px solid #ded5cb;
  border-radius:10px;
  background:#fff;
  padding:7px 8px 7px 14px;
}
.hmai-search-again__text-form input {
  min-height:48px;
  border:0!important;
  background:transparent!important;
}
.hmai-search-again__primary,
.hmai-search-again__text-form button {
  min-height:48px;
  border-radius:7px;
  background:#2f6048;
  padding:14px 22px;
}
.hmai-search-again__voice,
.hmai-search-again__photo { max-width:none; }
.hmai-search-again__voice-main {
  width:100%;
  min-height:76px;
  border:1px solid #ded5cb;
  border-radius:12px;
  background:#fff;
  padding:12px 14px;
}
.hmai-search-again__voice-review {
  border:1px solid #ded5cb;
  border-radius:12px;
  background:#fff;
}
.hmai-search-again__drop {
  min-height:132px;
  padding:16px;
  border:1px dashed #cfc3b7;
  border-radius:12px;
  background:#fff;
}
.hmai-search-again__photo-preview {
  width:98px;
  height:122px;
  flex:0 0 98px;
  border-radius:8px;
  background:#f3eee8;
}
.hmai-search-again__photo-preview img {
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#f3eee8;
}
.hmai-search-again__secondary {
  border-radius:7px;
  background:#fff;
}
.hmai-search-again__status {
  margin:12px 4px 0;
  min-height:0;
}

@media (max-width: 767px) {
  .hmai-search-again {
    padding:22px 16px 20px;
    border-radius:16px;
    margin-bottom:24px;
  }
  .hmai-search-again__head { display:block; margin-bottom:16px; }
  .hmai-search-again__head h2 { font-size:28px; }
  .hmai-search-again__modes {
    margin-top:15px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-radius:12px;
  }
  .hmai-search-again__modes button { justify-content:center; border-radius:9px; padding:10px 7px; }
  .hmai-search-again__panel { padding:12px; border-radius:11px; }
  .hmai-search-again__text-form { grid-template-columns:auto minmax(0,1fr); padding:8px 10px; }
  .hmai-search-again__text-form button { grid-column:1/-1; width:100%; }
  .hmai-search-again__drop { align-items:center; min-height:116px; }
  .hmai-search-again__photo-preview { width:82px; height:104px; flex-basis:82px; }
}


/* =========================================================
   v5.4.2 COMPACT AI RESULT CONTEXT
   Keep AI reasoning out of the shopping UI: short fashion cues only.
   ========================================================= */
.hmai-ai-match-summary {
  grid-template-columns: 38px minmax(0,1fr);
  gap: 14px;
  padding: 18px 20px;
  border-radius: 10px;
}
.hmai-ai-match-summary__spark { width:38px; height:38px; }
.hmai-ai-match-summary h2 {
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.3;
}
.hmai-ai-match-tags { margin-top:10px; gap:6px; }
.hmai-ai-match-tags span { min-height:24px; padding:0 9px; font-size:7.5px; }
.hmai-ai-match-summary__note { display:none !important; }
@media (max-width:767px) {
  .hmai-ai-match-summary { padding:16px; gap:12px; }
  .hmai-ai-match-summary h2 { font-size:17px; }
}


/* =========================================================
   v5.4.9 PREMIUM SINGLE PRODUCT — EDITORIAL DESKTOP
   ========================================================= */
@media (min-width: 1024px) {
  body.single-product .hmai-commerce-shell,
  body.single-product .hmai-product-breadcrumbbar {
    width: min(1460px, calc(100% - 56px));
    max-width: 1460px;
  }
  body.single-product .hmai-product-detail__main {
    grid-template-columns: minmax(0, 1.55fr) minmax(390px, .82fr) !important;
    gap: clamp(44px, 5vw, 84px) !important;
    align-items: start;
  }
  body.single-product .hmai-product-detail__gallery .woocommerce-product-gallery,
  body.single-product .hmai-product-detail__gallery div.images {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 152px !important;
    gap: 14px !important;
    align-items: start !important;
  }
  body.single-product .hmai-product-detail__gallery .flex-viewport {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    background: #f5f0ea;
  }
  body.single-product .hmai-product-detail__gallery .woocommerce-product-gallery__wrapper {
    grid-column: 1 !important;
  }
  body.single-product .hmai-product-detail__gallery .flex-control-thumbs {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
    max-height: 760px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
  }
  body.single-product .hmai-product-detail__gallery .flex-control-thumbs::-webkit-scrollbar { display:none; }
  body.single-product .hmai-product-detail__gallery .flex-control-thumbs li {
    width: 100% !important;
    flex: 0 0 auto;
  }
  body.single-product .hmai-product-detail__gallery .flex-control-thumbs img {
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
    border-radius: 3px;
  }
  body.single-product .hmai-product-detail__gallery .woocommerce-product-gallery__image img {
    width:100% !important;
    height:auto !important;
    object-fit:contain !important;
    background:#f5f0ea;
  }
  body.single-product .hmai-product-detail__summary {
    position: sticky !important;
    top: 28px !important;
    padding-top: 28px !important;
  }
  body.single-product .hmai-product-detail .product_title {
    font-size: clamp(40px, 4vw, 62px) !important;
    line-height: .98 !important;
    letter-spacing: -.035em !important;
  }
  body.single-product .hmai-product-assurance {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  }
  body.single-product section.related ul.products,
  body.single-product section.upsells ul.products {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 28px 18px !important;
  }
}

body.single-product .hmai-product-detail > .onsale,
body.single-product .hmai-product-detail span.onsale { display:none !important; }
body.single-product .hmai-product-brand {
  margin: 0 0 12px;
  color:#a77d67;
  font-size:11px;
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
}
body.single-product .hmai-product-detail p.price,
body.single-product .hmai-product-detail span.price {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:24px !important;
  font-size:22px !important;
}
body.single-product .hmai-product-discount {
  display:inline-flex;
  align-items:center;
  min-height:30px;
  margin-left:16px;
  padding:0 12px;
  border-radius:4px;
  background:#f6ebe5;
  color:#8b5e4a;
  font-size:10px;
  font-weight:600;
  letter-spacing:.08em;
  vertical-align:middle;
}
body.single-product .hmai-product-detail form.cart:not(.variations_form),
body.single-product .hmai-product-detail .woocommerce-variation-add-to-cart {
  display:grid !important;
  grid-template-columns: 120px minmax(0,1fr) !important;
  gap:14px !important;
}
body.single-product .hmai-qty-control {
  width:120px !important;
  max-width:none !important;
  height:54px;
  display:grid !important;
  grid-template-columns:36px 1fr 36px;
  align-items:center;
  border:1px solid #ddd3ca;
  background:#fff;
}
body.single-product .hmai-qty-control .qty {
  width:100% !important;
  max-width:none !important;
  height:52px !important;
  border:0 !important;
  appearance:textfield;
}
body.single-product .hmai-qty-control .qty::-webkit-inner-spin-button,
body.single-product .hmai-qty-control .qty::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
body.single-product .hmai-qty-btn {
  width:36px;
  height:52px;
  display:grid;
  place-items:center;
  border:0;
  background:transparent;
  color:#3c3732;
  font-size:20px;
  cursor:pointer;
}
body.single-product .hmai-product-detail .single_add_to_cart_button,
body.single-product .hmai-product-detail button.button.alt {
  min-height:54px !important;
  border-radius:3px !important;
  font-size:12px !important;
  letter-spacing:.12em !important;
}
body.single-product .hmai-single-actions { margin-top:14px !important; }
body.single-product .hmai-single-wishlist {
  width:100%;
  min-height:50px;
  justify-content:center;
  border-color:#cfc4bb;
  background:#fff;
}
body.single-product .hmai-product-assurance {
  margin-top:28px;
  padding:22px 0;
  gap:14px;
}
body.single-product .hmai-product-assurance span {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:8px;
  color:#5e5852;
}
body.single-product .hmai-product-assurance .ico { width:24px; height:24px; color:#35312e; }
body.single-product .hmai-product-assurance b { font-size:9px; font-weight:500; line-height:1.35; }
body.single-product .product_meta { display:none !important; }

body.single-product .hmai-product-accordions {
  margin-top:26px;
  border-top:1px solid #e7dfd7;
}
body.single-product .hmai-product-accordion { border-bottom:1px solid #e7dfd7; }
body.single-product .hmai-product-accordion__button {
  width:100%;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:0 2px;
  border:0;
  background:transparent;
  color:#302c28;
  font-family:var(--serif);
  font-size:15px;
  text-align:left;
  cursor:pointer;
}
body.single-product .hmai-product-accordion__plus {
  font-family:Inter,sans-serif;
  font-size:20px;
  font-weight:300;
  transition:transform .18s ease;
}
body.single-product .hmai-product-accordion.is-open .hmai-product-accordion__plus { transform:rotate(45deg); }
body.single-product .hmai-product-accordion__panel {
  padding:0 2px 20px;
  color:#665f59;
  font-size:12px;
  line-height:1.75;
}
body.single-product .hmai-product-accordion__panel p { margin:0; }
body.single-product .hmai-product-accordion__panel a { color:#294235; text-decoration:underline; text-underline-offset:3px; }
body.single-product .hmai-product-detail__after > .woocommerce-tabs { display:none !important; }
body.single-product section.related > h2,
body.single-product section.upsells > h2 {
  text-align:left !important;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:28px !important;
}

@media (max-width: 767px) {
  body.single-product .hmai-product-discount { margin-left:10px; }
  body.single-product .hmai-product-detail form.cart:not(.variations_form),
  body.single-product .hmai-product-detail .woocommerce-variation-add-to-cart {
    grid-template-columns: 104px minmax(0,1fr) !important;
  }
  body.single-product .hmai-qty-control { width:104px !important; grid-template-columns:32px 1fr 32px; }
  body.single-product .hmai-product-assurance { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:18px 10px !important; }
  body.single-product .hmai-product-accordion__button { min-height:54px; font-size:14px; }
}

@media (max-width: 767px) {
  body.single-product .hmai-product-detail .quantity.hmai-qty-control { width:104px !important; max-width:104px !important; }
  body.single-product .hmai-product-detail .quantity.hmai-qty-control .qty { width:100% !important; max-width:none !important; }
}

body.single-product section.related .hmai-shop-card__badge,
body.single-product section.upsells .hmai-shop-card__badge { display:none !important; }

/* =========================================================
   v5.5.2 PRODUCT DETAIL — PREMIUM DESKTOP REBUILD
   Brings the live PDP in line with the approved editorial reference:
   larger primary image, substantial thumbnail rail, compact summary,
   collapsed detail rows and a stronger 4-card recommendation strip.
   ========================================================= */
@media (min-width: 900px) {
  body.single-product .hmai-product-breadcrumbbar,
  body.single-product .hmai-commerce-shell {
    width: min(1480px, calc(100% - 48px)) !important;
    max-width: 1480px !important;
  }

  body.single-product .hmai-product-breadcrumbbar {
    padding-top: 18px !important;
    padding-bottom: 8px !important;
    font-size: 10px;
    letter-spacing: .035em;
  }

  body.single-product .hmai-product-shell {
    padding-top: 8px !important;
    padding-bottom: 72px !important;
  }

  body.single-product .hmai-product-detail__main {
    display: grid !important;
    grid-template-columns: minmax(540px, 1.7fr) minmax(280px, .82fr) !important;
    gap: clamp(32px, 4vw, 58px) !important;
    align-items: start !important;
  }

  body.single-product.hmai-desktop-gallery-ready .hmai-product-detail__gallery > .woocommerce-product-gallery {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    max-width: 1px !important;
    max-height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  body.single-product .hmai-desktop-product-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(122px, 10.4vw, 158px);
    gap: 14px;
    align-items: start;
    width: 100%;
  }

  body.single-product .hmai-desktop-product-gallery__stage {
    min-width: 0;
    overflow: hidden;
    background: #f4eee8;
  }

  body.single-product .hmai-desktop-product-gallery__image-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
  }

  body.single-product .hmai-desktop-product-gallery__main-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 900px;
    object-fit: contain;
    object-position: center top;
    background: #f4eee8;
  }

  body.single-product .hmai-desktop-product-gallery__video-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #1d1d1d;
  }

  body.single-product .hmai-desktop-product-gallery__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #1d1d1d;
  }

  body.single-product .hmai-desktop-product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    overscroll-behavior: contain;
  }
  body.single-product .hmai-desktop-product-gallery__thumbs::-webkit-scrollbar { display: none; }

  body.single-product .hmai-desktop-product-gallery__thumb {
    position: relative;
    flex: 0 0 calc((100% - 40px) / 5);
    min-height: 88px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 2px;
    background: #f4eee8;
    overflow: hidden;
    cursor: pointer;
  }
  body.single-product .hmai-desktop-product-gallery__thumbs[data-count="1"] .hmai-desktop-product-gallery__thumb { flex-basis: 100%; }
  body.single-product .hmai-desktop-product-gallery__thumbs[data-count="2"] .hmai-desktop-product-gallery__thumb { flex-basis: calc((100% - 10px) / 2); }
  body.single-product .hmai-desktop-product-gallery__thumbs[data-count="3"] .hmai-desktop-product-gallery__thumb { flex-basis: calc((100% - 20px) / 3); }
  body.single-product .hmai-desktop-product-gallery__thumbs[data-count="4"] .hmai-desktop-product-gallery__thumb { flex-basis: calc((100% - 30px) / 4); }

  body.single-product .hmai-desktop-product-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: .88;
    transition: opacity .18s ease, transform .22s ease;
  }

  body.single-product .hmai-desktop-product-gallery__thumb:hover img,
  body.single-product .hmai-desktop-product-gallery__thumb.is-active img { opacity: 1; }
  body.single-product .hmai-desktop-product-gallery__thumb:hover img { transform: scale(1.02); }
  body.single-product .hmai-desktop-product-gallery__thumb.is-active { border-color: #c9beb4; }

  body.single-product .hmai-desktop-product-gallery__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(25,23,21,.12);
    color: #fff;
  }
  body.single-product .hmai-desktop-product-gallery__play::before {
    content: '';
    position: absolute;
    width: 54px;
    height: 54px;
    border: 2px solid rgba(255,255,255,.95);
    border-radius: 50%;
    background: rgba(28,27,25,.24);
  }
  body.single-product .hmai-desktop-product-gallery__play .ico {
    position: relative;
    z-index: 1;
    width: 22px;
    height: 22px;
  }

  /* Summary: closer proportions to the approved reference. */
  body.single-product .hmai-product-detail__summary,
  body.single-product .woocommerce div.product div.summary,
  body.single-product.woocommerce-page div.product div.summary {
    position: sticky !important;
    top: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: clamp(20px, 3vw, 40px) 0 0 !important;
  }

  body.single-product .hmai-product-brand {
    margin-bottom: 14px !important;
    font-size: 12px !important;
    letter-spacing: .24em !important;
  }

  body.single-product .hmai-product-detail .product_title {
    max-width: 10ch;
    font-size: clamp(46px, 4.8vw, 72px) !important;
    line-height: .93 !important;
    letter-spacing: -.042em !important;
    text-wrap: balance;
  }

  body.single-product .hmai-product-detail p.price,
  body.single-product .hmai-product-detail span.price {
    margin-top: 30px !important;
    font-size: clamp(20px, 1.8vw, 26px) !important;
    gap: 12px !important;
  }

  body.single-product .hmai-product-discount {
    min-height: 32px !important;
    margin-left: 16px !important;
    padding: 0 13px !important;
    font-size: 10px !important;
  }

  body.single-product .hmai-product-detail form.cart,
  body.single-product .hmai-product-detail form.variations_form {
    margin-top: 30px !important;
  }

  body.single-product .hmai-product-detail form.cart:not(.variations_form),
  body.single-product .hmai-product-detail .woocommerce-variation-add-to-cart {
    grid-template-columns: 118px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body.single-product .hmai-qty-control,
  body.single-product .hmai-product-detail .quantity.hmai-qty-control {
    width: 118px !important;
    height: 56px !important;
  }

  body.single-product .hmai-product-detail .single_add_to_cart_button,
  body.single-product .hmai-product-detail button.button.alt {
    min-height: 56px !important;
    font-size: 11px !important;
    letter-spacing: .12em !important;
  }

  body.single-product .hmai-single-wishlist {
    min-height: 52px !important;
    font-size: 10px !important;
  }

  body.single-product .hmai-product-assurance {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    margin-top: 30px !important;
    padding: 24px 0 !important;
    gap: 10px !important;
  }
  body.single-product .hmai-product-assurance .ico { width: 27px !important; height: 27px !important; }
  body.single-product .hmai-product-assurance b { font-size: 10px !important; }

  body.single-product .hmai-product-accordions { margin-top: 28px !important; }
  body.single-product .hmai-product-accordion__button {
    min-height: 62px !important;
    padding: 0 2px !important;
    font-size: 16px !important;
  }
  body.single-product .hmai-product-accordion__label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
  }
  body.single-product .hmai-product-accordion__label .ico {
    width: 23px;
    height: 23px;
    color: #37322e;
  }

  /* Recommendations: large 4-card editorial strip with a View All link. */
  body.single-product .hmai-product-detail__after {
    margin-top: 54px !important;
  }
  body.single-product section.related,
  body.single-product section.upsells {
    margin-top: 44px !important;
    padding-top: 20px;
    border-top: 1px solid #eee8e2;
  }
  body.single-product .hmai-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
  }
  body.single-product .hmai-related-head > h2 {
    margin: 0 !important;
    text-align: left !important;
    font-family: var(--serif) !important;
    font-size: clamp(26px, 2.6vw, 36px) !important;
    font-weight: 400 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
  }
  body.single-product .hmai-related-head__view {
    flex: 0 0 auto;
    color: #423c37;
    font-family: var(--serif);
    font-size: 13px;
    text-decoration: none;
  }
  body.single-product section.related > h2,
  body.single-product section.upsells > h2 { display: none !important; }

  body.single-product section.related ul.products,
  body.single-product section.upsells ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px 18px !important;
  }
  body.single-product section.related li.product,
  body.single-product section.upsells li.product {
    width: 100% !important;
    margin: 0 !important;
  }
  body.single-product section.related .hmai-shop-card__media,
  body.single-product section.upsells .hmai-shop-card__media {
    aspect-ratio: 4 / 5 !important;
    background: #f5f0ea;
  }
  body.single-product section.related .hmai-shop-card__image,
  body.single-product section.related .hmai-shop-card__image img,
  body.single-product section.upsells .hmai-shop-card__image,
  body.single-product section.upsells .hmai-shop-card__image img {
    width: 100% !important;
    height: 100% !important;
  }
  body.single-product section.related .hmai-shop-card__image img,
  body.single-product section.upsells .hmai-shop-card__image img {
    object-fit: cover !important;
    object-position: center top !important;
  }
  body.single-product section.related .hmai-shop-card__cart,
  body.single-product section.upsells .hmai-shop-card__cart,
  body.single-product section.related .hmai-shop-card__rating,
  body.single-product section.upsells .hmai-shop-card__rating {
    display: none !important;
  }
  body.single-product section.related .hmai-shop-card__wish,
  body.single-product section.upsells .hmai-shop-card__wish {
    width: 38px;
    height: 38px;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,.94);
  }
  body.single-product section.related .hmai-shop-card__body,
  body.single-product section.upsells .hmai-shop-card__body { padding-top: 13px; }
  body.single-product section.related .hmai-shop-card__category,
  body.single-product section.upsells .hmai-shop-card__category {
    margin-bottom: 7px;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  body.single-product section.related .hmai-shop-card__title,
  body.single-product section.upsells .hmai-shop-card__title {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
  }
  body.single-product section.related .hmai-shop-card__price,
  body.single-product section.upsells .hmai-shop-card__price { font-size: 13px; }
}

@media (min-width: 900px) and (max-width: 1120px) {
  body.single-product .hmai-product-breadcrumbbar,
  body.single-product .hmai-commerce-shell { width: calc(100% - 32px) !important; }
  body.single-product .hmai-product-detail__main {
    grid-template-columns: minmax(540px, 1fr) minmax(270px, .56fr) !important;
    gap: 28px !important;
  }
  body.single-product .hmai-desktop-product-gallery {
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 12px;
  }
  body.single-product .hmai-product-detail .product_title {
    font-size: clamp(42px, 5vw, 56px) !important;
  }
  body.single-product .hmai-product-assurance b { font-size: 8.5px !important; }
}

/* =========================================================
   v5.5.3 PRODUCT DETAIL — ALIGNMENT + EDITORIAL PROPORTIONS
   Strong final desktop rules matching the approved reference.
   ========================================================= */
@media (min-width: 1024px) {
  body.single-product .hmai-product-breadcrumbbar,
  body.single-product .hmai-commerce-shell {
    width: min(1760px, calc(100% - 56px)) !important;
    max-width: 1760px !important;
  }

  body.single-product .hmai-product-breadcrumbbar {
    padding-top: 16px !important;
    padding-bottom: 10px !important;
  }

  body.single-product .hmai-product-shell {
    padding-top: 4px !important;
    padding-bottom: 62px !important;
  }

  body.single-product .hmai-product-detail__main {
    display: grid !important;
    grid-template-columns: minmax(0, 1.82fr) minmax(420px, .78fr) !important;
    gap: clamp(42px, 4.2vw, 76px) !important;
    align-items: start !important;
    width: 100% !important;
  }

  body.single-product .hmai-product-detail__gallery {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.single-product .hmai-desktop-product-gallery {
    grid-template-columns: minmax(0, 1fr) clamp(150px, 10.6vw, 184px) !important;
    gap: 14px !important;
    width: 100% !important;
    align-items: start !important;
  }

  body.single-product .hmai-desktop-product-gallery__stage {
    width: 100% !important;
    min-width: 0 !important;
    background: #f5f0ea !important;
  }

  body.single-product .hmai-desktop-product-gallery__main-image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  body.single-product .hmai-desktop-product-gallery__thumbs {
    height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  body.single-product .hmai-desktop-product-gallery__thumb,
  body.single-product .hmai-desktop-product-gallery__thumbs[data-count="1"] .hmai-desktop-product-gallery__thumb,
  body.single-product .hmai-desktop-product-gallery__thumbs[data-count="2"] .hmai-desktop-product-gallery__thumb,
  body.single-product .hmai-desktop-product-gallery__thumbs[data-count="3"] .hmai-desktop-product-gallery__thumb,
  body.single-product .hmai-desktop-product-gallery__thumbs[data-count="4"] .hmai-desktop-product-gallery__thumb {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 6 / 5 !important;
    border-radius: 2px !important;
    background: #f5f0ea !important;
  }

  body.single-product .hmai-desktop-product-gallery__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 24% !important;
  }

  body.single-product .hmai-product-detail__summary,
  body.single-product .woocommerce div.product div.summary,
  body.single-product.woocommerce-page div.product div.summary {
    position: static !important;
    top: auto !important;
    align-self: start !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 !important;
    padding: 20px 0 0 !important;
    overflow: visible !important;
  }

  body.single-product .hmai-product-brand {
    margin: 0 0 12px !important;
    font-size: 11px !important;
    letter-spacing: .22em !important;
  }

  body.single-product .hmai-product-detail .product_title {
    width: 100% !important;
    max-width: 13ch !important;
    margin: 0 !important;
    font-size: clamp(46px, 3.35vw, 64px) !important;
    line-height: .97 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance;
  }

  body.single-product .hmai-product-price-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 30px !important;
  }

  body.single-product .hmai-product-price-row p.price,
  body.single-product .hmai-product-price-row span.price {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    font-size: 23px !important;
    line-height: 1.25 !important;
  }

  body.single-product .hmai-product-price-row .hmai-product-discount {
    margin: 0 !important;
  }

  body.single-product .hmai-product-detail form.cart,
  body.single-product .hmai-product-detail form.variations_form {
    width: 100% !important;
    margin-top: 30px !important;
  }

  body.single-product .hmai-product-detail form.cart:not(.variations_form),
  body.single-product .hmai-product-detail .woocommerce-variation-add-to-cart {
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body.single-product .hmai-product-assurance {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    margin-top: 30px !important;
    padding: 26px 0 !important;
    border-top: 1px solid #e9e2dc;
    border-bottom: 1px solid #e9e2dc;
    gap: 12px !important;
  }

  body.single-product .hmai-product-assurance span {
    min-width: 0 !important;
    gap: 8px !important;
  }

  body.single-product .hmai-product-assurance .ico {
    width: 28px !important;
    height: 28px !important;
  }

  body.single-product .hmai-product-assurance b {
    font-size: 9.5px !important;
    font-weight: 500 !important;
  }

  body.single-product .hmai-product-accordions {
    display: block !important;
    width: 100% !important;
    margin-top: 24px !important;
  }

  body.single-product .hmai-product-accordion__button {
    min-height: 62px !important;
    font-size: 15px !important;
  }

  body.single-product .hmai-product-detail__after {
    width: 100% !important;
    margin-top: 46px !important;
  }

  body.single-product section.related,
  body.single-product section.upsells {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 0 0 !important;
    border-top: 1px solid #eee8e2 !important;
  }

  body.single-product .hmai-related-head {
    width: 100% !important;
    margin: 0 0 24px !important;
  }

  body.single-product section.related ul.products,
  body.single-product section.upsells ul.products,
  body.single-product section.related ul.products.columns-2,
  body.single-product section.related ul.products.columns-3,
  body.single-product section.related ul.products.columns-4,
  body.single-product section.upsells ul.products.columns-2,
  body.single-product section.upsells ul.products.columns-3,
  body.single-product section.upsells ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 34px 20px !important;
  }

  body.single-product section.related ul.products::before,
  body.single-product section.related ul.products::after,
  body.single-product section.upsells ul.products::before,
  body.single-product section.upsells ul.products::after {
    display: none !important;
    content: none !important;
  }

  body.single-product section.related ul.products > li.product,
  body.single-product section.upsells ul.products > li.product {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.single-product section.related .hmai-shop-card__media,
  body.single-product section.upsells .hmai-shop-card__media {
    aspect-ratio: 3 / 4 !important;
  }

  body.single-product section.related .hmai-shop-card__title,
  body.single-product section.upsells .hmai-shop-card__title {
    min-height: 2.5em;
    font-size: 16px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1365px) {
  body.single-product .hmai-product-breadcrumbbar,
  body.single-product .hmai-commerce-shell {
    width: calc(100% - 36px) !important;
  }

  body.single-product .hmai-product-detail__main {
    grid-template-columns: minmax(0, 1.65fr) minmax(360px, .82fr) !important;
    gap: 36px !important;
  }

  body.single-product .hmai-desktop-product-gallery {
    grid-template-columns: minmax(0, 1fr) 142px !important;
  }

  body.single-product .hmai-product-detail .product_title {
    font-size: clamp(42px, 4.6vw, 56px) !important;
  }
}


/* =========================================================
   v5.5.6 INDEPENDENT PRODUCT PAGE VIDEO
   ========================================================= */
@media (min-width: 900px) {
  body.single-product .hmai-desktop-product-gallery__thumb video {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    background:#1d1d1d;
  }
}
@media (max-width: 767px) {
  body.single-product .hmai-mobile-product-gallery__video-wrap {
    width:100%;
    max-height:72svh;
    aspect-ratio:3 / 4;
    display:grid;
    place-items:center;
    background:#1d1d1d;
  }
  body.single-product .hmai-mobile-product-gallery__video {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    background:#1d1d1d;
  }
  body.single-product .hmai-mobile-product-gallery__thumb video {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    background:#1d1d1d;
  }
  body.single-product .hmai-mobile-product-gallery__play {
    position:absolute;
    inset:50% auto auto 50%;
    transform:translate(-50%,-50%);
    z-index:2;
    width:28px;
    height:28px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.92);
    color:#294235;
    font-size:11px;
    box-shadow:0 2px 10px rgba(0,0,0,.12);
    pointer-events:none;
  }
}


/* =========================================================
   v5.5.9 PRODUCT DETAIL VIDEO PLAYBACK HARDENING
   ========================================================= */
body.single-product .hmai-desktop-product-gallery__video-wrap,
body.single-product .hmai-mobile-product-gallery__video-wrap {
  position: relative;
}
body.single-product .hmai-desktop-product-gallery__video,
body.single-product .hmai-mobile-product-gallery__video {
  position: relative;
  z-index: 1;
  pointer-events: auto !important;
}
body.single-product .hmai-product-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 0 0 4px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: rgba(26,25,23,.55);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
body.single-product .hmai-product-video-play[hidden] { display: none !important; }
body.single-product .hmai-product-video-error {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 58px;
  z-index: 5;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.94);
  color: #4a4038;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
body.single-product .hmai-product-video-error[hidden] { display: none !important; }
@media (max-width: 767px) {
  body.single-product .hmai-product-video-play { width: 58px; height: 58px; font-size: 21px; }
  body.single-product .hmai-product-video-error { bottom: 48px; font-size: 11px; }
}


/* =========================================================
   v5.5.14 — Clean inner pages
   Remove the oversized decorative hero/breadcrumb/category-pill layer from
   all inner pages. Real page/product content now starts directly below header.
   ========================================================= */
.hmai-inner-hero,
.hmai-collection-chips,
.hmai-product-breadcrumbbar,
.hmai-breadcrumbs,
.woocommerce-breadcrumb,
.hmai-destination-intro {
  display: none !important;
}

body:not(.home) .hmai-inner-main {
  padding-top: 36px;
}

body.woocommerce-shop .hmai-commerce-shell.hmai-shop-shell,
body.tax-product_cat .hmai-commerce-shell.hmai-shop-shell,
body.tax-product_tag .hmai-commerce-shell.hmai-shop-shell,
body.hmai-collection-page .hmai-commerce-shell.hmai-shop-shell {
  padding-top: 28px;
}

body.single-product .hmai-commerce-shell.hmai-product-shell {
  padding-top: 24px;
}

@media (max-width: 767px) {
  body:not(.home) .hmai-inner-main {
    padding-top: 24px;
  }

  body.woocommerce-shop .hmai-commerce-shell.hmai-shop-shell,
  body.tax-product_cat .hmai-commerce-shell.hmai-shop-shell,
  body.tax-product_tag .hmai-commerce-shell.hmai-shop-shell,
  body.hmai-collection-page .hmai-commerce-shell.hmai-shop-shell,
  body.single-product .hmai-commerce-shell.hmai-product-shell {
    padding-top: 18px;
  }
}

/* =========================================================
   v5.5.15 — Our Story reference-match page
   Scoped to /our-story only; no homepage/shop/product rules are changed.
   ========================================================= */
body:not(.home) .hmai-inner-main.hmai-managed-page--our-story {
  width: 100%;
  max-width: none;
  padding: 20px 0 0 !important;
  background: #fff;
}

.hmai-managed-page--our-story .hmai-story {
  --story-ink: #171512;
  --story-copy: #615b55;
  --story-brown: #93643a;
  --story-line: #e7ded4;
  --story-cream: #fbf8f3;
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow: hidden;
  color: var(--story-ink);
  background: #fff;
}

.hmai-story img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hmai-story-kicker {
  margin: 0 0 18px;
  color: #855f3c !important;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.2 !important;
  letter-spacing: .31em;
  text-transform: uppercase;
}

.hmai-story-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 27px;
  border: 1px solid #9a7d60;
  border-radius: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.hmai-story-button--filled {
  border-color: var(--story-brown);
  background: var(--story-brown);
  color: #fff !important;
}
.hmai-story-button--filled:hover {
  border-color: #75502f;
  background: #75502f;
}
.hmai-story-button--outline {
  border-radius: 28px;
  color: #6f5137 !important;
  background: rgba(255,255,255,.36);
}
.hmai-story-button--outline:hover {
  border-color: var(--story-brown);
  background: var(--story-brown);
  color: #fff !important;
}
.hmai-story-button--static { cursor: default; }
.hmai-story-button--static:hover {
  border-color: #9a7d60;
  background: rgba(255,255,255,.36);
  color: #6f5137 !important;
}

/* Top editorial split */
.hmai-story-hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 58% 42%;
  background: var(--story-cream);
}

.hmai-story-hero__media { min-width: 0; }
.hmai-story-hero__media img { object-position: center center; }

.hmai-story-hero__copy {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 66px 70px 62px 50px;
  overflow: hidden;
}

.hmai-story-hero__copy > *:not(.hmai-story-leaf) {
  position: relative;
  z-index: 2;
}

.hmai-story-hero__copy h2 {
  margin: 0;
  color: var(--story-ink);
  font-family: var(--serif);
  font-size: clamp(56px, 5.3vw, 78px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.035em;
}

.hmai-story-hero__copy h3 {
  max-width: 17ch;
  margin: 17px 0 20px;
  color: var(--story-ink);
  font-family: var(--serif);
  font-size: clamp(26px, 2.15vw, 34px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
}

.hmai-story-hero__copy > p:not(.hmai-story-kicker) {
  max-width: 53ch;
  margin: 0 0 28px;
  color: var(--story-copy);
  font-size: 15px;
  line-height: 1.55;
}

/* Subtle botanical motif from the approved artwork, recreated in CSS. */
.hmai-story-leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .25;
}
.hmai-story-leaf::before,
.hmai-story-leaf::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 164px;
  border: 2px solid #d7b99a;
  border-radius: 100% 0 100% 0;
}
.hmai-story-leaf--top {
  top: -28px;
  right: 22px;
  width: 150px;
  height: 430px;
  transform: rotate(11deg);
}
.hmai-story-leaf--top::before { top: 35px; right: 5px; transform: rotate(14deg); }
.hmai-story-leaf--top::after { top: 178px; right: -22px; transform: rotate(-28deg) scale(.82); }

/* Trust promises */
.hmai-story-promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #f0e9e1;
  border-bottom: 1px solid #eee6de;
  background: #fffefa;
}

.hmai-story-promise {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 184px;
  padding: 25px 28px 22px;
  text-align: center;
}
.hmai-story-promise:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 35px;
  right: 0;
  bottom: 35px;
  width: 1px;
  background: #e3dbd2;
}
.hmai-story-promise__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: #faf1e7;
}
.hmai-story-promise__icon svg,
.hmai-story-promise__icon img {
  width: 34px;
  height: 34px;
}
.hmai-story-promise__icon img {
  object-fit: contain;
}
.hmai-story-promise__icon svg {
  fill: none;
  stroke: #6f4d2f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hmai-story-promise p {
  margin: 0;
  color: #181511;
  font-size: 16px;
  line-height: 1.25;
}

/* Store section */
.hmai-story-store {
  padding: 24px 0 30px;
  background: #fff;
}
.hmai-story-store__lead {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: stretch;
}
.hmai-story-store__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 390px;
  padding: 58px 58px 48px 72px;
}
.hmai-story-store__copy h2,
.hmai-story-news__copy h2 {
  margin: 0 0 22px;
  color: var(--story-ink);
  font-family: var(--serif);
  font-size: clamp(42px, 4vw, 61px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.028em;
}
.hmai-story-store__copy > p:not(.hmai-story-kicker),
.hmai-story-news__copy > p:not(.hmai-story-kicker) {
  max-width: 58ch;
  margin: 0 0 28px;
  color: var(--story-copy);
  font-size: 15px;
  line-height: 1.55;
}
.hmai-story-store__media {
  min-height: 390px;
  overflow: hidden;
}
.hmai-story-store__media img { object-position: center center; }

.hmai-story-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 24px 0;
}
.hmai-story-gallery img {
  aspect-ratio: 1.18 / 1;
  object-position: center center;
}

/* Press feature */
.hmai-story-news {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 510px;
  background: var(--story-cream);
}
.hmai-story-news__media {
  min-height: 510px;
  overflow: hidden;
}
.hmai-story-news__media img {
  object-position: center center;
}
.hmai-story-news__copy {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 62px 68px 58px 54px;
  overflow: hidden;
}
.hmai-story-news__copy > *:not(.hmai-story-leaf) {
  position: relative;
  z-index: 2;
}
.hmai-story-news__copy h2 { max-width: 13ch; }
.hmai-story-leaf--bottom {
  right: -6px;
  bottom: -12px;
  width: 165px;
  height: 360px;
  transform: rotate(-17deg);
}
.hmai-story-leaf--bottom::before { right: 12px; bottom: 42px; transform: rotate(18deg); }
.hmai-story-leaf--bottom::after { right: 59px; bottom: 167px; transform: rotate(-34deg) scale(.72); }

@media (max-width: 1100px) {
  .hmai-story-hero { min-height: 520px; grid-template-columns: 57% 43%; }
  .hmai-story-hero__copy { padding: 54px 42px; }
  .hmai-story-hero__copy h2 { font-size: clamp(48px, 6vw, 66px); }
  .hmai-story-hero__copy h3 { font-size: clamp(23px, 2.7vw, 30px); }
  .hmai-story-store__copy { padding-left: 48px; padding-right: 42px; }
  .hmai-story-news__copy { padding: 54px 46px; }
}

@media (max-width: 820px) {
  body:not(.home) .hmai-inner-main.hmai-managed-page--our-story { padding-top: 12px !important; }

  .hmai-story-hero,
  .hmai-story-store__lead,
  .hmai-story-news {
    grid-template-columns: 1fr;
  }

  .hmai-story-hero { min-height: 0; }
  .hmai-story-hero__media { aspect-ratio: 1.38 / 1; }
  .hmai-story-hero__copy { padding: 48px 36px 52px; }
  .hmai-story-hero__copy h3 { max-width: 23ch; }

  .hmai-story-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hmai-story-promise { min-height: 160px; }
  .hmai-story-promise:nth-child(2)::after { display: none; }
  .hmai-story-promise:nth-child(-n+2) { border-bottom: 1px solid #e3dbd2; }

  .hmai-story-store { padding-top: 0; }
  .hmai-story-store__copy { min-height: 0; padding: 50px 36px 42px; }
  .hmai-story-store__media { min-height: 0; aspect-ratio: 1.65 / 1; }
  .hmai-story-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 14px 0; }
  .hmai-story-gallery img { aspect-ratio: 1.12 / 1; }

  .hmai-story-news { min-height: 0; }
  .hmai-story-news__media { min-height: 0; aspect-ratio: 1.45 / 1; }
  .hmai-story-news__copy { padding: 50px 36px 54px; }
  .hmai-story-news__copy h2 { max-width: 16ch; }
}

@media (max-width: 520px) {
  body:not(.home) .hmai-inner-main.hmai-managed-page--our-story { padding-top: 0 !important; }

  .hmai-story-hero__media { aspect-ratio: .98 / 1; }
  .hmai-story-hero__copy { padding: 38px 22px 42px; }
  .hmai-story-kicker { margin-bottom: 13px; font-size: 10px !important; }
  .hmai-story-hero__copy h2 { font-size: 50px; }
  .hmai-story-hero__copy h3 { margin: 14px 0 17px; font-size: 25px; }
  .hmai-story-hero__copy > p:not(.hmai-story-kicker) { font-size: 14px; line-height: 1.58; }

  .hmai-story-button { min-height: 45px; padding: 0 22px; font-size: 10px; }

  .hmai-story-promises { grid-template-columns: 1fr 1fr; }
  .hmai-story-promise { min-height: 145px; padding: 20px 12px; }
  .hmai-story-promise__icon { width: 52px; height: 52px; margin-bottom: 12px; }
  .hmai-story-promise__icon svg,
  .hmai-story-promise__icon img { width: 29px; height: 29px; }
  .hmai-story-promise p { font-size: 13px; }

  .hmai-story-store__copy,
  .hmai-story-news__copy { padding: 40px 22px; }
  .hmai-story-store__copy h2,
  .hmai-story-news__copy h2 { margin-bottom: 17px; font-size: 39px; }
  .hmai-story-store__copy > p:not(.hmai-story-kicker),
  .hmai-story-news__copy > p:not(.hmai-story-kicker) { font-size: 14px; line-height: 1.58; }
  .hmai-story-store__media { aspect-ratio: 1.25 / 1; }

  .hmai-story-gallery { gap: 7px; padding: 7px 8px 0; }
  .hmai-story-gallery img { aspect-ratio: .92 / 1; }

  .hmai-story-news__media { aspect-ratio: 1.05 / 1; }
  .hmai-story-leaf { opacity: .17; }
}

/* =========================================================
   v5.5.17 — Reliable category pages + premium empty state
   ========================================================= */
body.woocommerce-shop .hmai-empty-state--catalog,
body.tax-product_cat .hmai-empty-state--catalog,
body.tax-product_tag .hmai-empty-state--catalog,
body.search .hmai-empty-state--catalog {
  width: min(100% - 40px, 980px);
  max-width: 980px;
  min-height: 360px;
  margin: 34px auto 64px;
  padding: 66px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #ebe4dc;
  border-radius: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(232,220,207,.34), transparent 29%),
    radial-gradient(circle at 82% 82%, rgba(226,237,230,.32), transparent 28%),
    #fffdfa;
  box-shadow: none;
}

.hmai-empty-state--catalog .hmai-empty-state__eyebrow {
  margin-bottom: 16px;
  color: #8b765f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hmai-empty-state--catalog .hmai-empty-state__mark {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-color: #d9cbbd;
  background: rgba(255,255,255,.76);
  font-size: 27px;
}

.hmai-empty-state--catalog h2 {
  max-width: 16ch;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.025em;
}

.hmai-empty-state--catalog p {
  max-width: 600px;
  margin: 17px auto 28px;
  font-size: 14px;
  line-height: 1.7;
}

.hmai-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hmai-secondary-link {
  min-height: 42px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #958372;
  color: #5f5146;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hmai-secondary-link:hover { color: var(--green-btn); border-color: var(--green-btn); }

/* Do not leave a tall blank catalogue body when the loop is empty. */
body.tax-product_cat .hmai-commerce-shell.hmai-shop-shell:has(.hmai-empty-state--catalog),
body.woocommerce-shop .hmai-commerce-shell.hmai-shop-shell:has(.hmai-empty-state--catalog) {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  body.woocommerce-shop .hmai-empty-state--catalog,
  body.tax-product_cat .hmai-empty-state--catalog,
  body.tax-product_tag .hmai-empty-state--catalog,
  body.search .hmai-empty-state--catalog {
    width: calc(100% - 28px);
    min-height: 310px;
    margin: 20px auto 42px;
    padding: 46px 22px;
  }
  .hmai-empty-state--catalog h2 { font-size: 36px; }
  .hmai-empty-state--catalog p { font-size: 13px; }
  .hmai-empty-state__actions { flex-direction: column; }
}

/* =========================================================
   v5.5.18 — Full-width catalogue grids
   Desktop shop/category/tag/search catalogue pages use the available viewport
   and always reserve four equal product columns per row.
   ========================================================= */
@media (min-width: 1025px) {
  body.woocommerce-shop .hmai-commerce-shell.hmai-shop-shell,
  body.tax-product_cat .hmai-commerce-shell.hmai-shop-shell,
  body.tax-product_tag .hmai-commerce-shell.hmai-shop-shell,
  body.search .hmai-commerce-shell.hmai-shop-shell,
  body.hmai-collection-page .hmai-commerce-shell.hmai-shop-shell {
    width: calc(100% - 64px) !important;
    max-width: 1680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.woocommerce-shop .hmai-shop-shell ul.products,
  body.tax-product_cat .hmai-shop-shell ul.products,
  body.tax-product_tag .hmai-shop-shell ul.products,
  body.search .hmai-shop-shell ul.products,
  body.hmai-collection-page .hmai-shop-shell ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 46px 22px !important;
    width: 100% !important;
  }

  body.woocommerce-shop .hmai-shop-shell ul.products > li.product,
  body.tax-product_cat .hmai-shop-shell ul.products > li.product,
  body.tax-product_tag .hmai-shop-shell ul.products > li.product,
  body.search .hmai-shop-shell ul.products > li.product,
  body.hmai-collection-page .hmai-shop-shell ul.products > li.product {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.woocommerce-shop .hmai-commerce-shell.hmai-shop-shell,
  body.tax-product_cat .hmai-commerce-shell.hmai-shop-shell,
  body.tax-product_tag .hmai-commerce-shell.hmai-shop-shell,
  body.search .hmai-commerce-shell.hmai-shop-shell,
  body.hmai-collection-page .hmai-commerce-shell.hmai-shop-shell {
    width: calc(100% - 36px) !important;
  }
}


/* =========================================================
   v5.5.27 — Managed collection true 4-column grid
   WooCommerce's legacy clearfix pseudo-elements can become grid items when
   a products list is rendered inside our managed Page templates. That was
   consuming column 1 and visually leaving only three real product cards.
   Keep the collection pages full-width and guarantee only real products
   participate in the four-column desktop grid.
   ========================================================= */
.hmai-managed-products ul.products::before,
.hmai-managed-products ul.products::after,
.hmai-shop-shell ul.products::before,
.hmai-shop-shell ul.products::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 1025px) {
  body:not(.home) .hmai-inner-main.hmai-managed-page--new-in,
  body:not(.home) .hmai-inner-main.hmai-managed-page--women,
  body:not(.home) .hmai-inner-main.hmai-managed-page--brand-wear,
  body:not(.home) .hmai-inner-main.hmai-managed-page--promotion {
    width: calc(100% - 64px) !important;
    max-width: 1680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hmai-managed-products.hmai-shop-shell,
  .hmai-managed-products ul.products {
    width: 100% !important;
    max-width: none !important;
  }

  .hmai-managed-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 46px 22px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hmai-managed-products ul.products > li.product {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body:not(.home) .hmai-inner-main.hmai-managed-page--new-in,
  body:not(.home) .hmai-inner-main.hmai-managed-page--women,
  body:not(.home) .hmai-inner-main.hmai-managed-page--brand-wear,
  body:not(.home) .hmai-inner-main.hmai-managed-page--promotion {
    width: calc(100% - 36px) !important;
    max-width: none !important;
  }

  .hmai-managed-products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* =========================================================
   v5.5.29 — Shipping Policy + Size Guide reference designs
   Full-width, responsive service pages matching the supplied Hoorain layouts.
   ========================================================= */
body:not(.home) .hmai-inner-main.hmai-managed-page--shipping,
body:not(.home) .hmai-inner-main.hmai-managed-page--size-guide {
  width: 100% !important;
  max-width: none !important;
  padding: 0 0 80px !important;
  background: #fff;
}

.hmai-policy-page,
.hmai-size-guide-page {
  --policy-green: #173f2d;
  --policy-ink: #171715;
  --policy-copy: #5f625f;
  --policy-line: #e8e7e3;
  --policy-cream: #f7f4ef;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  color: var(--policy-ink);
}

.hmai-policy-title-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 58px 0 28px;
  text-align: center;
}
.hmai-policy-title-block h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 6.1vw, 76px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}
.hmai-policy-title-block h1 span { color: var(--policy-green); }
.hmai-policy-title-block > p {
  max-width: 690px;
  margin: 20px auto 0;
  color: var(--policy-copy);
  font-size: 14px;
  line-height: 1.65;
}

.hmai-policy-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0 30px;
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--policy-line);
}
.hmai-policy-feature-grid article {
  min-width: 0;
  padding: 0 24px;
  text-align: center;
  border-right: 1px solid var(--policy-line);
}
.hmai-policy-feature-grid article:last-child { border-right: 0; }
.hmai-policy-icon,
.hmai-size-tip-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f3ef;
  color: var(--policy-green);
}
.hmai-policy-icon svg,
.hmai-size-tip-icon svg,
.hmai-policy-contact-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hmai-policy-feature-grid h2 {
  margin: 13px 0 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.hmai-policy-feature-grid p {
  margin: 0;
  color: var(--policy-copy);
  font-size: 11px;
  line-height: 1.45;
}

.hmai-policy-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--policy-line);
}
.hmai-policy-kicker {
  margin: 0 0 10px;
  color: var(--policy-green);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hmai-policy-copy h2,
.hmai-policy-charge-copy h2,
.hmai-policy-card-row h2,
.hmai-policy-help h2,
.hmai-size-measure-copy h2,
.hmai-size-tips-grid h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 43px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.hmai-policy-copy > p:not(.hmai-policy-kicker),
.hmai-policy-charge-copy p:not(.hmai-policy-kicker),
.hmai-policy-card-row p,
.hmai-policy-help p,
.hmai-size-tips-grid p {
  margin: 15px 0 0;
  color: var(--policy-copy);
  font-size: 12px;
  line-height: 1.65;
}
.hmai-policy-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--policy-cream);
}
.hmai-policy-media img {
  display: block;
  width: 100%;
  height: auto;
}
.hmai-policy-media--map img { aspect-ratio: 360 / 190; object-fit: cover; }
.hmai-policy-media--parcel img { aspect-ratio: 300 / 190; object-fit: cover; }

.hmai-policy-checks {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.hmai-policy-checks li {
  position: relative;
  min-width: 0;
  padding-left: 34px;
  color: var(--policy-copy);
  font-size: 12px;
  line-height: 1.55;
}
.hmai-policy-checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef3ef;
  color: var(--policy-green);
  font-size: 12px;
  font-weight: 700;
}
.hmai-policy-checks--compact { gap: 8px; margin-top: 10px; }
.hmai-policy-checks--compact li { padding-left: 25px; font-size: 11px; }
.hmai-policy-checks--compact li::before { width: 18px; height: 18px; font-size: 9px; }

.hmai-policy-table-wrap {
  overflow-x: auto;
  border: 1px solid #deddd8;
  border-radius: 8px;
  background: #fff;
}
.hmai-policy-table-wrap table,
.hmai-size-chart-card table {
  width: 100%;
  border-collapse: collapse;
  color: #454641;
  font-size: 11px;
}
.hmai-policy-table-wrap th,
.hmai-policy-table-wrap td,
.hmai-size-chart-card th,
.hmai-size-chart-card td {
  padding: 12px 18px;
  text-align: left;
  border-right: 1px solid #e2e1dc;
  border-bottom: 1px solid #e2e1dc;
}
.hmai-policy-table-wrap th:last-child,
.hmai-policy-table-wrap td:last-child,
.hmai-size-chart-card th:last-child,
.hmai-size-chart-card td:last-child { border-right: 0; }
.hmai-policy-table-wrap tbody tr:last-child td,
.hmai-size-chart-card tbody tr:last-child td { border-bottom: 0; }
.hmai-policy-table-wrap th,
.hmai-size-chart-card th { background: #f4f1ec; color: #252724; font-weight: 600; }
.hmai-policy-table-note { margin: 9px 0 0; color: #75766f; font-size: 10px; line-height: 1.45; }

.hmai-policy-charge-copy {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.hmai-policy-icon--large {
  width: 130px;
  height: 130px;
  border-radius: 8px;
}
.hmai-policy-icon--large svg { width: 48px; height: 48px; }

.hmai-policy-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--policy-line);
}
.hmai-policy-card-row article {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 32px 28px 32px 0;
}
.hmai-policy-card-row article + article {
  padding-left: 32px;
  border-left: 1px solid var(--policy-line);
}
.hmai-policy-card-row h2 { font-size: clamp(24px, 2.2vw, 32px); }

.hmai-policy-help {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(280px, .8fr);
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 30px 34px;
  border-radius: 8px;
  background: #f1f3ef;
}
.hmai-policy-icon--help { width: 74px; height: 74px; background: #e8ede8; }
.hmai-policy-icon--help svg { width: 36px; height: 36px; }
.hmai-policy-help h2 { font-size: clamp(30px, 3vw, 41px); }
.hmai-policy-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 17px;
  padding: 0 22px;
  border-radius: 2px;
  background: var(--policy-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.hmai-policy-help__contacts {
  min-width: 0;
  padding-left: 30px;
  border-left: 1px solid #d7dcd6;
}
.hmai-policy-help__contacts a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 8px 0;
  color: #27342d;
  text-decoration: none;
}
.hmai-policy-contact-icon { flex: 0 0 28px; color: var(--policy-green); }
.hmai-policy-contact-icon svg { width: 23px; height: 23px; }
.hmai-policy-help__contacts strong,
.hmai-policy-help__contacts small { display: block; overflow-wrap: anywhere; }
.hmai-policy-help__contacts strong { font-size: 11px; font-weight: 600; }
.hmai-policy-help__contacts small { margin-top: 2px; color: #737a74; font-size: 9px; }

/* Size guide */
.hmai-size-guide-title-block { padding-bottom: 20px; }
.hmai-size-measure-section {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  margin-top: 4px;
}
.hmai-size-measure-copy h2 { font-size: clamp(34px, 4.2vw, 52px); }
.hmai-measure-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.hmai-measure-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.hmai-measure-list li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--policy-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.hmai-measure-list strong {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hmai-measure-list p { margin: 3px 0 0; color: var(--policy-copy); font-size: 11px; line-height: 1.45; }
.hmai-size-measure-image { min-width: 0; margin: 0; }
.hmai-size-measure-image img { display: block; width: 100%; height: auto; }

.hmai-size-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.hmai-size-chart-grid--compact { margin-top: 22px; }
.hmai-size-chart-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4e2dd;
  border-radius: 8px;
  background: #fff;
}
.hmai-size-chart-card > h2 {
  margin: 0;
  padding: 16px 22px;
  background: #f4f1ec;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hmai-size-chart-card > h2 small { font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: .15em; }
.hmai-size-table-scroll { overflow-x: auto; }
.hmai-size-chart-card table { min-width: 430px; }
.hmai-size-chart-grid--compact .hmai-size-chart-card table { min-width: 330px; }
.hmai-size-chart-card th,
.hmai-size-chart-card td { padding: 11px 14px; text-align: center; }

.hmai-size-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--policy-line);
}
.hmai-size-tips-grid article {
  min-width: 0;
  padding: 0 28px;
  text-align: center;
  border-right: 1px solid var(--policy-line);
}
.hmai-size-tips-grid article:first-child { padding-left: 0; }
.hmai-size-tips-grid article:last-child { padding-right: 0; border-right: 0; }
.hmai-size-tips-grid h2 { margin-top: 15px; font-size: 28px; }
.hmai-fit-guide-list { display: grid; gap: 10px; margin: 17px 0 0; text-align: left; }
.hmai-fit-guide-list div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
.hmai-fit-guide-list dt { padding: 7px 10px; border-radius: 999px; background: #edf2ed; color: var(--policy-green); font-size: 10px; font-weight: 600; text-align: center; }
.hmai-fit-guide-list dd { margin: 0; color: var(--policy-copy); font-size: 10px; }
.hmai-size-tip-checks { margin-top: 17px; text-align: left; }

@media (max-width: 900px) {
  .hmai-policy-page,
  .hmai-size-guide-page { width: min(100% - 32px, 760px); }
  .hmai-policy-title-block { padding-top: 42px; }
  .hmai-policy-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .hmai-policy-feature-grid article:nth-child(2) { border-right: 0; }
  .hmai-policy-feature-grid article:nth-child(n+3) { padding-top: 24px; border-top: 1px solid var(--policy-line); }
  .hmai-policy-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hmai-policy-split--coverage .hmai-policy-media { order: -1; }
  .hmai-policy-split--processing .hmai-policy-media { order: -1; }
  .hmai-policy-charge-copy { grid-template-columns: 96px minmax(0, 1fr); }
  .hmai-policy-icon--large { width: 96px; height: 96px; }
  .hmai-policy-card-row { grid-template-columns: minmax(0, 1fr); }
  .hmai-policy-card-row article { padding: 28px 0; }
  .hmai-policy-card-row article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--policy-line); }
  .hmai-policy-help { grid-template-columns: 70px minmax(0, 1fr); }
  .hmai-policy-help__contacts { grid-column: 1 / -1; padding: 18px 0 0; border-left: 0; border-top: 1px solid #d7dcd6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
  .hmai-size-measure-section { grid-template-columns: minmax(0, 1fr); }
  .hmai-size-measure-copy { max-width: 620px; margin: 0 auto; }
  .hmai-measure-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hmai-size-chart-grid { grid-template-columns: minmax(0, 1fr); }
  .hmai-size-tips-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hmai-size-tips-grid article,
  .hmai-size-tips-grid article:first-child,
  .hmai-size-tips-grid article:last-child { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--policy-line); }
  .hmai-size-tips-grid article:last-child { padding-bottom: 0; border-bottom: 0; }
  .hmai-size-tips-grid article { text-align: left; }
}

@media (max-width: 560px) {
  body:not(.home) .hmai-inner-main.hmai-managed-page--shipping,
  body:not(.home) .hmai-inner-main.hmai-managed-page--size-guide { padding-bottom: 56px !important; }
  .hmai-policy-page,
  .hmai-size-guide-page { width: min(100% - 24px, 520px); }
  .hmai-policy-title-block { padding: 34px 0 22px; }
  .hmai-policy-title-block h1 { font-size: clamp(42px, 14vw, 58px); }
  .hmai-policy-title-block > p { font-size: 12px; }
  .hmai-policy-feature-grid { margin-top: 2px; }
  .hmai-policy-feature-grid article { padding-inline: 12px; }
  .hmai-policy-split { padding: 28px 0; }
  .hmai-policy-copy h2,
  .hmai-policy-charge-copy h2,
  .hmai-policy-card-row h2,
  .hmai-policy-help h2,
  .hmai-size-measure-copy h2 { font-size: 31px; }
  .hmai-policy-charge-copy { grid-template-columns: 68px minmax(0, 1fr); gap: 16px; }
  .hmai-policy-icon--large { width: 68px; height: 68px; }
  .hmai-policy-icon--large svg { width: 32px; height: 32px; }
  .hmai-policy-card-row article { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .hmai-policy-card-row .hmai-policy-icon { width: 48px; height: 48px; }
  .hmai-policy-help { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; text-align: left; }
  .hmai-policy-icon--help { width: 62px; height: 62px; }
  .hmai-policy-help__contacts { grid-template-columns: minmax(0, 1fr); }
  .hmai-measure-list { grid-template-columns: minmax(0, 1fr); }
  .hmai-size-chart-card > h2 { font-size: 17px; }
}

/* =========================================================
   v5.5.30 — Reference-accurate Shipping + Size Guide reconstruction
   Re-measured from the two supplied design images. These rules deliberately
   override only the managed Shipping / Size Guide pages and leave the locked
   Figma source files untouched.
   ========================================================= */

/* Shared page canvas */
body:not(.home) .hmai-inner-main.hmai-managed-page--shipping,
body:not(.home) .hmai-inner-main.hmai-managed-page--size-guide {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 72px !important;
  background: #fff !important;
  overflow: clip;
}

.hmai-shipping-policy {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}
.hmai-size-guide-page {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.hmai-shipping-policy,
.hmai-size-guide-page {
  --policy-green: #123d2b;
  --policy-ink: #171916;
  --policy-copy: #5f625e;
  --policy-line: #e7e8e3;
  --policy-cream: #f5f2ed;
  color: var(--policy-ink);
}

/* ---------- Shipping Policy ---------- */
.hmai-shipping-policy .hmai-policy-title-block {
  max-width: 650px;
  margin: 0 auto;
  padding: 30px 0 24px;
  text-align: center;
}
.hmai-shipping-policy .hmai-policy-title-block h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 5.15vw, 66px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.047em;
}
.hmai-shipping-policy .hmai-policy-title-block h1 span { color: var(--policy-green); }
.hmai-shipping-policy .hmai-policy-title-block > p {
  max-width: 585px;
  margin: 19px auto 0;
  color: #60635f;
  font-size: 13px;
  line-height: 1.52;
}

.hmai-shipping-policy .hmai-policy-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 4px 0 27px;
  border-bottom: 1px solid var(--policy-line);
}
.hmai-shipping-policy .hmai-policy-feature-grid article {
  min-width: 0;
  padding: 0 23px;
  text-align: center;
  border-right: 1px solid #e4e5e0;
}
.hmai-shipping-policy .hmai-policy-feature-grid article:last-child { border-right: 0; }
.hmai-shipping-policy .hmai-policy-feature-grid .hmai-policy-icon {
  width: 54px;
  height: 54px;
  background: #f0f2ee;
}
.hmai-shipping-policy .hmai-policy-feature-grid .hmai-policy-icon svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.65;
}
.hmai-shipping-policy .hmai-policy-feature-grid h2 {
  margin: 13px 0 5px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.hmai-shipping-policy .hmai-policy-feature-grid p {
  max-width: 155px;
  margin: 0 auto;
  color: #666964;
  font-size: 10.5px;
  line-height: 1.45;
}

.hmai-shipping-policy .hmai-policy-split {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 54px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--policy-line);
}
.hmai-shipping-policy .hmai-policy-split--processing {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 48px;
}
.hmai-shipping-policy .hmai-policy-split--table {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .93fr);
  gap: 58px;
  padding-top: 27px;
  padding-bottom: 27px;
}
.hmai-shipping-policy .hmai-policy-split--charges {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 48px;
  padding-top: 22px;
  padding-bottom: 23px;
}
.hmai-shipping-policy .hmai-policy-kicker {
  margin: 0 0 10px;
  color: var(--policy-green);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .205em;
  text-transform: uppercase;
}
.hmai-shipping-policy .hmai-policy-copy h2,
.hmai-shipping-policy .hmai-policy-charge-copy h2,
.hmai-shipping-policy .hmai-policy-card-row h2,
.hmai-shipping-policy .hmai-policy-help h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.032em;
}
.hmai-shipping-policy .hmai-policy-copy h2 { font-size: clamp(31px, 3vw, 40px); }
.hmai-shipping-policy .hmai-policy-charge-copy h2 { font-size: clamp(24px, 2.05vw, 29px); line-height: 1.04; }
.hmai-shipping-policy .hmai-policy-card-row h2 { font-size: clamp(23px, 1.95vw, 27px); line-height: 1.05; letter-spacing: -.025em; }
.hmai-shipping-policy .hmai-policy-help h2 { font-size: clamp(29px, 2.55vw, 34px); line-height: 1.02; letter-spacing: -.035em; }
.hmai-shipping-policy .hmai-policy-copy > p:not(.hmai-policy-kicker),
.hmai-shipping-policy .hmai-policy-charge-copy p:not(.hmai-policy-kicker),
.hmai-shipping-policy .hmai-policy-card-row p,
.hmai-shipping-policy .hmai-policy-help p {
  margin: 11px 0 0;
  color: #646762;
  font-size: 11px;
  line-height: 1.55;
}
.hmai-shipping-policy .hmai-policy-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--policy-cream);
}
.hmai-shipping-policy .hmai-policy-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hmai-shipping-policy .hmai-policy-media--map { aspect-ratio: 1.89 / 1; }
.hmai-shipping-policy .hmai-policy-media--parcel { aspect-ratio: 1.58 / 1; }
.hmai-shipping-policy .hmai-policy-media--map img,
.hmai-shipping-policy .hmai-policy-media--parcel img { aspect-ratio: auto; }

.hmai-shipping-policy .hmai-policy-checks {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.hmai-shipping-policy .hmai-policy-checks li {
  position: relative;
  min-width: 0;
  padding-left: 32px;
  color: #626660;
  font-size: 11px;
  line-height: 1.52;
}
.hmai-shipping-policy .hmai-policy-checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -2px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff3ee;
  color: var(--policy-green);
  font-size: 10px;
  font-weight: 700;
}
.hmai-shipping-policy .hmai-policy-checks--compact { gap: 5px; margin-top: 6px; }
.hmai-shipping-policy .hmai-policy-checks--compact li { padding-left: 22px; font-size: 10px; line-height: 1.37; }
.hmai-shipping-policy .hmai-policy-checks--compact li::before { top: 0; width: 15px; height: 15px; font-size: 8px; background: transparent; border: 1px solid #527160; }

.hmai-shipping-policy .hmai-policy-table-wrap {
  overflow: hidden;
  border: 1px solid #dfdfdb;
  border-radius: 7px;
  background: #fff;
}
.hmai-shipping-policy .hmai-policy-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #41433f;
  font-size: 10.5px;
}
.hmai-shipping-policy .hmai-policy-table-wrap th,
.hmai-shipping-policy .hmai-policy-table-wrap td {
  padding: 10px 20px;
  text-align: left;
  border-right: 1px solid #e3e3df;
  border-bottom: 1px solid #e3e3df;
}
.hmai-shipping-policy .hmai-policy-table-wrap th:last-child,
.hmai-shipping-policy .hmai-policy-table-wrap td:last-child { border-right: 0; }
.hmai-shipping-policy .hmai-policy-table-wrap tbody tr:last-child td { border-bottom: 0; }
.hmai-shipping-policy .hmai-policy-table-wrap th {
  background: #f4f1ec;
  color: #292b28;
  font-size: 10px;
  font-weight: 700;
}
.hmai-shipping-policy .hmai-policy-table-note {
  margin: 7px 0 0;
  color: #747770;
  font-size: 8.6px;
  line-height: 1.4;
}

.hmai-shipping-policy .hmai-policy-charge-copy {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}
.hmai-shipping-policy .hmai-policy-icon--large {
  width: 126px;
  height: 126px;
  border-radius: 8px;
  background: #f4f4f0;
}
.hmai-shipping-policy .hmai-policy-icon--large svg { width: 43px; height: 43px; }

.hmai-shipping-policy .hmai-policy-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--policy-line);
}
.hmai-shipping-policy .hmai-policy-card-row article {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  padding: 23px 31px 24px 0;
}
.hmai-shipping-policy .hmai-policy-card-row article + article {
  padding-left: 31px;
  padding-right: 0;
  border-left: 1px solid var(--policy-line);
}
.hmai-shipping-policy .hmai-policy-card-row .hmai-policy-icon {
  width: 49px;
  height: 49px;
}
.hmai-shipping-policy .hmai-policy-card-row .hmai-policy-icon svg { width: 25px; height: 25px; }

.hmai-shipping-policy .hmai-policy-help {
  display: grid;
  grid-template-columns: 78px minmax(0, 1.12fr) minmax(300px, .78fr);
  gap: 26px;
  align-items: center;
  margin-top: 27px;
  padding: 25px 31px;
  border-radius: 8px;
  background: linear-gradient(90deg,#f2f4f0 0%,#f5f6f2 100%);
}
.hmai-shipping-policy .hmai-policy-icon--help {
  width: 70px;
  height: 70px;
  background: #e9eee9;
}
.hmai-shipping-policy .hmai-policy-icon--help svg { width: 34px; height: 34px; }
.hmai-shipping-policy .hmai-policy-help__copy > p:not(.hmai-policy-kicker) { max-width: 450px; }
.hmai-shipping-policy .hmai-policy-button {
  min-width: 160px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 13px;
  padding: 0 18px;
  border-radius: 2px;
  background: #0f442e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}
.hmai-shipping-policy .hmai-policy-help__contacts {
  min-width: 0;
  padding-left: 33px;
  border-left: 1px solid #d5dbd4;
}
.hmai-shipping-policy .hmai-policy-help__contacts a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 6px 0;
  color: #27362d;
  text-decoration: none;
}
.hmai-shipping-policy .hmai-policy-contact-icon { flex: 0 0 29px; color: var(--policy-green); }
.hmai-shipping-policy .hmai-policy-contact-icon svg { width: 23px; height: 23px; }
.hmai-shipping-policy .hmai-policy-help__contacts strong { display: block; font-size: 10.5px; font-weight: 700; line-height: 1.25; }
.hmai-shipping-policy .hmai-policy-help__contacts small { display: block; margin-top: 2px; color: #747a74; font-size: 8.5px; line-height: 1.2; }


/* v5.5.31 — supplied Shipping Policy reference: lower titles are intentionally compact and single-line on desktop. */
@media (min-width: 901px) {
  .hmai-shipping-policy .hmai-policy-charge-copy h2,
  .hmai-shipping-policy .hmai-policy-card-row h2,
  .hmai-shipping-policy .hmai-policy-help h2 {
    white-space: nowrap;
  }
}

/* ---------- Size Guide ---------- */
.hmai-size-guide-page .hmai-policy-title-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 0 14px;
  text-align: center;
}
.hmai-size-guide-page .hmai-policy-title-block h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6.1vw, 72px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.046em;
}
.hmai-size-guide-page .hmai-policy-title-block h1 span { color: var(--policy-green); }
.hmai-size-guide-page .hmai-policy-title-block > p {
  max-width: 690px;
  margin: 12px auto 0;
  color: #5f625e;
  font-size: 15px;
  line-height: 1.5;
}
.hmai-size-guide-page .hmai-size-measure-section {
  display: grid;
  grid-template-columns: minmax(270px, .58fr) minmax(0, 1.42fr);
  gap: 44px;
  align-items: end;
  margin-top: 8px;
}
.hmai-size-guide-page .hmai-size-measure-copy {
  align-self: start;
  padding-top: 22px;
}
.hmai-size-guide-page .hmai-size-measure-copy .hmai-policy-kicker {
  margin: 0 0 8px;
  color: var(--policy-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hmai-size-guide-page .hmai-size-measure-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 3.7vw, 48px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.035em;
}
.hmai-size-guide-page .hmai-measure-list {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.hmai-size-guide-page .hmai-measure-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}
.hmai-size-guide-page .hmai-measure-list li > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--policy-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.hmai-size-guide-page .hmai-measure-list strong {
  display: block;
  color: #242622;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .075em;
  line-height: 1.2;
  text-transform: uppercase;
}
.hmai-size-guide-page .hmai-measure-list p {
  margin: 4px 0 0;
  color: #626660;
  font-size: 10.5px;
  line-height: 1.38;
}
.hmai-size-guide-page .hmai-size-measure-image {
  min-width: 0;
  margin: 0;
  align-self: end;
}
.hmai-size-guide-page .hmai-size-measure-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hmai-size-guide-page .hmai-size-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}
.hmai-size-guide-page .hmai-size-chart-grid--compact { margin-top: 20px; }
.hmai-size-guide-page .hmai-size-chart-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e2dd;
  border-radius: 8px;
  background: #fff;
}
.hmai-size-guide-page .hmai-size-chart-card > h2 {
  margin: 0;
  padding: 14px 20px;
  background: #f4f1ec;
  color: #242520;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.hmai-size-guide-page .hmai-size-chart-card > h2 small {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .13em;
}
.hmai-size-guide-page .hmai-size-table-scroll { overflow-x: auto; }
.hmai-size-guide-page .hmai-size-chart-card table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  color: #434640;
  font-size: 11.5px;
}
.hmai-size-guide-page .hmai-size-chart-card th,
.hmai-size-guide-page .hmai-size-chart-card td {
  height: 38px;
  padding: 8px 12px;
  text-align: center;
  border-right: 1px solid #e1e2dd;
  border-bottom: 1px solid #e1e2dd;
}
.hmai-size-guide-page .hmai-size-chart-card th:last-child,
.hmai-size-guide-page .hmai-size-chart-card td:last-child { border-right: 0; }
.hmai-size-guide-page .hmai-size-chart-card tbody tr:last-child td { border-bottom: 0; }
.hmai-size-guide-page .hmai-size-chart-card th {
  background: #fff;
  color: #22241f;
  font-weight: 600;
}
.hmai-size-guide-page .hmai-size-chart-grid--compact .hmai-size-chart-card th,
.hmai-size-guide-page .hmai-size-chart-grid--compact .hmai-size-chart-card td { height: 36px; }

.hmai-size-guide-page .hmai-size-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
  padding-top: 0;
  border-top: 0;
}
.hmai-size-guide-page .hmai-size-tips-grid article {
  min-width: 0;
  padding: 0 38px;
  text-align: center;
  border-right: 1px solid #e5e6e1;
}
.hmai-size-guide-page .hmai-size-tips-grid article:first-child { padding-left: 8px; }
.hmai-size-guide-page .hmai-size-tips-grid article:last-child { padding-right: 8px; border-right: 0; }
.hmai-size-guide-page .hmai-size-tip-icon {
  width: 68px;
  height: 68px;
  background: #f1f2ee;
}
.hmai-size-guide-page .hmai-size-tip-icon svg { width: 31px; height: 31px; stroke-width: 1.55; }
.hmai-size-guide-page .hmai-size-tips-grid h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.hmai-size-guide-page .hmai-size-tips-grid p {
  margin: 14px auto 0;
  color: #62655f;
  font-size: 12px;
  line-height: 1.52;
}
.hmai-size-guide-page .hmai-fit-guide-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  text-align: left;
}
.hmai-size-guide-page .hmai-fit-guide-list div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
}
.hmai-size-guide-page .hmai-fit-guide-list dt {
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf2ed;
  color: var(--policy-green);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}
.hmai-size-guide-page .hmai-fit-guide-list dd {
  margin: 0;
  color: #62655f;
  font-size: 10.5px;
  line-height: 1.25;
}
.hmai-size-guide-page .hmai-size-tip-checks {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.hmai-size-guide-page .hmai-size-tip-checks li {
  position: relative;
  padding-left: 27px;
  color: #62655f;
  font-size: 10.5px;
  line-height: 1.43;
}
.hmai-size-guide-page .hmai-size-tip-checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: var(--policy-green);
  font-size: 17px;
  font-weight: 700;
}

/* Responsive: preserve the reference composition as long as it comfortably fits,
   then reflow instead of compressing text or tables beyond readability. */
@media (max-width: 1080px) {
  .hmai-shipping-policy { width: min(100% - 64px, 960px); }
  .hmai-size-guide-page { width: min(100% - 56px, 1040px); }
  .hmai-shipping-policy .hmai-policy-split,
  .hmai-shipping-policy .hmai-policy-split--processing,
  .hmai-shipping-policy .hmai-policy-split--table,
  .hmai-shipping-policy .hmai-policy-split--charges { gap: 34px; }
  .hmai-shipping-policy .hmai-policy-charge-copy { grid-template-columns: 104px minmax(0, 1fr); gap: 22px; }
  .hmai-shipping-policy .hmai-policy-icon--large { width: 104px; height: 104px; }
  .hmai-shipping-policy .hmai-policy-help { grid-template-columns: 70px minmax(0, 1fr) minmax(270px, .8fr); gap: 20px; padding-inline: 25px; }
  .hmai-size-guide-page .hmai-size-measure-section { grid-template-columns: minmax(245px, .62fr) minmax(0, 1.38fr); gap: 30px; }
  .hmai-size-guide-page .hmai-size-tips-grid article { padding-inline: 25px; }
}

@media (max-width: 820px) {
  .hmai-shipping-policy,
  .hmai-size-guide-page { width: min(100% - 40px, 760px); }
  .hmai-shipping-policy .hmai-policy-title-block { padding-top: 34px; }
  .hmai-shipping-policy .hmai-policy-feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 22px; }
  .hmai-shipping-policy .hmai-policy-feature-grid article:nth-child(2) { border-right: 0; }
  .hmai-shipping-policy .hmai-policy-feature-grid article:nth-child(n+3) { padding-top: 20px; border-top: 1px solid var(--policy-line); }
  .hmai-shipping-policy .hmai-policy-split,
  .hmai-shipping-policy .hmai-policy-split--processing,
  .hmai-shipping-policy .hmai-policy-split--table,
  .hmai-shipping-policy .hmai-policy-split--charges { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .hmai-shipping-policy .hmai-policy-split--coverage .hmai-policy-media { order: -1; }
  .hmai-shipping-policy .hmai-policy-card-row { grid-template-columns: minmax(0,1fr); }
  .hmai-shipping-policy .hmai-policy-card-row article { padding: 24px 0; }
  .hmai-shipping-policy .hmai-policy-card-row article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--policy-line); }
  .hmai-shipping-policy .hmai-policy-help { grid-template-columns: 62px minmax(0,1fr); }
  .hmai-shipping-policy .hmai-policy-help__contacts { grid-column: 1/-1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 20px; padding: 17px 0 0; border-left: 0; border-top: 1px solid #d5dbd4; }

  .hmai-size-guide-page .hmai-policy-title-block { padding-top: 24px; }
  .hmai-size-guide-page .hmai-size-measure-section { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .hmai-size-guide-page .hmai-size-measure-copy { padding-top: 0; }
  .hmai-size-guide-page .hmai-measure-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hmai-size-guide-page .hmai-size-chart-grid { grid-template-columns: minmax(0,1fr); }
  .hmai-size-guide-page .hmai-size-tips-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .hmai-size-guide-page .hmai-size-tips-grid article,
  .hmai-size-guide-page .hmai-size-tips-grid article:first-child,
  .hmai-size-guide-page .hmai-size-tips-grid article:last-child { padding: 0 0 26px; border-right: 0; border-bottom: 1px solid #e5e6e1; text-align: left; }
  .hmai-size-guide-page .hmai-size-tips-grid article:last-child { padding-bottom: 0; border-bottom: 0; }
  .hmai-size-guide-page .hmai-size-tip-icon { width: 58px; height: 58px; }
}

@media (max-width: 560px) {
  body:not(.home) .hmai-inner-main.hmai-managed-page--shipping,
  body:not(.home) .hmai-inner-main.hmai-managed-page--size-guide { padding-bottom: 52px !important; }
  .hmai-shipping-policy,
  .hmai-size-guide-page { width: min(100% - 28px, 520px); }
  .hmai-shipping-policy .hmai-policy-title-block { padding: 28px 0 22px; }
  .hmai-shipping-policy .hmai-policy-title-block h1,
  .hmai-size-guide-page .hmai-policy-title-block h1 { font-size: clamp(42px, 13vw, 56px); }
  .hmai-shipping-policy .hmai-policy-title-block > p,
  .hmai-size-guide-page .hmai-policy-title-block > p { font-size: 12px; }
  .hmai-shipping-policy .hmai-policy-feature-grid article { padding-inline: 12px; }
  .hmai-shipping-policy .hmai-policy-split { padding: 24px 0; }
  .hmai-shipping-policy .hmai-policy-copy h2 { font-size: 31px; }
  .hmai-shipping-policy .hmai-policy-charge-copy { grid-template-columns: 68px minmax(0,1fr); gap: 16px; }
  .hmai-shipping-policy .hmai-policy-icon--large { width: 68px; height: 68px; }
  .hmai-shipping-policy .hmai-policy-icon--large svg { width: 31px; height: 31px; }
  .hmai-shipping-policy .hmai-policy-card-row article { grid-template-columns: 49px minmax(0,1fr); gap: 13px; }
  .hmai-shipping-policy .hmai-policy-help { grid-template-columns: minmax(0,1fr); padding: 24px 20px; }
  .hmai-shipping-policy .hmai-policy-help__contacts { grid-template-columns: minmax(0,1fr); }
  .hmai-shipping-policy .hmai-policy-table-wrap { overflow-x: auto; }
  .hmai-shipping-policy .hmai-policy-table-wrap table { min-width: 330px; }

  .hmai-size-guide-page .hmai-policy-title-block { padding: 18px 0 10px; }
  .hmai-size-guide-page .hmai-policy-title-block > p { margin-top: 10px; }
  .hmai-size-guide-page .hmai-measure-list { grid-template-columns: minmax(0,1fr); }
  .hmai-size-guide-page .hmai-size-chart-card > h2 { font-size: 16px; }
  .hmai-size-guide-page .hmai-size-chart-card table { min-width: 430px; }
  .hmai-size-guide-page .hmai-size-chart-grid--compact .hmai-size-chart-card table { min-width: 330px; }
}

/* =========================================================
   v5.5.32 — Shipping reference alignment correction
   Exact lower-section relationships from the supplied design:
   - larger/zoomed icon treatments
   - kickers aligned to icon/image geometry
   - kicker -> serif title kept intentionally tight
   - body copy gets its own breathing room
   - circular mail / WhatsApp contact glyphs
   ========================================================= */

/* Order Processing: the small heading begins at the same visual top as the parcel image. */
@media (min-width: 821px) {
  .hmai-shipping-policy .hmai-policy-split--processing {
    align-items: start;
  }
  .hmai-shipping-policy .hmai-policy-split--processing .hmai-policy-copy {
    padding-top: 8px;
  }
}

/* Shipping Charges: recreate the large square tile + zoomed circular icon from the reference. */
.hmai-shipping-policy .hmai-policy-charge-copy {
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 29px;
  align-items: center;
}
.hmai-shipping-policy .hmai-policy-icon--large {
  position: relative;
  width: 136px;
  height: 126px;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f4f0;
}
.hmai-shipping-policy .hmai-policy-icon--large::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #e9eee9;
}
.hmai-shipping-policy .hmai-policy-icon--large svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.7;
}

/* Lower two-column information rows.  The icon and uppercase kicker share one top line. */
.hmai-shipping-policy .hmai-policy-card-row article {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 25px;
}
.hmai-shipping-policy .hmai-policy-card-row .hmai-policy-icon {
  width: 62px;
  height: 62px;
  background: #f0f2ee;
}
.hmai-shipping-policy .hmai-policy-card-row .hmai-policy-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.65;
}

/* v5.5.33 — Give every shipping kicker a deliberate breathing gap before its serif title. */
.hmai-shipping-policy .hmai-policy-card-row .hmai-policy-kicker {
  margin: 1px 0 8px;
  font-size: 9.5px;
  line-height: 1.12;
  letter-spacing: .205em;
}
.hmai-shipping-policy .hmai-policy-card-row h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.02;
  letter-spacing: -.028em;
}
.hmai-shipping-policy .hmai-policy-card-row h2 + p {
  margin-top: 9px;
}
.hmai-shipping-policy .hmai-policy-card-row h2 + p + .hmai-policy-checks--compact {
  margin-top: 6px;
}
.hmai-shipping-policy .hmai-policy-card-row p:not(.hmai-policy-kicker) {
  margin-top: 9px;
  font-size: 10.5px;
  line-height: 1.47;
}
.hmai-shipping-policy .hmai-policy-card-row .hmai-policy-checks--compact li {
  font-size: 10px;
  line-height: 1.36;
}

/* Keep a consistent, visible kicker -> title gap in processing / charges / help. */
.hmai-shipping-policy .hmai-policy-split--processing .hmai-policy-kicker,
.hmai-shipping-policy .hmai-policy-charge-copy .hmai-policy-kicker,
.hmai-shipping-policy .hmai-policy-help .hmai-policy-kicker {
  margin-bottom: 9px;
}
.hmai-shipping-policy .hmai-policy-charge-copy > div > p:not(.hmai-policy-kicker) {
  margin-top: 8px;
}

/* Help strip: larger reference headset and genuine circular contact glyph treatments. */
.hmai-shipping-policy .hmai-policy-help {
  grid-template-columns: 86px minmax(0, 1.12fr) minmax(300px, .78fr);
  gap: 25px;
}
.hmai-shipping-policy .hmai-policy-icon--help {
  width: 78px;
  height: 78px;
  background: #e8ede8;
}
.hmai-shipping-policy .hmai-policy-icon--help svg {
  width: 39px;
  height: 39px;
  stroke-width: 1.7;
}
.hmai-shipping-policy .hmai-policy-help__contacts a {
  gap: 13px;
  padding: 6px 0;
}
.hmai-shipping-policy .hmai-policy-contact-icon {
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf1ec;
  color: var(--policy-green);
}
.hmai-shipping-policy .hmai-policy-contact-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}
.hmai-shipping-policy .hmai-policy-help__contacts strong {
  font-size: 10.5px;
  line-height: 1.18;
}
.hmai-shipping-policy .hmai-policy-help__contacts small {
  margin-top: 2px;
  font-size: 8.7px;
  line-height: 1.15;
}

/* Compact laptops/tablets: preserve the reference proportions without overflow. */
@media (max-width: 1080px) and (min-width: 821px) {
  .hmai-shipping-policy .hmai-policy-charge-copy {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 23px;
  }
  .hmai-shipping-policy .hmai-policy-icon--large {
    width: 112px;
    height: 108px;
  }
  .hmai-shipping-policy .hmai-policy-icon--large::before {
    width: 68px;
    height: 68px;
  }
  .hmai-shipping-policy .hmai-policy-icon--large svg {
    width: 36px;
    height: 36px;
  }
  .hmai-shipping-policy .hmai-policy-card-row article {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 15px;
  }
  .hmai-shipping-policy .hmai-policy-card-row .hmai-policy-icon {
    width: 56px;
    height: 56px;
  }
  .hmai-shipping-policy .hmai-policy-card-row .hmai-policy-icon svg {
    width: 28px;
    height: 28px;
  }
  .hmai-shipping-policy .hmai-policy-card-row h2 {
    font-size: 23px;
  }
  .hmai-shipping-policy .hmai-policy-help {
    grid-template-columns: 74px minmax(0, 1fr) minmax(270px, .82fr);
  }
  .hmai-shipping-policy .hmai-policy-icon--help {
    width: 68px;
    height: 68px;
  }
}

/* Tablet/mobile: keep the same visual hierarchy after the layout stacks. */
@media (max-width: 820px) {
  .hmai-shipping-policy .hmai-policy-card-row article {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px;
    padding-block: 25px;
  }
  .hmai-shipping-policy .hmai-policy-card-row .hmai-policy-icon {
    width: 56px;
    height: 56px;
  }
  .hmai-shipping-policy .hmai-policy-card-row .hmai-policy-icon svg {
    width: 28px;
    height: 28px;
  }
  .hmai-shipping-policy .hmai-policy-charge-copy {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 19px;
  }
  .hmai-shipping-policy .hmai-policy-icon--large {
    width: 92px;
    height: 92px;
  }
  .hmai-shipping-policy .hmai-policy-icon--large::before {
    width: 58px;
    height: 58px;
  }
  .hmai-shipping-policy .hmai-policy-icon--large svg {
    width: 31px;
    height: 31px;
  }
}

@media (max-width: 560px) {
  .hmai-shipping-policy .hmai-policy-card-row article {
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 13px;
  }
  .hmai-shipping-policy .hmai-policy-card-row .hmai-policy-icon {
    width: 50px;
    height: 50px;
  }
  .hmai-shipping-policy .hmai-policy-card-row .hmai-policy-icon svg {
    width: 25px;
    height: 25px;
  }
  .hmai-shipping-policy .hmai-policy-card-row h2 {
    font-size: 23px;
  }
  .hmai-shipping-policy .hmai-policy-card-row .hmai-policy-kicker {
    font-size: 8.7px;
  }
  .hmai-shipping-policy .hmai-policy-charge-copy {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 15px;
  }
  .hmai-shipping-policy .hmai-policy-icon--large {
    width: 76px;
    height: 76px;
  }
  .hmai-shipping-policy .hmai-policy-icon--large::before {
    width: 49px;
    height: 49px;
  }
  .hmai-shipping-policy .hmai-policy-icon--large svg {
    width: 27px;
    height: 27px;
  }
  .hmai-shipping-policy .hmai-policy-help {
    gap: 17px;
  }
  .hmai-shipping-policy .hmai-policy-icon--help {
    width: 72px;
    height: 72px;
  }
}

/* =========================================================
   v5.5.34 — Size Guide readability + reference alignment
   - Keep "Get the Right Fit" on one line wherever the viewport safely allows it
   - Lighten chart header bands while increasing heading contrast
   - Increase lower guidance typography for stronger readability
   ========================================================= */
.hmai-size-guide-page .hmai-size-measure-copy h2 {
  white-space: nowrap;
}

@media (min-width: 821px) {
  .hmai-size-guide-page .hmai-size-measure-section {
    grid-template-columns: minmax(350px, .72fr) minmax(0, 1.28fr);
    gap: 36px;
  }
  .hmai-size-guide-page .hmai-size-measure-copy h2 {
    font-size: clamp(39px, 3.2vw, 46px);
  }
}

.hmai-size-guide-page .hmai-size-chart-card > h2 {
  background: #faf8f4;
  color: #171914;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .045em;
}
.hmai-size-guide-page .hmai-size-chart-card > h2 small {
  color: #545850;
  font-weight: 600;
}
.hmai-size-guide-page .hmai-size-chart-card th {
  color: #262922;
  font-weight: 700;
}

.hmai-size-guide-page .hmai-size-tips-grid {
  margin-top: 46px;
}
.hmai-size-guide-page .hmai-size-tips-grid article {
  padding-inline: 44px;
}
.hmai-size-guide-page .hmai-size-tip-icon {
  width: 74px;
  height: 74px;
}
.hmai-size-guide-page .hmai-size-tip-icon svg {
  width: 34px;
  height: 34px;
}
.hmai-size-guide-page .hmai-size-tips-grid h2 {
  margin-top: 16px;
  font-size: clamp(30px, 2.25vw, 34px);
  line-height: 1.08;
}
.hmai-size-guide-page .hmai-size-tips-grid p {
  margin-top: 15px;
  color: #50554e;
  font-size: 13.5px;
  line-height: 1.58;
}
.hmai-size-guide-page .hmai-fit-guide-list {
  gap: 10px;
  margin-top: 18px;
}
.hmai-size-guide-page .hmai-fit-guide-list div {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
}
.hmai-size-guide-page .hmai-fit-guide-list dt {
  padding: 8px 11px;
  font-size: 11.5px;
}
.hmai-size-guide-page .hmai-fit-guide-list dd {
  color: #50554e;
  font-size: 12.5px;
  line-height: 1.35;
}
.hmai-size-guide-page .hmai-size-tip-checks {
  gap: 12px;
  margin-top: 18px;
}
.hmai-size-guide-page .hmai-size-tip-checks li {
  padding-left: 30px;
  color: #50554e;
  font-size: 12.5px;
  line-height: 1.5;
}
.hmai-size-guide-page .hmai-size-tip-checks li::before {
  top: -1px;
  width: 20px;
  height: 20px;
  font-size: 19px;
}

@media (max-width: 1080px) and (min-width: 821px) {
  .hmai-size-guide-page .hmai-size-measure-section {
    grid-template-columns: minmax(330px, .7fr) minmax(0, 1.3fr);
    gap: 30px;
  }
  .hmai-size-guide-page .hmai-size-measure-copy h2 {
    font-size: clamp(37px, 4vw, 43px);
  }
  .hmai-size-guide-page .hmai-size-tips-grid article {
    padding-inline: 28px;
  }
  .hmai-size-guide-page .hmai-size-tips-grid h2 {
    font-size: 29px;
  }
  .hmai-size-guide-page .hmai-size-tips-grid p,
  .hmai-size-guide-page .hmai-fit-guide-list dd,
  .hmai-size-guide-page .hmai-size-tip-checks li {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .hmai-size-guide-page .hmai-size-measure-copy h2 {
    font-size: clamp(36px, 7vw, 44px);
  }
  .hmai-size-guide-page .hmai-size-tips-grid article,
  .hmai-size-guide-page .hmai-size-tips-grid article:first-child,
  .hmai-size-guide-page .hmai-size-tips-grid article:last-child {
    padding-inline: 0;
  }
  .hmai-size-guide-page .hmai-size-tips-grid h2 {
    font-size: 30px;
  }
  .hmai-size-guide-page .hmai-size-tips-grid p,
  .hmai-size-guide-page .hmai-fit-guide-list dd,
  .hmai-size-guide-page .hmai-size-tip-checks li {
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .hmai-size-guide-page .hmai-size-measure-copy h2 {
    white-space: normal;
    font-size: 34px;
  }
  .hmai-size-guide-page .hmai-size-chart-card > h2 {
    font-size: 16.5px;
  }
}

/* =========================================================
   v5.5.38 SITE-WIDE PRODUCT CARD MEDIA — FULL IMAGE / NO CROP
   Keep WooCommerce shop, collection, search, recommendation and related-card
   frames consistent, but never enlarge a catalogue image past its edges.
   Product-detail gallery artwork is deliberately excluded because that layout
   already shows the original image correctly.
   ========================================================= */
.hmai-shop-card__media,
body.single-product section.related .hmai-shop-card__media,
body.single-product section.upsells .hmai-shop-card__media {
  background: #f7f5f1 !important;
}

.hmai-shop-card__image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f7f5f1;
}

.hmai-shop-card__image img,
body.single-product section.related .hmai-shop-card__image img,
body.single-product section.upsells .hmai-shop-card__image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f7f5f1 !important;
  transform: none !important;
}

.hmai-shop-card:hover .hmai-shop-card__image img,
body.single-product section.related .hmai-shop-card:hover .hmai-shop-card__image img,
body.single-product section.upsells .hmai-shop-card:hover .hmai-shop-card__image img {
  transform: none !important;
}


/* =========================================================
   v5.5.73 PRODUCT PAGE — COMPACT TITLE + SKU + BUY IT NOW
   - Smaller reference-style product title
   - Dedicated SKU line that WooCommerce can update for variations
   - Full-width direct-checkout button inside the native cart form
   ========================================================= */
body.single-product .hmai-product-detail .product_title,
body.single-product div.product .product_title {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  font-family: var(--sans) !important;
  font-size: clamp(20px, 1.45vw, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: .005em !important;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

body.single-product .hmai-product-sku.product_meta {
  display: block !important;
  width: 100% !important;
  margin: 7px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #57534e !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: .015em !important;
}
body.single-product .hmai-product-sku .sku_wrapper,
body.single-product .hmai-product-sku .sku {
  color: inherit !important;
  font: inherit !important;
}
body.single-product .hmai-product-sku .sku_wrapper {
  font-weight: 600 !important;
}
body.single-product .hmai-product-sku .sku {
  font-weight: 500 !important;
}

body.single-product .hmai-product-price-row {
  margin-top: 18px !important;
}

body.single-product .hmai-product-detail form.cart .hmai-buy-now-button,
body.single-product .hmai-product-detail form.variations_form .hmai-buy-now-button,
body.single-product .hmai-product-detail .woocommerce-variation-add-to-cart .hmai-buy-now-button {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 50px !important;
  margin: 10px 0 0 !important;
  padding: 13px 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #e97800 !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, opacity .18s ease;
}
body.single-product .hmai-product-detail form.cart .hmai-buy-now-button:hover,
body.single-product .hmai-product-detail form.variations_form .hmai-buy-now-button:hover {
  background: #cf6800 !important;
}
body.single-product .hmai-product-detail form.cart .hmai-buy-now-button:active,
body.single-product .hmai-product-detail form.variations_form .hmai-buy-now-button:active {
  transform: translateY(1px);
}
body.single-product .hmai-product-detail form.cart .hmai-buy-now-button.disabled,
body.single-product .hmai-product-detail form.cart .hmai-buy-now-button:disabled,
body.single-product .hmai-product-detail form.variations_form .hmai-buy-now-button.disabled,
body.single-product .hmai-product-detail form.variations_form .hmai-buy-now-button:disabled {
  opacity: .45 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

@media (max-width: 767px) {
  body.single-product .hmai-product-detail .product_title,
  body.single-product div.product .product_title {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }
  body.single-product .hmai-product-sku.product_meta {
    margin-top: 6px !important;
    font-size: 10.5px !important;
  }
  body.single-product .hmai-product-detail form.cart .hmai-buy-now-button,
  body.single-product .hmai-product-detail form.variations_form .hmai-buy-now-button {
    min-height: 48px !important;
    margin-top: 9px !important;
  }
}

/* =========================================================
   v5.5.74 — Product archive pagination repair
   Keep every Hoorain product-list pagination horizontal,
   centered and styled even when it sits outside .woocommerce.
   ========================================================= */
.hmai-shop-pagination {
  width: 100%;
  clear: both;
  display: flex;
  justify-content: center;
}

.hmai-shop-pagination ul.page-numbers {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.hmai-shop-pagination ul.page-numbers > li {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.hmai-shop-pagination ul.page-numbers > li > a,
.hmai-shop-pagination ul.page-numbers > li > span {
  display: inline-grid !important;
  place-items: center;
  min-width: 40px;
  height: 40px;
  margin: 0 !important;
  padding: 0 11px !important;
  border: 1px solid #ded6cf !important;
  border-radius: 999px;
  background: #fff !important;
  color: #4f4944 !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.hmai-shop-pagination ul.page-numbers > li > span.current,
.hmai-shop-pagination ul.page-numbers > li > a:hover,
.hmai-shop-pagination ul.page-numbers > li > a:focus-visible {
  border-color: var(--green-btn) !important;
  background: var(--green-btn) !important;
  color: #fff !important;
}

.hmai-managed-pagination {
  margin-top: 34px;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .hmai-shop-pagination ul.page-numbers { gap: 6px; }
  .hmai-shop-pagination ul.page-numbers > li > a,
  .hmai-shop-pagination ul.page-numbers > li > span {
    min-width: 36px;
    height: 36px;
    padding: 0 9px !important;
    font-size: 10px;
  }
}
