/* AI Dress Try-On Gallery v1.2.5 — editorial fashion commerce system */
.adtg-gallery-shell,
.adtg-single {
  --adtg-ink: #151515;
  --adtg-muted: #625f58;
  --adtg-line: #d8d1c5;
  --adtg-paper: #f4f0e7;
  --adtg-white: #fffdf8;
  --adtg-lime: #d8ff42;
  --adtg-coral: #ff5b43;
  --adtg-green: #236a51;
  width: 100%;
  max-width: 1320px;
  margin: 34px auto;
  color: var(--adtg-ink);
  font-family: inherit;
  line-height: 1.55;
  isolation: isolate;
}
.adtg-gallery-shell *, .adtg-single * { box-sizing: border-box; }
.adtg-gallery-shell img, .adtg-single img { max-width: 100%; }
.adtg-eyebrow { display: inline-block; color: var(--adtg-green); font-size: 10px; font-weight: 900; letter-spacing: .19em; line-height: 1.35; text-transform: uppercase; }

/* Gallery hero — bold editorial cover */
.adtg-gallery-hero { position: relative; display: flex; align-items: stretch; justify-content: space-between; gap: clamp(20px, 4vw, 58px); padding: clamp(28px, 5.4vw, 72px); overflow: hidden; border: 1px solid var(--adtg-ink); border-radius: 2px; color: var(--adtg-ink); background: var(--adtg-lime); box-shadow: 10px 10px 0 var(--adtg-ink); }
.adtg-gallery-hero:before { position: absolute; content: ""; width: clamp(260px, 38vw, 490px); aspect-ratio: 1; right: 10%; top: -72%; border: 1px solid rgba(21,21,21,.22); border-radius: 50%; pointer-events: none; }
.adtg-gallery-hero:after { position: absolute; content: ""; width: clamp(190px, 25vw, 320px); aspect-ratio: 1; right: -4%; bottom: -78%; border: 1px solid rgba(21,21,21,.3); border-radius: 50%; pointer-events: none; }
.adtg-gallery-hero-copy { position: relative; z-index: 1; max-width: 790px; }
.adtg-gallery-hero .adtg-eyebrow { color: var(--adtg-ink); }
.adtg-gallery-hero h2 { max-width: 850px; margin: 12px 0 17px; color: var(--adtg-ink); font-size: clamp(38px, 6.2vw, 76px); font-weight: 950; line-height: .94; letter-spacing: -.075em; text-wrap: balance; }
.adtg-gallery-hero p { max-width: 590px; margin: 0; color: #34392a; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.6; }
.adtg-gallery-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.adtg-gallery-steps span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px 7px 7px; border: 1px solid rgba(21,21,21,.5); border-radius: 2px; color: var(--adtg-ink); background: rgba(255,255,255,.18); font-size: 11px; font-weight: 800; }
.adtg-gallery-steps b { display: inline-grid; width: 24px; height: 24px; place-items: center; color: var(--adtg-lime); background: var(--adtg-ink); font-size: 11px; }
.adtg-gallery-hero-mark { position: relative; z-index: 1; flex: 0 0 185px; align-self: center; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 210px; padding: 23px; border: 1px solid var(--adtg-ink); color: var(--adtg-white); background: var(--adtg-ink); transform: rotate(3deg); box-shadow: 7px 7px 0 rgba(21,21,21,.18); }
.adtg-gallery-hero-mark span { color: var(--adtg-lime); font-size: 10px; letter-spacing: .2em; font-weight: 900; }
.adtg-gallery-hero-mark strong { margin-top: 9px; font-size: clamp(23px, 2.8vw, 34px); letter-spacing: -.07em; line-height: .9; }
.adtg-gallery-hero-mark i { margin-top: 17px; color: var(--adtg-coral); font-size: 34px; font-style: normal; line-height: 1; }
.adtg-gallery-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 46px 2px 18px; padding-bottom: 12px; border-bottom: 2px solid var(--adtg-ink); }
.adtg-gallery-toolbar h3 { margin: 6px 0 0; color: var(--adtg-ink); font-size: clamp(24px, 3.5vw, 40px); font-weight: 950; line-height: 1; letter-spacing: -.055em; }
.adtg-gallery-toolbar > p { margin: 0 0 3px; color: var(--adtg-muted); font-size: 12px; }

