/**
 * Product Configurator Pro - Frontend Styles
 */

/* CSS Variables */
.pcp-configurator {
    --pcp-primary: #47D8B5;
    --pcp-primary-dark: #3BC4A1;
    --pcp-primary-light: #E8FAF5;
    --pcp-primary-glow: rgba(71, 216, 181, 0.15);
    --pcp-black: #000000;
    --pcp-white: #FFFFFF;
    --pcp-gray-50: #F8F9FA;
    --pcp-gray-100: #F5F5F5;
    --pcp-gray-200: #E0E0E0;
    --pcp-gray-300: #CCCCCC;
    --pcp-gray-400: #999999;
    --pcp-gray-600: #666666;
    --pcp-gray-800: #333333;
    --pcp-dark: #0a1628;
    --pcp-dark-light: #1a2a4a;
    --pcp-error: #E53935;
    --pcp-success: #43A047;
    --pcp-warning: #FF9800;
}

/* Reset & Base */
.pcp-configurator {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--pcp-gray-800);
    line-height: 1.6;
    box-sizing: border-box;
}

.pcp-configurator *,
.pcp-configurator *::before,
.pcp-configurator *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.pcp-hero {
    padding: 48px 24px;
    background: linear-gradient(135deg, var(--pcp-dark) 0%, var(--pcp-dark-light) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pcp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, var(--pcp-primary-glow) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(71, 216, 181, 0.08) 0%, transparent 30%);
    pointer-events: none;
}

.pcp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.pcp-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--pcp-white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.pcp-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
}

/* Section */
.pcp-section {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

/* Step Indicator */
.pcp-step-indicator {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
    background: var(--pcp-white);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid var(--pcp-gray-200);
}

.pcp-step-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pcp-step-item.active {
    background: var(--pcp-primary-light);
}

.pcp-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background: var(--pcp-gray-200);
    color: var(--pcp-gray-600);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.pcp-step-item.active .pcp-step-number {
    background: var(--pcp-primary);
    color: var(--pcp-black);
}

.pcp-step-item.completed .pcp-step-number {
    background: var(--pcp-primary-dark);
    color: var(--pcp-white);
}

.pcp-step-item.completed .pcp-step-number svg {
    width: 16px;
    height: 16px;
}

.pcp-step-text {
    display: flex;
    flex-direction: column;
}

.pcp-step-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--pcp-gray-800);
}

.pcp-step-subtitle {
    font-size: 12px;
    color: var(--pcp-gray-400);
}

.pcp-step-item.active .pcp-step-title {
    color: var(--pcp-black);
}

/* Layout */
.pcp-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: start;
}

/* Panel */
.pcp-panel {
    background: var(--pcp-white);
    border-radius: 16px;
    border: 1px solid var(--pcp-gray-200);
    overflow: hidden;
}

.pcp-panel-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--pcp-gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pcp-panel-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--pcp-black);
    margin: 0;
}

.pcp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--pcp-primary-light);
    color: var(--pcp-primary-dark);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.pcp-panel-body {
    padding: 28px;
}

/* Config Steps */
.pcp-config-step {
    display: none;
    animation: pcpFadeIn 0.3s ease;
}

.pcp-config-step.active {
    display: block;
}

@keyframes pcpFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Product Grid */
.pcp-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.pcp-product-card {
    border: 2px solid var(--pcp-gray-200);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: var(--pcp-white);
}

.pcp-product-card:hover {
    border-color: var(--pcp-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(71, 216, 181, 0.15);
}

.pcp-product-card.selected {
    border-color: var(--pcp-primary);
    background: var(--pcp-primary-light);
}

.pcp-product-card.selected::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--pcp-primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.pcp-product-icon {
    width: 64px;
    height: 64px;
    background: var(--pcp-gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.pcp-product-card.selected .pcp-product-icon {
    background: rgba(71, 216, 181, 0.2);
}

.pcp-product-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--pcp-gray-600);
}

.pcp-product-card.selected .pcp-product-icon svg {
    stroke: var(--pcp-primary-dark);
}

/* Font Awesome & Elementor Icons */
.pcp-product-icon i {
    font-size: 32px;
    color: var(--pcp-gray-600);
    line-height: 1;
}

.pcp-product-card.selected .pcp-product-icon i {
    color: var(--pcp-primary-dark);
}

/* Custom Image Icons */
.pcp-product-icon img.pcp-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.pcp-product-card.selected .pcp-product-icon img.pcp-icon-img {
    filter: grayscale(0%);
    opacity: 1;
}

.pcp-product-card:hover .pcp-product-icon img.pcp-icon-img {
    filter: grayscale(0%);
    opacity: 1;
}

.pcp-product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--pcp-black);
    margin-bottom: 4px;
}

