/* =============================================================================
 * Strip Curtains Configurator — Section 1 of the warehouse curtain page
 *
 * Scope:  page title bar + tab nav + banner image w/ video click overlay + 6-thumb carousel
 *
 * Class-naming policy:  ALL classes & IDs prefixed `sccwc-` (Strip Curtains
 * Configurator Warehouse Curtain) so they cannot collide with any
 * WordPress theme. The root container has class `.sccwc-app` AND id
 * `#sccwc-app` — every rule below is scoped under one of those.
 *
 * Other sections of the page (Step 1, Step 2, Step 3, right column) will
 * be added section-by-section in subsequent commits; their CSS will live
 * below the "Section 1 END" marker.
 * ============================================================================= */

@font-face {
    font-family: 'sccwc-uvzvo';
    src: url('../../assets/fonts/uvzvo.woff') format('woff'),
         url('../../assets/fonts/uvzvo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---------- Reset for our app sandbox ---------- */
.sccwc-app,
.sccwc-app *,
.sccwc-app *:before,
.sccwc-app *:after {
    box-sizing: border-box;
}
.sccwc-app a { text-decoration: none; }
.sccwc-app img { max-width: none; display: inline-block; height: auto; }
.sccwc-app h1, .sccwc-app h2, .sccwc-app h3, .sccwc-app h4, .sccwc-app p {
    margin: 0;
    padding: 0;
}

/* ---------- Root container ---------- */
.sccwc-app {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    font-family: Arial, Verdana, Geneva, helvetica, sans-serif;
    color: #000;
    font-size: 12px;
    line-height: 1.4;
    background: transparent;
}

/* =========================================================================
 * Section 1: page title bar
 * ========================================================================= */
.sccwc-titlebar {
    background: #00007b;
    color: #fff;
    padding: 18px 16px 14px;
    margin: 0;
    text-align: center;
    width: 100%;
    min-height: 80px;
}
.sccwc-titlebar-h1 {
    color: #fc0;
    font-family: 'sccwc-uvzvo', Arial, sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 32px;
    margin: 6px 0;
    text-transform: capitalize;
}
.sccwc-titlebar-sub {
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
    font-family: 'sccwc-uvzvo', Arial, sans-serif;
}

/* =========================================================================
 * Section 1: tab nav
 * ---------------------------------------------------------------------------
 * 6 tabs at the top, currentone (the page you're on) has white background
 * with blue text; the others have blue background with white text.
 * ========================================================================= */
.sccwc-tabs {
    background: #00007b;
    width: 100%;
    margin: 0;
    padding: 19px 53px 0 53px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}
.sccwc-tab {
    background: #fff;
    border-radius: 10px 10px 0 0;
    border-top: 1px solid #fff;
    color: #002db4 !important;
    font-size: 12px;
    font-weight: bold;
    line-height: 14px;
    padding: 8px 15px 6px 18px;
    text-decoration: none;
    display: inline-block;
}
.sccwc-tab:hover {
    background: #ffff02;
    color: #000 !important;
}
/* Inactive tabs (other curtain types) */
.sccwc-tab-other {
    background: #00007b;
    color: #fff !important;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}
.sccwc-tab-other:hover {
    background: #ffff02;
    color: #000 !important;
}

/* =========================================================================
 * Section 1: banner image with overlays
 * ---------------------------------------------------------------------------
 * The banner background image is 917x353 and contains a baked-in:
 *   - "Installation Video Clip" play button visual at ~28,195 (230x157)
 *   - "18 OZ Fire Rated Curtain" caption in the middle
 *   - "3 Easy Steps" checklist on the right
 *   - Empty space for the thumbnail carousel at ~135,274 (752x87)
 *
 * We overlay an INVISIBLE anchor on the play button (opens YouTube in
 * lity lightbox) and the thumbnail carousel inside the bottom strip.
 * ========================================================================= */
.sccwc-banner {
    /* background-image is set inline per-preset by the partial (from
     * SCC_Database banner_url). This URL is the warehouse fallback only. */
    background-image: url('../../assets/images/banners/warehouse-banner.jpg');
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center top;
    height: 360px;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Invisible click overlay that triggers the YouTube lity lightbox */
.sccwc-banner-video {
    position: absolute;
    top: 195px;
    left: 28px;
    width: 230px;
    height: 157px;
    display: block;
    z-index: 5;
    cursor: pointer;
    background: transparent;
}

/* Thumbnail carousel ------------------------------------------------------- */
.sccwc-photog {
    position: absolute;
    top: 274px;
    left: 135px;
    width: 752px;
    height: 87px;
    overflow: hidden;
    padding: 0;
    z-index: 2;
}
.sccwc-arrow {
    position: absolute;
    top: 18px;
    cursor: pointer;
    z-index: 4;
    display: block;
}
.sccwc-arrow-left  { left: 0; }
.sccwc-arrow-right { right: 0; }
.sccwc-arrow img { display: block; border: 0; }

.sccwc-thumbs {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 26px;
    height: 73px;
    transition: margin-left 0.35s ease-out;
    white-space: nowrap;
    /* `width` is set inline by PHP based on total thumbs × 116px */
}
.sccwc-thumb {
    cursor: pointer;
    margin: 0 5px 0 0;
    display: inline-block;
    line-height: 0;
}
.sccwc-thumb img {
    display: block;
    border: 0;
    width: 111px;
    height: 73px;
    object-fit: cover;
}

/* Responsive: below 950px the banner image gets cropped and overlays look
   wrong, so hide them on mobile rather than try to scale 917px-positioned
   elements. */
@media (max-width: 950px) {
    .sccwc-banner {
        background-size: cover;
        height: 220px;
    }
    .sccwc-banner-video,
    .sccwc-photog {
        display: none;
    }
    .sccwc-titlebar-h1 { font-size: 22px; line-height: 26px; }
    .sccwc-titlebar-sub { font-size: 13px; line-height: 18px; }
    .sccwc-tabs { padding: 12px 10px 0; gap: 6px; }
    .sccwc-tab { padding: 6px 10px; font-size: 11px; }
}

/* ---- Section 1 END ----------------------------------------------------- */

/* =========================================================================
 * Sections 2 + 3 + 4 : Step 1 layout selector, Step 2 per-side panels,
 * and the right sidebar (Product Detail + Price Detail).
 *
 * All selectors below are scoped under `#sccwc-app` to keep them from
 * leaking into the surrounding WordPress theme. Pure flexbox layout —
 * no `float` rules anywhere.
 * ========================================================================= */

/* ----- Main layout wrapper (left col + right col) ----- */
#sccwc-app .sccwc-main { display: flex; gap: 12px; margin: 12px 8px 0; align-items: flex-start; }
#sccwc-app .sccwc-left { flex: 1 1 auto; min-width: 0; max-width: 680px; }
#sccwc-app .sccwc-right { flex: 0 0 240px; }

/* ----- Step indicator bars (yellow chevron + blue) ----- */
#sccwc-app .sccwc-step-indicator {
    width: 669px;
    max-width: 100%;
    height: 49px;
    background: url('../../assets/images/ui/steps-bgbar.png') no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    margin: 14px 0 10px 0;
    box-sizing: border-box;
}
#sccwc-app .sccwc-step-title {
    width: 150px;
    padding-left: 20px;
    font-family: 'sccwc-uvzvo', Arial, sans-serif;
    font-size: 20px;
    color: #1b1b1b;
    font-style: italic;
    font-weight: bold;
    flex: 0 0 150px;
    box-sizing: border-box;
}
#sccwc-app .sccwc-step-description {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
}

/* ----- Step 1: 5 layout buttons ----- */
#sccwc-app .sccwc-layouts {
    width: 100%;
    max-width: 670px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 0 20px 0;
}
#sccwc-app .sccwc-layout-btn {
    flex: 1 1 0;
    min-width: 0;
    height: 150px;
    padding: 10px 6px;
    margin: 10px 0 0 0;
    border: 1px solid #fff;
    font-family: 'sccwc-uvzvo', Arial, sans-serif;
    font-size: 11px;
    text-decoration: none !important;
    text-align: center;
    color: #5b5b5b !important;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    box-sizing: border-box;
}
#sccwc-app .sccwc-layout-btn:hover {
    background-color: #f8f8f8;
    border: 1px solid #39b54a;
    border-radius: 10px;
}
#sccwc-app .sccwc-layout-btn--active {
    background-color: #fef8b5;
    background-image: url('../../assets/images/ui/markednewpage.png');
    background-size: 20px 20px;
    background-position: 5px 4px;
    background-repeat: no-repeat;
    border: 1px solid #39b54a;
    border-radius: 10px;
}
#sccwc-app .sccwc-layout-btn img {
    display: block;
    margin: 4px auto 6px;
    border: 0;
    width: 80px;
    height: 80px;
    object-fit: contain;
}
#sccwc-app .sccwc-layout-label {
    font-style: italic;
    line-height: 1.3;
    text-align: center;
}

