

/* =========================================================
   RESET / VARIÁVEIS
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d7a436;
    --gold-light: #f4d278;
    --gold-dark: #9c6d18;

    --brown: #25180f;
    --brown-dark: #100b08;

    --text: #211d18;
    --muted: #8f8b86;

    --border: #ebe8e3;
    --soft: #f8f7f5;

    --promo: #a92d27;

    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100dvh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(181,116,37,.28),
            transparent 31%
        ),
        radial-gradient(
            circle at 88% 82%,
            rgba(126,74,24,.22),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #25180f 0%,
            #100b08 52%,
            #1c120c 100%
        );

    color: var(--text);

    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

body::before {
    content: "BC";

    position: fixed;

    right: -80px;
    top: 38%;

    font-size: min(34vw, 520px);
    font-weight: 900;
    line-height: .8;

    color: rgba(255,255,255,.018);

    pointer-events: none;
}


/* =========================================================
   APP
========================================================= */

.app {
    position: relative;
    z-index: 2;

    width: 100%;

    /*
     * Desktop passa a utilizar boa parte
     * da largura disponível.
     */
    max-width: 1480px;

    margin: auto;

    padding:
        max(20px, env(safe-area-inset-top))
        28px
        60px;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    min-height: 145px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 118px;
    height: 118px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 12px 22px
            rgba(0,0,0,.32)
        );

    animation:
        logoIn .7s
        cubic-bezier(.22,1,.36,1);
}

@keyframes logoIn {

    from {
        opacity: 0;

        transform:
            translateY(-12px)
            scale(.94);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   CATÁLOGO
========================================================= */

.catalog-card {
    width: 100%;

    background:
        rgba(255,255,255,.985);

    border:
        1px solid
        rgba(255,255,255,.70);

    border-radius: 30px;

    padding:
        36px
        32px
        40px;

    box-shadow:
        0 40px 100px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.85);

    animation:
        catalogIn .6s
        cubic-bezier(.22,1,.36,1);
}

@keyframes catalogIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TÍTULO
========================================================= */

.catalog-header {
    text-align: center;

    margin-bottom: 27px;
}

.catalog-subtitle {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--gold-dark);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}

.catalog-header h1 {
    margin-bottom: 8px;

    color: #211d18;

    font-size: 29px;
    font-weight: 900;

    letter-spacing: -.8px;
}

.catalog-header p {
    color: #999;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   BUSCA
========================================================= */

.search {
    position: relative;

    margin-bottom: 15px;
}

.search input {
    width: 100%;
    height: 55px;

    padding:
        0
        52px
        0
        19px;

    border:
        1px solid
        #e5e2de;

    border-radius: 17px;

    outline: none;

    background: #faf9f8;

    color: #333;

    font-size: 13px;

    transition:
        border-color .2s,
        background .2s,
        box-shadow .2s;
}

.search input::placeholder {
    color: #aaa;
}

.search input:focus {
    background: #fff;

    border-color: var(--gold);

    box-shadow:
        0 0 0 4px
        rgba(215,164,54,.10);
}

.search-icon {
    position: absolute;

    right: 19px;
    top: 50%;

    transform:
        translateY(-50%);

    color: #9d8a65;

    font-size: 15px;

    pointer-events: none;
}


/* =========================================================
   FILTROS
========================================================= */

.filters {
    display: flex;

    align-items: center;

    gap: 8px;

    overflow-x: auto;

    padding:
        1px
        1px
        23px;

    scrollbar-width: none;

    scroll-behavior: smooth;
}

.filters::-webkit-scrollbar {
    display: none;
}

.filter {
    flex: 0 0 auto;

    min-height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding:
        0
        17px;

    border:
        1px solid
        #e7e3de;

    border-radius: 30px;

    background: #fff;

    color: #777;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s,
        background .2s,
        color .2s,
        border-color .2s,
        box-shadow .2s;
}

.filter:hover {
    border-color:
        rgba(215,164,54,.55);

    color: #76551a;
}

.filter:active {
    transform: scale(.95);
}

.filter.active {
    border-color: var(--gold);

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    color: #3d2b0d;

    box-shadow:
        0 6px 15px
        rgba(186,128,23,.18);
}


/* PROMOÇÃO */

.filter-promo {
    margin-left: 3px;

    border-color:
        rgba(169,45,39,.18);

    background:
        rgba(169,45,39,.055);

    color: var(--promo);
}

.filter-promo i {
    font-size: 10px;
}

.filter-promo:hover {
    border-color:
        rgba(169,45,39,.35);

    color: var(--promo);
}

.filter-promo.active {
    border-color: #922822;

    background:
        linear-gradient(
            135deg,
            #b83b34,
            #8f241f
        );

    color: #fff;

    box-shadow:
        0 6px 16px
        rgba(169,45,39,.20);
}


/* =========================================================
   GRID

   PADRÃO DESKTOP = 4 PRODUTOS
========================================================= */

.products {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   PRODUTO
========================================================= */

.product {
    position: relative;

    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background: #fff;

    cursor: pointer;

    box-shadow:
        0 7px 20px
        rgba(0,0,0,.055);

    transition:
        transform .28s cubic-bezier(.22,1,.36,1),
        box-shadow .28s,
        border-color .28s;
}

.product:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(215,164,54,.40);

    box-shadow:
        0 18px 38px
        rgba(0,0,0,.11);
}

.product:active {
    transform: scale(.985);
}


/* =========================================================
   IMAGEM
========================================================= */

.product-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1.04;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #fff,
            #f2f0ed
        );
}