/* Product grid — editorial cards instead of soft generic tiles */
.adtg-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 2vw, 27px); margin: 0; }
.adtg-gallery.adtg-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adtg-gallery.adtg-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.adtg-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 0; border-bottom: 1px solid var(--adtg-ink); border-radius: 0; background: transparent; box-shadow: none; transition: transform .2s ease; }
.adtg-card:hover { transform: translateY(-3px); box-shadow: none; }
.adtg-card-image-link { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--adtg-line); border-bottom: 0; border-radius: 0; padding: 6px; background: #e8e2d6; text-decoration: none; }
.adtg-card-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none !important; transition: none; }
.adtg-card-image-link:hover .adtg-card-image { transform: none !important; }
.adtg-card-image-link .adtg-empty-image { width: 100%; height: 100%; display: grid; place-items: center; padding: 12px; text-align: center; background: transparent; }
.adtg-card-image-badge { position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px); padding: 7px 9px; border: 1px solid var(--adtg-ink); border-radius: 0; color: var(--adtg-ink); background: var(--adtg-white); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.adtg-card-image-open { position: absolute; right: 10px; bottom: 10px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--adtg-ink); border-radius: 0; color: var(--adtg-ink); background: var(--adtg-lime); font-size: 21px; font-weight: 900; transition: background .2s ease, transform .2s ease; }
.adtg-card-image-link:hover .adtg-card-image-open { transform: rotate(45deg); background: var(--adtg-coral); }
.adtg-card-body { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: 16px 3px 17px; }
.adtg-card-kicker { margin: 0 0 7px; color: var(--adtg-green); font-size: 9px; font-weight: 950; letter-spacing: .18em; }
.adtg-card h3 { margin: 0; color: var(--adtg-ink); font-size: clamp(17px, 1.65vw, 22px); font-weight: 900; line-height: 1.12; letter-spacing: -.045em; }
.adtg-card h3 a { color: inherit; text-decoration: none; }
.adtg-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.adtg-card-price { margin: 8px 0 0; color: var(--adtg-ink); font-size: 14px; font-weight: 900; }
.adtg-card-teaser { min-height: 4.4em; margin: 10px 0 16px; color: var(--adtg-muted); font-size: 12px; line-height: 1.55; }
.adtg-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 15px; border: 1px solid var(--adtg-ink); border-radius: 0; font: inherit; font-size: 12px; font-weight: 900; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: color .18s ease, background .18s ease, transform .18s ease; }
.adtg-button:hover { transform: translate(-2px, -2px); }
.adtg-button:focus-visible, .adtg-action-tile:focus-visible, .adtg-card a:focus-visible, .adtg-extra-image:focus-visible { outline: 3px solid var(--adtg-coral); outline-offset: 3px; }
.adtg-view-button { width: 100%; justify-content: space-between; color: var(--adtg-white); background: var(--adtg-ink); box-shadow: 4px 4px 0 var(--adtg-lime); }
.adtg-view-button:hover { color: var(--adtg-ink); background: var(--adtg-lime); }
.adtg-card-buy { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 11px 0 0; border-top: 1px solid var(--adtg-line); color: var(--adtg-ink); font-size: 11px; font-weight: 850; text-decoration: none; }
.adtg-card-buy:hover { color: var(--adtg-green); }
.adtg-gallery-footer { position: relative; margin: 42px 0 0; padding: clamp(27px, 4vw, 48px); overflow: hidden; border: 1px solid var(--adtg-ink); border-radius: 0; text-align: left; background: var(--adtg-paper); }
.adtg-gallery-footer:after { position: absolute; right: 5%; top: 10%; color: rgba(21,21,21,.1); content: "✳"; font-size: clamp(100px, 20vw, 230px); line-height: 1; pointer-events: none; }
.adtg-gallery-footer .adtg-eyebrow, .adtg-gallery-footer h3, .adtg-gallery-footer p { position: relative; z-index: 1; }
.adtg-gallery-footer h3 { max-width: 760px; margin: 8px 0 9px; color: var(--adtg-ink); font-size: clamp(26px, 4.2vw, 46px); font-weight: 950; line-height: .98; letter-spacing: -.06em; }
.adtg-gallery-footer p { max-width: 650px; margin: 0; color: var(--adtg-muted); font-size: 12px; }
.adtg-no-products { padding: 26px; border: 1px solid var(--adtg-ink); border-radius: 0; background: var(--adtg-paper); color: var(--adtg-muted); }