/* ----- Step 2: per-side panels (327x245, 2 across) ----- */
#sccwc-app .sccwc-sides {
    width: 670px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 20px 0;
}
#sccwc-app .sccwc-side {
    width: 327px;
    min-height: 245px;
    padding: 20px 6px 0 6px;
    border-bottom: 1px dotted #ccc;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    background: #fff;
}
#sccwc-app .sccwc-side--b { border-left: 1px dotted #ccc; }
#sccwc-app .sccwc-side--c { padding-top: 10px; border-bottom: 0; }
#sccwc-app .sccwc-side--d { padding-top: 10px; border-left: 1px dotted #ccc; border-bottom: 0; }

#sccwc-app .sccwc-side-image {
    width: 110px;
    padding: 0 6px;
    flex: 0 0 auto;
    box-sizing: border-box;
}
#sccwc-app .sccwc-side-image img {
    display: block;
    width: 100px;
    height: auto;
}
#sccwc-app .sccwc-side-controls {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
}
#sccwc-app .sccwc-side-title {
    font-size: 13px;
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}
#sccwc-app .sccwc-side-dim-labels {
    display: flex;
    gap: 50px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 2px;
}
#sccwc-app .sccwc-side-dim-labels span { width: 50%; }

#sccwc-app .sccwc-side-dim-row {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-bottom: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
#sccwc-app .sccwc-dim-input {
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
    /* Taller (38px vs original 26px) so digits stand out without
       widening the horizontal footprint - keeps the legacy 4-input-
       per-side layout intact inside the narrow side panel. */
    height: 38px;
    width: 36px;
    min-width: 0;
    flex: 0 0 36px;
    padding: 3px;
    text-align: center;
    font-size: 13px;
    box-sizing: border-box;
    /* Hide native browser number-spinner buttons - they were eating
       ~16px of usable width inside the 36px box and competing visually
       with the cleaner all-keyboard input pattern of the legacy site. */
    -moz-appearance: textfield;
    appearance: textfield;
}
#sccwc-app .sccwc-dim-input::-webkit-outer-spin-button,
#sccwc-app .sccwc-dim-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#sccwc-app .sccwc-dim-feet,
#sccwc-app .sccwc-dim-inches {
    font-size: 16px;
    font-weight: bold;
    padding: 0 2px;
    flex: 0 0 auto;
}
#sccwc-app .sccwc-dim-x {
    font-size: 14px;
    font-weight: bold;
    padding: 0 4px;
    flex: 0 0 auto;
}

