/**
 * Shop Dropdowns & Inquiries - Frontend Stylesheet
 * Tailored for WoodMart & WooCommerce
 */

/* ==========================================================================
   1. MAIN CONTAINER & COLLAPSIBLE CARDS
   ========================================================================== */

.shop-dropdowns-container {
    margin: 20px 0 24px;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.shop-dropdowns-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.shop-dropdowns-card:hover {
    border-color: #cbd5e1;
}

.shop-dropdowns-card.is-active {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.shop-dropdowns-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background-color: #f8fafc;
    background-image: radial-gradient(#e2e8f0 0.75px, transparent 0.75px);
    background-size: 10px 10px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.shop-dropdowns-card-header:hover {
    background-color: #f1f5f9;
}

.shop-dropdowns-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-dropdowns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
}

.shop-dropdowns-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.shop-dropdowns-chevron {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-dropdowns-card.is-active .shop-dropdowns-chevron {
    transform: rotate(180deg);
}

.shop-dropdowns-card-body {
    padding: 20px 20px 22px;
    background: #ffffff;
}

/* ==========================================================================
   2. FORM CONTROLS & FIELDS
   ========================================================================== */

.shop-dropdowns-field-group {
    margin-bottom: 18px;
    position: relative;
}

.shop-dropdowns-field-group:last-child {
    margin-bottom: 0;
}

.shop-dropdowns-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.1px;
}

.shop-dropdowns-input,
.shop-dropdowns-select,
.shop-dropdowns-textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-dropdowns-input:focus,
.shop-dropdowns-select:focus,
.shop-dropdowns-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.shop-dropdowns-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
}

/* Custom Quantity Stepper */
.shop-qty-stepper-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    max-width: 160px;
    height: 42px;
}

.shop-qty-btn {
    background: #f8fafc;
    border: none;
    width: 42px;
    height: 100%;
    font-size: 20px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0;
    line-height: 1;
}

.shop-qty-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.shop-qty-input {
    border: none !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    width: 76px !important;
    padding: 0 !important;
    height: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    -moz-appearance: textfield;
}

.shop-qty-input::-webkit-outer-spin-button,
.shop-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shop-dropdowns-select-wrap {
    position: relative;
}

.shop-dropdowns-select-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #64748b;
    pointer-events: none;
}

.shop-dropdowns-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 32px;
}

/* ==========================================================================
   3. VISUAL CUSTOM SELECTS (Fixing & Plating with swatches)
   ========================================================================== */

.shop-dropdowns-visual-select {
    position: relative;
    user-select: none;
}

.shop-dropdowns-visual-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    font-size: 14px;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-dropdowns-visual-selected:hover {
    border-color: #94a3b8;
}

.shop-dropdowns-visual-selected:focus,
.shop-dropdowns-visual-select.is-open .shop-dropdowns-visual-selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.shop-dropdowns-visual-text {
    flex-grow: 1;
    font-weight: 500;
}

.shop-dropdowns-visual-preview {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
}

.shop-dropdowns-select-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #64748b;
    transition: transform 0.2s ease;
}

.shop-dropdowns-visual-select.is-open .shop-dropdowns-select-arrow {
    transform: rotate(180deg);
}

.shop-dropdowns-visual-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    max-height: 260px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 6px;
    display: none;
}

.shop-dropdowns-visual-select.is-open .shop-dropdowns-visual-dropdown {
    display: block;
}

.shop-dropdowns-visual-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    font-size: 13.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    color: #334155;
}

