/*
 * LookBook page (/lookbook/) -- Redesign Genie, CRM task 660.
 *
 * The "2026 Wedding Lookbook, Volume 1" (15-page Canva export) as a
 * scrolling book: the photo pages are the exported pages themselves
 * (pages/lookbook/page-NN.webp) and the three text pages (Welcome, Our
 * Process, Services + Pricing) are rebuilt as real text so they stay
 * readable, searchable and editable. Photo pages and text pages share one
 * card: the same width, white paper, hairline border, radius and shadow,
 * so the eye moves from image to text and back without a seam. Photo
 * pages lift on hover and open full-screen (lookbook.js).
 *
 * Colours and type come from the site tokens (tokens.css): the kit's
 * lavender palette and its Roboto Slab / Roboto pairing, at lighter
 * weights than the shop uses. Every rule is scoped under
 * body.ssb-design-page-lookbook; nothing here leaks to other pages.
 */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400&family=Roboto:ital,wght@0,300;0,400;0,500;1,300&display=swap");

body.ssb-design-page-lookbook {
  --lb-bg: var(--ssb-color-white, #ffffff);
  --lb-ink: var(--ssb-color-purple-900, #422954);
  --lb-text: var(--ssb-color-text, #483c51);
  --lb-muted: var(--ssb-color-plum-700, #5e5069);
  --lb-accent: var(--ssb-color-primary, #9f76be);
  --lb-accent-deep: var(--ssb-color-lavender-400, #9e81b4);
  --lb-tint: var(--ssb-color-lavender-50, #f8efff);
  --lb-line: var(--ssb-color-lavender-100, #e2d1ef);
  --lb-line-soft: #efe6f5;
  --lb-radius: 14px;
  --lb-shadow: 0 1px 2px rgba(66, 41, 84, 0.05), 0 14px 36px rgba(66, 41, 84, 0.10);
  --lb-shadow-hover: 0 2px 4px rgba(66, 41, 84, 0.06), 0 26px 56px rgba(66, 41, 84, 0.18);
  --lb-font-display: var(--ssb-font-secondary, "Roboto Slab", serif);
  --lb-font-body: var(--ssb-font-text, "Roboto", sans-serif);
  --lb-page-w: 880px;
  --lb-gap: 44px;
  --lb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- The book ---------------------------------------------------------- */
/* One column of cards, each the same width, centred inside Elementor's
 * boxed container. The definition gives the container a 16px side gutter
 * so cards never touch the viewport edge on phones. */

/* Elementor's container model, which every override below follows:
 * - a container's padding and flex gap are CSS variables (--padding-top,
 *   --row-gap, ...) printed per element with a (0,3,0) selector; boxed
 *   containers apply the vertical padding and the gap on their .e-con-inner;
 * - widgets inside a container have their bottom margin zeroed
 *   (`.e-con .elementor-widget.elementor-widget{margin-block-end:0}`) and
 *   are capped at `max-width:100%` by a (0,4,0) rule.
 * So spacing between pages comes from the book container's --row-gap,
 * spacing inside a card from its --row-gap plus widget padding, and the
 * `.elementor .e-con` chains below give the (0,4,1)+ specificity needed. */

body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-book {
  --row-gap: var(--lb-gap);
  --column-gap: 0px;
}

body.ssb-design-page-lookbook .ssb-lb-page,
body.ssb-design-page-lookbook .elementor .e-con .elementor-widget.ssb-lb-page {
  width: 100%;
  max-width: var(--lb-page-w);
  margin: 0 auto;
}

/* Scroll reveal, driven by lookbook.js: pages below the fold fade and
 * rise in as they enter. Without JS (or with reduced motion) nothing is
 * ever hidden, so the page is complete on first paint. */
@keyframes ssb-lb-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-enter {
  animation: ssb-lb-rise 720ms var(--lb-ease) both;
  /* the script drops the class on animationend so the fill-mode transform
   * never pins the hover lift */
}

/* ---- Photo pages ------------------------------------------------------- */
/* The exported pages carry their own margins (white or cream), so each
 * one sits on white paper inside a hairline frame: the frame, not the
 * export's margin, is the edge the eye reads. */

body.ssb-design-page-lookbook .ssb-lb-page.elementor-widget-image {
  position: relative;
  overflow: hidden;
  background: var(--lb-bg);
  border: 1px solid var(--lb-line);
  border-radius: var(--lb-radius);
  box-shadow: var(--lb-shadow);
  line-height: 0;
  text-align: center;
  transform: translateY(0);
  transition: transform 520ms var(--lb-ease), box-shadow 520ms var(--lb-ease), border-color 520ms var(--lb-ease);
}

body.ssb-design-page-lookbook .ssb-lb-page.elementor-widget-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  transform: scale(1);
  transition: transform 900ms var(--lb-ease);
}

/* "View page" hint, bottom right, revealed on hover / focus. */
body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable::after {
  content: "View page";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 16px;
  font-family: var(--lb-font-body);
  font-weight: 500;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(66, 41, 84, 0.86);
  border-radius: var(--ssb-radius-pill, 999px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 320ms var(--lb-ease), transform 320ms var(--lb-ease);
  pointer-events: none;
}

body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable img {
  cursor: zoom-in;
}

body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable img:focus-visible {
  outline: none;
}

body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable:focus-within {
  outline: 2px solid var(--lb-accent);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable:hover {
    transform: translateY(-6px);
    border-color: var(--ssb-color-lavender-200, #d0b3e5);
    box-shadow: var(--lb-shadow-hover);
  }

  body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable:hover img {
    transform: scale(1.025);
  }
}

body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable:hover::after,
body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Text pages (Welcome, Our Process, Services + Pricing) ------------- */
/* Same card as the photo pages, plus an inset hairline that echoes the
 * double frame on the lookbook's cover. The inset sits inside the card's
 * padding so it never crosses the text. */

body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-page--text {
  --row-gap: 24px;
  --column-gap: 24px;
}

body.ssb-design-page-lookbook .ssb-lb-page--text {
  position: relative;
  background: var(--lb-bg);
  border: 1px solid var(--lb-line);
  border-radius: var(--lb-radius);
  box-shadow: var(--lb-shadow);
  text-align: center;
}

body.ssb-design-page-lookbook .ssb-lb-page--text::before {
  content: "";
  position: absolute;
  inset: 18px;
  width: auto;  /* Elementor sizes .e-con pseudo-elements at 100%; the */
  height: auto; /* inset alone would then draw the frame offset outside */
  border: 1px solid var(--lb-line-soft);
  border-radius: calc(var(--lb-radius) - 8px);
  pointer-events: none;
}

body.ssb-design-page-lookbook .ssb-lb-page--text > .e-con-inner,
body.ssb-design-page-lookbook .ssb-lb-page--text > .elementor-widget,
body.ssb-design-page-lookbook .ssb-lb-page--text > .e-con {
  position: relative; /* above the inset frame */
}

/* Section title: light slab, letter-spaced, with a short accent rule. */
body.ssb-design-page-lookbook .ssb-lb-eyebrow {
  padding-bottom: 12px; /* 36px to the copy with the card's 24px gap */
}

body.ssb-design-page-lookbook .elementor-widget-heading.ssb-lb-eyebrow .elementor-heading-title {
  font-family: var(--lb-font-display);
  font-weight: 300;
  font-size: 1.85rem;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-indent: 0.22em; /* balances the trailing letter-space when centred */
  color: var(--lb-ink);
  margin: 0;
}

body.ssb-design-page-lookbook .elementor-widget-heading.ssb-lb-eyebrow .elementor-heading-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin: 22px auto 0;
  border-radius: 2px;
  background: var(--lb-accent);
}

/* The page's h1 is a small running title above the cover (the cover image
 * carries the big title): same style, smaller, no rule. */
body.ssb-design-page-lookbook .ssb-lb-title {
  padding-bottom: 0;
}

body.ssb-design-page-lookbook .elementor-widget-heading.ssb-lb-title .elementor-heading-title {
  font-size: 0.8rem;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  color: var(--lb-muted);
}

body.ssb-design-page-lookbook .elementor-widget-heading.ssb-lb-title .elementor-heading-title::after {
  display: none;
}

/* Body copy. The measure (max-width) is set with the `.elementor .e-con`
 * chain because Elementor caps widgets at max-width:100% with (0,4,0). */
body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-page--text .elementor-widget.elementor-widget-text-editor {
  max-width: 600px;
}

body.ssb-design-page-lookbook .ssb-lb-page--text .elementor-widget-text-editor {
  font-family: var(--lb-font-body);
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--lb-text);
  margin-left: auto;
  margin-right: auto;
}

body.ssb-design-page-lookbook .ssb-lb-page--text .elementor-widget-text-editor p {
  margin: 0 0 1.35em;
}

body.ssb-design-page-lookbook .ssb-lb-page--text .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

body.ssb-design-page-lookbook .ssb-lb-page--text .elementor-widget-text-editor strong {
  font-weight: 500;
  color: var(--lb-ink);
}

/* Welcome: the greeting line leads, the sign-off closes. */
body.ssb-design-page-lookbook .ssb-lb-welcome .elementor-widget-text-editor p:first-child {
  font-family: var(--lb-font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--lb-ink);
  margin-bottom: 1.6em;
}

body.ssb-design-page-lookbook .ssb-lb-welcome .elementor-widget-text-editor p:first-child strong {
  font-weight: 400;
}

body.ssb-design-page-lookbook .ssb-lb-welcome .elementor-widget-text-editor p:last-child {
  font-family: var(--lb-font-display);
  font-size: 1.25rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--lb-accent);
  margin-top: 0.4em;
}

body.ssb-design-page-lookbook .ssb-lb-welcome .elementor-widget-text-editor em {
  font-style: normal;
}

/* Our Process: three numbered steps in a row, then the client quote. */
body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-steps {
  --row-gap: 24px;
  --column-gap: 36px;
  --padding-top: 12px;
  --padding-bottom: 20px;
  --padding-left: 0px;
  --padding-right: 0px;
  max-width: 680px;
  margin-inline: auto;
  text-align: left;
}

body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-steps > .e-con-inner {
  flex-direction: row;
  align-items: stretch;
}

body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-step {
  --row-gap: 12px;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-step > .e-con-inner {
  padding-block-start: 28px;
  border-top: 1px solid var(--lb-line);
}

body.ssb-design-page-lookbook .elementor-widget-heading.ssb-lb-step-num .elementor-heading-title {
  font-family: var(--lb-font-display);
  font-weight: 300;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--lb-accent);
  margin: 0 0 4px;
}

body.ssb-design-page-lookbook .elementor-widget-heading.ssb-lb-step-title .elementor-heading-title {
  font-family: var(--lb-font-display);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--lb-ink);
  margin: 0;
}

body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-step .elementor-widget.elementor-widget-text-editor {
  max-width: none;
}

body.ssb-design-page-lookbook .ssb-lb-step .elementor-widget-text-editor {
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: left;
  margin: 0;
}

body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-page--text .elementor-widget.ssb-lb-quote.elementor-widget-text-editor {
  max-width: 620px;
}

body.ssb-design-page-lookbook .ssb-lb-page--text .ssb-lb-quote.elementor-widget-text-editor {
  position: relative;
  padding: 34px 24px 30px;
  margin: 12px auto 0;
  border-top: 1px solid var(--lb-line);
  border-bottom: 1px solid var(--lb-line);
}

body.ssb-design-page-lookbook .ssb-lb-page--text .ssb-lb-quote.elementor-widget-text-editor::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 14px;
  font-family: var(--lb-font-display);
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  color: var(--lb-accent);
  background: var(--lb-bg);
}

body.ssb-design-page-lookbook .ssb-lb-page--text .ssb-lb-quote.elementor-widget-text-editor p {
  font-family: var(--lb-font-display);
  font-weight: 300;
  font-size: 1.18rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--lb-ink);
  margin: 0;
}

/* Services + Pricing: a menu-style list with dotted leaders, two columns
 * on desktop. Each group is a <div> (kept whole across the column break)
 * holding a <p><strong>label</strong></p> and <p><span>item</span><span>price</span></p>
 * lines. The delivery note is its own widget (.ssb-lb-pricing-note): a
 * spanning paragraph inside the columns overflows on phones. */
body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-pricing .elementor-widget.elementor-widget-text-editor {
  max-width: 660px;
}

body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor {
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.6;
  column-count: 2;
  column-gap: 48px;
}

body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor div:not(.elementor-widget-container) {
  break-inside: avoid; /* each group stays whole; the widget wrapper itself must still break */
  padding-bottom: 10px;
}

body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor p {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 9px;
  break-inside: avoid;
}

body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor p > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* Dotted leader between item and price. */
body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor p > span:first-child::after {
  content: "";
  flex: 1 1 12px;
  min-width: 12px;
  border-bottom: 1px dotted var(--ssb-color-lavender-200, #d0b3e5);
  transform: translateY(-4px);
}

body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor p > span:last-child {
  flex: 0 0 auto;
  font-weight: 400;
  color: var(--lb-ink);
  white-space: nowrap;
}

body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor p > strong:only-child {
  display: block;
  width: 100%;
  margin: 8px 0 6px;
  font-family: var(--lb-font-display);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lb-accent);
}

body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor div:first-child p:first-child > strong:only-child {
  margin-top: 0;
}

body.ssb-design-page-lookbook .ssb-lb-pricing .ssb-lb-pricing-note.elementor-widget-text-editor {
  column-count: 1;
  padding-top: 18px;
  border-top: 1px solid var(--lb-line);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--lb-muted);
}

body.ssb-design-page-lookbook .ssb-lb-pricing .ssb-lb-pricing-note.elementor-widget-text-editor p {
  display: block;
  margin: 0;
}

body.ssb-design-page-lookbook .ssb-lb-pricing .ssb-lb-pricing-note.elementor-widget-text-editor em {
  font-style: normal;
}

/* ---- Delivery photos from the CRM ([ssb_lookbook_photos]) -------------- */
/* Staff pick which proof-of-delivery photos sit on the page; they render
 * as a grid of small cards after the last spread, in the same card
 * language. Gallery-only photos have no markup here: lookbook.js adds
 * them to the lightbox. The widget renders nothing when the feed is
 * empty, so an empty slot never shows. */

body.ssb-design-page-lookbook .ssb-lb-feed-widget:empty,
body.ssb-design-page-lookbook .ssb-lb-feed-widget .elementor-shortcode:empty {
  display: none;
}

body.ssb-design-page-lookbook .ssb-lb-feed__title {
  font-family: var(--lb-font-display);
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-indent: 0.22em;
  text-align: center;
  color: var(--lb-ink);
  margin: 12px 0 28px;
}

body.ssb-design-page-lookbook .ssb-lb-feed__title::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: var(--lb-accent);
}

body.ssb-design-page-lookbook .ssb-lb-feed__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.ssb-design-page-lookbook .ssb-lb-feed__item {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  background: var(--lb-bg);
  border: 1px solid var(--lb-line);
  border-radius: var(--lb-radius);
  box-shadow: var(--lb-shadow);
  transform: translateY(0);
  transition: transform 520ms var(--lb-ease), box-shadow 520ms var(--lb-ease), border-color 520ms var(--lb-ease);
}

body.ssb-design-page-lookbook .ssb-lb-feed__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--lb-tint);
}

