/* =============================================
   PRINT QUOTE CALCULATOR — style.css
   ============================================= */

/* DISCLAIMER BOX */
.pqc-disclaimer {
    background: #faf7ef;
    border: 1.5px solid #e5c96e;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
}
.pqc-disclaimer .disclaimer-section {
    margin-bottom: 12px;
}
.pqc-disclaimer .disclaimer-section:last-child {
    margin-bottom: 0;
}

/* CALCULATOR WRAPPER */
.pqc-calculator {
    max-width: 640px;
    margin: 0 auto;
    font-family: 'Source Sans 3', sans-serif;
}

/* SECTIONS */
.pqc-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 12px;
}
.pqc-section > label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
    margin-top: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.pqc-section > label:first-child {
    margin-top: 0;
}
.pqc-section input[type="text"],
.pqc-section input[type="email"],
.pqc-section select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #111827;
}
.pqc-section input[type="text"]:focus,
.pqc-section input[type="email"]:focus,
.pqc-section select:focus {
    outline: none;
    border-color: #C53E3E;
}

/* FILE UPLOAD */
.pqc-label-sub {
    font-size: 11px;
    font-weight: 400;
    color: #9ca3af;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 4px;
}
.pqc-upload-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}
.pqc-upload-slot {
    position: relative;
    min-width: 0;
}
.pqc-upload-btn {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 100px;
    border: 1.5px dashed #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500 !important;
    color: #6b7280;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 10px 6px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-sizing: border-box;
}
.pqc-upload-btn:hover {
    border-color: #C53E3E;
    background: #fef2f2;
    color: #C53E3E;
}
.pqc-upload-icon {
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: #9ca3af;
}
.pqc-upload-btn:hover .pqc-upload-icon {
    color: #C53E3E;
}
.pqc-thumb-wrap {
    position: relative;
    width: 100%;
}
.pqc-thumb {
    width: 100%;
    height: 100px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: block;
    background: #f9fafb;
}
.pqc-thumb-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border-radius: 50%;
    background: #C53E3E;
    color: #fff;
    border: none;
    font-size: 13px;
    line-height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;
    flex-shrink: 0;
    box-sizing: border-box;
}
.pqc-thumb-remove:hover {
    background: #a83232;
}
.pqc-thumb-name {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 5px;
    word-break: break-all;
    text-align: center;
    line-height: 1.3;
    padding: 0 2px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pqc-upload-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    line-height: 1.6;
}

/* COLORS HELPER NOTE */
.pqc-colors-note {
    background: #f0f4ff;
    border: 1px solid #c7d4f5;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 8px;
    margin-top: 6px;
}

/* UNSURE NOTICE — shown in total box when unsure is selected */
.pqc-unsure-notice {
    background: #faf7ef;
    border: 1px solid #e5c96e;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #374151;
    margin-top: 12px;
}

/* PLACEMENTS */
.pqc-placement-note {
    background: #faf7ef;
    border: 1px solid #e5c96e;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
    margin-bottom: 14px;
}
.pqc-placements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 4px;
}
.pqc-placements label {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400 !important;
    line-height: 1.3;
    transition: border-color 0.15s;
}
.pqc-placements label:hover {
    border-color: #C53E3E;
}
.pqc-placements label span {
    flex: 1;
}
.pqc-placements input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    flex-shrink: 0;
    accent-color: #C53E3E;
}

/* SIZE BREAKDOWN — grid boxes */
.pqc-sizes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 8px;
}
.pqc-size-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
}
.pqc-size-box span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 6px;
}
.pqc-size-box input {
    width: 100%;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 4px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    background: #fff;
    color: #111827;
}
.pqc-size-box input:focus {
    outline: none;
    border-color: #C53E3E;
}

/* QUOTE SUMMARY / TOTAL BOX */
.pqc-total-box {
    padding: 18px 20px !important;
}
.pqc-breakdown {
    width: 100%;
}
.pqc-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    color: #374151;
    padding: 5px 0;
}
.pqc-setup-row {
    font-size: 13px;
    color: #6b7280;
}
.pqc-setup-row #pqc-setup-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pqc-screen-detail {
    font-size: 11px;
    color: #9ca3af;
    font-style: italic;
}
.pqc-breakdown-divider {
    border-top: 1px solid #e5e7eb;
    margin: 8px 0;
}
.pqc-total-row {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    padding-top: 4px;
}
#pqc-min-warning {
    font-size: 13px;
    color: #C53E3E;
    margin-top: 8px;
    min-height: 18px;
    text-align: center;
}

/* ACTION BUTTONS */
.pqc-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.pqc-actions button {
    flex: 1;
    padding: 12px 16px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
/* Add to Cart — blue */
.pqc-actions button#add_to_cart {
    background: #1C85B4;
    border: 2px solid #1C85B4;
    color: #fff;
}
.pqc-actions button#add_to_cart:hover {
    background: transparent;
    border-color: #1C85B4;
    color: #1C85B4;
}
/* Pay Setup Charge — red */
.pqc-actions button#pay_deposit {
    background: #C53E3E;
    border: 2px solid #C53E3E;
    color: #fff;
}
.pqc-actions button#pay_deposit:hover {
    background: transparent;
    border-color: #C53E3E;
    color: #C53E3E;
}

/* FOOTER NOTE */
.pqc-footer-note {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    line-height: 1.6;
}