.shop-dropdowns-visual-option:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.shop-dropdowns-visual-option.is-selected {
    background-color: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

/* Visual Badges (Fixings & Swatches) */
.shop-swatch-box {
    display: inline-block;
    width: 24px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.shop-rubber-thumb {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.shop-fixing-thumb {
    display: inline-block;
    width: 28px;
    height: 22px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* High fidelity CSS-rendered fixing badges */
.fixing-metal-clutch {
    background: radial-gradient(circle at 35% 35%, #fff 0%, #eab308 30%, #b45309 85%, #78350f 100%);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    position: relative;
}

.fixing-metal-clutch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #451a03;
}

.fixing-deluxe-clutch {
    background: linear-gradient(135deg, #fef08a 0%, #ca8a04 50%, #854d0e 100%);
    border-radius: 4px;
    width: 24px;
    height: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fixing-safety-pin {
    background: linear-gradient(to right, #94a3b8, #cbd5e1);
    height: 5px;
    width: 26px;
    border-radius: 3px;
    position: relative;
}

.fixing-magnet {
    background: #475569;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #94a3b8;
}

.fixing-cuff-link {
    background: #64748b;
    border-radius: 3px;
    width: 22px;
    height: 14px;
}

.fixing-stick-pin {
    background: #cbd5e1;
    width: 26px;
    height: 4px;
    border-radius: 2px;
}

/* ==========================================================================
   4. FILE UPLOAD DROPZONE & PREVIEW
   ========================================================================== */

.shop-dropdowns-dropzone-wrapper {
    margin-bottom: 20px;
}

.shop-dropdowns-dropzone {
    border: 2px dashed #99f6e4;
    background-color: #f0fdfa;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.shop-dropdowns-dropzone:hover,
.shop-dropdowns-dropzone.is-dragover {
    border-color: #2dd4bf;
    background-color: #ccfbf1;
}

.shop-dropdowns-dropzone input[type="file"].shop-dropdowns-hidden-input,
input[type="file"].shop-dropdowns-hidden-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 100px !important;
}

.shop-dropdowns-dropzone-content {
    position: relative;
    z-index: 1;
    pointer-events: none !important;
}

.shop-dropdowns-dropzone-content * {
    pointer-events: none !important;
}

.shop-dropdowns-upload-btn {
    background: #4db6ac;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 24px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(77, 182, 172, 0.3);
    transition: background 0.15s ease, transform 0.15s ease;
    user-select: none;
}

.shop-dropdowns-dropzone:hover .shop-dropdowns-upload-btn {
    background: #399b92;
    transform: translateY(-1px);
}

.shop-dropdowns-drop-text {
    margin: 10px 0 0;
    font-size: 13px;
    color: #2dd4bf;
    font-weight: 500;
}

.shop-dropdowns-dropzone-info {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.45;
    color: #475569;
    text-align: center;
}

.shop-dropdowns-allowed-types {
    margin: 0 0 4px;
    font-weight: 600;
    color: #334155;
}

.shop-dropdowns-file-size-limit {
    margin: 0 0 6px;
    font-weight: 500;
    color: #475569;
    font-size: 11.5px;
}

.shop-dropdowns-disclaimer {
    margin: 0;
    color: #64748b;
}

.shop-dropdowns-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 20px 0;
}

/* Uploaded file preview card */
.shop-dropdowns-upload-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 12px;
    position: relative;
    overflow: hidden;
}

.shop-file-preview-left {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.shop-file-badge-icon {
    font-size: 20px;
}

.shop-file-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.shop-file-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.shop-file-meta {
    font-size: 11.5px;
    color: #059669;
    font-weight: 500;
}

.shop-file-remove-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.shop-file-remove-btn:hover {
    color: #ef4444;
    background-color: #fee2e2;
}

.shop-upload-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #10b981;
    transition: width 0.3s ease;
}

/* ==========================================================================
   5. INQUIRY BUTTONS (WhatsApp & Email)
   ========================================================================== */

.shop-inquiry-actions-container {
    display: flex !important;
    gap: 14px !important;
    margin: 18px 0 22px !important;
    width: 100% !important;
}

@media (max-width: 576px) {
    .shop-inquiry-actions-container {
        flex-direction: column !important;
    }
}

.shop-inquiry-btn {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 13px 20px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

/* Disable any theme/WoodMart pseudo-elements */
.shop-inquiry-actions-container button::before,
.shop-inquiry-actions-container button::after,
.shop-inquiry-actions-container a::before,
.shop-inquiry-actions-container a::after,
#shop_btn_whatsapp_inquiry::before,
#shop_btn_whatsapp_inquiry::after,
#shop_btn_email_inquiry::before,
#shop_btn_email_inquiry::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* WhatsApp Button - Vibrant Brand Green with ultra-high specificity */
:root body .shop-inquiry-actions-container button#shop_btn_whatsapp_inquiry,
:root body .shop-inquiry-actions-container button.shop-whatsapp-btn,
:root body .shop-inquiry-actions-container a.shop-whatsapp-btn,
.single-product-page .summary .shop-inquiry-actions-container button.shop-whatsapp-btn,
body.single-product .summary button#shop_btn_whatsapp_inquiry,
button#shop_btn_whatsapp_inquiry.shop-inquiry-btn,
button#shop_btn_whatsapp_inquiry,
.shop-whatsapp-btn {
    background-color: #25D366 !important;
    background: #25D366 !important;
    color: #ffffff !important;
    border: 1px solid #20ba5a !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px !important;
    padding: 13px 18px !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
}

:root body .shop-inquiry-actions-container button#shop_btn_whatsapp_inquiry:hover,
:root body .shop-inquiry-actions-container button.shop-whatsapp-btn:hover,
:root body .shop-inquiry-actions-container a.shop-whatsapp-btn:hover,
.single-product-page .summary .shop-inquiry-actions-container button.shop-whatsapp-btn:hover,
body.single-product .summary button#shop_btn_whatsapp_inquiry:hover,
button#shop_btn_whatsapp_inquiry.shop-inquiry-btn:hover,
button#shop_btn_whatsapp_inquiry:hover,
.shop-whatsapp-btn:hover {
    background-color: #1ebc59 !important;
    background: #1ebc59 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45) !important;
}

/* Email Button - Red Type Color with ultra-high specificity */
:root body .shop-inquiry-actions-container button#shop_btn_email_inquiry,
:root body .shop-inquiry-actions-container button.shop-email-btn,
:root body .shop-inquiry-actions-container a.shop-email-btn,
.single-product-page .summary .shop-inquiry-actions-container button.shop-email-btn,
body.single-product .summary button#shop_btn_email_inquiry,
button#shop_btn_email_inquiry.shop-inquiry-btn,
button#shop_btn_email_inquiry,
.shop-email-btn {
    background-color: #e11d48 !important;
    background: #e11d48 !important;
    color: #ffffff !important;
    border: 1px solid #be123c !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px !important;
    padding: 13px 18px !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
}

:root body .shop-inquiry-actions-container button#shop_btn_email_inquiry:hover,
:root body .shop-inquiry-actions-container button.shop-email-btn:hover,
:root body .shop-inquiry-actions-container a.shop-email-btn:hover,
.single-product-page .summary .shop-inquiry-actions-container button.shop-email-btn:hover,
body.single-product .summary button#shop_btn_email_inquiry:hover,
button#shop_btn_email_inquiry.shop-inquiry-btn:hover,
button#shop_btn_email_inquiry:hover,
.shop-email-btn:hover {
    background-color: #be123c !important;
    background: #be123c !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.45) !important;
}

.shop-inquiry-actions-container .shop-inquiry-btn svg,
#shop_btn_whatsapp_inquiry svg,
#shop_btn_email_inquiry svg {
    color: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.shop-inquiry-actions-container .shop-inquiry-btn.shop-whatsapp-btn svg,
#shop_btn_whatsapp_inquiry svg {
    fill: #ffffff !important;
    stroke: none !important;
}

.shop-inquiry-actions-container .shop-inquiry-btn.shop-email-btn svg,
#shop_btn_email_inquiry svg {
    fill: none !important;
    stroke: #ffffff !important;
}

.shop-inquiry-actions-container .shop-inquiry-btn .shop-btn-text,
#shop_btn_whatsapp_inquiry .shop-btn-text,
#shop_btn_email_inquiry .shop-btn-text {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

.shop-btn-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ==========================================================================
   6. EMAIL INQUIRY MODAL POPUP
   ========================================================================== */

.shop-inquiry-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.shop-inquiry-modal-backdrop.is-visible {
    opacity: 1;
}

.shop-inquiry-modal-dialog {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(15px);
    transition: transform 0.25s ease;
}

.shop-inquiry-modal-backdrop.is-visible .shop-inquiry-modal-dialog {
    transform: translateY(0);
}

.shop-inquiry-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.shop-modal-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.shop-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.shop-modal-close-btn {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.shop-modal-close-btn:hover {
    color: #ef4444;
}

.shop-inquiry-modal-body {
    padding: 20px 24px 24px;
}

.shop-modal-row {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

@media (max-width: 520px) {
    .shop-modal-row {
        flex-direction: column;
        gap: 12px;
    }
}

.shop-modal-col,
.shop-modal-field {
    flex: 1;
    margin-bottom: 14px;
}

.shop-modal-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.shop-modal-label .required {
    color: #ef4444;
}

.shop-modal-input,
.shop-modal-textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-modal-input:focus,
.shop-modal-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Modal Configuration Summary Box */
.shop-modal-config-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 18px 0;
}

.shop-config-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.shop-config-summary-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-summary-qty-badge {
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.shop-config-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 12.5px;
}

@media (max-width: 480px) {
    .shop-config-summary-grid {
        grid-template-columns: 1fr;
    }
}

.shop-summary-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.shop-summary-item-label {
    color: #64748b;
    font-weight: 500;
}

.shop-summary-item-val {
    color: #0f172a;
    font-weight: 600;
}

.shop-config-summary-file {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #cbd5e1;
    font-size: 12px;
    color: #047857;
    word-break: break-all;
}

.shop-summary-file-label {
    font-weight: 600;
    margin-right: 4px;
}

/* Alerts inside modal */
.shop-modal-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.shop-modal-alert.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.shop-modal-alert.is-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Modal Footer Buttons */
.shop-modal-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.shop-modal-submit-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.shop-modal-submit-btn:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.shop-modal-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.shop-modal-mailto-btn {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.shop-modal-mailto-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.shop-btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: shop-spin 0.8s linear infinite;
}

@keyframes shop-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   NEW FIELD TYPES: RADIO PILLS
   ========================================================================== */

.shop-radio-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.shop-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    line-height: 1;
}

.shop-pill:hover {
    border-color: #94a3b8;
    color: #1e293b;
    background: #f1f5f9;
}

.shop-pill.is-active {
    border-color: #1e293b;
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(30, 41, 59, 0.2);
}

.shop-pill-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ==========================================================================
   NEW FIELD TYPES: SIZE GRID (per-size quantity table)
   ========================================================================== */

.shop-size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.shop-size-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.shop-size-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}

.shop-size-qty-input {
    width: 100%;
    text-align: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 7px 4px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    -moz-appearance: textfield;
    appearance: textfield;
}

.shop-size-qty-input::-webkit-outer-spin-button,
.shop-size-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shop-size-qty-input:focus {
    outline: none;
    border-color: #1e293b;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.1);
}

.shop-size-qty-input:not(:placeholder-shown):not([value=""]) {
    border-color: #22c55e;
    background: #f0fdf4;
}

.shop-size-grid-total {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.shop-size-total-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.shop-size-total-val {
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    min-width: 28px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 2px 8px;
}