/* Caption: the feed's text, trimmed server-side to 12 words; the clamp is
 * only a guard for narrow cards. */
body.ssb-design-page-lookbook .ssb-lb-feed__caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  padding: 11px 14px 13px;
  border-top: 1px solid var(--lb-line-soft);
  font-family: var(--lb-font-body);
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--lb-muted);
  background: var(--lb-bg);
}

body.ssb-design-page-lookbook .ssb-lb-feed__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 900ms var(--lb-ease);
}

body.ssb-design-page-lookbook .ssb-lb-feed__item.ssb-lb-zoomable img {
  cursor: zoom-in;
}

body.ssb-design-page-lookbook .ssb-lb-feed__item.ssb-lb-zoomable img:focus-visible {
  outline: none;
}

body.ssb-design-page-lookbook .ssb-lb-feed__item.ssb-lb-zoomable:focus-within {
  outline: 2px solid var(--lb-accent);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  body.ssb-design-page-lookbook .ssb-lb-feed__item.ssb-lb-zoomable:hover {
    transform: translateY(-4px);
    border-color: var(--ssb-color-lavender-200, #d0b3e5);
    box-shadow: var(--lb-shadow-hover);
  }

  body.ssb-design-page-lookbook .ssb-lb-feed__item.ssb-lb-zoomable:hover img {
    transform: scale(1.04);
  }
}

/* ---- Buttons ----------------------------------------------------------- */
/* The site's pill button in the kit's primary lavender. Elementor writes
 * the kit's button colours per widget with higher specificity, so the
 * colour, border and radius need !important here. */

body.ssb-design-page-lookbook .elementor-widget-button .elementor-button {
  font-family: var(--lb-font-body);
  font-weight: 500;
  font-size: 0.88rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 34px;
  background-color: var(--lb-accent) !important;
  color: #ffffff !important;
  border: 1px solid var(--lb-accent) !important;
  border-radius: var(--ssb-radius-pill, 999px) !important;
  box-shadow: 0 8px 20px rgba(159, 118, 190, 0.28);
  transform: translateY(0);
  transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease, box-shadow 320ms var(--lb-ease), transform 320ms var(--lb-ease);
}

body.ssb-design-page-lookbook .elementor-widget-button .elementor-button:hover,
body.ssb-design-page-lookbook .elementor-widget-button .elementor-button:focus-visible {
  background-color: var(--lb-ink) !important;
  border-color: var(--lb-ink) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(66, 41, 84, 0.24);
  transform: translateY(-2px);
}

body.ssb-design-page-lookbook .ssb-lb-cta-secondary .elementor-button {
  background-color: transparent !important;
  color: var(--lb-ink) !important;
  border-color: var(--lb-line) !important;
  box-shadow: none;
}

body.ssb-design-page-lookbook .ssb-lb-cta-secondary .elementor-button:hover,
body.ssb-design-page-lookbook .ssb-lb-cta-secondary .elementor-button:focus-visible {
  background-color: var(--lb-tint) !important;
  border-color: var(--lb-accent) !important;
  color: var(--lb-ink) !important;
  box-shadow: none;
}

body.ssb-design-page-lookbook .ssb-lb-process .elementor-widget-button {
  margin: 8px 0 0;
}

/* ---- Closing call to action ------------------------------------------- */

body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-cta {
  --row-gap: 16px;
  text-align: center;
}

body.ssb-design-page-lookbook .ssb-lb-cta .elementor-widget-heading .elementor-heading-title {
  font-family: var(--lb-font-display);
  font-weight: 300;
  font-size: 2.1rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--lb-ink);
  margin: 0 0 14px;
}

