.wcpc-modal-overlay {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.7); z-index: 99998;
display: none; align-items: flex-start; justify-content: center;
padding: 20px; box-sizing: border-box; overflow-y: auto;
}
.wcpc-modal-wrapper {
position: relative; width: 100%; max-width: 1100px;
background: #f4f6f8; border-radius: 6px;
box-shadow: 0 15px 50px rgba(0,0,0,0.3); margin: 20px auto; min-height: 500px;
display: flex; flex-direction: column;
}
.wcpc-modal-close {
position: absolute; top: 10px; right: 20px;
font-size: 36px; line-height: 1; color: #888; cursor: pointer; z-index: 50;
transition: color 0.2s;
}
.wcpc-modal-close:hover { color: #333; }
.wcpc-calculator-wrapper { padding: 40px 30px; }
.wcpc-grid-accordion {
display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
} .wcpc-compact-box {
background: #fff; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); overflow: hidden;
}
.wcpc-compact-header {
background: #81d742; color: #fff;
text-shadow: 0 1px 2px rgba(0,0,0,0.1);
font-size: 18px; font-weight: 700; padding: 15px 20px;
}
.wcpc-accordion-item {
background: #fff; border-bottom: 1px solid #e0e0e0; margin: 0; border-radius: 0; box-shadow: none;
}
.wcpc-accordion-item:last-child { border-bottom: none; }
.wcpc-accordion-header {
padding: 15px 20px; background: #f9f9f9; cursor: pointer;
display: flex; justify-content: space-between; align-items: center;
transition: background 0.2s; font-weight: 500; color: #333;
}
.wcpc-accordion-header:hover { background: #f0f0f0; }
.wcpc-accordion-item.active .wcpc-accordion-header {
background: #fff; border-bottom: 1px solid #f0f0f0; font-weight: 700;
}
.wcpc-acc-icon { font-size: 18px; color: #777; transition: transform 0.3s; }
.wcpc-accordion-item.active .wcpc-acc-icon { transform: rotate(180deg); color: #333; }
.wcpc-accordion-content { display: none; padding: 20px; background: #fff; }
.wcpc-accordion-item.active .wcpc-accordion-content { display: block; } .wcpc-swatch-wrapper { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.wcpc-swatch {
border: 2px solid #eee; border-radius: 6px; background: #fff; cursor: pointer;
transition: all 0.2s; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; padding: 5px;
}
.wcpc-swatch:hover { border-color: #ccc; transform: translateY(-2px); }
.wcpc-swatch.selected { border-color: #81d742; box-shadow: 0 0 0 2px rgba(254, 186, 18, 0.3); z-index: 2; }
.wcpc-swatch img { max-width: 80px; max-height: 80px; object-fit: contain; margin-bottom: 20px; }
.wcpc-swatch-label-inside {
position: absolute; bottom: 8px; left: 0; width: 100%; text-align: center; font-size: 11px; color: #666; line-height: 1.1; padding: 0 5px; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wcpc-swatch.wcpc-swatch-label { justify-content: center; font-size: 14px; font-weight: 600; color: #333; padding: 10px; } #wcpc-position-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.wcpc-position-tile { border: 2px solid #eee; border-radius: 4px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; cursor: pointer; }
.wcpc-position-tile.selected { border-color: #81d742; box-shadow: 0 0 0 1px #81d742; } 
.wcpc-tile-image img { max-width: 80px; max-height: 80px; }
.wcpc-tile-label { font-size: 11px; text-align: center; color: #666; margin-top: 5px; line-height: 1.1; } .wcpc-technique-list { border: 1px solid #eee; border-radius: 4px; overflow: hidden; margin: 0; }
.wcpc-technique-tile {
display: flex; align-items: center; justify-content: space-between; padding: 8px 15px; 
border-bottom: 1px solid #eee; background: #fff; transition: background 0.1s; min-height: 30px; cursor: pointer;
}
.wcpc-technique-tile:last-child { border-bottom: none; }
.wcpc-technique-tile:hover { background: #fffcf5; }
.wcpc-technique-tile.selected { background: #fffdf5; border-left: 4px solid #81d742; padding-left: 11px; } 
.wcpc-tech-info { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; }
.wcpc-tech-name { font-size: 14px; font-weight: 500; color: #333; margin: 0; line-height: 1.2; }
.wcpc-tech-detail { font-size: 12px; color: #999; margin: 0; line-height: 1.2; }
.wcpc-tech-meta, .wcpc-color-badge, .wcpc-color-num { display: none !important; }
.wcpc-tech-icon { width: 24px; height: 24px; min-width: 24px; font-size: 14px; margin-right: 10px; background: #f5f5f5; color: #777; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.wcpc-tech-icon .dashicons:before { font-size: 14px !important; }
.wcpc-group-header { background: #f0f0f0; color: #555; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 15px; border-bottom: 1px solid #e0e0e0; margin-top: 0; }
.wcpc-technique-tile + .wcpc-group-header { border-top: 1px solid #e0e0e0; } .wcpc-quantity-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; border: none; }
.wcpc-quantity-table th { background: transparent; padding: 6px 0; text-align: left; color: #999; font-weight: 600; border-bottom: 1px solid #eee; }
.wcpc-quantity-table td { padding: 6px 0; border: none; color: #333; }
.wcpc-quantity-table tr[data-qty]:hover { background: #f9f9f9; cursor: pointer; }
.wcpc-quantity-table tr.selected { background: transparent; font-weight: 700; color: #81d742; box-shadow: none; }
.wcpc-quantity-table tr.selected td:first-child:before { content: "• "; color: #81d742; margin-right: 5px; } .wcpc-column-calc { position: sticky; top: 20px; }
.wcpc-calc-box { background: #fff; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.wcpc-calc-header { background: #81d742; padding: 15px 20px; } 
.wcpc-calc-header h4 { margin: 0; color: #fff; font-size: 16px; font-weight: 700; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.wcpc-calc-body { padding: 20px; }
.wcpc-calc-product-title { font-weight: 700; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; line-height: 1.4; } .wcpc-price-table {
width: 100% !important; 
border-collapse: collapse !important; 
margin-bottom: 15px !important; 
border: none !important; 
background: transparent !important;
} .wcpc-price-table td, .wcpc-price-table th {
border: none !important;
background: transparent !important;
padding: 5px 0 !important;
} .wcpc-row-sub td {
font-size: 14px !important; 
color: #555 !important; 
vertical-align: top !important;
}
.wcpc-price-value { 
text-align: right !important; 
font-weight: 700 !important; 
color: #333 !important; 
white-space: nowrap !important; 
} .wcpc-row-total td {
padding-top: 15px !important; 
margin-top: 10px !important;
border-top: 1px solid #ddd !important; font-size: 16px !important; 
color: #333 !important; 
vertical-align: middle !important;
}
.wcpc-grand-total-value {
text-align: right !important; 
font-size: 24px !important; 
font-weight: 800 !important; 
color: #333 !important; } #wcpc-row-handling td { color: #888 !important; font-style: italic !important; padding-bottom: 4px !important; } .wcpc-tax-info { font-size: 11px; color: #888; text-align: right; margin-top: -10px; margin-bottom: 20px; line-height: 1.3; } .wcpc-delivery-info {
background: #f0fdf4; border: 1px solid #dcfce7; color: #166534;
padding: 10px; border-radius: 4px; font-size: 12px;
display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.wcpc-delivery-info .dashicons { font-family: "dashicons"; font-size: 20px; width: 20px; height: 20px; line-height: 1; color: #166534; display: inline-block; } .wcpc-apply-config-btn { width: 100%; padding: 12px; font-size: 16px; font-weight: 700; text-transform: uppercase; background-color: #81d742; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,0.1); border: none; border-radius: 4px; cursor: pointer; margin-top: 10px; }
.wcpc-apply-config-btn:hover { background-color: #e5a811; }
.wcpc-reset-link { display: block; width: 100%; text-align: center; margin-top: 10px; background: none; border: none; color: #999; text-decoration: underline; cursor: pointer; font-size: 12px; } .wcpc-sidebar-upload-btn { background: #fff; border: 2px solid #81d742; color: #333; padding: 8px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; transition: all 0.2s; width: auto; }
.wcpc-sidebar-upload-btn:hover { background: #fffcf5; border-color: #e5a811; }
.wcpc-upload-success { display: block; background: #e6fffa; border: 1px solid #b2f5ea; color: #2c7a7b; padding: 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.wcpc-remove-logo { color: #c53030; margin-left: 5px; text-decoration: none; font-weight: normal; }
.wcpc-remove-logo:hover { text-decoration: underline; }
.wcpc-upload-error { color: #c53030; font-size: 12px; font-weight: 600; }
.wcpc-trust-box-simple { margin-top: 15px; padding: 0 10px; }
.wcpc-trust-box-simple li { display: flex; align-items: center; margin-bottom: 6px; font-size: 12px; color: #666; }
.wcpc-trust-box-simple .dashicons { color: #81d742; margin-right: 8px; font-size: 16px; } .wcpc-error-box { background: #fff5f5; border: 1px solid #feb2b2; color: #c53030; padding: 12px; border-radius: 4px; margin-bottom: 20px; font-size: 14px; }
.wcpc-input, .wcpc-select { padding: 10px; border: 1px solid #ccc; border-radius: 4px; width: 100%; }
.wcpc-stock-info { margin-top: 5px; font-size: 12px; font-weight: 600; color: #28a745; }
.wcpc-stock-out-of-stock { color: #dc3545; } .wcpc-zoom-icon { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; background: rgba(255, 255, 255, 0.9); border: 1px solid #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #777; box-shadow: 0 2px 4px rgba(0,0,0,0.1); z-index: 10; transition: all 0.2s; }
.wcpc-zoom-icon:before { content: "\f179"; font-family: "dashicons"; font-size: 14px; line-height: 1; }
.wcpc-zoom-icon:hover { background: #81d742; color: #fff; border-color: #81d742; transform: scale(1.1); }
.wcpc-position-tile { position: relative !important; }
#wcpc-lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 100000; display: none; justify-content: center; align-items: center; cursor: zoom-out; }
#wcpc-lightbox-image { max-width: 90vw; max-height: 90vh; border-radius: 4px; box-shadow: 0 0 30px rgba(0,0,0,0.5); background: #fff; cursor: default; }
#wcpc-lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 40px; color: #fff; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
#wcpc-lightbox-close:hover { opacity: 1; } @media (max-width: 900px) {
.wcpc-grid-accordion { grid-template-columns: 1fr; }
.wcpc-column-calc { order: 2; margin-top: 30px; position: static; }
}