/* todos */

@import url('https://fonts.googleapis.com/css2?family=Hurricane&family=Konkhmer+Sleokchher&family=Kranky&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Questrial&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Hurricane&family=Konkhmer+Sleokchher&family=Kranky&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Questrial&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Hurricane&family=Konkhmer+Sleokchher&family=Kranky&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Questrial&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
}

body {
    height: 100%;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 132px;
    background-color: #EDE6DC;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

header a {
    text-decoration: none;
    color: #000;
    padding-left: 30px;
}

header b {
    font-family: "Hurricane", cursive;
    font-size: 70px;
    font-weight: 100;
    width: 20%;
    text-align: center;
}

#paginas {
    width: 40%;
    text-align: left;
    padding-left: 3%;
}

#paginas a {
    text-decoration: none;
    color: black;
    font-size: 19px;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    margin-left: 4%;
}

#paginas a:hover {
    text-decoration: underline;
}

#icones {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    /* espaço uniforme entre todos os ícones */
    padding-right: 3%;
}

#icones svg,
.cart-button svg {
    width: 34px;
    height: 34px;
    /* garante altura igual */
}

#dropdow {
    display: grid;
    position: fixed;
    width: 120px;
    height: 110px;
    background-color: #EDE6DC;
    text-align: left;
    font-size: 1rem;
    transition: 0.4s;
    top: 9%;
    margin-left: 0.6%;
    visibility: hidden;
    opacity: 0;
}

#hover_dropdow:hover~#dropdow {
    opacity: 1;
    visibility: inherit;
}

#dropdow:hover {
    opacity: 1;
    visibility: inherit;
}

#menu-hamburger,
#menu-lateral {
    display: none;
}

/* menu celular */

#menu-toggle {
    display: none;
}

#menu-hamburger {
    display: none;
    font-size: 20px;
    cursor: pointer;
    color: #000;
    align-items: center;
    gap: 8px;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    position: relative;
    right: 0;
    padding-right: 20px;
}

.hamburger-icon {
    font-size: 24px;
}

#menu-lateral {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #EDE6DC 0%, #f6f1ea 100%);
    padding: 30px 20px;
    transition: left 0.3s ease-in-out;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    border-right: 1px solid #ddd;
    text-align: center;
}

/* Botão fechar */
#fechar-menu {
    font-size: 28px;
    cursor: pointer;
    color: #444;
    transition: transform 0.2s ease;
    position: absolute;
    top: 15px;
    right: 20px;
}

#fechar-menu:hover {
    transform: rotate(90deg);
    color: #f6a074;
}

/* Logo */
#menu-lateral .logo h2 {
    font-family: "Hurricane", cursive;
    font-size: 64px;
    font-weight: 100;
    color: #222;
    margin: 40px 0 30px 0;
}

/* Navegação */
#menu-lateral nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-lateral nav a {
    text-decoration: none;
    color: #222;
    font-size: 20px;
    margin: 12px 0;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

#menu-lateral nav a:hover {
    color: #f6a074;
    transform: translateX(5px);
}

/* Contato */
#menu-lateral .contato {
    margin-top: auto;
    text-align: center;
    width: 100%;
    margin-bottom: 50px;
}

#menu-lateral .contato hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 15px auto;
    width: 80%;
}

#menu-lateral .contato p {
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
    font-family: "Lato", sans-serif;
}

#menu-lateral .redes {
    display: flex;
    justify-content: center;
    gap: 20px;
}

#menu-lateral .redes a img {
    width: 32px;
    height: 32px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#menu-lateral .redes a img:hover {
    transform: scale(1.1);
    opacity: 1;
}

#menu-toggle:checked~#menu-lateral {
    left: 0;
}

/* carrinho */

/* Cart Dropdown */
.cart-container {
    position: relative;
    display: flex;
    align-items: center;

}

.cart-toggle {
    display: none;
}

.cart-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    cursor: pointer;
    color: #57534e;
    transition: color 0.3s ease;
}

.cart-button:hover {
    color: #292524;
}