body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-cta .elementor-widget.elementor-widget-text-editor {
  max-width: 560px;
}

body.ssb-design-page-lookbook .ssb-lb-cta .elementor-widget-text-editor {
  font-family: var(--lb-font-body);
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--lb-text);
  margin: 0 auto;
  padding-bottom: 14px;
}

/* Two buttons side by side; the row container's widgets would otherwise
 * each take the full width. */
body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-cta-actions {
  --row-gap: 14px;
  --column-gap: 14px;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
}

body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-cta-actions > .e-con-inner {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

body.ssb-design-page-lookbook .ssb-lb-cta-actions .elementor-widget-button {
  --width: auto;
  width: auto;
  flex: 0 0 auto;
  margin: 0;
}

/* ---- Lightbox (built by lookbook.js) ---------------------------------- */

body.ssb-design-page-lookbook.ssb-lb-lightbox-open {
  overflow: hidden;
}

body.ssb-design-page-lookbook .ssb-lb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 24, 46, 0.94);
  opacity: 0;
  transition: opacity 200ms ease;
}

body.ssb-design-page-lookbook .ssb-lb-lightbox.is-open {
  opacity: 1;
}

/* The script toggles the hidden attribute; display:flex above would
 * otherwise override the browser's [hidden] rule. */
body.ssb-design-page-lookbook .ssb-lb-lightbox[hidden] {
  display: none;
}

