/* WHCORE front-end styles. Uses theme CSS variables when present. */
:root { --wc-gold: var(--gold, #c9a227); --wc-gold-2: var(--gold-2, #e3c35a); --wc-black: var(--black, #0b0b0b); --wc-ink: var(--ink, #161616); --wc-line: var(--line, #e6e3dc); --wc-off: var(--off, #f6f5f1); --wc-gray: var(--gray, #6b6b6b); --wc-head: var(--font-head, "Manrope", system-ui, sans-serif); --wc-danger: #c2382b; }
[hidden] { display: none !important; }
.whcore-hp { position: absolute; left: -9999px; }
.whcore-link { background: none; border: 0; padding: 0; color: var(--wc-gray); text-decoration: underline; font-size: 13px; cursor: pointer; }
.whcore-link:hover { color: var(--wc-black); }

/* ---------- Popup ---------- */
.whcore-popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.whcore-popup.is-in { opacity: 1; }
.whcore-popup__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(3px); }
.whcore-popup__card { position: relative; width: min(760px, 100%); background: #fff; border-radius: 18px; overflow: hidden; display: grid; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); transform: translateY(14px) scale(.98); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.whcore-popup.is-in .whcore-popup__card { transform: none; }
.whcore-popup__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 24px; line-height: 1; cursor: pointer; }
.whcore-popup__media { background: var(--wc-black) center/cover no-repeat; min-height: 140px; display: grid; place-items: center; position: relative; }
.whcore-popup__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(var(--gold-rgb, 201, 162, 39), .35), transparent 60%); }
.whcore-popup__badge { position: relative; z-index: 1; width: 150px; height: 150px; border-radius: 50%; border: 4px solid var(--wc-gold); color: var(--wc-gold); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--wc-head); font-weight: 800; transform: rotate(-8deg); box-shadow: 0 0 0 10px rgba(var(--gold-rgb, 201, 162, 39), .15); }
.whcore-popup__badge span { font-size: 56px; line-height: 1; }
.whcore-popup__badge small { font-size: 16px; letter-spacing: .3em; }
.whcore-popup__body { padding: 32px 28px; }
.whcore-popup__eyebrow { display: block; font-family: var(--wc-head); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #a4841a; font-weight: 700; margin-bottom: 8px; }
.whcore-popup__body h2 { font-family: var(--wc-head); font-size: clamp(24px, 3vw, 32px); margin: 0 0 10px; font-weight: 800; line-height: 1.1; }
.whcore-popup__body p { color: var(--wc-gray); font-size: 15px; margin: 0 0 18px; }
.whcore-popup__form { display: grid; gap: 10px; }
.whcore-popup__form input[type="email"] { padding: 14px 16px; border: 1px solid var(--wc-line); border-radius: 12px; font-size: 16px; }
.whcore-popup__form input[type="email"]:focus { outline: none; border-color: var(--wc-gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb, 201, 162, 39), .2); }
.whcore-popup__btn { display: inline-flex; justify-content: center; align-items: center; padding: 15px 20px; border-radius: 999px; background: var(--wc-gold); color: var(--wc-black); font-family: var(--wc-head); font-weight: 800; font-size: 16px; border: 0; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s; }
.whcore-popup__btn:hover { background: var(--wc-gold-2); transform: translateY(-2px); color: var(--wc-black); }
.whcore-popup__err { color: var(--wc-danger); font-size: 13px; margin: 0; min-height: 1em; }
.whcore-popup__skip { background: none; border: 0; color: var(--wc-gray); font-size: 13px; text-decoration: underline; cursor: pointer; margin-top: 10px; }
.whcore-popup__fine { font-size: 12px !important; margin: 12px 0 0 !important; }
.whcore-popup__code { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; }
.whcore-popup__code code { flex: 1; font-size: 28px; font-weight: 800; letter-spacing: .12em; padding: 14px 18px; border: 2px dashed var(--wc-gold); border-radius: 12px; background: rgba(var(--gold-rgb, 201, 162, 39), .1); text-align: center; font-family: var(--wc-head); }
.whcore-popup__copy { padding: 12px 16px; border-radius: 999px; border: 2px solid var(--wc-black); background: var(--wc-black); color: #fff; font-weight: 700; cursor: pointer; }
.whcore-popup__msg { font-size: 14px !important; }
@media (min-width: 680px) { .whcore-popup__card { grid-template-columns: .85fr 1.15fr; } .whcore-popup__media { min-height: 100%; } .whcore-popup__body { padding: 40px 36px; } }
body.whcore-popup-open { overflow: hidden; }

/* ---------- Designer panel (product page) ---------- */
.whcore-design { display: grid; gap: 10px; margin-bottom: 0; width: 100%; }
.whcore-design__empty { display: grid; gap: 10px; }
.whcore-design__btn { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--wc-black); background: var(--wc-black); color: #fff; cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.whcore-design__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); color: #fff; }
.whcore-design__btn .whc-icon { width: 28px; height: 28px; color: var(--wc-gold); flex: none; }
/* The canvas library is fetched the first time this is pressed, so on a slow
   connection there is a moment between the click and the designer appearing.
   The button says it heard you rather than looking broken. */
.whcore-design__btn.is-loading { opacity: .72; cursor: progress; }
.whcore-design__btn.is-loading .whc-icon { animation: whcore-pulse 1s ease-in-out infinite; }
@keyframes whcore-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .whcore-design__btn.is-loading .whc-icon { animation: none; } }
.whcore-design__btn span { display: flex; flex-direction: column; }
.whcore-design__btn strong { font-family: var(--wc-head); font-size: 16px; }
.whcore-design__btn small { font-size: 12px; opacity: .75; }
.whcore-design__btn--alt { background: #fff; color: var(--wc-black); border-color: var(--wc-line); }
.whcore-design__btn--alt:hover { color: var(--wc-black); border-color: var(--wc-black); }
.whcore-design__btn--alt .whc-icon { color: #a4841a; }
.whcore-design__done { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; border: 2px solid var(--wc-gold); background: rgba(var(--gold-rgb, 201, 162, 39), .1); }
.whcore-design__done img { width: 86px; height: 64px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--wc-line); }
.whcore-design__meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.whcore-design__meta strong { font-family: var(--wc-head); font-size: 15px; }
.whcore-design__actions { display: flex; gap: 12px; margin-top: 4px; }
.whcore-design__notes { display: grid; gap: 8px; font-size: 13px; }
.whcore-design__notes[hidden], .whcore-design__notes-field[hidden] { display: none; }
.whcore-design__notes-toggle { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 7px; border: 1px solid var(--wc-line); border-radius: 999px; background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; color: inherit; text-decoration: none !important; cursor: pointer; box-shadow: 0 1px 3px rgba(11, 11, 11, .08); transition: box-shadow .18s ease, border-color .18s ease; }
.whcore-design__notes-toggle small { font-weight: 400; color: var(--wc-gray); font-size: 12.5px; }
.whcore-design__notes-toggle:hover, .whcore-design__notes-toggle:focus-visible { border-color: var(--wc-gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb, 201, 162, 39), .22), 0 4px 12px rgba(var(--gold-rgb, 201, 162, 39), .25); outline: none; }
.whcore-design__notes-toggle[aria-expanded="true"] { border-color: var(--wc-gold); }
.whcore-design__notes-plus { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--wc-gold); color: var(--wc-black); font-size: 15px; line-height: 1; font-weight: 700; }
.whcore-design__notes-field { display: block; }
.whcore-design__notes textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--wc-line); border-radius: 10px; font: inherit; font-size: 14px; resize: vertical; }
.whcore-design__status { margin: 0; font-size: 13px; color: var(--wc-gray); }
/* Nothing to say, no space taken. It was holding a blank line open under
   every saved design. */
.whcore-design__status:empty { display: none; }
.whcore-design__status.is-error { color: var(--wc-danger); font-weight: 600; }
.whcore-design.is-shake { animation: whcore-shake .5s; }
@keyframes whcore-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
/* Not faded. A greyed out Add to Cart reads as a broken page, and the rule it
   is enforcing is better said in words underneath it than implied by an
   opacity nobody can interpret. */
.single_add_to_cart_button.whcore-needs-design { opacity: 1; }
/* Add to Cart is always gold, never WooCommerce's purple disabled state and
   never faded: a click with something missing says what, on the page
   (2.7.14). */
