@font-face {
  font-family: Unifraktur;
  src: url('/assets/fonts/UnifrakturCook-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
.midnight-page, .midnight-collection {
  --midnight-font: Unifraktur, 'Palatino Linotype', Georgia, serif;
  --midnight-paper: #f1eadf;
  --midnight-ink: #221d1e;
  --midnight-rose: url('/assets/gothic-boutique-20261118/midnight-rose-vine.webp');
}
.midnight-page,
.midnight-page :is(h1,h2,h3,h4,p,span,small,a,button,summary,label,li) {
  font-family: var(--midnight-font);
}
.midnight-page .brand {
  font-family: var(--midnight-font);
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  line-height: 1;
}
.midnight-page .brand span { font-size: .85rem; letter-spacing: .05em; }
.midnight-page :is(.site-header,.site-footer) a:not(.brand) { font-size: 1.05rem; }
.midnight-collection, .midnight-product {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--midnight-ink);
  background: radial-gradient(ellipse at 50% 9%, #fffbf3 0, transparent 54%),
    repeating-linear-gradient(104deg, #71575107 0 1px, transparent 1px 8px), var(--midnight-paper);
  font-family: var(--midnight-font);
}
.midnight-vine {
  position: absolute; z-index: -1; pointer-events: none;
  inset-block: 0; width: clamp(2.5rem, 9vw, 9rem); overflow: hidden;
}
.midnight-vine::before {
  content: ''; position: absolute; inset-block: 0; left: 50%;
  width: 100%; transform: translateX(-50%);
  background-image: url('/assets/gothic-boutique-20261118/midnight-rose-border.webp');
  background-size: 100% auto; background-repeat: repeat-y;
}
.midnight-vine-left { left: 0; }
.midnight-vine-right { right: 0; transform: scaleX(-1); }
.midnight-vine-right::before { background-position: center 8rem; }
.midnight-intro { padding: clamp(2.3rem, 5.5vw, 4.75rem) clamp(1.65rem, 7vw, 6rem) 2rem; text-align: center; }
.midnight-intro h1 {
  margin: 0; color: #241d20; font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 700;
  line-height: .92; letter-spacing: -.035em; text-shadow: 1px 2px #fffdf5, 2px 3px #7e6a6c70;
}
.midnight-intro h1 span { display: block; margin-top: .25em; font-size: .5em; letter-spacing: .04em; }
.midnight-intro > p { margin: 1.15rem 0; color: #483c3f; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.midnight-branches {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(14rem,24rem) minmax(0,1fr);
  max-width: 70rem; align-items: center; gap: .75rem; margin: 1.65rem auto 0;
}
.midnight-branches ul { display: grid; align-content: space-evenly; min-height: 80%; gap: .8rem; padding: 0; margin: 0; list-style: none; }
.midnight-branches li { display: flex; align-items: center; min-height: 3rem; }
.midnight-branches li::after {
  content: ''; display: block; flex: 1; min-width: .9rem; height: 4rem;
  background: var(--midnight-rose) center / 100% auto no-repeat;
}
.midnight-right li { flex-direction: row-reverse; }
.midnight-right li::after { transform: scaleX(-1); }
.midnight-branches .midnight-action {
  flex: 0 1 auto; place-content: center; min-height: 3rem; padding: .6rem .8rem;
  text-align: center; color: #fffdf8; font-size: clamp(1.02rem, 2vw, 1.42rem); line-height: 1.1; text-decoration: none;
  background: linear-gradient(145deg,#2a2728,#080708 70%); border: 1px solid #716b6d;
  box-shadow: inset 0 0 0 2px #101011, inset 0 0 0 3px #b1a8a850, 0 .3rem .65rem #332b2b25;
  border-radius: .25rem;
}
.midnight-action span { padding-left: .25em; }
.midnight-branches .midnight-action:is(:hover,:focus-visible) { background: #383234; color: #fff; outline: 2px solid #262124; outline-offset: 3px; }
.midnight-portrait, .midnight-catalog .card-art, .midnight-story {
  border-radius: 50% 50% .25rem .25rem / 39% 39% .25rem .25rem;
  overflow: hidden;
}
.midnight-portrait {
  display: block; width: 100%; max-width: 24rem; margin-inline: auto; box-sizing: border-box;
  padding: .4rem; border: 1px solid #6e6463; background: #fff9ee;
  box-shadow: 0 1rem 2rem #51404532; aspect-ratio: 4 / 5;
}
.midnight-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; border-radius: inherit; }
.midnight-intro .midnight-shipping { margin: 1.4rem auto .2rem; font-weight: 700; }
.midnight-catalog {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,3vw,2.25rem);
  margin-inline: auto; padding: .5rem clamp(2.4rem,8vw,7.25rem) 4rem; max-width: 88rem; box-sizing: border-box;
}
.midnight-group { min-width: 0; scroll-margin-top: 6rem; }
.midnight-group h2 { color: #251e21; font-size: clamp(1.5rem,3vw,2.3rem); margin: 0 0 .65rem; text-align: center; }
.midnight-group .product-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1rem; }
.midnight-group .product-card { background: #fcf6ea; border: 1px solid #9d8d86; padding: .35rem; }
.midnight-group :is(.product-link,.card-caption,.card-caption h3,.kicker,.muted,.card-meta,.small) { color: #302529; }
.midnight-group .card-art { aspect-ratio: 4 / 5; background: #e6dacc; border: 1px solid #897774; }
.midnight-group .card-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.midnight-story {
  position: relative; min-width: 0; display: grid; align-content: center; justify-items: center; text-align: center;
  min-height: 21rem; padding: 4.5rem 1.15rem 1.4rem; box-sizing: border-box;
  border: 1px solid #897774; background: radial-gradient(ellipse at top,#fffbf2,#eae0d2);
  box-shadow: inset 0 0 0 4px #fff8e9, inset 0 0 0 5px #b09e96;
  scroll-margin-top: 6rem;
}
.midnight-story::before { content: ''; width: min(100%,10rem); height: 2rem; background: var(--midnight-rose) center / contain no-repeat; }
.midnight-story h2 { margin: .3rem 0; font-size: clamp(2.6rem,5vw,4.6rem); line-height: 1; }
.midnight-story h3 { margin: .45rem 0; font-size: clamp(1.25rem,2vw,1.6rem); }
.midnight-story p { margin: .45rem auto 0; max-width: 24ch; font-size: clamp(1.1rem,1.65vw,1.27rem); line-height: 1.35; }
@media (max-width: 46rem) {
  .midnight-branches { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .6rem; }
  .midnight-portrait { grid-column: 1 / -1; grid-row: 1; width: min(88%,20rem); order: -1; }
  .midnight-branches ul { gap: .52rem; min-height: auto; }
  .midnight-branches li::after { height: 2.5rem; }
  .midnight-branches .midnight-action { padding-inline: .46rem; }
  .midnight-catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .midnight-vine { opacity: .76; }
}
@media (max-width: 32rem) {
  .midnight-catalog { grid-template-columns: minmax(0,1fr); padding-inline: 2rem; }
  .midnight-story { min-height: 18rem; }
}
:is(.midnight-collection,.midnight-product)::before, :is(.midnight-collection,.midnight-product)::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none; inset-inline: 0;
  height: clamp(1.65rem, 5vw, 4rem); background: var(--midnight-rose) center / min(40vw,24rem) auto repeat-x;
}
:is(.midnight-collection,.midnight-product)::before { top: 0; }
:is(.midnight-collection,.midnight-product)::after { bottom: 0; transform: rotate(180deg); }
.midnight-group .product-card { border-radius: 50% 50% .25rem .25rem / 27% 27% .25rem .25rem; overflow: hidden; }
.midnight-action small { display: block; margin-top: .15em; color: #e3dddb; font-size: .8em; }
.midnight-story :is(h2,h3), .midnight-group .product-card .product-price { color: var(--midnight-ink); }

.midnight-product :is(.world-stage,.product-layout) { background: transparent; color: var(--midnight-ink); }
.midnight-product > :is(.product-breadcrumb,.product-return) {
  max-width: 84rem; margin-inline: auto; padding-inline: clamp(2.1rem, 9vw, 8rem);
  color: #493b40;
}
.midnight-product > .product-breadcrumb { padding-top: clamp(3rem,7vw,5.1rem); padding-bottom: .75rem; }
.midnight-product > .product-return { padding-block: 1.1rem 3.5rem; }
.midnight-product :is(.product-breadcrumb a,.product-return a,.product-information a) { color: #4c3442; }
.midnight-product .standalone-product .product-layout {
  width: 100%; max-width: 84rem; margin-inline: auto;
  padding: .65rem clamp(2.1rem,9vw,8rem) 1rem;
  grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start;
  gap: clamp(1.1rem,3vw,2.7rem);
}
.midnight-product .world-stage { padding-bottom: 0; }
.midnight-product .gallery-panel {
  border: 0; background: transparent; box-shadow: none; padding: 0;
}
.midnight-product .main-view {
  display: block; padding: .4rem .4rem 2.65rem;
  background: #faf3e7; border: 1px solid #81716e;
  border-radius: 50% 50% .25rem .25rem / 40% 40% .25rem .25rem;
  overflow: hidden; box-shadow: 0 .8rem 1.45rem #49343826;
}
.midnight-product .standalone-product .main-view img {
  width: 100%; height: auto; max-height: none; min-height: 0;
  aspect-ratio: 1; object-fit: contain;
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
}
.midnight-product :is(.gallery-count,.enlarge-label) { color: #3a3036; font-size: .9rem; }
.midnight-product .main-view:hover .enlarge-label { color: #201a1d; }
.midnight-product .gallery-thumb {
  background: #faf3e7; border: 1px solid #a69790;
  border-radius: 50% 50% .2rem .2rem / 37% 37% .2rem .2rem; overflow: hidden;
}
.midnight-product .gallery-thumb[aria-current="true"] { border-color: #43323b; box-shadow: 0 0 0 1px #43323b; }
.midnight-product .product-information {
  background: #fbf4e8; color: var(--midnight-ink);
  padding: clamp(1rem,3vw,2.1rem); border: 1px solid #9b8984;
  box-shadow: inset 0 0 0 4px #fff9ee, inset 0 0 0 5px #b8a59b, 0 .65rem 1.4rem #49343816;
}
.midnight-product .product-information > .kicker {
  display: flex; align-items: center; gap: .5rem; font-size: .93rem;
  letter-spacing: .055em; color: #48313c; margin-bottom: .75rem;
}
.midnight-product .product-information > .kicker::after {
  content: ''; width: 6.5rem; height: 1.55rem;
  background: var(--midnight-rose) center / contain no-repeat;
}
.midnight-product .standalone-product .product-information h1 {
  font: 700 clamp(1.9rem,3.25vw,3.1rem)/1.13 var(--midnight-font);
  color: var(--midnight-ink); margin: 0 0 .8rem;
}
.midnight-product .product-information :is(.product-price,.product-facts h3,.info-fold summary) { color: var(--midnight-ink); }
.midnight-product .product-information .product-facts h3 { font-family: var(--midnight-font); }
.midnight-product .product-information :is(.product-copy,.product-copy *, .product-facts p,.product-facts li,.info-fold p,.size-guide-scroll,.size-guide-scroll *,[data-selection-note],.form-status,select,input) {
  font-family: system-ui, Arial, sans-serif;
  color: #352c30;
}
.midnight-product .product-information :is(.product-copy,.product-facts p,.product-facts li,.info-fold p) { font-size: .96rem; line-height: 1.62; }
.midnight-product .product-information .purchase-form { border-color: #ad9b91; }
.midnight-product .product-information .option-label { color: #362b30; }
.midnight-product .product-information :is(select,input) { background: #fffaf1; border-color: #a59489; }
.midnight-product .purchase-form button.primary {
  color: #fffdf8; font: 700 1.14rem/1.2 var(--midnight-font);
  background: linear-gradient(145deg,#2a2728,#080708 70%); border: 1px solid #716b6d;
  border-radius: .25rem; box-shadow: inset 0 0 0 2px #101011, inset 0 0 0 3px #b1a8a850, 0 .3rem .65rem #332b2b25;
  min-height: 44px;
}
.midnight-product .purchase-form button.primary:not(:disabled):hover { background: #383234; }
.midnight-product :is(a,button,select,input,summary):focus-visible { outline-color: #533342; outline-offset: 3px; }
.midnight-product .info-fold { border-color: #b9a89d; }
@media (max-width: 52rem) {
  .midnight-product .standalone-product .product-layout { grid-template-columns: minmax(0,1fr); max-width: 39rem; padding-inline: clamp(1.65rem,7vw,3rem); }
  .midnight-product > :is(.product-breadcrumb,.product-return) { max-width: 39rem; padding-inline: clamp(1.65rem,7vw,3rem); }
}

.midnight-looks { width: min(100%,64rem); margin: 1.8rem auto 3rem; }
.midnight-looks h2 { text-align:center; color:#251e21; font-size:clamp(1.7rem,4vw,2.8rem); margin:0 0 1rem; }
.midnight-looks-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:1rem; }
.midnight-look { position:relative; overflow:hidden; isolation:isolate; min-height:26rem; border-radius:.65rem; background:#302629; }
.midnight-look img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 38%; z-index:-1; }
.midnight-look div { position:absolute; bottom:0; left:0; right:0; padding:2.65rem 1.25rem 1.25rem; background:linear-gradient(transparent,#1d1519 70%); color:#fff7eb; }
.midnight-look h3 { margin:0 0 .45rem; color:inherit; font-size:clamp(1.45rem,3vw,2.2rem); }
.midnight-look ul { display:flex; flex-wrap:wrap; gap:.45rem; list-style:none; padding:0; margin:0; }
.midnight-look a { display:inline-flex; min-height:2.65rem; align-items:center; padding:.35rem .65rem; text-decoration:underline; background:#21191d; color:#fff7eb; border:1px solid #9b7d75; border-radius:.3rem; }
.midnight-look a:focus-visible { outline:2px solid #fff7eb; outline-offset:2px; }
@media(min-width:700px) { .midnight-looks-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