body.ssb-design-page-lookbook .ssb-lb-lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 80vh;
  margin-bottom: 6vh; /* room for the caption and the counter */
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  animation: ssb-lb-rise 360ms var(--lb-ease) both;
}

body.ssb-design-page-lookbook .ssb-lb-lightbox button {
  position: absolute;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lb-font-body);
  font-weight: 300;
  font-size: 1.7rem;
  line-height: 1;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}

body.ssb-design-page-lookbook .ssb-lb-lightbox button:hover,
body.ssb-design-page-lookbook .ssb-lb-lightbox button:focus-visible {
  background: var(--lb-accent);
  border-color: var(--lb-accent);
  outline: none;
}

body.ssb-design-page-lookbook .ssb-lb-lightbox .ssb-lb-lightbox-close {
  top: 20px;
  right: 20px;
}

body.ssb-design-page-lookbook .ssb-lb-lightbox .ssb-lb-lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

body.ssb-design-page-lookbook .ssb-lb-lightbox .ssb-lb-lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

body.ssb-design-page-lookbook .ssb-lb-lightbox .ssb-lb-lightbox-caption {
  position: absolute;
  left: 80px;
  right: 80px;
  bottom: 44px;
  text-align: center;
  font-family: var(--lb-font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

body.ssb-design-page-lookbook .ssb-lb-lightbox .ssb-lb-lightbox-caption:empty {
  display: none;
}

body.ssb-design-page-lookbook .ssb-lb-lightbox .ssb-lb-lightbox-count {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  font-family: var(--lb-font-display);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* ---- Motion preferences ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-enter,
  body.ssb-design-page-lookbook .ssb-lb-lightbox img {
    animation: none;
  }

  body.ssb-design-page-lookbook .ssb-lb-page.elementor-widget-image,
  body.ssb-design-page-lookbook .ssb-lb-page.elementor-widget-image img,
  body.ssb-design-page-lookbook .elementor-widget-button .elementor-button,
  body.ssb-design-page-lookbook .ssb-lb-lightbox {
    transition: none;
  }

  body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable:hover,
  body.ssb-design-page-lookbook .elementor-widget-button .elementor-button:hover {
    transform: none;
  }

  body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable:hover img,
  body.ssb-design-page-lookbook .ssb-lb-feed__item.ssb-lb-zoomable:hover img {
    transform: scale(1);
  }

  body.ssb-design-page-lookbook .ssb-lb-feed__item,
  body.ssb-design-page-lookbook .ssb-lb-feed__item img {
    transition: none;
  }

  body.ssb-design-page-lookbook .ssb-lb-feed__item.ssb-lb-zoomable:hover {
    transform: none;
  }
}

/* ---- Tablet and phone -------------------------------------------------- */

@media (max-width: 1024px) {
  body.ssb-design-page-lookbook {
    --lb-page-w: 100%;
    --lb-gap: 32px;
  }

  body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-page--text {
    --padding-top: 64px;
    --padding-bottom: 64px;
    --padding-left: 40px;
    --padding-right: 40px;
  }

  body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor {
    column-gap: 36px;
  }
}

@media (max-width: 767px) {
  body.ssb-design-page-lookbook {
    --lb-gap: 22px;
    --lb-radius: 10px;
  }

  body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-book {
    --padding-top: 56px;
    --padding-bottom: 24px;
  }

  body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-page--text {
    --padding-top: 48px;
    --padding-bottom: 48px;
    --padding-left: 22px;
    --padding-right: 22px;
  }

  body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-cta {
    --padding-bottom: 72px;
  }

  body.ssb-design-page-lookbook .ssb-lb-page--text::before {
    inset: 10px;
    border-radius: calc(var(--lb-radius) - 5px);
  }

  body.ssb-design-page-lookbook .ssb-lb-eyebrow {
    padding-bottom: 4px;
  }

  body.ssb-design-page-lookbook .elementor-widget-heading.ssb-lb-eyebrow .elementor-heading-title {
    font-size: 1.35rem;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }

  body.ssb-design-page-lookbook .ssb-lb-feed__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.ssb-design-page-lookbook .ssb-lb-feed__title {
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
    margin-bottom: 20px;
  }

  body.ssb-design-page-lookbook .elementor-widget-heading.ssb-lb-title .elementor-heading-title {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-indent: 0.28em;
  }

  body.ssb-design-page-lookbook .ssb-lb-page--text .elementor-widget-text-editor {
    font-size: 1rem;
    line-height: 1.75;
  }

  body.ssb-design-page-lookbook .ssb-lb-welcome .elementor-widget-text-editor p:first-child {
    font-size: 1.15rem;
  }

  body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-steps {
    --row-gap: 22px;
  }

  body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-steps > .e-con-inner {
    flex-direction: column;
  }

  body.ssb-design-page-lookbook .elementor .e-con.ssb-lb-step > .e-con-inner {
    padding-block-start: 20px;
  }

  body.ssb-design-page-lookbook .elementor-widget-heading.ssb-lb-step-num .elementor-heading-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  body.ssb-design-page-lookbook .ssb-lb-page--text .ssb-lb-quote.elementor-widget-text-editor {
    padding: 30px 8px 24px;
  }

  body.ssb-design-page-lookbook .ssb-lb-page--text .ssb-lb-quote.elementor-widget-text-editor p {
    font-size: 1.02rem;
  }

  body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor {
    column-count: 1;
  }

  body.ssb-design-page-lookbook .ssb-lb-pricing .elementor-widget-text-editor {
    font-size: 0.95rem;
  }

  body.ssb-design-page-lookbook .ssb-lb-cta .elementor-widget-heading .elementor-heading-title {
    font-size: 1.55rem;
  }

  body.ssb-design-page-lookbook .elementor-widget-button .elementor-button {
    padding: 16px 26px;
    font-size: 0.82rem;
  }

  body.ssb-design-page-lookbook .ssb-lb-cta-actions .elementor-widget-button {
    width: 100%;
    flex-basis: 100%;
  }

  body.ssb-design-page-lookbook .ssb-lb-cta-actions .elementor-widget-button .elementor-button {
    display: block;
    width: 100%;
  }

  body.ssb-design-page-lookbook .ssb-lb-page.ssb-lb-zoomable::after {
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    font-size: 0.64rem;
  }

  body.ssb-design-page-lookbook .ssb-lb-lightbox img {
    max-width: 100vw;
    max-height: 66vh;
    margin-bottom: 14vh;
    border-radius: 0;
  }

  body.ssb-design-page-lookbook .ssb-lb-feed__caption {
    padding: 8px 10px 10px;
    font-size: 0.7rem;
    letter-spacing: 0.01em;
  }

  body.ssb-design-page-lookbook .ssb-lb-lightbox .ssb-lb-lightbox-caption {
    left: 16px;
    right: 16px;
    bottom: 136px;
    font-size: 0.85rem;
  }

  body.ssb-design-page-lookbook .ssb-lb-lightbox .ssb-lb-lightbox-prev,
  body.ssb-design-page-lookbook .ssb-lb-lightbox .ssb-lb-lightbox-next {
    top: auto;
    bottom: 48px;
    transform: none;
  }

  body.ssb-design-page-lookbook .ssb-lb-lightbox .ssb-lb-lightbox-count {
    bottom: 110px;
  }
}
