/* The set card (evopure-sets.php evo_setcard): the collection card (.xc in collection-v5/collection.css) carrying a set. Only what a set adds is here:
   a strength row per product, the switch beside the heading, the chips as buttons, the photo filling its square, the name on one line. */
.xs-wrap .cp{background:transparent;overflow:visible;color:inherit;font:inherit}
.xs-wrap .xs-head{display:flex;align-items:flex-end;justify-content:flex-end;gap:24px 48px;flex-wrap:wrap;margin:0 0 clamp(24px,3vw,40px)}
.xs-wrap .xs-head > :first-child{flex:1 1 100%;min-width:0;margin-bottom:0}
.xs-wrap .cp .xs-seg{flex:0 0 auto;width:min(100%,360px);background:rgba(250,249,246,.14)}
.xs-wrap .cp .xs-seg label{color:var(--lab-page);cursor:pointer;margin:0}
.xs-wrap.xs-wrap--light .cp .xs-seg{background:var(--lab-navy)}
.xs-wrap .cp .xs-grid{margin:0}
.cp .xc--set .xc-m{overflow:hidden;position:relative}
.cp .xc--set .xc-m img{aspect-ratio:1/1;object-fit:cover;object-position:50% 50%;height:auto;width:100%}
.cp .xc--set .xc-t .evo-pcard__name{white-space:nowrap;font-size:clamp(20px,1.7vw,24px)}
.cp .xc--set .xc-meta{min-height:0}
.cp .xs-opts{display:flex;flex-direction:column;gap:6px}
.cp .xs-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.cp .xs-lab{min-width:62px;font:500 13px/1.2 var(--lab-nh);color:var(--lab-navy)}
.cp button.xo{border:0;margin:0;-webkit-appearance:none;appearance:none}
.cp .xc--set .xo.is-on{background:var(--lab-navy);color:#fff;border-radius:0 10px 0 0}
.cp .xs-two b{font-weight:600}
.cp .xs-two{color:var(--lab-navy)}
#cp-m-o:checked~.cp-pages .xs-two{display:block!important}
#cp-m-o:checked~.cp-pages .xs-lad{display:grid!important;grid-template-columns:1fr 1fr;gap:6px;margin-top:2px}
.cp .xs-lad__was{grid-column:1/-1;margin:10px 0 0;font:400 13px/1.3 var(--lab-dm);color:var(--lab-navy)}.cp .xs-lad__was s{text-decoration-thickness:1px}
.cp .xs-lad span{display:flex;flex-direction:column;gap:5px;padding:10px 12px;background:#fff;color:var(--lab-navy)}
.cp .xs-lad span.is-on{background:var(--lab-navy);color:#fff;border-radius:0 10px 0 0}
.cp .xs-lad i{font:600 10.5px/1.1 var(--lab-nh);letter-spacing:.1em;text-transform:uppercase;font-style:normal;white-space:nowrap}
.cp .xs-lad b{font:600 22px/1 var(--lab-nh)}
.cp .xs-lad em{font:600 12px/1 var(--lab-dm);font-style:normal;color:var(--lab-coral)}
.cp .xs-msg{margin:8px 0 0;font:400 13px/1.4 var(--lab-dm);color:var(--lab-coral)}.cp .xs-msg:empty{display:none}
.cp .xc-buy.is-busy{opacity:.7;pointer-events:none}
@media (max-width:767px){
	.xs-wrap .cp .xs-seg{width:100%}
	.cp .xc--set .xc-t .evo-pcard__name{font-size:clamp(15px,calc(((100vw - 40px) * .6 - 26px) / 10.7),19px)}      /* the longest name (The Day & Night Set) on one line in the card's text column, 360 to 767 */
	.cp .xc--set .xs-opts{grid-column:1/-1;grid-row:5;padding:12px 16px 0;margin:0}
	.cp .xs-lab{min-width:54px;font-size:12.5px}
}
/* 19 Nov evening (Haseeb): a tighter card. No eyebrow: the name first, "In your set" under it, every product's strength (a one-size product's
   chip chosen and fixed) beside the photo, then the price and its one line, then Learn more | the button. The photo runs the height of what
   sits beside it, so no empty band. Spacing on 4/8, one type scale: 24 / 15 / 13 / 11. */
.cp .xc.xc--set{display:grid!important;grid-template-columns:40% minmax(0,1fr);grid-template-rows:auto auto auto 1fr auto;grid-template-areas:"m t" "m in" "m o" "m p" "more b";column-gap:0;row-gap:0;align-items:start}
.cp .xc.xc--set > .xc-r{display:contents}
.cp .xc.xc--set .xc-m{grid-area:m;align-self:stretch;display:block;position:relative;min-height:100%}
.cp .xc.xc--set .xc-m img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 50%}
.cp .xc.xc--set .xc-t{grid-area:t;margin:0;padding:20px 20px 0}
.cp .xc.xc--set .xc-t .evo-pcard__name{font-size:24px;line-height:1.1}
.cp .xc.xc--set .xs-in{grid-area:in;margin:0;padding:4px 20px 0;font:400 13px/1.45 var(--lab-dm);color:var(--lab-ink)}
.cp .xc.xc--set .xs-in b{font-weight:600;color:var(--lab-navy);margin-right:4px}
.cp .xc.xc--set .xs-opts{grid-area:o;margin:0;padding:16px 20px 0;display:flex;flex-direction:column;gap:8px}
.cp .xc.xc--set .xs-row{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;column-gap:8px}
.cp .xc.xc--set .xs-row > .xs-lab{grid-column:1}
.cp .xc.xc--set .xs-row{grid-template-columns:72px repeat(3,max-content);row-gap:8px}
.cp .xc.xc--set .xs-lab{min-width:0;font:500 13px/1.2 var(--lab-nh);color:var(--lab-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cp .xc.xc--set .xo{padding:8px 10px 7px;font-size:11px;letter-spacing:.08em}
.cp .xc.xc--set .xo.is-fixed{cursor:default}
.cp .xc.xc--set .xc-ps{grid-area:p;margin:0;padding:16px 20px 0;align-self:end}
.cp .xc.xc--set .xc-pr{padding-top:0;font-size:26px;gap:8px;align-items:baseline}
.cp .xc.xc--set .xc-then{margin:4px 0 0;font:400 13px/1.45 var(--lab-dm)}
.cp .xc.xc--set .xc-bs{grid-area:b;margin:0;padding:16px 20px 20px}
.cp .xc.xc--set .xc-bs a.xc-buy{margin-top:0}
.cp .xc.xc--set .xc-more{grid-area:more;align-self:stretch;margin:0;padding:16px 0 20px;display:flex;align-items:center;justify-content:center;gap:8px}
@media (max-width:767px){
	.cp .xc.xc--set{grid-template-columns:36% minmax(0,1fr);grid-template-rows:auto 1fr auto auto auto auto;grid-template-areas:"m t" "m in" "o o" "p p" "b b" "more more"}
	.cp .xc.xc--set .xc-m{align-self:start;min-height:0;aspect-ratio:1/1}
	.cp .xc.xc--set .xc-t{padding:12px 16px 0}
	.cp .xc.xc--set .xc-t .evo-pcard__name{font-size:clamp(15px,calc(((100vw - 40px) * .64 - 32px) / 10.7),19px)}
	.cp .xc.xc--set .xs-in{padding:4px 16px 12px;font-size:12.5px}
	.cp .xc.xc--set .xs-opts{padding:16px 16px 0}
	.cp .xc.xc--set .xs-row{grid-template-columns:80px repeat(3,max-content)}
	.cp .xc.xc--set .xc-ps{padding:16px 16px 0}
	.cp .xc.xc--set .xc-pr{font-size:24px}
	.cp .xc.xc--set .xc-bs{padding:12px 16px 0}
	.cp .xc.xc--set .xc-more{padding:12px 0 16px}
}
.cp .xc.xc--set .xs-in__i{white-space:nowrap}
/* 19 Nov evening r4: each row names its product in full (as "In your set"); the price sits straight under the last row and only the
   button row lines up across the cards (the space goes between them, the photo fills it). */
.cp .xc.xc--set{grid-template-rows:auto auto auto auto 1fr auto!important;grid-template-areas:"m t" "m in" "m o" "m p" "m ." "more b"!important}
.cp .xc.xc--set .xc-ps{align-self:start}
.cp .xc.xc--set .xs-row{display:grid!important;grid-template-columns:136px minmax(0,1fr)!important;align-items:center;column-gap:8px}
.cp .xc.xc--set .xs-lab{white-space:normal;overflow:visible;line-height:1.25}
.cp .xc.xc--set .xs-ch{display:flex;flex-wrap:wrap;gap:6px}
@media (max-width:767px){
	.cp .xc.xc--set{grid-template-rows:auto 1fr auto auto auto auto!important;grid-template-areas:"m t" "m in" "o o" "p p" "b b" "more more"!important}
	.cp .xc.xc--set .xs-row{grid-template-columns:minmax(0,1fr)!important;row-gap:6px}
	.cp .xc.xc--set .xs-opts{gap:12px}
}
.xs-wrap .cp .xs-grid{grid-auto-rows:auto!important;align-items:stretch}
@media (min-width:768px){.cp .xc.xc--set .xs-row{grid-template-columns:116px minmax(0,1fr)!important}.cp .xc.xc--set .xo{padding:8px 8px 7px}}
/* the photo is square on every card, every screen (the set page's and the phone's are square too): one crop for Haseeb's photos */
.cp .xc.xc--set .xc-m{align-self:start!important;aspect-ratio:1/1;min-height:0!important;height:auto}
/* 768-1239 (two narrower cards a row): the phone's arrangement, the name at 20px so the longest stays on one line */
@media (min-width:768px) and (max-width:1279px){
	.cp .xc.xc--set{grid-template-columns:36% minmax(0,1fr)!important;grid-template-rows:auto 1fr auto auto auto auto!important;grid-template-areas:"m t" "m in" "o o" "p p" "b b" "more more"!important}
	.cp .xc.xc--set .xc-t{padding:16px 16px 0}.cp .xc.xc--set .xc-t .evo-pcard__name{font-size:20px}
	.cp .xc.xc--set .xs-in{padding:4px 16px 12px}
	.cp .xc.xc--set .xs-opts{padding:16px 16px 0;gap:12px}
	.cp .xc.xc--set .xs-row{grid-template-columns:minmax(0,1fr)!important;row-gap:6px}
	.cp .xc.xc--set .xc-ps{padding:16px 16px 0}
	.cp .xc.xc--set .xc-bs{padding:12px 16px 0}
	.cp .xc.xc--set .xc-more{padding:12px 0 16px}
}
@media (min-width:1280px){.cp .xc.xc--set .xs-row{grid-template-columns:96px minmax(0,1fr)!important;column-gap:6px}.cp .xc.xc--set .xs-ch{gap:4px}}

/* the site's one switch (switch.css, approved 19 Nov): the PAGE variant, "Subscribe & save | One-time", no price. switch.css maps its look onto
   the collection's .cp-seg / .cp-thumb (light ground); the Black Friday sets section is on a dark ground, so there it takes the switch's --dark
   values: a white-alpha track, white labels, the chosen half a white glass thumb with navy 600 */
html body .xs-wrap .cp .xs-seg{width:min(100%,360px)}
html body .xs-wrap.xs-wrap--light .cp .xs-seg{background:rgba(29,41,59,.06)!important}
html body .xs-wrap:not(.xs-wrap--light) .cp .cp-seg{background:rgba(255,255,255,.14)!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}
html body .xs-wrap:not(.xs-wrap--light) .cp .cp-thumb{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.86))!important;box-shadow:0 1px 2px rgba(0,0,0,.2),0 4px 16px rgba(0,0,0,.22),inset 0 1px 0 #fff!important}
html body .xs-wrap:not(.xs-wrap--light) .cp .cp-seg label{color:#fff!important}
html body .xs-wrap:not(.xs-wrap--light) #cp-m-s:checked~.cp-pages .cp-seg .s,html body .xs-wrap:not(.xs-wrap--light) #cp-m-o:checked~.cp-pages .cp-seg .o{color:#1D293B!important}
html body .xs-wrap .cp .cp-seg label:active{background:rgba(255,255,255,.07)}
html body .xs-wrap.xs-wrap--light .cp .cp-seg label:active{background:rgba(29,41,59,.035)}

/* the sets' charcoal band outside the Black Friday page (/bundles/, 19 Nov late): the BF page's .bfp-sx section, the same values */
.xs-band{background:#2B2B2B;color:#F4EEE4;padding:clamp(64px,7vw,104px) 0;--x:clamp(20px,4.2vw,80px)}
.xs-band__w{width:100%;max-width:calc(1320px + 2 * 20px);margin:0 auto;padding:0 var(--x);box-sizing:border-box}
@media (min-width:1361px){.xs-band__w{padding:0;max-width:1320px}}
.xs-band__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 48px;align-items:end;margin:0 0 clamp(28px,3.4vw,44px)}
.xs-band .xs-band__h{margin:0;font:300 clamp(40px,4.6vw,68px)/.98 "neue-haas-grotesk-display","Helvetica Neue",Arial,sans-serif;letter-spacing:-.03em;color:#F4EEE4;text-transform:none}
.xs-band .xs-band__h b{font-weight:600;color:inherit}
.xs-band .xs-band__p{margin:0;justify-self:end;max-width:31em;font:400 16px/1.55 "DM Sans","Helvetica Neue",Arial,sans-serif;color:rgba(244,238,228,.76)}
.xs-band .xs-band__p b{font-weight:600;color:#F4EEE4}
@media (max-width:1024px){.xs-band__head{grid-template-columns:1fr}.xs-band .xs-band__p{justify-self:start}}
@media (max-width:599px){.xs-band .xs-band__h{font-size:clamp(38px,11vw,48px)}.xs-band .xs-band__p{font-size:15px}}

/* one chosen chip per row (Haseeb, 19 Nov 22:20: both strengths showed navy): the card inherits the collection card's checked .xv-0 input, and
   collection.css paints every row's FIRST chip navy from it; only the chosen chip (.is-on) is navy here, the others white unless hovered */
html body .cp .xc.xc--set .xs-opts .xo:not(.is-on):not(:hover){background:#fff;color:var(--lab-navy);border-radius:0}
/* phones: the sets row scrolls sideways like the site's other card rails (one card and a peek of the next, snapping); desktop unchanged */
@media (max-width:767px){
	html body .xs-wrap .cp .xs-grid{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:20px;gap:12px!important;margin:0 -20px!important;padding:0 20px 6px!important;scrollbar-width:none}
	html body .xs-wrap .cp .xs-grid::-webkit-scrollbar{display:none}
	html body .xs-wrap .cp .xs-grid > .xc{flex:0 0 84vw!important;max-width:340px;scroll-snap-align:start;min-width:0}
	/* the rail's card, one column (Haseeb, 19 Nov 22:30: "very spacious under the title… 'in your set' as a list"): the photo full width (4:3), the
	   name, "In your set" one item per line, the strengths; any spare height (cards share the tallest one's) sits above the price, and the
	   button follows the price directly */
	html body .xs-wrap .cp .xs-grid > .xc.xc--set{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto 1fr auto auto auto!important;grid-template-areas:"m" "t" "in" "o" "." "p" "b" "more"!important}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xc-m{aspect-ratio:4/3!important;width:100%;align-self:stretch!important}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xc-m img{position:absolute;inset:0;width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xc-t{padding:16px 16px 0!important}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xc-t .evo-pcard__name{font-size:21px!important;white-space:nowrap}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xs-in{padding:8px 16px 0!important;font-size:0!important;line-height:0}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xs-in b,html body .xs-wrap .cp .xs-grid > .xc.xc--set .xs-in__i{display:block;margin:0;font:400 13px/1.5 "DM Sans","Helvetica Neue",Arial,sans-serif;color:#3C4555;white-space:normal}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xs-in b{font-weight:600;color:var(--lab-navy);margin-bottom:2px}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xs-opts{padding:14px 16px 0!important;gap:10px}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xc-ps{padding:18px 16px 0!important;align-self:end}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xc-bs{padding:14px 16px 0!important}
	html body .xs-wrap .cp .xs-grid > .xc.xc--set .xc-more{padding:12px 0 16px!important}
}