.product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .55s
        cubic-bezier(.22,1,.36,1);
}

.product:hover
.product-image img {
    transform: scale(1.045);
}


/* =========================================================
   TAG PROMOÇÃO
========================================================= */

.promo-tag {
    position: absolute;

    z-index: 5;

    left: 11px;
    top: 11px;

    min-height: 30px;

    display: flex;
    align-items: center;

    gap: 6px;

    padding:
        0
        11px;

    border:
        1px solid
        rgba(255,255,255,.20);

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #b83b34,
            #8e241f
        );

    color: #fff;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .4px;

    text-transform: uppercase;

    box-shadow:
        0 7px 18px
        rgba(143,36,31,.25);

    animation:
        promoIn .5s
        cubic-bezier(.22,1,.36,1);
}

.promo-tag i {
    font-size: 9px;
}

@keyframes promoIn {

    from {
        opacity: 0;

        transform:
            translateY(-6px)
            scale(.92);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   FOTOS / COR
========================================================= */

.photo-count {
    position: absolute;

    z-index: 4;

    right: 10px;
    top: 10px;

    min-height: 29px;

    display: flex;
    align-items: center;

    gap: 5px;

    padding:
        0
        10px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 20px;

    background:
        rgba(25,20,15,.72);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: #fff;

    font-size: 8px;
}

.color-dot {
    position: absolute;

    z-index: 4;

    left: 10px;
    bottom: 10px;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    border:
        3px solid
        #fff;

    box-shadow:
        0 3px 9px
        rgba(0,0,0,.18);
}


/* =========================================================
   INFORMAÇÕES
========================================================= */

.product-info {
    padding:
        14px
        13px
        14px;
}

.product-name {
    min-height: 32px;

    margin-bottom: 4px;

    color: #28231e;

    font-size: 12px;
    font-weight: 900;

    line-height: 1.3;

    text-transform: uppercase;
}

.product-color {
    margin-bottom: 9px;

    color: #999;

    font-size: 9px;
}


/* =========================================================
   PREÇO
========================================================= */

.price-area {
    min-height: 50px;

    margin-bottom: 11px;
}

.old-price {
    display: block;

    min-height: 14px;

    margin-bottom: 1px;

    color: #aaa;

    font-size: 9px;

    text-decoration: line-through;
}

.product-price {
    color: #201a14;

    font-size: 19px;
    font-weight: 900;

    letter-spacing: -.4px;
}

.product-price small {
    color: #777;

    font-size: 9px;
    font-weight: 600;
}

.promo-price {
    color: var(--promo);
}


/* =========================================================
   TAMANHOS
========================================================= */

.size-label {
    margin-bottom: 7px;

    color: #aaa;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: .45px;

    text-transform: uppercase;
}

.sizes {
    display: flex;

    flex-wrap: wrap;

    gap: 5px;
}

.size {
    min-width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(215,164,54,.28);

    border-radius: 8px;

    background:
        rgba(215,164,54,.11);

    color: #805b13;

    font-size: 9px;
    font-weight: 900;
}


/* =========================================================
   VER PRODUTO
========================================================= */

.view-product {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 13px;

    padding-top: 11px;

    border-top:
        1px solid
        #f0eeeb;

    color:
        var(--gold-dark);

    font-size: 8px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .35px;
}

.view-product i {
    transition:
        transform .2s;
}

.product:hover
.view-product i {
    transform:
        translateX(4px);
}


/* =========================================================
   SEM RESULTADOS
========================================================= */

.no-results {
    display: none;

    text-align: center;

    padding:
        65px
        20px;

    color: #aaa;
}

.no-results i {
    display: block;

    margin-bottom: 13px;

    color: #d0cbc4;

    font-size: 32px;
}

.no-results strong {
    display: block;

    margin-bottom: 6px;

    color: #777;

    font-size: 14px;
}

.no-results span {
    font-size: 10px;
}


/* =========================================================
   MODAL
========================================================= */

.product-modal {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding:
        max(20px, env(safe-area-inset-top))
        18px
        max(20px, env(safe-area-inset-bottom));

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(215,164,54,.11),
            transparent 40%
        ),
        rgba(9,6,4,.86);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .30s ease,
        visibility .30s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   MODAL CONTENT
========================================================= */

.modal-content {
    position: relative;

    width: 100%;
    max-width: 620px;

    max-height:
        calc(
            100dvh -
            40px -
            env(safe-area-inset-top) -
            env(safe-area-inset-bottom)
        );

    overflow-x: hidden;
    overflow-y: auto;

    background: #fff;

    border:
        1px solid
        rgba(255,255,255,.70);

    border-radius: 28px;

    box-shadow:
        0 40px 110px rgba(0,0,0,.52),
        0 12px 35px rgba(0,0,0,.20);

    opacity: 0;

    transform:
        translateY(28px)
        scale(.965);

    overscroll-behavior: contain;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(166,119,29,.30)
        transparent;

    transition:
        transform .42s cubic-bezier(.22,1,.36,1),
        opacity .30s ease;
}

.product-modal.active
.modal-content {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

.modal-content::-webkit-scrollbar {
    width: 4px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background:
        rgba(166,119,29,.30);

    border-radius: 20px;
}


/* =========================================================
   GALERIA
========================================================= */

.gallery {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius:
        27px
        27px
        0
        0;

    background:
        radial-gradient(
            circle at 50% 43%,
            #fff 0%,
            #f8f7f5 55%,
            #f0eeeb 100%
        );
}

.gallery-track {
    display: flex;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    touch-action: pan-x;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    position: relative;

    flex: 0 0 100%;

    width: 100%;

    aspect-ratio: 1 / .88;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    scroll-snap-align: center;
    scroll-snap-stop: always;

    background:
        linear-gradient(
            145deg,
            #fbfaf8,
            #f1efec
        );
}

.gallery-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    padding: 16px;

    user-select: none;

    -webkit-user-drag: none;
}


/* =========================================================
   MODAL PROMOÇÃO
========================================================= */

.modal-promo-tag {
    display: none;

    width: fit-content;

    min-height: 27px;

    align-items: center;

    gap: 6px;

    margin-bottom: 9px;

    padding:
        0
        10px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #b83b34,
            #8f241f
        );

    color: #fff;

    font-size: 8px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.modal-promo-tag.show {
    display: inline-flex;
}

.modal-old-price {
    display: none;

    margin-bottom: 3px;

    color: #aaa;

    font-size: 11px;

    text-decoration: line-through;
}

.modal-old-price.show {
    display: block;
}


/* =========================================================
   BOTÃO FECHAR
========================================================= */

.modal-close {
    position: absolute;

    right: 15px;
    top: 15px;

    z-index: 30;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.30);

    border-radius: 50%;

    background:
        rgba(24,20,16,.76);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #fff;

    font-size: 14px;

    cursor: pointer;

    box-shadow:
        0 7px 20px
        rgba(0,0,0,.20);

    transition:
        transform .25s,
        background .25s;
}

.modal-close:hover {
    transform: rotate(90deg);

    background:
        rgba(20,16,12,.96);
}


/* =========================================================
   SETAS
========================================================= */

.gallery-arrow {
    position: absolute;

    top: 50%;

    transform:
        translateY(-50%);

    z-index: 20;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.80);

    border-radius: 50%;

    background:
        rgba(255,255,255,.88);

    backdrop-filter: blur(10px);

    color: #443827;

    font-size: 12px;

    cursor: pointer;

    box-shadow:
        0 6px 20px
        rgba(0,0,0,.13);
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}


