/* =========================================================
   Meupetfugiu
   BASE.CSS
   Identidade: Terra + Areia + Terracota
========================================================= */


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {

    /* -----------------------------------------------------
       IDENTIDADE
    ----------------------------------------------------- */

    --color-primary: #5A3825;
    --color-primary-dark: #3B2418;
    --color-primary-light: #8A5A3B;

    --color-secondary: #8A5A3B;

    --color-accent: #C96B45;
    --color-accent-dark: #A95232;
    --color-accent-light: #E8C0A8;

    --color-sand: #E8D5B5;
    --color-sand-light: #F1C27D;


    /* -----------------------------------------------------
       STATUS
    ----------------------------------------------------- */

    --color-danger: #B94A36;
    --color-danger-dark: #963A29;
    --color-danger-light: #FCE1DC;

    --color-success: #39724A;
    --color-success-dark: #2E5D3C;
    --color-success-light: #DCEFE0;

    --color-warning: #B7791F;
    --color-warning-dark: #936318;
    --color-warning-light: #F9EBCB;


    /* -----------------------------------------------------
       TEXTOS
    ----------------------------------------------------- */

    --color-text: #6B5142;
    --color-text-dark: #3B2418;
    --color-text-light: #8A7567;
    --color-text-muted: #A8988C;


    /* -----------------------------------------------------
       FUNDOS
    ----------------------------------------------------- */

    --color-background: #F8F1E5;
    --color-background-soft: #FFFDF8;
    --color-background-dark: #3B2418;

    --color-white: #FFFFFF;


    /* -----------------------------------------------------
       BORDAS
    ----------------------------------------------------- */

    --color-border: #D8C1A3;
    --color-border-light: #EDE0CC;


    /* -----------------------------------------------------
       SOMBRAS
    ----------------------------------------------------- */

    --shadow-sm:
        0 2px 8px rgba(59, 36, 24, 0.06);

    --shadow-md:
        0 10px 30px rgba(59, 36, 24, 0.10);

    --shadow-lg:
        0 20px 50px rgba(59, 36, 24, 0.14);

    --shadow-primary:
        0 8px 20px rgba(90, 56, 37, 0.20);

    --shadow-accent:
        0 8px 20px rgba(201, 107, 69, 0.22);


    /* -----------------------------------------------------
       ESTRUTURA
    ----------------------------------------------------- */

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --container-width: 1180px;

    --transition: .2s ease;
}


/* =========================================================
   RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--color-background);

    color: var(--color-text);

    line-height: 1.6;

    min-height: 100vh;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: var(--container-width);

    margin: 0 auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   TIPOGRAFIA
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-dark);

    line-height: 1.2;

    font-weight: 700;
}


h1 {
    font-size: 48px;
}


h2 {
    font-size: 36px;
}


h3 {
    font-size: 24px;
}


p {
    color: var(--color-text);

    line-height: 1.7;
}


/* =========================================================
   BOTÕES
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 20px;

    border-radius: var(--radius-md);

    border: 1px solid transparent;

    font-size: 14px;

    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}


.btn:hover {
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   PRIMÁRIO
--------------------------------------------------------- */

.btn-primary {
    background: var(--color-accent);

    color: var(--color-white);

    border-color: var(--color-accent);

    box-shadow: var(--shadow-accent);
}


.btn-primary:hover {
    background: var(--color-accent-dark);

    border-color: var(--color-accent-dark);
}


/* ---------------------------------------------------------
   SECUNDÁRIO
--------------------------------------------------------- */

.btn-secondary {
    background: var(--color-primary);

    color: var(--color-white);

    border-color: var(--color-primary);

    box-shadow: var(--shadow-primary);
}


.btn-secondary:hover {
    background: var(--color-primary-dark);

    border-color: var(--color-primary-dark);
}


/* ---------------------------------------------------------
   OUTLINE
--------------------------------------------------------- */

.btn-outline {
    background: transparent;

    color: var(--color-primary);

    border-color: var(--color-primary);
}


.btn-outline:hover {
    background: var(--color-primary);

    color: var(--color-white);
}


