.wpac-force-hidden { display: none !important; }

/* Product Title Styling - Maximum specificity to override theme CSS */
.wpac-product-info-under-image h1.product_title.entry-title,
.single-product .wpac-product-info-under-image h1.product_title.entry-title,
body.single-product .wpac-product-info-under-image h1.product_title.entry-title,
.wpac-custom-product-title,
.wpac-product-info-under-image .wpac-custom-product-title,
.single-product .wpac-product-info-under-image .wpac-custom-product-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 0 15px 0 !important;
    color: #111827 !important;
    line-height: 1.3 !important;
    display: block !important;
    font-family: inherit !important;
}
/**
 * Customizer Styles - DTLA Print Style
 * WooCommerce Product Advanced Customizer
 */

/* =================================================================
   Main Customizer Container - In Product Summary
   ================================================================= */

.wpac-customizer {
    width: 100%;
    margin: 0 0 30px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

/* =================================================================
   Progress Bar - DTLA Style (Compact with small dots and thin lines)
   ================================================================= */

.wpac-progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    padding: 3px 0;
    border-bottom: 1px solid #e5e7eb;
}

.wpac-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 2;
}

.wpac-progress-connector {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
    margin: 0 -10px;
    max-width: 60px;
    position: relative;
    top: -8px;
}

.wpac-progress-step.wpac-completed ~ .wpac-progress-connector {
    background: #10b981;
}

.wpac-step-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wpac-step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d5db;
    transition: all 0.3s ease;
}

.wpac-progress-step.wpac-active .wpac-step-indicator {
    background: #10b981;
    border-color: #10b981;
}

.wpac-progress-step.wpac-active .wpac-step-dot {
    background: white;
}

.wpac-progress-step.wpac-completed .wpac-step-indicator {
    background: #10b981;
    border-color: #10b981;
}

.wpac-progress-step.wpac-completed .wpac-step-dot {
    background: white;
}

.wpac-step-label {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    text-align: center;
    transition: color 0.3s ease;
}

.wpac-progress-step.wpac-active .wpac-step-label {
    color: #10b981;
    font-weight: 500;
}

.wpac-progress-step.wpac-completed .wpac-step-label {
    color: #10b981;
}

/* =================================================================
   Step Content Layout - Single Column (No Preview)
   ================================================================= */

.wpac-step {
    display: none;
}

.wpac-step.wpac-active {
    display: block !important;
}

.wpac-step-content {
    width: 100% !important;
    display: block !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
}

.wpac-step-content > * {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex: none !important;
}

.wpac-step-content h3 {
    color: #111827;
    font-size: 16px;
    margin-bottom: 15px !important;
    font-weight: 500;
    line-height: 1.3;
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
}

.wpac-step-content > p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
}

/* =================================================================
   Layout Toggle - DTLA Style
   ================================================================= */

.wpac-layout-toggle {
    margin: 0 0 15px 0 !important;
    display: block !important;
    clear: both !important;
    width: 100% !important;
}

.wpac-layout-label {
    font-size: 16px;
    color: #374151;
    margin: 0 0 15px 0 !important;
    font-weight: 500;
    display: block !important;
    width: 100% !important;
}

.wpac-layout-buttons {
    display: flex;
    gap: 10px;
}