/* =========================================================
   CONTADOR
========================================================= */

.gallery-counter {
    position: absolute;

    right: 16px;
    bottom: 15px;

    z-index: 20;

    min-width: 48px;
    height: 29px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding:
        0
        10px;

    border-radius: 30px;

    background:
        rgba(26,21,17,.72);

    backdrop-filter: blur(10px);

    color: #fff;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .5px;
}


/* =========================================================
   MINIATURAS
========================================================= */

.thumbnails {
    display: flex;

    gap: 8px;

    overflow-x: auto;

    padding:
        13px
        18px
        9px;

    background: #fff;

    scrollbar-width: none;

    scroll-behavior: smooth;
}

.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    flex: 0 0 62px;

    width: 62px;
    height: 62px;

    padding: 3px;

    overflow: hidden;

    border:
        1px solid
        #ebe8e3;

    border-radius: 13px;

    background: #f8f7f5;

    cursor: pointer;

    opacity: .55;

    transform: scale(.95);

    transition:
        opacity .20s,
        transform .20s,
        border-color .20s;
}

.thumbnail img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 9px;
}

.thumbnail.active {
    opacity: 1;

    transform: scale(1);

    border-color: var(--gold);

    box-shadow:
        0 0 0 2px
        rgba(215,164,54,.10);
}


