* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: ##FBDCE7;
    --accent-color: #FB7195;
    --secondary-color: #ffe8ec;
    --text-color: #1A1919;
    --light-gray: #707070;
    --border-color: #ffffff;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 2rem;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 990;
    box-shadow: none;
    background: var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    flex: 0 0 auto;
}

.logo h1 {
    font-size: 1.6rem;
    color: var(--accent-color);
    font-weight: 800;
    letter-spacing: .3px;
}

.search-container {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    background: var(--accent-color);
    border-radius: 999px;
    flex: 1;
    max-width: 400px;
    margin: 0 1rem;
    flex: 0 0 250px;
    color: var(--border-color);
    cursor: pointer;
}

.input-search {
    border: none;
    outline: none;
    font-size: 1rem;
    flex: 1;
    background: var(--accent-color);
    color: var(--border-color);
}

.input-search::placeholder {
    color: var(--border-color);
}

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: .5rem;
    padding: .55rem .9rem;
    background: var(--accent-color);
    border-radius: 100%;
    cursor: pointer;
    flex: 0 0 auto;
    color: var(--border-color);
}


.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;

    background-image: url("assets/banner-hero-section1.png");
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    position: relative;
    height: 400px;
    z-index: 0;


}

.hero-section .hero-title {
    font-family: "Dancing Script", cursive;
    font-size: 70px;
    line-height: 65px;
    color: #1A1919;
}

.hero-section .hero-subtitle {
    font-size: 25px;
    font-weight: 500;
    color: var(--light-gray);
}

.categories-container {
    display: flex;
    justify-content: center;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.categories-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 1rem;
    gap: .5rem;
    width: 100%;
    max-width: 900px;
    margin: -60px auto 0 auto;
    position: relative;
    z-index: 20;
}

.cake-icon,
.croissante-icon,
.pie-icon,
.sweets-icon,
.donut-icon,
.pancake-icon {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: solid 5px var(--border-color);
    cursor: pointer;
    display: block;

    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);

}

.cake-icon:hover,
.croissante-icon:hover,
.pie-icon:hover,
.sweets-icon:hover,
.donut-icon:hover,
.pancake-icon:hover {
    transform: translateY(-18px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.description-of-categories {
    font-size: 16px;
    font-weight: 600;
    color: #1A1919;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 2s;
}

.description-of-categories:hover {
    color: var(--light-gray);
}


main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    margin-bottom: 100px;
}


.description-of-main {
    font-size: 16px;
    font-weight: 600;
    margin-top: 50px;
    color: var(--text-color);
}

.products-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
}

.product-card {
    width: 100%;
    max-width: 280px;
    height: 480px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    border-radius: 30px;
    margin-top: 30px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {
    transform: scale(1.04);
}

.product-img {
    width: 100%;
    max-width: 250px;
    border-radius: 30px;
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    gap: 5px;
}

.product-name,
.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.product-description {
    font-size: 14px;
    font-weight: 400;
    color: var(--light-gray);
    text-align: center;
}

.product-price {
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 10px;
}

.product-button {
    position: relative;
    width: 100%;
    max-width: 200px;
    height: 48px;
    border: none;
    border-radius: 10px;
    cursor: pointer;

    background: var(--accent-color);

    color: #fff;
    font-size: 16px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.07);
}

.btn-text {
    position: absolute;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease;
}

.btn-icon {
    position: absolute;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
    display: flex;
    align-items: center;
}

.product-button:hover .btn-text {
    opacity: 0;
    transform: translateY(-8px);
}

.product-button:hover .btn-icon {
    opacity: 1;
    transform: translateY(0);
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    height: 60px;
}

footer .footer-description {
    color: var(--border-color);
    font-size: 14px;
    font-weight: 400;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    background-color: var(--border-color);
    height: 100vh;
    box-shadow: -4px 0 15px rgba(0, 0, 0, .1);
    z-index: 1000;
    display: flex;
    flex-direction: column;

    transform: translateX(100%);
    transition: .3s ease;
}

.cart-sidebar.show {
    transform: translateX(0);
}

.cart-header {
    width: 100%;
    max-width: 420px;
    height: 70px;
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e6e5e5;
    gap: 20px;
}

.text-my-cart {
    color: var(--accent-color);
    font-size: 22px;
    font-weight: 600;
}


