/**
 * FRONTEND
 */

.fcp-calculator-wrapper {
    margin: 30px 0;
}

.fcp-calculator {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 12px;
}

.fcp-calculator h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.fcp-progress-bar {
    margin-bottom: 40px;
    padding: 20px 10px;
    position: relative;
}

.fcp-progress-track {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    position: relative;
}

.fcp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2c5aa0, #4a7bc7);
    border-radius: 2px;
    width: 0%;
    transition: width 0.4s ease;
}

.fcp-step-indicators {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.fcp-step-indicator {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #888;
    transition: all 0.3s ease;
    cursor: default;
    border: 3px solid #f9f9f9;
}

.fcp-step-indicator.active {
    background: #2c5aa0;
    color: white;
    transform: scale(1.1);
}

.fcp-step-indicator.completed {
    background: #27ae60;
    color: white;
}

.fcp-step-indicator.clickable {
    cursor: pointer;
}

.fcp-step-indicator.clickable:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.fcp-step {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    animation: fadeInUp 0.4s ease;
}

.fcp-step-header h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #2c5aa0;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8f4f8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fcp-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2c5aa0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    line-height: 1;
    transition: background 0.2s ease;
}

.fcp-info-icon:hover {
    background: #014780;
    color: #fff;
    text-decoration: none;
}

.fcp-info-icon::after {
    content: attr(title);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-style: normal;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}

.fcp-info-icon::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.fcp-info-icon:hover::after,
.fcp-info-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

.fcp-step-content {
    min-height: 100px;
}

.fcp-step-note {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 0;
}

.fcp-step-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 6px;
	border-left: 3px solid #721c24;
    margin-top: 15px;
    font-size: 14px;
    display: none;
}

.fcp-step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    gap: 15px;
}

.fcp-step-navigation-final {
    justify-content: center;
}

.fcp-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fcp-btn-next {
    background: #014780;
    color: white;
    margin-left: auto;
	border-radius: 50px;
}

.fcp-btn-next:hover:not(:disabled) {
    background: #014780;
}

.fcp-btn-prev,
.fcp-btn-secondary {
    background: #fff;
    color: #014780;
	border: 2px solid #014780;
	border-radius: 50px;
}

.fcp-btn-prev:hover,
.fcp-btn-secondary:hover {
    background: #014780;
	color: #fff;
	border-color: #014780;
}

.fcp-btn-disabled,
.fcp-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.fcp-step[data-step="7"] .fcp-summary-section {
    background: #fff;
    color:#000;
}

.fcp-step[data-step="7"] .fcp-price-breakdown {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
}

.fcp-step[data-step="7"] .fcp-price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}

.fcp-step[data-step="7"] .fcp-price-subtotal {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    padding-top: 15px;
}

.fcp-step[data-step="7"] .fcp-price-iva {
    font-size: 14px;
    opacity: 0.9;
}

.fcp-step[data-step="7"] .fcp-price-total {
    background: #014780;
    margin: 15px -20px -20px;
    padding: 20px;
    border-radius: 8px;
    font-size: 20px;
	color: #fff;
}

.fcp-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.fcp-section.fcp-animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

.fcp-section:last-child {
    border-bottom: none;
}

.fcp-section h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #444;
    font-weight: 600;
}


