:root {
    --scc-accent: #ff4605;
    --scc-whatsapp: #25d366;
    --scc-text: #1d2939;
    --scc-muted: #667085;
    --scc-border: #e4e7ec;
    --scc-bg: #f9fafb;
    --scc-radius: 10px;
}

/* Buttons */
.scc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid var(--scc-border);
    border-radius: var(--scc-radius);
    background: #fff;
    color: var(--scc-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
    text-align: left;
}
.scc-btn:disabled { opacity: .6; cursor: wait; }
.scc-btn--primary { background: var(--scc-accent); border-color: var(--scc-accent); color: #fff; }
.scc-btn--small { padding: 8px 12px; font-size: 14px; }
.scc-btn--whatsapp { background: var(--scc-whatsapp); border-color: var(--scc-whatsapp); color: #fff; }
.scc-btn__hint { margin-left: auto; font-weight: 400; font-size: 13px; color: var(--scc-accent); }
.scc-btn--phone.is-revealed .scc-btn__label { letter-spacing: .02em; }

/* Contact block */
.scc-contact { display: grid; gap: 10px; }
.scc-contact .scc-btn { width: 100%; }
.scc-form { display: grid; gap: 8px; margin-top: 8px; padding: 16px; border: 1px solid var(--scc-border); border-radius: var(--scc-radius); background: var(--scc-bg); }
.scc-form__title { margin: 0 0 4px; font-weight: 700; }
.scc-form input, .scc-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--scc-border); border-radius: 8px; font: inherit; background: #fff; box-sizing: border-box; }
.scc-form__status { margin: 0; font-size: 14px; }
.scc-form__status.is-ok { color: #027a48; }
.scc-form__status.is-error { color: #b42318; }
.scc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Price */
.scc-price { display: flex; flex-direction: column; gap: 2px; }
.scc-price__usd { font-size: 28px; font-weight: 800; color: var(--scc-text); }
.scc-price__seller { font-size: 16px; color: var(--scc-text); }
.scc-price__seller small, .scc-price__note { font-size: 12px; color: var(--scc-muted); }

/* Catalogue picker */
.scc-picker__label { display: block; font-weight: 700; margin-bottom: 6px; }
.scc-picker__input { width: 100%; padding: 12px 14px; border: 1px solid var(--scc-border); border-radius: var(--scc-radius); font: inherit; box-sizing: border-box; }
.scc-picker__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.scc-card { border: 1px solid var(--scc-border); border-radius: var(--scc-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.scc-card__noimg { display: flex !important; align-items: center; justify-content: center; font-size: 40px; color: #cfd6e4; }
.scc-card img, .scc-card__noimg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--scc-bg); display: block; }
.scc-card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; }
.scc-card__body span { font-size: 13px; color: var(--scc-muted); }
.scc-card__body .scc-btn { margin-top: auto; justify-content: center; }
.scc-picker__mine-title { margin-top: 28px; }
.scc-picker__mine { list-style: none; margin: 0; padding: 0; }
.scc-picker__mine li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--scc-border); }

/* Add-listing choices */
.scc-add { max-width: 1060px; margin: 0 auto 32px; padding: 28px; border-radius: 20px; background: #f2f5fb; box-sizing: border-box; }
.scc-add__title { margin: 0 0 16px; font-size: 22px; }
.scc-add__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.scc-add__choice { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 2px solid transparent; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--scc-text); }
.scc-add__choice:hover, .scc-add__choice.is-active { border-color: var(--scc-accent); }
.scc-add__choice span:not(.scc-add__icon) { font-size: 14px; color: var(--scc-muted); }
.scc-add__icon { font-size: 26px; line-height: 1; margin-bottom: 4px; }
[data-scc-add] [hidden], .scc-add__panel[hidden] { display: none !important; }
.scc-add__panel { margin-top: 18px; padding: 18px; border-radius: 14px; background: #fff; }
.scc-photo { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed var(--scc-border); border-radius: 14px; cursor: pointer; text-align: center; }
.scc-photo:hover { border-color: var(--scc-accent); }
.scc-photo__cta { font-weight: 700; font-size: 17px; color: var(--scc-accent); }
.scc-photo__tip { font-size: 13px; color: var(--scc-muted); }
.scc-loading::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border: 2px solid var(--scc-border); border-top-color: var(--scc-accent); border-radius: 50%; animation: scc-spin .8s linear infinite; }
@keyframes scc-spin { to { transform: rotate(360deg); } }
.scc-notice.is-error { color: #b42318; }
.scc-result { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 18px; margin-top: 16px; align-items: start; }
.scc-result img { width: 100%; border-radius: 10px; }
.scc-result__body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.scc-result__label { font-size: 13px; color: var(--scc-muted); margin-top: 4px; }
.scc-result__name { font-size: 22px; }
.scc-result__meta { font-size: 14px; color: var(--scc-muted); }
.scc-result__list { display: flex; flex-wrap: wrap; gap: 8px; }
.scc-result__list small { font-weight: 400; color: var(--scc-muted); }
.scc-link { background: none; border: 0; padding: 0; color: var(--scc-accent); text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 600px) { .scc-result { grid-template-columns: 1fr; } .scc-add { padding: 18px; } }

/* Stats */
.scc-stats__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.scc-stats__range a { display: inline-block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--scc-text); }
.scc-stats__range a.is-active { background: var(--scc-accent); color: #fff; }
.scc-stats__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 24px; }
.scc-tile { padding: 16px; border: 1px solid var(--scc-border); border-radius: var(--scc-radius); background: #fff; }
.scc-tile__value { display: block; font-size: 28px; font-weight: 800; color: var(--scc-text); }
.scc-tile__label { font-size: 13px; color: var(--scc-muted); }
.scc-table-wrap { overflow-x: auto; }
.scc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.scc-table th, .scc-table td { padding: 10px; border-bottom: 1px solid var(--scc-border); text-align: left; white-space: nowrap; }
.scc-table td:first-child { white-space: normal; }
.scc-messages { list-style: none; margin: 0; padding: 0; }
.scc-messages li { padding: 14px 0; border-bottom: 1px solid var(--scc-border); }
.scc-messages p { margin: 0 0 4px; }
.scc-messages__meta, .scc-messages__listing { font-size: 13px; color: var(--scc-muted); }
.scc-notice { color: var(--scc-muted); }

/* ---------- colour variants ---------- */
.scc-colors { margin: 24px 0; }
.scc-colors__title { margin: 0 0 12px; }
.scc-colors__stage { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: radial-gradient(ellipse at center, #fff 0%, #ececec 75%); }
.scc-colors__stage img { display: block; width: 100%; height: auto; transition: opacity .25s ease; }
.scc-colors__stage img.is-switching { opacity: .35; }
.scc-colors__name { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(20,20,20,.82); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 6px; }
.scc-colors__swatches { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: max-content; max-width: 100%; margin: 14px auto 0; padding: 8px 12px; background: #2b2b2b; border-radius: 999px; }
.scc-swatch { display: inline-block; width: 34px; height: 34px; padding: 0; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); transition: transform .15s ease, border-color .15s ease; vertical-align: middle; }
.scc-swatch[data-photo="1"] { background: conic-gradient(#111, #888, #ddd, #888, #111); }
.scc-swatch:hover, .scc-swatch:focus-visible { transform: scale(1.12); }
.scc-swatch.is-active { border-color: #fff; box-shadow: 0 0 0 2px #2b2b2b, 0 0 0 4px #fff; }
.scc-colors__note { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--scc-muted); }
.scc-colors__note[hidden] { display: none !important; }

.scc-studio { margin: 0 0 24px; padding: 16px 20px; border: 1px solid var(--scc-border); border-radius: 12px; background: #fff; }
.scc-studio__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; cursor: pointer; }
.scc-studio__head span:last-child { color: var(--scc-muted); font-size: 14px; }
.scc-studio__step { margin: 16px 0 8px; font-weight: 600; }
.scc-studio__photos { display: flex; flex-wrap: wrap; gap: 8px; }
.scc-studio__photo { position: relative; cursor: pointer; }
.scc-studio__photo input { position: absolute; opacity: 0; }
.scc-studio__photo img { display: block; width: 96px; height: 72px; object-fit: cover; border-radius: 8px; border: 3px solid transparent; }
.scc-studio__photo input:checked + img { border-color: #ff4605; }
.scc-studio__photo input:focus-visible + img { outline: 2px solid #1d4f9c; }
.scc-studio__palette { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.scc-studio__color { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 62px; cursor: pointer; font-size: 12px; text-align: center; }
.scc-studio__color input { position: absolute; opacity: 0; }
.scc-studio__color .scc-swatch { border-color: #ddd; }
.scc-studio__color input:checked + .scc-swatch { border-color: #fff; box-shadow: 0 0 0 2px #ff4605; }
.scc-studio__color input:focus-visible + .scc-swatch { outline: 2px solid #1d4f9c; }
.scc-studio__custom { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.scc-studio__custom input[type="color"] { width: 44px; height: 34px; padding: 0; border: 0; background: none; }
.scc-studio__left, .scc-studio__hint { margin-left: 8px; color: var(--scc-muted); font-size: 13px; }
.scc-studio__hint { margin-left: 0; }
.scc-studio__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 12px; }
.scc-studio__item { margin: 0; }
.scc-studio__item img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.scc-studio__item figcaption { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; }
.scc-studio__item .scc-swatch { width: 16px; height: 16px; border-width: 1px; }
.scc-link { margin-left: auto; padding: 0; border: 0; background: none; color: #b0232b; cursor: pointer; text-decoration: underline; font-size: 12px; }

.scc-studio__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.scc-studio__actions label.scc-btn { cursor: pointer; }