/* =========================================================
   SEÇÕES
========================================================= */

.site-section {
    padding: 90px 0;
}


.section-header {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}


.section-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 7px 13px;

    margin-bottom: 15px;

    border-radius: 50px;

    background: var(--color-sand);

    color: var(--color-accent);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .04em;
}


.section-header h2 {
    margin-bottom: 12px;
}


.section-header p {
    color: var(--color-text-light);

    font-size: 16px;
}


.section-action {
    margin-top: 35px;

    text-align: center;
}


/* =========================================================
   CAROUSEL
========================================================= */

.carousel {
    position: relative;

    display: flex;

    align-items: center;

    gap: 15px;
}


.carousel-track {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    overflow: hidden;
}


.carousel-button {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    border: 1px solid var(--color-border);

    border-radius: 50%;

    background: var(--color-white);

    color: var(--color-primary);

    font-size: 28px;

    line-height: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    box-shadow: var(--shadow-sm);

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}


.carousel-button:hover {
    background: var(--color-primary);

    color: var(--color-white);

    transform: scale(1.05);
}


 
/* =========================================================
   ALERTAS ATIVOS
========================================================= */

.alerts-section {

    background:
        linear-gradient(180deg,
            #F8F2EA 0%,
            #F3E7D9 100%);

}


.alert-card {
    background: var(--color-white);

    border: 1px solid var(--color-border-light);

    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.alert-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}


.alert-card-image {
    height: 210px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--color-sand),
            #F5E5CC
        );
}


.animal-drawing {
    font-size: 90px;

    line-height: 1;

    filter:
        drop-shadow(
            0 8px 8px rgba(59, 36, 24, .12)
        );
}


.alert-card-content {
    padding: 20px;
}


.alert-status {
    display: inline-flex;

    padding: 5px 10px;

    border-radius: 50px;

    background: var(--color-danger-light);

    color: var(--color-danger);

    font-size: 10px;

    font-weight: 800;
}


.alert-card-content h3 {
    margin-top: 10px;

    margin-bottom: 4px;
}


.alert-card-content p {
    margin-bottom: 8px;

    color: var(--color-text-light);
}


.alert-card-content small {
    color: var(--color-text-muted);
}


/* =========================================================
   BLOG
========================================================= */

 
.blog-section {

    background:
        var(--color-background-soft);

}


.blog-card {
    background: var(--color-white);

    border: 1px solid var(--color-border-light);

    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.blog-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}


.blog-card-image {
    height: 190px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--color-sand),
            #F5E5CC
        );
}


.blog-card-image span {
    font-size: 80px;

    filter:
        drop-shadow(
            0 8px 8px rgba(59, 36, 24, .12)
        );
}


.blog-card-content {
    padding: 22px;
}


.blog-category {
    display: inline-flex;

    margin-bottom: 10px;

    color: var(--color-accent);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .05em;
}


.blog-card-content h3 {
    font-size: 21px;

    margin-bottom: 10px;
}


.blog-card-content p {
    margin-bottom: 15px;

    color: var(--color-text-light);

    font-size: 14px;
}


.blog-card-content a {
    color: var(--color-accent);

    font-size: 14px;

    font-weight: 800;
}


.blog-card-content a:hover {
    color: var(--color-accent-dark);
}


/* =========================================================
   DOAÇÕES
========================================================= */

.donation-section {
    padding: 90px 0;

    background: var(--color-primary);
}


.donation-content {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


.donation-section .section-eyebrow {
    background: rgba(255, 255, 255, .12);

    color: var(--color-sand-light);
}


.donation-section h2 {
    color: var(--color-white);

    margin-bottom: 15px;
}


.donation-section p {
    color: rgba(255, 255, 255, .75);

    margin-bottom: 25px;
}


/* =========================================================
   CARDS
========================================================= */

.card {
    background: var(--color-white);

    border: 1px solid var(--color-border-light);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}


/* =========================================================
   FORMULÁRIOS
========================================================= */

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


.form-label {
    display: block;

    margin-bottom: 7px;

    color: var(--color-text-dark);

    font-size: 14px;

    font-weight: 700;
}


.form-control {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-md);

    background: var(--color-white);

    color: var(--color-text);

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}


