/* ================================================================
   anframe — Dress Lineup
   Scoped under .anframe-editorial. Uses tokens from anframe-page.css.
   ================================================================ */

/* ----------- Intro section ----------- */
.anframe-editorial .dl-intro {
  padding: 100px var(--pad-x-sm) 40px;
  text-align: center;
}
.anframe-editorial .dl-intro .section-head { margin: 0 auto; max-width: 720px; }

/* ----------- Section base ----------- */
.anframe-editorial .dl-section {
  padding: 90px var(--pad-x-sm);
  background: var(--c-off-white);
}
.anframe-editorial .dl-section--ivory { background: var(--c-ivory); }
.anframe-editorial .dl-section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.anframe-editorial .dl-section__eyebrow {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--c-champagne);
  margin: 0 0 8px;
  letter-spacing: .08em;
}
.anframe-editorial .dl-section__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 48px);
  color: var(--c-black);
  margin: 0 0 18px;
  letter-spacing: .03em;
  line-height: 1.2;
}
.anframe-editorial .dl-section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--c-champagne);
  margin: 18px auto 0;
}
.anframe-editorial .dl-section__lead {
  font-size: 15px;
  color: var(--c-mid);
  line-height: 2.05;
  margin: 0 0 18px;
}
.anframe-editorial .dl-section__lead strong {
  color: var(--c-black);
  font-weight: 500;
  border-bottom: 1px solid var(--c-champagne);
  padding-bottom: 1px;
}
.anframe-editorial .dl-section__lead--small {
  font-size: 13px;
  line-height: 1.9;
}
.anframe-editorial .dl-section__meta {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--c-champagne);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-black);
  margin: 0;
}

/* ----------- Luxury tier sub-section ----------- */
.anframe-editorial .dl-tier {
  max-width: var(--max-content);
  margin: 0 auto 80px;
}
.anframe-editorial .dl-tier:last-child { margin-bottom: 0; }
.anframe-editorial .dl-tier__head {
  display: flex; align-items: baseline; justify-content: center;
  gap: 24px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
  text-align: center;
}
.anframe-editorial .dl-tier__label {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--c-black);
  letter-spacing: .06em;
  margin: 0;
  position: relative;
  padding-bottom: 6px;
}
.anframe-editorial .dl-tier__label::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--c-champagne);
}
.anframe-editorial .dl-tier__price {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px;
  background: var(--c-white);
  border: 1px solid var(--c-champagne);
  color: var(--c-black);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .04em;
  border-radius: 999px;
}
.anframe-editorial .dl-tier__price span { color: var(--c-champagne); font-size: 12px; }

/* ----------- Card grid ----------- */
.anframe-editorial .dl-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 720px)  { .anframe-editorial .dl-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1024px) { .anframe-editorial .dl-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

.anframe-editorial .dl-card {
  background: var(--c-white);
  border: 1px solid var(--c-hairline);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
  display: flex; flex-direction: column;
  text-align: left;
  padding: 0;
  color: inherit;
  font: inherit;
  border-radius: 0;
}
.anframe-editorial .dl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px rgba(40, 30, 20, .25);
}
.anframe-editorial .dl-card__thumb {
  aspect-ratio: 3 / 4;
  background: var(--c-ivory);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.anframe-editorial .dl-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .35s var(--ease), transform .8s var(--ease);
}
.anframe-editorial .dl-card:hover .dl-card__thumb img { transform: scale(1.04); }
.anframe-editorial .dl-card__thumb.is-swapping img { opacity: 0; }

/* Thumbnail strip — fixed thumb size so the strip has consistent height
   regardless of image count. */
