/* 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(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(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(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(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: 12px; margin-bottom: 4px; 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; }
.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(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: 4px; font-size: 13px; }
.whcore-design__notes span { font-weight: 600; }
.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); min-height: 1em; }
.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); } }
.single_add_to_cart_button.whcore-needs-design { opacity: .55; }
.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-swatches--big button { width: 52px; height: 52px; border-radius: 10px; background-size: 52px 52px !important; }
.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(201, 162, 39, .15); }
.whcore-btn--sm { padding: 7px 12px; font-size: 12px; }
/* Preview dialog */
.whcore-editor__preview { position: absolute; inset: 0; z-index: 6; 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 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-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; }
.whcore-editor__body { flex: 1; display: grid; grid-template-columns: 76px 300px 1fr; min-height: 0; }
.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); }
.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(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; }
.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; }
.whcore-editor__layer { position: sticky; bottom: 0; margin: 20px -16px -100px; padding: 12px 16px; background: #0b0b0b; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 6px; }
.whcore-editor__stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 16px 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; }
.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: #c9a227; }
.whcore-editor__align-btn.is-primary:hover { background: rgba(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; }
}
.whcore-editor__hint { opacity: .7; }
.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: 1fr auto auto; }
	.whcore-editor__stage { order: 1; padding: 52px 10px 40px; }
	.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(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(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; }