.form-control:focus {
    border-color: var(--color-accent);

    box-shadow:
        0 0 0 3px
        rgba(201, 107, 69, .12);
}


/* =========================================================
   STATUS
========================================================= */

.status {
    display: inline-flex;

    align-items: center;

    padding: 5px 10px;

    border-radius: 50px;

    font-size: 11px;

    font-weight: 800;
}


.status-lost {
    background: var(--color-danger-light);

    color: var(--color-danger);
}


.status-found {
    background: var(--color-success-light);

    color: var(--color-success);
}


/* =========================================================
   UTILITÁRIOS
========================================================= */

.text-center {
    text-align: center;
}


.text-primary {
    color: var(--color-primary);
}


.text-accent {
    color: var(--color-accent);
}


.text-muted {
    color: var(--color-text-muted);
}


.bg-white {
    background: var(--color-white);
}


.bg-soft {
    background: var(--color-background-soft);
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1000px) {

    h1 {
        font-size: 42px;
    }


    h2 {
        font-size: 32px;
    }


    .carousel-track {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    h1 {
        font-size: 34px;
    }


    h2 {
        font-size: 28px;
    }


    .site-section {
        padding: 65px 0;
    }


    .carousel {
        gap: 8px;
    }


    .carousel-track {
        grid-template-columns: 1fr;
    }


    .carousel-button {
        width: 38px;
        height: 38px;

        font-size: 24px;
    }


    .alert-card-image {
        height: 180px;
    }


    .blog-card-image {
        height: 170px;
    }


    .donation-section {
        padding: 65px 0;
    }

}


@media (max-width: 480px) {

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }


    .btn {
        width: 100%;
    }


    .buttons {
        flex-direction: column;
    }

}


.app-nav-badge {
    position: absolute;

    top: 50%;
    right: 12px;

    transform: translateY(-50%);

    width: 18px;
    height: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border-radius: 50%;

    background: #E41E3F;
    color: #FFFFFF;

    font-size: 9px;
    font-weight: 700;
    line-height: 1;

    flex: none;
}

.app-navigation {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.app-nav-item {
    position: relative;

    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;

    gap: 14px;
    padding: 0 16px;

    border-radius: 12px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 15px;
    font-weight: 700;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.app-nav-item:not(:last-child)::after {
    content: "";

    position: absolute;

    left: 16px;
    right: 16px;
    bottom: -3px;

    height: 1px;

    background: rgba(255, 255, 255, 0.06);
}

.app-nav-item:hover {
    background: rgba(255, 255, 255, 0.10);

    color: var(--color-white);

    transform: translateX(3px);
}


/* ============================================================
   LOADER GLOBAL
   ============================================================ */

.global-loader {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(250, 247, 242, 0.92);

    backdrop-filter: blur(3px);

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.global-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.global-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 14px;
}

.global-loader-image {
    width: 72px;
    height: 72px;

    object-fit: contain;
}

.global-loader-text {
    margin: 0;

    font-size: 13px;
    font-weight: 600;

    color: #8f4f38;

    text-align: center;
}



.footer-contact-link {

    display: flex;
    align-items: center;

    gap: 10px;

    transition:
        color var(--transition),
        transform var(--transition);

}


.footer-contact-link:hover {

    color: var(--color-accent);

    transform: translateX(3px);

}


.footer-contact-icon {

    width: 32px;
    height: 32px;

    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);

    color:
        var(--color-sand-light);

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);

}


.footer-contact-icon svg {

    width: 17px;
    height: 17px;

    fill: currentColor;

}


.footer-contact-link:hover .footer-contact-icon {

    background:
        var(--color-accent);

    color:
        var(--color-white);

    transform: scale(1.06);

}


.organizations-section {
    background: rgba(255, 255, 255, .12);
    color: var(--color-sand-light);
}

/* =========================================================
   ORGANIZAÇÕES
========================================================= */

.organizations-section {

    background:
        var(--color-primary);

    color:
        var(--color-sand-light);

}


