/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: 25px;
    padding: 8px 15px;
    max-width: 400px;
    flex: 1;
    margin-right: 20px;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    padding: 5px;
    font-size: 14px;
}

.search-box button {
    border: none;
    background: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #333;
    font-size: 12px;
    position: relative;
    transition: color 0.3s ease;
}

.btn-icon:hover {
    color: #800020;
}

.btn-icon i {
    font-size: 18px;
    margin-bottom: 2px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #800020;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Promotion Banner */
.promo-banner {
    background: linear-gradient(135deg, #FFC0CB, #FFDAB9);
    padding: 20px 0;
    margin-top: 80px;
    text-align: center;
}

.promo-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #800020;
    margin-bottom: 10px;
}

.promo-content p {
    font-size: 16px;
    color: #666;
}

/* Slides Section */
.slides-section {
    padding: 40px 0;
    background: #f8f8f8;
}

.slides-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #e0e0e0, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    border-radius: 10px;
}

.slide-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slide-btn {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.slide-btn:hover {
    background: rgba(0,0,0,0.7);
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.products-section {
    margin-bottom: 50px;
}

.products-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
}

.products-container {
    position: relative;
}

.products-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease;
}

.scroll-btn:hover {
    background: rgba(0,0,0,0.9);
}

.scroll-btn.left {
    left: -20px;
}

.scroll-btn.right {
    right: -20px;
}

