/* ============================================
   LUXE IMPRINT — Design Your Own Tee
   ============================================ */

/* Required asterisk */
.req { color: #a01818; font-weight: 700; }

/* Quantity stepper */
.quantity__input {
    display: flex;
    align-items: stretch;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    max-width: 180px;
}
.quantity__input input[type="number"] {
    flex: 1;
    border: none;
    text-align: center;
    padding: 12px 8px;
    font-size: 16px;
    font-weight: 600;
    -moz-appearance: textfield;
}
.quantity__input input[type="number"]::-webkit-outer-spin-button,
.quantity__input input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty__btn {
    width: 46px;
    border: none;
    background: #f7f7f7;
    font-size: 20px;
    cursor: pointer;
    color: #111;
    transition: background .15s ease;
}
.qty__btn:hover { background: #eee; }

/* Color swatches — 7 across on wide */
.color__swatches { flex-wrap: wrap; }

/* ---------- Price box ---------- */
.price__box {
    background: linear-gradient(135deg, #faf7f2 0%, #f5efe4 100%);
    border: 1px solid #ecdfc9;
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 14px;
}
.price__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
}
.price__row--discount { color: #2e7d32; }
.price__row--total {
    border-top: 1px dashed #d8c8a8;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 700;
}
.price__label { color: #555; }
.price__value { font-weight: 600; color: #111; }
.price__value--discount { color: #2e7d32; }
.price__value--total { font-size: 22px; color: #b08d57; }
.price__note {
    font-size: 12px;
    color: #8a8a8a;
    margin: 12px 0 0;
    line-height: 1.5;
}

/* ---------- Delivery notice ---------- */
.delivery__notice {
    background: #fffbe9;
    border-left: 3px solid #e0c26a;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.luxe-imprint__section {
    padding: 40px 0 80px;
    background: #faf8f5;
}

/* Breadcrumb */
.breadcrumb__section { margin-bottom: 30px; }
.breadcrumb__list { list-style: none; padding: 0; gap: 10px; font-size: 14px; }
.breadcrumb__list a { color: #666; text-decoration: none; }
.breadcrumb__list a:hover { color: #b08d57; }
.breadcrumb__sep { color: #ccc; }
.breadcrumb__current { color: #111; font-weight: 600; }

/* Page header */
.luxe-imprint__header { max-width: 720px; margin: 0 auto 50px; }
.luxe-imprint__eyebrow {
    letter-spacing: 3px; text-transform: uppercase;
    color: #b08d57; font-size: 12px; margin-bottom: 10px;
}
.luxe-imprint__title {
    font-family: Georgia, serif;
    font-size: 52px; line-height: 1.1;
    margin: 0 0 15px;
}
.luxe-imprint__subtitle { color: #666; font-size: 16px; line-height: 1.6; }

/* Layout grid */
.luxe-imprint__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 991px) {
    .luxe-imprint__grid { grid-template-columns: 1fr; gap: 30px; }
    .luxe-imprint__title { font-size: 36px; }
}

/* ---------- Thank You page ---------- */
.luxe-thanks__section {
    padding: 80px 0 100px;
    background: #faf8f5;
    min-height: 70vh;
}
.luxe-thanks__card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,.04);
}
.luxe-thanks__icon { margin-bottom: 20px; }
.luxe-thanks__eyebrow {
    font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
    color: #b08d57; margin: 0 0 12px;
}
.luxe-thanks__title {
    font-family: Georgia, serif;
    font-size: 32px; margin: 0 0 12px; color: #111;
}
.luxe-thanks__subtitle {
    font-size: 15px; color: #666; line-height: 1.6;
    margin: 0 0 30px;
}
.luxe-thanks__orderid {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    background: #faf7f2;
    border: 1px solid #ecdfc9;
    border-radius: 10px;
    padding: 16px 40px;
    margin-bottom: 32px;
}
.luxe-thanks__orderid--label {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: #8a8a8a;
}
.luxe-thanks__orderid--value {
    font-size: 24px; font-weight: 700; color: #b08d57;
    font-family: 'Courier New', monospace; letter-spacing: 2px;
}

.luxe-thanks__summary {
    text-align: left;
    background: #faf8f5;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 30px;
}
.luxe-thanks__summary--title {
    font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
    color: #111; margin: 0 0 16px;
}
.luxe-thanks__summary table { width: 100%; border-collapse: collapse; }
.luxe-thanks__summary td {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.luxe-thanks__summary td:first-child { color: #777; }
.luxe-thanks__summary td:last-child { text-align: right; color: #111; font-weight: 600; }
.luxe-thanks__summary--total td {
    border-bottom: none;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
}
.luxe-thanks__summary--total td:last-child {
    color: #b08d57; font-size: 22px;
}
.luxe-thanks__summary--note {
    font-size: 12px; color: #999; margin: 12px 0 0; line-height: 1.5;
}

.luxe-thanks__next {
    text-align: left;
    margin-bottom: 30px;
}
.luxe-thanks__next--title {
    font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
    color: #111; margin: 0 0 16px;
}
.luxe-thanks__next ol {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.9;
}
.luxe-thanks__next ol strong { color: #111; }

.luxe-thanks__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.luxe-thanks__cta--link {
    font-size: 14px; color: #666; text-decoration: underline;
}

/* ---------- Preview stage ---------- */
.luxe-imprint__preview {
    position: sticky;
    top: 100px;
}
@media (max-width: 991px) {
    .luxe-imprint__preview { position: static; }
}

.tshirt-stage {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.04);
}
#tshirtBase {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    transition: opacity .2s ease;
}

/* Print area — this is where the canvas lives */
.print-area {
    position: absolute;
    top: 24%;
    left: 32%;
    width: 36%;
    height: 42%;
    /* subtle guide border, remove if you want it invisible */
    outline: 1px dashed rgba(176, 141, 87, .3);
    outline-offset: 4px;
}
#designCanvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.preview__hint {
    text-align: center; color: #999; font-size: 13px;
    margin-top: 14px; letter-spacing: .3px;
}

/* ---------- Controls ---------- */
.luxe-imprint__controls {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    border: 1px solid #eee;
}

.control__group { margin-bottom: 26px; }
.control__group:last-of-type { margin-bottom: 20px; }
.control__label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 10px;
}
.control__help { font-size: 12px; color: #888; margin-top: 8px; line-height: 1.5; }
.control__help.center { text-align: center; }
.mt-15 { margin-top: 15px; }

/* Color swatches */
.color__swatches { display: flex; gap: 12px; }
.swatch {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    padding: 0;
    transition: transform .15s ease, border-color .15s ease;
}
.swatch:hover { transform: scale(1.05); }
.swatch.active {
    border-color: #b08d57;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(176, 141, 87, .15);
}

/* Size pills */
.size__options { display: flex; gap: 8px; flex-wrap: wrap; }
.size__options input { display: none; }
.size__options span {
    display: inline-flex;
    align-items: center; justify-content: center;
    min-width: 48px; height: 42px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
}
.size__options span:hover { border-color: #111; }
.size__options input:checked + span {
    background: #111; color: #fff; border-color: #111;
}

/* Mode tabs */
.mode__tabs { display: flex; gap: 10px; }
.mode__tab {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    transition: all .15s ease;
}
.mode__tab:hover { border-color: #111; }
.mode__tab.active {
    background: #111; color: #fff; border-color: #111;
}
.mode__panel.hidden { display: none; }

/* Inputs */
.luxe-imprint__controls input[type="text"],
.luxe-imprint__controls input[type="email"],
.luxe-imprint__controls input[type="tel"],
.luxe-imprint__controls input[type="file"],
.luxe-imprint__controls select,
.luxe-imprint__controls textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    transition: border-color .15s ease;
}
.luxe-imprint__controls input:focus,
.luxe-imprint__controls select:focus,
.luxe-imprint__controls textarea:focus {
    outline: none;
    border-color: #b08d57;
    box-shadow: 0 0 0 3px rgba(176, 141, 87, .1);
}

/* Adjust buttons */
.adjust__buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.adjust__buttons button {
    min-width: 48px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    transition: all .15s ease;
}
.adjust__buttons button:hover {
    border-color: #111;
    background: #f8f8f8;
}
.adjust__buttons button.danger {
    color: #a01818; border-color: #e6b8b8;
    margin-left: auto;
}
.adjust__buttons button.danger:hover {
    background: #a01818; color: #fff; border-color: #a01818;
}

/* Submit button — reuses your .primary__btn */
.submit__btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}