.close-cart-btn {
    margin-left: auto;
    border: none;
    background: none;
    font-size: 40px;
    color: var(--accent-color);
    cursor: pointer;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-body {
    padding: 30px;
    overflow-y: auto;
    flex-shrink: 1;
}

.cart-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    background: #f6f6f6;
    overflow-y: auto;
    flex-grow: 1;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

.cart-info p:first-child {
    font-weight: 600;
    font-size: 16px;
}

.quantity-control button {  
    background: #FB7195;
    border: none;
    border-radius: 100%;
    font-weight: 500;
    font-size: 20px;
    color: #f6f6f6;
    cursor: pointer;

}

.options-toggle {
    display: flex;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    overflow: hidden;
    width: 100%;
    max-width: 380px;
    background: #fff;
}

.toggle-option {
    flex: 1;
    border: none;
    background: #ffffff;
    color: #000;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    transition: background 0.25s ease, color 0.25s ease;
}

.toggle-option.active {
    background: #FB7195;
    color: #ffffff;
}


.delivery-form-container {
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
}

.form-group label {
    margin-top: 10px;
    margin-bottom: 8px;
}

#pickup-date {
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 185px;
    height: 40px;
}

#pickup-time {
    outline: none;
    border: solid 1px #e6e5e5;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight:5600;
    width: 100%;
    max-width: 185px;
    height: 40px;
}

#apply-coupon-btn {
    outline: none;
}

.delivery-input {
    height: 40px;
    width: 100%;
    border-radius: 10px;
    border: solid 1px #e6e5e5;
    transition: all 0.2s ease;
}

.delivery-input:focus {
    outline: 1px solid #FB7195;
    outline-offset: 2px;
    border-radius: 10px;
    border: none;
}

#delivery-name,
#delivery-phone,
#delivery-cep,
#delivery-address {
    color: var(--text-color);
    padding: 10px;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
}

#delivery-name::placeholder,
#delivery-phone::placeholder,
#delivery-cep::placeholder,
#delivery-address::placeholder {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #999;
    opacity: 1;
    font-weight: 400;
    letter-spacing: 0.5px;
}

#delivery-address {
    height: 80px;
}

.delivery-fee-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    border-radius: 30px;
    height: 40px;
    color: var(--text-color);
    background: #ffe4eb;
    margin: 20px 0 20px 0;
    letter-spacing: 0.2px;
}

.payment-options-container h4 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 25px;
}

.payment-options-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    gap: 20px;
    border-top: 1px solid #e6e5e5;
}

.payment-option {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: auto;
    height: 40px;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    border: solid 1px #e6e5e5;
    cursor: pointer;
}

.payment-option input {
    accent-color: var(--accent-color);
}

.payment-option input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #FB7195;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.payment-option input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #FB7195;
    border-radius: 50%;
    pointer-events: none;
}

.payment-option:hover {
    border-radius: 10px;
    border: 1px solid #FB7195;
}

.payment-option.active {
    border-radius: 10px;
    border: 1px solid #FB7195;
}

#troco-container {
    display: flex;
    justify-content: center;
    background: var(--border-color);
    border: solid 1px #e6e5e5;
    border-radius: 10px;
    width: 100%;
    max-width: auto;
    height: 100px;
}

.form-group input {
    height: 40px;
    width: 100%;
    border: solid 1px #e6e5e5;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    font-family: "poppins", sans-serif;
    padding: 0 0 0 10px;
}

.coupon-container {
    display: flex;
    gap: 05px;
}

.coupon-container input {
    height: 40px;
    border: solid 1px #e6e5e5;
    border-radius: 10px;
    padding: 10px;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    font-family: "poppins", sans-serif;
    margin-top: 5px;
    width: 60%;

}

.coupon-container button {
    height: 40px;
    width: 100%;
    max-width: auto;
    border: none;
    border-radius: 10px;
    margin-top: 5px;
    background: var(--accent-color);
    color: var(--border-color);
    font-size: 14px;
    font-weight: 500;
    font-family: "poppins", sans-serif;
    cursor: pointer;
    width: 40%;
}

.date-time-row {
    display: flex;
    gap: 1rem;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid #e6e5e5;
    padding: 25px 0 25px 0;
    width: 100%;
    max-width: auto;
    margin: 35px 0 0 0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.summary-line.total {
    font-size: 16px;
    font-weight: 800;
}

.finish-order-btn-container {
    padding: 15px 30px;
}

.finish-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 50px;
    width: 100%;
    border-radius: 10px;
    border: none;
    background-color: var(--accent-color);
    color: var(--border-color);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.finish-order-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.finish-order-btn:disabled {
    background: var(--secondary-color);
    color: #c6c6c6;
    cursor: not-allowed;
    transform: none;
}

.view-cart-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    color: #fff;
    z-index: 980;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .2);
    transition: bottom .4s ease-in-out;
}

.view-cart-banner.show {
    bottom: 0;
}

.view-cart-banner p {
    margin: 0;
    font-weight: 800;
}

.view-cart-banner-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: .75rem 1.5rem;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}