/* Product Card */
.product-card {
    min-width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.product-image {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-brand {
    font-size: 12px;
    color: #8B4513;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.stars {
    display: flex;
    gap: 2px;
}

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

.star.empty {
    color: #ddd;
}

.rating-count {
    font-size: 12px;
    color: #666;
}

.product-pricing {
    margin-bottom: 15px;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.current-price {
    font-size: 20px;
    font-weight: 600;
    color: #800020;
}

.limited-stock {
    background: #ff4444;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    position: absolute;
    top: 15px;
    right: 15px;
    font-weight: 500;
}

.add-to-cart-btn {
    width: 100%;
    background: #800020;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #600015;
}

/* Fixed Cart Button */
.fixed-cart-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.fixed-cart-btn button {
    background: #800020;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.fixed-cart-btn button:hover {
    background: #600015;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

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

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.modal-body {
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #999;
    overflow: hidden;
}

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

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

.cart-item-title {
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
}

.cart-item-price {
    color: #800020;
    font-weight: 600;
}

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

.quantity-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity {
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cart-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.discount-info {
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.total-price {
    text-align: right;
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.btn-checkout {
    width: 100%;
    background: #800020;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-checkout:hover {
    background: #600015;
}

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

/* CEP Modal Styles */
.cep-modal-content {
    max-width: 500px;
}

.cep-subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    font-weight: 400;
}

.cep-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.input-group label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.input-group input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.input-group input:focus {
    outline: none;
    border-color: #800020;
}

.input-group input::placeholder {
    color: #999;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
}

.btn-search-cep {
    position: absolute;
    right: 8px;
    top: calc(100% - 36px - 8px);
    background: #800020;
    color: white;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.btn-search-cep:hover {
    background: #600015;
}

.btn-search-cep:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.address-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.cep-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: #800020;
    font-weight: 500;
}

.cep-loading i {
    font-size: 18px;
}

.cep-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #ffe6e6;
    color: #d32f2f;
    border-radius: 8px;
    border: 1px solid #ffcdd2;
    font-weight: 500;
}

.cep-error i {
    font-size: 16px;
}

.btn-confirm-cep {
    width: 100%;
    background: #800020;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-confirm-cep:hover {
    background: #600015;
}

.btn-confirm-cep:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Checkout Styles */
.checkout-header {
    background: linear-gradient(135deg, #2c1810, #8b4513);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.checkout-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-header .logo a {
    text-decoration: none;
}

.checkout-header .logo h1 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    transition: opacity 0.3s ease;
}

.checkout-header .logo a:hover h1 {
    opacity: 0.8;
}

.checkout-steps {
    display: flex;
    gap: 30px;
    align-items: center;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: all 0.3s ease;
}

.step.active {
    color: #fff;
}

.step.completed {
    color: #90EE90;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #d4af37;
    color: #2c1810;
}

.step.completed .step-number {
    background: #90EE90;
    color: #2d5a2d;
}

.checkout-main {
    background: #f8f9fa;
    min-height: calc(100vh - 80px);
    padding: 30px 0;
    margin-top: 120px;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-form {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    color: #2c1810;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
}

.form-section h3 {
    color: #2c1810;
    margin: 30px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c1810;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input.valid {
    border-color: #28a745;
}

.form-group input.invalid {
    border-color: #dc3545;
}

.input-with-button {
    display: flex;
    gap: 10px;
}

.input-with-button input {
    flex: 1;
}

.btn-buscar-cep {
    padding: 12px 15px;
    background: #d4af37;
    color: #2c1810;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-buscar-cep:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

.payment-methods {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-option {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-option:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-option input[type="radio"]:checked + label {
    color: #2c1810;
}

.payment-option input[type="radio"]:checked ~ .payment-option {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.payment-option label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    margin: 0;
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c1810;
    font-size: 20px;
}

.payment-info h4 {
    margin: 0 0 5px 0;
    color: #2c1810;
    font-size: 16px;
}

.payment-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.card-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.pix-info {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.pix-details {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #2d5a2d;
}

.pix-details i {
    color: #28a745;
    margin-top: 2px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn-voltar {
    padding: 12px 25px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-voltar:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-continuar {
    padding: 12px 25px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #2c1810;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-continuar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.order-summary {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 30px;
}

.order-summary h3 {
    color: #2c1810;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
}

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

.item-details {
    flex: 1;
}

.item-details h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #2c1810;
    line-height: 1.3;
}

.item-brand {
    color: #666;
    font-size: 12px;
    margin: 0 0 5px 0;
}

.item-quantity {
    color: #888;
    font-size: 12px;
}

.item-price {
    text-align: right;
}

.original-price {
    display: block;
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}

.final-price {
    display: block;
    color: #2c1810;
    font-weight: 600;
    font-size: 14px;
}

.order-totals {
    border-top: 2px solid #f0f0f0;
    padding-top: 15px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.total-line.discount {
    color: #28a745;
    font-weight: 500;
}

.total-line.shipping {
    color: #666;
}

.total-line.total {
    font-size: 18px;
    font-weight: 700;
    color: #2c1810;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
    margin-top: 10px;
}

.security-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-size: 14px;
    margin-top: 20px;
    padding: 10px;
    background: #e8f5e8;
    border-radius: 8px;
}

.loading-modal {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 20px;
}

.loading-modal h3 {
    color: #2c1810;
    margin-bottom: 10px;
}

.loading-modal p {
    color: #666;
}

.success-modal {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-modal h3 {
    color: #2c1810;
    margin-bottom: 15px;
}

.success-modal p {
    color: #666;
    margin-bottom: 20px;
}

.order-number {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    color: #2c1810;
}

.modal-actions {
    display: flex;
    justify-content: center;
}

.btn-primary {
    padding: 12px 30px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #2c1810;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.testimonial.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    margin-bottom: 30px;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 20px;
    display: block;
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1rem;
}

.testimonials-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.testimonial-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicator.active {
    background: #ffd700;
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-section h4 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section h5 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffd700;
    color: #2c3e50;
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: #ffd700;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.newsletter-form button:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.payment-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.security-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.security-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.security-badges i {
    color: #ffd700;
}

/* Product Modal Styles */
#productModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

#productModal.active {
    display: flex;
}

.product-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #800020, #a0002a);
    color: white;
    border-radius: 20px 20px 0 0;
}

.product-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.product-modal-image {
    position: relative;
    text-align: center;
}

.product-modal-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.product-modal-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-brand {
    color: #800020;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-pricing {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #800020;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.current-price {
    color: #800020;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 25px;
    border: 2px solid #ddd;
}

.quantity-btn {
    background: #800020;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #a0002a;
    transform: scale(1.1);
}

.quantity {
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
    color: #333;
}

.product-detailed-description {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #800020;
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

.product-rating .rating-text {
    color: #666;
    font-size: 0.9rem;
}

.savings {
    color: #28a745;
    font-weight: 600;
    font-size: 1rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-selector label {
    font-weight: 600;
    color: #333;
}

.add-to-cart-btn.large {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #800020, #a0002a);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.3);
}

.add-to-cart-btn.large:hover {
    background: linear-gradient(135deg, #a0002a, #c0003a);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(128, 0, 32, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Product Modal Responsive */
    .product-modal-content {
        width: 98%;
        margin: 10px;
        max-height: 95vh;
    }
    
    .product-modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .product-modal-header {
        padding: 20px;
    }
    
    .product-modal-header h2 {
        font-size: 1.4rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    /* Original responsive styles */
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-box {
        max-width: none;
        margin-right: 0;
        flex: 1;
    }
    
    .user-actions {
        gap: 10px;
    }
    
    .btn-icon span {
        display: none;
    }
    
    .promo-banner {
        margin-top: 120px;
        padding: 15px 0;
    }
    
    .promo-content h2 {
        font-size: 24px;
    }
    
    .promo-content p {
        font-size: 14px;
    }
    
    .slides-section {
        padding: 20px 0;
    }
    
    .slide {
        height: 200px;
    }
    
    .slide-placeholder {
        font-size: 14px;
    }
    
    .products-section h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .product-card {
        min-width: 240px;
        padding: 15px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .scroll-btn {
        display: none;
    }
    
    /* Testimonials responsive */
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .testimonial-text p {
        font-size: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .testimonials-controls {
        display: none;
    }
    
    .testimonial-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Footer responsive */
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .payment-icons {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .security-badges {
        justify-content: center;
        gap: 15px;
    }
    
    .modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 15px;
    }
    
    .cep-modal-content {
        max-width: none;
        margin: 10px;
    }
    
    .input-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .address-fields {
        padding: 15px;
        gap: 12px;
    }
    
    .btn-search-cep {
        width: 32px;
        height: 32px;
        top: calc(100% - 32px - 8px);
    }
    
    /* Checkout Responsive */
    .checkout-header {
        padding: 10px 0;
    }
    
    .checkout-main {
        margin-top: 100px;
        padding: 20px 0;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .checkout-form {
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-steps {
        gap: 15px;
    }
    
    .step-text {
        display: none;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .order-summary {
        position: static;
    }
    
    .order-item {
        padding: 15px;
    }
    
    .item-image {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .search-box {
        padding: 6px 12px;
    }
    
    .search-box input {
        font-size: 12px;
    }
    
    .btn-icon {
        padding: 6px;
    }
    
    .btn-icon i {
        font-size: 16px;
    }
    
    .promo-content h2 {
        font-size: 20px;
    }
    
    .slide {
        height: 150px;
    }
    
    .slide-placeholder {
        font-size: 12px;
    }
    
    .products-section h3 {
        font-size: 18px;
    }
    
    .product-card {
        min-width: 200px;
        padding: 12px;
    }
    
    .product-image {
        height: 140px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .current-price {
        font-size: 18px;
    }
    
    .cart-item {
        gap: 10px;
    }
    
    .cart-item-image {
        width: 50px;
        height: 50px;
    }
    
    .product-badge {
        padding: 2px 6px;
        font-size: 10px;
        border-radius: 8px;
        top: 6px;
        right: 6px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .checkout-main {
        margin-top: 90px;
    }
    
    .promo-content h2 {
        font-size: 18px;
    }
    
    .product-card {
        min-width: 180px;
        padding: 10px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-title {
        font-size: 13px;
    }
    
    .current-price {
        font-size: 16px;
    }
    
    .modal-content {
        margin: 5px;
    }
    
    .cep-modal-content {
        margin: 5px;
    }
    
    .input-group input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .input-group label {
        font-size: 13px;
    }
    
    .btn-search-cep {
        width: 30px;
        height: 30px;
        top: calc(100% - 30px - 8px);
    }
    
    .address-fields {
        padding: 12px;
    }
    
    .btn-confirm-cep {
        padding: 12px;
        font-size: 14px;
    }
    
    .product-badge {
        padding: 1px 4px;
        font-size: 9px;
        border-radius: 6px;
        top: 4px;
        right: 4px;
    }
}

