﻿/* ===========================================
   CONTACT PAGE - CANDY STORE THEME
   White + #FFE600 Yellow Style
   =========================================== */

:root {
    --contact-primary: #FFE600;
    --contact-primary-light: #FFF176;
    --contact-primary-dark: #CCBA00;
    --contact-secondary: #FFD000;
    --contact-accent: #FFE600;
    --contact-dark: #111111;
    --contact-gray: #444444;
    --contact-gray-light: #888888;
    --contact-light: #F9F9F9;
    --contact-white: #ffffff;
    --contact-success: #4CAF50;
    --contact-border-radius: 16px;
    --contact-border-radius-sm: 10px;
    --contact-transition: 0.25s ease;
    --contact-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --contact-shadow-md: 0 6px 24px rgba(0,0,0,0.08);
    --contact-shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --contact-shadow-glow: 0 8px 32px rgba(255, 230, 0, 0.25);
    --contact-font: 'Poppins', sans-serif;
}

/* ===========================================
   CONTAINER STRUCTURE
   =========================================== */

.container_row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.container_first_cell,
.container_last_cell {
    display: none;
}

.container_cell {
    flex: 1;
    min-width: 280px;
    box-sizing: border-box;
}

.container_cell_col8 {
    flex: 2;
    max-width: 100%;
    box-sizing: border-box;
}

.container_cell_col4 {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
}

/* ===========================================
   PAGE TITLE — Luckiest Guy
   =========================================== */

.contacto_tit {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

    .contacto_tit h1 {
        font-family: 'Luckiest Guy', cursive;
        font-size: 3rem;
        font-weight: 400;
        color: #111111;
        -webkit-text-fill-color: #111111;
        margin: 0;
        position: relative;
        display: inline-block;
    }

        .contacto_tit h1::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: #FFE600;
            border-radius: 4px;
        }

        /* Mobile emoji — static, no clipping */
        .contacto_tit h1::before {
            position: static;
            display: block;
            margin-bottom: 8px;
            font-size: 2rem;
            -webkit-text-fill-color: initial;
            animation: contactFloatMobile 3s ease-in-out infinite;
        }

@keyframes contactFloatMobile {
    0%, 100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg) translateY(-6px);
    }
}

/* Desktop emoji — absolute */
@media (min-width: 769px) {
    .contacto_tit h1::before {
        position: absolute;
        display: inline;
        left: -60px;
        top: 50%;
        margin-bottom: 0;
        font-size: 2.5rem;
        animation: contactFloat 3s ease-in-out infinite;
    }

    @keyframes contactFloat {
        0%, 100% {
            transform: translateY(-50%) rotate(-5deg);
        }

        50% {
            transform: translateY(-60%) rotate(5deg);
        }
    }
}

/* ===========================================
   STORES SECTION
   =========================================== */

.tiendas_gral {
    background: #ffffff;
    border-radius: var(--contact-border-radius);
    padding: 32px;
    box-shadow: var(--contact-shadow-md);
    border: 1px solid rgba(255, 230, 0, 0.20);
    transition: all var(--contact-transition);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

    .tiendas_gral:hover {
        transform: translateY(-5px);
        box-shadow: var(--contact-shadow-lg), var(--contact-shadow-glow);
    }

    .tiendas_gral::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, transparent 50%, rgba(255, 230, 0, 0.08) 50%);
        pointer-events: none;
    }

    /* Store heading — Luckiest Guy */
    .tiendas_gral > div:first-child strong {
        display: block;
        font-family: 'Luckiest Guy', cursive;
        font-size: 1.3rem;
        font-weight: 400;
        color: var(--contact-dark);
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid #FFE600;
        position: relative;
    }

        .tiendas_gral > div:first-child strong::after {
            content: '🏪';
            margin-left: 10px;
            font-size: 1.1rem;
        }

/* ===========================================
   STORE DROPDOWN — Poppins
   =========================================== */

.drp_tiendas {
    margin-bottom: 24px;
}

    .drp_tiendas select {
        width: 100%;
        padding: 14px 48px 14px 18px;
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        color: var(--contact-dark);
        background: var(--contact-light);
        border: 2px solid #e8e8e8;
        border-radius: var(--contact-border-radius-sm);
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        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='%23CCBA00' 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 14px center;
        background-size: 20px;
        transition: all var(--contact-transition);
    }

        .drp_tiendas select:hover {
            border-color: #FFE600;
            background-color: #fff;
        }

        .drp_tiendas select:focus {
            outline: none;
            border-color: #FFE600;
            box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.15);
            background-color: #fff;
        }

/* ===========================================
   STORE DESCRIPTIONS — Poppins
   =========================================== */

.desc_tiendas {
    background: #FFFDE7;
    border-radius: var(--contact-border-radius-sm);
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid #FFE600;
    position: relative;
}

    .desc_tiendas::before {
        content: '📍';
        position: absolute;
        top: -12px;
        left: 20px;
        font-size: 1.5rem;
        background: #ffffff;
        padding: 0 8px;
        border-radius: 50%;
        box-shadow: var(--contact-shadow-sm);
    }

    .desc_tiendas p {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        margin: 0 0 10px;
        color: var(--contact-gray);
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .desc_tiendas strong {
        color: var(--contact-dark);
    }

    .desc_tiendas a {
        font-family: 'Poppins', sans-serif;
        color: #CCBA00;
        text-decoration: none;
        font-weight: 600;
        transition: color var(--contact-transition);
    }

        .desc_tiendas a:hover {
            color: #111111;
            text-decoration: underline;
        }

/* ===========================================
   MAP CONTAINER
   =========================================== */

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--contact-border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--contact-shadow-md);
}

    .map-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 3px solid transparent;
        border-radius: var(--contact-border-radius);
        background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #FFE600, #CCBA00) border-box;
        pointer-events: none;
        z-index: 1;
    }

