body {
    font-family: 'Syne', sans-serif;
    background-color: #fff6f4;
}

.product-container {
    max-width: 1200px;
    margin: -42px auto;
    text-align: center;
    padding: 50px 0;
}

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

.product-title h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
}

.product-title h1 {
    font-size: 35px;
    font-weight: bold;
    color: #C25A3D;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 30px;
}

.product-card {
    background: white;
    border-radius: 4px;
    text-align: center;
    overflow: hidden;
    padding: 0;
}

.product-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    align-items: center;
    position: relative;
    display: inline-block;
}


.imageProduct {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.hover-icon {
    position: absolute;
    top: 15%;
    left: 90%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3sease-in-out;
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
}

.product-image-wrapper:hover .hover-icon {
    opacity: 1;
}

.product-card:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px 4px 0 0;
}

.product-card .product-info {
    padding: 15px;
}

.product-card h5 {
    margin: 10px 0;
    font-size: 16px;
    font-weight: bold;
}

.product-card p {
    margin-bottom: 5px;
}

.product-card .price, .cart-item-info .price {
    color: #C25A3D;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.buy-button {
    display: inline-block;
    width: 75%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #C25A3D;
    color: #C25A3D;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

.buy-button:hover {
    background: #C25A3D;
    color: white;
}

/* Menu lateral (Off-canvas Cart) */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 459px;
    height: 100vh;
    background: #FEF9F6;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 36px;
    color: #141414;
    font-family: 'Syne', sans-serif;
    margin-bottom: 30px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    font-weight: bold;
    color: #000;
}