/* Dress detail — campaign cover */
.adtg-product-intro { position: relative; margin-bottom: 30px; padding: clamp(28px, 5vw, 64px); overflow: hidden; border: 1px solid var(--adtg-ink); border-radius: 0; color: var(--adtg-white); background: var(--adtg-ink); }
.adtg-product-intro:after { position: absolute; right: -36px; bottom: -120px; width: clamp(210px, 33vw, 420px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; content: ""; pointer-events: none; }
.adtg-product-intro .adtg-eyebrow { position: relative; z-index: 1; color: var(--adtg-lime); }

.adtg-product-intro-meta { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.adtg-title-tag { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 7px 10px 7px 8px; border: 1px solid rgba(216,255,66,.65); color: var(--adtg-ink); background: var(--adtg-lime); text-transform: uppercase; }
.adtg-title-tag > span { padding-right: 8px; border-right: 1px solid rgba(21,21,21,.35); font-size: 8px; font-weight: 950; letter-spacing: .14em; }
.adtg-title-tag strong { overflow: hidden; max-width: min(360px, 65vw); font-size: 10px; font-weight: 950; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }

.adtg-product-intro h2 { position: relative; z-index: 1; max-width: 930px; margin: 10px 0 13px; color: var(--adtg-white); font-size: clamp(36px, 6vw, 70px); font-weight: 950; line-height: .94; letter-spacing: -.07em; text-wrap: balance; }
.adtg-product-intro > p { position: relative; z-index: 1; max-width: 740px; margin: 0; color: #d6d3cb; font-size: clamp(14px, 1.4vw, 17px); }
.adtg-step-strip { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.adtg-step-strip span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px 7px 7px; border: 1px solid rgba(255,255,255,.26); border-radius: 0; color: #f9f7f1; background: rgba(255,255,255,.04); font-size: 10px; font-weight: 800; }
.adtg-step-strip b { display: inline-grid; width: 24px; height: 24px; place-items: center; color: var(--adtg-ink); background: var(--adtg-lime); font-size: 10px; }

/* Image showcase — controlled asymmetry */
.adtg-look-showcase { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(13px, 2vw, 24px); margin: 24px 0 34px; align-items: start; }
.adtg-look-card { min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.adtg-look-card:nth-child(2) { margin-top: 48px; }
.adtg-look-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding-bottom: 11px; border-bottom: 1px solid var(--adtg-ink); }
.adtg-look-number { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border: 1px solid var(--adtg-ink); border-radius: 0; color: var(--adtg-ink); background: var(--adtg-lime); font-size: 12px; font-weight: 950; }
.adtg-look-label { display: block; color: var(--adtg-green); font-size: 9px; font-weight: 950; letter-spacing: .16em; }
.adtg-look-heading h3 { margin: 3px 0 0; color: var(--adtg-ink); font-size: clamp(17px, 2vw, 23px); font-weight: 900; line-height: 1.08; letter-spacing: -.04em; }
.adtg-look-image-link { display: flex; align-items: center; justify-content: center; height: clamp(300px, 49vw, 660px); overflow: hidden; border: 1px solid var(--adtg-line); border-radius: 0; background: var(--adtg-paper); }

.adtg-purchase-image-link { position: relative; }
.adtg-image-shop-cue { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; padding: 9px 11px; border: 1px solid var(--adtg-ink); color: var(--adtg-ink); background: var(--adtg-lime); font-size: 9px; font-weight: 950; letter-spacing: .1em; line-height: 1.2; box-shadow: 3px 3px 0 rgba(21,21,21,.8); transition: transform .18s ease, background .18s ease; }
.adtg-purchase-image-link:hover .adtg-image-shop-cue { transform: translate(-2px,-2px); background: var(--adtg-coral); }
.adtg-look-image-link:focus-visible, .adtg-related-image-link:focus-visible { outline: 3px solid var(--adtg-coral); outline-offset: 3px; }
.adtg-inline-download { display: inline-flex; align-self: flex-start; margin-top: 10px; font-size: 11px; font-weight: 850; color: var(--adtg-ink); text-decoration: underline; text-underline-offset: 3px; }

.adtg-main-product-image, .adtg-main-tryon-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.adtg-inline-download { display: inline-flex; margin: 10px 2px 0; color: var(--adtg-green); font-size: 11px; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }
.adtg-inline-download:hover { color: var(--adtg-ink); text-decoration: underline; }
.adtg-image-caption { margin: 11px 2px 0; color: var(--adtg-muted); font-size: 11px; }
.adtg-empty-image { display: flex; min-height: 250px; align-items: center; justify-content: center; padding: 20px; border: 1px dashed var(--adtg-line); border-radius: 0; color: var(--adtg-muted); background: var(--adtg-paper); text-align: center; }

/* Action studio — black canvas, four clear actions */
.adtg-tryon-workflow { position: relative; margin: 29px 0 31px; padding: clamp(23px, 4vw, 47px); overflow: hidden; border: 1px solid var(--adtg-ink); border-radius: 0; background: #171717; }
.adtg-tryon-workflow:before { position: absolute; right: -50px; top: -115px; width: 260px; aspect-ratio: 1; border: 1px solid rgba(216,255,66,.22); border-radius: 50%; content: ""; pointer-events: none; }
.adtg-workflow-intro { position: relative; z-index: 1; max-width: 800px; margin-bottom: 24px; }
.adtg-workflow-intro .adtg-eyebrow { color: var(--adtg-lime); }
.adtg-workflow-intro h2 { margin: 8px 0 10px; color: var(--adtg-white); font-size: clamp(29px, 4.5vw, 49px); font-weight: 950; line-height: .98; letter-spacing: -.06em; text-wrap: balance; }
.adtg-workflow-intro p { margin: 0; color: #d0cec7; font-size: 13px; }
.adtg-action-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.adtg-action-tile { display: flex; min-width: 0; align-items: center; gap: 12px; min-height: 82px; padding: 13px 14px; border: 1px solid #4a4a45; border-radius: 0; color: var(--adtg-white); background: #20201e; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease; }
.adtg-action-tile:hover { transform: translateY(-2px); border-color: var(--adtg-lime); color: var(--adtg-white); background: #292b21; box-shadow: none; }
.adtg-action-tile:disabled { opacity: .65; cursor: progress; }
.adtg-action-icon { display: grid; flex: 0 0 43px; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(216,255,66,.5); border-radius: 0; color: var(--adtg-lime); background: transparent; font-size: 22px; font-weight: 850; }
.adtg-action-download .adtg-action-icon { border-color: rgba(255,91,67,.7); color: var(--adtg-coral); }
.adtg-action-copy-tile .adtg-action-icon { color: var(--adtg-lime); }
.adtg-action-chatgpt .adtg-action-icon { color: #c7f2dc; border-color: #6b9a80; }
.adtg-action-gemini .adtg-action-icon { color: #c2d7ff; border-color: #839cc5; }
.adtg-action-copy-tile { width: 100%; font-family: inherit; }
.adtg-action-label strong { display: block; color: var(--adtg-white); font-size: 13px; font-weight: 900; line-height: 1.3; }
.adtg-action-label small { display: block; margin-top: 4px; color: #b9b7ae; font-size: 10px; font-weight: 500; line-height: 1.35; }
.adtg-action-label { flex: 1; min-width: 0; }
.adtg-action-arrow { flex: 0 0 auto; color: var(--adtg-lime); font-size: 17px; }
.adtg-action-disabled { cursor: not-allowed; opacity: .65; }
.adtg-action-status { display: none; position: relative; z-index: 1; margin-top: 13px; padding: 12px 14px; border: 1px solid #8fcda7; border-radius: 0; color: #173f29; background: #e6ffe9; font-size: 12px; line-height: 1.5; }
.adtg-action-status.is-visible { display: block; }
.adtg-action-status.is-error { border-color: #ff8e7e; color: #632017; background: #ffe8e2; }
.adtg-copy-prompt.is-done { border-color: var(--adtg-lime); background: #253018; }
.adtg-manual-prompt { position: relative; z-index: 1; margin-top: 13px; padding: 13px 14px; border: 1px dashed #626258; border-radius: 0; background: rgba(255,255,255,.025); }
.adtg-manual-prompt summary { color: var(--adtg-lime); cursor: pointer; font-size: 11px; font-weight: 850; }
.adtg-prompt-text { display: block; width: 100%; min-height: 220px; margin: 12px 0 8px; padding: 12px; resize: vertical; border: 1px solid #55554e; border-radius: 0; color: #fff; background: #22221f; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.adtg-select-prompt { color: var(--adtg-ink); background: var(--adtg-lime); }

/* Conversion points */

.adtg-first-buy { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 22px 0 30px; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--adtg-ink); border-left: 8px solid var(--adtg-coral); background: var(--adtg-paper); }
.adtg-first-buy-copy { flex: 1; min-width: 0; }
.adtg-first-buy .adtg-eyebrow { color: var(--adtg-green); }
.adtg-first-buy h2 { margin: 5px 0; color: var(--adtg-ink); font-size: clamp(21px, 3vw, 32px); font-weight: 950; line-height: .98; letter-spacing: -.05em; }
.adtg-first-buy p { margin: 0; color: var(--adtg-muted); font-size: 12px; }
.adtg-first-buy .adtg-buy-wrap { flex: 0 0 auto; }

.adtg-shop-nudge { display: flex; align-items: center; flex-direction: row; justify-content: space-between; gap: 24px; margin: 30px 0; padding: clamp(23px, 4vw, 43px); border: 1px solid var(--adtg-ink); border-radius: 0; background: var(--adtg-lime); }
.adtg-shop-nudge-copy { flex: 1; min-width: 0; }
.adtg-shop-nudge .adtg-eyebrow { color: var(--adtg-green); }
.adtg-shop-nudge h2 { max-width: 780px; margin: 8px 0; color: var(--adtg-ink); font-size: clamp(26px, 4vw, 43px); font-weight: 950; line-height: .97; letter-spacing: -.06em; }
.adtg-shop-nudge p { max-width: 610px; margin: 0; color: #3f4331; font-size: 12px; }
.adtg-buy-wrap { flex: 0 0 auto; margin: 0; }
.adtg-buy-button { min-width: 205px; color: var(--adtg-white) !important; background: var(--adtg-coral); border-color: var(--adtg-ink); box-shadow: 5px 5px 0 var(--adtg-ink); }
.adtg-buy-button:hover { color: var(--adtg-ink) !important; background: var(--adtg-white); box-shadow: 2px 2px 0 var(--adtg-ink); }
.adtg-extra-gallery { margin: 34px 0 22px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.adtg-extra-heading { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 17px; padding-bottom: 12px; border-bottom: 1px solid var(--adtg-ink); }
.adtg-extra-heading .adtg-eyebrow { color: var(--adtg-green); }
.adtg-extra-heading h2 { margin: 6px 0 5px; color: var(--adtg-ink); font-size: clamp(26px, 3.8vw, 39px); font-weight: 950; letter-spacing: -.06em; line-height: .98; }
.adtg-extra-heading p { margin: 0; color: var(--adtg-muted); font-size: 12px; }
.adtg-extra-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.adtg-extra-image { position: relative; display: flex; align-items: center; justify-content: center; min-height: 220px; overflow: hidden; border: 1px solid var(--adtg-line); border-radius: 0; background: var(--adtg-paper); text-decoration: none; }
.adtg-extra-image img { display: block; width: 100%; height: auto; max-height: 700px; object-fit: contain; transition: transform .3s ease; }
.adtg-extra-image:hover img { transform: scale(1.025); }
.adtg-extra-image span { position: absolute; right: 10px; bottom: 10px; padding: 8px 10px; border: 1px solid var(--adtg-ink); border-radius: 0; color: var(--adtg-ink); background: var(--adtg-lime); font-size: 9px; font-weight: 900; letter-spacing: .04em; }
.adtg-bottom-buy { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 18px 0 27px; padding: clamp(22px, 3.5vw, 38px); border: 1px solid var(--adtg-ink); border-radius: 0; background: var(--adtg-ink); }
.adtg-bottom-buy .adtg-eyebrow { color: var(--adtg-lime); }
.adtg-bottom-buy h2 { max-width: 680px; margin: 7px 0 0; color: var(--adtg-white); font-size: clamp(23px, 3.5vw, 37px); font-weight: 950; line-height: .98; letter-spacing: -.055em; }
.adtg-product-story { margin: 30px 0 0; padding-top: 20px; border-top: 2px solid var(--adtg-ink); color: var(--adtg-muted); }
.adtg-product-story h2 { color: var(--adtg-ink); font-weight: 900; letter-spacing: -.04em; }


/* Related dresses — random items from the same assigned category */
.adtg-related-section { margin: clamp(40px, 6vw, 76px) 0 12px; padding-top: 25px; border-top: 3px solid var(--adtg-ink); }
.adtg-related-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.adtg-related-heading h2 { margin: 7px 0 6px; color: var(--adtg-ink); font-size: clamp(27px, 4.2vw, 44px); font-weight: 950; line-height: .98; letter-spacing: -.06em; }
.adtg-related-heading p { margin: 0; color: var(--adtg-muted); font-size: 13px; }
.adtg-related-count { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--adtg-ink); color: var(--adtg-ink); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.adtg-related-count b { color: var(--adtg-coral); font-size: 20px; }
.adtg-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 20px); }
.adtg-related-card { display: flex; min-width: 0; flex-direction: column; border-bottom: 1px solid var(--adtg-ink); background: transparent; }
.adtg-related-image-link { position: relative; display: grid; place-items: center; overflow: hidden; width: 100%; aspect-ratio: 4/5; padding: 6px; border: 1px solid var(--adtg-line); background: #e8e2d6; text-decoration: none; }
.adtg-related-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none !important; }
.adtg-related-image-placeholder { display: grid; place-items: center; padding: 12px; color: var(--adtg-muted); text-align: center; font-size: 11px; }
.adtg-related-open { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--adtg-ink); color: var(--adtg-ink); background: var(--adtg-lime); font-size: 16px; font-weight: 900; }
.adtg-related-card-body { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: 12px 2px 14px; }
.adtg-related-card-body h3 { margin: 0; color: var(--adtg-ink); font-size: clamp(14px, 1.45vw, 19px); font-weight: 900; line-height: 1.15; letter-spacing: -.035em; }
.adtg-related-card-body h3 a { color: inherit; text-decoration: none; }
.adtg-related-card-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.adtg-related-price { margin: 7px 0 0; color: var(--adtg-ink); font-size: 12px; font-weight: 900; }
.adtg-related-try { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 13px; padding: 10px 0; border-top: 1px solid var(--adtg-line); color: var(--adtg-ink); font-size: 10px; font-weight: 900; text-decoration: none; }
.adtg-related-try:hover { color: var(--adtg-green); }
.adtg-related-buy { display: block; margin-top: 1px; color: var(--adtg-green); font-size: 10px; font-weight: 850; text-decoration: none; }
.adtg-related-buy:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .adtg-gallery, .adtg-gallery.adtg-columns-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .adtg-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .adtg-gallery-hero-mark { flex-basis: 150px; min-height: 178px; }
  .adtg-gallery-hero-mark strong { font-size: 26px; }
  .adtg-gallery-hero { gap: 22px; }
  .adtg-gallery-hero h2 { font-size: clamp(38px, 6vw, 62px); }
}
@media (max-width: 640px) {
  .adtg-gallery-shell, .adtg-single { width: calc(100% - 20px); margin: 20px auto; }
  .adtg-related-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .adtg-related-heading h2 { font-size: clamp(27px, 8vw, 36px); }
  .adtg-related-image-link { aspect-ratio: 3/4; padding: 4px; }
  .adtg-related-card-body { padding: 9px 1px 11px; }
  .adtg-related-card-body h3 { font-size: 13px; }
  .adtg-related-price { font-size: 11px; }
  .adtg-related-try, .adtg-related-buy { font-size: 9px; }
  .adtg-gallery-hero { padding: 26px 19px; box-shadow: 5px 5px 0 var(--adtg-ink); }
  .adtg-gallery-hero h2 { max-width: 560px; font-size: clamp(36px, 11vw, 49px); }
  .adtg-gallery-hero p { font-size: 13px; }
  .adtg-gallery-hero-mark { display: none; }
  .adtg-gallery-steps { gap: 6px; margin-top: 19px; }
  .adtg-gallery-steps span { padding: 5px 7px 5px 5px; font-size: 9px; }
  .adtg-gallery-steps b { width: 21px; height: 21px; }
  .adtg-gallery-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; margin-top: 32px; }
  .adtg-gallery, .adtg-gallery.adtg-columns-2, .adtg-gallery.adtg-columns-4 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px 10px; }
  .adtg-card-image-link { aspect-ratio: 3/4; }
  .adtg-card-image-badge { left: 6px; top: 6px; padding: 5px 6px; font-size: 6px; letter-spacing: .08em; }
  .adtg-card-image-open { right: 6px; bottom: 6px; width: 30px; height: 30px; font-size: 16px; }
  .adtg-card-body { padding: 11px 1px 13px; }
  .adtg-card-kicker { margin-bottom: 5px; font-size: 7px; letter-spacing: .12em; }
  .adtg-card h3 { font-size: 14px; }
  .adtg-card-price { font-size: 12px; }
  .adtg-card-teaser { min-height: 0; margin: 7px 0 11px; font-size: 10px; line-height: 1.45; }
  .adtg-button { min-height: 40px; padding: 9px; font-size: 10px; }
  .adtg-card-buy { margin-top: 9px; font-size: 9px; }
  .adtg-gallery-footer { margin-top: 29px; padding: 24px 16px; }
  .adtg-product-intro { margin-bottom: 21px; padding: 28px 19px; }
  .adtg-product-intro h2 { font-size: clamp(36px, 10vw, 48px); }
  .adtg-product-intro > p { font-size: 12px; }
  .adtg-step-strip { gap: 6px; margin-top: 19px; }
  .adtg-step-strip span { padding: 5px 7px 5px 5px; font-size: 9px; }
  .adtg-step-strip b { width: 21px; height: 21px; }
  .adtg-look-showcase { grid-template-columns: 1fr; gap: 22px; margin-top: 20px; }
  .adtg-look-card:nth-child(2) { margin-top: 0; }
  .adtg-look-image-link { height: auto; min-height: 250px; max-height: none; aspect-ratio: 4/5; }
  .adtg-main-product-image, .adtg-main-tryon-image { max-height: 620px; }
  .adtg-tryon-workflow { margin: 24px 0; padding: 22px 14px; }
  .adtg-workflow-intro h2 { font-size: 31px; }
  .adtg-workflow-intro p { font-size: 11px; }
  .adtg-action-grid { grid-template-columns: 1fr; gap: 8px; }
  .adtg-action-tile { min-height: 70px; padding: 10px; gap: 10px; }
  .adtg-action-icon { flex-basis: 37px; width: 37px; height: 37px; font-size: 19px; }
  .adtg-action-label strong { font-size: 12px; }
  .adtg-action-label small { font-size: 9px; }
  .adtg-first-buy { align-items: stretch; flex-direction: column; gap: 15px; margin: 20px 0 25px; padding: 20px 15px; }
  .adtg-first-buy .adtg-buy-wrap { width: 100%; }
  .adtg-first-buy .adtg-buy-button { width: 100%; min-width: 0; min-height: 48px; font-size: 12px; }
  .adtg-shop-nudge { align-items: stretch; flex-direction: column; gap: 15px; margin: 25px 0; padding: 25px 17px; }
  .adtg-shop-nudge h2 { font-size: 30px; }
  .adtg-shop-nudge .adtg-buy-wrap { width: 100%; }
  .adtg-buy-button { width: 100%; min-width: 0; min-height: 48px; font-size: 12px; }
  .adtg-extra-grid { grid-template-columns: 1fr; gap: 10px; }
  .adtg-extra-image { min-height: 180px; }
  .adtg-bottom-buy { align-items: stretch; flex-direction: column; gap: 18px; padding: 22px 16px; }
  .adtg-bottom-buy .adtg-buy-wrap { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .adtg-card, .adtg-card-image, .adtg-action-tile, .adtg-extra-image img, .adtg-button, .adtg-card-image-open { transition: none !important; }
}