.pcp-product-desc {
    font-size: 13px;
    color: var(--pcp-gray-600);
    line-height: 1.4;
}

.pcp-product-price-hint {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--pcp-gray-200);
    font-size: 12px;
    color: var(--pcp-gray-400);
}

.pcp-product-price-hint span {
    color: var(--pcp-primary-dark);
    font-weight: 600;
}

/* Specification Groups */
.pcp-spec-group {
    margin-bottom: 28px;
}

.pcp-spec-group:last-child {
    margin-bottom: 0;
}

.pcp-spec-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pcp-gray-800);
    margin-bottom: 12px;
}

.pcp-spec-label svg {
    width: 18px;
    height: 18px;
    stroke: var(--pcp-primary-dark);
}

.pcp-spec-hint {
    font-size: 12px;
    color: var(--pcp-gray-400);
    font-weight: 400;
    margin-left: auto;
}

/* Size Selector */
.pcp-size-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pcp-size-option {
    border: 2px solid var(--pcp-gray-200);
    border-radius: 10px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.pcp-size-option:hover {
    border-color: var(--pcp-primary);
}

.pcp-size-option.selected {
    border-color: var(--pcp-primary);
    background: var(--pcp-primary-light);
}

.pcp-size-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--pcp-black);
    margin-bottom: 4px;
}

.pcp-size-dims {
    font-size: 12px;
    color: var(--pcp-gray-600);
}

.pcp-size-price {
    font-size: 11px;
    color: var(--pcp-gray-400);
    margin-top: 6px;
}

/* Custom Size */
.pcp-custom-size-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--pcp-gray-100);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pcp-custom-size-toggle:hover {
    background: var(--pcp-primary-light);
}

.pcp-custom-size-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--pcp-primary);
}

.pcp-custom-size-toggle span {
    font-size: 14px;
    color: var(--pcp-gray-800);
}

.pcp-custom-size-inputs {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: var(--pcp-gray-50);
    border-radius: 10px;
    border: 1px dashed var(--pcp-gray-300);
}

.pcp-custom-size-inputs.show {
    display: grid;
}

.pcp-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pcp-input-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--pcp-gray-600);
}

.pcp-input-group input,
.pcp-input-group select {
    padding: 10px 14px;
    border: 1px solid var(--pcp-gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--pcp-white);
}

.pcp-input-group input:focus,
.pcp-input-group select:focus {
    outline: none;
    border-color: var(--pcp-primary);
}

/* Material Pills */
.pcp-material-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pcp-material-pill,
.pcp-position-pill {
    padding: 10px 18px;
    border: 2px solid var(--pcp-gray-200);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: var(--pcp-gray-800);
    background: var(--pcp-white);
}

.pcp-material-pill:hover,
.pcp-position-pill:hover {
    border-color: var(--pcp-primary);
    color: var(--pcp-primary-dark);
}

.pcp-material-pill.selected,
.pcp-position-pill.selected {
    border-color: var(--pcp-primary);
    background: var(--pcp-primary);
    color: var(--pcp-black);
}

.pcp-price-tag {
    font-size: 11px;
    color: var(--pcp-gray-400);
    margin-left: 6px;
}

.pcp-material-pill.selected .pcp-price-tag,
.pcp-position-pill.selected .pcp-price-tag {
    color: rgba(0, 0, 0, 0.5);
}

/* Thickness Slider */
.pcp-thickness-container {
    padding: 16px;
    background: var(--pcp-gray-50);
    border-radius: 12px;
}

.pcp-thickness-visual {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}

.pcp-thickness-slider {
    flex: 1;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--pcp-gray-200), var(--pcp-primary));
    border-radius: 4px;
    cursor: pointer;
}

.pcp-thickness-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--pcp-white);
    border: 3px solid var(--pcp-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pcp-thickness-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--pcp-white);
    border: 3px solid var(--pcp-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pcp-thickness-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 24px;
    font-weight: 600;
    color: var(--pcp-black);
    min-width: 80px;
    text-align: right;
}

