/* V376: pair foregrounds with their own surfaces. Keep campaign artwork intact. */
html body#comfortrek-storefront[data-storefront-theme] {
  --ct376-label:#725326;
  --ct376-support-bg:#173d2f;
  --ct376-support-ink:#fff;
}
html body#comfortrek-storefront.appearance-dark[data-storefront-theme] {
  --ct376-label:#e0c38c;
  --ct376-support-bg:#213e32;
}

/* The former body > * mobile reset stretched this 56px control across the screen. */
html body#comfortrek-storefront .ct-whatsapp-shortcut376 {
  width:52px!important;min-width:52px!important;max-width:52px!important;
  height:52px!important;min-height:52px!important;max-height:52px!important;
  inset:auto 22px 22px auto!important;padding:0!important;margin:0!important;
  flex:none!important;border-radius:18px!important;border:1px solid #ffffff45;
  background:var(--ct376-support-bg)!important;color:var(--ct376-support-ink)!important;
  box-shadow:0 5px 18px #00000020!important;overflow:hidden;z-index:2147482999!important;
}
html body#comfortrek-storefront .ct-whatsapp-shortcut376 svg {
  display:block;width:27px!important;height:27px!important;flex:none;fill:currentColor;
}
html body#comfortrek-storefront:has(.ct-whatsapp-shortcut376) #live-chat-widget {right:86px!important}
html body#comfortrek-storefront .ct-whatsapp-shortcut376:focus-visible {outline:3px solid var(--ct340-action);outline-offset:4px}
@media(max-width:900px) {
  html body#comfortrek-storefront .ct-whatsapp-shortcut376 {right:84px!important;bottom:calc(88px + env(safe-area-inset-bottom))!important}
  html body#comfortrek-storefront:has(.ct-whatsapp-shortcut376) #live-chat-widget {right:14px!important}
  html body#comfortrek-storefront.ct-gift-checkout365 .ct-whatsapp-shortcut376 {bottom:calc(108px + env(safe-area-inset-bottom))!important}
  html body#comfortrek-storefront:has(#ct-pdp349) .ct-whatsapp-shortcut376 {bottom:calc(148px + env(safe-area-inset-bottom))!important}
}

/* Compact home stories share a renderer with sign-in; they use the hero's ink. */
html body#comfortrek-storefront[data-storefront-theme] .ck-featured-hero .ct-story363-compact,
html body#comfortrek-storefront[data-storefront-theme] .ck-featured-hero .ct-story363-compact :is([data-story363-heading],[data-story363-heading]>span,.ct-story363-toggle,.ct-story363-toggle>span) {
  color:var(--ct340-ink)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;
}

/* Small labels need the same contrast as body text, including on pale paper. */
html body#comfortrek-storefront.appearance-light .ct355-surface {--c355-gold:var(--ct376-label)}
html body#comfortrek-storefront[data-storefront-theme] :is(.ct356-eyebrow,.ct289-results-kicker) {color:var(--ct376-label)!important}
html body#comfortrek-storefront[data-storefront-theme] .storefront-home .launch-stamp {
  background:var(--ct340-paper)!important;color:var(--ct340-ink)!important;
  border-color:var(--ct340-edge)!important;opacity:1!important;
}
html body#comfortrek-storefront[data-storefront-theme] .tag-card .compare-checkbox-label :is(span,strong) {color:var(--ct340-ink)!important;opacity:1!important}
html body#comfortrek-storefront[data-storefront-theme] .cr-finder-panel h3 {color:var(--ct340-ink)!important}
html body#comfortrek-storefront.appearance-light[data-storefront-theme] #ct-shop349 .ct289-shop-head p {color:#505e54!important}

/* Older discovery/travel templates also use paired, theme-aware paper and ink. */
html body#comfortrek-storefront[data-storefront-theme] .ct283-style :is(.ct283-style-hero,.ct283-style-grid article,.ct283-empty),
html body#comfortrek-storefront[data-storefront-theme] .luggage-lab-page :is(.lab-panel,.lab-benefits article,.lab-product,.lab-links>a) {
  background:var(--ct340-paper)!important;color:var(--ct340-ink)!important;border-color:var(--ct340-edge)!important;
}
html body#comfortrek-storefront[data-storefront-theme] .ct283-style :is(h1,h2,strong),
html body#comfortrek-storefront[data-storefront-theme] .luggage-lab-page :is(h1,h2,h3,label,b,strong) {color:var(--ct340-ink)!important}
html body#comfortrek-storefront[data-storefront-theme] .ct283-style :is(p,.ct283-style-hero>span,.ct283-style-grid article span),
html body#comfortrek-storefront[data-storefront-theme] .luggage-lab-page :is(p,.lab-note,.lab-links span,.lab-product small) {color:var(--ct340-muted)!important;opacity:1!important}
html body#comfortrek-storefront[data-storefront-theme] .ct283-style-tabs a {color:var(--ct340-ink)!important;border-color:var(--ct340-edge)!important}
html body#comfortrek-storefront[data-storefront-theme] .ct283-style-tabs a.active {background:var(--ct340-action)!important;color:var(--ct340-on-action)!important}
html body#comfortrek-storefront[data-storefront-theme] .luggage-lab-page .lab-benefits article>span {color:var(--ct376-label)!important}
/* An opaque editorial caption stays readable over every uploaded photograph. */
html body#comfortrek-storefront[data-storefront-theme] .pa-feature-overlay {background:#172c22!important;color:#fff9ed!important}
html body#comfortrek-storefront[data-storefront-theme] .pa-feature-overlay :is(h3,p,a) {color:#fff9ed!important;opacity:1!important}
html body#comfortrek-storefront[data-storefront-theme] .pa-feature-overlay .kicker {color:#f0d69e!important;opacity:1!important}

