/* ==========================================================================
   SASA Packaging — INNER PAGES (Products & Services, Category, Product detail)
   NEW file. Only loaded by those pages through @section('customstyle').
   Everything is scoped under ".sxi" so the landing page and every other CSS
   file stay untouched.  Uses the colour variables from sasa-premium.css.
   Delete this file + its <link> in a page to undo that page's new look.
   ========================================================================== */

.sxi {
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --sxi-r: 26px;
  --sxi-gap: 20px;
  --sxi-display: var(--sx-font-display, "Cormorant Garamond", Georgia, serif);
  color: var(--sx-text);
  overflow-x: clip;
}
.sxi *, .sxi *::before, .sxi *::after { box-sizing: border-box; }
.sxi a { text-decoration: none; }
.sxi img { max-width: 100%; display: block; }

/* ---------------------------------------------------------------- HERO */
.sxi-hero {
  position: relative; isolation: isolate;
  padding: clamp(52px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(246, 226, 233, 0.95), transparent 62%),
    radial-gradient(760px 420px at -6% 110%, rgba(184, 207, 179, 0.6), transparent 62%),
    var(--sx-ivory);
}
.sxi-hero::after { /* soft paper grain line at bottom */
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--sx-line-strong), transparent);
}
.sxi-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.sxi-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 0.86rem; color: var(--sx-muted); }
.sxi-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sx-sage-deep); }
.sxi-crumbs a { color: var(--sx-sage-ink); font-weight: 600; transition: color 0.2s; }
.sxi-crumbs a:hover { color: var(--sx-ink); }
.sxi-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--sx-sage-ink);
  font: 700 0.76rem/1.2 var(--sx-font-body); letter-spacing: 0.22em; text-transform: uppercase;
}
.sxi-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--sx-sage-deep); }
.sxi-h1 {
  margin: 0 0 18px; color: var(--sx-ink); font-family: var(--sxi-display); font-weight: 600;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em;
}
.sxi-h1 em { font-style: italic; color: var(--sx-sage-ink); }
.sxi-lead { max-width: 560px; margin: 0 0 26px; font-size: 1.06rem; line-height: 1.75; color: var(--sx-muted); }
.sxi-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sxi-stats li {
  padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--sx-line-strong);
  backdrop-filter: blur(6px); font-size: 0.88rem; color: var(--sx-muted);
}
.sxi-stats b { color: var(--sx-ink); font-family: var(--sx-font-head); font-size: 1.05rem; margin-right: 4px; }

/* split-word headline animation (JS wraps the words) */
.sxi-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.sxi-split .w > span { display: inline-block; transform: translateY(112%); animation: sxiUp 0.95s var(--ease) forwards; animation-delay: calc(var(--i) * 75ms + 120ms); }
@keyframes sxiUp { to { transform: none; } }

/* floating decor */
.sxi-float { position: absolute; z-index: -1; border-radius: 28px; pointer-events: none; will-change: transform; }
.sxi-float--a { width: 120px; height: 120px; top: 14%; left: 46%; background: linear-gradient(135deg, var(--sx-sage), rgba(184, 207, 179, 0.2)); transform: rotate(14deg); animation: sxiBob 9s ease-in-out infinite; }
.sxi-float--b { width: 74px; height: 74px; bottom: 12%; left: 4%; background: linear-gradient(135deg, var(--sx-blush), rgba(246, 226, 233, 0.3)); transform: rotate(-12deg); animation: sxiBob 11s ease-in-out -3s infinite; }
.sxi-float--c { width: 46px; height: 46px; top: 20%; right: 5%; border-radius: 50%; background: var(--sx-sage-deep); opacity: 0.35; animation: sxiBob 7s ease-in-out -1s infinite; }
@keyframes sxiBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }

