/* Cotturelle Home features · Fabric & Stitch Studio + Bridal & Room Set Builder */
.og-trust { display:flex; flex-wrap:wrap; justify-content:space-between; gap:18px; padding-block:26px; border-bottom:1px solid var(--line); font-weight:600; font-size:14px; color:var(--ink-2); }
.og-trust span { flex:1 1 155px; display:flex; align-items:center; gap:10px; }
.og-trust span::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--blush); border:1.5px solid var(--cocoa); flex:none; }

/* Signature 1: Fabric & Stitch Studio */
.ct-studio-grid { display:grid; grid-template-columns:1fr 1.15fr; gap:clamp(28px,5vw,72px); align-items:center; }
.ct-weave-list { display:grid; border-top:1px solid var(--line); }
.ct-weave-btn {
  display:grid; grid-template-columns:44px 1fr auto; align-items:center; gap:14px;
  padding:22px 10px; border-bottom:1px solid var(--line); text-align:start; position:relative;
  transition:background .35s var(--ease), padding .35s var(--ease);
}
.ct-weave-btn small { font-size:12px; font-weight:600; color:var(--cocoa); letter-spacing:.12em; }
.ct-weave-btn strong { font-family:var(--serif); font-size:clamp(22px,2.4vw,34px); font-weight:600; line-height:1.15; color:var(--ink); transition:color .3s; }
.ct-weave-btn span { font-size:12.5px; color:var(--muted); font-weight:500; white-space:nowrap; }
.ct-weave-btn::after { content:''; position:absolute; inset-inline:0; bottom:-1px; height:2px; background:var(--cocoa); transform:scaleX(0); transform-origin:left; transition:transform .55s var(--ease); }
[dir="rtl"] .ct-weave-btn::after { transform-origin:right; }
.ct-weave-btn.is-active { background:var(--cream-2); border-radius:16px; padding-inline:18px; }
.ct-weave-btn.is-active strong { color:var(--cocoa); }
.ct-weave-btn.is-active::after { transform:scaleX(1); }