#sccwc-app .sccwc-nc-row {
    margin: 8px 0;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
#sccwc-app .sccwc-nc-row label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: normal;
}

#sccwc-app .sccwc-color-row {
    border-bottom: 1px dotted #ccc;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
#sccwc-app .sccwc-color-field {
    width: 35px !important;
    height: 26px !important;
}
#sccwc-app .sccwc-color-name {
    flex: 1 1 auto;
    font-size: 11px;
    line-height: 11px;
    padding: 0 4px;
    color: #333;
    text-align: left;
}
#sccwc-app .sccwc-color-inches {
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 26px;
    width: 42px;
    text-align: center;
    font-size: 13px;
    padding: 2px;
    box-sizing: border-box;
}
#sccwc-app .sccwc-color-measure {
    font-size: 11px;
    padding-left: 4px;
}

/* ----- Right sidebar: Product Detail + Price Detail ----- */
#sccwc-app .sccwc-product-detail,
#sccwc-app .sccwc-price-detail {
    width: 240px;
    margin: 0 0 8px 0;
}

#sccwc-app .sccwc-pd-header,
#sccwc-app .sccwc-pd-price-header {
    background: #fcd400;
    color: #00007b;
    font-family: 'sccwc-uvzvo', Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    padding: 10px 16px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    line-height: 22px;
}

