/* Colour picker pages (round table cloth, napkin), layout C1. Phone first: quantity and "Add to list" stay fixed at the bottom. */
.qbar{display:none!important} /* the site's own list bar; this page has its own bottom bar with the List button */
.cl{overflow-x:clip;padding-bottom:128px}
.cl-g,.cl .p-info{min-width:0}
.cl-g{position:relative}
.cl-stage{position:relative}
.cl-stage>img{width:min(100%,30vh);width:min(100%,30svh);display:block;margin:0 auto;aspect-ratio:1/1;object-fit:cover;background:var(--soft);border-radius:6px}
.cl-ill,.cl-cnt{position:absolute;bottom:10px;background:rgba(0,0,0,.55);color:#fff;font-size:12px;padding:2px 8px;border-radius:10px}
.cl-ill{right:10px}.cl-cnt{left:10px}
.cl-ill[hidden],.cl-cnt[hidden]{display:none}
.cl-th{display:flex;gap:8px;padding:8px 0 4px;overflow-x:auto}
.cl-th button{flex:none;padding:0;border:2px solid transparent;border-radius:6px;background:none;line-height:0;cursor:pointer}
.cl-th button.on{border-color:var(--ink)}
.cl-th img{width:50px;height:50px;object-fit:cover;border-radius:4px}
.cl-fine{font-size:12.5px;color:var(--grey);margin:6px 0 0}
.cl-fine:empty{display:none}
.cl-lab{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:14px 0 6px;font-size:15px}
.cl-lab b{font-weight:600}.cl-lab span{color:var(--grey);font-size:14px}
.cl-no{color:var(--ink);font-weight:600}
.cl-seg{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.cl-seg button{flex:1;border:0;background:#fff;color:var(--ink);padding:9px 4px;font:inherit;font-size:14.5px;cursor:pointer}
.cl-seg button.on{background:var(--ink);color:#fff}
.cl-sw{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 6px;scrollbar-width:none}
.cl-sw::-webkit-scrollbar{display:none}
.cl-sw button,.cl-grid button{flex:none;width:40px;height:40px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #c5c8d2;padding:0;cursor:pointer}
.cl-sw button.on,.cl-grid button.on{box-shadow:0 0 0 2px var(--ink)}
.cl-all{display:block;width:100%;margin-top:6px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;padding:11px;font:inherit;font-size:14.5px;cursor:pointer}
.cl-more{display:block;width:100%;margin-top:8px;border:0;background:none;color:var(--grey);text-decoration:underline;text-underline-offset:3px;padding:8px 4px;font:inherit;font-size:13.5px;text-align:left;cursor:pointer}
.cl-more[hidden]{display:none}
.cl-back{display:block;margin-top:6px;border:0;background:none;padding:0;color:var(--blue);font:inherit;font-weight:600;cursor:pointer}
.cl-sizes{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cl-sizes button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;padding:9px 10px;text-align:left;font:inherit;cursor:pointer}
.cl-sizes b{display:block;font-size:15px}.cl-sizes small{color:var(--grey);font-size:12.5px}
.cl-sizes button.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.cl-osz{margin-top:8px}
.cl-osz input{width:100%;font:inherit;padding:11px 12px;border:1px solid #bbb;border-radius:8px;background:#fff;color:var(--ink)}
.cl-osz[hidden]{display:none}
.cl-x{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:10px;margin:20px 0 8px;color:var(--ink);text-decoration:none}
.cl-x img{width:48px;height:48px;border-radius:6px;object-fit:cover;flex:none}
.cl-x span{flex:1;font-size:14px}.cl-x small{display:block;color:var(--grey)}.cl-x i{font-style:normal;font-size:20px;color:var(--grey)}
/* fixed bottom bar */
.cl-bar{position:fixed;left:0;right:0;bottom:0;z-index:46;background:#fff;border-top:1px solid var(--line);padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))}
.cl-sum{display:block;width:100%;margin:0 auto 6px;max-width:520px;font:inherit;font-size:12.5px;color:var(--grey);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;background:none;border:0;padding:0;cursor:pointer}
.cl-sum b{color:var(--ink)}
.cl-row{display:flex;gap:10px;align-items:center;max-width:520px;margin:0 auto}
.cl-lst{position:relative;flex:none;height:46px;min-width:50px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:12.5px;display:flex;align-items:center;justify-content:center;padding:0 8px;text-decoration:none}
.cl-lst i{position:absolute;top:-6px;right:-6px;background:#e11d48;color:#fff;font-style:normal;font-size:11px;border-radius:9px;padding:0 6px;line-height:18px}
.cl-lst i[hidden]{display:none}
.cl-step{display:flex;align-items:center;flex:none;border:1px solid #c5c8d2;border-radius:8px;overflow:hidden;height:46px}
.cl-step button{width:38px;height:46px;border:0;background:#fff;color:var(--ink);font-size:22px;cursor:pointer}
.cl-step input{width:56px;height:46px;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);text-align:center;font:inherit;font-size:17px;color:var(--ink);background:#fff;-moz-appearance:textfield}
.cl-step input::-webkit-inner-spin-button{-webkit-appearance:none}
.cl-go{flex:1;height:46px;border:0;border-radius:8px;background:var(--blue);color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.cl-go.done{background:var(--ok)}
/* all-colours sheet */
.cl-scrim{position:fixed;inset:0;background:transparent;z-index:60}
.cl-scrim[hidden],.cl-sheet[hidden],.cl-toast[hidden]{display:none}
.cl-sheet{position:fixed;left:0;right:0;bottom:0;z-index:61;background:#fff;border-radius:14px 14px 0 0;max-height:50vh;max-height:50svh;display:flex;flex-direction:column;max-width:560px;margin:0 auto}
.cl-sh-h{display:flex;gap:12px;align-items:center;padding:8px 16px;border-bottom:1px solid var(--line)}
.cl-sh-h img{display:none}
.cl-sh-h div{flex:1}.cl-sh-h b{display:block;font-size:16px}.cl-sh-h small{color:var(--grey)}
.cl-xx{border:0;background:none;font-size:28px;line-height:1;color:var(--grey);cursor:pointer;align-self:flex-start}
.cl-sh-b{overflow-y:auto;padding:12px 16px;flex:1}
.cl-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.cl-chips button{border:1px solid var(--line);background:#fff;color:var(--ink);padding:6px 13px;border-radius:16px;font:inherit;font-size:13.5px;cursor:pointer}
.cl-chips button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.cl-grid{display:flex;flex-wrap:wrap;gap:11px;padding:3px}
.cl-gh{flex:0 0 100%;margin:10px 0 0;font-size:13px;font-weight:600;color:var(--grey)}
.cl-gh:first-child{margin-top:0}
.cl-sh-f{padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line)}
.cl-sh-f .cl-go{width:100%}
.cl-toast{position:fixed;left:14px;right:14px;bottom:calc(112px + env(safe-area-inset-bottom,0px));z-index:62;background:var(--ink);color:#fff;border-radius:10px;padding:12px 14px;font-size:14px;max-width:520px;margin:0 auto}
.cl-toast a{color:#9db4ff;font-weight:600;margin-left:4px}
.cl-lock{overflow:hidden}
@media(min-width:761px){
  .cl-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
  .cl-g{position:sticky;top:84px}
  .cl-stage>img{max-height:none}
}

/* phone: fabric + colour sit right under the photos so the picture stays in view while choosing; title and text go below */
.cl .p-info{display:flex;flex-direction:column}
.cl .page-title{order:3;margin-top:18px}.cl .page-sub{order:4}
.cl-pick{order:1}.cl-size{order:2}.cl-x{order:5}.cl .note{order:6}
@media(min-width:761px){.cl .page-title{order:-2;margin-top:0}.cl .page-sub{order:-1}}

@media(max-width:760px){.cl{padding-top:12px}.cl .crumbs{margin:0 0 4px;font-size:13px}.cl-all{padding:9px}.cl-more{padding:6px 4px}}
@media(min-width:761px){.cl-stage>img{width:100%}}

/* phone: the photos stay pinned under the header while the customer scrolls through fabric, colour and size */
@media(max-width:760px){.cl-g{position:sticky;top:62px;z-index:12;background:#fff;padding-top:6px;margin-top:-6px}}

/* phone: the cloth photos are square with white space above and below; show a 4:3 crop so the cloth is about a third bigger at the same height */
@media(max-width:760px){.cl-stage>img{width:min(100%,40vh);width:min(100%,40svh);aspect-ratio:4/3;object-position:center 55%}.cl{padding-top:4px}.cl .crumbs{display:none}}

/* 11-30 (T17 step 2): square toppers have 21 sizes -> compact three-column buttons; the sizes block lights up when "Add to list" is tapped with no size chosen */
.cl-sizes.sm{grid-template-columns:repeat(3,1fr)}
.cl-sizes.sm button{text-align:center;padding:9px 4px}
.cl-sizes.sm b{font-size:14px}
.cl-size{border-radius:10px;transition:box-shadow .2s}
.cl-size.need{box-shadow:0 0 0 2px #e11d48;padding:0 8px 8px;margin:0 -8px}
.cl-x[hidden]{display:none}
.cl-seg button{font-size:14px;line-height:1.15}
.cl-x+.cl-x{margin-top:0}

/* 11-30 (T17 step 2, fix C): first visit. The cookie notice sits above this bar instead of covering it; to keep the colour strip and
   "See all" on screen the photo gets smaller and the summary line is hidden until the notice is dismissed. The round contact button is
   hidden on phones here (as on other product pages): the bar has the list button, and the button sat on top of "See all". */
html.has-notice .cl-bar{bottom:var(--nh,0px)}
html.has-notice .cl{padding-bottom:calc(128px + var(--nh,0px))}
html.has-notice .cl-toast{bottom:calc(112px + var(--nh,0px) + env(safe-area-inset-bottom,0px))}
html.has-notice .cl-sum{display:none}
@media(max-width:760px){
  html:has(.cl) .fan,html:has(.cl) .nudge{display:none}
  html.has-notice .cl-stage>img{width:min(100%,29vh);width:min(100%,29svh)}
}

.cl-needmsg{display:none;margin:0 0 8px;color:#e11d48;font-size:14px;font-weight:600}
.cl-size.need .cl-needmsg{display:block}
