/* POLISPORT REPLICA V2 - EXACT LAYOUTS */

.polisport-full-replica-v2 .product-main,
.polisport-full-replica-v2 .product-footer,
.polisport-full-replica-v2 .page-title,
.polisport-full-replica-v2 .breadcrumbs {
    display: none !important;
}

.polisport-replica-v2 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #333;
    line-height: 1.4;
    overflow-x: hidden;
}

/* HERO */
.replica-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.3);
}

.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-content h1 { font-size: 38px; font-weight: 800; text-transform: uppercase; margin-bottom: 30px; line-height: 1.1; }

.btn-replica-white {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    margin: 0 8px;
    transition: 0.3s;
}

.btn-replica-white:hover { background: #000; color: #fff; }

/* SPLIT SECTIONS (50/50) */
.replica-split-section { width: 100%; }
.row-collapse .col { padding: 0 !important; }

.split-text-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-padding {
    padding: 10% 15%;
}

.bg-grey { background-color: #efefef; }
.bg-dark { background-color: #000; color: #fff; }
.bg-light { background-color: #f9f9f9; }

.badge-tech {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 15px;
}

.split-text-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}

.replica-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.replica-list li {
    font-size: 14px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
}

.replica-list li strong { text-transform: uppercase; }

/* SLIDER & HIGHLIGHTS */
.replica-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.slider-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    height: 100%;
}

.slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.bg-black-polisport {
    background-color: #000;
}

.highlights-content {
    color: #fff;
    padding: 12% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.highlights-content h2 {
    color: #fff;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -2px;
    line-height: 0.9;
    text-transform: uppercase;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    font-size: 1.2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.highlights-list li::before {
    content: "";
    width: 30px;
    height: 2px;
    background: #fff;
    margin-right: 20px;
    display: inline-block;
}

/* MODEL GRID */
.replica-section-padding { padding: 80px 0; }
.replica-title-centered { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 50px; text-transform: uppercase; }

.model-card { text-align: center; margin-bottom: 30px; }
.model-card img { max-height: 220px; object-fit: contain; margin-bottom: 15px; transition: 0.3s; }
.model-card h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; }

/* TECHNICAL FOOTER (3 COLS) */
.footer-block { text-align: center; padding: 20px; }
.footer-block i { font-size: 30px; margin-bottom: 15px; display: block; }
.footer-block h3 { font-size: 15px; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; }
.footer-block p { font-size: 13px; color: #666; margin-bottom: 20px; }

.border-sides { border-left: 1px solid #ddd; border-right: 1px solid #ddd; }

.btn-replica-outline {
    display: inline-block;
    border: 2px solid #000;
    color: #000;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.3s;
}
.btn-replica-outline:hover { background: #000; color: #fff; }

.diy-mini-steps { text-align: left; display: inline-block; }
.diy-mini-steps div { font-size: 13px; margin-bottom: 8px; }
.diy-mini-steps strong { font-size: 16px; margin-right: 5px; }

/* UTILS */
.text-white { color: #fff !important; }
.opacity-70 { opacity: 0.7; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 32px; }
    .btn-replica-white { margin: 5px; width: 90%; }
    .inner-padding { padding: 40px 20px; }
    .border-sides { border: none; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
    .replica-slider { min-height: 350px; }
    .highlights-content h2 { font-size: 2.5rem; }
    .highlights-content { padding: 40px 20px !important; }
}

/* PREMIUM MODAL STYLES */
.premium-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.premium-modal-wrapper.is-active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    cursor: pointer;
    animation: fadeIn 0.4s ease;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    overflow-y: auto;
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Custom Scrollbar for Modal */
.modal-container::-webkit-scrollbar {
    width: 6px;
}
.modal-container::-webkit-scrollbar-track {
    background: #000;
}
.modal-container::-webkit-scrollbar-thumb {
    background: #333;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg);
    color: #ff3e3e;
}

.modal-content {
    padding: 60px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@media (max-width: 768px) {
    .modal-content {
        padding: 40px 20px;
    }
    .modal-close {
        top: 10px;
        right: 10px;
    }
}

.form-field {
    margin-bottom: 30px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.asterisk {
    color: #ff3e3e;
    margin-left: 3px;
}

.premium-form input[type="text"],
.premium-form input[type="email"],
.premium-form input[type="number"],
.premium-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    border-radius: 0;
}

.premium-form input:focus,
.premium-form textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    outline: none;
}

.premium-form textarea {
    height: 150px;
    resize: none;
}

/* Custom Checkboxes */
.model-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    color: rgba(255, 255, 255, 0.8);
    text-transform: none !important;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #fff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* File Input Wrapper */
.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.custom-file-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    width: 100%;
}

.custom-file-input:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Submit Button */
.form-submit {
    margin-top: 40px;
    text-align: center;
}

.btn-submit {
    background: #fff;
    color: #000;
    border: none;
    padding: 20px 50px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 2px;
}

.btn-submit:hover {
    background: #000;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.policy-check {
    margin-top: 20px;
}

.policy-check a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .premium-form {
        padding: 30px 20px;
    }
    .model-options {
        grid-template-columns: 1fr 1fr;
    }
    .btn-submit {
        width: 100%;
    }
}
