/**
 * A Calculator Prices - Styles
 */

.acp-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1a1a1a;
}

.acp-calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.acp-calculator-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.acp-calculator-header p {
    color: #6b7280;
    font-size: 16px;
}

/* Grid Layout */
.acp-calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 968px) {
    .acp-calculator-grid {
        grid-template-columns: 1fr;
    }
}

/* Config Sections */
.acp-config-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.acp-config-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

/* Option Grid */
.acp-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.acp-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: center;
    gap: 4px;
    min-height: 60px;
}

.acp-option-btn:hover {
    border-color: #0ea5e9;
    background: #f0f9ff;
    color: #1a1a1a;
}

.acp-option-btn:hover .acp-price-add,
.acp-option-btn:hover .acp-min-qty {
    color: #6b7280;
}

.acp-option-btn.active {
    border-color: #0ea5e9;
    background: #f0f9ff;
    color: #0369a1;
}

.acp-price-add,
.acp-min-qty {
    font-size: 11px;
    color: #6b7280;
    font-weight: 400;
    margin-top: 4px;
}

.acp-option-btn.active .acp-price-add,
.acp-option-btn.active .acp-min-qty {
    color: #0369a1;
}

/* Quantity Selector */
.acp-quantity-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    background: #f8fafc;
    padding: 12px;
    border-radius: 10px;
}

.acp-qty-unit {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    min-height: 48px;
}

.acp-qty-unit:hover {
    border-color: #0ea5e9 !important;
    background: #f0f9ff !important;
    color: #1a1a1a !important;
    box-shadow: none !important;
}

.acp-qty-unit.active {
    border-color: #0ea5e9;
    background: #f0f9ff;
    color: #0369a1;
}

.acp-qty-unit:hover svg,
.acp-qty-unit:hover path,
.acp-qty-unit:hover polyline,
.acp-qty-unit:hover line {
    color: currentColor;
    stroke: currentColor;
}

/* Quantity Input */
.acp-quantity-input {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    background: #f8fafc;
    padding: 14px;
    border-radius: 10px;
}

.acp-qty-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #1a1a1a;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
}

.acp-qty-btn:hover {
    border-color: #b9def4;
    background: #eaf6ff;
    color: #0b6fa4;
}

.acp-qty-btn:focus,
.acp-qty-btn:focus-visible {
    outline: none;
}

.acp-qty-btn.is-pressed {
    border-color: #3b82f6;
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.26);
}

.acp-quantity-input input {
    width: auto;
    min-width: 80px;
    max-width: 180px;
    height: 40px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    user-select: none;
    -webkit-user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acp-quantity-input input.acp-field-invalid {
    border-color: #ffb74d;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.18);
}

.acp-floating-validation {
    position: relative;
    display: none;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: min(100%, 360px);
    margin: 0 0 16px 32px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #ff9800;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 8px 18px rgba(255, 152, 0, 0.28);
    z-index: 2;
}

.acp-floating-validation.is-visible {
    display: inline-flex;
}

.acp-floating-validation::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 18px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ff9800;
}

.acp-floating-validation-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    background: #ffffff;
    color: #ff9800;
    font-size: 12px;
    font-weight: 700;
}

/* Order Details */
.acp-order-details {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.acp-order-details h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.acp-order-detail-row {
    font-size: 13px;
    color: #6b7280;
    padding: 4px 0;
}

/* Your Order Summary */
.acp-your-order-summary {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 16px;
}

.acp-your-order-summary h4 {
    font-size: 14px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 12px;
}

.acp-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 6px 0;
    color: #1a1a1a;
    gap: 12px;
}

.acp-order-cta-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.acp-total-price {
    font-weight: 700;
    color: #0ea5e9;
}

/* Save More */
.acp-save-more {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.acp-save-icon {
    font-size: 14px;
    font-weight: 600;
    color: #16a34a;
}

.acp-save-more p {
    font-size: 13px;
    color: #16a34a;
    margin: 8px 0 0 0;
}

.acp-save-more #acp-save-price {
    font-weight: 700;
}

/* Upload Area */
.acp-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.acp-upload-area:hover {
    border-color: #0ea5e9;
    background: #f0f9ff;
}