/* =========================================================
   DETALHES MODAL
========================================================= */

.modal-details {
    padding:
        14px
        20px
        31px;

    background: #fff;
}

.modal-category {
    display: inline-flex;

    align-items: center;

    min-height: 25px;

    margin-bottom: 8px;

    padding:
        0
        9px;

    border-radius: 20px;

    background:
        rgba(215,164,54,.10);

    color: var(--gold-dark);

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.modal-name {
    max-width: 90%;

    margin:
        0
        0
        8px;

    color: #201c17;

    font-size:
        clamp(
            22px,
            5vw,
            28px
        );

    font-weight: 900;

    line-height: 1.15;

    letter-spacing: -.7px;
}

.modal-price {
    position: relative;

    display: inline-block;

    margin-bottom: 24px;

    color: #17130f;

    font-size: 28px;
    font-weight: 900;

    letter-spacing: -.8px;
}

.modal-price.is-promo {
    color: var(--promo);
}

.modal-price::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 36px;
    height: 2px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--gold-light)
        );
}


/* =========================================================
   PROPRIEDADES
========================================================= */

.modal-properties {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 9px;

    margin-bottom: 24px;
}

.property {
    min-height: 64px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        10px
        12px;

    border:
        1px solid
        #ebe8e3;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #fafafa,
            #f7f6f4
        );
}

.property-label {
    margin-bottom: 6px;

    color: #aaa;

    font-size: 7px;
    font-weight: 800;

    text-transform: uppercase;
}

.property-value {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #3d3832;

    font-size: 10px;
    font-weight: 800;
}

.property-color {
    width: 18px;
    height: 18px;

    border-radius: 50%;

    border:
        2px solid
        #fff;

    box-shadow:
        0 0 0 1px
        #d8d5d0;
}


/* =========================================================
   TAMANHOS MODAL
========================================================= */

.modal-size-title {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 11px;
}

.modal-size-title strong {
    color: #302b25;

    font-size: 11px;
    font-weight: 900;
}

.modal-size-title span {
    color: #aaa;

    font-size: 8px;

    white-space: nowrap;
}

.modal-sizes {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 26px;
}