.map-canvas {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
}

/* ===========================================
   CONTACT FORM
   =========================================== */

.contacto_area {
    margin-top: 20px;
    box-sizing: border-box;
    width: 100%;
}

.contacto_area2 {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
}

    /* Form subtitle — Luckiest Guy */
    .contacto_area2 > strong {
        display: block;
        font-family: 'Luckiest Guy', cursive;
        font-size: 1.2rem;
        font-weight: 400;
        color: var(--contact-dark);
        margin-bottom: 8px;
    }

/* ===========================================
   INPUTS — Poppins
   =========================================== */

.contacto_box {
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--contact-dark);
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: var(--contact-border-radius-sm);
    transition: all var(--contact-transition);
    box-sizing: border-box;
}

    .contacto_box::placeholder {
        color: var(--contact-gray-light);
        font-style: italic;
        font-weight: 400;
    }

    .contacto_box:hover {
        border-color: #FFE600;
    }

    .contacto_box:focus {
        outline: none;
        border-color: #FFE600;
        box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.18), var(--contact-shadow-sm);
        background: #fff;
    }

/* ===========================================
   TEXTAREA — Poppins
   =========================================== */

.contacto_box_area {
    width: 100%;
    max-width: 100%;
    min-height: 150px;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--contact-dark);
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: var(--contact-border-radius-sm);
    transition: all var(--contact-transition);
    resize: vertical;
    line-height: 1.6;
    box-sizing: border-box;
}

    .contacto_box_area::placeholder {
        color: var(--contact-gray-light);
        font-style: italic;
        font-weight: 400;
    }

    .contacto_box_area:hover {
        border-color: #FFE600;
    }

    .contacto_box_area:focus {
        outline: none;
        border-color: #FFE600;
        box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.18), var(--contact-shadow-sm);
        background: #fff;
    }

/* ===========================================
   FORM EXTRAS — Poppins
   =========================================== */

.contacto_area2 > div {
    padding: 12px 0;
}

.contacto_area2 input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #FFE600;
    cursor: pointer;
    vertical-align: middle;
}

.contacto_area2 label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--contact-gray);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
}

    .contacto_area2 label:hover {
        color: var(--contact-dark);
    }

    .contacto_area2 label a {
        color: #CCBA00;
        text-decoration: none;
        font-weight: 600;
    }

        .contacto_area2 label a:hover {
            text-decoration: underline;
        }

/* ===========================================
   SUBMIT BUTTON — Poppins
   =========================================== */

.contacto_btn,
input.contacto_btn,
input[type="button"].contacto_btn {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 0 !important;
    font-size: 1.1rem !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: #111111 !important;
    background: #FFE600 !important;
    border: none !important;
    border-radius: var(--contact-border-radius-sm);
    cursor: pointer;
    transition: all var(--contact-transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 10px 0 0 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-shadow: 0 4px 20px rgba(255, 230, 0, 0.35);
    float: none !important;
    position: static !important;
    align-self: stretch !important;
    text-indent: 0 !important;
    direction: ltr !important;
}

    .contacto_btn:hover {
        background: #FFD000 !important;
        box-shadow: 0 10px 30px rgba(255, 230, 0, 0.50);
        transform: translateY(-2px);
    }

    .contacto_btn:active {
        box-shadow: 0 4px 15px rgba(255, 230, 0, 0.40);
        transform: translateY(0);
    }

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 992px) {
    .contacto_tit h1 {
        font-size: 2.4rem;
    }

    .container_row {
        gap: 24px;
    }

    .tiendas_gral {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .contacto_tit h1 {
        font-size: 2rem;
    }

    .container_cell_col4 {
        min-width: 100%;
    }

    .map-container, .map-canvas {
        min-height: 300px;
    }

    .tiendas_gral {
        padding: 20px;
    }

    .contacto_box, .contacto_box_area {
        padding: 14px 16px;
    }

    .contacto_btn {
        padding: 16px 24px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .contacto_tit h1 {
        font-size: 1.7rem;
    }

    .tiendas_gral > div:first-child strong {
        font-size: 1.1rem;
    }

    .desc_tiendas {
        padding: 16px;
    }
}

/* ===========================================
   ANIMATIONS
   =========================================== */

.contacto_area2 > * {
    animation: contactFadeInUp 0.5s ease backwards;
}

    .contacto_area2 > *:nth-child(1) {
        animation-delay: 0.10s;
    }

    .contacto_area2 > *:nth-child(2) {
        animation-delay: 0.15s;
    }

    .contacto_area2 > *:nth-child(3) {
        animation-delay: 0.20s;
    }

    .contacto_area2 > *:nth-child(4) {
        animation-delay: 0.25s;
    }

    .contacto_area2 > *:nth-child(5) {
        animation-delay: 0.30s;
    }

    .contacto_area2 > *:nth-child(6) {
        animation-delay: 0.35s;
    }

    .contacto_area2 > *:nth-child(7) {
        animation-delay: 0.40s;
    }

    .contacto_area2 > *:nth-child(8) {
        animation-delay: 0.45s;
    }

@keyframes contactFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media print {
    .map-container {
        display: none;
    }

    .contacto_btn {
        display: none !important;
    }
}

input[type="button"].contacto_btn {
    line-height: 1 !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    vertical-align: middle !important;
    height: auto !important;
}