.acp-upload-area svg {
    color: #6b7280;
    margin-bottom: 12px;
}

.acp-upload-area p {
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.acp-upload-formats {
    font-size: 12px;
    color: #9ca3af;
}

/* Art Preview Thumbnail */
.acp-art-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    width: 100%;
    background: transparent;
    border-radius: 8px;
}

.acp-art-preview img {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
    border-radius: 4px;
}

.acp-art-preview-state {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.acp-art-change-text {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.acp-art-mockup-btn {
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1d9be0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.acp-art-mockup-btn:hover {
    background: #0f8ed4;
    transform: translateY(-1px);
}

.acp-art-remove-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.acp-art-remove-btn {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #d8dee9;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.acp-art-remove-btn:hover {
    border-color: #b9def4 !important;
    background: #eaf6ff !important;
    color: #0b6fa4 !important;
    box-shadow: none !important;
}

#acp-logo-upload .acp-art-preview-state {
    width: 100%;
}

#acp-logo-upload .acp-art-preview img {
    max-width: 180px;
    max-height: 120px;
}

.acp-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Design Help */
.acp-design-help-text {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Sample Kit */
.acp-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.acp-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.acp-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.acp-checkbox-wrapper input[type="checkbox"]:checked + .acp-checkbox-custom {
    border-color: #0ea5e9;
    background: #0ea5e9;
}

.acp-checkbox-wrapper input[type="checkbox"]:checked + .acp-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
}

.acp-sample-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.acp-sample-info p {
    font-size: 13px;
    color: #6b7280;
}

.acp-sample-price {
    font-weight: 600;
    color: #1a1a1a;
    margin-left: auto;
}

/* 3D Preview Section */
.acp-3d-preview-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.acp-3d-preview-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.acp-3d-preview-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.acp-3d-container {
    position: relative;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 8px;
    height: 400px;
    overflow: hidden;
}

.acp-3d-canvas-wrapper {
    width: 100%;
    height: 100%;
}

#acp-3d-canvas {
    width: 100%;
    height: 100%;
}

/* 3D Loading Indicator */
.acp-3d-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    z-index: 10;
}

.acp-3d-error {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.96) 0%, rgba(219, 234, 254, 0.96) 100%);
    z-index: 11;
}

.acp-3d-error-text {
    margin: 0;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.acp-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #dbeafe;
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: acp-spin 1s linear infinite;
    margin-bottom: 16px;
}

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

.acp-loading-text {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
}

.acp-loading-dots {
    display: inline-block;
    animation: acp-dots 1.5s steps(4, end) infinite;
}

@keyframes acp-dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.acp-3d-hint {
    display: inline-flex;
    align-items: center;
    flex: 1;
    font-size: 12px;
    color: #5b6474;
    background: transparent;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
    min-width: 0;
}

.acp-3d-reset {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid #1C50C8;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #1C50C8;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(28, 80, 200, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.acp-3d-reset-icon {
    display: block;
    color: currentColor;
    font-size: 26px;
    line-height: 1;
    font-weight: 500;
    transform: translateY(-1px);
}

.acp-3d-reset:hover {
    background: #1743ab;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(28, 80, 200, 0.24);
}

.acp-3d-reset:focus-visible {
    outline: 2px solid rgba(28, 80, 200, 0.24);
    outline-offset: 2px;
}

.acp-can-info {
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: #6b7280;
}

/* Pricing Section */
.acp-pricing-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.acp-pricing-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.acp-pricing-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 8px 0;
    color: #6b7280;
}

.acp-pricing-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    padding: 12px 0;
    margin-top: 8px;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
}

.acp-total-amount {
    color: #0ea5e9;
    font-size: 20px;
    font-weight: 700;
}

.acp-investment-message,
.acp-impact-message {
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 14px;
}

.acp-investment-message {
    background: #f8fafc;
    border: 1px solid #dbeafe;
    color: #334155;
}

.acp-impact-message {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
}

/* Buttons */
.acp-btn-primary,
.acp-btn-secondary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.acp-btn-primary {
    background: #0ea5e9;
    color: #fff;
}