#sccwc-app .sccwc-product-detail .sccwc-pd-body {
    background: #ececec;
    color: #313030;
    font-family: Arial;
    font-size: 12px;
    padding: 14px;
}

#sccwc-app .sccwc-pd-imagesample {
    text-align: center;
    margin-bottom: 12px;
}
#sccwc-app .sccwc-pd-imagesample img {
    display: block;
    margin: 0 auto;
    max-width: 160px;
    height: auto;
}

#sccwc-app .sccwc-pd-row {
    font-size: 12px;
    font-weight: bold;
    border-bottom: 1px dotted #999;
    min-height: 20px;
    padding: 5px 0;
    color: #313030;
}
#sccwc-app .sccwc-pd-row:last-child { border-bottom: 0; }
#sccwc-app .sccwc-pd-row .sccwc-pd-side-color {
    display: block;
    font-weight: normal;
    margin-top: 2px;
}

#sccwc-app .sccwc-price-detail .sccwc-pd-price-body {
    background: #00007b;
    color: #fff;
    padding: 14px 16px;
    font-family: Arial;
}

#sccwc-app .sccwc-pd-price-row {
    font-size: 13px;
    font-weight: bold;
    padding: 4px 0;
    color: #fff;
}
#sccwc-app .sccwc-pd-price-row--main {
    font-size: 18px;
}

#sccwc-app .sccwc-pd-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 12px;
    color: #fff;
    font-size: 14px;
}
#sccwc-app .sccwc-pd-qty-row input {
    width: 70px;
    height: 30px;
    padding: 4px 8px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #999;
    border-radius: 3px;
    background: #fff;
    color: #000;
    box-sizing: border-box;
}

#sccwc-app .sccwc-pd-cart-btn {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    width: 100%;
    display: block;
}
#sccwc-app .sccwc-pd-cart-btn img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}
#sccwc-app .sccwc-pd-cart-btn:disabled { opacity: 0.6; cursor: not-allowed; }

#sccwc-app .sccwc-msg {
    padding: 8px 12px;
    font-size: 12px;
    text-align: center;
    background: rgba(255,255,255,0.1);
}
#sccwc-app .sccwc-msg--ok  { color: #c0ff9d; }
#sccwc-app .sccwc-msg--err { color: #ffb1b1; }

/* Right column trust signals + case-study photos. Stack vertically
 * below Price Detail at the same column width. Legacy used 235px;
 * we fit to the 240px right column. */
#sccwc-app .sccwc-pd-side-pics {
    width: 240px;
    margin: 12px 0 0 0;
    display: block;
}
#sccwc-app .sccwc-pd-side-img {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
    margin: 0 0 8px 0;
    border: 0;
}
#sccwc-app .sccwc-pd-side-guarantee {
    margin-bottom: 12px;
}

/* Body Shop "Sample two-sided layout" + Installation Pictures — rendered
 * full-width BELOW the configurator (sibling of .sccwc-main), mirroring the
 * legacy bodyShopStyleCur.php where this block follows the tool panel rather
 * than sitting in the narrow sidebar. Centered diagram with a blue heading,
 * Installation Pictures PDF thumbnail beside it. */
