/* Fontes locais */
@font-face {
    font-family: 'Span';
    src: url('fonts/FONTSPRINGDEMO-SpanRegular.woff2') format('woff2'),
         url('fonts/FONTSPRINGDEMO-SpanRegular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Span';
    src: url('fonts/FONTSPRINGDEMO-SpanLightRegular.woff2') format('woff2'),
         url('fonts/FONTSPRINGDEMO-SpanLightRegular.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Span';
    src: url('fonts/FONTSPRINGDEMO-SpanSemiboldRegular.woff2') format('woff2'),
         url('fonts/FONTSPRINGDEMO-SpanSemiboldRegular.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Span';
    src: url('fonts/FONTSPRINGDEMO-SpanBold.woff2') format('woff2'),
         url('fonts/FONTSPRINGDEMO-SpanBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Backline Marker';
    src: url('fonts/BacklineMarker.woff2') format('woff2'),
         url('fonts/BacklineMarker.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Backline Marker';
    src: url('fonts/BacklineMarkerItalic-Italic.woff2') format('woff2'),
         url('fonts/BacklineMarkerItalic-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #671f2a;
    min-height: 100vh;
    padding: 20px;
    color: #111111;
}

/* Aplicar Span para todos os títulos */
h1, h2, h3, h4, h5, h6 {
    /* font-family: 'Backline Marker', cursive; */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.product-section {
    background: #fff3e2;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #111111;
    margin-bottom: 30px;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    padding: 12px 0;
    font-size: 16px;
    color: #111111;
    display: flex;
    align-items: flex-start;
}

.product-features li:before {
    content: "✅";
    margin-right: 12px;
    font-size: 18px;
}

.product-features li.gift:before {
    content: "🎁";
    margin-right: 12px;
    font-size: 18px;
}

.product-price {
    font-size: 48px;
    font-weight: 700;
    color: #ff9bb9;
    margin: 30px 0;
    text-align: center;
}

.checkout-section {
    background: #fff3e2;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.section-title {
    font-family: 'Span', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff9bb9;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ff9bb9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
    background: #fff3e2;
    color: #111111;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff9bb9;
    box-shadow: 0 0 0 3px rgba(255, 155, 185, 0.3);
    background: #fff;
}

.form-group input.error {
    border-color: #e53e3e;
}

.error-message {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.form-group input.error + .error-message {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.card-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #ff9bb9;
    color: #111111;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 155, 185, 0.4);
    background: #ff8ab0;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #fc8181;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: #111111;
    opacity: 0.7;
}

.secure-badge:before {
    content: "🔒";
    font-size: 18px;
}

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

    .card-details {
        grid-template-columns: 1fr;
    }

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

/* Backline Marker para highlights e elementos destacados */
/* .highlight,
strong,
.product-description strong,
.product-price {
    font-family: 'Backline Marker', cursive;
} */

.highlight {
    color: #ff9bb9;
    font-weight: 400;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #ff9bb9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff3e2;
}

.radio-option:hover {
    border-color: #ff9bb9;
    background: #fff;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #ff9bb9;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: #ff9bb9;
}

.radio-option.checked,
.radio-option:has(input[type="radio"]:checked) {
    border-color: #ff9bb9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 155, 185, 0.3);
}

.radio-label {
    display: flex;
    flex-direction: column;
    flex: 1;
    cursor: pointer;
}

.radio-label strong {
    font-size: 16px;
    color: #111111;
    margin-bottom: 4px;
}

.radio-label small {
    font-size: 13px;
    color: #111111;
    opacity: 0.7;
}

.radio-option input[type="radio"]:checked + .radio-label strong {
    color: #ff9bb9;
}