body.single-product form.cart .single_add_to_cart_button.button.alt,
body.single-product form.cart .single_add_to_cart_button.button.alt.disabled,
body.single-product form.cart .single_add_to_cart_button.button.alt:disabled,
body.single-product form.cart .single_add_to_cart_button.button.alt[disabled],
body.single-product form.cart .single_add_to_cart_button.wc-variation-selection-needed,
body.single-product form.cart .single_add_to_cart_button.wc-variation-is-unavailable,
body.single-product form.cart .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button {
	background: var(--gold, #c9a227) !important; background-color: var(--gold, #c9a227) !important;
	border-color: var(--gold, #c9a227) !important; color: var(--gold-text, var(--ink, #161616)) !important;
	opacity: 1 !important; pointer-events: auto !important; cursor: pointer !important;
}
body.single-product form.cart .single_add_to_cart_button.button.alt:hover {
	background: var(--gold-dark, #a4841a) !important; background-color: var(--gold-dark, #a4841a) !important; border-color: var(--gold-dark, #a4841a) !important;
}
.whcore-design.is-asking { animation: whcore-ask .4s ease 2; }
@keyframes whcore-ask { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .whcore-design.is-asking { animation: none; outline: 2px solid var(--whc-gold, var(--gold, #c9a227)); outline-offset: 4px; } }
.whcore-bulk-hint { width: 100%; margin: 4px 0 0; font-size: 13px; color: var(--wc-gray); }
.whcore-bulk-hint a { color: #a4841a; text-decoration: underline; }

/* ---------- Product add-ons ---------- */
.whcore-addons { width: 100%; margin: 4px 0 14px; }
.whcore-addons__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.whcore-addons__label { font-family: var(--wc-head); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--wc-black); }
.whcore-addons__hint { font-size: 12px; color: var(--wc-gray); }
.whcore-addons__grid { display: grid; gap: 8px; }
.whcore-addon { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1.5px solid var(--wc-line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.whcore-addon:hover { border-color: #a4841a; }
.whcore-addon input { position: absolute; opacity: 0; width: 0; height: 0; }
.whcore-addon__box { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border: 2px solid var(--wc-line); border-radius: 6px; color: var(--wc-black); transition: background .15s, border-color .15s; }
.whcore-addon__box svg { opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.whcore-addon input:checked ~ .whcore-addon__box { background: var(--wc-gold); border-color: var(--wc-gold); }
.whcore-addon input:checked ~ .whcore-addon__box svg { opacity: 1; transform: scale(1); }
.whcore-addon input:focus-visible ~ .whcore-addon__box { outline: 2px solid #a4841a; outline-offset: 2px; }
.whcore-addon:has(input:checked) { border-color: var(--wc-black); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.whcore-addon__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.whcore-addon__text strong { font-family: var(--wc-head); font-size: 15px; }
.whcore-addon__text small { font-size: 12px; color: var(--wc-gray); }
.whcore-addon__price { font-family: var(--wc-head); font-weight: 800; font-size: 14px; color: #a4841a; white-space: nowrap; }

/* ---------- Editor modal ---------- */
.whcore-editor [data-ed-camos].whcore-swatches--big, .whcore-editor [data-ed-patterns].whcore-swatches--big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.whcore-editor [data-ed-patterns].whcore-swatches--big button { background-size: 40px 40px !important; background-repeat: repeat !important; background-position: 0 0 !important; }
.whcore-swatches--big button { width: 100%; height: auto; aspect-ratio: 1; min-height: 72px; border-radius: 12px; background-size: 150% 150% !important; background-position: center !important; border: 2px solid rgba(255, 255, 255, .14); }
.whcore-editor { position: fixed; inset: 0; z-index: 400; background: #111; color: #fff; display: flex; flex-direction: column; font-family: var(--wc-head); }
body.whcore-editor-open { overflow: hidden; }
.whcore-editor__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #0b0b0b; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.whcore-editor__brand { font-weight: 800; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.whcore-editor__brand strong { color: var(--wc-gold); }
.whcore-editor__tpl { font-size: 12px; font-weight: 500; opacity: .7; padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, .2); }
.whcore-editor__topactions { display: flex; gap: 8px; align-items: center; }
.whcore-ib { width: 38px; height: 38px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .15); background: transparent; color: #fff; font-size: 18px; cursor: pointer; }
.whcore-ib:hover { background: rgba(255, 255, 255, .1); }
.whcore-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 999px; font-family: var(--wc-head); font-weight: 700; font-size: 14px; border: 2px solid transparent; cursor: pointer; background: #2a2a2a; color: #fff; transition: background .2s; }
.whcore-btn:hover { background: #3a3a3a; }
.whcore-btn--gold { background: var(--wc-gold); color: var(--wc-black); }
.whcore-btn--gold:hover { background: var(--wc-gold-2); }
.whcore-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .3); }
.whcore-btn--outline { display: inline-flex; align-items: center; gap: 7px; background: transparent; border-color: var(--wc-gold); color: var(--wc-gold); }
.whcore-btn--outline:hover { background: rgba(var(--gold-rgb, 201, 162, 39), .15); }
.whcore-btn--sm { padding: 7px 12px; font-size: 12px; }
/* Preview dialog */
.whcore-editor__preview { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; }
.whcore-editor__preview-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .82); backdrop-filter: blur(4px); }
.whcore-editor__preview-card { position: relative; width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; background: #161616; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); overflow: hidden; }
.whcore-editor__preview-x { position: absolute; top: 10px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.whcore-editor__preview-x:hover { background: rgba(255, 255, 255, .2); }
.whcore-editor__preview-head { padding: 20px 60px 12px 24px; }
.whcore-editor__preview-head h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.whcore-editor__preview-head p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .65); }
.whcore-editor__preview-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 28px 32px 36px; background: #e9e6df radial-gradient(ellipse at 50% 30%, #f7f5f0 0%, #d9d5cc 100%); }
.whcore-editor__preview-stage { position: relative; }
.whcore-editor__preview-thumbs { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); z-index: 1; display: flex; flex-direction: column; gap: 10px; max-height: calc(100% - 36px); overflow-y: auto; padding: 2px; }
.whcore-editor__preview-thumbs[hidden] { display: none; }
.whcore-editor__preview-stage:has(.whcore-editor__preview-thumbs:not([hidden])) { padding-left: 124px; padding-right: 124px; }
.whcore-editor__preview-thumb { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.whcore-editor__preview-thumbimg { display: grid; place-items: center; width: 84px; height: 84px; overflow: hidden; border-radius: 10px; background: #fff; border: 2px solid rgba(0, 0, 0, .1); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); transition: border-color .15s, transform .15s; }
.whcore-editor__preview-stage .whcore-editor__preview-thumbimg img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; }
.whcore-editor__preview-thumbimg .whcore-spinner { width: 22px; height: 22px; }
.whcore-editor__preview-thumb:hover .whcore-editor__preview-thumbimg { transform: translateY(-1px); border-color: rgba(var(--gold-rgb, 201, 162, 39), .6); }
.whcore-editor__preview-thumb.is-active .whcore-editor__preview-thumbimg { border-color: var(--gold, #c9a227); }
.whcore-editor__preview-thumb[disabled] { opacity: .45; cursor: default; }
.whcore-editor__preview-thumblabel { font-size: 11.5px; font-weight: 700; color: #3a372f; }
.whcore-editor__preview-stage img { display: block; max-width: 100%; max-height: min(62vh, 640px); width: auto; height: auto; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .35)) drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.whcore-editor__preview-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 720px) {
	.whcore-editor__preview { padding: 8px; }
	.whcore-editor__preview-head { padding: 16px 52px 8px 16px; }
	.whcore-editor__preview-stage { padding: 18px 16px 24px; }
	.whcore-editor__preview-thumbs { position: static; transform: none; flex-direction: row; justify-content: center; max-height: none; overflow-x: auto; margin-bottom: 12px; }
	.whcore-editor__preview-stage:has(.whcore-editor__preview-thumbs:not([hidden])) { display: flex; flex-direction: column; align-items: center; padding-left: 16px; padding-right: 16px; }
	.whcore-editor__preview-thumbimg { width: 60px; height: 60px; }
	.whcore-editor__preview-stage img { max-height: 48vh; }
	.whcore-editor__preview-foot { padding: 10px 12px; }
	.whcore-editor__preview-foot .whcore-btn { flex: 1; text-align: center; justify-content: center; }
}
.whcore-btn--danger { background: #5a1c16; }
/* Named areas rather than source order, so the selected-item strip can sit
   above the tool tabs on a desktop and above them on a phone too, without the
   two layouts disagreeing about which child goes where. When nothing is
   selected the strip is hidden and its row collapses to nothing. */
.whcore-editor__body { flex: 1; display: grid; grid-template-columns: 76px 300px 1fr; grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "layer layer stage" "tabs panel stage"; min-height: 0; }
.whcore-editor__tabs { grid-area: tabs; }
.whcore-editor__panel { grid-area: panel; }
/* The stage centres the artwork, so its padding is symmetric. The top needs
   room for the floating align bar and the bottom for the zoom pill and the
   status strip, both of which are positioned over the padding rather than in
   the flow. Uneven padding here is what used to leave the template sitting
   low in the window. */
.whcore-editor__stage { grid-area: stage; }
.whcore-editor__layer { grid-area: layer; }
.whcore-editor__tabs { display: flex; flex-direction: column; background: #0b0b0b; border-right: 1px solid rgba(255, 255, 255, .1); }
.whcore-editor__tabs button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 4px; background: transparent; border: 0; color: rgba(255, 255, 255, .7); font-size: 11px; font-family: var(--wc-head); font-weight: 600; cursor: pointer; border-left: 3px solid transparent; }
.whcore-editor__tabs button .whc-icon { width: 22px; height: 22px; }
.whcore-tab-t { font-size: 22px; font-weight: 800; line-height: 22px; }
.whcore-editor__tabs button.is-active { color: var(--wc-gold); border-left-color: var(--wc-gold); background: rgba(255, 255, 255, .04); }
.whcore-editor__panel { background: #1a1a1a; overflow-y: auto; padding: 18px 16px 100px; border-right: 1px solid rgba(255, 255, 255, .1); position: relative; }
.whcore-editor__panel section { display: none; }
.whcore-editor__panel section.is-active { display: block; }
.whcore-editor__panel h3 { font-size: 16px; margin: 0 0 12px; }
.whcore-editor__panel h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin: 18px 0 8px; }
.whcore-editor__panel label { display: grid; gap: 4px; font-size: 12px; color: rgba(255, 255, 255, .75); margin-bottom: 10px; }
.whcore-editor__panel select, .whcore-editor__panel input[type="text"] { width: 100%; padding: 9px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .15); background: #0b0b0b; color: #fff; font: inherit; font-size: 14px; }
.whcore-editor__panel input[type="color"] { width: 100%; height: 36px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px; background: #0b0b0b; padding: 2px; }
.whcore-editor__panel input[type="range"] { width: 100%; accent-color: var(--wc-gold); }
.whcore-range { display: grid; gap: 2px; }
.whcore-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.whcore-row input[type="text"] { flex: 1; }
.whcore-row--2 { display: grid; grid-template-columns: 1fr 1fr; }
.whcore-check { display: flex !important; align-items: center; gap: 8px; }
.whcore-check input { accent-color: var(--wc-gold); }
/* The !important above was beating the hidden attribute, so every control the
   designer tries to hide for a given template stayed on screen: the logo sock
   kept its circle crop and playful tilt. Hidden has to win. */
.whcore-check[hidden],
.whcore-range[hidden],
.whcore-editor [hidden] { display: none !important; }
.whcore-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 14px; border: 2px dashed rgba(255, 255, 255, .25); border-radius: 12px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; color: #fff !important; }
.whcore-drop:hover, .whcore-drop.is-over { border-color: var(--wc-gold); background: rgba(var(--gold-rgb, 201, 162, 39), .08); }
.whcore-drop input { display: none; }
.whcore-drop .whc-icon { width: 30px; height: 30px; color: var(--wc-gold); }
.whcore-drop strong { font-size: 14px; }
.whcore-drop span { font-size: 12px; opacity: .7; }
.whcore-drop--sm { padding: 16px; }
.whcore-warn { margin: 10px 0; padding: 10px 12px; border-radius: 8px; background: #4a3a10; color: #f3dc8a; font-size: 12px; }
.whcore-tip { margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, .55); line-height: 1.5; }
.whcore-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 12px; }
.whcore-swatches button { aspect-ratio: 1; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .15); cursor: pointer; }
.whcore-swatches button:hover { border-color: var(--wc-gold); }
.whcore-layouts { display: grid; gap: 8px; }
/* Logo presets, shown inside the Sock tab on the pair template. */
.whcore-sock-presets { margin: 12px 0 4px; }
.whcore-sock-presets[hidden] { display: none !important; }
.whcore-sock-presets__h { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; margin-bottom: 7px; }
.whcore-layout { padding: 12px 14px; text-align: left; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .15); background: #0b0b0b; color: #fff; font-family: var(--wc-head); font-weight: 600; cursor: pointer; }
.whcore-layout:hover { border-color: var(--wc-gold); color: var(--wc-gold); }
.whcore-sock-faces { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.whcore-sock-face { position: relative; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--wc-gold); }
.whcore-sock-face img { width: 100%; height: 100%; object-fit: cover; }
.whcore-sock-face button { position: absolute; top: 0; right: 0; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #000; color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
/* A logo is not a face. The round thumb with a cover crop was lopping the ends
   off wordmarks, so on the logo sock the preview is square and shows the whole
   mark, on a light tile so a white logo is still visible. */
.whcore-sock-faces.is-logos .whcore-sock-face { width: 76px; height: 76px; border-radius: 10px; background: #f3f3f3; }
.whcore-sock-faces.is-logos .whcore-sock-face img { object-fit: contain; padding: 6px; }
/* Selected item strip. It was sticky to the bottom of the tool panel with a
   -100px bottom margin, which floated it over whatever the panel was showing;
   on a phone that was the upload box. */
.whcore-editor__layer { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #111; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.whcore-editor__layer[hidden] { display: none; }
.whcore-editor__layer-label { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); flex: none; }
.whcore-editor__layer-btns { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.whcore-lb { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 4px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 9px; background: #0b0b0b; color: #fff; cursor: pointer; font-family: var(--wc-head); font-size: 10.5px; font-weight: 700; line-height: 1; transition: border-color .15s, color .15s, background .15s; }
.whcore-lb svg { flex: none; }
.whcore-lb span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.whcore-lb:hover { border-color: var(--wc-gold); color: var(--wc-gold); }
.whcore-lb--danger:hover { border-color: #e05b5b; color: #e05b5b; }
.whcore-editor__stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 16px; background: #2a2a2a repeating-conic-gradient(#2e2e2e 0 25%, #262626 0 50%) 0 0/24px 24px; min-height: 0; overflow: auto; }
.whcore-editor__canvaswrap { position: relative; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); background: #fff; }
/* On a garment the print area is not a sheet of paper, it is a patch of shirt.
   A white wrapper and its drop shadow drew a hard white box over the mockup,
   which is the first thing you see and the last thing the product looks like. */
.whcore-editor__canvaswrap.is-garment, [data-ed-canvaswrap].is-garment { background: transparent; box-shadow: none; }
.whcore-editor__canvaswrap canvas { display: block; }
.whcore-editor__stagebar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 10px; font-size: 12px; color: rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .5); }
.whcore-editor__stagebar .whcore-check { margin: 0; color: rgba(255, 255, 255, .8); }
.whcore-editor__align { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-radius: 999px; background: rgba(12, 12, 12, .92); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); backdrop-filter: blur(6px); }
.whcore-editor__align-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); padding: 0 6px 0 4px; white-space: nowrap; }
.whcore-editor__align-sep { width: 1px; height: 20px; margin: 0 4px; background: rgba(255, 255, 255, .16); }
.whcore-editor__align-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .85); cursor: pointer; transition: background .15s, color .15s; }
.whcore-editor__align-btn:hover, .whcore-editor__align-btn:focus-visible { background: rgba(255, 255, 255, .14); color: #fff; outline: none; }
.whcore-editor__align-btn.is-primary { color: var(--gold, #c9a227); }
.whcore-editor__align-btn.is-primary:hover { background: rgba(var(--gold-rgb, 201, 162, 39), .18); }
.whcore-editor__align-btn svg { display: block; }
@media (max-width: 720px) {
	.whcore-editor__align { top: 6px; gap: 2px; padding: 4px; max-width: calc(100% - 20px); overflow-x: auto; }
	.whcore-editor__align-label { display: none; }
	.whcore-editor__align-btn { width: 30px; height: 30px; }
}
/* Helper text under a panel heading: a quiet line, not a paragraph. It was
   inheriting body size (about 17px) and taking more room than the controls
   it explains. */
.whcore-editor__hint, [data-ed-panel] p.whcore-editor__hint { opacity: .62; font-size: 12.5px; line-height: 1.45; margin: 2px 0 10px; }
.whcore-editor__save-short { display: none; }
@media (max-width: 900px) { .whcore-editor__save-long { display: none; } .whcore-editor__save-short { display: inline; } }
.whcore-editor__saving { position: absolute; inset: 0; z-index: 5; background: rgba(0, 0, 0, .8); display: grid; place-items: center; text-align: center; }
.whcore-spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .2); border-top-color: var(--wc-gold); animation: whcore-spin 1s linear infinite; margin: 0 auto 12px; }
@keyframes whcore-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
	.whcore-editor__body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto auto auto; grid-template-areas: "stage" "layer" "tabs" "panel"; }
	.whcore-editor__layer { padding: 7px 8px; gap: 8px; }
	.whcore-editor__layer-label { display: none; }
	.whcore-editor__stage { order: 1; padding: 52px 10px; }
	.whcore-editor__tabs { order: 2; flex-direction: row; border-right: 0; border-top: 1px solid rgba(255, 255, 255, .1); overflow-x: auto; }
	.whcore-editor__tabs button { flex: 1; border-left: 0; border-top: 3px solid transparent; padding: 10px 4px; }
	.whcore-editor__tabs button.is-active { border-top-color: var(--wc-gold); }
	.whcore-editor__panel { order: 3; max-height: 38vh; border-right: 0; padding-bottom: 70px; }
	.whcore-editor__top { padding: 8px 10px; flex-wrap: nowrap; }
	.whcore-editor__brand { font-size: 14px; }
	.whcore-editor__topactions { flex: none; gap: 4px; }
	.whcore-editor__topactions .whcore-ib { width: 32px; height: 32px; }
	.whcore-editor__topactions [data-ed-fit] { display: none; }
	.whcore-editor__topactions [data-ed-preview-open] { padding: 9px 10px; }
	.whcore-editor__topactions [data-ed-preview-open] span { display: none; }
	.whcore-editor__topactions [data-ed-save] { padding: 9px 12px; font-size: 13px; white-space: nowrap; }
	.whcore-editor__tpl, .whcore-editor__hint { display: none; }
	.whcore-btn { padding: 9px 12px; font-size: 13px; }
}

/* ---------- Affiliate dashboard ---------- */
.whcore-dash { display: grid; gap: 20px; }
.whcore-dash__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.whcore-dash__head h2 { margin: 0; font-family: var(--wc-head); font-size: 30px; }
.whcore-dash__tier { padding: 14px 18px; border-radius: 12px; background: var(--wc-black); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.whcore-dash__tier span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.whcore-dash__tier strong { color: var(--wc-gold); font-family: var(--wc-head); font-size: 18px; }
.whcore-dash__tier small { font-size: 12px; opacity: .75; }
.whcore-dash__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.whcore-dash__stats div { padding: 16px; border-radius: 12px; background: var(--wc-off); border: 1px solid var(--wc-line); display: flex; flex-direction: column; gap: 2px; }
.whcore-dash__stats strong { font-family: var(--wc-head); font-size: 22px; }
.whcore-dash__stats span { font-size: 12px; color: var(--wc-gray); text-transform: uppercase; letter-spacing: .08em; }
@media (min-width: 720px) { .whcore-dash__stats { grid-template-columns: repeat(6, 1fr); } }
.whcore-dash__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .whcore-dash__grid { grid-template-columns: 1fr 1fr; } }
.whcore-dash__card { padding: 22px; border-radius: 14px; border: 1px solid var(--wc-line); background: #fff; }
.whcore-dash__card h3 { font-family: var(--wc-head); font-size: 18px; margin: 0 0 12px; }
.whcore-dash__card h4 { font-family: var(--wc-head); font-size: 14px; margin: 18px 0 6px; }
.whcore-copy { display: flex; gap: 8px; margin-bottom: 8px; }
.whcore-copy input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--wc-line); border-radius: 10px; font-size: 14px; }
.whcore-dash__tiers { display: grid; gap: 6px; }
.whcore-dash__tiers li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--wc-line); font-size: 14px; }
.whcore-dash__tiers li small { grid-column: 1 / -1; color: var(--wc-gray); font-size: 12px; }
.whcore-dash__tiers li.is-current { border-color: var(--wc-gold); background: rgba(var(--gold-rgb, 201, 162, 39), .1); font-weight: 700; }
.whcore-table-wrap { overflow-x: auto; }
.whcore-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.whcore-table th, .whcore-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--wc-line); white-space: nowrap; }
.whcore-table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--wc-gray); }
.whcore-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--wc-off); }
.whcore-pill--approved { background: #e7f5ec; color: #1f8a4c; }
.whcore-pill--paid { background: var(--wc-black); color: var(--wc-gold); }
.whcore-pill--rejected { background: #fbe9e7; color: var(--wc-danger); }
.whcore-pill--pending { background: rgba(var(--gold-rgb, 201, 162, 39), .15); color: #8a6d12; }
.whcore-dash--login form { display: grid; gap: 10px; max-width: 420px; }
.whcore-dash--login form p { margin: 0; }
.whcore-dash--login input[type="text"], .whcore-dash--login input[type="password"] { width: 100%; padding: 12px 14px; border: 1px solid var(--wc-line); border-radius: 10px; }
.whcore-dash--login input[type="submit"] { padding: 12px 22px; border-radius: 999px; background: var(--wc-gold); border: 0; font-weight: 700; cursor: pointer; }

/* ---------- Testimonials (plugin markup reuses theme .whc-testi) ---------- */
.whcore-testi-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

/* ---------- Upload progress (product page) ----------
   A bar that moves is the only honest answer to "did that upload?". The
   percentage is real, measured from the bytes actually sent; once they are all
   sent the server still has to write the file and build a preview, so the bar
   goes indeterminate rather than sitting at 100% pretending to be finished. */
.whcore-uploading { margin: 10px 0 4px; padding: 12px 14px; border: 1px solid var(--wc-line); border-radius: 12px; background: var(--wc-off); }
.whcore-uploading__row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.whcore-uploading__spin { width: 17px; height: 17px; flex: none; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .14); border-top-color: var(--wc-gold); animation: whcore-spin .8s linear infinite; }
.whcore-uploading__text { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--wc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whcore-uploading__pct { flex: none; font-size: 13px; font-weight: 700; color: var(--wc-gray); font-variant-numeric: tabular-nums; }
.whcore-uploading__track { height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.whcore-uploading__fill { height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #a4841a, var(--wc-gold)); transition: width .18s linear; }
.whcore-uploading.is-working .whcore-uploading__fill { width: 100% !important; background: linear-gradient(90deg, rgba(164, 132, 26, .25) 0 25%, var(--wc-gold) 25% 50%, rgba(164, 132, 26, .25) 50% 75%, var(--wc-gold) 75% 100%); background-size: 200% 100%; animation: whcore-barber 1.1s linear infinite; transition: none; }
@keyframes whcore-barber { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
	.whcore-uploading__spin, .whcore-uploading.is-working .whcore-uploading__fill { animation: none; }
}

/* ---------- Euro plate panel ---------- */
.whcore-euro__bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 10px; }
.whcore-euro__bars:not(.is-all) .whcore-eurobar.is-extra:not(.is-active) { display: none; }
.whcore-euro__barsfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.whcore-euro__all { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.whcore-eurobar { position: relative; display: block; padding: 0; border: 2px solid #e2e2e2; border-radius: 8px; background: #fff; cursor: pointer; overflow: hidden; line-height: 0; transition: border-color .15s, box-shadow .15s; }
.whcore-eurobar img { display: block; width: 100%; height: auto; }
.whcore-eurobar span { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 0; font: 700 10px/1 system-ui, sans-serif; letter-spacing: .04em; text-align: center; color: #fff; background: rgba(0, 0, 0, .62); }
.whcore-eurobar:hover { border-color: #b9b9b9; }
.whcore-eurobar.is-active { border-color: #0b0b0b; box-shadow: 0 0 0 3px rgba(11, 11, 11, .12); }
.whcore-euro__legend { display: block; margin-top: 10px; border: 1px solid #e2e2e2; border-radius: 8px; overflow: hidden; line-height: 0; }
.whcore-euro__legend img { display: block; width: 100%; height: auto; }

/* ---------- Phone notice before the designer opens ---------- */
body.whcore-mnote-open { overflow: hidden; }
.whcore-mnote { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: end center; }
.whcore-mnote[hidden] { display: none; }
.whcore-mnote__back { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.whcore-mnote__box {
	position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
	padding: 26px 22px calc(22px + env(safe-area-inset-bottom));
	background: #fff; border-radius: 20px 20px 0 0;
	box-shadow: 0 -8px 40px rgba(0, 0, 0, .25);
	animation: whcore-mnote-up .26s cubic-bezier(.2, .8, .2, 1);
}
@keyframes whcore-mnote-up { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 560px) {
	.whcore-mnote { place-items: center; }
	.whcore-mnote__box { border-radius: 18px; padding-bottom: 24px; }
}
.whcore-mnote__x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; padding: 0; font-size: 26px; line-height: 1; color: #777; background: none; border: 0; cursor: pointer; }
.whcore-mnote__h { margin: 0 0 10px; padding-right: 30px; font-size: 21px; line-height: 1.2; }
.whcore-mnote__p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; color: #555; }
.whcore-mnote__btns { display: grid; gap: 9px; margin-top: 20px; }
.whcore-mnote__btn { width: 100%; min-height: 50px; padding: 13px 18px; font: inherit; font-weight: 700; font-size: 15px; color: #111; background: #fff; border: 1.5px solid #ddd; border-radius: 12px; cursor: pointer; }
.whcore-mnote__btn--main { color: #111; background: var(--gold, #c9a227); border-color: var(--gold, #c9a227); }
.whcore-mnote__btn--ghost { font-weight: 500; color: #666; border-color: transparent; }
.whcore-mnote__btn:hover { border-color: #111; }
.whcore-mnote__btn--main:hover { background: #d9b437; border-color: #d9b437; }
.whcore-mnote__mail { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eee; }
.whcore-mnote__mail[hidden] { display: none; }
.whcore-mnote__mail label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.whcore-mnote__row { display: flex; gap: 8px; }
.whcore-mnote__row input { flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 14px; font-size: 16px; border: 1.5px solid #ddd; border-radius: 12px; }
.whcore-mnote__row .whcore-mnote__btn { width: auto; flex: 0 0 auto; }
.whcore-mnote__status { margin: 10px 0 0; font-size: 13px; }
.whcore-mnote__status.is-ok { color: #12703a; }
.whcore-mnote__status.is-err { color: #b32d2e; }

/* ---------- Colour swatches ---------- */
.whcore-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 2px; }
.whcore-swatches__select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.whcore-swatch { position: relative; display: block; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
/* Knit, not a flat disc.
   One transparent knit tile laid over the colour gives every solid shirt its
   relief, and one neutral heather tile blended over the colour gives the
   heathers their fleck without dragging them towards the grey it was cropped
   from. Two images cover every colour we will ever add, which beats a
   photographed swatch per colour. */
:root {
	--whc-knit: url('../img/knit.png');
	--whc-knit-heather: url('../img/knit-heather.png');
}
.whcore-swatch__chip {
	display: block; width: 100%; height: 100%; border-radius: 50%;
	background-color: var(--sw);
	background-image: var(--whc-knit);
	background-size: 34px 34px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
	transition: transform .15s;
}
.whcore-swatch.is-heather .whcore-swatch__chip {
	background-image: var(--whc-knit-heather);
	background-blend-mode: overlay;
}
.whcore-swatch.is-light .whcore-swatch__chip { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28); }
.whcore-swatch__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.whcore-swatch:hover .whcore-swatch__chip { transform: scale(1.08); }
.whcore-swatch::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; transition: border-color .15s; }
.whcore-swatch.is-active::after { border-color: #0b0b0b; }
.whcore-swatch:focus-visible::after { border-color: var(--gold, #c9a227); }
.whcore-swatch.is-gone { opacity: .3; cursor: not-allowed; }
.whcore-swatch.is-gone .whcore-swatch__chip { transform: none; }

/* ---------- Side and colour, under the garment ---------- */
/* position + z-index matter here: the garment is an absolutely positioned
   layer, and a static sibling paints underneath every positioned one however
   late it comes in the markup. That is why the shirt was covering this. */
.whcore-stagetools { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center; max-width: 100%; margin-top: 14px; padding: 8px 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; }
.whcore-stagetools[hidden] { display: none; }

/* Front / back, top left of the stage.
   They were pinned to the bottom, which on a long sleeve meant they sat below
   the shirt and off the bottom of a stage that scrolls, so the one control
   that says "this is a two-sided product" was the one nobody found. Top left
   is empty, it is where the eye starts, and the align toolbar keeps the
   centre. */
.whcore-sides { position: absolute; top: 14px; left: 16px; z-index: 7; display: flex; gap: 4px; padding: 3px; background: rgba(0, 0, 0, .62); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; backdrop-filter: blur(6px); }
.whcore-sides[hidden] { display: none; }
@media (max-width: 782px) {
	.whcore-sides { top: 10px; left: 10px; }
	.whcore-side { padding: 7px 14px; font-size: 13px; }
}
.whcore-stagecolors { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; min-width: 0; }
.whcore-stagecolors__row { display: flex; flex-wrap: wrap; gap: 6px; }
.whcore-stagecolors__name { font-size: 12px; color: rgba(255, 255, 255, .72); }
.whcore-stagecolor { position: relative; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background-color: var(--sw); background-image: var(--whc-knit); background-size: 26px 26px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.whcore-stagecolor.is-heather { background-image: var(--whc-knit-heather); background-blend-mode: overlay; }
.whcore-stagecolor.is-light { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.whcore-stagecolor::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid transparent; }
.whcore-stagecolor.is-active::after { border-color: #fff; }
.whcore-stagecolor:focus-visible::after { border-color: var(--gold, #c9a227); }
.whcore-side { min-height: 34px; padding: 7px 18px; font: inherit; font-weight: 700; font-size: 14px; color: rgba(255, 255, 255, .72); background: transparent; border: 0; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.whcore-side.is-active { color: #0b0b0b; background: #fff; }
/* Locked and selected at the same time is the normal state of the Back pill:
   you are looking at the back, you have not paid for a back print yet. The
   dimmed colour must not apply then, or it paints white text onto the white
   selected pill and the label disappears. */
.whcore-side.is-locked:not(.is-active) { color: rgba(255, 255, 255, .55); }
.whcore-side.is-locked.is-active { color: #0b0b0b; }
.whcore-side:not(.is-active):hover { background: rgba(255, 255, 255, .12); }
.whcore-side__add { margin-left: 5px; padding: 1px 7px; border-radius: 999px; background: var(--gold, #c9a227); color: var(--gold-text, #0b0b0b); font-size: 11px; font-weight: 800; }
.whcore-side__add[hidden] { display: none; }

/* ---------- Shirt colour panel ---------- */
.whcore-shirtcolors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.whcore-shirtcolor { position: relative; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.whcore-shirtcolor span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); }
.whcore-shirtcolor.is-light span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.whcore-shirtcolor::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; }
.whcore-shirtcolor.is-active::after { border-color: #0b0b0b; }

/* ---------- Garment mockup behind the canvas ----------
   The canvas is the print file: everything drawn on it gets exported, so the
   shirt cannot live there or it would end up on the press. It is a DOM layer
   underneath instead, sized so its print area lands exactly on the canvas. */
/* Isolated so the multiply blends against the garment art inside this layer
   and not against the stage behind it. */
.whcore-mockup { position: absolute; z-index: 0; pointer-events: none; isolation: isolate; }
.whcore-mockup[hidden] { display: none; }
.whcore-mockup img { display: block; width: 100%; height: 100%; }
/* Multiply over white line art keeps the folds and seams and tints only the
   fabric, which is how one white blank covers every colour. */
.whcore-mockup__tint { position: absolute; inset: 0; mix-blend-mode: multiply; }
/* Heather jersey has visible flecking that a smooth blank does not. The dot
   pattern that used to be here was three radial gradients pretending to be
   yarn, and it read as a halftone screen up close. This is the real knit,
   neutralised to mid grey so an overlay blend keeps the shirt's own colour and
   only the flecks lighten or darken it.

   The solid knit sits on every garment, heather or not, because a smooth blank
   is still a knit and a perfectly flat shirt looks like a sticker. */
.whcore-mockup__tex {
	position: absolute; inset: 0; mix-blend-mode: overlay; opacity: .28;
	background-image: var(--whc-knit); background-size: 42px 42px;
}
.whcore-mockup.is-heather .whcore-mockup__tex {
	/* Lighter than it was. A heather marl is a faint tonal fleck, not a
	   texture you read as pattern: at .6 it was sitting on top of the colour
	   rather than inside it. */
	opacity: var(--whc-heather-opacity, .3);
	background-image: var(--whc-knit-heather);
	/* Was 46px, which tiled small enough to read as noise rather than as a
	   heather marl. One number to tune if it wants to go further. */
	background-size: var(--whc-heather-scale, 96px) var(--whc-heather-scale, 96px);
}
/* The wrapper is canvas-sized and the mockup hangs off its origin, so the
   overflow has to stay visible: the shirt is deliberately larger than it. */
.whcore-editor__canvaswrap, [data-ed-canvaswrap] { position: relative; overflow: visible; }

/* The print-area boundary on garments. Deliberately not drawn on the canvas:
   the print area is exactly the canvas, so a stroke on its edge is half
   clipped, and anything on the canvas can reach the print file. z-index 3 puts
   it above the shirt (0) and the canvas (1). */
.whcore-guide { position: absolute; inset: 0; z-index: 3; border: 3px dashed #111; pointer-events: none; box-sizing: border-box; }
.whcore-guide[hidden] { display: none; }
.whcore-editor__canvaswrap canvas, [data-ed-canvaswrap] canvas { position: relative; z-index: 1; }
.whcore-swatches__value { margin-left: 6px; font-weight: 400; color: #6b6b6b; }
.whcore-swatches__value:not(:empty)::before { content: ""; }

/* Changing a colour from inside the designer changes the variation, and
   WooCommerce blocks the variations form with a white jQuery blockUI overlay
   while it resolves. That overlay defaults to z-index 1000 and the designer
   sits at 400, so it flashed a white box across the whole editor. It belongs
   to a form nobody can see or reach while the designer is open, so it is
   simply hidden for the duration rather than restyled. */
body.whcore-editor-open .blockUI,
body.whcore-editor-open .blockUI.blockOverlay,
body.whcore-editor-open .blockUI.blockMsg { display: none !important; }

/* ---------- Zoom and pan ---------- */
.whcore-zoom { position: absolute; right: 16px; bottom: 58px; z-index: 6; display: flex; align-items: center; gap: 2px; padding: 3px; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; backdrop-filter: blur(6px); }
.whcore-zoom button { min-width: 34px; height: 30px; padding: 0 8px; font: inherit; font-size: 16px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .85); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.whcore-zoom button:hover:not(:disabled) { background: rgba(255, 255, 255, .14); }
.whcore-zoom button:disabled { opacity: .35; cursor: default; }
.whcore-zoom__label { min-width: 54px !important; font-size: 12px !important; letter-spacing: .02em; }

/* Space held: the whole stage becomes a grab surface. */
.whcore-editor__stage.is-pannable { cursor: grab; }
.whcore-editor__stage.is-panning { cursor: grabbing; }
.whcore-editor__stage.is-pannable canvas { pointer-events: none; }

@media (max-width: 782px) {
	.whcore-zoom { right: 10px; bottom: 50px; }
	.whcore-zoom button { min-width: 30px; height: 28px; }
	.whcore-zoom__label { min-width: 46px !important; }
}


/* ---------- Low resolution offer ----------
   A dialog rather than another line of warning text, because the warning line
   is the thing people were already scrolling past. */
.whcore-premium { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(11, 11, 11, .62); backdrop-filter: blur(2px); }
.whcore-premium__card { background: #fff; color: #141413; border-radius: 16px; padding: 28px 26px 22px; max-width: 460px; width: 100%; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); text-align: center; }
.whcore-premium__card h3 { font-family: var(--whc-font-head, inherit); font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.whcore-premium__px { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: #8a6d12; background: rgba(var(--gold-rgb, 201, 162, 39), .14); display: inline-block; padding: 5px 10px; border-radius: 999px; margin: 0 0 14px; }
.whcore-premium__card p { font-size: 14.5px; line-height: 1.6; color: #44443f; margin: 0 0 18px; }
.whcore-premium__btns { display: flex; flex-direction: column; gap: 9px; }
.whcore-premium__yes { background: var(--gold, #c9a227); color: #141413; border: 0; border-radius: 999px; padding: 14px 20px; font-weight: 800; font-size: 15px; cursor: pointer; }
.whcore-premium__yes:hover { background: #e3c35a; }
.whcore-premium__no { background: transparent; color: #44443f; border: 1.5px solid #dcdcd6; border-radius: 999px; padding: 12px 20px; font-weight: 700; font-size: 14px; cursor: pointer; }
.whcore-premium__no:hover { border-color: #b9b9b1; }
.whcore-premium__note { font-size: 12.5px; color: #8b8b84; margin: 12px 0 0 !important; }
@media (prefers-reduced-motion: no-preference) {
	.whcore-premium__card { animation: whcore-premium-in .18s ease-out; }
	@keyframes whcore-premium-in { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Apparel on the new flow: the size row is posted but not shown, because the
   size is chosen at the end of the design step where the guide sits beside
   it. The marker span is hidden itself; the row it sits in goes with it. */
.variations tr:has(.whcore-sizehidden),
.variations .whcore-sizehidden { display: none; }

.whcore-sizeguide-wrap { margin: 10px 0 14px; }
.whcore-sizeguide-wrap summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.whcore-sizeguide { margin-top: 10px; }
.whcore-sizeguide__title { margin: 0 0 8px; font-size: 15px; }
.whcore-sizeguide__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.whcore-sizeguide__table th, .whcore-sizeguide__table td { padding: 7px 10px; text-align: left; border-bottom: 1px solid rgba(0,0,0,.08); }
.whcore-sizeguide__table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #6b6b6b; }
.whcore-sizeguide__table tbody th { font-weight: 700; }
.whcore-sizeguide__note { margin: 8px 0 0; font-size: 12.5px; color: #6b6b6b; }

/* ------------------------------------------------------------------
   Designer: product panel on the right
   Tools left, garment middle, product right. Only built for garments on
   the new flow, so every other product keeps the two column layout.
   ------------------------------------------------------------------ */
.whcore-editor__body:has(.whcore-editor__product:not([hidden])) {
  grid-template-columns: 76px 300px minmax(0, 1fr) 300px;
  grid-template-areas: "layer layer stage product" "tabs panel stage product";
}
.whcore-editor__product { grid-area: product; overflow-y: auto; padding: 14px; border-left: 1px solid rgba(0,0,0,.08); background: #fff; display: flex; flex-direction: column; gap: 14px; }
.whcore-editor__product.is-asking { animation: whcore-prod-nudge .5s ease; }
@keyframes whcore-prod-nudge { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.whcore-prod__sides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #f1f1f2; padding: 4px; border-radius: 10px; }
.whcore-prod__side { border: 0; background: none; border-radius: 7px; padding: 8px 4px; font-size: 12.5px; font-weight: 600; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: #4b4b4f; }
.whcore-prod__side small { font-weight: 500; font-size: 11px; color: #7a7a80; }
.whcore-prod__side.is-active { background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* Set once on the card, so a label that forgets to colour itself inherits
   something readable instead of the dark editor's white. */
.whcore-editor__product { color: #1a1a1c; }
.whcore-prod__block h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #6b6b6b; }
.whcore-prod__value { text-transform: none; letter-spacing: 0; color: #111; font-weight: 600; }
/* The dash between the label and the chosen value, so "COLOR Athletic Heather"
   reads as a heading and its answer rather than as one run-on phrase. */
.whcore-prod__sep { color: #b9b9bf; font-weight: 400; margin: 0 1px 0 2px; }
.whcore-prod__wide { width: 100%; }
.whcore-prod__hint { margin: 8px 0 0; font-size: 12px; color: #6b6b6b; line-height: 1.5; }
.whcore-prod__warn { margin: 8px 0 0; font-size: 12.5px; color: #b32d2e; font-weight: 600; }

.whcore-prod__colors { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.whcore-prod__color { aspect-ratio: 1; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); background: var(--sw); cursor: pointer; padding: 0; }
.whcore-prod__color.is-active { border-color: #111; }
.whcore-prod__color.is-light { box-shadow: inset 0 0 0 1px rgba(0,0,0,.3); }

.whcore-prod__sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.whcore-prod__size { border: 1px solid #d8d8da; background: #fff; border-radius: 8px; padding: 9px 2px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.whcore-prod__size:hover { border-color: #111; }
.whcore-prod__size.is-active { background: #111; color: #fff; border-color: #111; }

.whcore-prod__guide { margin-top: 10px; font-size: 12px; }
.whcore-prod__guide table { width: 100%; border-collapse: collapse; }
.whcore-prod__guide th, .whcore-prod__guide td { padding: 5px 4px; text-align: left; border-bottom: 1px solid rgba(0,0,0,.07); }
.whcore-prod__guide p { margin: 8px 0 0; color: #6b6b6b; }

.whcore-prod__neckfile { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.whcore-prod__neckfile img { width: 54px; height: 54px; object-fit: contain; border: 1px solid #e3e3e5; border-radius: 8px; background: #fafafa; }
.whcore-prod__neckfile strong { display: block; font-size: 12.5px; word-break: break-all; }

.whcore-prod__totals { margin-top: auto; border-top: 1px solid rgba(0,0,0,.1); padding-top: 12px; }
.whcore-prod__totalshead { margin: 0 0 8px; font-family: var(--wc-head, inherit); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #0b0b0b; }
.whcore-prod__lines { list-style: none; margin: 0 0 8px; padding: 0; font-size: 13px; }
.whcore-prod__lines li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: #4b4b4f; }
.whcore-prod__sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; }
.whcore-prod__sum strong { font-size: 18px; }

.whcore-linkish { background: none; border: 0; padding: 6px 0 0; color: #2271b1; cursor: pointer; font-size: 12.5px; text-decoration: underline; }
.whcore-linkish--danger { color: #b32d2e; }

/* Narrower than this and four columns stops being a layout and starts being
   a set of slots. The product panel drops under the stage instead. */
@media (max-width: 1240px) {
  .whcore-editor__body:has(.whcore-editor__product:not([hidden])) {
    grid-template-columns: 76px 300px minmax(0, 1fr);
    grid-template-areas: "layer layer stage" "tabs panel stage" "product product product";
    grid-template-rows: auto minmax(0, 1fr) auto;
  }
  .whcore-editor__product { border-left: 0; border-top: 1px solid rgba(0,0,0,.08); max-height: 44vh; }
  .whcore-prod__totals { margin-top: 12px; }
}
@media (max-width: 860px) {
  .whcore-editor__body:has(.whcore-editor__product:not([hidden])) {
    grid-template-columns: 1fr;
    grid-template-areas: "stage" "product" "layer" "tabs" "panel";
    grid-template-rows: minmax(0, 1fr) auto auto auto auto;
  }
}

/* Size guide, beside the size where the question is actually asked. */
.whcore-sizelink { background: none; border: 0; padding: 6px 0 0; display: inline-block; color: #2271b1; cursor: pointer; font-size: 13px; text-decoration: underline; }
.whcore-sizemodal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 18px; }
.whcore-sizemodal[hidden] { display: none; }
.whcore-sizemodal__back { position: absolute; inset: 0; background: rgba(12,12,14,.55); }
.whcore-sizemodal__card { position: relative; background: #fff; border-radius: 14px; padding: 22px; max-width: 520px; width: 100%; max-height: 86vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.whcore-sizemodal__x { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #6b6b6b; }

/* The guarantee, beside Add to Cart. Short, factual, and about a reprint
   rather than a refund, because that is what it actually is. */
.whcore-guarantee { display: flex; align-items: flex-start; gap: 7px; margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: #4b4b4f; }
.whcore-guarantee__mark { color: #1f8a4c; font-weight: 700; flex: 0 0 auto; }
.whcore-guarantee a { color: inherit; }

/* Add-ons live in the designer on a garment, so the panel on the page is
   rendered only to carry the form fields. */
.whcore-addons-hidden { display: none !important; }

.whcore-prod__check { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }
.whcore-prod__check input { margin-top: 3px; flex: 0 0 auto; }
/* The product panel is a white card inside a dark editor, so anything that
   does not set its own colour inherits the editor's white and disappears.
   That is what happened to this label: the price and the description were
   readable and the thing they described was invisible.

   Soft red rather than ink, because it is an upsell and it should catch the
   eye the way the price does. Dark enough to pass contrast on white. */
.whcore-prod__check strong { font-size: 13.5px; color: #b4453c; font-weight: 700; }
.whcore-prod__check input:checked ~ span strong,
.whcore-prod__check input:checked + strong { color: #8f332c; }
.whcore-prod__check small { color: #8a6d1f; font-weight: 600; font-size: 12.5px; margin-left: 4px; }
.whcore-prod__check em { display: block; font-style: normal; color: #6b6b6b; font-size: 12px; line-height: 1.5; margin-top: 3px; }

/* The collar, shown while the neck label tab is open. */
.whcore-neckview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; padding: 20px; }
.whcore-neckview[hidden] { display: none; }
.whcore-neckview img { max-width: min(520px, 90%); max-height: 70%; height: auto; display: block; }
.whcore-neckview p { margin: 0; font-size: 13.5px; color: #6b6b6b; text-align: center; }
.whcore-prod__side small.is-on { color: #1f8a4c; }

/* Size guide inside the designer panel. It was rendering as a grid of empty
   lines, so it is worth it actually looking like a table. */
.whcore-prod__guide table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 4px; }
.whcore-prod__guide thead th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: #7a7a80; font-weight: 600; text-align: left; padding: 4px 5px; border-bottom: 1px solid rgba(0,0,0,.12); }
.whcore-prod__guide tbody th { font-weight: 700; color: #111; text-align: left; }
.whcore-prod__guide tbody td { color: #4b4b4f; }
.whcore-prod__guide tbody th, .whcore-prod__guide tbody td { padding: 5px; border-bottom: 1px solid rgba(0,0,0,.06); }
.whcore-prod__guide tbody tr:nth-child(odd) { background: rgba(0,0,0,.02); }
.whcore-prod__guide tbody tr.is-active { background: #fff6dc; }
.whcore-prod__guide tbody tr.is-active th { color: #8a6d1f; }
.whcore-prod__guide p { margin: 8px 0 0; color: #6b6b6b; font-size: 11.5px; line-height: 1.5; }

/* Select colour: move the coloured pixels onto one hue, leave the neutrals. */
.whcore-recolour { margin: 8px 0 4px; padding: 10px; border: 1px solid rgba(0,0,0,.1); border-radius: 8px; background: rgba(0,0,0,.02); }
.whcore-recolour[hidden] { display: none; }
.whcore-recolour__swatches { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; align-items: center; }
.whcore-recolour__dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(0,0,0,.18); cursor: pointer; padding: 0; }
.whcore-recolour__dot:hover { transform: scale(1.08); }
.whcore-recolour__off { border: 1px solid #d8d8da; background: #fff; border-radius: 7px; font-size: 11.5px; padding: 4px 9px; cursor: pointer; }
[data-ed-recolour-open].is-on { background: #111; color: #fff; }

/* Layers, bottom of the tool panel. */
.whcore-layers { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.whcore-layers[hidden] { display: none; }
.whcore-layers h4 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .65; }
.whcore-layers ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow-y: auto; }
.whcore-layer { display: flex; align-items: center; gap: 6px; border-radius: 7px; }
.whcore-layer__pick { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 5px 7px; border: 1px solid transparent; border-radius: 7px; background: rgba(255,255,255,.05); color: inherit; cursor: pointer; text-align: left; font-size: 12.5px; }
.whcore-layer__pick:hover { background: rgba(255,255,255,.1); }
.whcore-layer__pick img { width: 30px; height: 30px; object-fit: contain; border-radius: 4px; background: rgba(255,255,255,.12); flex: 0 0 auto; }
.whcore-layer__pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whcore-layer.is-active .whcore-layer__pick { border-color: var(--wc-gold, #d4a24a); background: rgba(212,162,74,.16); }
.whcore-layer.is-off .whcore-layer__pick { opacity: .45; }
/* Hide and delete, as icons rather than punctuation. A dot does not read as
   "this hides the layer", and until now there was no way to remove one from
   the list at all. */
.whcore-layer__btn { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 7px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.72); cursor: pointer; transition: background .14s, color .14s; }
.whcore-layer__btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.whcore-layer__btn svg { display: block; }
.whcore-layer__del:hover { background: rgba(214,48,49,.26); color: #ff8a8a; }

/* AI image editing. */
.whcore-aiedit { margin: 10px 0 2px; }
.whcore-aiedit[hidden] { display: none; }
.whcore-btn--ai { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(135deg, #6d4aff, #b14aff); color: #fff; border: 0; }
.whcore-btn--ai:hover { filter: brightness(1.08); }
.whcore-btn--ai small { opacity: .8; font-size: 11px; }
.whcore-btn--ai.is-on { box-shadow: 0 0 0 2px rgba(177,74,255,.4); }
.whcore-aiedit__panel { margin-top: 8px; padding: 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; }
.whcore-aiedit__panel[hidden] { display: none; }
.whcore-aiedit__label { display: block; font-size: 12px; margin-bottom: 5px; opacity: .8; }
.whcore-aiedit__panel textarea { width: 100%; border-radius: 7px; padding: 7px; font-size: 12.5px; }
.whcore-aiedit__msg { margin: 8px 0 0; font-size: 12px; line-height: 1.5; opacity: .85; min-height: 1em; }

/* The European plate character keyboard.
   Under the font menu, in red, because a customer who does not notice it
   never discovers the font can draw a heart or a football at all. Each key is
   shown as the glyph it produces, drawn in the font itself rather than as a
   picture of one, with the key you press underneath. */
.whcore-eurokeys { margin: -4px 0 10px; }
.whcore-eurokeys[hidden] { display: none; }
.whcore-eurokeys__open {
	display: flex; align-items: center; gap: 7px; width: 100%;
	padding: 8px 10px; border-radius: 9px; cursor: pointer;
	background: rgba(214, 48, 49, .12); border: 1px solid rgba(214, 48, 49, .55);
	color: #ff6b6b; font: inherit; font-size: 12.5px; font-weight: 700;
	letter-spacing: .02em; text-align: left; transition: background .15s, border-color .15s;
}
.whcore-eurokeys__open:hover { background: rgba(214, 48, 49, .2); border-color: #ff6b6b; }
.whcore-eurokeys__star { font-size: 13px; line-height: 1; }
.whcore-eurokeys__chev { margin-left: auto; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor; transition: transform .18s; }
.whcore-eurokeys__open.is-open .whcore-eurokeys__chev { transform: rotate(180deg); }
.whcore-eurokeys__panel { margin-top: 8px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.whcore-eurokeys__panel[hidden] { display: none; }
.whcore-eurokeys__hint { margin: 0 0 9px; font-size: 11.5px; line-height: 1.4; color: rgba(255, 255, 255, .6); }
.whcore-eurokeys__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.whcore-eurokey {
	display: grid; gap: 1px; justify-items: center; padding: 7px 3px 5px;
	border-radius: 8px; cursor: pointer; border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .06); color: #fff; font: inherit;
	transition: background .14s, border-color .14s, transform .14s;
}
.whcore-eurokey:hover { background: rgba(255, 255, 255, .14); border-color: var(--wc-gold, var(--gold, #c9a227)); transform: translateY(-1px); }
/* The symbol, drawn in the plate font. This is the whole point: it is the
   real glyph, not a screenshot of one. */
.whcore-eurokey__glyph { font-family: 'Euro Plate', sans-serif; font-size: 26px; line-height: 1.05; }
.whcore-eurokey__press { font-size: 10.5px; font-weight: 700; color: var(--wc-gold, var(--gold, #c9a227)); font-family: ui-monospace, Menlo, Consolas, monospace; }
.whcore-eurokey__name { font-size: 9px; line-height: 1.2; text-align: center; color: rgba(255, 255, 255, .5); }

/* Colour replace: one colour at a time, picked off the image.
   The hue filter moves everything at once, which is right for a photo and
   wrong for a logo where the green is meant to change and the black type is
   not. */
.whcore-replace { margin: 8px 0 10px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.whcore-replace[hidden] { display: none; }
.whcore-replace__row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.whcore-replace__pick {
	display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px;
	border-radius: 8px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
	transition: background .15s, border-color .15s;
}
.whcore-replace__pick:hover { background: rgba(255, 255, 255, .15); border-color: var(--wc-gold, var(--gold, #c9a227)); }
/* Armed, and waiting for a click on the canvas. */
.whcore-replace__pick.is-armed { background: rgba(var(--gold-rgb, 201, 162, 39), .22); border-color: var(--wc-gold, var(--gold, #c9a227)); color: var(--wc-gold, var(--gold, #c9a227)); }
.whcore-replace__dropper { font-size: 11px; line-height: 1; }
.whcore-replace__chip { width: 28px; height: 28px; flex: none; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .3); }
/* Nothing picked yet, so the square says so rather than showing black. */
.whcore-replace__chip.is-empty { background: repeating-conic-gradient(rgba(255,255,255,.18) 0 25%, transparent 0 50%) 0 0 / 10px 10px; }
.whcore-replace__arrow { opacity: .5; font-size: 13px; }
.whcore-replace__to { display: block; width: 36px; height: 28px; }
.whcore-replace__to input { width: 100%; height: 100%; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 7px; background: none; cursor: pointer; }
/* While the dropper is armed the whole stage is a colour picker, so say so. */
.whcore-editor.is-dropping .whcore-editor__stage { cursor: crosshair; }

/* Live print quality.
   A rating of the artwork at the size it is actually being printed, not of
   the file on its own. The same photo is too soft across a 14 inch chest and
   perfectly sharp as a pocket logo, and the old warning could not tell the
   difference because it judged the file before it was placed. */
.whcore-dpi { display: flex; align-items: flex-start; gap: 9px; margin: 10px 0 2px; padding: 9px 11px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); }
.whcore-dpi[hidden] { display: none; }
.whcore-dpi__dot { width: 10px; height: 10px; margin-top: 4px; flex: none; border-radius: 50%; background: #7a7a80; }
.whcore-dpi__text { display: grid; gap: 2px; min-width: 0; }
.whcore-dpi__text strong { font-size: 12.5px; font-weight: 700; letter-spacing: .01em; }
.whcore-dpi__text small { font-size: 11.5px; line-height: 1.45; color: rgba(255, 255, 255, .6); }
.whcore-dpi[data-level="high"] { border-color: rgba(46, 160, 96, .45); background: rgba(46, 160, 96, .12); }
.whcore-dpi[data-level="high"] .whcore-dpi__dot { background: #35c17a; }
.whcore-dpi[data-level="high"] strong { color: #6fe0a6; }
.whcore-dpi[data-level="medium"] { border-color: rgba(var(--gold-rgb, 201, 162, 39), .5); background: rgba(var(--gold-rgb, 201, 162, 39), .12); }
.whcore-dpi[data-level="medium"] .whcore-dpi__dot { background: var(--gold, #c9a227); }
.whcore-dpi[data-level="medium"] strong { color: #e3bf4a; }
.whcore-dpi[data-level="low"] { border-color: rgba(214, 48, 49, .5); background: rgba(214, 48, 49, .12); }
.whcore-dpi[data-level="low"] .whcore-dpi__dot { background: #e05555; }
.whcore-dpi[data-level="low"] strong { color: #ff8080; }

/* The help offer, on the stage.
   Sits just above the status strip, centred, where somebody staring at a
   layout they cannot read will actually see it. Quiet until hovered, because
   it is an offer and not an advert. */
.whcore-helppill {
	position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); z-index: 6;
	display: flex; align-items: center; gap: 9px; max-width: calc(100% - 32px);
	padding: 9px 16px; border-radius: 999px; cursor: pointer;
	font: inherit; font-size: 12.5px; line-height: 1.3; text-align: left;
	color: rgba(255, 255, 255, .88);
	background: rgba(12, 12, 12, .88); border: 1px solid rgba(255, 255, 255, .18);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .45); backdrop-filter: blur(6px);
	transition: background .16s, border-color .16s, transform .16s;
}
.whcore-helppill[hidden] { display: none; }
.whcore-helppill:hover { background: rgba(20, 20, 20, .96); border-color: var(--wc-gold, var(--gold, #c9a227)); transform: translateX(-50%) translateY(-2px); }
.whcore-helppill strong { color: #fff; font-weight: 700; }
.whcore-helppill__icon { display: grid; place-items: center; flex: none; color: var(--wc-gold, var(--gold, #c9a227)); }
.whcore-helppill__price { flex: none; padding: 2px 9px; border-radius: 999px; background: var(--wc-gold, var(--gold, #c9a227)); color: var(--gold-text, #0b0b0b); font-weight: 800; font-size: 11.5px; }
@media (max-width: 700px) {
	.whcore-helppill { bottom: 46px; font-size: 11.5px; padding: 8px 12px; }
}
/* Once it has been taken up, the pill says so rather than still asking. */
.whcore-helppill.is-on { background: rgba(46, 160, 96, .18); border-color: rgba(53, 193, 122, .6); }
.whcore-helppill.is-on .whcore-helppill__icon { color: #35c17a; }
.whcore-helppill.is-on .whcore-helppill__price { background: #35c17a; }

/* The sock's one option: both legs the same, or one design each.
   Sits directly under the side pills because it is what decides how many of
   them there are, and it is quieter than the paid add-ons below it: this one
   costs nothing, so it should not read like an upsell. */
.whcore-prod__check--tight { margin: 8px 0 12px; padding: 9px 11px; border: 1px solid #e6e2d8; border-radius: 9px; background: #fbfaf7; }
.whcore-prod__check--tight strong { color: #2f2f2f; font-weight: 650; }
.whcore-prod__check--tight em { margin-top: 2px; }

/* Edit design, under the artwork in the cart and the cart drawer. */
.whcore-cart-edit { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.whcore-cart-edit:hover { opacity: .75; }
.whcore-cart-edit__icon { width: 13px; height: 13px; flex: 0 0 auto; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Remove country bar: only there once a bar is picked, light red so it reads as the undo. */
.whcore-euro__clear[hidden] { display: none !important; }
.whcore-btn.whcore-euro__clear { border: 1.5px solid #f2a4a4; color: #ffb3b3; background: rgba(220, 60, 60, .08); }
.whcore-btn.whcore-euro__clear:hover { border-color: #e66; background: rgba(220, 60, 60, .16); color: #fff; }

/* ------------------------------------------------------------------
   Live chat
   ------------------------------------------------------------------ */
.whc-chat-tab { position: fixed; right: 0; top: 50%; z-index: 140; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; display: inline-flex; align-items: center; gap: 8px; padding: 16px 10px; border: 0; border-radius: 0 10px 10px 0; background: var(--gold, #c9a227); color: var(--gold-text, #0b0b0b); font: 700 14px/1 Manrope, Inter, system-ui, sans-serif; letter-spacing: .02em; cursor: pointer; box-shadow: -6px 0 22px rgba(0, 0, 0, .18); }
.whc-chat-tab svg { width: 18px; height: 18px; transform: rotate(180deg); fill: currentColor; }
.whc-chat-tab:hover { background: #e0bd55; }
.whc-chat-tab.is-open { opacity: 0; pointer-events: none; }
.whc-chat-tab.has-new::after { content: ""; position: absolute; top: 6px; left: 6px; width: 10px; height: 10px; border-radius: 50%; background: #d63638; box-shadow: 0 0 0 2px #fff; }
.whc-chat { position: fixed; right: 18px; bottom: 18px; z-index: 145; display: flex; flex-direction: column; width: min(380px, calc(100vw - 24px)); height: min(580px, calc(100vh - 36px)); background: #fff; color: #161616; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); font: 14.5px/1.5 Inter, system-ui, sans-serif; }
.whc-chat[hidden] { display: none; }
.whc-chat__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 16px; background: #0b0b0b; color: #fff; border-bottom: 3px solid var(--gold, #c9a227); }
.whc-chat__head strong { display: block; font: 800 16px Manrope, Inter, sans-serif; }
.whc-chat__status { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .8; }
.whc-chat__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8a8a8a; }
.whc-chat__status.is-on::before { background: #3ecf6e; }
.whc-chat__x { border: 0; background: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; opacity: .8; }
.whc-chat__intro { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; overflow: auto; }
.whc-chat__intro p { margin: 0 0 4px; }
.whc-chat__intro label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.whc-chat__intro input, .whc-chat__intro textarea { padding: 10px 12px; border: 1px solid #ddd8cc; border-radius: 10px; font: inherit; }
.whc-chat__btn { margin-top: 4px; padding: 12px; border: 0; border-radius: 999px; background: var(--gold, #c9a227); color: #0b0b0b; font: 700 15px Manrope, Inter, sans-serif; cursor: pointer; }
.whc-chat__btn:disabled { opacity: .6; }
.whc-chat__err { margin: 0; color: #b32d2e; font-size: 13px; }
.whc-chat__done { margin: 8px 0; padding: 12px; border-radius: 10px; background: #f6f5f1; font-size: 14px; }
.whc-chat__log { flex: 1; overflow-y: auto; padding: 14px 14px 6px; background: #faf9f6; display: flex; flex-direction: column; gap: 8px; }
.whc-chat__msg { display: flex; flex-direction: column; max-width: 86%; }
.whc-chat__msg--me { align-self: flex-end; align-items: flex-end; }
.whc-chat__msg--them { align-self: flex-start; }
.whc-chat__who { font-size: 11.5px; font-weight: 700; color: #a4841a; margin: 0 0 2px 4px; }
.whc-chat__bubble { padding: 9px 12px; border-radius: 14px; background: #fff; border: 1px solid #ece8de; overflow-wrap: anywhere; }
.whc-chat__msg--me .whc-chat__bubble { background: #0b0b0b; color: #fff; border-color: #0b0b0b; }
.whc-chat__bubble a { color: inherit; text-decoration: underline; }
.whc-chat__typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #ece8de; }
.whc-chat__typing span { width: 6px; height: 6px; border-radius: 50%; background: #b5ae9e; animation: whcChatDot 1s infinite; }
.whc-chat__typing span:nth-child(2) { animation-delay: .15s; } .whc-chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes whcChatDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.whc-chat__send { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid #ece8de; }
.whc-chat__send textarea { flex: 1; resize: none; max-height: 120px; padding: 10px 12px; border: 1px solid #ddd8cc; border-radius: 12px; font: inherit; }
.whc-chat__send button { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--gold, #c9a227); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.whc-chat__send svg { width: 18px; height: 18px; fill: #0b0b0b; }
.whc-chat__send .whc-chat__clip { width: 38px; height: 42px; border-radius: 10px; background: transparent; color: #6b675e; }
.whc-chat__send .whc-chat__clip:hover { background: #f1eee6; color: #0b0b0b; }
.whc-chat__send .whc-chat__clip svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.whc-chat__bubble--photo, .whc-chat__bubble:has(.whc-chat__photo) { padding: 4px; background: #fff !important; border-color: #ece8de !important; }
.whc-chat__photo { display: block; line-height: 0; }
.whc-chat__photo img { display: block; max-width: 220px; max-height: 260px; width: auto; height: auto; border-radius: 11px; cursor: zoom-in; }
.whc-chat__up { padding: 8px 14px 0; font-size: 12px; color: #6b675e; }
.whc-chat__up[hidden] { display: none; }
.whc-chat__upbar { height: 6px; background: #ece8de; border-radius: 99px; overflow: hidden; margin: 0 0 4px; }
.whc-chat__upbar i { display: block; height: 100%; width: 0; background: var(--gold, #c9a227); border-radius: 99px; transition: width .2s; }
.whc-chat__new { border: 0; background: none; padding: 0 0 10px; font-size: 12px; color: #8a857a; text-decoration: underline; cursor: pointer; }
.whc-chat__headbtns { display: flex; align-items: center; gap: 4px; }
.whc-chat__histbtn { border: 0; background: none; color: #fff; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; opacity: .8; display: inline-flex; align-items: center; justify-content: center; }
.whc-chat__histbtn:hover { opacity: 1; background: rgba(255,255,255,.1); }
.whc-chat__histbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.whc-chat__closed { margin: 0; padding: 8px 14px; font-size: 12.5px; color: #6b675e; background: #f6f5f1; text-align: center; }
.whc-chat__closed[hidden] { display: none; }
.whc-chat__threads { flex: 1; overflow-y: auto; padding: 12px; background: #faf9f6; display: flex; flex-direction: column; gap: 8px; }
.whc-chat__threadsh { margin: 2px 4px 4px; font: 800 13px Manrope, Inter, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #6b675e; }
.whc-chat__thread { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 12px 14px; border: 1px solid #ece8de; border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.whc-chat__thread:hover { border-color: var(--gold, #c9a227); }
.whc-chat__tline { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.whc-chat__tline em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #ece8de; color: #6b675e; }
.whc-chat__tline em.is-open { background: #dcf3e5; color: #1f7a45; }
.whc-chat__tprev { font-size: 13.5px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whc-chat__thread small { font-size: 12px; color: #8a857a; }
.whc-chat__threadsfoot { padding: 12px; border-top: 1px solid #ece8de; display: flex; }
.whc-chat__threadsfoot .whc-chat__btn { flex: 1; margin: 0; }
@media (max-width: 600px) {
	.whc-chat-tab { top: auto; bottom: 84px; transform: none; writing-mode: horizontal-tb; border-radius: 999px 0 0 999px; padding: 11px 14px; }
	.whc-chat-tab svg { transform: none; }
	.whc-chat { right: 0; bottom: 0; width: 100vw; height: 100%; max-height: 100dvh; border-radius: 0; }
	.whc-chat__send textarea { font-size: 16px; }
}

/* The cart, the menu, the designer and the welcome popup all sit above the
   chat: the tab steps out of the way while any of them is open, and the
   chat panel sits under the cart drawer's dimmed backdrop. */
body.whc-drawer-open .whc-chat-tab, body.whcore-editor-open .whc-chat-tab, body.whcore-popup-open .whc-chat-tab, body.whc-nav-open .whc-chat-tab { display: none; }
body.whcore-editor-open .whc-chat { display: none; }

.whc-chat__away { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin: 4px 0 6px; }
.whc-chat__away svg { width: 54px; height: 54px; fill: none; stroke: var(--gold, #c9a227); stroke-width: 2.4; stroke-linecap: round; margin-bottom: 4px; }
.whc-chat__away svg .f { fill: var(--gold, #c9a227); stroke: none; }
.whc-chat__away strong { font: 800 18px Manrope, Inter, sans-serif; }
.whc-chat__away span { font-size: 13.5px; color: #6b675e; }

/* Sock pattern fine positioning */
.whcore-sock-move[hidden] { display: none; }
.whcore-sock-move { margin: 6px 0 10px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; }
.whcore-sock-move__h { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }
.whcore-sock-move__h .whcore-linkish { font-size: 12px; text-transform: none; letter-spacing: 0; }
.whcore-sock-move__row { display: flex; align-items: flex-end; gap: 8px; }
.whcore-sock-move__row .whcore-range { flex: 1; min-width: 0; margin: 0; }
.whcore-sock-move__nudge { display: inline-flex; gap: 4px; padding-bottom: 2px; }
.whcore-sock-move__nudge button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.whcore-sock-move__nudge button:hover { border-color: var(--gold, #c9a227); color: #e3c35a; }

/* ---------- Designer: phone mode ----------
   Full screen, one row of big buttons at the bottom, tools in a sheet that
   slides up over the lower part of the design and goes away with Done. */
.whcore-sheet__head, .whcore-tab-preview, .whcore-advtoggle { display: none; }
.whcore-tstyles { margin: 10px 0 14px; }
.whcore-tstyles__h { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 6px; }
.whcore-tstyles__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.whcore-tstyle { padding: 10px 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: #0b0b0b; color: #fff; font-size: 16px; line-height: 1.1; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.whcore-tstyle:hover, .whcore-tstyle:focus-visible { border-color: var(--wc-gold); outline: none; }
.whcore-designit { margin: 18px 0 0; font-size: 13px; color: rgba(255, 255, 255, .6); }
.whcore-designit .whcore-linkish { color: var(--wc-gold); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 760px) {
	.whcore-editor.is-phone { height: 100dvh; }
	.whcore-editor.is-phone .whcore-editor__body { position: relative; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto auto; grid-template-areas: "stage" "layer" "tabs"; }
	.whcore-editor.is-phone .whcore-editor__stage { padding: 46px 8px 44px; }
	.whcore-editor.is-phone .whcore-editor__tabs { position: relative; z-index: 31; display: flex; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); background: #0b0b0b; border-top: 1px solid rgba(255, 255, 255, .12); }
	.whcore-editor.is-phone .whcore-editor__tabs::-webkit-scrollbar { display: none; }
	.whcore-editor.is-phone .whcore-editor__tabs [data-ed-tab="sock"], .whcore-editor.is-phone .whcore-editor__tabs [data-ed-tab="shirt"] { order: -1; }
	.whcore-editor.is-phone .whcore-tab-preview { order: 9; }
	.whcore-editor.is-phone .whcore-editor__tabs button { flex: 1 0 56px; min-height: 58px; padding: 8px 2px 6px; gap: 4px; font-size: 11.5px; border: 0; border-top: 3px solid transparent; border-radius: 0; }
	.whcore-editor.is-phone .whcore-editor__tabs button .whc-icon, .whcore-editor.is-phone .whcore-editor__tabs button svg { width: 24px; height: 24px; }
	.whcore-editor.is-phone .whcore-editor__tabs .whcore-tab-t { font-size: 22px; line-height: 24px; }
	.whcore-editor.is-phone .whcore-editor__tabs button.is-active { border-top-color: transparent; background: transparent; color: rgba(255, 255, 255, .7); }
	.whcore-editor.is-phone.is-sheet .whcore-editor__tabs button.is-active { color: var(--wc-gold); border-top-color: var(--wc-gold); }
	.whcore-editor.is-phone .whcore-tab-preview { display: flex; flex-direction: column; align-items: center; color: var(--wc-gold) !important; }
	.whcore-editor.is-phone .whcore-editor__panel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; max-height: 56dvh; padding: 0 16px 90px; border: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -18px 40px rgba(0, 0, 0, .55); transform: translateY(105%); transition: transform .22s ease; visibility: hidden; }
	.whcore-editor.is-phone.is-sheet .whcore-editor__panel { transform: none; visibility: visible; }
	.whcore-editor.is-phone .whcore-editor__body > .whcore-editor__panel { bottom: var(--whc-tabs-h, 66px); padding-bottom: 24px; }
	.whcore-editor.is-phone .whcore-sheet__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; margin: 0 -16px 10px; padding: 16px 16px 10px; background: #1a1a1a; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.whcore-editor.is-phone .whcore-sheet__grab { position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 99px; background: rgba(255, 255, 255, .25); }
	.whcore-editor.is-phone .whcore-sheet__title { font-size: 17px; }
	.whcore-editor.is-phone .whcore-sheet__done { border: 0; border-radius: 999px; padding: 9px 18px; background: var(--wc-gold); color: #0b0b0b; font: 800 14px var(--wc-head); cursor: pointer; }
	.whcore-editor.is-phone .whcore-editor__panel section > h3:first-child { display: none; }
	.whcore-editor.is-phone .whcore-adv { display: none !important; }
	.whcore-editor.is-phone .show-adv .whcore-adv { display: revert !important; }
	.whcore-editor.is-phone .show-adv label.whcore-adv { display: flex !important; }
	.whcore-editor.is-phone .whcore-advtoggle { display: block; width: 100%; margin: 12px 0; padding: 11px; border-radius: 10px; border: 1px dashed rgba(255, 255, 255, .25); background: transparent; color: rgba(255, 255, 255, .8); font: 700 13px var(--wc-head); cursor: pointer; }
	.whcore-editor.is-phone .whcore-drop { padding: 22px 14px; }
	.whcore-editor.is-phone [data-ed-text-input] { font-size: 16px; min-height: 46px; }
	.whcore-editor.is-phone .whcore-editor__topactions [data-ed-preview-open], .whcore-editor.is-phone .whcore-editor__topactions [data-ed-fit] { display: none; }
	.whcore-editor.is-phone .whcore-editor__topactions [data-ed-save] { padding: 10px 18px; font-size: 14px; }
	.whcore-editor.is-phone .whcore-editor__layer { position: relative; z-index: 29; }
	.whcore-editor.is-phone .whcore-btn--sm { min-height: 40px; }
	.whcore-editor.is-phone input[type="range"] { height: 28px; }
}
.whcore-tab-prod { display: none; }
@media (max-width: 760px) {
	.whcore-editor.is-phone .whcore-tab-prod:not([hidden]) { display: flex; flex-direction: column; align-items: center; order: -2; }
	.whcore-editor.is-phone .whcore-tab-prod.is-on { color: var(--wc-gold); border-top-color: var(--wc-gold); }
	.whcore-editor.is-phone .whcore-editor__body:has(.whcore-editor__product:not([hidden])) { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto auto; grid-template-areas: "stage" "layer" "tabs"; }
	.whcore-editor.is-phone .whcore-editor__product { position: absolute; left: 0; right: 0; bottom: var(--whc-tabs-h, 66px); z-index: 30; grid-area: auto; max-height: 62dvh; padding: 0 16px 20px; border: 0; border-radius: 18px 18px 0 0; box-shadow: 0 -18px 40px rgba(0, 0, 0, .55); transform: translateY(105%); transition: transform .22s ease; visibility: hidden; }
	.whcore-editor.is-phone.is-psheet .whcore-editor__product { transform: none; visibility: visible; }
	.whcore-editor.is-phone .whcore-editor__product .whcore-sheet__head { background: #fff; color: #111; border-bottom-color: rgba(0, 0, 0, .08); }
	.whcore-editor.is-phone .whcore-editor__product .whcore-sheet__grab { background: rgba(0, 0, 0, .2); }
}
@media (max-width: 760px) {
	.whcore-editor.is-phone .whcore-editor__tabs .whcore-ph-dup { display: none !important; }
	body.whcore-editor-open #wpadminbar { display: none !important; }
}
@media (max-width: 760px) {
	/* The preview sits over the whole designer, button bar included. */
	.whcore-editor.is-phone .whcore-editor__preview { z-index: 40; }
}
/* Phone-only buttons stay off the desktop tool column. */
.whcore-editor__tabs .whcore-tab-preview, .whcore-editor__tabs .whcore-tab-prod { display: none; }
@media (max-width: 760px) {
	.whcore-editor.is-phone.is-sheet .whcore-editor__align, .whcore-editor.is-phone.is-psheet .whcore-editor__align { display: none; }
}

/* Add to Cart is never greyed out: a click explains what is missing instead. */
.single_add_to_cart_button.disabled, .single_add_to_cart_button.wc-variation-selection-needed, .whc-summary__form .single_add_to_cart_button.disabled { opacity: 1 !important; cursor: pointer !important; }
.whcore-optask { margin: 6px 0 10px; padding: 9px 12px; border-radius: 10px; background: #fff4e5; border: 1px solid #f0c27a; color: #8a4b00; font-size: 14px; font-weight: 600; }
.whcore-optask-row { animation: whcore-ask .4s ease 2; }
/* Designer colour swatches: real buttons, big enough for a thumb. */
.whcore-editor [data-ed-swatches], .whcore-editor [data-ed-gradients] { display: grid; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 8px; }
.whcore-editor [data-ed-swatches] button, .whcore-editor [data-ed-gradients] button { width: 100%; aspect-ratio: 1; min-height: 30px; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); cursor: pointer; }
.whcore-editor [data-ed-swatches] button.is-on, .whcore-editor [data-ed-gradients] button.is-on, .whcore-editor [data-ed-camos] button.is-on, .whcore-editor [data-ed-patterns] button.is-on { box-shadow: 0 0 0 3px #1a1a1a, 0 0 0 5px var(--wc-gold); }
@media (max-width: 760px) {
	.whcore-editor.is-phone [data-ed-swatches], .whcore-editor.is-phone [data-ed-gradients] { grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 16px; }
	.whcore-editor.is-phone [data-ed-swatches] button, .whcore-editor.is-phone [data-ed-gradients] button { min-height: 44px; }
	.whcore-editor.is-phone [data-ed-camos] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.whcore-editor.is-phone [data-ed-patterns] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.whcore-editor.is-phone [data-ed-patterns] button { min-height: 88px; }
	.whcore-editor.is-phone [data-ed-camos] button { min-height: 88px; }
	.whcore-editor.is-phone [data-ed-bg-color] { width: 100%; height: 48px; }
}

/* State plate panel: the text box, the state picker and the design tiles. */
.whcore-plate__text { width: 100%; font-family: "License Plate", sans-serif; font-size: 28px; letter-spacing: .04em; text-transform: uppercase; text-align: center; padding: 10px 12px; border: 1px solid #3a3a3a; border-radius: 10px; background: #fff; color: #111; }
.whcore-plate__state { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #3a3a3a; background: #fff; color: #111; font-size: 15px; }
.whcore-plate__designs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.whcore-plate__design { display: flex; flex-direction: column; gap: 6px; padding: 6px; border: 2px solid transparent; border-radius: 10px; background: rgba(255,255,255,.06); color: inherit; cursor: pointer; text-align: center; font-size: 12.5px; }
.whcore-plate__design img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 6px; display: block; background: #222; }
.whcore-plate__design:hover { border-color: rgba(var(--gold-rgb, 201, 162, 39), .5); }
.whcore-plate__design[aria-pressed="true"] { border-color: var(--gold, #c9a227); }
.whcore-plate__find { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #3a3a3a; background: #fff; color: #111; font-size: 15px; margin-bottom: 10px; }
.whcore-plate__states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .whcore-plate__states { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.whcore-plate__st { display: flex; flex-direction: column; gap: 5px; padding: 6px; border: 2px solid transparent; border-radius: 10px; background: rgba(255,255,255,.06); color: inherit; cursor: pointer; text-align: center; font-size: 12.5px; font-weight: 600; }
.whcore-plate__st[hidden] { display: none; }
.whcore-plate__st img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 6px; display: block; background: #222; }
.whcore-plate__st:hover { border-color: rgba(var(--gold-rgb, 201, 162, 39), .5); }
.whcore-plate__st[aria-pressed="true"] { border-color: var(--gold, #c9a227); }
.whcore-plate__back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--gold, #c9a227); background: transparent; color: var(--gold, #c9a227); font-size: 13px; font-weight: 600; cursor: pointer; }
.whcore-plate__back:hover { background: rgba(var(--gold-rgb, 201, 162, 39), .12); }
.whcore-plate__upload { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 8px; padding: 12px 14px; border-radius: 10px; border: 1px dashed rgba(255,255,255,.3); background: rgba(255,255,255,.04); color: inherit; cursor: pointer; text-align: left; }
.whcore-plate__upload:hover { border-color: var(--gold, #c9a227); }
.whcore-plate__upload svg { width: 22px; height: 22px; flex: none; color: var(--gold, #c9a227); }
.whcore-plate__upload span { display: flex; flex-direction: column; gap: 2px; }
.whcore-plate__upload strong { font-size: 14px; }
.whcore-plate__upload small { font-size: 12px; opacity: .7; }
.whcore-plate__emblems { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.whcore-plate__emblem { padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: inherit; cursor: pointer; font-size: 13px; }
.whcore-plate__emblem:hover { border-color: var(--gold, #c9a227); }
.whcore-plate__emblem.is-off { border-color: var(--gold, #c9a227); color: var(--gold, #c9a227); }

/* Designer: social handle panel */
.whcore-social__plats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.whcore-social__plat { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 10px; border: 1px solid #d9d9d9; border-radius: 10px; background: #fff; color: #111; font-weight: 700; font-size: 14px; cursor: pointer; }
.whcore-social__plat img { width: 22px; height: 22px; object-fit: contain; }
.whcore-social__plat[aria-pressed="true"] { border-color: var(--gold, #c9a227); box-shadow: 0 0 0 2px var(--gold, #c9a227) inset; }
.whcore-social__handle { display: flex; align-items: center; border: 1px solid #d9d9d9; border-radius: 10px; background: #fff; overflow: hidden; }
.whcore-social__handle span { padding: 0 4px 0 12px; font-weight: 700; color: #666; }
.whcore-social__handle input { flex: 1; min-width: 0; border: 0; padding: 12px; font-size: 16px; outline: none; background: transparent; }

/* Designer: automatic face cut out status */
.whcore-sock-ai { margin: 6px 0 10px; }
.whcore-sock-ai.is-busy::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border: 2px solid var(--gold, #c9a227); border-right-color: transparent; border-radius: 50%; animation: whcore-spin .8s linear infinite; }
@keyframes whcore-spin { to { transform: rotate(360deg); } }

/* Sock panel: Traditional setup and back toggles (2.6.78) */
[data-ed-panel="sock"] .whcore-check small{display:block;font-size:12px;color:inherit;opacity:.68;font-weight:400;margin-top:2px;line-height:1.35}
[data-ed-panel="sock"] .whcore-check strong{color:inherit}
[data-ed-panel="sock"] .whcore-check--strong{align-items:flex-start;padding:10px 12px;border:1px solid rgba(var(--gold-rgb, 201, 162, 39), .55);border-radius:10px;background:rgba(var(--gold-rgb, 201, 162, 39), .10);margin:10px 0}
[data-ed-panel="sock"] [data-ed-sock-backown-wrap]{align-items:flex-start;margin:6px 0 10px}
[data-ed-panel="sock"] [data-ed-sock-custom][hidden]{display:none!important}

/* Same design for both (face socks), under Front and Back (2.6.86) */
.whcore-prod__same { margin: 10px 0 0; padding: 10px 12px; border: 1px solid #e4d9b8; border-radius: 10px; background: #faf8f2; }
.whcore-prod__same strong { color: #161616 !important; }

/* Face socks: custom text and background symbols (2.6.99). */
.whcore-sockx { margin: 12px 0 4px; display: grid; gap: 8px; }
.whcore-sockx[hidden] { display: none; }
.whcore-sockx__h { font-weight: 700; font-size: 13px; margin-top: 4px; }
.whcore-sockx__h small { font-weight: 500; opacity: .7; margin-left: 4px; }
.whcore-sockx__text { width: 100%; box-sizing: border-box; padding: 9px 11px; border-radius: 8px; border: 1px solid rgba(127,127,127,.45); background: rgba(255,255,255,.06); color: inherit; font: inherit; font-size: 14px; }
.whcore-sockx__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.whcore-sockx__chips button { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(127,127,127,.45); background: transparent; color: inherit; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.whcore-sockx__chips button.is-on { border-color: var(--gold, #c9a227); background: rgba(var(--gold-rgb, 201, 162, 39), .18); }
.whcore-sockx__syms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.whcore-sockx__sym { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 8px; border: 1px solid rgba(127,127,127,.4); background: rgba(255,255,255,.04); color: inherit; cursor: pointer; }
.whcore-sockx__sym span { font-size: 11px; font-weight: 700; }
.whcore-sockx__sym:hover { border-color: var(--gold, #c9a227); }
.whcore-sockx__sym.is-on { border: 2px solid var(--gold, #c9a227); background: rgba(var(--gold-rgb, 201, 162, 39), .2); }
.whcore-editor__preview-disc { margin: 6px 0 0; text-align: center; font-size: 12px; color: rgba(127,127,127,.85); }
.whcore-editor__preview-disc[hidden] { display: none; }
/* Social media designer: the Social tab glows so it is easy to find and get back to. */
@keyframes whcore-tab-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb, 201, 162, 39), 0); } 50% { box-shadow: 0 0 14px 3px rgba(var(--gold-rgb, 201, 162, 39), .75); } }
.whcore-editor [data-ed-tab].whcore-tab-glow { position: relative; border-radius: 10px; color: var(--wc-gold, var(--gold, #c9a227)); animation: whcore-tab-glow 1.8s ease-in-out infinite; }
.whcore-editor [data-ed-tab].whcore-tab-glow.is-active { animation: none; box-shadow: 0 0 0 2px var(--wc-gold, var(--gold, #c9a227)); }
@media (prefers-reduced-motion: reduce) { .whcore-editor [data-ed-tab].whcore-tab-glow { animation: none; box-shadow: 0 0 0 2px var(--wc-gold, var(--gold, #c9a227)); } }

/* Pajama pants: the sock panel, with the pants layouts and none of the sock-only options. */
.whcore-editor [data-ed-pants-lays] { display: none; }
.whcore-editor .is-pants [data-ed-pants-lays] { display: block; margin: 10px 0; }
.whcore-editor .is-pants [data-ed-sock-extras],
.whcore-editor .is-pants [data-ed-sock-trad-wrap],
.whcore-editor .is-pants [data-ed-sock-backown-wrap],
.whcore-editor .is-pants [data-ed-sock-backnote],
.whcore-editor .is-pants [data-ed-sock-custom],
.whcore-editor .is-pants [data-ed-sock-presets] { display: none !important; }