.pcp-thickness-value span:last-child {
    font-size: 14px;
    color: var(--pcp-gray-600);
}

.pcp-thickness-labels {
    display: flex;
    justify-content: space-between;
}

.pcp-thickness-labels span {
    font-size: 12px;
    color: var(--pcp-gray-400);
}

/* Handle Options */
.pcp-handle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pcp-handle-option {
    border: 2px solid var(--pcp-gray-200);
    border-radius: 10px;
    padding: 14px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.pcp-handle-option:hover {
    border-color: var(--pcp-primary);
}

.pcp-handle-option.selected {
    border-color: var(--pcp-primary);
    background: var(--pcp-primary-light);
}

.pcp-handle-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    background: var(--pcp-gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcp-handle-option.selected .pcp-handle-icon {
    background: rgba(71, 216, 181, 0.2);
}

.pcp-handle-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--pcp-gray-600);
}

.pcp-handle-option.selected .pcp-handle-icon svg {
    stroke: var(--pcp-primary-dark);
}

.pcp-handle-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--pcp-black);
    margin-bottom: 2px;
}

.pcp-handle-price {
    font-size: 11px;
    color: var(--pcp-gray-400);
}

/* Print Options */
.pcp-print-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pcp-print-option {
    border: 2px solid var(--pcp-gray-200);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.pcp-print-option:hover {
    border-color: var(--pcp-primary);
}

.pcp-print-option.selected {
    border-color: var(--pcp-primary);
    background: var(--pcp-primary-light);
}

.pcp-print-option-price {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--pcp-primary-dark);
}

.pcp-print-option-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.pcp-print-option-icon {
    width: 36px;
    height: 36px;
    background: var(--pcp-gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcp-print-option.selected .pcp-print-option-icon {
    background: rgba(71, 216, 181, 0.2);
}

.pcp-print-option-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--pcp-gray-600);
}

.pcp-print-option.selected .pcp-print-option-icon svg {
    stroke: var(--pcp-primary-dark);
}

.pcp-print-option-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--pcp-black);
}

.pcp-print-option-desc {
    font-size: 12px;
    color: var(--pcp-gray-600);
    line-height: 1.4;
}

/* Color Count */
.pcp-color-count-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--pcp-gray-50);
    border-radius: 10px;
    flex-wrap: wrap;
}

.pcp-color-count-selector label {
    font-size: 14px;
    color: var(--pcp-gray-800);
}

.pcp-color-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--pcp-gray-200);
    border-radius: 8px;
    overflow: hidden;
}

.pcp-color-stepper button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--pcp-white);
    cursor: pointer;
    font-size: 18px;
    color: var(--pcp-gray-600);
    transition: all 0.2s;
}

.pcp-color-stepper button:hover {
    background: var(--pcp-gray-100);
    color: var(--pcp-black);
}

.pcp-color-stepper span {
    width: 48px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--pcp-black);
    border-left: 1px solid var(--pcp-gray-200);
    border-right: 1px solid var(--pcp-gray-200);
}

.pcp-color-price-note {
    font-size: 12px;
    color: var(--pcp-gray-400);
    margin-left: auto;
}

/* Quantity Selector */
.pcp-quantity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pcp-quantity-option {
    border: 2px solid var(--pcp-gray-200);
    border-radius: 12px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}

.pcp-quantity-option:hover {
    border-color: var(--pcp-primary);
}

.pcp-quantity-option.selected {
    border-color: var(--pcp-primary);
    background: var(--pcp-primary-light);
}

.pcp-quantity-option.recommended::before {
    content: 'Best Value';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    background: var(--pcp-warning);
    color: var(--pcp-white);
    font-size: 10px;
    font-weight: 600;
    border-radius: 10px;
    white-space: nowrap;
}

.pcp-quantity-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 28px;
    font-weight: 600;
    color: var(--pcp-black);
    margin-bottom: 4px;
}

.pcp-quantity-label {
    font-size: 12px;
    color: var(--pcp-gray-600);
}

.pcp-quantity-discount {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--pcp-gray-200);
    font-size: 12px;
    font-weight: 600;
    color: var(--pcp-success);
}