/* hero visual: three overlapping arch cards */
.sxi-collage { position: relative; height: clamp(320px, 38vw, 480px); }
.sxi-arch {
  position: absolute; overflow: hidden; border-radius: 999px 999px 26px 26px; background: var(--sx-sage);
  box-shadow: 0 30px 60px rgba(31, 45, 34, 0.18); border: 6px solid #fff;
  opacity: 0; animation: sxiArch 1.1s var(--ease) forwards;
}
.sxi-arch img, .sxi-arch .sxi-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sxi-arch--1 { width: 46%; height: 78%; left: 4%; bottom: 0; animation-delay: 0.25s; }
.sxi-arch--2 { width: 42%; height: 64%; right: 2%; top: 0; animation-delay: 0.45s; }
.sxi-arch--3 { width: 34%; height: 40%; right: 12%; bottom: 0; animation-delay: 0.65s; border-radius: 26px; }
.sxi-arch--solo { width: min(78%, 400px); height: 100%; left: 50%; margin-left: calc(min(78%, 400px) / -2); bottom: 0; }
@keyframes sxiArch { from { opacity: 0; transform: translateY(60px) scale(0.94); } to { opacity: 1; transform: none; } }
.sxi-badge {
  position: absolute; z-index: 3; left: 0; bottom: 14%; padding: 12px 18px 12px 14px; display: flex; gap: 12px; align-items: center;
  border-radius: 18px; background: rgba(255, 255, 255, 0.92); box-shadow: var(--sx-shadow-md); font-size: 0.82rem; color: var(--sx-muted);
  animation: sxiBob 8s ease-in-out infinite;
}
.sxi-badge b { display: block; color: var(--sx-ink); font-family: var(--sx-font-head); font-size: 1rem; }
.sxi-badge i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--sx-sage-soft); color: var(--sx-sage-ink); }
.sxi-badge svg { width: 20px; height: 20px; }