/* ---------------------------------------------------------
   CABEÇALHO
--------------------------------------------------------- */

.organizations-section .section-header h2 {

    color:
        var(--color-white);

}


.organizations-section .section-header p {

    color:
        var(--color-sand);

}


.organizations-section .section-eyebrow {

    background:
        rgba(255, 255, 255, .12);

    color:
        var(--color-sand-light);

}


/* ---------------------------------------------------------
   GRID DE TIPOS
--------------------------------------------------------- */

.organizations-grid {

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 35px;

}


.organization-item {

    min-height: 130px;

    padding:
        20px 12px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    background:
        rgba(255, 255, 255, .08);

    border:
        1px solid rgba(255, 255, 255, .14);

    border-radius:
        var(--radius-lg);

    text-align: center;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);

}


.organization-item:hover {

    transform:
        translateY(-4px);

    background:
        rgba(255, 255, 255, .13);

    border-color:
        rgba(255, 255, 255, .25);

}


.organization-icon {

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .12);

    font-size: 26px;

    line-height: 1;

}


.organization-item strong {

    color:
        var(--color-white);

    font-size: 14px;

}


/* ---------------------------------------------------------
   MENSAGEM DE SEGURANÇA
--------------------------------------------------------- */

.organizations-message {

    max-width: 820px;

    margin:
        0 auto;

    padding:
        24px 28px;

    display: flex;

    align-items: center;

    gap: 20px;

    background:
        rgba(255, 255, 255, .08);

    border:
        1px solid rgba(255, 255, 255, .14);

    border-radius:
        var(--radius-lg);

}


.organizations-message-icon {

    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .12);

    font-size: 28px;

}


.organizations-message-content {

    min-width: 0;

}


.organizations-message-content strong {

    display: block;

    margin-bottom: 5px;

    color:
        var(--color-white);

    font-size: 17px;

}


.organizations-message-content p {

    margin: 0;

    color:
        var(--color-sand);

    font-size: 14px;

}


/* ---------------------------------------------------------
   BOTÃO
--------------------------------------------------------- */

.organizations-section .section-action {

    margin-top: 32px;

}


.organizations-section .btn-primary {

    background:
        var(--color-accent);

    border-color:
        var(--color-accent);

    color:
        var(--color-white);

}


.organizations-section .btn-primary:hover {

    background:
        var(--color-accent-dark);

    border-color:
        var(--color-accent-dark);

}


/* =========================================================
   ORGANIZAÇÕES — RESPONSIVO
========================================================= */

@media (max-width: 1000px) {

    .organizations-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }

}


@media (max-width: 700px) {

    .organizations-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;

    }


    .organization-item {

        min-height: 115px;

        padding:
            16px 10px;

    }


    .organizations-message {

        align-items:
            flex-start;

        padding:
            20px;

    }

}



@media (max-width: 480px) {

    .organizations-message {

        flex-direction:
            column;

        align-items:
            center;

        text-align:
            center;

    }

}


/* =========================================================
   CUSTOM SELECT — MEUPETFUGIU
========================================================= */


/* ---------------------------------------------------------
   SELECT NATIVO

   Continua existindo para:
   - value
   - required
   - formulário
   - JS existente
   - backend

   Mas não participa mais do layout visual.
--------------------------------------------------------- */

.pet-form select.pet-native-select {

    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    margin: -1px !important;
    padding: 0 !important;

    overflow: hidden !important;

    clip: rect(
        0,
        0,
        0,
        0
    ) !important;

    clip-path:
        inset(50%) !important;

    white-space:
        nowrap !important;

    border: 0 !important;

}


/* ---------------------------------------------------------
   CONTAINER
--------------------------------------------------------- */

.pet-custom-select {

    position:
        relative;

    width:
        100%;

    min-width:
        0;

    box-sizing:
        border-box;

    font-family:
        inherit;

}


/* ---------------------------------------------------------
   BOTÃO PRINCIPAL
--------------------------------------------------------- */

