:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Helvetica Neue", Arial, sans-serif;
  --ink: #111111;
  --muted: #68625f;
  --soft: #f5f3f0;
  --surface: #ffffff;
  --line: #ded9d3;
  --accent: #b51f32;
  --accent-soft: #f8e7e9;
  --success: #1d6d4b;
  --shadow: 0 18px 48px rgba(17, 17, 17, 0.1);
  --radius: 6px;
  --container: 1440px;
  --header-height: 72px;
  --step-hero: clamp(72px, 6.8vw, 112px);
  --step-h1: clamp(48px, 5.2vw, 84px);
  --step-h2: clamp(34px, 3.4vw, 56px);
  --step-title: 14px;
  --step-ui: 12px;
  --step-body: 14px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--ink);
  color: #fff;
}

.announcement-bar {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 7px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(222, 217, 211, 0.75);
  transition: transform 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(16px);
}

.site-header.is-compact {
  box-shadow: 0 6px 24px rgba(17, 17, 17, 0.07);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-main {
  height: var(--header-height);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.site-brand,
.custom-logo-link {
  justify-self: start;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.custom-logo {
  max-height: 42px;
  width: auto;
}

.primary-nav {
  justify-self: center;
}

.primary-nav ul,
.mobile-nav ul,
.footer-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 34px);
}

.primary-nav a {
  display: block;
  padding: 26px 0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.primary-nav li {
  position: relative;
}

.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -22px;
  min-width: 220px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 160ms ease;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu a {
  padding: 9px 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button svg,
.filter-toggle svg,
.mobile-tabbar svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  position: absolute;
  top: 5px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.36);
}

.mobile-drawer__panel {
  width: min(88vw, 420px);
  height: 100%;
  padding: 20px;
  background: #fff;
  overflow-y: auto;
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mobile-drawer__head .icon-button {
  font-size: 28px;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--line);
  background: #fff;
}

.search-form input {
  min-width: 0;
  border: 0;
  padding: 14px;
}

.search-form button {
  min-width: 52px;
  border: 0;
  border-left: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.search-form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

.search-form button span {
  display: none;
}

.mobile-nav {
  margin-top: 22px;
}

.mobile-nav a {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.button,
.button-dark,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.button-dark,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--ink);
  color: #fff;
}

.content-shell,
.shop-shell,
.storefront {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.section-pad {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.section-head a {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-section {
  min-height: calc(100svh - 106px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  position: relative;
  margin-inline: calc(clamp(16px, 4vw, 48px) * -1);
  overflow: hidden;
  background: #eee9e4;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.1)),
    linear-gradient(135deg, #ece3dc 0%, #c6b4a6 45%, #8f7970 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.12) 55%, rgba(17, 17, 17, 0.04) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, 92vw);
  padding: clamp(28px, 8vw, 92px) clamp(16px, 4vw, 48px);
  color: #fff;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 108px);
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 540px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 20px);
}

.rail-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  position: relative;
  min-height: 310px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--soft);
}

.category-card img,
.category-card__blank {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #f0ece8, #cec2b8);
  transition: transform 420ms ease;
}

.category-card:hover img,
.category-card:hover .category-card__blank {
  transform: scale(1.04);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(17, 17, 17, 0.62));
}

.category-card span:last-child {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.lookbook-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.lookbook-copy h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.96;
  text-transform: uppercase;
}

.lookbook-copy p {
  max-width: 500px;
  color: var(--muted);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.lookbook-grid span {
  min-height: 260px;
  background: linear-gradient(135deg, #d8d1ca, #9d9087);
}

.lookbook-grid span:first-child {
  grid-row: span 2;
  min-height: 560px;
}

.shop-main {
  padding-top: clamp(22px, 5vw, 56px);
}

.shop-hero {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.shop-hero h1 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.95;
  text-transform: uppercase;
}

.shop-hero p,
.shop-hero__description {
  max-width: 760px;
  color: var(--muted);
}

.woocommerce-breadcrumb {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
}

.shop-layout--full {
  grid-template-columns: 1fr;
}

.shop-filters {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.shop-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 13px;
  text-transform: uppercase;
}

.shop-filters__head button {
  display: none;
}

.filter-widget {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.filter-title {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
}

.filter-empty {
  padding: 18px;
  background: var(--soft);
  color: var(--muted);
}

.shop-toolbar {
  min-height: 44px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.shop-toolbar__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.woocommerce-result-count {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.woocommerce-ordering select {
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 0 36px 0 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.filter-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.woocommerce ul.products,
ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px) 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products li.product,
.product-card {
  float: none;
  width: auto;
  margin: 0;
}

.product-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease, transform 420ms ease;
}

.demo-product-image {
  position: absolute;
  inset: 0;
  display: block;
  background-image: url("../images/hero-default.png");
  background-size: 240%;
  background-position: 72% 36%;
  filter: saturate(0.9);
}

.demo-product-2 .demo-product-image {
  background-position: 68% 44%;
}

.demo-product-3 .demo-product-image {
  background-position: 76% 52%;
}

.demo-product-4 .demo-product-image {
  background-position: 62% 60%;
}

.product-card__alt {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.product-card:hover .product-card__alt {
  opacity: 1;
}

.product-card:hover .product-card__media img:first-of-type {
  transform: scale(1.025);
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  padding: 6px 8px;
  background: #fff;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.badge-sale {
  background: var(--accent);
  color: #fff;
}

.badge-muted {
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
}

.product-card__body {
  padding-top: 12px;
}

.product-card__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.woocommerce-loop-product__title {
  margin: 0;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 850;
}

.price del {
  color: var(--muted);
  font-weight: 600;
}

.price ins {
  color: var(--accent);
  text-decoration: none;
}

.product-card__meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.quick-view,
.woocommerce ul.products li.product .button {
  flex: 1;
  min-height: 38px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.wishlist-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: #fff;
  cursor: pointer;
}

.wishlist-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
}

.single-product-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 48px) clamp(16px, 4vw, 48px) 88px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.product-gallery-panel {
  min-width: 0;
}

.woocommerce div.product div.images {
  width: 100%;
  float: none;
  margin: 0;
}

.woocommerce div.product div.summary {
  width: 100%;
  float: none;
  margin: 0;
}

.product-summary-panel {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.product_title {
  margin: 12px 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
}

.woocommerce-product-details__short-description {
  color: var(--muted);
}

.variations {
  width: 100%;
}

.variations th,
.variations td {
  display: block;
  padding: 0 0 10px;
  text-align: left;
}

.variations label {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.variations select,
.quantity .qty {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: #fff;
}

.single_add_to_cart_button {
  width: 100%;
  margin-top: 12px;
}

.commerce-promises {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.commerce-promises div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.commerce-promises strong,
.commerce-promises span {
  display: block;
}

.commerce-promises strong {
  font-size: 13px;
  text-transform: uppercase;
}

.commerce-promises span {
  color: var(--muted);
  font-size: 13px;
}

.product-after {
  margin-top: clamp(42px, 8vw, 96px);
}

.woocommerce-tabs {
  border-top: 1px solid var(--line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  margin: 0;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 0;
  background: transparent;
}

.sticky-add-to-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: min(420px, calc(100vw - 36px));
  padding: 12px;
  border: 1px solid var(--line);
  display: none;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  box-shadow: var(--shadow);
}

.sticky-add-to-cart strong,
.sticky-add-to-cart span {
  display: block;
}

.sticky-add-to-cart span {
  color: var(--muted);
  font-size: 13px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 48px 0;
}

.post-card {
  background: var(--soft);
}

.post-card h1,
.post-card p {
  margin-inline: 18px;
}

.page-content {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(42px, 8vw, 88px) 0;
}

.page-header h1,
.empty-state h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
}

.empty-state {
  min-height: 46vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--ink);
  color: #fff;
}

.footer-newsletter {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(44px, 8vw, 86px) clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 28px;
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-newsletter h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.96;
  text-transform: uppercase;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.72);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
}

.newsletter-form input,
.newsletter-form button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.newsletter-form input {
  min-width: 0;
  padding: 0 14px;
  background: transparent;
  color: #fff;
}

.newsletter-form button {
  padding: 0 18px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.footer-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 48px) 88px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-main p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-main ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.mobile-tabbar {
  display: none;
}

@media (max-width: 1180px) {
  .rail-grid,
  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-card {
    min-height: 270px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 62px;
  }

  body {
    padding-bottom: 62px;
  }

  .header-main {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding-inline: 12px;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-nav {
    display: none;
  }

  .site-brand,
  .custom-logo-link {
    justify-self: center;
    font-size: 18px;
  }

  .header-actions .icon-button:not(.cart-link) {
    display: none;
  }

  .hero-section {
    min-height: 78svh;
  }

  .hero-copy {
    padding-bottom: 40px;
  }

  .rail-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .category-card {
    min-width: 42vw;
    min-height: 260px;
    scroll-snap-align: start;
  }

  .lookbook-section,
  .product-detail,
  .footer-newsletter {
    grid-template-columns: 1fr;
  }

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

  .filter-toggle {
    display: inline-flex;
  }

  .shop-filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 110;
    width: min(88vw, 390px);
    padding: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .shop-filters.is-open {
    transform: translateX(0);
  }

  .shop-filters__head button {
    display: grid;
    width: 36px;
    height: 36px;
    border: 0;
    place-items: center;
    background: transparent;
    font-size: 24px;
  }

  .shop-toolbar {
    align-items: stretch;
  }

  .shop-toolbar__meta {
    gap: 10px;
  }

  .woocommerce-result-count {
    display: none;
  }

  .woocommerce ul.products,
  ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
  }

  .product-summary-panel {
    position: static;
  }

  .sticky-add-to-cart {
    right: 0;
    bottom: 62px;
    width: 100%;
    border-inline: 0;
    display: grid;
  }

  .footer-main {
    display: grid;
  }

  .mobile-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    height: 62px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
  }

  .mobile-tabbar a {
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 7px 4px;
    color: var(--ink);
    font-size: 10px;
    font-weight: 800;
  }

  .mobile-tabbar svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 560px) {
  .announcement-bar {
    font-size: 11px;
  }

  .hero-section {
    min-height: 72svh;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 15vw, 72px);
  }

  .category-card {
    min-width: 68vw;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .product-card__line {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .product-card-actions {
    display: none;
  }

  .woocommerce-loop-product__title,
  .price {
    font-size: 13px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }
}

/* Concept fidelity layer: ATELIER COMMERCE fashion retail board. */
.site-brand span {
  display: grid;
  gap: 3px;
  text-align: center;
}

.site-brand strong {
  font: inherit;
}

.site-brand small {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.site-brand--image img {
  max-height: 48px;
  width: auto;
}

.header-main {
  border-inline: 1px solid rgba(222, 217, 211, 0.55);
}

.primary-nav a[aria-current="page"],
.primary-nav .current-menu-item > a,
.primary-nav a:hover {
  color: var(--accent);
}

.storefront {
  border-inline: 1px solid rgba(222, 217, 211, 0.75);
}

.hero-section {
  min-height: 720px;
  margin-inline: calc(clamp(16px, 4vw, 48px) * -1);
  border-bottom: 1px solid var(--line);
}

.hero-section::after {
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.72) 0%, rgba(17, 17, 17, 0.36) 38%, rgba(17, 17, 17, 0.02) 74%);
}

.hero-placeholder {
  background: #d8d1c8;
}

.hero-copy {
  width: min(720px, 94vw);
  padding-top: 110px;
  padding-bottom: 104px;
}

.hero-copy h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-stretch: condensed;
  font-weight: 900;
  font-size: var(--step-hero);
  line-height: 0.92;
  text-wrap: balance;
}

.hero-copy .button {
  min-width: 205px;
  min-height: 58px;
  border-color: var(--accent);
  background: var(--accent);
}

.category-rail {
  padding: 16px 48px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.category-rail .rail-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  min-height: 0;
  aspect-ratio: 1.18 / 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 46px;
  align-items: stretch;
  border: 1px solid var(--line);
  background: #fff;
}

.category-card img,
.category-card__blank {
  position: static;
  grid-column: 1 / -1;
  grid-row: 1;
  height: 100%;
  background-image: url("../images/hero-default.png");
  background-size: 280%;
  background-position: 64% 32%;
  filter: saturate(0.84);
}

.category-card:nth-child(2) .category-card__blank {
  background-image: url("../images/hero-default.png");
  background-position: 72% 42%;
}

.category-card:nth-child(3) .category-card__blank {
  background-image: url("../images/hero-default.png");
  background-position: 82% 48%;
}

.category-card:nth-child(4) .category-card__blank {
  background-image: url("../images/hero-default.png");
  background-position: 58% 54%;
}

.category-card:nth-child(5) .category-card__blank {
  background-image: url("../images/hero-default.png");
  background-position: 68% 60%;
}

.category-card:nth-child(6) .category-card__blank {
  background-image: url("../images/hero-default.png");
  background-position: 76% 66%;
}

.category-card::after {
  display: none;
}

.category-card span:last-of-type,
.category-card i {
  position: relative;
  z-index: 1;
  grid-row: 2;
  color: var(--ink);
}

.category-card span:last-of-type {
  align-self: center;
  padding: 0 12px;
  font-size: 12px;
}

.category-card i {
  align-self: center;
  justify-self: end;
  padding-right: 13px;
  font-style: normal;
  font-size: 18px;
}

.home-new-in {
  padding: 64px 48px 72px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.new-in-copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: var(--step-h2);
  line-height: 0.9;
  text-transform: uppercase;
}

.new-in-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.new-in-copy .button {
  min-width: 154px;
}

.new-in-products .woocommerce ul.products,
.new-in-products ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-strip {
  margin-inline: calc(clamp(16px, 4vw, 48px) * -1);
  padding: 24px 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background: var(--ink);
  color: #fff;
}

.service-strip div {
  min-height: 52px;
  display: grid;
  align-content: center;
  padding-left: 58px;
  position: relative;
}

.service-strip div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: translateY(-50%);
}

.service-strip strong {
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-strip span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  text-transform: uppercase;
}

.shop-shell {
  border-inline: 1px solid rgba(222, 217, 211, 0.75);
}

.shop-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.shop-hero h1 {
  font-weight: 950;
}

.shop-layout {
  align-items: start;
}

.shop-filters {
  padding: 0 18px 20px 0;
  border-right: 1px solid var(--line);
}

.shop-filters__head {
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 0 12px;
  margin-bottom: 0;
}

.filter-widget {
  padding: 18px 12px;
  border-top: 0;
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-title {
  font-size: 12px;
}

.shop-toolbar {
  justify-content: flex-end;
  margin-bottom: 22px;
}

.woocommerce-ordering select {
  min-width: 180px;
  text-transform: uppercase;
}

.woocommerce ul.products,
ul.products {
  gap: 34px 18px;
}

.product-card__media {
  background: #f1eeeb;
  border: 1px solid transparent;
}

.product-card__body {
  padding-top: 10px;
}

.product-card__line {
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}

.woocommerce-loop-product__title {
  font-size: 13px;
  font-weight: 650;
}

.price {
  color: var(--ink);
  font-size: 13px;
}

.product-card__meta {
  display: none;
}

.product-swatches {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  margin: 8px 0 10px;
}

.product-swatches span {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 50%;
  background: var(--swatch);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 8px;
  margin-top: 0;
}

.product-card-actions .button,
.woocommerce ul.products li.product .button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #a9a29c;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}

.wishlist-button {
  order: 2;
  border-color: #a9a29c;
}

.single-product-shell {
  border-inline: 1px solid rgba(222, 217, 211, 0.75);
}

.product-detail {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
}

.product-gallery-panel {
  background: #f1eeeb;
}

.product-summary-panel {
  padding: 18px 0 0;
}

.product_title {
  font-size: clamp(28px, 3.2vw, 44px);
}

.woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.woocommerce div.product form.cart {
  margin-top: 22px;
}

.commerce-promises div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.commerce-promises span {
  grid-column: 1 / -1;
}

.sticky-add-to-cart {
  border-color: var(--line);
}

.sticky-add-to-cart .button {
  min-width: 160px;
  border-color: var(--accent);
  background: var(--accent);
}

@media (max-width: 900px) {
  .site-brand small {
    font-size: 7px;
  }

  .storefront,
  .shop-shell,
  .single-product-shell,
  .header-main {
    border-inline: 0;
  }

  .hero-section {
    min-height: 560px;
  }

  .hero-section::after {
    background: linear-gradient(0deg, rgba(17, 17, 17, 0.66) 0%, rgba(17, 17, 17, 0.1) 60%);
  }

  .hero-copy {
    align-self: end;
    padding: 0 18px 78px;
  }

  .hero-copy h1 {
    max-width: 330px;
  }

  .category-rail {
    padding: 8px;
  }

  .category-card {
    min-width: 46vw;
    aspect-ratio: 1 / 1.18;
  }

  .home-new-in {
    grid-template-columns: 1fr;
    padding: 34px 14px;
    gap: 22px;
  }

  .new-in-products .woocommerce ul.products,
  .new-in-products ul.products {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
  }

  .new-in-products ul.products > li {
    min-width: 42vw;
    scroll-snap-align: start;
  }

  .service-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-inline: -16px;
  }

  .shop-filters {
    padding: 20px;
    border-right: 0;
  }

  .shop-filters__head,
  .filter-widget {
    border-inline: 0;
  }

  .product-card-actions {
    display: none;
  }

  .product-detail {
    gap: 0;
  }

  .single-product-shell {
    padding-inline: 0;
    padding-top: 0;
  }

  .single-product-shell .woocommerce-breadcrumb {
    display: none;
  }

  .product-summary-panel {
    padding: 18px 18px 0;
  }

  .product-after {
    padding-inline: 18px;
  }

  .sticky-add-to-cart {
    grid-template-columns: 1fr auto;
    padding: 12px 14px;
  }
}

@media (max-width: 560px) {
  .hero-section {
    min-height: 515px;
  }

  .hero-copy h1 {
    font-size: 50px;
  }

  .hero-copy .button {
    min-width: 170px;
    min-height: 48px;
  }

  .new-in-products ul.products > li {
    min-width: 58vw;
  }

  .shop-hero {
    display: block;
  }

  .shop-toolbar__meta {
    width: 100%;
    justify-content: space-between;
  }

  .woocommerce-ordering select {
    min-width: 156px;
  }

  .sticky-add-to-cart {
    grid-template-columns: 1fr 146px;
  }

  .sticky-add-to-cart strong {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