.pcp-quantity-option.selected .pcp-quantity-discount {
    color: var(--pcp-primary-dark);
}

/* Custom Quantity */
.pcp-custom-quantity {
    margin-top: 16px;
    padding: 16px;
    background: var(--pcp-gray-50);
    border-radius: 10px;
}

.pcp-custom-quantity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pcp-custom-quantity-header label {
    font-size: 14px;
    font-weight: 500;
    color: var(--pcp-gray-800);
}

.pcp-custom-quantity-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pcp-custom-quantity-input input {
    width: 140px;
    padding: 12px 16px;
    border: 1px solid var(--pcp-gray-200);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
}

.pcp-custom-quantity-input input:focus {
    outline: none;
    border-color: var(--pcp-primary);
}

.pcp-custom-quantity-input span {
    font-size: 14px;
    color: var(--pcp-gray-600);
}

.pcp-moq-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 8px;
    font-size: 12px;
    color: var(--pcp-warning);
}

.pcp-moq-warning svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Add-ons */
.pcp-addons-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pcp-addon-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--pcp-gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pcp-addon-item:hover {
    border-color: var(--pcp-primary);
    background: var(--pcp-gray-50);
}

.pcp-addon-item.selected {
    border-color: var(--pcp-primary);
    background: var(--pcp-primary-light);
}

.pcp-addon-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--pcp-gray-300);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pcp-addon-item.selected .pcp-addon-checkbox {
    background: var(--pcp-primary);
    border-color: var(--pcp-primary);
}

.pcp-addon-checkbox svg {
    width: 14px;
    height: 14px;
    stroke: var(--pcp-white);
    opacity: 0;
    transition: opacity 0.2s;
}

.pcp-addon-item.selected .pcp-addon-checkbox svg {
    opacity: 1;
}

.pcp-addon-info {
    flex: 1;
}

.pcp-addon-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--pcp-black);
}

.pcp-addon-desc {
    font-size: 12px;
    color: var(--pcp-gray-600);
}

.pcp-addon-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--pcp-primary-dark);
}

/* Navigation */
.pcp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-top: 1px solid var(--pcp-gray-200);
    background: var(--pcp-gray-50);
}

/* Buttons */
.pcp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    border-radius: 0;
}

.pcp-btn-primary {
    background: var(--pcp-primary);
    color: var(--pcp-black);
}

.pcp-btn-primary:hover {
    background: var(--pcp-primary-dark);
    transform: translateY(-2px);
}

.pcp-btn-secondary {
    background: transparent;
    color: var(--pcp-black);
    border: 2px solid var(--pcp-black);
}

.pcp-btn-secondary:hover {
    background: var(--pcp-black);
    color: var(--pcp-white);
}

.pcp-btn-outline {
    background: transparent;
    border: 2px solid var(--pcp-gray-300);
    color: var(--pcp-gray-600);
}

.pcp-btn-outline:hover {
    border-color: var(--pcp-gray-800);
    color: var(--pcp-gray-800);
}

.pcp-btn-large {
    padding: 16px 32px;
    font-size: 14px;
}

.pcp-nav .pcp-btn {
    min-width: 140px;
    justify-content: center;
}

/* Quote Panel */
.pcp-quote-panel {
    position: sticky;
    top: 100px;
}

.pcp-quote-card {
    background: var(--pcp-white);
    border-radius: 16px;
    border: 1px solid var(--pcp-gray-200);
    overflow: hidden;
}

.pcp-quote-header {
    padding: 24px;
    background: linear-gradient(135deg, var(--pcp-dark) 0%, var(--pcp-dark-light) 100%);
    color: var(--pcp-white);
    position: relative;
    overflow: hidden;
}

.pcp-quote-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, var(--pcp-primary-glow) 0%, transparent 50%);
    pointer-events: none;
}

.pcp-quote-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    position: relative;
    color: #FFFFFF !important;
}

.pcp-quote-header p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    margin: 0;
}

.pcp-quote-body {
    padding: 24px;
}

/* Product Preview */
.pcp-product-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--pcp-gray-200);
    margin-bottom: 20px;
}

.pcp-preview-image {
    width: 80px;
    height: 80px;
    background: var(--pcp-gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pcp-preview-image svg {
    width: 40px;
    height: 40px;
    stroke: var(--pcp-gray-400);
}

.pcp-preview-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--pcp-black);
    margin: 0 0 4px 0;
}