.acp-order-mockup-btn {
    width: auto;
    min-width: 250px;
    margin-bottom: 0;
    white-space: nowrap;
}

.acp-btn-primary:hover {
    background: #0284c7;
}

.acp-btn-secondary {
    background: #f9fafb;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
}

.acp-btn-secondary:disabled {
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .acp-order-row {
        align-items: flex-start;
    }

    .acp-order-cta-group {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .acp-order-mockup-btn {
        width: 100%;
        white-space: normal;
        min-width: 0;
    }
}

/* What's Next */
.acp-whats-next {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.acp-whats-next h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.acp-whats-next ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.acp-whats-next li {
    font-size: 13px;
    color: #6b7280;
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
}

.acp-whats-next li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0ea5e9;
}

/* Volume Pricing Guide */
.acp-volume-pricing-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.acp-volume-pricing-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.acp-volume-tier {
    margin-bottom: 16px;
}

.acp-volume-tier h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.acp-tier-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
    color: #6b7280;
}

.acp-volume-example {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    color: #6b7280;
}

.acp-volume-example strong {
    color: #1a1a1a;
}

.acp-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.48);
}

.acp-modal-card {
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
    padding: 24px;
}

.acp-modal-header h3 {
    font-size: 20px;
    margin: 0 0 12px 0;
    color: #1f2937;
}

.acp-modal-header p {
    margin: 0 0 24px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

.acp-modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.acp-modal-validation {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    display: none;
    align-items: center;
    gap: 10px;
    width: min(100%, 420px);
    padding: 12px 14px;
    border-radius: 10px;
    background: #ff9800;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 12px 24px rgba(255, 152, 0, 0.28);
    z-index: 3;
}

.acp-modal-validation,
.acp-modal-validation span,
.acp-modal-validation div,
.acp-modal-validation p {
    color: #ffffff !important;
}

.acp-modal-validation.is-visible {
    display: inline-flex;
}

.acp-modal-validation::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 24px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ff9800;
}

.acp-modal-validation-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    background: #ffffff;
    color: #ff9800;
    font-size: 12px;
    font-weight: 700;
}

.acp-modal-validation-text {
    color: #ffffff !important;
}

.acp-modal-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acp-modal-field span {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.acp-modal-field input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #d8dee9;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    color: #334155;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acp-modal-field input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.acp-modal-field input.acp-field-invalid {
    border-color: #ffb74d;
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.18);
}

.acp-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 10px;
}

.acp-modal-cancel,
.acp-modal-submit {
    min-height: 52px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.acp-modal-cancel {
    border: 1px solid #d8dee9;
    background: #ffffff;
    color: #1f2937;
}

.acp-modal-submit {
    border: none;
    background: #1d9be0;
    color: #ffffff;
}

.acp-modal-submit:hover {
    background: #0f8ed4;
}

.acp-modal-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.acp-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: min(420px, calc(100vw - 32px));
    padding: 22px 26px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-left: 5px solid #1d9be0;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    color: #1f2937;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
    z-index: 10001;
}

.acp-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.acp-toast.is-error {
    border-left-color: #f97316;
}

.acp-toast-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
}

.acp-toast-message {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.55;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 768px) {
    .acp-calculator-container {
        padding: 20px 12px;
    }
    
    .acp-calculator-header h2 {
        font-size: 22px;
    }
    
    .acp-option-grid {
        grid-template-columns: 1fr;
    }
    
    .acp-3d-container {
        height: 300px;
    }

    .acp-modal-overlay {
        padding: 16px;
    }

    .acp-modal-card {
        padding: 20px;
    }

    .acp-modal-actions {
        grid-template-columns: 1fr;
    }

    .acp-toast {
        right: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
        padding: 18px 20px;
    }
}

/* Inline Contact Form */
.acp-contact-inline-section {
    border: none;
    box-shadow: none;
}

.acp-contact-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
    background: transparent;
}

.acp-inline-form-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    width: 100%;
    background: transparent;
}

.acp-form-row {
    display: flex;
    gap: 16px;
    width: 100%;
}

@media (max-width: 600px) {
    .acp-form-row {
        flex-direction: column;
        gap: 16px;
    }
}

.acp-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.acp-form-field span {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.acp-form-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: all 0.2s ease;
}