#sccwc-app .sccwc-samplewrap {
    clear: both;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    margin: 24px auto 12px;
    padding: 0 12px;
}
#sccwc-app .sccwc-samplewrap-main {
    text-align: center;
    flex: 0 1 auto;
}
#sccwc-app .sccwc-samplewrap-diagram {
    display: block;
    width: 593px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 0;
}
#sccwc-app .sccwc-samplewrap-install {
    width: 150px;
    flex: 0 0 auto;
    text-align: center;
}
#sccwc-app .sccwc-samplewrap-install a { display: inline-block; }
#sccwc-app .sccwc-samplewrap-install img {
    display: block;
    width: 134px;
    height: 174px;
    max-width: 100%;
    border: 0;
}
#sccwc-app .sccwc-samplewrap-h3 {
    color: #0000cd;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1.2;
}

/* Tarps Material Specs table — full-width block below the configurator
 * (mirrors legacy Tarps.php). Rebuilt with scoped classes instead of the
 * legacy inline-styled <table>s. */
#sccwc-app .sccwc-tarps-specs {
    clear: both;
    width: 95%;
    max-width: 700px;
    margin: 24px auto 12px;
    padding: 0 12px;
    box-sizing: border-box;
}
#sccwc-app .sccwc-tarps-intro {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    margin: 0 0 10px 0;
    font-size: 13px;
}
#sccwc-app .sccwc-tarps-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
}
#sccwc-app .sccwc-tarps-table th,
#sccwc-app .sccwc-tarps-table td {
    border: 1px solid #ccc;
    padding: 5px 8px;
    text-align: left;
    font-size: 13px;
    vertical-align: top;
}
#sccwc-app .sccwc-tarps-table th {
    text-align: center;
    background: #f2f2f2;
    font-weight: bold;
}
#sccwc-app .sccwc-tarps-table td:first-child {
    width: 35%;
    font-weight: bold;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 800px) {
    #sccwc-app .sccwc-main { flex-direction: column; padding: 0 8px; }
    #sccwc-app .sccwc-right { flex: 1 1 auto; width: 100%; }
    #sccwc-app .sccwc-left { max-width: 100%; }
    #sccwc-app .sccwc-layouts,
    #sccwc-app .sccwc-sides,
    #sccwc-app .sccwc-step-indicator { width: 100%; }
    #sccwc-app .sccwc-side { width: 100%; border-left: 0 !important; }
    #sccwc-app .sccwc-layout-btn { width: calc(33.33% - 10px); }
    #sccwc-app .sccwc-product-detail,
    #sccwc-app .sccwc-price-detail { width: 100%; }
    #sccwc-app .sccwc-pd-side-pics,
    #sccwc-app .sccwc-pd-side-img { width: 100%; }
}

/* ---- Sections 2-4 END --------------------------------------------------- */

/* =========================================================================
 * Section 5: Step 3 mounting-kit selector
 * ========================================================================= */
#sccwc-app .sccwc-kits {
    width: 100%;
    max-width: 670px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px 0;
}
#sccwc-app .sccwc-kit-btn {
    flex: 1 1 calc(25% - 10px);
    min-width: 120px;
    max-width: 180px;
    height: 150px;
    padding: 10px;
    margin: 0;
    border: 1px solid #fff;
    text-decoration: none !important;
    text-align: center;
    color: #1b1b1b !important;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    font-size: 13px;
    font-weight: bold;
    box-sizing: border-box;
}
#sccwc-app .sccwc-kit-btn:hover {
    background-color: #f8f8f8;
    border: 1px solid #39b54a;
    border-radius: 10px;
}
#sccwc-app .sccwc-kit-btn--active {
    background-color: #fef8b5;
    background-image: url('../../assets/images/ui/markednewpage.png');
    background-size: 20px 20px;
    background-position: 5px 4px;
    background-repeat: no-repeat;
    border: 1px solid #39b54a;
    border-radius: 10px;
}
#sccwc-app .sccwc-kit-btn img {
    display: block;
    margin: 4px auto 8px;
    border: 0;
    width: 90px;
    height: 90px;
    object-fit: contain;
}
#sccwc-app .sccwc-kit-label {
    font-style: italic;
    line-height: 1.3;
}