.pcp-preview-info p {
    font-size: 13px;
    color: var(--pcp-gray-600);
    margin: 0;
}

/* Specs Summary */
.pcp-specs-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.pcp-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pcp-spec-row-label {
    font-size: 13px;
    color: var(--pcp-gray-600);
}

.pcp-spec-row-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--pcp-black);
}

/* Price Display */
.pcp-price-display {
    background: var(--pcp-primary-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.pcp-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pcp-price-row:last-child {
    margin-bottom: 0;
}

.pcp-price-row-label {
    font-size: 14px;
    color: var(--pcp-gray-600);
}

.pcp-price-row-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--pcp-gray-800);
}

.pcp-price-row.total {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 2px dashed rgba(71, 216, 181, 0.3);
}

.pcp-price-row.total .pcp-price-row-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--pcp-black);
}

.pcp-price-row.total .pcp-price-row-value {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--pcp-primary-dark);
}

.pcp-price-unit {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--pcp-gray-600);
    text-align: right;
    margin-top: 4px;
}

/* Savings Badge */
.pcp-savings-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(67, 160, 71, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

.pcp-savings-badge svg {
    width: 18px;
    height: 18px;
    stroke: var(--pcp-success);
}

.pcp-savings-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--pcp-success);
}

/* Quote Actions */
.pcp-quote-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pcp-quote-actions .pcp-btn {
    width: 100%;
    justify-content: center;
}

/* Trust Section */
.pcp-quote-trust {
    padding: 20px 24px;
    background: var(--pcp-gray-50);
    border-top: 1px solid var(--pcp-gray-200);
}

.pcp-trust-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pcp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pcp-trust-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--pcp-primary-dark);
}

.pcp-trust-item span {
    font-size: 11px;
    color: var(--pcp-gray-600);
}

/* Contact Card */
.pcp-contact-card {
    background: var(--pcp-white);
    border-radius: 16px;
    border: 1px solid var(--pcp-gray-200);
    padding: 20px;
    margin-top: 16px;
}

.pcp-contact-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--pcp-black);
    margin: 0 0 12px 0;
}

.pcp-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pcp-contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--pcp-gray-50);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pcp-contact-method:hover {
    background: var(--pcp-primary-light);
}

.pcp-contact-method svg {
    width: 18px;
    height: 18px;
    stroke: var(--pcp-primary-dark);
}

.pcp-contact-method span {
    font-size: 13px;
    color: var(--pcp-gray-800);
}

/* Modal */
.pcp-modal {
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pcp-modal-content {
    background: var(--pcp-white);
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 16px;
}

.pcp-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--pcp-gray-400);
    line-height: 1;
}

.pcp-modal-close:hover {
    color: var(--pcp-black);
}

.pcp-modal h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--pcp-black);
    margin: 0 0 8px 0;
}

.pcp-modal > p {
    color: var(--pcp-gray-600);
    margin: 0 0 24px 0;
}

/* Form */
.pcp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.pcp-form-group {
    margin-bottom: 16px;
}

.pcp-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--pcp-gray-800);
    margin-bottom: 6px;
}

.pcp-form-group input,
.pcp-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--pcp-gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.pcp-form-group input:focus,
.pcp-form-group textarea:focus {
    outline: none;
    border-color: var(--pcp-primary);
}

.pcp-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Required Field Asterisk */
.pcp-required {
    color: var(--pcp-error);
    font-weight: 700;
}

/* Form Error State */
.pcp-form-group.has-error input,
.pcp-form-group.has-error textarea {
    border-color: var(--pcp-error);
}

.pcp-form-error {
    color: var(--pcp-error);
    font-size: 12px;
    margin-top: 4px;
}

/* Success Modal */
.pcp-success-content {
    text-align: center;
}

.pcp-success-icon {
    width: 80px;
    height: 80px;
    background: var(--pcp-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.pcp-success-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--pcp-primary-dark);
}

.pcp-success-content h2 {
    margin-bottom: 12px;
}

.pcp-success-content p {
    color: var(--pcp-gray-600);
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1200px) {
    .pcp-layout {
        grid-template-columns: 1fr 380px;
    }
}

