/* New isolated review archive widget. No global theme/Elementor selectors. */
.ttc-reviews{--ttc-green:#254735;--ttc-ink:#172820;background:#f7f9f6;color:var(--ttc-ink);padding:72px 0 82px;font-family:'Hind Siliguri',sans-serif;position:relative;isolation:isolate}
.ttc-reviews *, .ttc-reviews *:before,.ttc-reviews *:after{box-sizing:border-box}
.ttc-wrap{width:90%;max-width:1300px;margin:0 auto;min-width:0}
.ttc-header{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:30px}
.ttc-header__text{min-width:0;max-width:850px}
.ttc-eyebrow{display:flex;align-items:center;gap:10px;color:var(--ttc-green);font:700 11px/1.5 'DM Sans',sans-serif;letter-spacing:.14em;margin:0 0 14px}
.ttc-eyebrow span{width:24px;height:1px;background:currentColor}
.ttc-title{color:var(--ttc-ink)!important;font:700 clamp(30px,3.4vw,48px)/1.27 'Hind Siliguri',sans-serif!important;letter-spacing:-.025em!important;margin:0 0 10px!important}
.ttc-description{color:#5b6b60!important;font:400 16px/1.75 'Hind Siliguri',sans-serif!important;margin:0!important}
.ttc-header__side{display:flex;align-items:center;gap:16px;flex:none;padding-bottom:2px}
.ttc-video-count{font:600 14px/1.4 'Hind Siliguri',sans-serif;color:var(--ttc-green);white-space:nowrap;border:1px solid #d7e5db;border-radius:100px;padding:9px 13px}
.ttc-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;min-width:0}
.ttc-card{background:#fff;border:1px solid #e3e9e2;border-radius:15px;overflow:hidden;min-width:0;box-shadow:0 5px 22px rgba(15,45,28,.035)}
.ttc-card[hidden]{display:none!important}
.ttc-card__media{aspect-ratio:9/16;position:relative;background:linear-gradient(145deg,#204532,#13291e);overflow:hidden;min-height:0}
.ttc-card__media iframe{display:block;width:100%!important;height:100%!important;border:0!important;margin:0!important;padding:0!important;max-width:none!important;aspect-ratio:9/16}
.ttc-bottom{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:34px;flex-wrap:wrap}
.ttc-more{background:var(--ttc-green)!important;border:1px solid var(--ttc-green)!important;border-radius:8px!important;color:#fff!important;padding:13px 24px!important;font:700 15px/1.5 'Hind Siliguri',sans-serif!important;cursor:pointer;min-height:48px}
.ttc-more:hover{background:#102d20!important}
.ttc-card__action{padding:12px;background:#fff;border-top:1px solid #e7eee7}
.ttc-card__shop{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;padding:11px 14px;background:var(--ttc-green)!important;color:#fff!important;border:1px solid var(--ttc-green)!important;border-radius:8px!important;text-align:center;text-decoration:none!important;font:700 14px/1.4 'Hind Siliguri',sans-serif!important;transition:background-color .18s ease,border-color .18s ease;color:#fff!important}
.ttc-card__shop:visited{color:#fff!important}
.ttc-card__shop:hover,.ttc-card__shop:focus-visible{background:#143524!important;border-color:#143524!important;color:#fff!important;text-decoration:none!important}
.ttc-card__shop span{font-family:Arial,sans-serif;font-size:19px;line-height:1;display:inline-block;flex:none}
.ttc-bottom[hidden]{display:none!important}
.ttc-arrows{display:flex;gap:8px}
.ttc-arrow{width:42px;height:42px;min-height:0!important;padding:0!important;display:grid;place-items:center;border-radius:50%!important;background:#fff!important;border:1px solid #bdcebf!important;color:var(--ttc-green)!important;font:700 20px/1 'DM Sans',sans-serif!important;cursor:pointer}
.ttc-arrow:disabled{opacity:.35;cursor:default}
.ttc-arrow:not(:disabled):hover{background:var(--ttc-green)!important;color:white!important}
.ttc-reviews--carousel .ttc-list{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 3*22px)/4);gap:22px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px 1px 8px}
.ttc-reviews--carousel .ttc-list::-webkit-scrollbar{display:none}
.ttc-reviews--carousel .ttc-card{scroll-snap-align:start}
@media(max-width:1100px){.ttc-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.ttc-reviews--carousel .ttc-list{grid-auto-columns:calc((100% - 2*17px)/3);gap:17px}}
@media(max-width:800px){.ttc-wrap{width:90%}.ttc-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ttc-reviews--carousel .ttc-list{grid-auto-columns:calc((100% - 16px)/2);gap:16px}.ttc-header__side{align-self:end}}
@media(max-width:600px){.ttc-reviews{padding:52px 0 65px}.ttc-wrap{width:92%}.ttc-header{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:22px}.ttc-title{font-size:clamp(29px,7.4vw,36px)!important}.ttc-description{font-size:14px!important}.ttc-header__side{align-self:stretch;justify-content:space-between}.ttc-list{grid-template-columns:1fr;gap:18px}.ttc-card{max-width:420px;width:100%;margin:0 auto}.ttc-reviews--carousel .ttc-list{grid-auto-columns:min(77vw,345px);gap:13px;scroll-padding-inline:0}.ttc-reviews--carousel .ttc-card{max-width:none}.ttc-bottom{gap:10px;margin-top:25px}.ttc-more{font-size:14px!important;width:100%;text-align:center}.ttc-card__action{padding:10px}.ttc-card__shop{min-height:43px;font-size:14px!important}}
@media(prefers-reduced-motion:reduce){.ttc-reviews *{scroll-behavior:auto!important;transition:none!important}}

/* V138: Pre-paint staging prevents first-visible -> hide -> reveal flicker.
 * The matching critical opacity/transform rules are also printed in wp_head.
 * Position stays in normal flow throughout; no height shift, zoom or blur. */
@media (prefers-reduced-motion: no-preference) {
  html.ttc-preflight .ttc-reviews[data-entry-animation="yes"]:not(.ttc-motion-off) .ttc-header:not(.ttc-visible),
  html.ttc-preflight .ttc-reviews[data-entry-animation="yes"]:not(.ttc-motion-off) .ttc-card:not([hidden]):not(.ttc-visible),
  html.ttc-preflight .ttc-reviews[data-entry-animation="yes"]:not(.ttc-motion-off) .ttc-bottom:not([hidden]):not(.ttc-visible) {
    opacity: 0 !important;
    transform: translate3d(0,24px,0) !important;
  }
  html.ttc-preflight .ttc-reviews[data-entry-animation="yes"] .ttc-reveal {
    transition-property: opacity, transform !important;
    transition-duration: 850ms, 850ms !important;
    transition-timing-function: cubic-bezier(.22,1,.36,1), cubic-bezier(.22,1,.36,1) !important;
    transition-delay: var(--ttc-motion-delay, 0ms) !important;
    backface-visibility: hidden;
  }
  html.ttc-preflight .ttc-reviews[data-entry-animation="yes"] .ttc-reveal.ttc-visible {
    opacity: 1 !important;
    transform: translate3d(0,0,0) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ttc-reviews .ttc-reveal {opacity:1 !important;transform:none !important;filter:none !important;transition:none !important;}
}
/* v159: customer review tabs + image evidence gallery. */
.ttc-reviews .ttc-tabs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 28px;padding:6px;background:#ebf1eb;border:1px solid #dce7dc;border-radius:14px;width:max-content;max-width:100%}
.ttc-reviews .ttc-tab{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:0!important;background:transparent!important;color:#315342!important;padding:12px 22px!important;min-height:48px;border-radius:10px!important;font:700 16px/1.4 'Hind Siliguri',sans-serif!important;cursor:pointer;white-space:nowrap;transition:background .2s,color .2s,box-shadow .2s}
.ttc-reviews .ttc-tab span{font-size:12px;opacity:.85}
.ttc-reviews .ttc-tab.is-active,.ttc-reviews .ttc-tab[aria-selected="true"]{background:#254735!important;color:#fff!important;box-shadow:0 5px 15px rgba(20,55,30,.14)!important}
.ttc-reviews .ttc-tab:focus-visible{outline:3px solid #c2a35d!important;outline-offset:2px}
.ttc-reviews [data-ttc-panel][hidden]{display:none!important}
.ttc-reviews .ttc-screenshot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ttc-reviews .ttc-screenshot-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e1e9df;border-radius:14px;box-shadow:0 5px 20px rgba(0,0,0,.045);transition:transform .2s,box-shadow .2s}
.ttc-reviews .ttc-screenshot-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,0,0,.09)}
.ttc-reviews .ttc-screenshot-card img{display:block;width:100%;height:300px;object-fit:contain;object-position:top center;background:#f5f7f3;padding:8px}
.ttc-reviews .ttc-screenshot-caption{display:flex;justify-content:space-between;gap:10px;padding:13px 15px;color:#254735;font:600 14px/1.5 'Hind Siliguri',sans-serif}
.ttc-reviews .ttc-screenshot-empty{padding:55px 20px;background:#fff;border:1px dashed #bdd2c2;text-align:center;border-radius:14px;color:#627568}
@media(max-width:1100px){.ttc-reviews .ttc-screenshot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.ttc-reviews .ttc-screenshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}}
@media(max-width:600px){.ttc-reviews .ttc-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:22px}.ttc-reviews .ttc-tab{padding:11px 7px!important;font-size:13px!important;white-space:normal}.ttc-reviews .ttc-screenshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ttc-reviews .ttc-screenshot-card img{height:215px}.ttc-reviews .ttc-screenshot-caption{font-size:12px;padding:10px}}

/* v163 — Reviews page: reuse the site's aloe artwork as a soft, full-width
   botanical backdrop. Avoid a rectangular panel behind heading/tabs. */
.ttc-reviews--grid{overflow:hidden}
.ttc-reviews--grid::before{
  content:"";position:absolute;z-index:0;pointer-events:none;
  inset:0 0 auto 0;height:min(680px,78vw);
  background-image:url('../images/decor/aloe-vera-full-section-v37.webp');
  background-position:center top;background-repeat:no-repeat;background-size:cover;
  opacity:.24;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 34%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 34%,transparent 100%);
}
.ttc-reviews--grid > .ttc-wrap{position:relative;z-index:1}
@media(max-width:767px){
 .ttc-reviews--grid::before{
   height:540px;
   background-image:url('../images/decor/aloe-vera-full-section-mobile-v37.webp');
   background-position:center top;opacity:.19;
   -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 24%,transparent 85%);
   mask-image:linear-gradient(to bottom,#000 0%,#000 24%,transparent 85%);
 }
}

/* v164 — Screenshot cards use the same product CTA as video cards; no caption text. */
.ttc-reviews .ttc-screenshot-card__image{display:block;flex:1;min-width:0;overflow:hidden;text-decoration:none!important}
.ttc-reviews .ttc-screenshot-card__image:focus-visible{outline:2px solid var(--ttc-green);outline-offset:-3px}
.ttc-reviews .ttc-screenshot-card .ttc-card__action{padding:12px;background:#fff}
.ttc-reviews .ttc-screenshot-card .ttc-card__shop{min-height:47px}
@media(max-width:600px){.ttc-reviews .ttc-screenshot-card .ttc-card__action{padding:8px}.ttc-reviews .ttc-screenshot-card .ttc-card__shop{padding:9px 5px;font-size:12px!important;gap:5px;min-height:42px}}