.ct-weave-stage { position:relative; border-radius:24px; overflow:hidden; background:var(--cream-2); aspect-ratio:4/4.5; box-shadow:0 24px 60px -34px rgba(42,31,26,.28); }
.ct-weave-stage img { width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease); }
.ct-weave-card {
  position:absolute; inset-inline:18px; bottom:18px;
  background:rgba(255,253,249,.94); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border:1px solid var(--line); border-radius:18px; padding:22px; display:grid; gap:14px;
}
.is-touch .ct-weave-card { backdrop-filter:none; -webkit-backdrop-filter:none; background:rgba(255,253,249,.98); }
.ct-weave-card h3 { margin:0; font-family:var(--serif); font-size:clamp(22px,2vw,30px); font-weight:700; color:var(--ink); }
.ct-weave-card p { margin:0; font-size:14.5px; color:var(--muted); line-height:1.6; }
.ct-meters { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.ct-meter { font-size:11px; text-transform:uppercase; letter-spacing:.12em; font-weight:600; color:var(--ink-2); }
.ct-meter .dots { display:flex; gap:4px; margin-top:6px; }
.ct-meter .dots i { flex:1; height:5px; border-radius:99px; background:var(--line); }
.ct-meter .dots i.on { background:var(--cocoa); }
.ct-weave-card .btn { height:46px; padding:0 20px; font-size:13.5px; justify-self:start; }

/* Signature 2: Bridal & Room Set Builder */
.ct-builder-wrap { background:var(--white); border:1px solid var(--line); border-radius:26px; padding:clamp(22px,4vw,44px); }
.og-bundle { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin-top:28px; }
.og-bundle fieldset { min-width:0; margin:0; padding:18px; border:1px solid var(--line); border-radius:20px; background:var(--cream); }
.og-bundle legend { padding-inline:10px; font-family:var(--serif); font-size:20px; font-weight:700; color:var(--ink); }
.og-bundle-card { display:flex; align-items:center; gap:12px; padding:12px 0; cursor:pointer; }
.og-bundle-card + .og-bundle-card { border-top:1px solid var(--line); }
.og-bundle-card img { width:64px; height:80px; object-fit:cover; border-radius:12px; background:var(--cream-2); flex:none; }
.og-bundle-card input { accent-color:var(--cocoa); flex:none; width:18px; height:18px; }
.og-bundle-card span { font-weight:600; font-size:14.5px; line-height:1.35; }
.og-bundle-card small { display:block; font-weight:500; margin-top:4px; color:var(--cocoa); }

.ct-gift-opt {
  margin-top:22px; padding:16px 20px; border-radius:18px;
  background:var(--cocoa-2); border:1px solid var(--blush);
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; cursor:pointer;
}
.ct-gift-opt label { display:flex; align-items:center; gap:12px; cursor:pointer; font-weight:600; color:var(--ink); }
.ct-gift-opt input { width:20px; height:20px; accent-color:var(--cocoa); }
.ct-gift-opt small { color:var(--ink-2); font-weight:500; }

.og-bundle-total { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:24px; padding-top:24px; border-top:1px solid var(--line); }
.og-bundle-total strong { font-family:var(--serif); font-size:32px; margin-inline:14px; color:var(--ink); }
.og-bundle-total s { color:var(--muted); font-size:18px; }
.og-bundle-total small { display:block; margin-top:6px; color:var(--cocoa); font-weight:600; }

/* Dark brand pillars banner (editorial couture rhythm) */
.ct-pillars { background:var(--cocoa-deep); color:var(--cream); border-radius:26px; padding:clamp(32px,5vw,68px); display:grid; grid-template-columns:1.1fr 1.2fr; gap:36px; align-items:center; position:relative; overflow:hidden; }
.ct-pillars::after { content:''; position:absolute; right:-80px; top:-80px; width:280px; height:280px; border-radius:50%; border:1px dashed rgba(212,180,131,.28); pointer-events:none; }
.ct-pillars .eyebrow { color:var(--gold); }
.ct-pillars .lead { color:rgba(250,246,240,.76); }
.ct-pillars-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ct-pillar { background:rgba(250,246,240,.06); border:1px solid rgba(250,246,240,.14); border-radius:18px; padding:20px; }
.ct-pillar b { display:block; font-family:var(--serif); font-size:22px; font-weight:600; color:var(--gold); margin-bottom:6px; }
.ct-pillar p { margin:0; font-size:14px; color:rgba(250,246,240,.78); line-height:1.55; }

/* Reviews, values, stats, shop, PDP helpers */
.og-review-grid, .og-values, .og-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.og-review-grid .review { width:auto; min-width:0; }
.og-review-grid .review h3 { margin:12px 0 8px; font-family:var(--serif); font-size:22px; font-weight:700; }
.og-values article { border-top:1px solid var(--line); padding-top:24px; }
.og-values h3 { font-family:var(--serif); font-size:26px; font-weight:700; margin:0 0 8px; }
.og-stats strong { display:block; font:700 clamp(52px,7.5vw,92px) var(--serif); color:var(--cocoa); line-height:1; }
.og-stats span { display:block; margin-top:8px; color:var(--muted); }
.og-price-filter { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.og-price-filter input { width:100px; padding:10px; background:var(--white); border:1px solid var(--line); border-radius:10px; color:var(--ink); font:inherit; }
.og-shop-grid { padding-block:32px 120px; }
.og-compat { display:flex; gap:8px; flex-wrap:wrap; margin-block:18px; }
.og-compat span { background:var(--cream-2); border:1px solid var(--line); border-radius:999px; padding:6px 14px; font-size:13px; font-weight:500; }
.og-warranty { margin-block:22px; border-inline-start:3px solid var(--cocoa); padding:18px 22px; background:var(--white); border-radius:0 16px 16px 0; }
.og-warranty a { text-decoration:underline; text-underline-offset:4px; color:var(--cocoa); font-weight:600; }
.og-product-bundle { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:24px; border:1px solid var(--line); border-radius:20px; margin-bottom:32px; background:var(--white); }
.og-product-wish { position:static; width:54px; height:54px; flex:none; border:1px solid var(--line); }
.og-product-wish.is-on { background:var(--cocoa); border-color:var(--cocoa); color:var(--white); }
.og-product-wish.is-on svg { fill:currentColor; }
.og-card-link { display:block; position:absolute; inset:0; }
.pcard__wish, .pcard__add { z-index:3; }
.pcard__badge { z-index:2; pointer-events:none; }
.og-orbit-dot { fill:var(--blush); }
.og-hero-dot { position:absolute; left:88.3%; top:17.9%; width:20px; height:20px; margin:-10px; border-radius:50%; background:var(--blush); border:3px solid var(--accent); }
.og-slide-dot { position:relative; width:40px; height:40px; display:grid; place-items:center; }
.og-slide-dot i { width:8px; height:8px; border-radius:50%; background:var(--ui); opacity:.55; transition:transform .3s, opacity .3s; }
.og-slide-dot.is-on i { transform:scale(1.45); opacity:1; }
.og-slide-dot svg { position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
.og-slide-dot circle { fill:none; stroke:var(--uiacc); stroke-width:1.5; stroke-dasharray:114; stroke-dashoffset:114; }
.success.og-success-open { clip-path:none; }
.success #okMono { width:110px; height:110px; margin:auto; }
.success a { margin-top:24px; }
.hs__arrows #hsPause { width:auto; border-radius:999px; font:600 12px var(--sans); padding-inline:14px; }
.hslide[inert] { pointer-events:none; }
.hslide__ring svg circle { stroke:var(--accent); stroke-dasharray:5 4; }
.gallery__main #gimg { transition:transform .25s ease; }
.toolbar { flex-wrap:wrap; gap:18px; }
.toolbar__left { flex-wrap:wrap; }
.pinfo .field { margin-block:18px; }
.crumbs { margin-top:28px; }
main.wrap { padding-bottom:100px; }
.pdp + .section .wrap { padding-inline:0; }
.co .form { padding:0; background:none; border:0; }
.co .summary h3 { font:600 14px var(--sans); }
.co .pay-opts label { cursor:pointer; }
.co #place { margin-top:24px; }
.buy { flex-wrap:wrap; }
button:disabled { opacity:.45; cursor:not-allowed; }
[hidden] { display:none !important; }
:is(a,button,input,textarea,select,summary):focus-visible { outline:2.5px solid var(--cocoa); outline-offset:3px; }
[dir="rtl"] .og-warranty { border-radius:16px 0 0 16px; }
[dir="rtl"] :is(.ct-weave-btn strong,.ct-weave-card h3,.og-stats strong,.og-values h3,.og-review-grid .review h3,.ct-pillar b) { line-height:1.48; letter-spacing:0; }

/* Cohesive warm cotton grading across all photography */
.pcard__media img, .cat img, .hslide__arch img, .ct-weave-stage img, .duo__card img {
  filter: sepia(6%) saturate(96%) brightness(101%) contrast(98%);
}

@media(max-width:1000px) {
  .ct-studio-grid, .ct-pillars { grid-template-columns:1fr; }
  .og-bundle { gap:14px; }
  .og-bundle-card { flex-wrap:wrap; }
}
@media(max-width:760px) {
  .og-bundle, .og-review-grid, .og-values, .ct-pillars-grid { grid-template-columns:1fr; }
  .ct-weave-stage { aspect-ratio:4/5; }
  .ct-weave-card { position:static; border-radius:0 0 22px 22px; border-top:0; }
  .ct-weave-stage { overflow:visible; display:grid; }
  .ct-weave-stage img { height:320px; border-radius:22px 22px 0 0; }
  .og-bundle-card { flex-wrap:nowrap; }
  .og-bundle-total, .og-product-bundle { flex-direction:column; align-items:stretch; }
  .og-stats { gap:14px; }
  .og-stats span { font-size:13px; }
  .og-trust { gap:14px; font-size:13px; }
  .hs__arrows { gap:6px; }
  .og-hero-dot { width:14px; height:14px; margin:-7px; }
  .ct-weave-btn strong { font-size:22px; }
  .ct-meters { grid-template-columns:1fr; gap:10px; }
  .buy .btn { min-width:0; flex:1; padding-inline:16px; white-space:normal; }
  .sticky-buy { bottom:52px; gap:8px; }
  .sticky-buy .btn { padding-inline:14px; font-size:12px; }
}
/* Prevent floating concept pill from overlapping hero slide counter */
.hs__ui { bottom: 54px; }
.concept-pill {
  font-size: 11px; padding: 6px 13px; bottom: 10px; opacity: .96;
  background: var(--cocoa-deep); color: var(--cream);
  border: 1px solid rgba(212, 180, 131, .45);
  box-shadow: 0 8px 24px -10px rgba(36, 26, 22, .45);
}

/* ==========================================================
   MOBILE-FIRST HORIZONTAL CAROUSELS & SHORT SCROLL (WhatsApp preview)
   ========================================================== */
@media(max-width:760px) {
  /* Shorter, tighter vertical rhythm on phones */
  .section { padding: 48px 0; }
  .sec-head { margin-bottom: 22px; gap: 12px; }
  .sec-head .h-lg { font-size: clamp(24px, 6.8vw, 34px); }
  .lead { font-size: 14.5px; }

  /* Trust strip -> single horizontal swipeable pill row */
  .og-trust {
    flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding-block: 16px;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .og-trust::-webkit-scrollbar { display: none; }
  .og-trust span {
    flex: none; white-space: nowrap; scroll-snap-align: start;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 14px; font-size: 12.5px;
  }

  /* Categories -> horizontal swipe carousel with peek of next card */
  .cats {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat, .cat:nth-child(n) {
    flex: none; width: 76vw; max-width: 300px; min-height: 245px;
    scroll-snap-align: start; border-radius: 18px;
  }
  .cat__body { padding: 18px; }
  .cat__body h3 { font-size: 21px; }
  .cat__body p { font-size: 12.5px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cat__go { width: 38px; height: 38px; opacity: 1; transform: none; }

  /* Home product showcase -> horizontal swipe carousel (2nd card peeks cleanly) */
  #homeGrid.grid {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 8px; margin-top: 18px;
  }
  #homeGrid.grid::-webkit-scrollbar { display: none; }
  #homeGrid.grid .pcard { flex: none; width: 62vw; max-width: 240px; scroll-snap-align: start; }

  /* Fabric & Stitch Studio -> horizontal pill selector + compact stage */
  .ct-studio-grid { gap: 16px; }
  .ct-weave-list {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; border-top: 0;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .ct-weave-list::-webkit-scrollbar { display: none; }
  .ct-weave-btn {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--white); scroll-snap-align: start; white-space: nowrap;
  }
  .ct-weave-btn::after { display: none; }
  .ct-weave-btn small { font-size: 11px; }
  .ct-weave-btn strong { font-size: 14px; font-family: var(--sans); font-weight: 600; }
  .ct-weave-btn span { display: none; }
  .ct-weave-btn.is-active { background: var(--cocoa); border-color: var(--cocoa); color: var(--white); padding-inline: 14px; border-radius: 999px; }
  .ct-weave-btn.is-active small, .ct-weave-btn.is-active strong { color: var(--white); }
  .ct-weave-stage img { height: 240px; }
  .ct-weave-card { padding: 16px; gap: 10px; }
  .ct-weave-card h3 { font-size: 20px; }
  .ct-weave-card p { font-size: 13.5px; }
  .ct-meters { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ct-meter { font-size: 10px; }

  /* Brand pillars dark card -> compact horizontal swipe row */
  .ct-pillars { padding: 24px 18px; gap: 18px; border-radius: 20px; }
  .ct-pillars-grid {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ct-pillars-grid::-webkit-scrollbar { display: none; }
  .ct-pillar { flex: none; width: 72vw; max-width: 260px; scroll-snap-align: start; padding: 16px; }
  .ct-pillar b { font-size: 18px; }
  .ct-pillar p { font-size: 13px; }

  /* Room & Bridal Set Builder -> horizontal swipe step cards */
  .ct-builder-wrap { padding: 20px 16px; border-radius: 20px; }
  .og-bundle {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px; margin-top: 16px;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .og-bundle::-webkit-scrollbar { display: none; }
  .og-bundle fieldset { flex: none; width: 82vw; max-width: 310px; scroll-snap-align: start; padding: 14px; }
  .og-bundle legend { font-size: 17px; }
  .og-bundle-card { padding: 10px 0; }
  .og-bundle-card img { width: 52px; height: 64px; }
  .og-bundle-card span { font-size: 13.5px; }
  .ct-gift-opt { padding: 12px 14px; margin-top: 14px; font-size: 13px; }
  .og-bundle-total { margin-top: 16px; padding-top: 16px; gap: 14px; }
  .og-bundle-total strong { font-size: 24px; }

  /* Editorial Duo -> horizontal swipe cards */
  .duo {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .duo::-webkit-scrollbar { display: none; }
  .duo__card { flex: none; width: 82vw; max-width: 320px; min-height: 310px; padding: 20px; scroll-snap-align: start; border-radius: 20px; }
  .duo__card .h-md { font-size: 22px; margin-bottom: 8px; }
  .duo__card p { font-size: 13px; margin-bottom: 14px; }
  .duo__card .btn { height: 42px; padding: 0 18px; font-size: 13px; }

  /* Illustrative Reviews -> horizontal swipe cards */
  .og-review-grid {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .og-review-grid::-webkit-scrollbar { display: none; }
  .og-review-grid .review { flex: none; width: 80vw; max-width: 300px; scroll-snap-align: start; padding: 20px; }
  .og-review-grid .review h3 { font-size: 18px; }
  .og-review-grid .review p { font-size: 14px; margin: 10px 0 14px; }

  /* Compact footer on mobile */
  .footer { padding: 48px 0 64px; }
  .footer__top { gap: 24px; }
  .footer__giant { margin: 36px 0 18px; }
}

/* Extra polish for 320px-420px compact phones */
@media(max-width:900px) {
  .hslide__grid { padding-bottom: 98px; }
  .hslide__arch { width: min(46vw, 24svh); }
  .hslide__ring { width: min(62vw, 32svh); }
  .hs__ui { bottom: 42px; }
}
@media(max-width:420px) {
  .hs__ui { bottom: 44px; }
  .header__bar { gap: 4px; }
  .brand { gap: 6px; }
  .brand img { height: 30px; }
  .brand__txt b { font-size: 14.5px; white-space: nowrap; }
  .icon-btn { width: 38px; height: 38px; }
  .lang { height: 30px; min-width: 38px; padding: 0 8px; font-size: 11.5px; margin-inline-end: 2px; }
  .concept-pill { font-size: 10px; padding: 4px 10px; bottom: 8px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; padding-inline-end: 12px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { white-space: nowrap; flex: none; padding: 0 12px; font-size: 12.5px; }
  .pcard__badge { top: 8px; left: 8px; font-size: 9px; padding: 4px 8px; }
  [dir="rtl"] .pcard__badge { left: auto; right: 8px; }
  .pcard__wish { top: 8px; right: 8px; width: 32px; height: 32px; }
  [dir="rtl"] .pcard__wish { right: auto; left: 8px; }
  .pcard__wish svg { width: 15px; height: 15px; }
  .pcard__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .price { white-space: nowrap; font-size: 13.5px; }
  .price s { font-size: 11.5px; }
  .pcard__name { font-size: 15px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