@media (max-width: 1024px) {
    .pcp-layout {
        grid-template-columns: 1fr;
    }

    .pcp-quote-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .pcp-hero h1 {
        font-size: 32px;
    }

    /* Mobile Swipeable Step Indicator */
    .pcp-step-indicator {
        flex-direction: row;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 8px 0;
        margin: 0 0 24px 0;
    }
    
    .pcp-step-indicator::-webkit-scrollbar {
        display: none;
    }

    .pcp-step-item {
        min-width: 140px;
        flex: 0 0 auto;
        padding: 12px 16px;
        margin: 0 4px;
        border-radius: 10px;
        scroll-snap-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .pcp-step-item:first-child {
        margin-left: 8px;
    }
    
    .pcp-step-item:last-child {
        margin-right: 8px;
    }
    
    .pcp-step-item::after {
        display: none;
    }
    
    .pcp-step-item.active {
        transform: scale(1.02);
        box-shadow: 0 2px 8px rgba(71, 216, 181, 0.3);
    }
    
    .pcp-step-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
        transition: all 0.3s ease;
    }
    
    .pcp-step-title {
        font-size: 13px;
    }
    
    .pcp-step-subtitle {
        font-size: 11px;
    }

    .pcp-product-grid,
    .pcp-print-options,
    .pcp-quantity-grid {
        grid-template-columns: 1fr;
    }

    .pcp-size-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .pcp-handle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pcp-custom-size-inputs {
        grid-template-columns: 1fr;
    }

    .pcp-form-row {
        grid-template-columns: 1fr;
    }

    .pcp-color-count-selector {
        flex-direction: column;
        align-items: flex-start;
    }

    .pcp-color-price-note {
        margin-left: 0;
    }

    .pcp-nav {
        flex-direction: column;
        gap: 12px;
    }

    .pcp-nav .pcp-btn {
        width: 100%;
    }

    #pcp-prev-btn {
        order: 2;
        visibility: visible !important;
    }
}

@media (max-width: 480px) {
    .pcp-section {
        padding: 0;
    }

    .pcp-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pcp-product-card {
        padding: 16px;
    }

    .pcp-product-icon {
        width: 48px;
        height: 48px;
    }

    .pcp-product-icon svg {
        width: 24px;
        height: 24px;
    }

    .pcp-quantity-number {
        font-size: 22px;
    }

    .pcp-price-row.total .pcp-price-row-value {
        font-size: 24px;
    }
}

/* File Upload Styles */
.pcp-file-upload-area {
    margin-top: 12px;
    position: relative;
}

/* Hidden file input - completely invisible */
.pcp-file-upload-area input[type="file"],
.pcp-hidden-file-input,
#pcp-design-files {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.pcp-file-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--pcp-gray-300);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--pcp-gray-50);
}

.pcp-file-dropzone:hover,
.pcp-file-dropzone.drag-over {
    border-color: var(--pcp-primary);
    background: var(--pcp-primary-light);
}

.pcp-dropzone-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcp-dropzone-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--pcp-gray-400);
    transition: stroke 0.3s ease;
}

.pcp-file-dropzone:hover .pcp-dropzone-icon svg {
    stroke: var(--pcp-primary);
}

.pcp-dropzone-text {
    font-size: 15px;
    color: var(--pcp-gray-600);
    margin: 0 0 8px 0;
}

.pcp-file-types {
    font-size: 12px;
    color: var(--pcp-gray-400);
}

.pcp-uploaded-files {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pcp-uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--pcp-white);
    border: 1px solid var(--pcp-gray-200);
    border-radius: 8px;
}

.pcp-uploaded-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pcp-uploaded-file-icon {
    width: 32px;
    height: 32px;
    background: var(--pcp-primary-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcp-uploaded-file-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--pcp-primary);
}

.pcp-uploaded-file-name {
    font-size: 14px;
    color: var(--pcp-gray-800);
}

.pcp-uploaded-file-size {
    font-size: 12px;
    color: var(--pcp-gray-400);
}

.pcp-uploaded-file-remove {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--pcp-gray-400);
    transition: color 0.2s ease;
}

.pcp-uploaded-file-remove:hover {
    color: var(--pcp-error);
}

.pcp-uploaded-file-remove svg {
    width: 18px;
    height: 18px;
}

/* No sizes message */
.pcp-no-sizes {
    text-align: center;
    color: var(--pcp-gray-400);
    padding: 20px;
    font-style: italic;
}
