/* Contact Page Styles */
.contact-page {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    .contact-page { padding-left: 2rem; padding-right: 2rem; }
}

@media (min-width: 1024px) {
    .contact-page { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 360px 1fr;
        gap: 2.5rem;
        align-items: start;
    }
    .contact-sidebar { position: sticky; top: 7rem; }
}

.contact-map-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 768px) {
    .contact-map-row { flex-direction: row; }
    .contact-map-info {
        flex: 0 0 33.333%;
        border-right: 1px solid #f1f5f9;
    }
    .dark .contact-map-info { border-right-color: rgba(255,255,255,0.08); }
    .contact-map-area { flex: 1; }
}

.contact-input {
    display: block;
    width: 100%;
    padding: 0.875rem 1.125rem;
    border-radius: 1rem;
    background-color: #f8faf9;
    border: 1.5px solid #e2e8f0;
    color: #002855;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dark .contact-input {
    background-color: rgba(0, 51, 102, 0.45);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.contact-input::placeholder { color: #94a3b8; }

.contact-input:focus {
    outline: none;
    border-color: #79a342;
    box-shadow: 0 0 0 3px rgba(121, 163, 66, 0.18);
    background-color: #ffffff;
}

.dark .contact-input:focus {
    background-color: rgba(0, 40, 85, 0.6);
    box-shadow: 0 0 0 3px rgba(121, 163, 66, 0.22);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.dark .contact-label { color: #94a3b8; }

.contact-panel {
    background: linear-gradient(160deg, #002855 0%, #003d7a 55%, #1a5c38 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    color: #fff;
    width: 100%;
}

@media (min-width: 768px) {
    .contact-panel { padding: 2.5rem; }
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .contact-form-grid { grid-template-columns: 1fr 1fr; }
}

.contact-form-grid .full-width { grid-column: 1 / -1; }

@keyframes contactSuccessPop {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.contact-success-animate { animation: contactSuccessPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

#contact-form-wrap.is-hidden { display: none; }
#contact-success-wrap { display: none; }
#contact-success-wrap.is-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Deals Page Animations */
@keyframes float-smooth {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes sparkle-spin {
    0% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: scale(0.8) rotate(360deg);
        opacity: 0.5;
    }
}

.animate-float-smooth {
    animation: float-smooth 6s ease-in-out infinite;
}

.animate-sparkle {
    animation: sparkle-spin 4s linear infinite;
}

/* Checkout Form Styles */
.checkout-form-body {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .checkout-form-body { padding: 2rem; }
}

@media (min-width: 1024px) {
    .checkout-form-body { padding: 2.5rem; }
}

.checkout-fields-grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1.5rem;
    row-gap: 1.75rem;
}

@media (min-width: 640px) {
    .checkout-fields-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 2rem;
    }
}

.checkout-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.checkout-field--full {
    grid-column: 1 / -1;
}

.checkout-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #002855;
    line-height: 1.25;
}

.checkout-label::after {
    content: '*';
    color: #79a342;
    font-weight: 700;
}

.checkout-field:has(#custWhatsapp) .checkout-label::after {
    content: none;
}

.checkout-label-optional {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
}

.dark .checkout-label { color: #f1f5f9; }
.dark .checkout-label-optional { color: #64748b; }

.checkout-input {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 1rem;
    background-color: #f8faf9;
    border: 1.5px solid #e2e8f0;
    color: #002855;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dark .checkout-input {
    background-color: rgba(0, 51, 102, 0.45);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

.checkout-input::placeholder { color: #94a3b8; }

.checkout-input:focus {
    outline: none;
    border-color: #79a342;
    box-shadow: 0 0 0 3px rgba(121, 163, 66, 0.18);
    background-color: #ffffff;
}

.dark .checkout-input:focus {
    background-color: rgba(0, 40, 85, 0.6);
    box-shadow: 0 0 0 3px rgba(121, 163, 66, 0.22);
}

.checkout-notice-footer {
    border-top: 1px solid rgba(121, 163, 66, 0.2);
    background: linear-gradient(135deg, rgba(121, 163, 66, 0.1) 0%, rgba(0, 40, 85, 0.04) 100%);
}

.dark .checkout-notice-footer {
    border-top-color: rgba(121, 163, 66, 0.25);
    background: linear-gradient(135deg, rgba(121, 163, 66, 0.14) 0%, rgba(0, 40, 85, 0.4) 100%);
}

.checkout-notice-inner {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.125rem 1.5rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475569;
}

.checkout-notice-inner p {
    margin: 0;
    flex: 1;
}

@media (min-width: 768px) {
    .checkout-notice-inner { padding: 1.25rem 2rem; }
}

@media (min-width: 1024px) {
    .checkout-notice-inner { padding: 1.375rem 2.5rem; }
}

.dark .checkout-notice-inner { color: #cbd5e1; }

.checkout-notice-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background-color: rgba(121, 163, 66, 0.15);
    color: #79a342;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark .checkout-notice-icon {
    background-color: rgba(121, 163, 66, 0.22);
}

.checkout-trust-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    padding: 0.875rem 0.5rem;
    border-radius: 1rem;
    background-color: #f8faf9;
    border: 1px solid #f1f5f9;
}

.dark .checkout-trust-pill {
    background-color: #002855;
    border-color: rgba(255, 255, 255, 0.06);
}

.checkout-trust-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: rgba(121, 163, 66, 0.12);
    color: #79a342;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-trust-label {
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.25;
    color: #475569;
}

.dark .checkout-trust-label { color: #cbd5e1; }

.checkout-item-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8fafc;
}

.dark .checkout-item-row {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.checkout-item-row:last-child {
    border-bottom: none;
}

.checkout-item-thumb {
    width: 3.75rem;
    height: 3.75rem;
    flex-shrink: 0;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem;
    background-color: #f8faf9;
    border: 1px solid #eef2f6;
}

.dark .checkout-item-thumb {
    background-color: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.checkout-item-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