.fcp-initial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fcp-select-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fcp-select-field select {
    width: 100%;
    padding: 14px 45px 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232c5aa0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.fcp-select-field select:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 4px rgba(44, 90, 160, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.fcp-select-field select:hover {
    border-color: #2c5aa0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.fcp-select-field select option {
    padding: 12px;
    font-size: 15px;
}

.fcp-select-field select option:disabled {
    color: #999;
}

/* Custom Dropdown Styles */
.fcp-custom-select {
    position: relative;
    width: 100%;
}

.fcp-custom-select select {
    display: none;
}

.fcp-select-trigger {
    width: 100%;
    padding: 14px 45px 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232c5aa0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    user-select: none;
}

.fcp-select-trigger.placeholder {
    color: #757575;
}

.fcp-select-trigger:hover {
    border-color: #2c5aa0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.fcp-custom-select.open .fcp-select-trigger {
    border-color: #2c5aa0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 0 0 4px rgba(44, 90, 160, 0.12);
}

.fcp-custom-select.open .fcp-select-trigger {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232c5aa0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
}

.fcp-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #2c5aa0;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.fcp-custom-select.open .fcp-select-options {
    max-height: 280px;
    overflow-y: auto;
    opacity: 1;
}

.fcp-select-option {
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fcp-select-option:last-child {
    border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.fcp-select-option:hover {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f7fa 100%);
}

.fcp-select-option.selected {
    background: linear-gradient(135deg, #2c5aa0 0%, #3d6db3 100%);
    color: #fff;
}

.fcp-select-option.selected:hover {
    background: linear-gradient(135deg, #234a85 0%, #2c5aa0 100%);
}

.fcp-select-option.disabled {
    color: #999;
    cursor: default;
    background: #f9f9f9;
}

.fcp-select-option.disabled:hover {
    background: #f9f9f9;
}

.fcp-select-option-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fcp-select-option.selected .fcp-select-option-icon {
    background: rgba(255, 255, 255, 0.2);
}

.fcp-select-option-icon svg {
    width: 16px;
    height: 16px;
    stroke: #2c5aa0;
    fill: none;
    stroke-width: 2;
}

.fcp-select-option.selected .fcp-select-option-icon svg {
    stroke: #fff;
}

.fcp-select-option-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.fcp-select-option-check {
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fcp-select-option.selected .fcp-select-option-check {
    opacity: 1;
}

.fcp-select-option-check svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
}

/* Scrollbar styling for dropdown */
.fcp-select-options::-webkit-scrollbar {
    width: 6px;
}

.fcp-select-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.fcp-select-options::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.fcp-select-options::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.fcp-material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.fcp-material-option {
    cursor: pointer;
}

.fcp-material-option input[type="radio"] {
    display: none;
}

.fcp-material-card {
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.fcp-material-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.fcp-material-card .fcp-price {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 5px;
}

.fcp-material-card small {
    display: block;
    color: #666;
    font-size: 13px;
}

.fcp-material-option input:checked + .fcp-material-card {
    border-color: #2c5aa0;
    background: #e8f4f8;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.fcp-material-card:hover {
    border-color: #2c5aa0;
    transform: translateY(-2px);
}

.fcp-dimensions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fcp-dimension-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
}

.fcp-dimension-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.fcp-dimension-field input:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.fcp-area-display {
    margin-top: 15px;
    text-align: center;
    font-size: 18px;
}

.fcp-area-display strong {
    color: #2c5aa0;
}

.fcp-orientation-options {
    display: flex;
    gap: 20px;
}

.fcp-orientation-options label {
    flex: 1;
    cursor: pointer;
}

.fcp-orientation-options input[type="radio"] {
    display: none;
}

.fcp-orientation-options span {
    display: block;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    transition: all 0.3s ease;
    background: white;
}

.fcp-orientation-options input:checked + span {
    border-color: #2c5aa0;
    background: #e8f4f8;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.fcp-orientation-options span:hover {
    border-color: #2c5aa0;
    transform: translateY(-2px);
}

.fcp-packaging-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.fcp-packaging-option {
    cursor: pointer;
}

.fcp-packaging-option input[type="radio"] {
    display: none;
}

.fcp-packaging-card {
    border: 2px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    position: relative;
}

.fcp-packaging-image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    overflow: hidden;
    border-radius: 6px;
}

.fcp-packaging-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fcp-packaging-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.fcp-packaging-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
}

.fcp-supplement-icon {
    position: absolute;
    bottom: 6px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff3e0;
    color: #e67e22;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-style: italic;
    font-family: Georgia, serif;
}

.fcp-packaging-option input:checked + .fcp-packaging-card {
    border-color: #2c5aa0;
    background: #e8f4f8;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.fcp-packaging-card:hover {
    border-color: #2c5aa0;
    transform: translateY(-2px);
}

.fcp-packaging-detail {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    animation: slideReveal 0.4s ease forwards;
}

.fcp-packaging-detail-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.fcp-packaging-detail-image {
    width: 150px;
    min-width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

.fcp-packaging-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fcp-packaging-detail-text {
    flex: 1;
}

.fcp-packaging-detail-text h5 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.fcp-packaging-detail-text p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.fcp-packaging-detail-text .fcp-supplement-detail {
    color: #e67e22;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.fcp-packaging-detail-image {
    cursor: zoom-in;
}

.fcp-image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: fadeIn 0.2s ease;
}

.fcp-image-zoom-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideReveal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .fcp-packaging-detail-inner {
        flex-direction: column;
    }
    .fcp-packaging-detail-image {
        width: 100%;
        min-width: unset;
        height: 120px;
    }
}

.fcp-packaging-document-link {
    margin-top: 20px;
    text-align: center;
}

.fcp-packaging-document-link a {
    color: #014780;
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline;
}

.fcp-packaging-document-link a:hover {
    color: #015CFE;
}

.fcp-custom-packaging {
    background: #fff3cd;
    border-color: #ffc107;
}

.fcp-packaging-option input:checked + .fcp-custom-packaging {
    border-color: #ff9800;
    background: #ffe082;
}

#fcp-custom-packaging-field {
    margin-top: 15px;
}

