/* Home page layout polish (Nov 30 2026) — layout only, no content changes.
   One content width for the whole page = the header/footer width (var(--max) minus gutters = 1080px),
   hero photo framed inside it, fixed text start across slides, dots under the text, even section rhythm. */
.home-2026 { --h26-max: var(--max); --h26-gap: 4rem; }
@media (max-width: 767px) { .home-2026 { --h26-gap: 3rem; } }

/* ---------- hero ---------- */
@media (min-width: 700px) {
  .h26-hero { padding: 2.25rem 0 2.25rem; }
  .h26-slide { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(2rem, 5vw, 4.5rem);
    padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); box-sizing: border-box; }
  .h26-slide-media { margin-right: 0; height: clamp(420px, 42vw, 560px); border-radius: var(--h26-radius); overflow: hidden;
    box-shadow: 0 10px 30px rgba(75, 26, 99, 0.10); }
  .h26-slide-media img { border-radius: var(--h26-radius); }
  /* text: same start line on every slide, so nothing jumps while the slides change */
  .h26-slide-copy { padding: 0; align-self: center; min-height: 21rem; display: flex; flex-direction: column; justify-content: flex-start; max-width: 34rem; }
  .h26-title { font-size: clamp(2.4rem, 3.6vw, 3.25rem); }
  .h26-actions { margin-top: 0.5rem; }
  /* dots under the text column, lined up with the buttons */
  .h26-dots { left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); right: auto; bottom: auto; top: calc(50% + 11.5rem);
    justify-content: flex-start; margin-left: -9px; }
}
@media (min-width: 700px) and (max-width: 899px) {
  .h26-slide-media { height: 400px; }
  .h26-slide-copy { min-height: 22rem; }
  .h26-dots { top: calc(50% + 11.75rem); }
}

/* ---------- trust strip: same width as everything else ---------- */
.h26-trust { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); padding-left: 0; padding-right: 0; box-sizing: border-box; }

/* ---------- sections: one rhythm ---------- */
.h26-section { max-width: var(--max); padding-top: var(--h26-gap); box-sizing: border-box; }
.h26-banner, .home-2026 > .h26-banner { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); margin-top: var(--h26-gap); }
.h26-banner { border-radius: 18px; overflow: hidden; isolation: isolate; }
.h26-banner-media { overflow: hidden; }
.h26-banner-media img { display: block; }
.home-2026 .h26-featured { max-width: var(--max); padding-top: var(--h26-gap); }

/* Featured designs: centred heading like the other sections (same words, same link) */
.home-2026 .h26-featured .section-head { flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; text-align: center; margin-bottom: 1.75rem; }
.home-2026 .h26-featured .section-head h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 5.6vw, 2.25rem); line-height: 1.15; color: var(--purple-deep);
  display: flex; flex-direction: column; align-items: center; }
.home-2026 .h26-featured .section-head h2::after { content: ""; display: block; width: 128px; height: 1px; margin-top: 0.75rem;
  background: linear-gradient(90deg, transparent 0, var(--purple-light) 0, var(--purple-light) 56px, transparent 56px, transparent 72px, var(--purple-light) 72px); opacity: 0.6; }
.home-2026 .h26-featured .section-link { font-weight: 700; }

/* ---------- phones ---------- */
@media (max-width: 599px) {
  .h26-tiles--3 .h26-tile-over { font-size: 1.08rem; padding: 1.6rem 0.4rem 0.7rem; }
}

/* Hero alignment on wide/laptop desktops (Nov 30 2026, owner: 'hero not aligned on full desktop'):
   text block centred on the photo, slider dots on the photo's bottom line and exactly on the text's left edge,
   photo height capped by the window height so the whole photo shows above the fold on 768px-high laptops. */
@media (min-width: 900px) {
  .h26-slide-media { height: clamp(400px, min(42vw, calc(100vh - 250px)), 560px); }
  .h26-slide-copy { min-height: 0; justify-content: center; }
  .h26-dots { top: auto; bottom: 2.25rem; margin-left: 0; }
}

/* Safari fix (her Mac screenshot: narrow text column, photo overlapping it): Safari sizes an `auto` grid column from the
   photo's natural width, not from height x aspect-ratio. Give the photo column and the photo an explicit width. */
@media (min-width: 700px) {
  .home-2026 { --h26-ph: 400px; }
  .h26-slide { grid-template-columns: minmax(0, 1fr) calc(var(--h26-ph) * 0.8); }
  .h26-slide-media { height: var(--h26-ph); width: calc(var(--h26-ph) * 0.8); min-width: 0; max-width: 100%; aspect-ratio: auto; }
  .h26-slide-media img { display: block; width: 100%; height: 100%; }
  .h26-slide-copy { min-width: 0; }
}
@media (min-width: 900px) {
  .home-2026 { --h26-ph: clamp(400px, min(42vw, calc(100vh - 250px)), 560px); }
}

/* Phones: no big empty band under the hero buttons (her report Nov 30 2026). The 3 slides stack in one grid cell, so the
   hero is as tall as the longest slide; shorter slides left ~100px of blank space + the dots row under their buttons.
   Dots now sit on the bottom edge of the photo, and each slide's text is centred in the space that is left. */
@media (max-width: 699px) {
  .h26-slide { display: flex; flex-direction: column; }
  .h26-slide-copy { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding-bottom: 1.75rem; }
  .h26-dots { top: calc(100vw * 1.25 - 2.6rem); bottom: auto; left: 50%; right: auto; transform: translateX(-50%);
    padding: 0 .35rem; border-radius: 999px; background: rgba(255, 255, 255, .78); }
}

/* Shop by Collection order on phones (her picture, Nov 30 2026): left column = Garlands, Gajray & Kaleeray,
   Floral Jewelry, Hair Accessories; right column = Bridal Bouquets, Boutonnieres, Corsages, Wedding & Event Florals. */
@media (max-width: 599px) {
  .h26-circles > .h26-circle:nth-child(1) { order: 1; } .h26-circles > .h26-circle:nth-child(5) { order: 2; }
  .h26-circles > .h26-circle:nth-child(2) { order: 3; } .h26-circles > .h26-circle:nth-child(6) { order: 4; }
  .h26-circles > .h26-circle:nth-child(3) { order: 5; } .h26-circles > .h26-circle:nth-child(7) { order: 6; }
  .h26-circles > .h26-circle:nth-child(4) { order: 7; } .h26-circles > .h26-circle:nth-child(8) { order: 8; }
}

/* Wedding Collection banner: 3 event buttons (Nov 30 2026) */
.h26-banner-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.h26-banner-copy .h26-banner-actions .btn { padding-left: 1.2rem; padding-right: 1.2rem; }
@media (max-width: 899px) { .h26-banner-actions { width: 100%; flex-direction: column; } .h26-banner-copy .h26-banner-actions .btn { width: 100%; } }