/* Step 3 info box (yellow with orange icon) */
#sccwc-app .sccwc-kit-info {
    width: 100%;
    max-width: 670px;
    background: #fff9c4;
    border: 1px solid #f0d77a;
    border-radius: 4px;
    padding: 12px 12px 12px 50px;
    margin: 0 0 18px 0;
    font-size: 12px;
    color: #555;
    line-height: 1.4;
    position: relative;
    box-sizing: border-box;
}
#sccwc-app .sccwc-kit-info-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
}
#sccwc-app .sccwc-kit-info-link {
    color: #00007b;
    font-weight: bold;
    text-decoration: underline;
}
#sccwc-app .sccwc-kit-info-link:hover {
    color: #ce0b06;
}

/* 6-image zone stack inside the per-side preview. Each <img> is a block so
 * they stack naturally; the inline width/height attrs from PHP control the
 * band heights. Hidden zones are display:none via inline style. */
#sccwc-app .sccwc-side-image .sccwc-side-zone {
    display: block;
    width: 100px;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

/* Hardware list rows inside Product Detail */
#sccwc-app .sccwc-pd-hardware-list {
    margin-top: 4px;
}
#sccwc-app .sccwc-pd-hardware-item {
    font-size: 11px;
    font-weight: normal;
    border-bottom: 1px dotted #999;
    padding: 5px 0;
    color: #313030;
    line-height: 1.3;
}
#sccwc-app .sccwc-pd-hardware-item:last-child { border-bottom: 0; }

/* =========================================================================
 * Step 3: full hardware inventory table (legacy parity, warehouseCurtains.php:1561-1634).
 * Editable Qty per row. Qty text turns blue when > 0 (matches legacy).
 * ========================================================================= */
#sccwc-app .sccwc-hw-table {
    width: 100%;
    max-width: 670px;
    border-collapse: collapse;
    margin: 16px 0 18px 0;
    font-size: 12px;
    table-layout: fixed;
}
#sccwc-app .sccwc-hw-table th,
#sccwc-app .sccwc-hw-table td {
    border: 1px solid #ccc;
    padding: 6px;
    vertical-align: middle;
    word-wrap: break-word;
}
#sccwc-app .sccwc-hw-table thead th {
    background: #ebebeb;
    font-weight: bold;
    text-align: left;
}
#sccwc-app .sccwc-hw-table tbody tr:nth-child(even) td { background: #ebebeb; }
#sccwc-app .sccwc-hw-table tbody tr:nth-child(odd)  td { background: #fff; }

#sccwc-app .sccwc-hw-col-image { width: 100px; }
#sccwc-app .sccwc-hw-col-desc  { width: auto; }
#sccwc-app .sccwc-hw-col-price { width: 90px; white-space: nowrap; }
#sccwc-app .sccwc-hw-col-qty   { width: 60px; }
#sccwc-app .sccwc-hw-col-total { width: 90px; white-space: nowrap; }

#sccwc-app .sccwc-hw-img {
    display: block;
    width: 90px;
    height: 100px;
    object-fit: cover;
    cursor: zoom-in;
    border: 0;
}
#sccwc-app .sccwc-hw-qty {
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 26px;
    width: 50px;
    padding: 2px 4px;
    font-size: 13px;
    text-align: center;
    box-sizing: border-box;
    color: #000;
}
/* Blue + bold qty when > 0 — matches legacy visual cue */
#sccwc-app .sccwc-hw-qty.sccwc-hw-qty--filled {
    color: #00007b;
    font-weight: bold;
}
/* Tooltip-style strikethrough for rows whose slot has no WP product wired */
#sccwc-app .sccwc-hw-row--unpurchasable td {
    opacity: 0.85;
}
#sccwc-app .sccwc-hw-row--unpurchasable .sccwc-hw-col-desc::after {
    content: " — not yet available online";
    color: #c00;
    font-size: 10px;
    font-style: italic;
}

@media (max-width: 800px) {
    #sccwc-app .sccwc-hw-table { font-size: 11px; }
    #sccwc-app .sccwc-hw-col-image { width: 70px; }
    #sccwc-app .sccwc-hw-img { width: 60px; height: 70px; }
}