.modal-size {
    width: 49px;
    height: 49px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(197,139,29,.25);

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #f8d77f,
            #e8b548
        );

    color: #49340c;

    font-size: 12px;
    font-weight: 900;

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.45),
        0 5px 12px
        rgba(185,128,22,.12);
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.description {
    position: relative;

    padding:
        20px
        0
        3px;

    border-top:
        1px solid
        #eeeae5;
}

.description::before {
    content: "";

    position: absolute;

    left: 0;
    top: -1px;

    width: 38px;
    height: 2px;

    background: var(--gold);

    border-radius: 20px;
}

.description strong {
    display: block;

    margin-bottom: 9px;

    color: #302b25;

    font-size: 10px;
    font-weight: 900;
}

.description p {
    color: #77716a;

    font-size: 10px;

    line-height: 1.75;
}


/* =========================================================
   FALLBACK DE IMAGEM
========================================================= */

.image-error {
    position: relative;

    background:
        radial-gradient(
            circle at center,
            #fff,
            #f1efeb
        ) !important;
}

.image-error::after {
    content: "\f1b0";

    font-family:
        "Font Awesome 6 Free";

    font-weight: 900;

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%,-50%);

    color:
        rgba(166,119,29,.15);

    font-size: 35px;
}


/* =========================================================
   RESPONSIVIDADE

   >= 1200 = 4 COLUNAS
   850-1199 = 3 COLUNAS
   < 850 = 2 COLUNAS
========================================================= */


/* NOTEBOOK / TABLET GRANDE */

@media(max-width:1199px) {

    .app {
        max-width: 1050px;
    }

    .products {
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

}


/* TABLET */

@media(max-width:849px) {

    .app {
        max-width: 720px;

        padding-left: 18px;
        padding-right: 18px;
    }

    .catalog-card {
        padding:
            30px
            22px
            34px;
    }

    .products {
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap: 13px;
    }

}


/* CELULAR */

@media(max-width:600px) {

    .app {
        padding:
            max(
                10px,
                env(safe-area-inset-top)
            )
            8px
            35px;
    }

    .header {
        min-height: 132px;
    }

    .logo {
        width: 105px;
        height: 105px;
    }

    .catalog-card {
        padding:
            25px
            10px
            27px;

        border-radius: 25px;
    }

    .catalog-header {
        margin-bottom: 20px;
    }

    .catalog-header h1 {
        font-size: 22px;
    }

    .catalog-header p {
        font-size: 10px;
    }

    .search input {
        height: 51px;
    }

    .filters {
        padding-bottom: 18px;
    }

    .filter {
        min-height: 35px;

        padding:
            0
            14px;

        font-size: 9px;
    }

    .products {
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap: 8px;
    }

    .product {
        border-radius: 17px;
    }

    .product-info {
        padding:
            11px
            8px
            12px;
    }

    .product-name {
        font-size: 10px;
    }

    .product-price {
        font-size: 16px;
    }

    .price-area {
        min-height: 46px;
    }

    .promo-tag {
        left: 7px;
        top: 7px;

        min-height: 25px;

        padding:
            0
            8px;

        font-size: 7px;
    }

    .photo-count {
        right: 7px;
        top: 7px;
    }

    .product-modal {
        padding:
            max(
                10px,
                env(safe-area-inset-top)
            )
            9px
            max(
                10px,
                env(safe-area-inset-bottom)
            );
    }

    .modal-content {
        max-height:
            calc(
                100dvh -
                20px -
                env(safe-area-inset-top) -
                env(safe-area-inset-bottom)
            );

        border-radius: 24px;
    }

    .gallery {
        border-radius:
            23px
            23px
            0
            0;
    }

    .gallery-slide {
        aspect-ratio: 1 / .96;
    }

    .modal-details {
        padding:
            13px
            15px
            27px;
    }

}


/* CELULAR PEQUENO */

@media(max-width:360px) {

    .product-name {
        font-size: 9px;
    }

    .product-price {
        font-size: 15px;
    }

    .size {
        min-width: 27px;
        height: 27px;
    }

    .modal-size {
        width: 44px;
        height: 44px;
    }

}


/* ACESSIBILIDADE */

@media(prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

}