/* Product copy stays on the existing product palette; images and variants are unchanged. */
html body#comfortrek-storefront.appearance-light #ct-pdp349 {--p-muted:#536257}
html body#comfortrek-storefront[data-storefront-theme] #ct-pdp349 .ct-variant-kicker {color:var(--p-muted)!important;opacity:1!important}
html body#comfortrek-storefront[data-storefront-theme] #ct-pdp349 .ct356-alerts :is(h3,.ct356-alert-trigger,.ct356-alert-trigger>span:not(:first-child)) {
  color:var(--p-ink)!important;-webkit-text-fill-color:currentColor!important;
}
html body#comfortrek-storefront.appearance-dark #ct-pdp349 #ct354-low-stock {color:#f0b5a5!important}

/* Explicit solid underlays also remain readable while gradients load or are disabled. */
html body#comfortrek-storefront[data-storefront-theme] .ct356-gift-art {background-color:#173b2d!important}
html body#comfortrek-storefront[data-storefront-theme] .ct356-gift-art.ct356-gift-midnight {background-color:#202b40!important}
html body#comfortrek-storefront[data-storefront-theme] .ct356-gift-art.ct356-gift-rose {background-color:#502d3b!important}
html body#comfortrek-storefront[data-storefront-theme] #ct-pdp349 .ct351-rewards {background-color:#123c2c!important}
html body#comfortrek-storefront[data-storefront-theme] #ct-pdp349 .ct351-rewards :is(.ct351-earn,.ct-offer-card-v171) {background-color:#ead5a6!important}
html body#comfortrek-storefront[data-storefront-theme] #ct-pdp349 .ct351-rewards .ct-offer-card-v171 small {color:#40503b!important}
html body#comfortrek-storefront[data-storefront-theme] #ct-pdp349 .ct351-rewards .ct-coins-heading :is(span,b) {color:inherit!important}

/* Signed-in account controls must follow their cards instead of fixed white fills. */
html body#comfortrek-storefront[data-storefront-theme] #comfortrek-account :is(.cr-count-pill,.cr-address-add,.cr-referral-share) {
  background:var(--ct340-paper)!important;color:var(--ct340-ink)!important;border-color:var(--ct340-edge)!important;
}
html body#comfortrek-storefront[data-storefront-theme] #comfortrek-account .cr-address-add :is(strong,small,.cr-address-add-title) {color:var(--ct340-ink)!important;opacity:1!important}
html body#comfortrek-storefront[data-storefront-theme] #comfortrek-account .cr-address-add>summary {background:var(--ct340-paper)!important;color:var(--ct340-ink)!important}
html body#comfortrek-storefront[data-storefront-theme] #comfortrek-account .cr-address-add-title>span {background:transparent!important}
html body#comfortrek-storefront[data-storefront-theme] #comfortrek-account :is(.cr-side-mark,.cr-side-logout) {
  background:var(--ct340-paper)!important;color:var(--ct340-ink)!important;border-color:var(--ct340-edge)!important;opacity:1!important;
}
html body#comfortrek-storefront[data-storefront-theme] #comfortrek-account .cr-check-row {color:var(--ct340-muted)!important}
html body#comfortrek-storefront.appearance-light #comfortrek-account :is(.cr-card-featured,.cr-reward-dark,.cr-reward-link) {
  background:var(--ct340-paper)!important;color:var(--ct340-ink)!important;border-color:var(--ct340-edge)!important;
}
html body#comfortrek-storefront.appearance-light #comfortrek-account :is(.cr-card-featured,.cr-reward-dark) :is(h1,h2,h3,h4,strong,b,span,a,em,i) {color:var(--ct340-ink)!important;opacity:1!important}
html body#comfortrek-storefront.appearance-light #comfortrek-account :is(.cr-card-featured,.cr-reward-dark) :is(p,small,.cr-card-meta) {color:var(--ct340-muted)!important;opacity:1!important}
html body#comfortrek-storefront.appearance-light #comfortrek-account :is(.cr-card-featured,.cr-reward-dark) .cr-kicker {color:var(--ct376-label)!important}
html body#comfortrek-storefront[data-storefront-theme] .ct-address-continue-v171 {
  background:var(--ct340-action)!important;color:var(--ct340-on-action)!important;border-color:var(--ct340-action)!important;
}
html body#comfortrek-storefront[data-storefront-theme] .ct-address-continue-v171 span {color:inherit!important}
html body#comfortrek-storefront[data-storefront-theme] :is(.ct-address-kicker-v171,.ct-edit-city-v171) {color:var(--ct376-label)!important}
html body#comfortrek-storefront[data-storefront-theme] #ct174-cart-goal {background:var(--ct340-paper)!important;border-color:var(--ct340-edge)!important}
html body#comfortrek-storefront[data-storefront-theme] #ct174-cart-goal strong {color:var(--ct340-ink)!important}
html body#comfortrek-storefront[data-storefront-theme] #ct174-cart-goal>span {color:var(--ct340-muted)!important}

@media(forced-colors:active) {
  html body#comfortrek-storefront .ct-whatsapp-shortcut376 {forced-color-adjust:auto;border:1px solid ButtonText}
}
