/* Category-specific concept directions. These are original MICommerce layouts,
   inspired by fashion editorial and restrained modern apparel retail patterns. */

/* NOIR ATELIER / Boutique: a full-frame campaign, not another split hero. */
.demo-store.boutique-store {
  --bg: #f0ede8;
  --surface: #f6f3ed;
  --ink: #231f1c;
  --muted: #5f5851;
  --line: #c9c0b6;
}
.demo-store.boutique-store .store-header {
  background: #f5f1eb;
  border-bottom: 1px solid #d8d0c5;
}
.demo-store.boutique-store .store-brand {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .26em;
}
.demo-store.boutique-store .boutique-hero {
  position: relative;
  display: block;
  min-height: min(840px, calc(100svh - 125px));
  isolation: isolate;
  overflow: hidden;
  background: #201915;
}
.demo-store.boutique-store .boutique-hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 0;
  background-position: 58% 35%;
}
.demo-store.boutique-store .boutique-hero-visual::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 12, 11, .78) 0%, rgba(15, 12, 11, .54) 30%, rgba(15, 12, 11, .05) 73%),
              linear-gradient(0deg, rgba(12, 9, 8, .48), transparent 45%);
}
.demo-store.boutique-store .boutique-hero-copy {
  position: relative;
  z-index: 2;
  width: min(850px, 75%);
  min-height: inherit;
  padding: clamp(96px, 13vh, 160px) 4vw clamp(65px, 10vh, 115px) clamp(24px, 8vw, 135px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: flex-start;
  color: #fff9f2;
}
.demo-store.boutique-store .boutique-hero-copy small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  color: #fff8ee;
}
.demo-store.boutique-store .boutique-hero-copy h1 {
  margin: 24px 0 22px;
  font: 400 clamp(74px, 8.5vw, 136px)/.84 Georgia, serif;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.demo-store.boutique-store .boutique-hero-copy p {
  max-width: 440px;
  color: #f2e8dc;
  font-size: 15px;
  line-height: 1.65;
}
.demo-store.boutique-store .boutique-hero-copy a {
  min-height: 44px;
  margin-top: 30px;
  padding: 10px 2px 9px;
  gap: 36px;
  border-bottom: 1px solid #fff8ee;
  color: #fff8ee;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.demo-store.boutique-store .boutique-hero-visual > small {
  z-index: 2;
  color: #fff8ee;
  font-size: 10px;
}
.demo-store.boutique-store .boutique-categories {
  padding: clamp(12px, 1.8vw, 25px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  grid-template-rows: repeat(2, minmax(250px, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  background: #f0ede8;
}
.demo-store.boutique-store .boutique-categories > a {
  min-height: 0;
  padding: 28px;
  transition: filter .2s ease;
}
.demo-store.boutique-store .boutique-categories > a:first-child {
  grid-row: 1 / 3;
  min-height: 670px;
}
.demo-store.boutique-store .boutique-categories > a:hover { transform: none; filter: brightness(1.08); }
.demo-store.boutique-store .boutique-categories > a b {
  bottom: 26px;
  left: 28px;
  font: 400 clamp(29px, 4vw, 61px)/.94 Georgia, serif;
  letter-spacing: -.055em;
}
.demo-store.boutique-store .demo-collection {
  padding-top: clamp(95px, 11vw, 170px);
  background: #f6f3ed;
}
.demo-store.boutique-store .demo-collection > header {
  border: 0;
  align-items: start;
  padding-bottom: 40px;
}
.demo-store.boutique-store .demo-collection h2 {
  max-width: 850px;
  font: 400 clamp(58px, 8vw, 116px)/.9 Georgia, serif;
  letter-spacing: -.07em;
}
.demo-store.boutique-store .demo-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 74px clamp(15px, 3vw, 50px);
}
.demo-store.boutique-store .demo-product-grid .product-visual {
  aspect-ratio: 4 / 5;
  background: #dfd5c8;
}
.demo-store.boutique-store .demo-product-grid .demo-product-card:nth-child(even) {
  margin-top: 72px;
}
.demo-store.boutique-store .demo-product-grid .demo-product-info {
  max-width: 650px;
}
.demo-store.boutique-store .demo-product-grid .demo-product-info > a {
  font: 400 clamp(19px, 1.9vw, 29px)/1.15 Georgia, serif;
  letter-spacing: -.03em;
}
.demo-store.boutique-store .demo-product-grid .quick-add {
  width: auto;
  padding-inline: 25px;
  justify-self: start;
  background: transparent;
  color: #231f1c;
  border: 1px solid #231f1c;
}
.demo-store.boutique-store .demo-product-grid .quick-add:hover {
  background: #231f1c;
  color: #f6f3ed;
}
.demo-store.boutique-store .boutique-editorial {
  grid-template-columns: 1fr 1fr;
  background: #241e1b;
}
.demo-store.boutique-store.product-view .store-product-detail {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: clamp(36px, 5vw, 90px);
}
.demo-store.boutique-store.product-view .store-product-main > .product-visual { aspect-ratio: 4 / 5; }
.demo-store.boutique-store.product-view .store-product-buybox {
  padding: clamp(24px, 3vw, 48px);
  background: #ede5db;
}
.demo-store.boutique-store.product-view .store-product-buybox h1 {
  font-family: Georgia, serif;
  font-weight: 400;
}
.demo-store.boutique-store .demo-info-page { background: #f6f3ed; }
.demo-store.boutique-store .demo-catalog-page .demo-page-heading {
  max-width: none;
  padding: 0 0 36px;
  border-bottom: 1px solid #c9c0b6;
}
.demo-store.boutique-store .demo-catalog-page .demo-page-heading h1 {
  max-width: 1100px;
  font: 400 clamp(69px, 9vw, 128px)/.9 Georgia, serif;
  letter-spacing: -.075em;
}
.demo-store.boutique-store .demo-catalog-page .demo-page-heading p { max-width: 450px; }
.demo-store.boutique-store .demo-page-filters a {
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.demo-store.boutique-store .demo-page-filters a[aria-current=page] {
  border-bottom-color: #231f1c;
  background: transparent;
  color: #231f1c;
}

/* MODERN BUTIK / Refined apparel: quiet ivory split layout and catalogue. */
.demo-store.modern-store {
  --bg: #fff;
  --surface: #fff;
  --ink: #1f211f;
  --muted: #62635f;
  --line: #d7d6d2;
  background: #fff;
}
.demo-store.modern-store .store-header {
  border-color: #e7e5e0;
  background: #fff;
}
.demo-store.modern-store .klea-hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  min-height: 690px;
  background: #f2f0eb;
}
.demo-store.modern-store .klea-hero > img {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 690px;
  object-fit: cover;
  object-position: 64% center;
}
.demo-store.modern-store .klea-hero-shade { display: none; }
.demo-store.modern-store .klea-hero-copy {
  position: relative;
  inset: auto;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: auto;
  max-width: none;
  padding: 80px clamp(30px, 6vw, 100px);
  transform: none;
  color: #1e201e;
}
.demo-store.modern-store .klea-hero-copy > small {
  color: #4f554f;
  font-size: 11px;
  letter-spacing: .15em;
}
.demo-store.modern-store .klea-hero-copy h1 {
  max-width: 600px;
  font: 400 clamp(49px, 5vw, 78px)/1.06 'Manrope', Arial, sans-serif;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.demo-store.modern-store .klea-hero-copy p {
  max-width: 455px;
  color: #565b54;
  font-size: 14px;
  line-height: 1.75;
}
.demo-store.modern-store .klea-hero-copy > div { margin-top: 38px; gap: 25px; }
.demo-store.modern-store .klea-hero-copy a.klea-primary,
.demo-store.modern-store .klea-hero-copy a.klea-primary:hover,
.demo-store.modern-store .klea-hero-copy a.klea-primary:focus-visible {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  background: #1f211f;
  color: #fff;
}
.demo-store.modern-store .klea-hero-copy a.klea-secondary {
  border-bottom-color: #1f211f;
  color: #1f211f;
}
.demo-store.modern-store .klea-category-strip {
  padding: clamp(68px, 8vw, 105px) clamp(22px, 5vw, 82px) clamp(55px, 7vw, 90px);
  gap: clamp(10px, 1.5vw, 24px);
  background: #fff;
}
.demo-store.modern-store .klea-category-strip a {
  min-height: clamp(280px, 29vw, 420px);
  padding: 20px;
  background-position: center 18%;
  transition: filter .2s ease;
}
.demo-store.modern-store .klea-category-strip a:hover { transform: none; filter: contrast(1.04); }
.demo-store.modern-store .klea-category-strip a::before {
  background: linear-gradient(180deg, rgba(12, 12, 12, .32), transparent 34%, rgba(12, 12, 12, .62));
}
.demo-store.modern-store .klea-category-strip b {
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 400;
  letter-spacing: -.03em;
}
.demo-store.modern-store .demo-collection {
  padding-top: clamp(60px, 8vw, 115px);
  background: #fff;
}
.demo-store.modern-store .demo-collection > header { max-width: 1220px; }
.demo-store.modern-store .demo-collection h2 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.05;
}
.demo-store.modern-store .demo-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px clamp(10px, 1.5vw, 23px);
}
.demo-store.modern-store .demo-product-grid .product-visual { aspect-ratio: 3 / 4; }
.demo-store.modern-store .demo-product-grid .demo-product-info > a {
  font: 500 14px/1.3 'Manrope', Arial, sans-serif;
}
.demo-store.modern-store .demo-product-grid .quick-add {
  width: 100%;
  background: #fff;
  color: #1f211f;
  border: 1px solid #1f211f;
}
.demo-store.modern-store .demo-product-grid .quick-add:hover {
  background: #1f211f;
  color: #fff;
}
.demo-store.modern-store .klea-editorial {
  grid-template-columns: .9fr 1.1fr;
  background: #eae8e2;
}
.demo-store.modern-store .klea-editorial > img { grid-column: 2; grid-row: 1; }
.demo-store.modern-store .klea-editorial > div { grid-column: 1; grid-row: 1; }
.demo-store.modern-store.product-view .store-product-detail {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: clamp(45px, 6vw, 100px);
}
.demo-store.modern-store.product-view .store-product-buybox h1 {
  font-size: clamp(43px, 4.5vw, 64px);
  line-height: 1.1;
}
.demo-store.modern-store .demo-catalog-page .demo-page-heading {
  max-width: 750px;
  margin-bottom: 58px;
}
.demo-store.modern-store .demo-catalog-page .demo-page-heading h1 {
  font: 400 clamp(47px, 6vw, 75px)/1.06 'Manrope', Arial, sans-serif;
  letter-spacing: -.065em;
}
.demo-store.modern-store .demo-page-filters a {
  min-height: 44px;
  border-radius: 0;
  font-weight: 500;
}

@media (max-width: 980px) {
  .demo-store.boutique-store .boutique-hero-copy { width: min(690px, 82%); }
  .demo-store.boutique-store.product-view .store-product-detail,
  .demo-store.modern-store.product-view .store-product-detail { grid-template-columns: 1fr; }
  .demo-store.boutique-store .boutique-editorial { grid-template-columns: 1fr; }
  .demo-store.modern-store .klea-hero { min-height: 620px; }
  .demo-store.modern-store .klea-hero > img { min-height: 620px; }
  .demo-store.modern-store .klea-hero-copy { padding: 50px clamp(22px, 4vw, 54px); }
  .demo-store.modern-store .klea-category-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-store.modern-store .demo-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .demo-store.boutique-store .store-brand { font-size: 16px; letter-spacing: .17em; }
  .demo-store.boutique-store .boutique-hero { min-height: 660px; }
  .demo-store.boutique-store .boutique-hero-visual { background-position: 59% center; }
  .demo-store.boutique-store .boutique-hero-visual::before {
    background: linear-gradient(0deg, rgba(13, 10, 9, .86), rgba(13, 10, 9, .3) 60%, transparent);
  }
  .demo-store.boutique-store .boutique-hero-copy {
    width: 100%;
    min-height: 660px;
    padding: 90px 22px 50px;
  }
  .demo-store.boutique-store .boutique-hero-copy h1 {
    margin: 18px 0 15px;
    font-size: clamp(55px, 14vw, 80px);
    line-height: .87;
  }
  .demo-store.boutique-store .boutique-hero-copy p { max-width: 340px; font-size: 13px; }
  .demo-store.boutique-store .boutique-hero-visual > small { display: none; }
  .demo-store.boutique-store .boutique-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 8px;
    padding: 8px;
  }
  .demo-store.boutique-store .boutique-categories > a:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 380px;
  }
  .demo-store.boutique-store .boutique-categories > a:last-child { grid-column: auto; }
  .demo-store.boutique-store .boutique-categories > a:not(:first-child) { min-height: 250px; }
  .demo-store.boutique-store .boutique-categories > a { padding: 15px; }
  .demo-store.boutique-store .boutique-categories > a b {
    bottom: 15px;
    left: 15px;
    font-size: clamp(24px, 7vw, 32px);
  }
  .demo-store.boutique-store .demo-collection { padding-top: 75px; }
  .demo-store.boutique-store .demo-collection h2 { font-size: clamp(49px, 12vw, 75px); }
  .demo-store.boutique-store .demo-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 10px;
  }
  .demo-store.boutique-store .demo-product-grid .demo-product-card:nth-child(even) { margin-top: 0; }
  .demo-store.boutique-store .demo-product-grid .demo-product-info > a { font-size: 17px; }
  .demo-store.boutique-store .demo-product-grid .quick-add { width: 100%; padding-inline: 6px; }
  .demo-store.boutique-store.product-view .store-product-buybox { padding: 22px; }
  .demo-store.boutique-store .demo-catalog-page .demo-page-heading h1 { font-size: 57px; }

  .demo-store.modern-store .klea-hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .demo-store.modern-store .klea-hero-copy {
    grid-column: 1;
    grid-row: 1;
    padding: 53px 22px 48px;
  }
  .demo-store.modern-store .klea-hero-copy h1 { font-size: clamp(45px, 10.4vw, 67px); }
  .demo-store.modern-store .klea-hero-copy p { font-size: 13px; }
  .demo-store.modern-store .klea-hero-copy > div { margin-top: 27px; flex-wrap: wrap; gap: 10px 20px; }
  .demo-store.modern-store .klea-hero > img {
    grid-column: 1;
    grid-row: 2;
    height: 420px;
    min-height: 0;
    object-position: 58% 30%;
  }
  .demo-store.modern-store .klea-category-strip { padding: 48px 14px 40px; gap: 8px; }
  .demo-store.modern-store .klea-category-strip a { min-height: 230px; padding: 13px; }
  .demo-store.modern-store .demo-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 10px;
  }
  .demo-store.modern-store .klea-editorial { grid-template-columns: 1fr; }
  .demo-store.modern-store .klea-editorial > img,
  .demo-store.modern-store .klea-editorial > div { grid-column: 1; }
  .demo-store.modern-store .klea-editorial > img { grid-row: 1; min-height: 450px; }
  .demo-store.modern-store .klea-editorial > div { grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-store.boutique-store .boutique-categories > a,
  .demo-store.modern-store .klea-category-strip a { transition: none; }
}
