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

body {
    font-family: Arial, sans-serif;
    background-color: #FAFAE4;
    color: #824C38;
}

header {
    background-color: #FFFFFF;
    padding: 18px 6%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    width: 120px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a,
.cart {
    color: #824C38;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: #FFA5B4;
}

.cart {
    font-size: 24px;
}
.hero {
    min-height: 600px;
    background-color: #FAFAE4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    color: #824C38;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    color: #824C38;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    background-color: #FFA5B4;
    color: #FFFFFF;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: bold;
}

.hero-button:hover {
    background-color: #D8A48C;
}
.products {
    padding: 80px 6%;
    text-align: center;
    background-color: #FFFFFF;
}

.products h2 {
    color: #824C38;
    font-size: 36px;
    margin-bottom: 12px;
}

.products-intro {
    color: #D8A48C;
    margin-bottom: 45px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: #FAFAE4;
    padding: 15px;
    border-radius: 20px;
}

.product-image {
    height: 280px;
    background-color: #FAEAB0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 18px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    color: #824C38;
    font-size: 21px;
    margin-bottom: 8px;
}

.product-card p {
    color: #824C38;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-button {
    display: inline-block;
    background-color: #FFA5B4;
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
}
.info {
    padding: 70px 6%;
    text-align: center;
    background-color: #FAFAE4;
}

.info h2 {
    color: #824C38;
    margin-bottom: 40px;
    font-size: 32px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-card {
    background-color: #FFFFFF;
    padding: 30px 20px;
    border-radius: 20px;
}

.info-card h3 {
    color: #824C38;
    margin-bottom: 12px;
}

.info-card p {
    color: #824C38;
    line-height: 1.5;
}
.socials {
    padding: 60px 6%;
    text-align: center;
    background-color: #FFFFFF;
}

.socials h2 {
    color: #824C38;
    font-size: 30px;
    margin-bottom: 12px;
}

.socials p {
    color: #D8A48C;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    background-color: #FAEAB0;
    color: #824C38;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
}

.social-links a:hover {
    background-color: #FFA5B4;
    color: #FFFFFF;
}
footer {
    background-color: #824C38;
    color: #FFFFFF;
    text-align: center;
    padding: 30px 20px;
}

footer p:first-child {
    font-size: 20px;
    margin-bottom: 8px;
}
@media (max-width: 768px) {

    header {
        padding: 15px 5%;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        min-height: 500px;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-image {
        height: 200px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-links a {
        width: 200px;
    }
    .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px auto;
    }

    .product-detail-image {
    height: 350px;
    }

    .product-detail-info h1 {
    font-size: 32px;
    }
    .cart-item {
    flex-direction: column;
    gap: 15px;
    }

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

    .checkout-button {
    width: 100%;
    }
    @media (max-width: 768px) {

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

}
}
.product-detail {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-detail-image {
    height: 500px;
    background-color: #FAEAB0;
    border-radius: 25px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    color: #824C38;
    font-size: 42px;
    margin-bottom: 15px;
}

.product-detail-price {
    color: #D8A48C;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-detail-description {
    color: #824C38;
    line-height: 1.6;
    margin-bottom: 30px;
}

.add-to-cart {
    border: none;
    background-color: #FFA5B4;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.quantity-selector button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background-color: #FAEAB0;
    color: #824C38;
    font-size: 20px;
    cursor: pointer;
}

.quantity {
    color: #824C38;
    font-size: 18px;
    font-weight: bold;
}
.preference-box {
    margin-bottom: 25px;
    padding: 22px;
    background-color: #FAFAE4;
    border-radius: 20px;
}

.preference-box h3 {
    color: #824C38;
    margin-bottom: 8px;
}

.preference-box p {
    color: #824C38;
    margin-bottom: 12px;
}

.preference-box textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #D8A48C;
    border-radius: 15px;
    resize: vertical;
    font-family: inherit;
    color: #824C38;
    box-sizing: border-box;
}

.preference-box textarea:focus {
    outline: none;
    border-color: #FFA5B4;
}
.cart-page {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 6%;
}

.cart-page h1 {
    color: #824C38;
    text-align: center;
    margin-bottom: 40px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 25px;
    margin-bottom: 20px;
    background-color: #FAFAE4;
    border-radius: 20px;
}

.cart-item-info h2 {
    color: #824C38;
    margin-bottom: 8px;
}

.cart-item-info p {
    color: #824C38;
    line-height: 1.5;
}

.cart-preferences {
    margin-top: 15px;
    padding: 15px;
    background-color: #FADECB;
    border-radius: 15px;
}

.cart-item-subtotal {
    color: #824C38;
    font-weight: bold;
    font-size: 20px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.cart-quantity button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: #FAEAB0;
    color: #824C38;
    font-size: 18px;
    cursor: pointer;
}

.remove-item {
    margin-top: 15px;
    border: none;
    background: none;
    color: #D8A48C;
    cursor: pointer;
    text-decoration: underline;
}

.cart-summary {
    margin-top: 40px;
    padding: 30px;
    background-color: #FAEAB0;
    border-radius: 20px;
    text-align: right;
}

.cart-summary h2 {
    color: #824C38;
    margin-bottom: 20px;
}

.checkout-button {
    border: none;
    background-color: #FFA5B4;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}
.delivery-box {
    margin-top: 25px;
    padding: 25px;
    background-color: #FAFAE4;
    border-radius: 20px;
    color: #824C38;
}

.delivery-box h3 {
    margin-bottom: 12px;
}

.delivery-box p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.delivery-box label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.delivery-box input {
    width: 100%;
    padding: 14px;
    border: 2px solid #D8A48C;
    border-radius: 15px;
    box-sizing: border-box;
    font-family: inherit;
}

.delivery-box input:focus {
    outline: none;
    border-color: #FFA5B4;
}
.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #D8A48C;
    color: #824C38;
}

.checkout-item h3 {
    margin-bottom: 5px;
}

.checkout-item p {
    margin: 0;
}

.checkout-total {
    text-align: right;
    padding-top: 25px;
    color: #824C38;
    font-size: 22px;
}
.payment-section {
    display: none;
    margin-top: 40px;
    padding: 30px;
    background-color: #FAFAE4;
    border-radius: 25px;
    text-align: center;
    color: #824C38;
}

.qr-container {
    margin: 25px auto;
    max-width: 300px;
}

.qr-container img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.whatsapp-button {
    margin-top: 20px;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    background-color: #FFA5B4;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
.product-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.checkout-page {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.checkout-page > h1 {
    text-align: center;
    color: #824C38;
    margin-bottom: 40px;
}

.checkout-section {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #FAFAE4;
    border-radius: 25px;
}

.checkout-section h2 {
    color: #824C38;
    margin-bottom: 20px;
}

.checkout-section label {
    display: block;
    color: #824C38;
    font-weight: bold;
    margin-bottom: 10px;
}

.checkout-section input,
.checkout-section select {
    width: 100%;
    padding: 14px;
    border: 2px solid #D8A48C;
    border-radius: 15px;
    box-sizing: border-box;
    background-color: white;
    color: #824C38;
    font-family: inherit;
    font-size: 15px;
}

.checkout-section input:focus,
.checkout-section select:focus {
    outline: none;
    border-color: #FFA5B4;
}

.checkout-continue {
    display: block;
    margin: 30px auto;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    background-color: #FFA5B4;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.checkout-continue:hover {
    opacity: 0.9;
}
.opening-offer {
    display: inline-block;
    margin: 8px 0;
    padding: 7px 14px;
    border-radius: 20px;
    background-color: #FFA5B4;
    color: #824C38;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.cart-free-opening {
    color: #824C38;
    font-weight: bold;
}
.how-it-works {
    padding: 80px 20px;
    text-align: center;
}

.how-it-works h2 {
    color: #824C38;
    margin-bottom: 15px;
}

.how-it-works-intro {
    color: #824C38;
    margin-bottom: 45px;
}

.how-it-works-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.how-it-works-card {
    padding: 25px;
    background-color: #FAFAE4;
    border-radius: 25px;
}

.how-it-works-card h3 {
    color: #824C38;
    margin-bottom: 12px;
}

.how-it-works-card p {
    color: #824C38;
    line-height: 1.6;
    margin: 0;
}


/* Información de envíos */

.delivery-info {
    max-width: 1000px;
    margin: 75px auto 0;
}

.delivery-info h2 {
    margin-bottom: 30px;
}

.delivery-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.delivery-info-card {
    padding: 28px;
    background-color: #FAFAE4;
    border-radius: 25px;
    text-align: left;
}

.delivery-info-card h3 {
    color: #824C38;
    margin-bottom: 12px;
}

.delivery-info-card p {
    color: #824C38;
    line-height: 1.6;
    margin: 0;
}


/* Video de TikTok */

.tiktok-info {
    max-width: 700px;
    margin: 65px auto 0;
    padding: 30px;
    background-color: #FFA5B4;
    border-radius: 25px;
}

.tiktok-info h2 {
    margin-bottom: 12px;
}

.tiktok-info p {
    color: #824C38;
    margin: 0;
    line-height: 1.6;
}


/* Celular */

@media (max-width: 768px) {

    .how-it-works {
        padding: 60px 20px;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .delivery-info {
        margin-top: 55px;
    }

    .delivery-info-grid {
        grid-template-columns: 1fr;
    }

    .tiktok-info {
        margin-top: 50px;
    }

}
.checkout-free-opening {
    color: #824C38;
    font-weight: bold;
}
.cart {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-icon {
    width: 24px;
    height: 24px;
    display: block;
    color: #c94f78;
}
.info-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.checkout-section h2 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.info-icon,
.checkout-icon {
    color: #d98aa5;
}
.delivery-box h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tiktok-info .info-icon {
    color: #b94f73;
}
.cart {
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 1000;

    width: 48px;
    height: 48px;

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

    background: #fff;
    border: 2px solid #c94f78;
    border-radius: 50%;

    color: #c94f78;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;

    min-width: 19px;
    height: 19px;

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

    background: #c94f78;
    color: white;

    border-radius: 50%;

    font-size: 11px;
    font-weight: bold;
}