/*
 * Stündenglass home sections (config/homepage/sg-<region>.json): hero video, t3-h1-h2, t3-double-feature, collection
 * sliders, testimonials, collab banner, t3-feature-slides, t3-full-width-image-banner, t3-site-summary, t3-seo-juice.
 * Sizes from the t3 snippets' <style> blocks (767px breakpoint) and the live computed styles.
 */

/* ---------------- hero video ("Gravity Perfected"): text left and vertically centred from 768px, bottom-centre on phones */
.hero__title { color: #fff; font-family: var(--sg-font-montserrat); font-weight: 800; font-style: normal; text-transform: uppercase; letter-spacing: 0.025em; line-height: 1.1; font-size: 30px; text-shadow: 0 0 20px rgb(0 0 0 / 25%); margin: 0 0 24px; }
.hero__link .btn { font-family: var(--sg-font-montserrat); font-weight: 700; font-style: normal; text-transform: uppercase; letter-spacing: 6px; font-size: 16px; padding: 15px 45px; border-radius: 50px; background: #000; color: #fff; border: 1px solid #000; line-height: 1.4; }
.hero__link .btn:hover, .hero__link .btn:focus-visible { background: #fff; color: #000; border-color: #fff; }
.hero__content--sg-left { align-items: flex-end; justify-content: center; text-align: center; padding-bottom: 42px; }
.hero:has(.hero__content--sg-left)::after { background: rgb(0 0 0 / var(--hero-overlay, 0)); }
@media only screen and (min-width: 768px) {
  .hero__content--sg-left { align-items: center; justify-content: flex-start; text-align: left; padding-bottom: 0; }
  .hero__content--sg-left .page-width { width: 100%; }
  .hero__title { font-size: 60px; }
  .hero__link .btn { font-size: 18px; }
}

/* ---------------- t3-h1-h2 */
#t3-h1-h2 .t3-box h1 { font-size: 60px; font-weight: 400; margin: 0 auto 45px; line-height: 1.1; letter-spacing: 0.025em; }
#t3-h1-h2 .t3-box .h2 { font-family: var(--sg-font-montserrat); text-transform: none; font-style: normal; font-size: 24px; line-height: 1.6; font-weight: 400; max-width: 75%; margin: 0 auto; letter-spacing: 0.025em; }
@media only screen and (max-width: 767px) {
  #t3-h1-h2 .t3-box h1 { font-size: 32px; margin: 0 auto 15px; max-width: 90%; }
  #t3-h1-h2 .t3-box .h2 { font-size: 14px; max-width: 90%; }
}

/* ---------------- t3-double-feature */
#t3-double-feature .t3-container { margin: 30px auto 60px; }
#t3-double-feature .t3-vertical-box { align-items: center; text-align: center; }
#t3-double-feature img { border-radius: 10px; width: 100%; height: auto; display: block; }
#t3-double-feature h2 { font-weight: 700; font-size: 42px; margin: 30px 0 12px; }
#t3-double-feature p { font-size: 16px; margin: 0 0 24px; }
#t3-double-feature .t3-btn { margin: auto auto 0; }
@media only screen and (max-width: 992px) { #t3-double-feature h2 { font-size: 36px; } }
@media only screen and (max-width: 767px) {
  #t3-double-feature h2 { margin: 20px auto 15px; font-size: 24px; }
  #t3-double-feature p { font-size: 14px; }
  #t3-double-feature .t3-btn { margin-bottom: 30px; }
}

/* ---------------- collection sliders ("Best Selling ..."): grey square tiles, 3 per row from 768px, one on phones */
.t3-collection-slider h2.t3-collection-title { font-family: var(--sg-font-montserrat); font-size: 24px; text-transform: uppercase; letter-spacing: 0.025em; }
.t3-collection-slider .slide-item { padding: 0; border: 0; text-align: center; }
.t3-collection-slider .slide-item-img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 15px; background: var(--sg-tile); }
.t3-collection-slider .slide-item-grid h3 { margin: 0 auto 12px; font-size: 16px; }
.t3-collection-slider .slide-item-meta { min-height: 0; margin-top: 0; }
.t3-collection-slider .grid-product__tags { left: 15px; right: auto; top: 15px; }
.t3-collection-slider .carousel-arrow { top: 38%; }
@media only screen and (max-width: 767px) { .t3-collection-slider h2.t3-collection-title { font-size: 20px; } }
/* Collection slider header (design pass, Oct 2026; home and product pages). The long titles in 20 to 24px capitals ran to
   3 lines on phones next to a squeezed "View All". Now:
   - the title is a small tracked label, so the products lead; from 768px it sits over a thin rule with "Shop all" at the right
   - 768px and up: round outline arrows at the sides, level with the middle of the photos (outside the tiles once there is
     room, from 1400px; over the tile edges below that), and a thin line under the products that fills as you scroll
   - phones (no arrows, people swipe): the label is centred with no rule, and "Shop all" is an outline pill button under the products
   - product names under the tiles: a narrower measure, at most 2 even lines, then "…" (the full name is on the product page) */
.t3-collection-slider h2.t3-collection-title { font-size: 15px; font-weight: 600; letter-spacing: 0.18em; line-height: 1.4; margin: 0; }
/* names kept to a narrower measure than the tile (22em: about 290px on phones, 350px on desktop) in two even lines */
.t3-collection-slider .slide-item-grid h3, .t3-collection-slider .slide-item-grid h4 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 22em; text-wrap: balance; }
.t3-collection-slider .view-all { color: #000; text-decoration: none; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
@media only screen and (min-width: 768px) {
  .t3-collection-slider > .row.middle-xs { align-items: center; flex-wrap: nowrap; min-height: 61px; padding-bottom: 16px; margin: 0 0 22px; border-bottom: 1px solid #e5e5e5; }
  /* the same space above and below the label between the two rules (about 28px each; was 41px above, 22px below) */
  .collection-slider-hr { margin-bottom: 16px; }
  .t3-collection-slider > .row.middle-xs > div { padding-left: 0; padding-right: 0; } /* the rule lines up with the photos */
  .t3-collection-slider > .row.middle-xs > .col-xs-8 { flex: 1 1 0; max-width: none; }
  .t3-collection-slider > .row.middle-xs > .col-xs-4 { flex: 0 0 auto; max-width: none; white-space: nowrap; }
  .t3-collection-slider .view-all { display: inline-flex; align-items: center; font-size: 12px; min-height: 44px; padding: 12px 0; }
  /* the same thin chevron as inside the round arrows (icon-chevron-right, 16px, 1.5px line), drawn as a mask in the
     text colour; it is decoration, so nothing is read out. The -5px pulls the chevron's tip out to the end of the rule. */
  .t3-collection-slider .view-all::after { content: ""; flex: 0 0 16px; width: 16px; height: 16px; margin: 0 -5px 0 2px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='6'%3E%3Cpath d='m26 18 14 14-14 14'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='6'%3E%3Cpath d='m26 18 14 14-14 14'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
  /* Photos start 77px down (header row + rule + gap) and are a third of the track wide, less the 12px gaps. A margin-top
     in % is a share of the slider's width, so top + margin-top lands the arrow's middle on the middle of the photos. */
  .t3-collection-slider .carousel-arrow { top: 55px; margin-top: calc((100% - 24px) / 6); transform: none; width: 44px; height: 44px; border: 1px solid #000; box-shadow: none; background: #fff; }
  .t3-collection-slider .carousel-arrow--prev { left: 12px; }
  .t3-collection-slider .carousel-arrow--next { right: 12px; }
  /* the parent adds 24px above a slider with no rule line (home.css) */
  .t3-container > .t3-collection-slider:first-child .carousel-arrow { top: 79px; }
  /* progress line under the products, kept quiet (pale grey track, mid grey fill): the fill follows the scroll where
     the browser supports scroll-linked animation (Chrome, Edge, Safari 26), otherwise it stays a plain pale line */
  .t3-collection-slider::after { content: ""; display: block; height: 2px; margin-top: 28px; background: #f0f0f0; }
}
@media only screen and (min-width: 1400px) {
  .t3-collection-slider .carousel-arrow--prev { left: -68px; }
  .t3-collection-slider .carousel-arrow--next { right: -68px; }
}
@supports (animation-timeline: scroll()) and (timeline-scope: --a) {
  @media only screen and (min-width: 768px) {
    .t3-collection-slider { timeline-scope: --sg-slider; }
    .t3-collection-slider .item-slider { scroll-timeline: --sg-slider inline; }
    /* fully filled when it doesn't scroll (everything fits: the timeline is inactive and the animation doesn't apply) */
    .t3-collection-slider::after { background: linear-gradient(#999, #999) no-repeat 0 0 / 100% 100%, #f0f0f0; animation: sg-slider-progress linear both; animation-timeline: --sg-slider; }
  }
}
@keyframes sg-slider-progress { from { background-size: 25% 100%; } to { background-size: 100% 100%; } }
@media only screen and (max-width: 767px) {
  .t3-collection-slider { display: flex; flex-direction: column; }
  .t3-collection-slider > .row.middle-xs, .t3-collection-slider > .row.middle-xs > div { display: contents; }
  /* centred, like the "Shop all" button under the products, with no rule line; long titles break into two even lines.
     The extra 0.18em on the left balances the tracking after each line's last letter, so the text sits in the true centre. */
  .t3-collection-slider h2.t3-collection-title { order: 1; font-size: 13px; text-align: center; text-wrap: balance; padding: 0 24px 0 calc(24px + 0.18em); margin-bottom: 24px; border-bottom: 0; }
  .t3-collection-slider .item-slider { order: 2; }
  .t3-collection-slider .view-all { order: 3; align-self: center; display: inline-flex; align-items: center; min-height: 48px; margin-top: 24px; padding: 0 34px; border: 1px solid #000; border-radius: 50px; font-size: 13px; font-weight: 700; }
}

/* ---------------- testimonials ("From our community to you...") */
.home-section--testimonials .gpen-testimonials__title { font-family: var(--sg-font-montserrat); text-align: center; font-size: 30px; letter-spacing: -2px; text-transform: none; margin-bottom: 24px; }
.home-section--testimonials .gpen-testimonials__heading { font-family: var(--sg-font-montserrat); font-weight: 700; text-transform: uppercase; font-size: 18px; }
.home-section--testimonials .gpen-testimonials__text { font-family: var(--sg-font-montserrat); font-size: 14px; }
.home-section--testimonials .gpen-testimonials__author { text-transform: none; font-family: var(--sg-font-montserrat); }
.home-section--testimonials .gpen-testimonials__stars svg { fill: #000; }
@media only screen and (max-width: 767px) { .home-section--testimonials .gpen-testimonials__title { font-size: 22px; letter-spacing: var(--sg-display-tracking-phone); text-wrap: balance; } }

/* Reviews as quotes, not cards (design pass, Oct 2026). The shadowed white cards were clipped at the ends of the track and
   read as a generic widget. Now: no box; small stars; the review title as a small tracked label (like the slider labels);
   the quote larger; the name in small capitals under a short rule. Desktop shows three with thin dividers between them;
   tablets and phones show one at a time. Arrows match the collection sliders (44px outline circles); dots are 6px points
   (the 44px tap areas stay). */
.home-section--testimonials .gpen-testimonials__card { position: relative; padding: 8px 28px; background: none; border-radius: 0; box-shadow: none; }
.home-section--testimonials .gpen-testimonials__stars { margin-bottom: 18px; }
.home-section--testimonials .gpen-testimonials__stars svg { width: 13px; height: 13px; }
.home-section--testimonials .gpen-testimonials__heading { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; margin-bottom: 14px; }
.home-section--testimonials .gpen-testimonials__text { font-size: 16px; line-height: 1.6; margin: 0 auto 20px; max-width: 34em; }
.home-section--testimonials .gpen-testimonials__author { font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.home-section--testimonials .gpen-testimonials__author::before { content: ""; display: block; width: 24px; height: 1px; margin: 0 auto 14px; background: #000; }
.home-section--testimonials .slider-dots button::before { width: 6px; height: 6px; }
.home-section--testimonials .carousel-arrow { width: 44px; height: 44px; border: 1px solid #000; box-shadow: none; background: #fff; }
/* the "body" prefix outranks the phone body-copy size in sg.css: the quote stays a step above body copy */
@media only screen and (max-width: 767px) { body .home-section--testimonials .gpen-testimonials__text { font-size: 15px; } }
/* tablets: one review at a time (three made narrow, tall columns) */
@media only screen and (min-width: 768px) and (max-width: 1023px) { .home-section--testimonials .gpen-testimonials__card { flex-basis: 100%; } }
/* desktop: a thin line in the gap before each review; the track's clip hides the ones at its ends */
@media only screen and (min-width: 1024px) {
  .home-section--testimonials .gpen-testimonials__card::before { content: ""; position: absolute; left: -9px; top: 12px; bottom: 12px; width: 1px; background: #e5e5e5; }
  .home-section--testimonials .gpen-testimonials__track { clip-path: inset(0 10px); }
}

/* ---------------- collab banner (advanced-content image, desktop and phone crops) */
.sg-image-banner { display: block; }
.sg-image-banner img { width: 100%; height: auto; display: block; border-radius: 10px; }
.sg-image-banner--mobile { display: none; }
@media only screen and (max-width: 767px) {
  .sg-image-banner--desktop { display: none; }
  .sg-image-banner--mobile { display: block; padding: 0 15px; }
}

/* ---------------- t3-feature-slides ("fill. flip. repeat." / "portable on the go") */
#t3-feature-slides .sg-feature-slides__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
#t3-feature-slides .sg-feature-slides__track::-webkit-scrollbar { display: none; }
#t3-feature-slides .t3-slide-box { flex: 0 0 100%; scroll-snap-align: start; }
#t3-feature-slides .t3-slide-box > .row { margin: 0; align-items: center; }
#t3-feature-slides h2 { font-size: 140px; font-weight: 700; letter-spacing: -6px; line-height: 0.9; margin-bottom: 30px; }
#t3-feature-slides .t3-slide-text-box { padding-left: 33%; }
#t3-feature-slides img { width: 100%; height: auto; display: block; }
#t3-feature-slides .t3-btn.t3-mobile { margin: 15px auto; }
#t3-feature-slides hr.t3-mobile { margin: 0 auto 30px; max-width: 80%; }
#t3-feature-slides .slider-dots { margin-top: 12px; }
@media only screen and (max-width: 1660px) { #t3-feature-slides .t3-slide-text-box { padding-left: 24%; } #t3-feature-slides h2 { font-size: 120px; } }
@media only screen and (max-width: 1280px) { #t3-feature-slides h2 { font-size: 100px; } #t3-feature-slides .t3-slide-text-box { padding-left: 10%; } }
@media only screen and (max-width: 992px) { #t3-feature-slides h2 { font-size: 90px; } }
@media only screen and (max-width: 767px) {
  #t3-feature-slides h2 { font-size: 60px; text-align: center; letter-spacing: var(--sg-lockup-tracking-phone); }
  #t3-feature-slides .t3-slide-text-box { padding-left: 0; }
  #t3-feature-slides .t3-slide-box .t3-btn.t3-mobile { display: table; }
  /* photos run to both screen edges: the column's 8px padding left a white strip after the Modül photo's cropped arm */
  #t3-feature-slides picture { display: block; margin: 0 -8px; }
  /* no rule line above the section; hidden rather than removed, so the gap under the banner before it stays the same
     (the parent theme forces .t3-mobile to display with !important) */
  #t3-feature-slides hr.t3-mobile { visibility: hidden; }
}
/* tablet and desktop: the photo is the right-hand column, so it runs to the right screen edge (8px column padding left a
   white strip after the Modül photo's cropped arm, as on phones) */
@media only screen and (min-width: 768px) { #t3-feature-slides picture { display: block; margin-right: -8px; } }

/* ---------------- t3-full-width-image-banner ("Turn Your World Upside Down") */
#t3-full-width-banner h2 { font-size: 50px; text-transform: uppercase; text-align: center; margin: 0 auto 15px; }
#t3-full-width-banner img { border-radius: 240px 240px 0 0; width: 100%; height: auto; display: block; }
@media only screen and (max-width: 767px) {
  #t3-full-width-banner h2 { max-width: 66%; font-size: 24px; margin: 0 auto 30px; }
  #t3-full-width-banner img { border-radius: 60px 60px 0 0; }
}
#t3-full-width-banner.t3-fwb-square img { border-radius: 0; } /* SG CA: the image carries its own shape */
/* Tablet and desktop, design pass (Oct 2026): the photo stops at the content width, with the same 15px side margins as
   the product sliders and the collab banner, so their edges line up. Full width, it was stretched past the photo's own
   1440px on big screens (2,540px wide at 2560) and ran past every other section's edge. Phones stay edge to edge. */
@media only screen and (min-width: 768px) { #t3-full-width-banner img { width: calc(100% - 30px); max-width: 1170px; margin-left: auto; margin-right: auto; } }

/* ---------------- t3-site-summary ("Upgrade with the Modül") */
#t3-site-summary .row { margin: 0; }
#t3-site-summary .row > .col-xs-12:first-child { padding: 0; }
#t3-site-summary img { width: 100%; height: auto; display: block; }
/* tablet and desktop: the photo stays flat against the left edge and ends in a round pill end on the right, like the
   pill-shaped lifestyle banners (9999px: the right end is a half circle at any height). Phones keep the full photo. */
@media only screen and (min-width: 768px) { #t3-site-summary .row > .col-xs-12:first-child img { border-radius: 0 9999px 9999px 0; } }
#t3-site-summary h2 { letter-spacing: -6px; font-size: 80px; line-height: 1.1; margin: 0 0 20px; text-wrap: balance; } /* "Upgrade with / the Modül", not "Upgrade with the / Modül" */
#t3-site-summary p { font-size: 20px; margin-bottom: 30px; }
#t3-site-summary .t3-text-box { padding: 0 15%; }
/* tablet and small desktop (768 to 1439px): the 80px heading in the half-width column (less 15% padding each side) ran to
   4 lines at 768 ("Upgrade / with / the / Modül") and 3 up to 1439. The heading scales with the screen (44px at 768 to
   80px at 1440, where desktop keeps Shopify's size), the column padding drops to 6% and the lines are balanced. */
@media only screen and (min-width: 768px) and (max-width: 1439px) {
  #t3-site-summary .t3-text-box { padding: 0 6%; }
  #t3-site-summary h2 { font-size: clamp(44px, 5.55vw, 80px); letter-spacing: -0.05em; text-wrap: balance; }
}
@media only screen and (max-width: 767px) {
  #t3-site-summary .t3-text-box { padding: 0 15px; text-align: center; }
  #t3-site-summary h2 { font-size: 32px; margin: 20px auto 15px; letter-spacing: var(--sg-display-tracking-phone); text-wrap: balance; }
  #t3-site-summary p { font-size: 14px; }
}

/* ---------------- t3-seo-juice (desktop only on Shopify; kept on phones, smaller, so the copy is never hidden) */
#t3-seo-juice h2 { letter-spacing: -5px; max-width: 600px; margin: 30px auto; font-size: 50px; text-align: center; }
#t3-seo-juice p { font-size: 18px; margin-bottom: 30px; text-align: center; }
#t3-seo-juice .t3-btn { display: table; margin: 0 auto; }
@media only screen and (max-width: 767px) {
  #t3-seo-juice h2 { letter-spacing: var(--sg-display-tracking-phone); text-wrap: balance; font-size: 32px; }
  #t3-seo-juice p { font-size: 14px; }
}

/* hero title on two lines like Shopify's "Gravity<br>Perfected" (the config holds plain text) */
.hero__content--sg-left .hero__title { max-width: 8.6em; }
@media only screen and (max-width: 767px) { .hero__content--sg-left .hero__title { margin-left: auto; margin-right: auto; } }

/* phones: "Shop Modul" had 65px above it but only 30px before the next section's heading, so it read as part of that section.
   60px between the two sections lets the button close its own block. */
@media only screen and (max-width: 767px) { #t3-seo-juice h2 { margin-top: 60px; } } /* collapses with the 30px section margin above: 60px total */