.pet-custom-select-trigger {

    width:
        100%;

    min-width:
        0;

    height:
        45px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        12px;

    padding:
        0 13px;

    box-sizing:
        border-box;

    border:
    1px solid var(--color-border);

    border-radius:
        12px;

    outline:
        none;

    background:
        var(--color-white);

    color:
        var(
            --color-text-dark
        );

    font-family:
        inherit;

    font-size:
        13px;

    font-weight:
        500;

    line-height:
        1;

    text-align:
        left;

    cursor:
        pointer;

    box-shadow:
        0 1px 0
        rgba(
            99,
            61,
            41,
            0.02
        );

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;

}


/* ---------------------------------------------------------
   TEXTO
--------------------------------------------------------- */

.pet-custom-select-value {

    flex:
        1;

    min-width:
        0;

    overflow:
        hidden;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

}


/* ---------------------------------------------------------
   PLACEHOLDER
--------------------------------------------------------- */

.pet-custom-select:not(.has-value)
.pet-custom-select-value {

    color:
        #8E7769;

}


/* ---------------------------------------------------------
   SETA
--------------------------------------------------------- */

.pet-custom-select-arrow {

    width:
        18px;

    height:
        18px;

    flex:
        0 0 18px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        #8E7769;

    transition:
        transform .18s ease,
        color .18s ease;

}


.pet-custom-select-arrow svg {

    display:
        block;

}


/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.pet-custom-select:not(.is-disabled)
.pet-custom-select-trigger:hover {

    border-color:
        #C9AE95;

}


/* ---------------------------------------------------------
   ABERTO
--------------------------------------------------------- */

.pet-custom-select.is-open
.pet-custom-select-trigger {

    border-color:
        var(
            --color-accent
        );

    background:
        #FFFFFF;

    box-shadow:
        0 0 0 3px
        rgba(
            201,
            107,
            69,
            0.10
        );

}


.pet-custom-select.is-open
.pet-custom-select-arrow {

    color:
        var(
            --color-accent
        );

    transform:
        rotate(180deg);

}


/* ---------------------------------------------------------
   DISABLED
--------------------------------------------------------- */

.pet-custom-select.is-disabled
.pet-custom-select-trigger {

    background:
        #F7F2ED;

    border-color:
        #E6D8CA;

    color:
        #A18E82;

    cursor:
        not-allowed;

    box-shadow:
        none;

}


.pet-custom-select.is-disabled
.pet-custom-select-arrow {

    color:
        #B7A69B;

}


/* =========================================================
   DROPDOWN
========================================================= */

.pet-custom-select-dropdown {

    position:
        absolute;

    z-index:
        1000;

    top:
        calc(
            100% + 7px
        );

    left:
        0;

    right:
        0;

    width:
        100%;

    min-width:
        0;

    box-sizing:
        border-box;

    padding:
        6px;

    background:
        #FFFEFC;

    border:
        1px solid #DECBB8;

    border-radius:
        14px;

    box-shadow:
        0 16px 35px
        rgba(
            59,
            36,
            24,
            0.14
        );

    opacity:
        0;

    visibility:
        hidden;

    pointer-events:
        none;

    transform:
        translateY(-5px);

    transform-origin:
        top center;

    transition:
        opacity .15s ease,
        visibility .15s ease,
        transform .15s ease;

}


/* ---------------------------------------------------------
   DROPDOWN ABERTO
--------------------------------------------------------- */

.pet-custom-select.is-open
.pet-custom-select-dropdown {

    opacity:
        1;

    visibility:
        visible;

    pointer-events:
        auto;

    transform:
        translateY(0);

}


/* ---------------------------------------------------------
   ÁREA DAS OPÇÕES
--------------------------------------------------------- */

.pet-custom-select-options {

    width:
        100%;

    max-height:
        250px;

    overflow-x:
        hidden;

    overflow-y:
        auto;

    overscroll-behavior:
        contain;

    scrollbar-width:
        thin;

    scrollbar-color:
        #DECBB8
        transparent;

}


/* ---------------------------------------------------------
   SCROLLBAR
--------------------------------------------------------- */

.pet-custom-select-options::-webkit-scrollbar {

    width:
        6px;

}


