/* Dog Protein E-commerce - Estilos Principais */

:root {
    --color-primary: #eb0100;
    --color-secondary: #202020;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray: #666666;
    --color-light-gray: #f5f5f5;
    --color-border: #e0e0e0;
    --color-success: #4CAF50;
    --color-warning: #FF9800;
    --color-danger: #f44336;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-black);
    line-height: 1.6;
    background: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Header */
.header {
    background: var(--color-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 14px;
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a,
.user-actions a {
    color: var(--color-white);
    margin-right: 20px;
    transition: color 0.3s;
}

.contact-info a:hover,
.user-actions a:hover {
    color: var(--color-primary);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-dropdown-toggle i.fa-chevron-down {
    font-size: 10px;
    margin-left: 3px;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #333 !important;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.user-dropdown-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.user-dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.user-dropdown-menu a:hover {
    background: #f8f8f8;
    color: var(--color-primary) !important;
    padding-left: 25px;
}

.user-dropdown-menu a i {
    width: 16px;
    text-align: center;
}

.main-header {
    padding: 20px 0;
    margin-bottom: 0;
}

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

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--color-black);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}

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

.cart-link {
    position: relative;
    font-size: 24px;
    color: var(--color-black);
    transition: color 0.3s;
}

.cart-link:hover {
    color: var(--color-primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-black);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--color-white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s;
    z-index: 2000;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu-header img {
    height: 40px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-black);
    transition: background 0.3s;
}

.mobile-nav a:hover {
    background: var(--color-light-gray);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Slider Moderno */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
    margin: 0;
    padding: 0;
    margin-top: -1px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 475px;
    margin: 0;
    padding: 0;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    /*height: 100%;*/
    /*min-height: 600px;*/
    /*display: block;*/
    margin: 0;
    padding: 0;
    object-fit: contain;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide-content {
    width: 100%;
    padding: 40px 0;
}

.slide-text-box {
    max-width: 600px;
    color: var(--color-white);
}

.slide-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.slide-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--color-white);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Animações dos slides */
.slide.active .animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.slide.active .delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.slide.active .delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

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

/* Controles do Slider */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-control:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Indicadores do Slider */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-indicator:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.slider-indicator.active {
    background: var(--color-white);
    border-color: var(--color-primary);
    width: 40px;
    border-radius: 7px;
}

/* Sem slides */
.no-slides {
    background: var(--color-light-gray);
    padding: 100px 0;
}

.no-slides-message {
    text-align: center;
    color: var(--color-gray);
}

.no-slides-message i {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--color-border);
}

.no-slides-message p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Responsivo */
@media (max-width: 1024px) {
    .slider-wrapper {
        height: 500px;
    }
    
    .slide-title {
        font-size: 42px;
    }
    
    .slide-description {
        font-size: 18px;
    }
    
    .slider-control {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .slider-prev {
        left: 20px;
    }
    
    .slider-next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .slider-wrapper {
        height: 400px;
    }
    
    .slide-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    }
    
    .slide-text-box {
        text-align: center;
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
    
    .slider-indicator {
        width: 10px;
        height: 10px;
    }
    
    .slider-indicator.active {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        height: 350px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/* Sections */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--color-black);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-gray);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Call to Action Section - DISCRETO */
.cta-section {
    padding: 40px 0;
    background: #f8f8f8;
}

.cta-box {
    background: white;
    border-radius: 12px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #eb0000;
}

.cta-left {
    flex: 1;
    max-width: 600px;
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cta-right {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cta-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cta-btn i {
    margin-right: 8px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    perspective: 1000px;
}

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

.product-link {
    display: block;
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--color-light-gray);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.product-badge.free-shipping {
    background: var(--color-success);
}

.product-badge.out-of-stock {
    background: var(--color-danger);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-category {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 10px;
}

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

.price-original {
    text-decoration: line-through;
    color: var(--color-gray);
    font-size: 14px;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 0 0 10px 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

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

.btn-add-cart:disabled {
    background: var(--color-gray);
    cursor: not-allowed;
}

/* Categories Section - MOVIDO PARA new-sections.css */
/* As regras de categorias agora estão em new-sections.css para usar o layout completo */

/* Features Section */
.features-section {
    background: var(--color-light-gray);
}

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

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--color-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #d00100;
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: #000000;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 14px;
}

/* Profile Page */
.profile-page {
    padding: 60px 0;
    background: #f8f8f8;
}

.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.profile-sidebar {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #666;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.profile-menu-item:hover {
    background: #f5f5f5;
    color: var(--color-primary);
}

.profile-menu-item.active {
    background: var(--color-primary);
    color: white;
}

.profile-menu-item.text-danger {
    color: #dc3545;
}

.profile-menu-item.text-danger:hover {
    background: #dc3545;
    color: white;
}

.profile-content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-tab {
    display: none;
}

.profile-tab.active {
    display: block;
}

.profile-card {
    max-width: 700px;
}

.profile-card-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.profile-card-header h2 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #000;
}

.profile-card-header p {
    color: #666;
    margin: 0;
}

.profile-form .form-group {
    margin-bottom: 20px;
}

.profile-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.profile-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
}

.profile-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.3s;
}

.profile-form .form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(235, 0, 0, 0.1);
}

.profile-form .form-text {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

.profile-form .btn {
    margin-top: 10px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .profile-content {
        padding: 25px;
    }
    
    .profile-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 60px 0 20px;
}

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

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.footer-info {
    list-style: none;
}

.footer-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info a {
    color: #cccccc;
    transition: color 0.3s;
}

.footer-info a:hover {
    color: var(--color-primary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #cccccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.security-badges,
.shipping-badges,
.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.security-badges img,
.shipping-badges img {
    height: 40px;
}

.payment-badges i {
    font-size: 32px;
    color: #cccccc;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 14px;
    color: #999;
}

.mt-3 {
    margin-top: 15px;
}

/* Page Header */
.page-header {
    background: var(--color-light-gray);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    color: var(--color-black);
}

/* Products Page */
.products-page {
    padding: 60px 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.products-sidebar {
    background: var(--color-white);
}

.filter-section {
    margin-bottom: 30px;
}

.filter-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-black);
}

.search-form {
    display: flex;
    gap: 5px;
}

.search-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
}

.search-form button {
    padding: 10px 15px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 10px;
}

.filter-list a {
    display: block;
    padding: 8px 12px;
    color: var(--color-black);
    border-radius: 5px;
    transition: background 0.3s;
}

.filter-list a:hover,
.filter-list a.active {
    background: var(--color-light-gray);
    color: var(--color-primary);
}

.products-toolbar {
    margin-bottom: 20px;
}

.products-count {
    color: var(--color-gray);
}

.no-products {
    text-align: center;
    padding: 60px 20px;
}

.no-products i {
    font-size: 60px;
    color: var(--color-gray);
    margin-bottom: 20px;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--color-light-gray);
    padding: 15px 0;
}

.breadcrumb a {
    color: var(--color-gray);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb span {
    margin: 0 10px;
    color: var(--color-gray);
}

/* Product Detail */
.product-detail {
    padding: 60px 0;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery .main-image img {
    width: 100%;
    border-radius: 10px;
}

.product-details {
    padding: 20px 0;
}

.product-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.product-stock.in-stock {
    color: var(--color-success);
}

.product-stock.out-of-stock {
    color: var(--color-danger);
}

.product-price-box {
    background: var(--color-light-gray);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.price-group {
    margin-bottom: 10px;
}

.price-savings {
    color: var(--color-success);
    font-weight: 600;
}

.free-shipping-notice {
    background: var(--color-success);
    color: var(--color-white);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.quantity-selector {
    margin-bottom: 20px;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

.quantity-input input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: 5px;
}

.product-form button {
    margin-bottom: 15px;
}

.product-info-extra {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gray);
}

.related-products {
    background: var(--color-light-gray);
}

/* Cart Page */
.cart-page {
    padding: 60px 0;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart i {
    font-size: 80px;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.cart-items h2 {
    margin-bottom: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    background: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.item-quantity label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.item-subtotal label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.subtotal-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.item-remove {
    background: var(--color-danger);
    color: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-summary {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    margin-bottom: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.summary-total {
    font-size: 20px;
    font-weight: 700;
}

.cart-summary .btn {
    margin-bottom: 10px;
}

/* Auth Pages */
.auth-page {
    padding: 60px 0;
}

.auth-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.auth-form-container {
    background: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-form-container h2 {
    margin-bottom: 30px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-size: 16px;
}

.auth-form small {
    font-size: 12px;
    color: var(--color-gray);
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: var(--color-primary);
}

.auth-benefits {
    padding: 40px;
}

.auth-benefits h3 {
    margin-bottom: 30px;
}

.auth-benefits ul {
    list-style: none;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.auth-benefits i {
    font-size: 24px;
    color: var(--color-primary);
}

/* Account Page */
.account-page {
    padding: 60px 0;
}

.account-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.account-sidebar {
    background: var(--color-white);
    border-radius: 10px;
    padding: 30px;
    height: fit-content;
}

.account-user {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-border);
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 15px;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: background 0.3s;
}

.account-nav a:hover,
.account-nav a.active {
    background: var(--color-light-gray);
    color: var(--color-primary);
}

.account-content {
    background: var(--color-white);
    border-radius: 10px;
    padding: 40px;
}

.account-section {
    display: none;
}

.account-section.active {
    display: block;
}

.orders-list,
.addresses-list {
    display: grid;
    gap: 20px;
}

.order-card,
.address-card {
    background: var(--color-light-gray);
    padding: 20px;
    border-radius: 10px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.order-status {
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
}

.order-status.status-pending {
    background: var(--color-warning);
    color: var(--color-white);
}

.order-status.status-paid {
    background: var(--color-success);
    color: var(--color-white);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 60px;
    color: var(--color-gray);
    margin-bottom: 20px;
}

/* Checkout Page */
.checkout-page {
    padding: 60px 0;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--color-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step.active .step-number {
    background: var(--color-primary);
    color: var(--color-white);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.checkout-section {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    gap: 20px;
}

.form-row.col-2 {
    grid-template-columns: 1fr 1fr;
}

.form-row.col-3 {
    grid-template-columns: 2fr 1fr;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
}

.btn-search-cep {
    position: absolute;
    right: 5px;
    top: 32px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.addresses-select {
    display: grid;
    gap: 15px;
}

.address-option {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.address-option:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(235,1,0,0.05);
}

.shipping-options,
.payment-methods {
    display: grid;
    gap: 15px;
}

.shipping-option,
.payment-option {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.shipping-option:has(input:checked),
.payment-option:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(235,1,0,0.05);
}

.shipping-content,
.payment-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-summary {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-items {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.item-qty {
    color: var(--color-gray);
    font-size: 14px;
}

.summary-totals {
    margin-top: 20px;
}

/* Tracking Page */
.tracking-page {
    padding: 60px 0;
}

.tracking-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tracking-icon {
    text-align: center;
    font-size: 60px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.order-tracking-result {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 40px;
    border-radius: 10px;
}

.order-timeline {
    margin: 40px 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    opacity: 0.5;
}

.timeline-item.completed {
    opacity: 1;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--color-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.timeline-item.completed .timeline-icon {
    background: var(--color-success);
    color: var(--color-white);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--color-white);
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s;
    z-index: 9999;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid var(--color-success);
}

.notification-error {
    border-left: 4px solid var(--color-danger);
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

.popup-content {
    background: var(--color-white);
    max-width: 500px;
    width: 90%;
    padding: 40px;
    border-radius: 10px;
    position: relative;
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-gray);
}

.popup-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
}

.popup-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.popup-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA Mobile */
    .cta-section {
        padding: 30px 0;
    }
    
    .cta-box {
        flex-direction: column;
        padding: 25px 20px;
        gap: 25px;
        text-align: center;
    }
    
    .cta-left {
        max-width: 100%;
    }
    
    .cta-title {
        font-size: 20px;
    }
    
    .cta-subtitle {
        font-size: 14px;
    }
    
    .cta-right {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .slider-container {
        height: 400px;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        display: none;
    }
    
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .checkout-buttons {
        flex-direction: column;
    }
    
    .checkout-buttons .btn {
        width: 100%;
    }
    
    .address-card-content,
    .shipping-card-content {
        flex-wrap: wrap;
    }
    
    .btn-new-address {
        width: 100%;
    }
    
    .cart-summary,
    .order-summary {
        position: static;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-benefits {
        display: none;
    }
    
    .account-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .item-image img {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 24px;
    }
    
    .slider-container {
        height: 300px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}

/* ============================================
   NEW CHECKOUT STYLES - CLEAN & MODERN
============================================ */

/* Address Card Styles */
.addresses-list {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.address-card-option {
    position: relative;
    display: block;
    cursor: pointer;
}

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

.address-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
}

.address-card-option:hover .address-card-content {
    border-color: #eb0000;
    box-shadow: 0 4px 12px rgba(235, 0, 0, 0.1);
}

.address-card-option input:checked ~ .address-card-content {
    border-color: #eb0000;
    background: rgba(235, 0, 0, 0.02);
}

.address-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 0, 0, 0.1);
    border-radius: 50%;
    color: #eb0000;
    font-size: 20px;
}

.address-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.address-details strong {
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

.address-complement,
.address-neighborhood,
.address-zipcode {
    color: #666;
    font-size: 14px;
}

.address-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    font-size: 24px;
    transition: all 0.3s;
}

.address-card-option input:checked ~ .address-card-content .address-check {
    color: #eb0000;
}

.address-actions {
    margin-top: 20px;
    text-align: center;
}

.btn-new-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: transparent;
    color: #eb0000;
    border: 2px dashed #eb0000;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-new-address:hover {
    background: rgba(235, 0, 0, 0.05);
    border-style: solid;
}

.btn-new-address i {
    font-size: 18px;
}

/* Shipping Card Styles */
.shipping-options-list {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.shipping-card-option {
    position: relative;
    display: block;
    cursor: pointer;
}

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

.shipping-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
}

.shipping-card-option:hover .shipping-card-content {
    border-color: #eb0000;
    box-shadow: 0 4px 12px rgba(235, 0, 0, 0.1);
}

.shipping-card-option input:checked ~ .shipping-card-content {
    border-color: #eb0000;
    background: rgba(235, 0, 0, 0.02);
}

.shipping-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 0, 0, 0.1);
    border-radius: 50%;
    color: #eb0000;
    font-size: 22px;
}

.shipping-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shipping-name {
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

.shipping-time {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.shipping-price-box {
    flex-shrink: 0;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.shipping-price-box.free {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.shipping-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    font-size: 24px;
    transition: all 0.3s;
}

.shipping-card-option input:checked ~ .shipping-card-content .shipping-check {
    color: #eb0000;
}

/* Checkout Buttons */
.checkout-buttons {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.checkout-buttons .btn {
    flex: 1;
}

/* Button Utilities */
.btn-block {
    width: 100%;
    display: block;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Address Delete Button */
.address-delete {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid #f44336;
    border-radius: 8px;
    color: #f44336;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.address-delete:hover {
    background: #f44336;
    color: white;
}

/* Checkout Address Actions */
.checkout-address-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

.checkout-address-actions .btn {
    flex: 0 1 auto;
    min-width: 200px;
}

@media (max-width: 768px) {
    .checkout-address-actions {
        flex-direction: column;
    }
    
    .checkout-address-actions .btn {
        width: 100%;
    }
}

/* Empty Cart Modern */
.empty-cart-modern {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(235, 0, 0, 0.05);
    border-radius: 50%;
    color: #eb0000;
    font-size: 60px;
}

.empty-cart-modern h2 {
    color: #000;
    font-size: 32px;
    margin-bottom: 15px;
}

.empty-cart-modern p {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

.empty-cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-empty-cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    color: #eb0000;
    border: 2px solid #eb0000;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-empty-cart:hover {
    background: #eb0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 0, 0, 0.2);
}

.btn-empty-cart i {
    font-size: 20px;
}

.link-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.link-back:hover {
    color: #eb0000;
}

@media (max-width: 768px) {
    .empty-cart-actions {
        flex-direction: column;
    }
    
    .btn-empty-cart {
        width: 100%;
        justify-content: center;
    }
}