.cart-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.cart-count {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background: #d97706;
    color: white;
    font-size: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 24rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e7e5e4;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.cart-toggle:checked+.cart-button+.cart-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e7e5e4;
}

.cart-header h3 {
    font-size: 1.125rem;
    font-weight: 300;
    color: #292524;
}

.close-button {
    cursor: pointer;
    color: #78716c;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #57534e;
}

.close-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

.cart-items {
    max-height: 24rem;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cart-item:last-child {
    margin-bottom: 0;
}

.item-image {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.5rem;
    background: #f5f5f4;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    font-weight: 300;
    color: #292524;
    margin-bottom: 0.25rem;
}

.item-details p {
    color: #57534e;
    font-weight: 300;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 2rem;
    height: 2rem;
    border: none;
    background: #f5f5f4;
    color: #78716c;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #e7e5e4;
    color: #57534e;
}

.quantity {
    width: 2rem;
    text-align: center;
    font-weight: 300;
}

.cart-footer {
    padding: 1rem;
    border-top: 1px solid #e7e5e4;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cart-total span:first-child {
    font-weight: 300;
    color: #292524;
}

.total-price {
    font-size: 1.25rem;
    font-weight: 300;
    color: #292524;
}

.checkout-btn {
    width: 100%;
    background: black;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    color: black;
    background: #e9e1d6;
}

/* carrinho */

/* todos */

#banner1 {
    max-width: 100%;
    height: auto;
    display: block;
}

#parte1 {
    background-color: rgb(255, 255, 255);
    height: 890px;
}

#titulo {
    width: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
}

#titulo b {
    display: flex;
    font-size: 60px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 100;
    justify-content: left;
    width: 100%;
    padding-left: 5%;
}

#content {
    width: 100%;
    margin-top: 3%;
    display: flex;
    justify-content: center;
}

.carrosel a {
    color: black;
    text-decoration: none;
}

.carrosel div {
    display: flex;
    justify-content: center;
}


.carrosel div div {
    display: inline-block;
    background-color: #e9e1d6;
    color: #000;
    padding: 8px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    font-family: "Cormorant", serif;
}

.carrosel div div:hover {
    text-decoration: underline;
    background-color: #d6cabb;
}

#subtitulo {
    width: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    margin-top: 5%;
}

#subtitulo h6 {
    display: flex;
    font-size: 60px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 100;
    justify-content: center;
    width: 100%;
    padding-left: 5%;
}

#parte2 {
    margin-top: 5%;
    margin-bottom: 10%;
}

#parte2 img {
    width: 90%;
    max-width: 100%;
    height: auto;
    display: block;
}

#rodape {
    background-color: #EDE6DC;
    color: #000;
    padding: 40px 20px 20px;
    font-family: "Lato", sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col h3 {
    font-family: "Hurricane", cursive;
    font-size: 40px;
    margin-bottom: 10px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-col p {
    font-size: 15px;
    margin-bottom: 8px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #f6a074;
}

.social a img {
    width: 24px;
    margin-right: 10px;
    transition: transform 0.3s;
}

.social a img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}

@media (max-width: 550px) {

    header {
        height: 100px;
        justify-content: space-evenly;
    }

    header a {
        width: 68%;
    }

    header b {
        font-size: 55px;
        width: auto;
    }

    #paginas {
        display: none;
    }

    #icones {
        display: none;
    }

    #carrosel {
        margin-top: 90px;
    }

    #banner1 {
        width: 100%;
        height: auto;

    }

    #titulo b {
        font-size: 38px;
        padding-left: 0;
        justify-content: center;
    }

    #parte1 {
        height: auto;
        padding-bottom: 30px;
    }

    #content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
    }

    .carrosel {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .carrosel img {
        width: 100%;
        max-width: 400px;
        height: auto;
        display: block;
    }

    .carrosel div div {
        width: 140px;
        height: 45px;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #subtitulo h6 {
        font-size: 28px;
        padding-left: 0;
        text-align: center;
    }

    #parte2 img {
        width: 100%;
        margin: 0 auto;
    }


    .social a img {
        margin: 0 5px;
    }

    #menu-hamburger {
        display: flex;
    }

    .cart-container {
        display: none;
    }
}