.pet-custom-select-options::-webkit-scrollbar-track {

    background:
        transparent;

}


.pet-custom-select-options::-webkit-scrollbar-thumb {

    background:
        #DECBB8;

    border-radius:
        999px;

}


/* =========================================================
   OPÇÃO
========================================================= */

.pet-custom-select-option {

    width:
        100%;

    min-height:
        40px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        10px;

    padding:
        9px 10px;

    box-sizing:
        border-box;

    border:
        0;

    border-radius:
        9px;

    background:
        transparent;

    color:
    var(--color-text-dark);

    font-family:
        inherit;

    font-size:
        13px;

    font-weight:
        600;

    line-height:
        1.35;

    text-align:
        left;

    cursor:
        pointer;

    transition:
        background .15s ease,
        color .15s ease;

}


/* ---------------------------------------------------------
   TEXTO DA OPÇÃO
--------------------------------------------------------- */

.pet-custom-select-option-text {

    flex:
        1;

    min-width:
        0;

}


/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.pet-custom-select-option:hover {

    background:
        #F8EFE7;

    color:
        var(
            --color-accent-dark
        );

}


/* ---------------------------------------------------------
   SELECIONADO
--------------------------------------------------------- */

.pet-custom-select-option.is-selected {

    background:
        rgba(
            201,
            107,
            69,
            0.11
        );

    color:
        var(
            --color-accent-dark
        );

    font-weight:
        800;

}


/* ---------------------------------------------------------
   CHECK
--------------------------------------------------------- */

.pet-custom-select-check {

    width:
        22px;

    height:
        22px;

    flex:
        0 0 22px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(
            --color-accent
        );

    color:
        #FFFFFF;

    font-size:
        11px;

    font-weight:
        900;

    opacity:
        0;

    transform:
        scale(.75);

    transition:
        opacity .15s ease,
        transform .15s ease;

}


.pet-custom-select-option.is-selected
.pet-custom-select-check {

    opacity:
        1;

    transform:
        scale(1);

}


/* ---------------------------------------------------------
   OPTION DISABLED
--------------------------------------------------------- */

.pet-custom-select-option.is-disabled {

    color:
        #B7A69B;

    cursor:
        not-allowed;

    opacity:
        .7;

}


/* =========================================================
   MOBILE
========================================================= */

@media (
    max-width:
    700px
) {

    .pet-custom-select-trigger {

        height:
            50px;

        min-height:
            50px;

        padding:
            0 14px;

        border-radius:
            14px;

        font-size:
            16px;

    }


    .pet-custom-select-dropdown {

        top:
            calc(
                100% + 6px
            );

        width:
            100%;

        max-width:
            100%;

        padding:
            6px;

        border-radius:
            14px;

        box-shadow:
            0 14px 30px
            rgba(
                59,
                36,
                24,
                0.16
            );

    }


    .pet-custom-select-options {

        max-height:
            min(
                300px,
                42vh
            );

    }


    .pet-custom-select-option {

        min-height:
            47px;

        padding:
            11px 12px;

        border-radius:
            10px;

        font-size:
            15px;

    }


    .pet-custom-select-check {

        width:
            23px;

        height:
            23px;

        flex-basis:
            23px;

    }

}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (
    max-width:
    420px
) {

    .pet-custom-select-dropdown {

        border-radius:
            13px;

    }


    .pet-custom-select-option {

        min-height:
            46px;

        font-size:
            14px;

    }

}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
========================================================= */

@media (
    prefers-reduced-motion:
    reduce
) {

    .pet-custom-select-trigger,
    .pet-custom-select-arrow,
    .pet-custom-select-dropdown,
    .pet-custom-select-option,
    .pet-custom-select-check {

        transition:
            none;

    }

}

/* ============================================================
   CUSTOM SELECT GLOBAL
   Esconde o <select> nativo após o componente ser criado
============================================================ */

select.pet-native-select {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;

    opacity: 0 !important;

    pointer-events: none !important;
}

.estabelecimentos-voltar { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--color-primary); font-size: 13px; font-weight: 800; text-decoration: none; }
