body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
}

.container {
    flex: 1;
}

.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.jumbotron {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card > * {
    flex-shrink: 0;
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    padding-top: 100%;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.4s ease;
}

.product-image.secondary {
    opacity: 0;
}

.product-card:hover .product-image.secondary {
    opacity: 1;
}

.product-card:hover .product-image.primary {
    opacity: 0;
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-discount {
    background: #8bc34a;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.badge-hot {
    background: #1976d2;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    color: #333;
}

.action-btn:hover {
    background: #5a2d2d;
    color: white;
    transform: scale(1.1);
}

.action-btn.active {
    background: #1976d2;
    color: white;
}

.add-to-cart-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    padding: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    cursor: pointer;
    font-weight: 600;
}

.product-card:hover .add-to-cart-bar {
    transform: translateY(0);
}

.add-to-cart-bar:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.product-info {
    padding: 20px;
}

.product-category {
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-description-short {
    font-size: 13px;
    color: #666;
    margin: 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.star {
    color: #ffc107;
    font-size: 14px;
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.price-new {
    color: #1976d2;
    font-size: 20px;
    font-weight: 700;
}

.price-normal {
    color: #333;
    font-size: 20px;
    font-weight: 700;
}

.quickview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.quickview-modal.show {
    display: flex;
}

.quickview-content {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quickview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.quickview-close:hover {
    background: #e91e63;
    color: white;
}

.quickview-body {
    display: flex;
    padding: 40px;
}

.quickview-images {
    flex: 1;
    padding-right: 40px;
}

.quickview-main-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 12px;
}

.quickview-details {
    flex: 1;
}

.quickview-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.quickview-brand {
    color: #e91e63;
    font-weight: 600;
    margin-bottom: 15px;
}

.quickview-prices {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quickview-price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 20px;
}

.quickview-price-new {
    color: #e91e63;
    font-size: 32px;
    font-weight: 700;
}

.quickview-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.quickview-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #1976d2;
    color: white;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.quickview-add-cart {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quickview-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4);
}

.quickview-meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.quickview-meta-item {
    margin-bottom: 12px;
    color: #666;
}

.quickview-meta-item strong {
    color: #333;
}

.quickview-share {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quickview-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quickview-share a:hover {
    background: #1976d2;
    color: white;
}

.quickview-view-details {
    display: block;
    text-align: center;
    background: #1976d2;
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.quickview-view-details:hover {
    background: #1565c0;
    color: white;
}

.product-colors {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-swatch:hover {
    border-color: #5a2d2d;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .quickview-body {
        flex-direction: column;
        padding: 25px;
    }
    
    .quickview-images {
        padding-right: 0;
        padding-bottom: 30px;
    }
    
    .quickview-title {
        font-size: 22px;
    }
    
    .product-actions {
        opacity: 1;
        transform: translateX(0);
    }
    
    .add-to-cart-bar {
        transform: translateY(0);
    }
}

.row-5-cols {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.row-5-cols .col-md-2 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
    display: flex;
}

@media (max-width: 991.98px) {
    .row-5-cols .col-md-2 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 767.98px) {
    .row-5-cols .col-md-2 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Novo layout do card de produto */
.product-card-simple {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.product-card-simple .product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding-top: 100%;
    border-radius: 0;
}

.product-card-simple .product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.product-card-simple .product-image.secondary {
    opacity: 0;
}

.product-card-simple:hover .product-image.secondary {
    opacity: 1;
}

.product-card-simple:hover .product-image.primary {
    opacity: 0;
}

.product-card-simple .product-info {
    padding: 12px 0 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-simple .product-name {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #333 !important;
    margin-bottom: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    line-height: 1.3 !important;
    min-height: 32px !important;
    max-height: 32px !important;
    height: 32px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-simple .product-prices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
    margin-top: auto;
}

.product-card-simple .price-normal {
    color: #333;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.product-card-simple .product-installments {
    font-size: 11px !important;
    color: #777 !important;
    margin-bottom: 8px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    height: 16px !important;
}

.product-card-simple .buy-btn {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background 0.2s ease !important;
    min-height: 36px !important;
}

.product-card-simple .buy-btn:hover {
    background: #333;
}

.novidades-carousel,
.ofertas-carousel {
    margin: 0 -10px;
}

.carousel-item-wrapper {
    padding: 0 10px;
}

.slick-prev, .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slick-prev:hover, .slick-next:hover {
    background: #1976d2;
    color: #fff;
    border-color: #1976d2;
}

.slick-prev:before, .slick-next:before {
    color: #333;
    font-size: 20px;
}

.slick-prev:hover:before, .slick-next:hover:before {
    color: #fff;
}

.slick-prev {
    left: -20px;
}

.slick-next {
    right: -20px;
}

/* Cart Sidebar */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-sidebar-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.cart-sidebar-header h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

.cart-sidebar-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #000;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.cart-sidebar-close:hover {
    opacity: 0.6;
}

.cart-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-empty {
    text-align: center;
    padding: 40px 0;
    color: #999;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cart-item-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 0;
}

.cart-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.cart-qty-btn:hover {
    background: #f5f5f5;
}

.cart-qty-value {
    width: 40px;
    text-align: center;
    font-size: 14px;
    color: #333;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-item-remove {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #d32f2f;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.cart-sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
    color: #333;
}

.cart-subtotal-value {
    font-weight: 500;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 16px 0;
}

.cart-total span:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.cart-total-right {
    text-align: right;
}

.cart-total-value {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    display: block;
}

.cart-installments {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    background: #000;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    text-align: center;
    margin-bottom: 12px;
}

.cart-checkout-btn:hover {
    background: #333;
}

.cart-continue-shopping {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.cart-continue-shopping:hover {
    color: #000;
}

@media (max-width: 576px) {
    .cart-sidebar {
        width: 100%;
    }
}

/* Newsletter */
.newsletter-section {
    background: #6e5344;
    padding: 40px 0;
    margin-top: 120px;
}

.newsletter-section .container {
    max-width: 1200px;
}

.newsletter-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.newsletter-section p {
    font-size: 14px;
    color: #fff;
    margin: 0;
    opacity: 0.9;
}

.newsletter-form .input-group {
    display: flex;
    gap: 12px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    background: transparent;
    border: 1px solid #fff;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-submit {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s;
}

.newsletter-submit:hover {
    opacity: 0.8;
}

@media (max-width: 991px) {
    .newsletter-section {
        padding: 30px 0;
    }
    
    .newsletter-section h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .newsletter-section p {
        margin-bottom: 20px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-submit {
        align-self: flex-start;
    }
}