.anframe-editorial .dl-card__thumbs {
  --thumb-size: 44px;
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  background: var(--c-white);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.anframe-editorial .dl-card__thumbs::-webkit-scrollbar { display: none; }
.anframe-editorial .dl-card__thumbs button {
  flex: 0 0 var(--thumb-size);
  width: var(--thumb-size);
  height: var(--thumb-size);
  background: var(--c-ivory) center/cover no-repeat;
  border: 1px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color .2s var(--ease), transform .2s var(--ease), opacity .2s var(--ease);
  opacity: .65;
}
.anframe-editorial .dl-card__thumbs button:hover { opacity: 1; transform: translateY(-1px); }
.anframe-editorial .dl-card__thumbs button.is-active {
  border-color: var(--c-champagne);
  opacity: 1;
}
.anframe-editorial .dl-card__thumbs--placeholder { visibility: hidden; }
@media (min-width: 720px)  { .anframe-editorial .dl-card__thumbs { --thumb-size: 46px; } }
@media (min-width: 1024px) { .anframe-editorial .dl-card__thumbs { --thumb-size: 50px; } }

.anframe-editorial .dl-card__body {
  padding: 12px 14px 14px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.anframe-editorial .dl-card__name {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .06em;
  color: var(--c-black);
  margin: 0;
  text-transform: uppercase;
}
.anframe-editorial .dl-card__badge {
  font-size: 11px;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.anframe-editorial .dl-card__badge--included {
  background: var(--c-ivory);
  color: var(--c-mid);
  border: 1px solid var(--c-hairline);
}
.anframe-editorial .dl-card__badge--plus {
  background: var(--c-white);
  color: var(--c-black);
  border: 1px solid var(--c-champagne);
  font-weight: 500;
}

.anframe-editorial .dl-card--standard .dl-card__body { justify-content: flex-end; }
.anframe-editorial .dl-card--standard .dl-card__name { display: none; }

/* ----------- Bouquet ----------- */
.anframe-editorial .dl-bouquet-flags {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.anframe-editorial .dl-flag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  letter-spacing: .06em;
  border-radius: 999px;
}
.anframe-editorial .dl-flag--included {
  background: var(--c-ivory);
  border: 1px solid var(--c-hairline);
  color: var(--c-mid);
}
.anframe-editorial .dl-flag--plus {
  background: var(--c-white);
  border: 1px solid var(--c-champagne);
  color: var(--c-black);
  font-weight: 500;
}
.anframe-editorial .dl-grid--bouquet { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px)  { .anframe-editorial .dl-grid--bouquet { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .anframe-editorial .dl-grid--bouquet { grid-template-columns: repeat(5, 1fr); } }
.anframe-editorial .dl-grid--bouquet .dl-card__body { display: none; }
.anframe-editorial .dl-grid--bouquet .dl-card__thumb { aspect-ratio: 1 / 1; }

/* ----------- Pricing block ----------- */
.anframe-editorial .dl-pricing__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.anframe-editorial .dl-pricing__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 36px);
  color: var(--c-black);
  margin: 0 0 28px;
}
.anframe-editorial .dl-pricing__list {
  text-align: left;
  background: var(--c-white);
  border: 1px solid var(--c-hairline);
  padding: 28px 32px;
  list-style: none;
  font-size: 15px;
  display: grid;
  gap: 12px;
  margin: 0;
}
.anframe-editorial .dl-pricing__list li { padding-left: 18px; position: relative; }
.anframe-editorial .dl-pricing__list li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px;
  background: var(--c-champagne);
  border-radius: 50%;
}
.anframe-editorial .dl-pricing__list em {
  font-style: normal; color: var(--c-black); font-weight: 500;
}
.anframe-editorial .dl-pricing__small {
  margin: 24px 0 0;
  font-size: 12px;
  color: var(--c-mid);
  line-height: 1.9;
}

/* ----------- Notes ----------- */
.anframe-editorial .dl-notes__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.anframe-editorial .dl-notes__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--c-black);
  margin: 0 0 24px;
}
.anframe-editorial .dl-notes__list {
  text-align: left;
  font-size: 14px;
  color: var(--c-mid);
  background: var(--c-white);
  border-left: 2px solid var(--c-champagne);
  padding: 20px 24px;
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
}
.anframe-editorial .dl-notes__list li::before { content: "※ "; color: var(--c-champagne); }

/* ----------- Lightbox ----------- */
.anframe-editorial .dl-lightbox,
body .dl-lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 16, 12, .9);
  display: none;
  align-items: center; justify-content: center;
  z-index: 10000;
  padding: 24px;
}
body .dl-lightbox.is-open { display: flex; }
body .dl-lightbox__img {
  max-width: min(92vw, 1200px);
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
body .dl-lightbox__caption {
  position: absolute; bottom: 24px; left: 0; right: 0;
  text-align: center;
  color: var(--c-off-white);
  font-family: var(--f-serif);
  letter-spacing: .12em;
  font-size: 16px;
  margin: 0;
  text-transform: uppercase;
}
body .dl-lightbox__close,
body .dl-lightbox__nav {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--c-off-white);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: background .3s var(--ease);
  cursor: pointer;
}
body .dl-lightbox__close:hover,
body .dl-lightbox__nav:hover { background: rgba(255,255,255,.18); }
body .dl-lightbox__close { top: 24px; right: 24px; }
body .dl-lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
body .dl-lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  body .dl-lightbox__nav { width: 36px; height: 36px; }
  body .dl-lightbox__nav--prev { left: 12px; }
  body .dl-lightbox__nav--next { right: 12px; }
  body .dl-lightbox__close { top: 14px; right: 14px; }
}
