/* Jewish T-Shirts: shop, artist pages and the shirt creator. */

.sh-hero {
    background: linear-gradient(135deg, #1e4fa3 0%, #12306b 100%);
    color: #fff;
}

.sh-hero .btn-light { color: #12306b; }

.sh-card {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: box-shadow .15s ease, transform .15s ease;
    height: 100%;
}

.sh-card:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, .12); transform: translateY(-2px); color: inherit; }

.sh-card-img {
    aspect-ratio: 4 / 5;
    background: #f1f5f9;
    display: grid;
    place-items: center;
}

.sh-card-img img { width: 100%; height: 100%; object-fit: contain; }

.sh-card-body { padding: .75rem .9rem 1rem; }
.sh-card-title { font-weight: 600; line-height: 1.25; }
.sh-card-artist { font-size: .85rem; color: #6b7280; }
.sh-card-price { font-weight: 700; margin-top: .25rem; }

.sh-product-img {
    background: #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.sh-product-img img { width: 100%; height: 100%; object-fit: contain; }

.sh-sizes { display: flex; flex-wrap: wrap; gap: .5rem; }
.sh-sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sh-sizes label {
    min-width: 3.25rem;
    padding: .5rem .75rem;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}
.sh-sizes input:checked + label { border-color: #1e4fa3; background: #eef3fc; color: #12306b; }
.sh-sizes input:focus-visible + label { outline: 3px solid #93b4ec; }

.sh-thumb {
    width: 64px;
    height: 80px;
    object-fit: contain;
    background: #f1f5f9;
    border-radius: 8px;
}

.sh-status { font-size: .75rem; }

/* ----- Submit page ----- */

.sh-drop {
    border: 2px dashed #9ca3af;
    border-radius: 14px;
    padding: 2rem 1rem;
    text-align: center;
    background: #f9fafb;
    cursor: pointer;
}

.sh-drop.is-over { border-color: #1e4fa3; background: #eef3fc; }
.sh-drop img { max-height: 220px; max-width: 100%; object-fit: contain; }

/* ----- Creator ----- */

.sh-creator-stage {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.sh-creator-stage .canvas-container { margin: 0 auto; }

.sh-creator-stage canvas { border-radius: 14px; }

.sh-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.sh-swatch {
    height: 2.25rem;
    border-radius: 8px;
    border: 2px solid #d1d5db;
    cursor: pointer;
}
.sh-swatch.is-active { border-color: #1e4fa3; box-shadow: 0 0 0 3px #bcd0f3; }

.sh-busy {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(241, 245, 249, .85);
    border-radius: 14px;
    font-weight: 600;
    color: #374151;
    z-index: 5;
    text-align: center;
    padding: 1rem;
}
.sh-busy.is-on { display: grid; }