#fcp-custom-packaging-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

#fcp-custom-packaging-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.fcp-option {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.fcp-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.fcp-option input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.fcp-option-description {
    margin: 10px 0 0 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.fcp-instructions-link {
    display: inline-block;
    margin-top: 8px;
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.fcp-instructions-link:hover {
    text-decoration: underline;
}

.fcp-option input[type="file"] {
    display: block;
    margin-top: 10px;
    padding: 8px;
    border: 1px dashed #ccc;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.fcp-production-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.fcp-production-option {
    cursor: pointer;
}

.fcp-production-option input[type="radio"] {
    display: none;
}

.fcp-production-card {
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.fcp-production-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.fcp-production-card span {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.fcp-production-card small {
    display: block;
    font-weight: 600;
    color: #27ae60;
    font-size: 15px;
}

.fcp-production-option input:checked + .fcp-production-card {
    border-color: #2c5aa0;
    background: #e8f4f8;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.fcp-production-detail {
    margin-top: 15px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    animation: slideReveal 0.3s ease forwards;
}

.fcp-production-detail-text {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #e67e22;
}

.fcp-production-description {
    color: #555;
    font-weight: 400;
    line-height: 1.6;
}

.fcp-material-description {
    margin-top: 15px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}
.fcp-material-description .fcp-resolgreen-logo {
    float: right;
    max-width: 100px;
    height: auto;
    margin: 0 0 10px 15px;
}
.fcp-material-desc-content {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.fcp-material-desc-content p {
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #555 !important;
}
.fcp-material-desc-content p strong {
    color: #333 !important;
    font-size: 14px !important;
}
.fcp-material-desc-content p:empty,
.fcp-material-desc-content p:blank {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    height: 0 !important;
}
.fcp-material-desc-content ul,
.fcp-material-desc-content ol {
    margin: 8px 0 0 0 !important;
    padding: 0 0 0 22px !important;
    list-style: disc !important;
}
.fcp-material-desc-content ol {
    list-style: decimal !important;
}
.fcp-material-desc-content li {
    margin-bottom: 4px !important;
    padding: 0 !important;
    font-size: 14px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    display: list-item !important;
}
.fcp-material-desc-content h2,
.fcp-material-desc-content h3,
.fcp-material-desc-content h4 {
    margin: 8px 0 4px !important;
    color: #333 !important;
}

.fcp-production-card:hover {
    border-color: #2c5aa0;
    transform: translateY(-2px);
}

.fcp-quantity-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.fcp-quantity-field input {
    width: 150px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.fcp-quantity-field input:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.fcp-summary-section {
    background: #fff;
    color: #000;
}

.fcp-summary-section h4 {
    color: white !important;
    margin-bottom: 20px !important;
}

.fcp-price-breakdown {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.fcp-price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}

.fcp-price-row span:last-child {
    font-weight: 600;
}

.fcp-discount {
    color: #4caf50 !important;
}

.fcp-price-subtotal {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    padding-top: 15px !important;
    font-size: 16px;
}

.fcp-price-iva {
    font-size: 14px;
    opacity: 0.9;
}

.fcp-price-total {
    background: rgba(255, 255, 255, 0.2);
    margin: 15px -10px -10px;
    padding: 20px 10px !important;
    border-radius: 8px;
    font-size: 20px;
}

.fcp-notices {
    margin-top: 20px;
}

.fcp-notice {
    padding: 12px 16px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 14px;
}

.fcp-notice-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.fcp-notice-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.fcp-notice-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.fcp-graphic-options {
    margin-top: 10px;
}

.fcp-graphic-option {
    border-left: 3px solid #014780;
}

.fcp-graphic-option label {
    flex-wrap: wrap;
}

.fcp-graphic-option .fcp-notice {
    margin: 10px 0 0 0;
}

.fcp-radio-group {
    margin: 12px 0 0 0;
}

.fcp-radio-option {
    display: flex !important;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 14px;
}

.fcp-radio-option input[type="radio"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

#fcp-graphic-file-wrapper {
    margin: 10px 0 0 30px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 6px;
}

#fcp-graphic-file-wrapper input[type="file"] {
    display: block;
    margin-bottom: 5px;
}

#fcp-graphic-file-wrapper small {
    color: #888;
    font-size: 12px;
}

.calculator-price-placeholder {
    font-size: 28px !important;
    color: #2c5aa0 !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .fcp-calculator {
        padding: 15px;
    }

    .fcp-calculator h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .fcp-step {
        padding: 20px 15px;
    }

    .fcp-step-header h4 {
        font-size: 25px!important;
    }

    .fcp-step-indicator {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .fcp-step-navigation {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .fcp-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .fcp-btn-next {
        margin-left: 0;
    }

    .fcp-initial-grid,
    .fcp-material-grid,
    .fcp-packaging-grid,
    .fcp-production-options {
        grid-template-columns: 1fr;
    }

    .fcp-dimensions-grid {
        grid-template-columns: 1fr;
    }

    .fcp-orientation-options {
        flex-direction: column;
    }

    .fcp-price-row {
        font-size: 14px;
    }

    .fcp-price-total {
        font-size: 18px;
    }

    .fcp-step[data-step="7"] .fcp-price-total {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .fcp-calculator {
        padding: 12px;
        border-radius: 8px;
    }

    .fcp-calculator h3 {
        font-size: 18px;
    }

    .fcp-step {
        padding: 15px 12px;
    }

    .fcp-step-header h4 {
        font-size: 15px;
    }

    .fcp-step-indicator {
        width: 26px;
        height: 26px;
        font-size: 11px;
        border-width: 2px;
    }

    .fcp-progress-bar {
        margin-bottom: 20px;
    }

    .calculator-price-placeholder {
        font-size: 24px !important;
    }

    .fcp-btn {
        font-size: 14px;
        padding: 12px 16px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 1000px;
        transform: translateY(0);
    }
}

.fcp-summary-section {
    animation: fadeIn 0.4s ease;
}

.fcp-calculator.loading {
    opacity: 0.6;
    pointer-events: none;
}

.fcp-calculator-wrapper ~ form.cart .quantity,
form.cart .fcp-hidden-quantity,
.fcp-calculator-wrapper ~ .quantity {
    display: none !important;
}

.fcp-calculator-active .single_add_to_cart_button,
.fcp-calculator-active form.cart button[type="submit"],
.fcp-calculator-active form.cart .button.alt {
    display: none !important;
}

.fcp-btn-add-to-cart {
    background: #014780 !important;
    color: white !important;
	border-radius: 50px;
}

.fcp-btn-add-to-cart:hover:not(:disabled) {
    background: #015CFE !important;
}

.fcp-final-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.fcp-cart-quantity {
    font-weight: 600;
    color: #2c5aa0;
    background: #e8f4f8;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

@media print {
    .fcp-calculator {
        border: 1px solid #000;
        background: white;
    }
    
    .fcp-material-option input:checked + .fcp-material-card,
    .fcp-packaging-option input:checked + .fcp-packaging-card,
    .fcp-production-option input:checked + .fcp-production-card {
        border: 3px solid #000;
    }
}