.cart-content {
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.cart-item img {
    width: 90px;
    height: 90px;
    border-radius: 2px;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
    padding-left: 15px;
}

.cart-item-name {
    font-size: 20px;
    font-weight: bold;
    color: #141414;
    font-family: 'Syne', sans-serif;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
    display: block;
    max-width: 100%;
}

.cart-quantity, .quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.cart-quantity button, .quantity-controls button {
    width: 40px;
    height: 40px;
    border: none;
    background: #EDEDED;
    color: #141414;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
}

.cart-quantity button:hover, .quantity-controls button:hover {
    background: #E0E0E0;
}

.cart-quantity button:active, .quantity-controls button:active {
    transform: scale(0.95);
}

.cart-quantity span, .quantity-controls span {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #2E2E2E;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.quantity-controls span {
    font-size: 16px;
}

.cart-price {
    color: #C25A3D;
    font-weight: bold;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
}

.subtotal, .total {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #707070;
    font-weight: bold;
}

.total {
    font-size: 28px;
    color: #2E2E2E;
}

.checkout-btn {
    width: 100%;
    padding: 8px;
    border: 2px solid #C25A3D;
    background: #FEF9F6;
    color: #C25A3D;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
    font-family: 'Inter', sans-serif;
}

.checkout-btn:hover {
    background: #C25A3D;
    color: white;
}

.cart-footer {
    border-top: 1px solid #EAEAEA;
    padding-top: 20px;
}

@media (min-width: 768px) {
    .cart-sidebar {
        width: 80%;
        max-width: 500px;
    }

    .close-cart {
        font-size: 28px;
        padding: 10px;
    }

    .cart-item img {
        width: 70px;
        height: 70px;
    }

    .cart-item-name {
        font-size: 18px;
    }

    .cart-quantity button, .quantity-controls button {
        width: 35px;
        height: 35px;
    }

    .cart-price {
        font-size: 18px;
    }

    .checkout-btn {
        font-size: 18px;
        padding: 8px;
    }
}

@media (min-width: 1024px) {
    .cart-sidebar {
        width: 459px;
        max-width: 459px;
    }

    .close-cart {
        font-size: 32px;
        padding: 12px;
    }

    .cart-item img {
        width: 90px;
        height: 90px;
    }

    .cart-item-name {
        font-size: 22px;
    }

    .cart-quantity button {
        width: 40px;
        height: 40px;
    }

    .quantity-controls button {
        width: 30px;
        height: 30px;
    }

    .cart-price {
        font-size: 22px;
    }

    .checkout-btn {
        font-size: 22px;
    }
}

.no-results-message {
    font-size: 35px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-top: 50px;
}

.product-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.product-image-gallery {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumbnails img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

.gallery-main img {
    width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 5px;
}

.product-details {
    flex: 1;
    max-width: 500px;
}

.product-details h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.product-price {
    font-size: 20px;
    color: #d9534f;
    margin-bottom: 15px;
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 10px;
}

.product-quantity {
    font-family: 'Inter', sans-serif;
    margin: 20px 0;
}

.product-quantity label {
    font-size: 16px;
    color: #595959;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls button {
    padding: 5px 10px;
    font-size: 10px;
    cursor: pointer;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.price-value {
    font-size: 30px;
    font-family: 'Inter', sans-serif;
}

.product-container-details {
    margin-top: 60px;
}

.product-description{
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 10px;
}

.product-description h3 {
    font-size: 16px;
    color: #595959;
}

.product-description p {
    font-size: 15px;
    color: #9C9C9C;
}

.stock-info {
    color: #9C9C9C !important;
    font-weight: normal ! important;
}

.add-to-cart, .buy-now {
    display: inline-block;
    margin-bottom: 15px;
    border: 2px solid #C25A3D;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
}

.add-to-cart {
    color: #C25A3D;
    background: transparent;
}

.buy-now {
    color: #FFF;
    background: #C25A3D;
}

.add-to-cart:hover {
    background: #C25A3D;
    color: #FFF;
}

.buy-now:hover {
    background: transparent;
    color: #C25A3D;
}


/* Meu carrinho*/
.cart-container {
    padding: 2rem;
    background: #fefafa;
}

.cart-title {
    text-align: center;
    color: #c24828;
}

.cart-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.cart-items {
    flex: 2;
    border: 1px solid #F0E8E6;
    padding: 10px;
    border-radius: 10px;
}

.cart-item-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-item-wrapper img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    display: contents;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    font-size: 20px;
}

.quantity-selector button {
    background: #eee;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.cart-summary {
    flex: 1;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.summary-line,
.summary-total {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
    font-family: 'Inter', sans-serif;
    color: #9B9B9B;
    font-size: 22px;
}

.coupon-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.coupon-wrapper input {
    flex: 1;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
}

.coupon-wrapper button {
    border: 1px solid #c24828;
    background: white;
    color: #c24828;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.btn-block {
    width: 100%;
    background: #c24828;
    color: white;
    padding: 0.75rem;
    text-align: center;
    display: block;
    margin-top: 1rem;
    border-radius: 6px;
    text-decoration: none;
}

.continue-shopping {
    font-family: 'Inter', sans-serif;
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #c24828;
    font-weight: bold;
    text-decoration: none;
}

.remove-item {
    text-decoration: none;
    color: #9B9B9B;
    font-family: 'Inter', sans-serif;
}

.empty-cart-message {
    text-align: center;
    margin-top: 60px;
    color: #6d6d6d;
}

.empty-cart-message i {
    font-size: 48px;
    color: #C85436;
    margin-bottom: 16px;
}

.empty-cart-message p {
    font-size: 20px;
    margin-bottom: 20px;
}

.btn-return-store {
    background-color: #C85436;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-return-store:hover {
    background-color: #a8422c;
}

.summary-total {
    font-weight: bold;
}

.summary-total .total-price {
    color: #000;
}

.discount .text-danger {
    font-weight: bold;
}

.checkout-cart-btn, .checkout-whatsapp-btn {
    background: #C25A3D;
    color: white;
    font-family: 'Inter', sans-serif;
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
    text-decoration: none;
}

.checkout-cart-btn:hover, .checkout-whatsapp-btn:hover {
    border: 2px solid #C25A3D;
    background: #FEF9F6;
    color: #C25A3D;
}

.input-icon-wrapper {
    position: relative;
    background-color: #f3f4f6;
    border-radius: 9999px;
    padding-left: 2.2rem;
    padding-right: 1rem;
    height: 38px;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i {
    position: absolute;
    left: 0.8rem;
    color: #6b7280;
    font-size: 14px;
}

.input-icon-wrapper input {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    outline: none;
    font-size: 14px;
    color: #111827;
}

.applied-coupon .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    font-size: 14px;
    background-color: #e5e7eb;
    color: #111827;
    display: inline-flex;
    font-family: 'Inter', sans-serif;
    font-weight: normal;
}

.applied-coupon .close {
    background: none;
    border: none;
    font-size: 16px;
    line-height: 1;
    margin-left: 8px;
    color: #6b7280;
    cursor: pointer;
}