.wpac-layout-btn {
    padding: 3px 28px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpac-layout-btn:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.wpac-layout-btn.wpac-active,
.wpac-layout-btn.active {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
}

/* =================================================================
   Color Selection - List View (Swatches - DTLA Style)
   ================================================================= */

.wpac-color-list {
    display: block;
    margin: 0 0 30px 0;
}

.wpac-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wpac-swatch-wrapper {
    position: relative;
    cursor: pointer;
}

.wpac-swatch-checkbox {
    position: absolute;
        opacity: 0;
    pointer-events: none;
}

.wpac-swatch {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid transparent;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
}

.wpac-swatch-wrapper:hover .wpac-swatch {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.wpac-swatch-checkbox:checked + .wpac-swatch {
    border-color: #10b981;
    box-shadow: 0 0 0 2px #10b981;
    transform: scale(1.05);
}

/* =================================================================
   Color Selection - Dropdown View - DTLA Style
   ================================================================= */

.wpac-color-dropdown-wrapper { margin: 0 0 30px 0; position: relative; }

.wpac-dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

.wpac-dropdown-toggle::after {
    content: '\25BE'; /* ▼ */
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 12px;
}

.wpac-dropdown-menu {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 20;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.wpac-dropdown-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wpac-dropdown-option:last-child {
    border-bottom: none;
}

.wpac-dropdown-option:hover {
    background: #f9fafb;
}

.wpac-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wpac-option-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
}

.wpac-option-thumb {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

.wpac-option-name {
    font-size: 14px;
    color: #374151;
    font-weight: 400;
}

.wpac-dropdown-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #10b981;
}

/* Hide list swatches entirely when dropdown view is active */
.wpac-color-dropdown-active #wpac-color-list { display: none !important; }
.wpac-color-dropdown-active #wpac-color-dropdown-wrapper { display: block !important; }
/* Hide dropdown entirely when list view is active */
.wpac-color-list-active #wpac-color-dropdown-wrapper { display: none !important; }
.wpac-color-list-active #wpac-color-list { display: block !important; }

/* =================================================================
   Size/Quantity Matrix
   ================================================================= */

.wpac-size-matrix {
    margin: 1px 0;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.wpac-size-matrix h4 {
    color: #374151;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 400;
}

.wpac-matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    table-layout: fixed;
    min-width: 100%;
}

.wpac-matrix-table thead {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.wpac-matrix-table th {
    padding: 1px;
    text-align: center;
    color: white;
    font-weight: 600;
}

.wpac-matrix-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.wpac-matrix-table tbody tr:last-child td {
    border-bottom: none;
}

.wpac-matrix-table input[type="number"] {
    width: 80px;
    padding: 8px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.wpac-matrix-table input[type="number"]:focus {
    border-color: #7c3aed;
    outline: none;
}

.wpac-quantity-notice {
    margin: 3px 0;
}

.wpac-min-quantity-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 12px;
    color: #92400e;
    border-radius: 6px;
}

/* =================================================================
   Design Upload - DTLA Style
   ================================================================= */

.wpac-designs-container {
    margin: 20px 0;
}

.wpac-design-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpac-design-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.wpac-design-item.wpac-active {
    border-color: #3b82f6;
    background: #f8faff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.wpac-design-item h4 {
    color: #1f2937;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.wpac-upload-area {
    position: relative;
    margin: 15px 0;
}

.wpac-upload-zone { border: 2px dashed #cbd5e1; border-radius: 10px; padding: 14px 16px; text-align: center; cursor: pointer; transition: all 0.3s ease; display: inline-block; min-width: 160px; max-width: 220px; }

.wpac-upload-zone:hover {
    border-color: #7c3aed;
    background: #f9fafb;
}

.wpac-upload-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.wpac-upload-zone p {
    margin: 5px 0;
    color: #6b7280;
}

.wpac-upload-hint {
    font-size: 14px;
    color: #9ca3af;
}

.wpac-design-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wpac-design-preview img { width: 90px; height: 90px; object-fit: cover; display: inline-block; }

.wpac-remove-design {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpac-remove-design:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Background Removal */
.wpac-bg-removal {
    margin: 20px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Modal */
.wpac-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 10000; display: flex; align-items: center; justify-content: center; }
.wpac-modal-content { background: #fff; padding: 20px; border-radius: 10px; max-width: 480px; width: 90%; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

.wpac-bg-removal > label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    font-size: 15px;
}

.wpac-radio-group {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.wpac-radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #374151;
    font-size: 15px;
}

.wpac-radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Design Options */
.wpac-design-options {
    display: block;
    margin: 20px 0;
}

.wpac-field {
    display: block;
    margin-bottom: 20px;
}

.wpac-field label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.wpac-field select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

.wpac-field select:focus {
    border-color: #7c3aed;
    outline: none;
}

/* Screen Print Conditional Options */
.wpac-screenprint-options {
    display: block;
    padding: 20px;
    background: #fef3c7;
    border-radius: 8px;
    border: 1px solid #fbbf24;
    margin-top: 15px;
}

.wpac-hint {
    font-size: 14px;
    color: #6b7280;
    margin-top: 5px;
}

/* =================================================================
   Finishing Services
   ================================================================= */

.wpac-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Services list (row style) */
.wpac-services-list { display: flex; flex-direction: column; gap: 12px; margin: 10px 0 20px 0; }
.wpac-service-row { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 14px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; background:#fff; cursor: pointer; }
.wpac-service-row:hover { border-color: #cbd5e1; background:#fafafa; }
.wpac-service-row input[type="checkbox"] { margin-right: 8px; accent-color: #10b981; grid-column: 1; grid-row: 1 / span 2; }
.wpac-service-media img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border:1px solid #e5e7eb; }
.wpac-service-placeholder { display:block; width:56px; height:56px; border-radius:8px; background:#f3f4f6; border:1px dashed #e5e7eb; }
.wpac-service-info { display:flex; flex-direction: column; gap: 4px; }
.wpac-service-title { font-size: 14px; color:#111827; font-weight:600; }
.wpac-service-meta { font-size: 14px; color:#374151; display:flex; gap:10px; align-items:center; }
.wpac-service-price { color:#7c3aed; font-weight:700; }
.wpac-service-time { color:#6b7280; }

.wpac-service-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.wpac-service-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.1);
    transform: translateY(-2px);
}

.wpac-service-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.wpac-service-card h4 {
    color: #1f2937;
    font-size: 16px;
    margin: 10px 0;
    font-weight: 500;
}

.wpac-service-price {
    color: #7c3aed;
    font-weight: 700;
    font-size: 14px;
    margin: 5px 0;
}

.wpac-service-time {
    color: #6b7280;
    font-size: 14px;
    margin: 5px 0;
}

/* =================================================================
   Buttons
   ================================================================= */

.wpac-btn {
    padding: 8px 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpac-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wpac-next-btn,
.wpac-add-to-cart-btn {
    background: #111827; /* black-ish */
    color: white;
    border: 1px solid #111827;
}

.wpac-next-btn:hover:not(:disabled),
.wpac-add-to-cart-btn:hover:not(:disabled) {
    background: #000000;
    border-color: #000000;
}

.wpac-back-btn {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    margin-right: 10px;
}

.wpac-back-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.wpac-add-design-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: white;
    color: #7c3aed;
    border: 2px dashed #7c3aed;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.wpac-add-design-btn:hover {
    background: #f9fafb;
}

.wpac-btn-link {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    text-decoration: underline;
    padding: 8px 0;
    font-weight: 500;
}

.wpac-btn-link:hover {
    color: #dc2626;
}

.wpac-step-actions {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
    display: block;
    clear: both;
}

.wpac-step-actions .wpac-btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.wpac-step-actions .wpac-back-btn {
    display: inline-block;
    width: auto;
    min-width: 120px;
    margin-right: 10px;
}

.wpac-step-actions .wpac-next-btn,
.wpac-step-actions .wpac-add-to-cart-btn {
    display: block;
    width: 100%;
}

/* Inline summary visible below the button on all steps */
.wpac-summary-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0 0 0;
    background: #fff;
}

.wpac-summary-inline h4 { margin: 0 0 6px 0; font-size: 14px; color: #374151; font-weight: 500; }
.wpac-summary-inline .wpac-price-main { font-size: 18px; font-weight: 700; margin: 2px 0; }
.wpac-summary-inline .wpac-price-details { font-size: 12px; color: #6b7280; }
.wpac-breakdown { margin-top: 8px; border-top: 1px dashed #e5e7eb; padding-top: 8px; font-size: 12px; color: #374151; }
.wpac-breakdown .wpac-line { display: flex; justify-content: space-between; padding: 4px 0; }
.wpac-breakdown .wpac-line small { color: #6b7280; }

/* Breakdown Sale Price Styling */
.wpac-sale-price-breakdown {
    color: #dc2626;
    font-weight: 600;
}

.wpac-regular-price-breakdown {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 0.9em;
    margin-left: 5px;
}

/* =================================================================
   Notes & Price Summary
   ================================================================= */

.wpac-notes-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin: 15px 0;
}

.wpac-notes-textarea:focus {
    border-color: #7c3aed;
    outline: none;
}

.wpac-price-summary {
    background: #000000;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.wpac-price-summary .wpac-breakdown {
    color: white;
    border-top-color: rgba(255, 255, 255, 0.3);
}

.wpac-price-summary .wpac-breakdown .wpac-line {
    color: white;
}

.wpac-price-summary .wpac-breakdown .wpac-line small {
    color: rgba(255, 255, 255, 0.8);
}

.wpac-price-summary h4 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 500;
}

.wpac-price-main {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0;
}

/* Enhanced Price Display Styles */
.wpac-price-display {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wpac-sale-price {
    font-size: 24px;
    font-weight: 700;
    color: #dc2626;
}

.wpac-regular-price {
    font-size: 18px;
    color: #6b7280;
    text-decoration: line-through;
}

.wpac-current-price {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.wpac-savings {
    font-size: 14px;
    color: #059669;
    font-weight: 600;
}

.wpac-price-per-piece-display {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wpac-sale-price-per {
    color: #dc2626;
    font-weight: 600;
}

.wpac-regular-price-per {
    font-size: 12px;
    color: #6b7280;
    text-decoration: line-through;
}

.wpac-current-price-per {
    color: #111827;
    font-weight: 600;
}

/* Inline Sale Price Display in Summary */
.wpac-total-price .wpac-sale-price {
    color: #dc2626;
    font-weight: 700;
    font-size: 24px;
}

.wpac-total-price .wpac-regular-price {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 18px;
    margin-left: 10px;
}

/* Price Break Information */
.wpac-price-break-info {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
}

.wpac-price-break-text {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #0c4a6e;
    line-height: 1.4;
}

.wpac-price-break-savings {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #0369a1;
    font-weight: 600;
}

.wpac-view-price-breaks {
    font-size: 12px;
    color: #0ea5e9;
    text-decoration: underline;
}

.wpac-view-price-breaks:hover {
    color: #0284c7;
}

/* Current Discount Badge */
.wpac-current-discount {
    margin: 10px 0;
}

.wpac-discount-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Price Breaks Popup Styles */
.wpac-price-breaks-table {
    margin: 15px 0;
}

.wpac-price-break-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
}

.wpac-price-break-row:last-child {
    border-bottom: none;
}

.wpac-price-break-header {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #d1d5db;
}

.wpac-break-quantity {
    font-weight: 500;
    color: #111827;
}

.wpac-break-price {
    font-weight: 600;
    color: #dc2626;
}

.wpac-break-discount {
    font-weight: 600;
    color: #059669;
    text-align: center;
}

.wpac-break-savings {
    font-weight: 500;
    color: #0369a1;
    text-align: right;
}

.wpac-popup-note {
    margin-top: 15px;
    padding: 10px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 4px;
    font-size: 13px;
    color: #92400e;
}

/* Total Savings Display */
.wpac-total-savings {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.wpac-savings-message {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.wpac-savings-icon {
    font-size: 20px;
    animation: bounce 2s infinite;
}

.wpac-savings-text {
    flex: 1;
}

.wpac-savings-text strong {
    color: #fef3c7;
    font-weight: 700;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

.wpac-price-details {
    opacity: 0.9;
    font-size: 12px;
}

.wpac-delivery-estimate {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.wpac-notice {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 12px;
    color: #92400e;
    border-radius: 6px;
    margin: 15px 0;
}

/* =================================================================
   Responsive
   ================================================================= */

@media (max-width: 768px) {
    .wpac-customizer {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .wpac-progress-bar {
        margin-bottom: 25px;
        gap: 20px;
        padding: 8px 0;
    }
    
    .wpac-step-indicator {
        width: 16px;
        height: 16px;
    }
    
    .wpac-step-dot {
        width: 4px;
        height: 4px;
    }
    
    .wpac-step-label {
        font-size: 12px;
    }
    
    .wpac-step-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .wpac-layout-toggle {
        margin: 15px 0 20px 0;
    }
    
    .wpac-layout-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .wpac-color-option {
        padding: 12px;
    }
    
    .wpac-color-swatch {
        width: 30px;
        height: 30px;
    }
    
    .wpac-services-grid {
        grid-template-columns: 1fr;
    }
    
    .wpac-step-actions {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .wpac-step-actions .wpac-btn {
        width: 100%;
        margin: 5px 0;
        display: block;
    }
    
    .wpac-step-actions .wpac-back-btn {
        width: 100%;
    }
    
    .wpac-matrix-table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .wpac-matrix-table thead,
    .wpac-matrix-table tbody,
    .wpac-matrix-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    .wpac-matrix-table input[type="number"] {
        width: 50px;
        font-size: 12px;
        padding: 6px;
    }
    
    .wpac-matrix-table th,
    .wpac-matrix-table td {
        padding: 8px 4px;
        font-size: 12px;
    }
}

/* Mobile styles for size matrix */
@media (max-width: 480px) {
    .wpac-matrix-table {
        font-size: 11px;
    }
    
    .wpac-matrix-table input[type="number"] {
        width: 40px;
        font-size: 11px;
        padding: 4px;
    }
    
    .wpac-matrix-table th,
    .wpac-matrix-table td {
        padding: 6px 2px;
        font-size: 11px;
    }
    
    .wpac-size-matrix h4 {
        font-size: 1px;
    }
}

/* =================================================================
   Info Circles and Popups
   ================================================================= */

.wpac-info-circle {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #9ca3af;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 18px;
    cursor: pointer !important;
    margin-left: 8px;
    transition: all 0.2s ease;
    vertical-align: middle;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
}

.wpac-info-circle:hover {
    background-color: #6b7280;
    transform: scale(1.1);
}

/* Bulk Price Breaks Button */
.wpac-bulk-price-section {
    margin-top: 15px;
}

.wpac-bulk-price-section .wpac-btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.wpac-btn-outline {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpac-btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Prevent body scroll when popup is open */
body.wpac-popup-open {
    overflow: hidden;
}

/* Popup Styles */
.wpac-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpac-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.wpac-popup-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    width: auto;
    height: auto;
    max-width: 90vw;   /* responsive limit */
    max-height: 90vh;  /* responsive limit */
    overflow: auto;    /* enable scroll if content exceeds limit */
    margin: 0 auto;    /* center horizontally */
    z-index: 10001;
}


.wpac-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 12px 12px 0 0;
}

.wpac-popup-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
}

.wpac-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.wpac-popup-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.wpac-popup-body {
    padding: 25px;
}

.wpac-popup-body p {
    margin: 0 0 15px 0;
    color: #6b7280;
    line-height: 1.6;
}

.wpac-popup-body p:last-child {
    margin-bottom: 0;
}

/* Responsive popup adjustments */
@media (max-width: 768px) {
    .wpac-popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .wpac-popup-header {
        padding: 15px 20px;
    }
    
    .wpac-popup-body {
        padding: 20px;
    }
    
    .wpac-popup-header h3 {
        font-size: 16px;
    }
}