/* ----------------------------------------------------------- PLACEHOLDER */
.sxi-media { position: absolute; inset: 0; overflow: hidden; background: var(--sx-sage-soft); }
.sxi-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s; }
.sxi-ph {
  position: absolute; inset: 0; display: none; place-items: center; color: rgba(255, 255, 255, 0.75);
  background: radial-gradient(120% 90% at 20% 0%, var(--g1), var(--g2));
}
.sxi-ph::before { /* dotted texture */
  content: ""; position: absolute; inset: 0; opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1.4px); background-size: 18px 18px;
}
.sxi-ph::after { /* moving sheen */
  content: ""; position: absolute; inset: -40%; background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.32) 50%, transparent 58%);
  transform: translateX(-60%); animation: sxiSheen 6s ease-in-out infinite;
}
@keyframes sxiSheen { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.sxi-ph__icon { position: relative; z-index: 1; width: 34%; max-width: 120px; min-width: 56px; height: auto; transition: transform 0.8s var(--ease); }
.is-empty .sxi-ph, .sxi-ph.is-on { display: grid; }
.sxi-tile:hover .sxi-ph__icon { transform: scale(1.12) rotate(-5deg); }
.sxi-c0 { --g1: #cfe0cb; --g2: #84a282; }
.sxi-c1 { --g1: #f9e9ef; --g2: #dba3b8; }
.sxi-c2 { --g1: #b8cfb3; --g2: #4d6b4f; }
.sxi-c3 { --g1: #fdf1f5; --g2: #b8cfb3; }
.sxi-c4 { --g1: #e2ecdf; --g2: #7f9a7d; }
.sxi-c5 { --g1: #f6e2e9; --g2: #c98aa3; }

/* ------------------------------------------------------------ SECTIONS */
.sxi-section { position: relative; padding: clamp(48px, 6vw, 84px) 0; }
.sxi-section--white { background: #fff; }
.sxi-section--blush { background: var(--sx-blush-tint); }
.sxi-wrap { width: min(1260px, calc(100% - 40px)); margin-inline: auto; }
.sxi-secthead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 34px; }
.sxi-secthead h2 { margin: 0; color: var(--sx-ink); font-family: var(--sxi-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.06; letter-spacing: -0.01em; }
.sxi-secthead h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 14px; border-radius: 2px; background: linear-gradient(90deg, var(--sx-sage), var(--sx-sage-deep)); }
.sxi-secthead p { margin: 0; max-width: 420px; color: var(--sx-muted); }

/* ----------------------------------------------------- PINTEREST GRID */
.sxi-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 8px; grid-auto-flow: dense; gap: var(--sxi-gap);
}
.sxi-tile {
  position: relative; display: block; grid-row: span var(--span, 12); border-radius: var(--sxi-r); overflow: hidden; isolation: isolate;
  background: var(--sx-sage-soft); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 12px 30px rgba(31, 45, 34, 0.1);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s var(--ease), box-shadow 0.5s var(--ease), opacity 0.6s var(--ease), filter 0.5s;
  will-change: transform;
}
.sxi-tile:hover { box-shadow: 0 30px 60px rgba(31, 45, 34, 0.22); z-index: 2; }
.sxi-tile:hover .sxi-media img { transform: scale(1.1); }
.sxi-tile::before { /* bottom vignette so photos always sit richly */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(31, 45, 34, 0) 55%, rgba(31, 45, 34, 0.34));
  opacity: 0.7; transition: opacity 0.5s;
}
.sxi-tile:hover::before { opacity: 1; }
.sxi-tile::after { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.34), transparent 60%);
}
.sxi-tile:hover::after { opacity: 1; }
.sxi-idx {
  position: absolute; z-index: 3; top: 16px; left: 16px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px); color: var(--sx-ink); font: 700 0.72rem/1.4 var(--sx-font-head); letter-spacing: 0.08em;
  opacity: 0; transform: translateY(-6px); transition: 0.45s var(--ease);
}
.sxi-tile:hover .sxi-idx, .sxi-tile:focus-visible .sxi-idx { opacity: 1; transform: none; }
.sxi-pill { position: absolute; z-index: 3; top: 16px; right: 16px; padding: 5px 12px; border-radius: 999px; background: var(--sx-ink); color: #fff; font: 600 0.74rem/1.3 var(--sx-font-body); }
.sxi-cap {
  position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 14px 13px 18px; border-radius: 18px; background: rgba(254, 250, 243, 0.88); backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 10px 24px rgba(31, 45, 34, 0.12);
  transition: transform 0.55s var(--ease), background 0.4s;
}
.sxi-tile:hover .sxi-cap { transform: translateY(-4px); background: rgba(255, 255, 255, 0.96); }
.sxi-cap__t { display: grid; gap: 2px; min-width: 0; }
.sxi-cap small { color: var(--sx-sage-ink); font: 700 0.66rem/1.2 var(--sx-font-body); letter-spacing: 0.14em; text-transform: uppercase; }
.sxi-cap strong { color: var(--sx-ink); font: 600 1rem/1.25 var(--sx-font-head); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sxi-go { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sx-sage-soft); color: var(--sx-sage-ink); transition: 0.5s var(--ease); }
.sxi-go svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.sxi-tile:hover .sxi-go { background: var(--sx-sage-deep); color: #fff; }
.sxi-tile:hover .sxi-go svg { transform: rotate(45deg); }

/* collection cards (categories) = uniform tall cards */
.sxi-grid--cards { grid-auto-rows: auto; }
.sxi-grid--cards .sxi-tile { grid-row: auto; aspect-ratio: 4 / 5; }
.sxi-grid--cards .sxi-cap strong { font-family: var(--sxi-display); font-size: 1.35rem; font-weight: 700; }

/* reveal on scroll (JS adds .sxi-in and sets the stagger delay) */
.sx-js .sxi-reveal { opacity: 0; transform: translateY(44px) scale(0.96); }
.sx-js .sxi-reveal.sxi-in { opacity: 1; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.sxi-tile.is-out { opacity: 0 !important; transform: scale(0.9) !important; pointer-events: none; }
.sxi-tile[hidden] { display: none; }

/* ------------------------------------------------------------- FILTER */
.sxi-filter { position: sticky; top: calc(var(--sx-header-h, 72px) + 10px); z-index: 20; margin: 0 0 30px; }
.sxi-filter__in {
  display: flex; gap: 8px; padding: 8px; overflow-x: auto; scrollbar-width: none; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); border: 1px solid var(--sx-line-strong); box-shadow: 0 10px 30px rgba(31, 45, 34, 0.08);
  width: fit-content; max-width: 100%; margin-inline: auto;
}
.sxi-filter__in::-webkit-scrollbar { display: none; }
.sxi-chip {
  flex: none; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--sx-muted); cursor: pointer;
  font: 600 0.88rem/1 var(--sx-font-body); white-space: nowrap; transition: 0.3s var(--ease);
}
.sxi-chip:hover { background: var(--sx-sage-soft); color: var(--sx-ink); }
.sxi-chip.is-active { background: linear-gradient(135deg, #93b091, var(--sx-sage-deep)); color: #fff; box-shadow: 0 8px 18px rgba(132, 162, 130, 0.4); }
.sxi-chip sup { margin-left: 5px; font-size: 0.68rem; opacity: 0.7; }
.sxi-empty { display: none; padding: 60px 20px; text-align: center; color: var(--sx-muted); }
.sxi-empty.is-on, .sxi-empty--static { display: block; }
.sxi-empty__ico { width: 84px; margin: 0 auto 14px; color: var(--sx-sage-deep); opacity: 0.8; }

/* other-category pills */
.sxi-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sxi-pills a { display: inline-flex; padding: 11px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--sx-line-strong); color: var(--sx-ink); font-weight: 600; font-size: 0.92rem; transition: 0.35s var(--ease); }
.sxi-pills a:hover, .sxi-pills a.is-current { background: var(--sx-sage-deep); border-color: var(--sx-sage-deep); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 22px rgba(132, 162, 130, 0.35); }

/* ---------------------------------------------------------- CTA BAND */
.sxi-cta {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
  padding: clamp(30px, 5vw, 60px); border-radius: 34px; color: #fff;
  background: radial-gradient(500px 260px at 100% 0%, rgba(184, 207, 179, 0.35), transparent 70%), linear-gradient(135deg, #2b3f2f, #3f5a42);
}
.sxi-cta::before, .sxi-cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.sxi-cta::before { width: 260px; height: 260px; right: -60px; bottom: -120px; background: rgba(246, 226, 233, 0.16); animation: sxiBob 10s ease-in-out infinite; }
.sxi-cta::after { width: 120px; height: 120px; left: 38%; top: -50px; background: rgba(184, 207, 179, 0.18); animation: sxiBob 8s ease-in-out -2s infinite; }
.sxi-cta h2 { margin: 0 0 10px; font-family: var(--sxi-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08; color: #fff; }
.sxi-cta p { margin: 0; max-width: 520px; color: rgba(255, 255, 255, 0.78); }
.sxi-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sxi-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; font: 700 0.95rem/1 var(--sx-font-body);
  letter-spacing: 0.02em; transition: 0.4s var(--ease); cursor: pointer;
}
.sxi-btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.sxi-btn:hover svg { transform: translateX(4px); }
.sxi-btn--solid { background: linear-gradient(135deg, var(--sx-sage), #9dbb99); color: var(--sx-ink); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.sxi-btn--solid:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28); color: var(--sx-ink); }
.sxi-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.sxi-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; transform: translateY(-3px); }
.sxi-btn--dark { background: var(--sx-forest); color: #fff; box-shadow: 0 10px 22px rgba(43, 63, 47, 0.3); }
.sxi-btn--dark:hover { transform: translateY(-3px); background: var(--sx-ink); color: #fff; }
.sxi-btn--line { background: #fff; border-color: var(--sx-line-strong); color: var(--sx-ink); }
.sxi-btn--line:hover { border-color: var(--sx-sage-deep); transform: translateY(-3px); color: var(--sx-ink); }

/* ------------------------------------------------------ PRODUCT DETAIL */
.sxi-pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.sxi-gal { position: sticky; top: calc(var(--sx-header-h, 72px) + 24px); }
.sxi-main {
  position: relative; aspect-ratio: 1 / 1; border-radius: 32px; overflow: hidden; background: var(--sx-sage-soft); cursor: zoom-in;
  border: 8px solid #fff; box-shadow: 0 30px 70px rgba(31, 45, 34, 0.16);
}
.sxi-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform 0.5s var(--ease), opacity 0.35s; }
.sxi-main:hover img { transform: scale(1.7); }
.sxi-main.is-swap img { opacity: 0; }
.sxi-main .sxi-ph { display: none; }
.sxi-main.is-empty .sxi-ph { display: grid; }
.sxi-zoomhint { position: absolute; z-index: 3; right: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--sx-ink); font: 600 0.76rem/1 var(--sx-font-body); transition: opacity 0.3s; }
.sxi-main:hover .sxi-zoomhint { opacity: 0; }
.sxi-thumbs { display: flex; gap: 12px; margin-top: 16px; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.sxi-thumb { flex: none; width: 84px; height: 84px; padding: 0; border-radius: 18px; overflow: hidden; border: 3px solid transparent; background: var(--sx-sage-soft); cursor: pointer; opacity: 0.7; transition: 0.35s var(--ease); }
.sxi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sxi-thumb:hover { opacity: 1; transform: translateY(-3px); }
.sxi-thumb.is-active { opacity: 1; border-color: var(--sx-sage-deep); box-shadow: 0 10px 20px rgba(132, 162, 130, 0.35); }

.sxi-info { padding-top: 6px; }
.sxi-tagrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.sxi-tag { padding: 7px 15px; border-radius: 999px; background: var(--sx-sage-soft); color: var(--sx-sage-ink); font: 700 0.74rem/1 var(--sx-font-body); letter-spacing: 0.1em; text-transform: uppercase; }
.sxi-tag--blush { background: var(--sx-blush); color: #8a4a62; }
.sxi-info h1 { margin: 0 0 12px; color: var(--sx-ink); font-family: var(--sxi-display); font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.015em; }
.sxi-info__sub { margin: 0 0 22px; font-size: 1.1rem; color: var(--sx-sage-ink); font-style: italic; font-family: var(--sxi-display); }
.sxi-prose { color: var(--sx-text); line-height: 1.85; font-size: 1.02rem; }
.sxi-prose > *:first-child { margin-top: 0; }
.sxi-prose h2, .sxi-prose h3, .sxi-prose h4 { margin: 1.4em 0 0.5em; color: var(--sx-ink); font-family: var(--sx-font-head); }
.sxi-prose ul { padding: 0; margin: 0 0 1em; list-style: none; }
.sxi-prose li { position: relative; padding: 4px 0 4px 28px; }
.sxi-prose li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 10px; border-radius: 3px; background: var(--sx-sage-deep); transform: rotate(45deg); }
.sxi-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.95rem; }
.sxi-prose td, .sxi-prose th { padding: 10px 12px; border-bottom: 1px solid var(--sx-line-strong); text-align: left; }
.sxi-prose img { height: auto; border-radius: 16px; }
.sxi-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.sxi-perk { padding: 16px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--sx-line); text-align: center; font-size: 0.84rem; font-weight: 600; color: var(--sx-ink); transition: 0.4s var(--ease); }
.sxi-perk:hover { transform: translateY(-5px); box-shadow: var(--sx-shadow-md); border-color: var(--sx-sage); }
.sxi-perk i { width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 12px; display: grid; place-items: center; background: var(--sx-sage-soft); color: var(--sx-sage-ink); }
.sxi-perk svg { width: 20px; height: 20px; }
.sxi-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* lightbox */
.sxi-lb { position: fixed; inset: 0; z-index: 9999; display: none; place-items: center; background: rgba(20, 30, 22, 0.92); backdrop-filter: blur(8px); }
.sxi-lb.is-on { display: grid; animation: sxiFade 0.3s; }
.sxi-lb img { max-width: min(92vw, 1100px); max-height: 88vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); animation: sxiPop 0.5s var(--ease); }
.sxi-lb button { position: absolute; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.6rem; cursor: pointer; transition: 0.3s; }
.sxi-lb button:hover { background: var(--sx-sage-deep); }
.sxi-lb__x { top: 22px; right: 22px; }
.sxi-lb__p { left: 22px; top: 50%; margin-top: -25px; }
.sxi-lb__n { right: 22px; top: 50%; margin-top: -25px; }
@keyframes sxiFade { from { opacity: 0; } }
@keyframes sxiPop { from { opacity: 0; transform: scale(0.92); } }

/* ----------------------------------------------------------- RESPONSIVE */
@media (max-width: 1100px) {
  .sxi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sxi-hero__grid { grid-template-columns: 1fr; }
  .sxi-collage { max-width: 560px; width: 100%; margin-inline: auto; }
  .sxi-pd { grid-template-columns: 1fr; }
  .sxi-gal { position: relative; top: 0; }
  .sxi-cta { grid-template-columns: 1fr; }
}
@media (min-width: 1101px) {
  .sxi-tile.is-feature { grid-column: span 2; grid-row: span 18; }
  .sxi-tile.is-feature .sxi-cap strong { font-size: 1.35rem; }
  .sxi-grid--cards .sxi-tile.is-feature { grid-column: auto; grid-row: auto; }
}
@media (max-width: 760px) {
  .sxi { --sxi-gap: 12px; --sxi-r: 20px; }
  .sxi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sxi-cap { left: 8px; right: 8px; bottom: 8px; padding: 10px 10px 10px 12px; border-radius: 14px; }
  .sxi-cap strong { font-size: 0.88rem; }
  .sxi-go { display: none; }
  .sxi-idx { display: none; }
  .sxi-badge { display: none; }
  .sxi-perks { grid-template-columns: 1fr; }
  .sxi-filter__in { border-radius: 24px; }
  .sxi-grid--cards .sxi-cap strong { font-size: 1.05rem; }
  .sxi-main { border-width: 5px; border-radius: 24px; }
}
@media (hover: none) { .sxi-main:hover img { transform: none; } .sxi-tile { transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .sxi *, .sxi *::before, .sxi *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .sx-js .sxi-reveal { opacity: 1; transform: none; }
  .sxi-split .w > span, .sxi-arch { transform: none; opacity: 1; }
}