.acp-form-field input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.acp-form-field input.acp-field-invalid {
    border-color: #f59e0b;
    background: #fffbeb;
}

/* New Order Group & Split Pricing */
.acp-order-details-group {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acp-pricing-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 16px 0;
}

.acp-save-more-inner {
    border-radius: 10px;
    padding: 14px 16px;
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    font-size: 14px;
    margin-top: 14px;
}

.acp-save-icon {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.acp-save-more-inner p {
    margin: 0;
}

/* Accordions */
.acp-accordion-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 4px;
    overflow-x: visible;
}

.acp-accordion-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: visible;
}

.acp-accordion-header {
    width: 100% !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #fff !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    cursor: pointer !important;
    text-align: left !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: normal !important;
    overflow: visible;
}

.acp-accordion-header:hover {
    background: #f8fafc;
}

.acp-accordion-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.acp-accordion-icon::before,
.acp-accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #64748b;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.acp-accordion-icon::before {
    width: 12px;
    height: 2px;
}

.acp-accordion-icon::after {
    width: 2px;
    height: 12px;
}

.acp-accordion-item.is-open .acp-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.acp-accordion-content {
    display: none;
    padding: 0 16px 16px;
}

/* Vertical Form Override */
.acp-vertical-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.acp-vertical-form .acp-form-field {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.acp-vertical-form .acp-form-field span {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.acp-vertical-form .acp-form-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

/* Inline Validation Overrides */
.acp-inline-validation {
    display: none; /* gets overridden by JS */
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fee2e2;
    border: 1px solid #f87171;
    color: #b91c1c;
    font-size: 14px;
    margin-bottom: 12px;
}

.acp-inline-validation.is-visible {
    display: flex;
}

.acp-validation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
}


/* Top Merged Section */
.acp-merged-top-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
}
.acp-merged-col {
    min-width: 0;
    text-align: center;
}
.acp-merged-col h3 {
    margin-bottom: 16px;
    padding-bottom: 8px;
    text-align: center;
}
.acp-stacked-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}
.acp-stacked-grid .acp-option-btn {
    width: 100%;
    padding: 10px 12px;
    min-height: 52px;
}

@media (max-width: 768px) {
    .acp-merged-top-section {
        grid-template-columns: 1fr;
    }
    .acp-stacked-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .acp-stacked-grid .acp-option-btn {
        flex: 1 1 calc(50% - 4px);
        max-width: none;
    }
}

/* Super Clean Accordions */
.acp-clean-accordion {
    border: none !important;
    border-top: 1px solid #e5e7eb !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.acp-clean-header {
    background: transparent !important;
    color: #1f2937 !important;
    padding: 16px 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border: none !important;
}
.acp-clean-header:hover {
    background: transparent !important;
    color: #0ea5e9 !important;
}
.acp-clean-arrow {
    position: relative;
    width: 10px;
    height: 10px;
    border-right: 2px solid #0ea5e9;
    border-bottom: 2px solid #0ea5e9;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.acp-clean-accordion.is-open .acp-clean-arrow {
    transform: rotate(-135deg) translate(-2px, -2px);
}


/* Orange Bootstrap-style inline tooltips */
.acp-form-field {
    position: relative;
    /* allow tooltips to overflow naturally */
}
.acp-form-field.has-error input {
    border-color: #f9a008 !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 2px rgba(249, 160, 8, 0.15) !important;
}
.acp-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 10px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f9a008;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    animation: acp-tooltip-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.acp-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 15px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #f9a008;
}
.acp-tooltip .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #fff;
    color: #f9a008;
    border-radius: 50%;
    font-weight: bold;
    font-size: 11px;
}
@keyframes acp-tooltip-pop {
    0% { transform: translateY(-10px) scale(0.9); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}


/* Pay Online Button Style */
.acp-pay-online-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 12px;
    margin-top: 8px;
    margin-bottom: 20px;
    background: #0f5eb0;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    user-select: none;
    cursor: not-allowed;
    transition: background-color 0.2s ease;
}
.acp-pay-online-btn:hover {
    background: #0c4a8a;
}
.acp-pay-online-btn svg {
    color: #ffffff;
}
