/* Comfortrek V269 — PDP controls, compare flow, verified reviews, admin-preview polish */
/* Product-card dark-mode contrast: never render light text on a light CTA. */
body.appearance-dark .tag-card .card-actions .add-to-cart-btn,
body.appearance-dark[class*="site-theme-"] .tag-card .card-actions .add-to-cart-btn{
  background:#d8b97a!important;color:#151515!important;border:1px solid #ecd7aa!important;
  font-weight:800!important;opacity:1!important;text-shadow:none!important;
}
body.appearance-light .tag-card .card-actions .add-to-cart-btn,
body.appearance-auto.appearance-light .tag-card .card-actions .add-to-cart-btn{
  background:#15181a!important;color:#fff!important;border:1px solid #15181a!important;font-weight:800!important;
}
.tag-card .compare-checkbox-label{min-height:34px;padding:5px 9px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.03);}
body.appearance-dark .tag-card .compare-checkbox-label{color:#e7e9e8!important;border-color:#4c5554!important;background:#171b1e!important;}
.tag-card .compare-checkbox-label input{accent-color:#b58b4f;width:16px;height:16px;}
.quick-view-btn{display:inline-grid;place-items:center;min-width:42px;min-height:42px;color:inherit!important;background:var(--surface)!important;border:1px solid var(--line)!important;}
body.appearance-dark .quick-view-btn{background:#171b1e!important;color:#fff!important;border-color:#4b5554!important;}
.ct269-qv-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.9fr);gap:22px;align-items:start;padding:10px;}
.ct269-qv-image{background:#f3efe7;border-radius:18px;overflow:hidden;aspect-ratio:1/1;display:grid;place-items:center;}
.ct269-qv-image img{width:100%;height:100%;object-fit:cover;}
.ct269-qv-kicker{font-size:.62rem;letter-spacing:.16em;font-weight:900;color:var(--cognac-dark);}
.ct269-qv-grid h3{font-size:1.45rem;margin:6px 0 10px;}
.ct269-qv-copy{color:var(--slate);line-height:1.6;font-size:.88rem;}
.ct269-qv-link{display:block;text-align:center;margin-top:12px;font-size:.82rem;text-decoration:underline;color:inherit;}
.ct-review-verified-note{font-size:.78rem;line-height:1.5;padding:9px 11px;border-radius:10px;background:rgba(39,123,73,.10);color:#2c7046;margin:8px 0 10px;}
.ct-review-status{font-size:.82rem;color:var(--slate);line-height:1.6;padding:11px 0;}
body.appearance-dark .ct-review-verified-note{background:#193022;color:#a9d4b0;}
@media(max-width:650px){.ct269-qv-grid{grid-template-columns:1fr;gap:14px}.ct269-qv-image{max-height:320px;}.ct269-qv-grid h3{font-size:1.2rem;}}

/* Admin feature studio */
.ct269-feature-studio{max-width:1180px;margin:0 auto 60px;}
.ct269-feature-hero{padding:24px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,rgba(184,147,90,.14),rgba(33,59,54,.07));margin-bottom:18px;}
.ct269-feature-hero h1{margin:4px 0 7px;font-size:clamp(1.6rem,3vw,2.25rem);}
.ct269-feature-hero p{max-width:760px;color:var(--slate);line-height:1.65;margin:0;}
.ct269-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.ct269-feature-card{border:1px solid var(--line);border-radius:20px;padding:18px;background:var(--surface);display:grid;gap:13px;box-shadow:0 10px 30px rgba(0,0,0,.04);}
.ct269-feature-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;}
.ct269-feature-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:rgba(184,147,90,.13);font-size:1.15rem;}
.ct269-feature-title{font-weight:900;font-size:.98rem;margin:0 0 3px;}
.ct269-feature-description{font-size:.76rem;color:var(--slate);line-height:1.5;margin:0;}
.ct269-switch{position:relative;width:48px;height:28px;flex:0 0 48px;}
.ct269-switch input{position:absolute;opacity:0;pointer-events:none;}
.ct269-switch span{position:absolute;inset:0;border-radius:999px;background:#7a7f80;transition:.2s;cursor:pointer;}
.ct269-switch span:before{content:"";position:absolute;width:20px;height:20px;left:4px;top:4px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 4px rgba(0,0,0,.25);}
.ct269-switch input:checked+span{background:#2d8050;}
.ct269-switch input:checked+span:before{transform:translateX(20px);}
.ct269-feature-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;padding-top:10px;border-top:1px solid var(--line);}
.ct269-preview-btn{border:1px solid var(--line);background:transparent;color:inherit;border-radius:10px;padding:7px 11px;cursor:pointer;font-weight:700;font-size:.72rem;}
.ct269-status{font-size:.65rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--slate);}
.ct269-status.on{color:#2d8050;}
.ct269-status.off{color:#8a5b3a;}
.ct269-preview-modal{position:fixed;inset:0;background:rgba(0,0,0,.64);display:none;align-items:center;justify-content:center;padding:20px;z-index:99999;}
.ct269-preview-modal.open{display:flex;}
.ct269-preview-dialog{width:min(760px,100%);max-height:90vh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 30px 100px rgba(0,0,0,.3);}
.ct269-preview-close{float:right;border:1px solid var(--line);background:transparent;color:inherit;border-radius:10px;width:36px;height:36px;cursor:pointer;}
.ct269-preview-demo{margin-top:16px;border:1px solid var(--line);border-radius:18px;padding:18px;background:rgba(184,147,90,.06);}
.ct269-preview-demo .demo-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;}
.ct269-preview-demo .demo-box{padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface);}
@media(max-width:760px){.ct269-feature-grid{grid-template-columns:1fr;}.ct269-feature-hero{padding:18px;}.ct269-preview-demo .demo-row{grid-template-columns:1fr;}}
