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

        :root {
            --bg-primary: #ffffff;
            --bg-secondary: #f8f9fa;
            --text-primary: #212529;
            --text-secondary: #6c757d;
            --accent: #0d6efd;
            --accent-hover: #0b5ed7;
            --border: #dee2e6;
            --card-shadow: rgba(0,0,0,0.08);
        }

        [data-theme="dark"] {
            --bg-primary: #1a1a1a;
            --bg-secondary: #242424;
            --text-primary: #e9ecef;
            --text-secondary: #adb5bd;
            --accent: #4dabf7;
            --accent-hover: #339af0;
            --border: #3a3a3a;
            --card-shadow: rgba(0,0,0,0.3);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            transition: background 0.3s, color 0.3s;
            line-height: 1.6;
        }

        header {
            background: var(--bg-primary);
            border-bottom: 1px solid var(--border);
            
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(10px);
        }

        nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        .theme-toggle {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            color: var(--text-primary);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.2s;
        }

        .theme-toggle:hover {
            transform: scale(1.05);
        }

        .hero {
            background: #274C77;
            color: white;
            padding: 4rem 1.5rem;
            text-align: center;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .hero p {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 1.5rem;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .section-subtitle {
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 2rem;
        }

        .product-card {
            background: var(--bg-secondary);
            border: 1px solid #5b1df4;
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.2s;
            cursor: pointer;
        }

        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 16px var(--card-shadow);
        }

        .product-image {
            position: relative;
            width: 100%;
            height: 250px;
            overflow: hidden;
            background: #f7f8f9;
        }
        
        @media (max-width: 768px) {
            .product-image {
                height: 160px;
            }
            
        }

        
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* cobre todo o card sem deformar */
            display: block;
            
        }
        
        /* Badge */
           .product-image .badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #274C77;
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
               
           }

        .badge {
            position: relative;
            
            right: 10px;
            background: #5cbb79;
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .product-info {
            padding: 1.5rem;
        }
/*
        .product-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: #6096BA;
            margin-bottom: 0.5rem;
            
        }
*/
        .product-title {
            font-size: 0.85rem;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .product-meta {
            display: flex;
            justify-content: space-between;
            color: #000;
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }

        .btn {
            width: 100%;
            background: #274C77;
            color: white;
            border: none;
            padding: 0.75rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }

        .btn:hover {
            background: var(--accent-hover);
        }

        footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border);
            padding: 3rem 1.5rem 1.5rem;
            margin-top: 4rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
            color: #274C77;
        }

        .footer-section a {
            display: block;
            color: #274C77;
            text-decoration: none;
            margin-bottom: 0.5rem;
            transition: color 0.2s;
        }

        .footer-section a:hover {
            color: var(--accent);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
            color: #000;
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 1.75rem;
            }

            .nav-links {
                gap: 1rem;
            }

            .nav-links a:not(.theme-toggle) {
                display: inline-flex;
                align-items: center;
            }

            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 1.5rem;
            }
        }

        /* MY ADS PAGE STYLES - Prefixed with myads- */
        .myads-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1.5rem;
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 2rem;
        }

        .myads-sidebar {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 2rem;
            height: fit-content;
            position: sticky;
            top: 90px;
        }

        .myads-profile {
            text-align: center;
            margin-bottom: 2rem;
        }

        .myads-avatar {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            margin: 0 auto 1rem;
            position: relative;
        }

        .myads-status {
            position: absolute;
            bottom: 5px;
            right: 5px;
            width: 20px;
            height: 20px;
            background: #28a745;
            border: 3px solid var(--bg-secondary);
            border-radius: 50%;
        }

        .myads-name {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .myads-company {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .myads-info-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border);
        }

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

        .myads-info-icon {
            font-size: 1.25rem;
        }

        .myads-info-text {
            flex: 1;
        }

        .myads-info-label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            display: block;
        }

        .myads-info-value {
            font-weight: 600;
        }

        .myads-stats {
            margin-top: 2rem;
        }

        .myads-stat-item {
            display: flex;
            justify-content: space-between;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border);
        }

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

        .myads-stat-label {
            color: var(--text-secondary);
        }

        .myads-stat-value {
            font-weight: 700;
            color: var(--accent);
        }

        .myads-stat-active {
            color: #28a745;
        }

        .myads-main {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .myads-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .myads-title {
            font-size: 2rem;
            font-weight: 700;
        }

        .myads-count {
            background: var(--accent);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .myads-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: box-shadow 0.2s;
        }

        .myads-card:hover {
            box-shadow: 0 4px 12px var(--card-shadow);
        }

        .myads-card-body {
            padding: 1.5rem;
            display: grid;
            grid-template-columns: 180px 1fr auto;
            gap: 1.5rem;
            align-items: center;
        }

        .myads-product-img {
            width: 180px;
            height: 120px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
        }

        .myads-details {
            flex: 1;
        }

        .myads-product-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .myads-product-desc {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .myads-actions {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            align-items: flex-end;
        }

        .myads-price {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--accent);
        }

        .myads-btn {
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.95rem;
        }

        .myads-btn-accept {
            background: #28a745;
            color: white;
        }

        .myads-btn-accept:hover {
            background: #218838;
            transform: translateY(-2px);
        }

        .myads-btn-reject {
            background: transparent;
            color: #dc3545;
            border: 1px solid #dc3545;
        }

        .myads-btn-reject:hover {
            background: #dc3545;
            color: white;
        }

        .myads-offers-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: #fff3cd;
            color: #856404;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .myads-offers-badge:hover {
            background: #ffeaa7;
            transform: scale(1.05);
        }

        .myads-offers-panel {
            border-top: 1px solid var(--border);
            padding: 1.5rem;
            background: var(--bg-primary);
            display: none;
        }

        .myads-offers-panel.active {
            display: block;
            animation: myads-slideDown 0.3s ease-out;
        }

        @keyframes myads-slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .myads-offers-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .myads-offer-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 8px;
            margin-bottom: 0.75rem;
            transition: all 0.2s;
        }

        .myads-offer-item:hover {
            border-color: var(--accent);
            box-shadow: 0 2px 8px var(--card-shadow);
        }

        .myads-offer-info {
            flex: 1;
        }

        .myads-offer-user {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .myads-offer-meta {
            display: flex;
            gap: 1rem;
            color: var(--text-secondary);
            font-size: 0.85rem;
        }

        .myads-offer-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            margin: 0 1.5rem;
        }

        .myads-offer-actions {
            display: flex;
            gap: 0.75rem;
        }

        .myads-btn-small {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
        }

        .myads-best-badge {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: 0.5rem;
        }

        @media (max-width: 1024px) {
            .myads-container {
                grid-template-columns: 1fr;
            }

            .myads-sidebar {
                position: static;
            }

            .myads-card-body {
                grid-template-columns: 1fr;
            }

            .myads-product-img {
                width: 100%;
                height: 200px;
            }

            .myads-actions {
                align-items: stretch;
            }

            .myads-btn {
                width: 100%;
            }

            .myads-offer-item {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }

            .myads-offer-actions {
                width: 100%;
            }

            .myads-btn-small {
                flex: 1;
            }
        }

        /* OFFERS PAGE STYLES - Prefixed with offers- */
        .offers-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1.5rem;
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 2rem;
        }

        .offers-sidebar {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 2rem;
            height: fit-content;
            position: sticky;
            top: 90px;
        }

        .offers-profile {
            text-align: center;
            margin-bottom: 2rem;
        }

        .offers-avatar {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            margin: 0 auto 1rem;
            position: relative;
        }

        .offers-status {
            position: absolute;
            bottom: 5px;
            right: 5px;
            width: 20px;
            height: 20px;
            background: #28a745;
            border: 3px solid var(--bg-secondary);
            border-radius: 50%;
        }

        .offers-name {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .offers-company {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .offers-info-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border);
        }

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

        .offers-info-icon {
            font-size: 1.25rem;
        }

        .offers-info-text {
            flex: 1;
        }

        .offers-info-label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            display: block;
        }

        .offers-info-value {
            font-weight: 600;
        }

        .offers-stats {
            margin-top: 2rem;
        }

        .offers-stat-item {
            display: flex;
            justify-content: space-between;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border);
        }

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

        .offers-stat-label {
            color: var(--text-secondary);
        }

        .offers-stat-value {
            font-weight: 700;
            color: var(--accent);
        }

        .offers-main {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .offers-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .offers-title {
            font-size: 2rem;
            font-weight: 700;
        }

        .offers-count {
            background: var(--accent);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .offers-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.5rem;
            display: grid;
            grid-template-columns: 180px 1fr auto;
            gap: 1.5rem;
            align-items: center;
            transition: box-shadow 0.2s;
        }

        .offers-card:hover {
            box-shadow: 0 4px 12px var(--card-shadow);
        }

        .offers-product-img {
            width: 180px;
            height: 120px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
        }

        .offers-details {
            flex: 1;
        }

        .offers-product-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .offers-product-desc {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .offers-meta {
            display: flex;
            gap: 2rem;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .offers-meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .offers-actions {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            align-items: flex-end;
        }

        .offers-price {
            font-size: medium;
            font-weight: 700;
            color: var(--accent);
        }

        .offers-btn {
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.95rem;
        }

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

        .offers-btn-primary:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
        }

        .offers-btn-secondary {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border);
        }

        .offers-btn-secondary:hover {
            background: var(--bg-secondary);
            color: var(--text-primary);
        }

        .offers-timer {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #dc3545;
            font-size: 0.9rem;
            font-weight: 600;
            margin-top: 0.5rem;
        }

        .offers-timer-icon {
            font-size: 1.2rem;
            animation: offers-pulse 2s infinite;
        }

        @keyframes offers-pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        .offers-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-top: 0.5rem;
        }

        .offers-status-waiting {
            background: #fff3cd;
            color: #856404;
        }

        .offers-status-accepted {
            background: #d4edda;
            color: #155724;
        }

        @media (max-width: 1024px) {
            .offers-container {
                grid-template-columns: 1fr;
            }

            .offers-sidebar {
                position: static;
            }

            .offers-card {
                grid-template-columns: 1fr;
            }

            .offers-product-img {
                width: 100%;
                height: 200px;
            }

            .offers-actions {
                align-items: stretch;
            }

            .offers-btn {
                width: 100%;
            }
        }
       


.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
}

 .pd-container {
            max-width: 1170px;
            margin: 0 auto;
            padding: 2rem 1.5rem;
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 2rem;
        }

        .pd-main {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .pd-gallery-section {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            padding: 1.5rem;
        }

        .pd-badges {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .pd-badge {
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .pd-badge-success {
            background: rgba(16, 185, 129, 0.2);
            color: var(--success);
        }

        .pd-badge-warning {
            background: rgba(245, 158, 11, 0.2);
            color: var(--warning);
        }

        .pd-gallery-wrapper {
            display: grid;
            grid-template-columns: 100px 1fr;
            gap: 1rem;
        }

        .pd-thumbnails {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            max-height: 500px;
            overflow-y: auto;
        }

        .pd-thumbnails::-webkit-scrollbar {
            width: 6px;
        }

        .pd-thumbnails::-webkit-scrollbar-track {
            background: var(--bg-tertiary);
            border-radius: 3px;
        }

        .pd-thumbnails::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .pd-thumbnail {
            width: 100px;
            height: 100px;
            border: 2px solid var(--border);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-tertiary);
            overflow: hidden;
        }

        .pd-thumbnail:hover {
            border-color: var(--accent);
            transform: scale(1.05);
        }

        .pd-thumbnail.active {
            border-color: var(--accent);
            box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
        }

        .pd-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .pd-main-image {
            width: 100%;
            height: 500px;
            
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .pd-main-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .pd-info-section {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 2rem;
        }

        .pd-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .pd-subtitle {
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        .pd-specs-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .pd-spec-item {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            padding: 1rem;
            background: var(--bg-tertiary);
            border-radius: 8px;
        }

        .pd-spec-icon {
            font-size: 1.5rem;
        }

        .pd-spec-label {
            font-size: 0.75rem;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .pd-spec-value {
            font-weight: 600;
            font-size: 0.95rem;
        }

        .pd-description {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .pd-description h3 {
            margin-bottom: 1rem;
            font-size: 1.25rem;
        }

        .pd-description p {
            color: var(--text-secondary);
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        .pd-link {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
        }

        .pd-link:hover {
            text-decoration: underline;
        }

        .pd-location {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .pd-location-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
        }

        .pd-location-info h4 {
            margin-bottom: 0.25rem;
        }

        .pd-location-address {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .pd-similar {
            margin-top: 2rem;
        }

        .pd-similar h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .pd-similar-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.5rem;
        }

        .pd-similar-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.2s;
            cursor: pointer;
        }

        .pd-similar-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 16px var(--card-shadow);
            border-color: var(--accent);
        }

        .pd-similar-img {
            width: 100%;
            height: 150px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
        }

        .pd-similar-info {
            padding: 1rem;
        }

        .pd-similar-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 0.5rem;
        }

        .pd-similar-title {
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .pd-sidebar {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .pd-price-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 2rem;
            position: relative;
            
        }

        .pd-price {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 1rem;
        }

        .pd-payment-icons {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .pd-payment-icon {
            font-size: 1.5rem;
            color:C9A227;
        }

        .pd-installments {
            color: var(--success);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .pd-discount-banner {
            background: rgba(16, 185, 129, 0.2);
            color: var(--success);
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .alert {
            padding: 1rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }

        .alert-warning {
            background: rgba(245, 158, 11, 0.2);
            color: var(--warning);
            border: 1px solid rgba(245, 158, 11, 0.3);
        }

        .alert-info {
            background: rgba(102, 126, 234, 0.2);
            color: var(--accent);
            border: 1px solid rgba(102, 126, 234, 0.3);
        }

        .pd-input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--bg-tertiary);
            color: var(--text-primary);
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        .btn-buy {
            width: 100%;
            padding: 1rem;
            border: none;
            border-radius: 8px;
            background: var(--accent);
            color: white;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .btn-buy:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

        .pd-seller-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.5rem;
        }

        .pd-seller-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .pd-seller-avatar {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
        }

        .pd-seller-name {
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .pd-seller-verified {
            color: var(--success);
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .pd-seller-stats {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }

        .pd-seller-stat {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
        }

        .pd-seller-label {
            color: var(--text-secondary);
        }

        .pd-seller-value {
            font-weight: 600;
        }

        .pd-btn-secondary {
            width: 100%;
            padding: 0.875rem;
            border: 2px solid var(--accent);
            border-radius: 8px;
            background: transparent;
            color: var(--accent);
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
        }

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

        .pd-verified-section {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
        }

        .pd-verified-title {
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .pd-verified-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .pd-verified-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .pd-verified-icon {
            color: var(--success);
        }

        .pd-security-banner {
            background: rgba(245, 158, 11, 0.2);
            border: 1px solid rgba(245, 158, 11, 0.3);
            border-radius: 8px;
            padding: 1rem;
            margin-top: 1.5rem;
        }

        .pd-security-title {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 700;
            color: var(--warning);
            margin-bottom: 0.5rem;
        }

        .pd-security-text {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        .pd-security-link {
            color: var(--accent);
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            margin-top: 0.5rem;
        }

        @media (max-width: 1200px) {
            .pd-container {
                grid-template-columns: 1fr;
            }

            .pd-price-card {
                position: static;
            }

            .pd-specs-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .nav {
                gap: 1rem;
                font-size: 0.9rem;
            }

            .pd-gallery-wrapper {
                grid-template-columns: 80px 1fr;
            }

            .pd-thumbnail {
                width: 80px;
                height: 80px;
            }

            .pd-main-image {
                height: 300px;
            }

            .pd-specs-grid {
                grid-template-columns: 1fr;
            }

            .pd-title {
                font-size: 1.5rem;
            }

            .pd-price {
                font-size: 2rem;
            }

            .pd-similar-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }

        @media (max-width: 480px) {
            .pd-container {
                padding: 1rem;
            }

            .header-content {
                padding: 0 1rem;
            }

            .pd-gallery-wrapper {
                grid-template-columns: 1fr;
            }

            .pd-thumbnails {
                flex-direction: row;
                overflow-x: auto;
                overflow-y: hidden;
                max-height: none;
            }

            .pd-thumbnail {
                width: 60px;
                height: 60px;
            }
        }
        
        /* Paginação */
.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: white;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination .page-link:hover {
    background: #f8f9fa;
    border-color: #274C77;
    color: #274C77;
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background: #274C77;
    border-color: #274C77;
    color: white;
}

.pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #dee2e6;
    cursor: not-allowed;
    transform: none;
}

.pagination .page-item.disabled .page-link:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #adb5bd;
    transform: none;
}

/* Responsivo para paginação */
@media (max-width: 768px) {
    .pagination {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .page:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }
    
    .page.active {
        transform: scale(1.02);
        box-shadow: 0 3px 12px rgba(39, 76, 119, 0.25);
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 3px;
    }
    
    .page {
        min-width: 32px;
        height: 32px;
        padding: 0 6px;
        font-size: 12px;
        border-radius: 6px;
    }
    
    .pagination-wrapper {
        margin-top: 1.5rem;
    }
}

@media (max-width: 360px) {
    .pagination {
        gap: 2px;
    }
    
    .page {
        min-width: 30px;
        height: 30px;
        padding: 0 5px;
        font-size: 11px;
        border-radius: 5px;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper {
        margin-top: 30px;
    }
    
    .pagination {
        gap: 2px;
    }
    
    .pagination .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 6px;
        font-size: 12px;
    }
}
        
        /* Container com sidebar - COMENTADO PARA EVITAR CONFLITO COM PÁGINA DE PERFIL */
 .container-with-sidebar {
    display: flex;
    gap: 20px;
    max-width: 1155px;
    margin: 0 auto;
    padding: 20px;
} 

/* Sidebar de filtros */
.filters-sidebar {
    width: 280px;
    background: white;
    border: 2px solid #274C77;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: width 0.3s ease;
}

/* Estado colapsado do filtro */
.filters-sidebar.collapsed {
    width: 60px;
    padding: 15px 10px;
}

/* Esconder título quando colapsado */
.filters-sidebar.collapsed .filters-header h3 {
    display: none;
}

/* Botão de toggle centralizado quando colapsado */
.filters-sidebar.collapsed .toggle-filters {
    margin: 0 auto;
    display: block;
}

/* Ajustar busca quando colapsado */
.filters-sidebar.collapsed .search-group {
    margin: 10px 0 !important;
}

.filters-sidebar.collapsed .search-input-sidebar {
    padding: 6px 25px 6px 8px;
    font-size: 12px;
    width: 100%;
}

.filters-sidebar.collapsed .search-icon {
    right: 8px;
    width: 16px;
    height: 16px;
}

.filters-sidebar.collapsed .filters-content {
    display: none;
}

/* Botão de toggle */
.toggle-filters {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Garantir visibilidade em todos os dispositivos */
    z-index: 10;
    position: relative;
}

.toggle-filters:hover {
    background: #f0f0f0;
}

.toggle-filters.rotated svg {
    transform: rotate(180deg);
}

.toggle-filters svg {
    transition: transform 0.3s ease;
}

/* Garantir que o botão seja visível em mobile por padrão */
@media (max-width: 768px) {
    .toggle-filters {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
    }
}

/* Regra universal para garantir visibilidade do botão toggle */
.filters-sidebar .toggle-filters {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
    min-width: 20px !important;
    min-height: 20px !important;
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .filters-sidebar .toggle-filters {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 999 !important;
        background: #f0f0f0 !important;
        border-radius: 50% !important;
        width: 28px !important;
        height: 28px !important;
        padding: 4px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    }
    
    .filters-sidebar .toggle-filters svg {
        width: 16px !important;
        height: 16px !important;
        display: block !important;
        color: #333 !important;
    }
}

/* Conteúdo dos filtros */
.filters-content {
    transition: opacity 0.3s ease, max-height 0.3s ease;
    opacity: 1;
    max-height: 2000px;
    overflow: visible;
}

.filters-content.hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Busca compacta */
.search-group {
    margin-bottom: 15px !important;
}

.filters-sidebar.collapsed .search-group {
    margin-bottom: 0 !important;
}

.search-input-sidebar {
    width: 100%;
    padding: 8px 30px 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    transition: border-color 0.2s;
}

.filters-sidebar.collapsed .search-input-sidebar {
    padding: 6px 25px 6px 8px;
    font-size: 12px;
}

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

.filters-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.clear-filters {
    background: none;
    border: none;
    color: #4169E1;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    padding: 0;
}

.clear-filters:hover {
    color: #2948b8;
}

/* Busca na sidebar */
.search-box {
    position: relative;
}

.search-input-sidebar {
    width: 100%;
    padding: 10px 35px 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.search-input-sidebar:focus {
    outline: none;
    border-color: #4169E1;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

/* Grupos de filtros */
.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.filter-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-input:hover {
    border-color: #4169E1;
}

.filter-input:focus {
    outline: none;
    border-color: #4169E1;
}

.filter-options {
    max-height: 200px;
    overflow-y: auto;
}

.filter-options::-webkit-scrollbar {
    width: 6px;
}

.filter-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.filter-options::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.filter-checkbox,
.filter-radio {
    display: flex;
    align-items: center;
    padding: 8px 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.filter-checkbox:hover,
.filter-radio:hover {
    background: #f8f9fa;
}

.filter-check {
    margin-right: 10px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.filter-checkbox span,
.filter-radio span {
    font-size: 14px;
    color: #555;
}

/* Botões da sidebar */
.btn-filter {
    width: 100%;
    padding: 12px;
    background: #274C77;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.btn-filter:hover {
    background: #274C77;
}

.btn-clear {
    width: 100%;
    padding: 12px;
    background: white;
    color: #333;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear:hover {
    background: #f8f9fa;
    border-color: #999;
}

/* Conteúdo principal */
.main-content {
    flex: 1;
    min-width: 0;
}

.content-header {
    margin-bottom: 25px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Sem resultados */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.no-results p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.btn-primary {
    padding: 12px 30px;
    background: #4169E1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #2948b8;
}

/* Responsivo */
@media (max-width: 968px) {
    .container-with-sidebar {
        flex-direction: column;
    }
    
    .filters-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    
    .filter-options {
        max-height: 150px;
    }
}

@media (max-width: 640px) {
    .filters-sidebar {
        padding: 15px;
    }
    
    .filters-header h3 {
        font-size: 16px;
    }
    
    .filter-group h4 {
        font-size: 14px;
    }
}
     
/* botão hamburguer */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Advanced Search System */
.search-container {
    flex: 1;
    max-width: 800px;
    margin: 0 20px;
    position: relative;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-category-dropdown {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    min-width: 120px;
    user-select: none;
}

.search-category-dropdown:hover {
    background: #e5e7eb;
}

.search-category-dropdown:active {
    transform: scale(0.98);
}

.category-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.category-arrow.open {
    transform: rotate(180deg);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(135deg, #274c77 0%, #274c77 100%);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 0 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.search-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
}

/* Category Dropdown Menu */
.category-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    min-width: 450px;
    max-height: 600px;
    overflow-y: auto;
    display: none;
    margin-top: 2px;
}

.category-dropdown-menu.show {
    display: block !important;
}

.category-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.category-item:hover {
    background: #f9fafb;
}

.category-item.active {
    background: #ecfdf5;
    color: #10b981;
    font-weight: 600;
}

.category-icon {
    font-size: 1.2rem;
    opacity: 0.7;
}

.category-name {
    flex: 1;
}

.category-count {
    font-size: 0.8rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Advanced Filters Panel - ATUALIZADO PARA "TODOS" */
.advanced-filters-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: 20px;
    margin-top: 8px;
    display: none;
}

.advanced-filters-panel.show {
    display: block;
}

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

.filters-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.clear-filters-btn:hover {
    color: #ef4444;
}

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

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.filter-select, .filter-input {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.filter-select:focus, .filter-input:focus {
    outline: none;
    border-color: #10b981;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-input {
    flex: 1;
}

/* Estilos para checkboxes personalizados */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox, .filter-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.filter-checkbox:hover, .filter-radio:hover {
    background: #f9fafb;
}

.filter-checkbox input[type="checkbox"],
.filter-radio input[type="radio"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.filter-checkbox span,
.filter-radio span {
    font-size: 0.9rem;
    color: #374151;
}

.filters-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.apply-filters-btn, .cancel-filters-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.apply-filters-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.apply-filters-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cancel-filters-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.cancel-filters-btn:hover {
    background: #f9fafb;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 998;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    animation: slideDown 0.2s ease-out;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

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

.suggestion-item:hover {
    background: #f9fafb;
}

.suggestion-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.suggestion-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.suggestion-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    word-break: break-word;
}

.suggestion-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #10b981;
    white-space: nowrap;
    flex-shrink: 0;
}

.suggestion-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggestion-brand {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestion-specs {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.2;
}

.suggestion-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.suggestion-category {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.suggestion-icon {
    font-size: 0.9rem;
    opacity: 0.7;
}

.suggestion-highlight {
    font-weight: 700;
    color: #10b981;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Melhorias no input de busca */
.search-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Feedback visual para busca vazia */
.search-input:placeholder-shown {
    background-color: #f9fafb;
}

.search-input:not(:placeholder-shown) {
    background-color: white;
}

/* MOBILE - CORRIGIDO E OTIMIZADO */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        padding: 0.5rem;
        font-size: 1.5rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        display: none;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 0;
    }

    /* CORREÇÃO PRINCIPAL - Barra de pesquisa responsiva */
    .search-container {
        margin: 10px 0;
        max-width: 100%;
        width: 100%;
        order: 3;
    }

    .search-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-category-dropdown {
        position: relative;
        width: 100%;
        min-width: auto;
        padding: 10px 15px;
        border-radius: 8px;
        border: 2px solid #e5e7eb;
        justify-content: space-between;
    }

    .search-input-wrapper {
        width: 100%;
    }

    .search-input {
        padding: 12px 50px 12px 15px;
        border-radius: 8px;
        font-size: 1rem;
        border: 2px solid #e5e7eb;
    }

    .search-button {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        height: auto;
        width: auto;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 0.9rem;
    }

    /* Navegação reorganizada para mobile */
    nav {
        flex-wrap: wrap;
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .desktop-nav {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .mobile-nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.5rem 0;
    }

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

    .filters-actions {
        flex-direction: column;
    }

    .apply-filters-btn, .cancel-filters-btn {
        width: 100%;
    }

    /* Sugestões de busca otimizadas */
    .search-suggestions {
        position: fixed;
        top: 60px;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-height: 60vh;
        overflow-y: auto;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
}

/* TELAS PEQUENAS - CORRIGIDO */
@media (max-width: 480px) {
    /* OCULTAR BARRA DE PESQUISA COMPLETAMENTE */
    .search-container {
        display: none !important;
    }
    
    .search-input {
        padding: 10px 45px 10px 12px;
        font-size: 0.95rem;
    }

    .search-button {
        padding: 6px 10px;
        font-size: 0.85rem;
        right: 3px;
    }

    .search-category-dropdown {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .category-dropdown-menu {
        position: fixed;
        top: 50px;
        left: 10px;
        right: 10px;
        width: auto;
        min-width: auto;
        max-height: 70vh;
        overflow-y: auto;
        border-radius: 8px;
    }

    /* Header otimizado */
    header {
        padding: 0.5rem 0;
    }

    nav {
        padding: 0 0.75rem;
    }

    .menu-toggle {
        font-size: 1.3rem;
        padding: 0.25rem;
    }

    /* Sugestões ainda mais otimizadas */
    .search-suggestions {
        top: 50px;
        left: 0.5rem;
        right: 0.5rem;
        max-height: 50vh;
    }

    .suggestion-item {
        padding: 0.75rem;
    }

    .suggestion-title {
        font-size: 0.9rem;
    }

    .suggestion-meta {
        font-size: 0.8rem;
    }
}

/* TABLETS - MELHORIAS ADICIONAIS */
@media (max-width: 1024px) and (min-width: 769px) {
    .search-container {
        max-width: 600px;
        margin: 0 15px;
    }
    
    .search-category-dropdown {
        min-width: 110px;
        padding: 0 12px;
    }
}

/* MELHORIAS GERAIS DE RESPONSIVIDADE */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Botão Toggle para Filtros Mobile */
    .filters-toggle-btn {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 1rem;
        width: 100%;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        transition: all 0.3s ease;
    }
    
    .filters-toggle-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    }
    
    .filters-toggle-btn svg {
        flex-shrink: 0;
    }
    
    .filters-sidebar.active {
        left: 0;
    }
    
    .filters-overlay.active {
        display: block;
    }
    
    /* FORÇAR 1 PRODUTO POR LINHA NO MOBILE */
    .main-content .products-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .sidebar {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Cards responsivos */
    .card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    /*
    .card-header {
        padding: 0.75rem 1rem;
    }
    */

    
    .card-body {
        padding: 1rem;
    }
    
    /* Formulários responsivos */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    /* Tabelas responsivas */
    .table {
        font-size: 0.9rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
    }
    
    /* Badges responsivos */
    .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Alerts responsivos */
    .alert {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Pagination responsiva */
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .page-link {

    .empty-history {
        max-width: 500px;
        margin: 0 auto;
    }
    }
    
    .search-category-dropdown {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .hero h1 {
        font-size: 1.25rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    /*
    .product-price {
        font-size: 1.1rem;
    }
    */
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .card {
        padding: 0.75rem;
    }
    
    .form-control {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* MELHORIAS PARA ORIENTAÇÃO LANDSCAPE EM MOBILE */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 1.5rem 1rem;
    }
    
    .search-container {
        margin: 5px 0;
    }
    
    .search-wrapper {
        flex-direction: row;
    }
    
    .search-category-dropdown {
        position: absolute;
        width: auto;
        min-width: 100px;
        border-radius: 8px 0 0 8px;
        border-right: none;
    }
    
    .search-input {
        padding: 10px 50px 10px 120px;
    }
    
    .nav-links {
        max-height: 50vh;
        overflow-y: auto;
    }
}

/* MELHORIAS PARA HIGH-DPI DISPLAYS */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .search-input,
    .search-button,
    .search-category-dropdown {
        border-width: 1px;
    }
    
    .product-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* MELHORIAS PARA DARK MODE EM MOBILE */
@media (max-width: 768px) {
    [data-theme="dark"] .search-input {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    [data-theme="dark"] .search-category-dropdown {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    [data-theme="dark"] .search-suggestions {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    [data-theme="dark"] .suggestion-item:hover {
        background: #4a5568;
    }
}

.history-card {
    transition: transform 0.2s ease-in-out;
}

.history-card:hover {
    transform: translateY(-2px);
}

.empty-history {
    max-width: 500px;
    margin: 0 auto;
}

.pagination-wrapper {
    margin-top: 2rem;
}        
    
    .order-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.header-info h1 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.order-number {
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.order-date {
    color: var(--text-secondary);
    margin: 0;
}

.order-detail-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.order-items-section h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    align-items: center;
}

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

.item-details {
    flex: 1;
}

.item-details h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 18px;
}

.item-specs {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.item-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.quantity {
    color: var(--text-secondary);
}

.unit-price {
    color: var(--text-secondary);
}

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

.total-label {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 5px;
}

.total-amount {
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
}

.summary-card, .payment-info-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 25px;
    margin-bottom: 20px;
}

.summary-card h2, .payment-info-card h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.free-shipping {
    color: #28a745;
    font-weight: 500;
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.total-row {
    font-size: 18px;
    font-weight: 600;
}

.total-amount {
    color: var(--primary);
    font-size: 20px;
}

.order-actions {
    margin: 20px 0;
}

.back-actions {
    margin-top: 20px;
}

.btn-block {
    width: 100%;
    padding: 12px;
    text-align: center;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.payment-status {
    font-weight: 600;
    color: var(--primary);
}

.transaction-id {
    font-family: monospace;
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .order-detail-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .order-detail-content {
        grid-template-columns: 1fr;
    }
    
    .order-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .item-total {
        grid-column: span 2;
        text-align: left;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--border);
    }
}
.orders-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

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

.orders-header h1 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.orders-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 25px;
    transition: all 0.3s ease;
}

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

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.order-info h3 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 18px;
}

.order-date {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.order-total {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.total-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.total-amount {
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
}

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

.order-items-preview {
    margin-bottom: 15px;
}

.item-preview {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
}

.item-name {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 5px;
}

.more-items {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.empty-orders {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-orders h2 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.empty-orders p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .order-actions {
        justify-content: stretch;
    }
    
    .order-actions .btn {
        flex: 1;
    }
}    
     .checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

.checkout-header h1 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.checkout-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-bottom: 30px;
}

.order-summary {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.order-summary h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-product h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}
/*
.product-price {
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
}
*/

.multiple-products h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.products-list {
    margin: 15px 0;
}

.product-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.product-name {
    color: var(--text-secondary);
}
/*
.product-price {
    color: var(--text-primary);
    font-weight: 500;
}
*/
.order-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.total-amount {
    color: var(--primary);
}

.pix-instructions {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.pix-instructions h2 {
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pix-info {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.transactions-grid {
    display: grid;
    gap: 20px;
}

.transaction-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.transaction-header h4 {
    color: var(--text-primary);
    margin: 0;
}

.transaction-amount {
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
}

.pix-details {
    margin-bottom: 20px;
}

.pix-key, .pix-reference {
    margin-bottom: 15px;
}

.pix-key strong, .pix-reference strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

.pix-key code, .pix-reference code {
    background: var(--bg-secondary);
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.copy-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    font-size: 12px;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.qr-code-placeholder {
    text-align: center;
    margin-bottom: 20px;
}

.qr-code {
    background: var(--bg-secondary);
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--text-secondary);
}

.qr-note {
    color: var(--text-secondary);
    font-size: 14px;
}

.transaction-status {
    text-align: center;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .transaction-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}   
.add-to-cart-component {
        margin: 15px 0;
    }

    .in-cart-indicator {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        background: #d4edda;
        border: 1px solid #c3e6cb;
        border-radius: 8px;
        color: #155724;
        font-size: 14px;
    }

    .in-cart-icon {
        background: #28a745;
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: bold;
    }

    .in-cart-text {
        flex: 1;
        font-weight: 500;
    }

    .out-of-stock-indicator {
        padding: 12px 16px;
        background: #f8d7da;
        border: 1px solid #f5c6cb;
        border-radius: 8px;
        color: #721c24;
        text-align: center;
    }

    .out-of-stock-icon {
        font-size: 24px;
        margin-bottom: 8px;
        display: block;
    }

    .out-of-stock-text {
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
    }

    .out-of-stock-reason {
        font-size: 12px;
        opacity: 0.8;
    }

    .login-required-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 16px;
        background: #fff3cd;
        border: 1px solid #ffeaa7;
        border-radius: 8px;
        color: #856404;
        text-align: center;
    }

    .login-icon {
        font-size: 32px;
        margin-bottom: 4px;
    }

    .login-text {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 8px;
    }

    .login-required-indicator .btn {
        width: 100%;
        max-width: 200px;
        margin: 4px 0;
    }

    .add-to-cart-form {
        display: block;
    }

    .add-to-cart-actions {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .price-summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: var(--bg-secondary);
        border-radius: 8px;
        border: 1px solid var(--border);
    }

    .unit-price {
        color: var(--text-secondary);
        font-size: 14px;
    }

    .total-price {
        color: var(--primary);
        font-weight: 600;
        font-size: 16px;
    }

    .add-to-cart-btn {
        width: 100%;
        padding: 14px 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        border-radius: 8px;
        color: white;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .add-to-cart-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    }

    .add-to-cart-btn:active:not(:disabled) {
        transform: translateY(0);
    }

    .add-to-cart-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .btn-icon {
        font-size: 18px;
    }

    .loading-icon {
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .btn-outline-primary {
        padding: 6px 12px;
        font-size: 12px;
        border: 1px solid #007bff;
        color: #007bff;
        background: white;
        border-radius: 4px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .btn-outline-primary:hover {
        background: #007bff;
        color: white;
        text-decoration: none;
    }

    @media (max-width: 768px) {
        .add-to-cart-actions {
            gap: 10px;
        }
        
        .price-summary {
            flex-direction: column;
            align-items: flex-start;
            gap: 4px;
        }
        
        .add-to-cart-btn {
            padding: 12px 20px;
            font-size: 16px;
        }
        
        .in-cart-indicator {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }
        
        .btn-outline-primary {
            width: 100%;
            text-align: center;
        }

        .login-required-indicator {
            padding: 12px;
        }

        .login-icon {
            font-size: 28px;
        }

        .login-text {
            font-size: 14px;
        }

        .login-required-indicator .btn {
            max-width: none;
            font-size: 14px;
            padding: 8px 16px;
        }
    }
    /* Cart Page Styles - Same as Cart */
.cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Section */
.cart-header {
    margin-bottom: 40px;
    padding: 30px 0;
}

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

.header-text h1 {
    margin: 0 0 8px 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
}

.header-subtitle {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-secondary, #6b7280);
}

/* Action Buttons */
.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
}

.action-btn.primary {
    background: linear-gradient(135deg, #274c77 0%, #274c77 100%);
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.action-btn.secondary {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.action-btn.secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.action-btn.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.action-btn.small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-icon {
    font-size: 1rem;
}

.btn-text {
    font-size: 0.95rem;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-visual {
    position: relative;
    margin-bottom: 40px;
}

.empty-icon {
    font-size: 6rem;
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-decoration {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 0 auto;
    border-radius: 2px;
}

.empty-content h2 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    color: #374151;
    font-weight: 600;
}

.empty-content p {
    margin: 0 0 30px 0;
    font-size: 1.1rem;
    color: #6b7280;
}

/* Cart Content */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

/* Cart Items Section */
.cart-items-section {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #f3f4f6;
    background: #fafbfc;
}

.section-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #1f2937;
    font-weight: 600;
}

.cart-items-list {
    padding: 20px;
}

/* Cart Item Card */
.cart-item-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background: white;
}

.cart-item-card:hover {
    border-color: #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.cart-item-card:last-child {
    margin-bottom: 0;
}

.item-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.5;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-title {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.item-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.spec-item {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
}

.item-price-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-unit-price {
    font-size: 0.9rem;
    color: #6b7280;
}

.item-quantity {
    font-size: 0.85rem;
    color: #6b7280;
}

.item-total-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #10b981;
}

.item-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.transaction-status {
    margin-bottom: 5px;
}

/* Cart Summary Section */
.cart-summary-section {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.summary-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.summary-card h3 {
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    color: #1f2937;
    font-weight: 600;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #4b5563;
}

.free-shipping {
    color: #10b981;
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 20px 0;
}

.summary-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
}

.summary-total span:last-child {
    color: #10b981;
}

.cart-checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}

.checkout-form {
    margin: 0;
}

.cart-security-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.security-item {
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary-section {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .cart-page {
        padding: 15px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 20px;
    }
    
    .header-text h1 {
        font-size: 2rem;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cart-item-card {
        flex-direction: column;
        gap: 15px;
    }
    
    .item-image {
        width: 100%;
        height: 200px;
    }
    
    .item-actions {
        align-items: center;
    }
    
    .empty-icon {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .item-title {
        font-size: 1.1rem;
    }
    
    .spec-item {
        font-size: 0.75rem;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}

/* SLIDES */
.slides {
    display: flex;
    height: 100%;
    transition: transform .45s ease;
    will-change: transform;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

/* IMAGEM */
.slide img,
.slide picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide .banner-image {
    width: 100%;
    height: 100%;
    display: block;
}

/* OVERLAY */
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,.25),
        rgba(0,0,0,.05)
    );
    pointer-events: none;
}

/* FOOTER */
.slider-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 44px;
    padding: 0 20px;

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

    background: linear-gradient(
        to top,
        rgba(0,0,0,.45),
        rgba(0,0,0,0)
    );

    z-index: 5;
}

/* CONTROLES */
.controls {
    position: absolute;
    right: 20px;
    display: flex;
    gap: 10px;
}

.controls button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.85);
    color: #000;
    font-size: 18px;
    cursor: pointer;
}

/* DOTS */
.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
}

.dots span.active {
    background: #fff;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-slider {
        aspect-ratio: 16 / 6;
    }

    .slider-footer {
        height: 60px;
    }

    .controls button {
        width: 36px;
        height: 36px;
    }
}

/* TELAS MUITO ALTAS */
@media (max-width: 480px) {
    .hero-slider {
        aspect-ratio: 4 / 3;
    }

    .controls button {
        width: 32px;
        height: 32px;
    }

    .dots span {
        width: 6px;
        height: 6px;
    }
}

/* Estilos para o dropdown de filtros */
.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.filter-dropdown-toggle:hover {
    border-color: #999;
    background: #f9f9f9;
}

.filter-dropdown-toggle .icon {
    font-size: 18px;
}

.filter-dropdown-toggle .arrow {
    font-size: 12px;
    transition: transform 0.2s;
}

.filter-dropdown.active .arrow {
    transform: rotate(180deg);
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 320px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.filter-dropdown.active .filter-dropdown-menu {
    display: block;
}

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

.filter-dropdown-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: #0066cc;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 8px;
}

.clear-filters-btn:hover {
    text-decoration: underline;
}

.filter-section {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h5 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.filter-section select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.filter-section select:focus {
    outline: none;
    border-color: #0066cc;
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.filter-checkbox-item input[type="checkbox"],
.filter-checkbox-item input[type="radio"] {
    cursor: pointer;
}

.filter-checkbox-item label {
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.filter-actions {
    padding: 16px;
    display: flex;
    gap: 8px;
    border-top: 1px solid #eee;
}

.filter-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-apply-filters {
    background: #0066cc;
    color: white;
}

.btn-apply-filters:hover {
    background: #0052a3;
}

.btn-cancel-filters {
    background: #f5f5f5;
    color: #333;
}

.btn-cancel-filters:hover {
    background: #e5e5e5;
}

.active-filters-count {
    background: #0066cc;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .filter-dropdown-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: none;
        border-radius: 0;
        min-width: 100%;
    }
}

.quantity-selector-component {
        margin: 20px 0;
    }

    .quantity-label {
        display: block;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 10px;
    }

    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 0;
        border: 2px solid var(--border);
        border-radius: 8px;
        overflow: hidden;
        max-width: 200px;
    }

    .quantity-btn {
        width: 40px;
        height: 40px;
        border: none;
        background: var(--bg-secondary);
        color: var(--text-primary);
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .quantity-btn:hover:not(:disabled) {
        background: var(--primary);
        color: white;
    }

    .quantity-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background: var(--bg-disabled);
    }

    .quantity-input {
        flex: 1;
        height: 40px;
        border: none;
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        background: var(--bg-primary);
        color: var(--text-primary);
        min-width: 60px;
    }

    .quantity-input:focus {
        outline: none;
    }

    .stock-info {
        margin-top: 10px;
    }

    .stock-status {
        font-size: 14px;
        font-weight: 500;
        padding: 4px 8px;
        border-radius: 4px;
        display: inline-block;
    }

    .stock-status.in-stock {
        color: #28a745;
        background: #d4edda;
    }

    .stock-status.low-stock {
        color: #856404;
        background: #fff3cd;
    }

    .stock-status.out-of-stock {
        color: #721c24;
        background: #f8d7da;
    }

    .stock-warning {
        margin-top: 8px;
        padding: 8px 12px;
        background: #f8d7da;
        color: #721c24;
        border-radius: 4px;
        font-size: 14px;
        border: 1px solid #f5c6cb;
    }

    @media (max-width: 768px) {
        .quantity-controls {
            max-width: 180px;
        }
        
        .quantity-btn {
            width: 35px;
            height: 35px;
            font-size: 16px;
        }
        
        .quantity-input {
            height: 35px;
            font-size: 14px;
        }
    }

    @keyframes pulse-slow {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        .animate-pulse-slow {
            animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

/* Media queries para dispositivos móveis - Filtro responsivo */
@media (max-width: 768px) {
    /* Container horizontal para mobile */
    .container-with-sidebar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    /* Filtro horizontal em mobile */
    .filters-sidebar {
        width: 100% !important;
        padding: 15px !important;
        height: auto !important;
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Header horizontal com busca */
    .filters-sidebar .filters-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #eee !important;
    }
    
    /* Esconder título em mobile por padrão */
    .filters-sidebar .filters-header h3 {
        display: none !important;
    }
    
    /* Botão de toggle visível */
    .filters-sidebar .toggle-filters {
        display: block !important;
        background: #f0f0f0 !important;
        border-radius: 50% !important;
        width: 32px !important;
        height: 32px !important;
        padding: 6px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        flex-shrink: 0 !important;
    }
    
    .filters-sidebar .toggle-filters svg {
        width: 20px !important;
        height: 20px !important;
        color: #333 !important;
    }
    
    /* Busca sempre visível em mobile */
    .filters-sidebar .search-group {
        margin: 0 !important;
        flex: 1 !important;
    }
    
    .filters-sidebar .search-input-sidebar {
        padding: 10px 35px 10px 12px !important;
        font-size: 14px !important;
        width: 100% !important;
    }
    
    .filters-sidebar .search-icon {
        right: 12px !important;
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Conteúdo dos filtros escondido por padrão */
    .filters-sidebar .filters-content {
        display: none !important;
        width: 100% !important;
    }
    
    /* Estado aberto em mobile */
    .filters-sidebar:not(.collapsed) {
        width: 100% !important;
        padding: 15px !important;
        flex-direction: column !important;
    }
    
    .filters-sidebar:not(.collapsed) .filters-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .filters-sidebar:not(.collapsed) .filters-header h3 {
        display: block !important;
        font-size: 16px !important;
    }
    
    .filters-sidebar:not(.collapsed) .toggle-filters {
        margin: 0 !important;
        display: block !important;
    }
    
    .filters-sidebar:not(.collapsed) .search-group {
        margin-bottom: 15px !important;
    }
    
    .filters-sidebar:not(.collapsed) .filters-content {
        display: block !important;
        width: 100% !important;
    }
    
    .main-content {
        width: 100%;
    }
}

/* Media queries para telas muito pequenas (Samsung A03, etc) */
@media (max-width: 480px) {
    /* Container horizontal para telas muito pequenas */
    .container-with-sidebar {
        flex-direction: column;
        gap: 10px !important;
        padding: 10px !important;
    }
    
    /* Filtro horizontal em telas muito pequenas */
    .filters-sidebar {
        width: 100% !important;
        padding: 10px !important;
        height: auto !important;
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Header compacto */
    .filters-sidebar .filters-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid #eee !important;
    }
    
    /* Esconder título em telas pequenas */
    .filters-sidebar .filters-header h3 {
        display: none !important;
    }
    
    /* Botão de toggle compacto */
    .filters-sidebar .toggle-filters {
        display: block !important;
        background: #f0f0f0 !important;
        border-radius: 50% !important;
        width: 28px !important;
        height: 28px !important;
        padding: 4px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
        flex-shrink: 0 !important;
    }
    
    .filters-sidebar .toggle-filters svg {
        width: 16px !important;
        height: 16px !important;
        color: #333 !important;
        display: block !important;
    }
    
    /* Busca compacta */
    .filters-sidebar .search-group {
        margin: 0 !important;
        flex: 1 !important;
    }
    
    .filters-sidebar .search-input-sidebar {
        padding: 8px 28px 8px 10px !important;
        font-size: 14px !important;
        width: 100% !important;
    }
    
    .filters-sidebar .search-icon {
        right: 8px !important;
        width: 16px !important;
        height: 16px !important;
    }
    
    /* Conteúdo escondido por padrão */
    .filters-sidebar .filters-content {
        display: none !important;
        width: 100% !important;
    }
    
    /* Estado aberto em telas pequenas */
    .filters-sidebar:not(.collapsed) {
        width: 100% !important;
        padding: 10px !important;
        flex-direction: column !important;
    }
    
    .filters-sidebar:not(.collapsed) .filters-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .filters-sidebar:not(.collapsed) .filters-header h3 {
        display: block !important;
        font-size: 14px !important;
    }
    
    .filters-sidebar:not(.collapsed) .toggle-filters {
        margin: 0 !important;
        display: block !important;
    }
    
    .filters-sidebar:not(.collapsed) .search-group {
        margin-bottom: 10px !important;
    }
    
    .filters-sidebar:not(.collapsed) .filters-content {
        display: block !important;
        width: 100% !important;
    }
    
    /* Reduzir tamanho dos elementos dos filtros */
    .filters-sidebar:not(.collapsed) .filter-group h4 {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }
    
    .filters-sidebar:not(.collapsed) .filter-input {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
    
    .filters-sidebar:not(.collapsed) .filter-checkbox,
    .filters-sidebar:not(.collapsed) .filter-radio {
        padding: 6px 4px !important;
    }
    
    .filters-sidebar:not(.collapsed) .filter-checkbox span,
    .filters-sidebar:not(.collapsed) .filter-radio span {
        font-size: 12px !important;
    }
    
    .filters-sidebar:not(.collapsed) .filter-check {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* Botões menores */
    .filters-sidebar:not(.collapsed) .btn-filter,
    .filters-sidebar:not(.collapsed) .btn-clear {
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    /* Ajustes no conteúdo principal */
    .section-title {
        font-size: 20px !important;
    }
    
    .section-subtitle {
        font-size: 12px !important;
    }
    
    /* Grid de produtos mais compacto */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 10px !important;
    }
}
.whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background: #25D366;
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
        color: white;
        text-decoration: none;
    }
    
    .whatsapp-float svg {
        width: 35px;
        height: 35px;
        fill: white;
    }
    
    @media (max-width: 768px) {
        .whatsapp-float {
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
        }
        
        .whatsapp-float svg {
            width: 28px;
            height: 28px;
        }
    }
    
    
        /* botão hamburguer */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Advanced Search System */
.search-container {
    flex: 1;
    max-width: 800px;
    margin: 0 20px;
    position: relative;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-category-dropdown {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    min-width: 120px;
    user-select: none;
}

.search-category-dropdown:hover {
    background: #e5e7eb;
}

.search-category-dropdown:active {
    transform: scale(0.98);
}

.category-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.category-arrow.open {
    transform: rotate(180deg);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 140px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(135deg, #274c77 0%, #274c77 100%);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.search-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
}

/* Category Dropdown Menu */
.category-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    min-width: 450px;
    max-height: 600px;
    overflow-y: auto;
    display: none;
    margin-top: 2px;
}

.category-dropdown-menu.show {
    display: block !important;
}

.category-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.category-item:hover {
    background: #f9fafb;
}

.category-item.active {
    background: #ecfdf5;
    color: #10b981;
    font-weight: 600;
}

.category-icon {
    font-size: 1.2rem;
    opacity: 0.7;
}

.category-name {
    flex: 1;
}

.category-count {
    font-size: 0.8rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Advanced Filters Panel - ATUALIZADO PARA "TODOS" */
.advanced-filters-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: 20px;
    margin-top: 8px;
    display: none;
}

.advanced-filters-panel.show {
    display: block;
}

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

.filters-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.clear-filters-btn:hover {
    color: #ef4444;
}

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

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.filter-select, .filter-input {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.filter-select:focus, .filter-input:focus {
    outline: none;
    border-color: #10b981;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-input {
    flex: 1;
}

/* Estilos para checkboxes personalizados */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox, .filter-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.filter-checkbox:hover, .filter-radio:hover {
    background: #f9fafb;
}

.filter-checkbox input[type="checkbox"],
.filter-radio input[type="radio"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.filter-checkbox span,
.filter-radio span {
    font-size: 0.9rem;
    color: #374151;
}

.filters-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.apply-filters-btn, .cancel-filters-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.apply-filters-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.apply-filters-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cancel-filters-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.cancel-filters-btn:hover {
    background: #f9fafb;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 998;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

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

.suggestion-item:hover {
    background: #f9fafb;
}

.suggestion-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.suggestion-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.suggestion-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    word-break: break-word;
}

.suggestion-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #10b981;
    white-space: nowrap;
    flex-shrink: 0;
}

.suggestion-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggestion-brand {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestion-specs {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.2;
}

.suggestion-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.suggestion-category {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.suggestion-icon {
    font-size: 0.9rem;
    opacity: 0.7;
}

.suggestion-highlight {
    font-weight: 700;
    color: #10b981;
}

/* MOBILE */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        display: none;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
    display: inline-flex;
    align-items: center;
}

    .search-container {
        margin: 10px 0;
        max-width: 100%;
    }

    .search-category-dropdown {
        min-width: 100px;
        padding: 0 10px;
    }

    .search-input {
        padding: 12px 20px 12px 120px;
    }

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

    .filters-actions {
        flex-direction: column;
    }

    .apply-filters-btn, .cancel-filters-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .search-input {
        padding: 10px 15px 10px 110px;
        font-size: 0.9rem;
    }

    .search-button {
        padding: 0 15px;
        font-size: 0.9rem;
    }

    .category-dropdown-menu {
        min-width: 200px;
    }
}

/* Estilos específicos para filtros da página de busca */
.main-content .filter-group {
    margin-bottom: 25px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.main-content .filter-group .row {
    display: flex;
    gap: 15px;
    align-items: end;
}

.main-content .filter-group .col-md-3 {
    flex: 1;
    min-width: 200px;
}

.main-content .filter-group .form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.main-content .filter-group .form-select,
.main-content .filter-group .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.main-content .filter-group .form-select:hover,
.main-content .filter-group .form-control:hover {
    border-color: #4169E1;
}

.main-content .filter-group .form-select:focus,
.main-content .filter-group .form-control:focus {
    outline: none;
    border-color: #4169E1;
    box-shadow: 0 0 0 2px rgba(65, 105, 225, 0.1);
}

@media (max-width: 768px) {
    .main-content .filter-group .row {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-content .filter-group .col-md-3 {
        min-width: auto;
    }
}

.app-name {
        font-size: 20px;
        font-weight: bold;
    }


    /* Estilos da página de perfil */

/* Banner de Aviso de Exclusão */
.deletion-warning-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(238, 90, 111, 0.3);
    animation: slideDown 0.5s ease;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-icon {
    font-size: 48px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.banner-text {
    flex: 1;
}

.banner-text strong {
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.banner-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
}

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

.banner-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.banner-btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.banner-btn-primary:hover {
    background: white;
    color: #ff6b6b;
}

.banner-btn-success {
    background: #28a745;
    color: white;
}

.banner-btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .banner-btn {
        width: 100%;
    }
}

/* Modal de Validação */
.validation-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.validation-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

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

.modal-icon {
    font-size: 48px;
}

.modal-icon.error {
    color: #dc3545;
}

.modal-icon.success {
    color: #28a745;
}

.modal-icon.warning {
    color: #ffc107;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.modal-body {
    margin-bottom: 25px;
}

.modal-message {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.modal-btn-primary {
    background: #007bff;
    color: white;
}

.modal-btn-primary:hover {
    background: #0056b3;
}

.modal-btn-danger {
    background: #dc3545;
    color: white;
}

.modal-btn-danger:hover {
    background: #c82333;
}

.modal-btn-success {
    background: #28a745;
    color: white;
}

.modal-btn-success:hover {
    background: #218838;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Layout Principal de perfil
.container-with-sidebar {
    display: flex;
    gap: 20px;
    max-width: 1155px;
    margin: 0 auto;
    padding: 20px;
}
*/
.filters-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* Header das seções */
.content-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.section-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.profile-section {
    display: none;
}

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

.filters-header {
    margin-bottom: 20px;
}

.filters-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.filters-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: #f8f9fa;
    color: #007bff;
}

.menu-item.active {
    background: #007bff;
    color: white;
}

.menu-item[style*="color: #dc3545"].active {
    background: #dc3545;
    color: white;
}

.menu-item[style*="color: #dc3545"]:hover {
    background: #dc3545;
    color: white;
}

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

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

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

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

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

.alert-admin {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-admin strong {
    display: block;
    margin-bottom: 4px;
}

.alert-admin small {
    opacity: 0.8;
}

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

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

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

.alert-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Estilos para Cards de Produtos */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modern-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
/*
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}
*/
.order-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.order-number {
    font-weight: bold;
    color: #007bff;
    font-size: 16px;
}

.order-date {
    color: #666;
    font-size: 14px;
}

.order-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-Pendente {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

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

.status-Concluído {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Estilos Modernos para Meus Pedidos */
.header-with-stats {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.orders-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 100px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-filters {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

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

.modern-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
/*
.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}
*/
.order-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-number {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.order-date {
    font-size: 13px;
    color: #666;
}

.card-content {
    padding: 20px;
}

.product-section {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.product-image_or {
    flex-shrink: 0;
    width: 175px;
    height: 120px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-details {
    flex: 1;
    min-width: 0;
}

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

.products-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.product-count {
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

.view-products-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-products-btn:hover {
    background: #5a6fd8;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.spec-item {
    background: #f8f9fa;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 10px;
    color: #495057;
    border: 1px solid #e9ecef;
    font-weight: 500;
}

.order-summary {
    border-top: 1px solid #f1f3f4;
    padding-top: 20px;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

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

.price-label {
    font-size: 14px;
    color: #666;
}

.price-value {
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
}

.quantity-info,
.payment-method {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.primary-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-1px);
}

.secondary-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.secondary-btn:hover {
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%);
    transform: translateY(-1px);
}

.info-btn {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.info-btn:hover {
    background: linear-gradient(135deg, #138496 0%, #0f6674 100%);
    transform: translateY(-1px);
}

.legacy-notice {
    margin-top: 10px;
}

.legacy-notice small {
    color: #6c757d;
    font-style: italic;
    font-size: 12px;
}

.multiple-products-list {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 12px;
}

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

.product-name {
    font-weight: 500;
    font-size: 12px;
    flex: 1;
    margin-right: 10px;
    word-break: break-word;
}

.product-qty {
    color: #6c757d;
    font-size: 11px;
    margin: 0 8px;
    white-space: nowrap;
}

.product-price {
    font-weight: 600;
    color: #000;
    font-size: 24px;
    white-space: nowrap;
}


/* Responsive Design */
@media (max-width: 768px) {
    .header-with-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .orders-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .stat-card {
        flex: 1;
        min-width: 80px;
        padding: 12px 8px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
        min-width: auto;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-btn {
        flex: 1;
        text-align: center;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .product-section {
        flex-direction: column;
        gap: 15px;
    }
    /*
    .product-image_or {
        align-self: flex-start;
    }
    */

    /*
    .product-img {
        width: 80px;
        height: 80px;
    }
    */
    /*
    .card-header {
        padding: 12px 15px;
    }
    */
    
    .order-number {
        font-size: 16px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .action-btn {
        width: 100%;
        min-width: auto;
    }
    
    .products-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .view-products-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .orders-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-card {
        width: 100%;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .filter-btn {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
    }
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-image img {
    border-radius: 8px;
}

.product-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 48px;
}

.item-details {
    flex: 1;
}

.item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.item-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.spec-item {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #495057;
}

.multiple-products-list {
    margin-bottom: 15px;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.product-name {
    font-weight: 500;
}

.product-qty {
    color: #6c757d;
    font-size: 14px;
}



.legacy-notice-small {
    margin-bottom: 10px;
}

.legacy-notice-small small {
    color: #6c757d;
    font-style: italic;
}

.item-price-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6c757d;
}

.item-quantity {
    font-weight: 500;
}

.item-total-price {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
}

.item-status {
    margin-top: 10px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.statuspending {
    background: #fff3cd;
    color: #856404;
}

.statusapproved {
    background: #d4edda;
    color: #155724;
}

.statuscompleted {
    background: #d1ecf1;
    color: #0c5460;
}

.statuscancelled {
    background: #f8d7da;
    color: #721c24;
}

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

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom:5px;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    color: white;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
    color: white;
}

.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

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

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-warning {
    background: #ffc107;
    color: #212529;
}

.badge-success {
    background: #28a745;
    color: white;
}

.badge-danger {
    background: #dc3545;
    color: white;
}

.badge-secondary {
    background: #6c757d;
    color: white;
}

.empty-state {
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .container-with-sidebar {
        flex-direction: column;
        padding: 10px;
    }
    
    .filters-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .header-with-stats {
        flex-direction: column;
        align-items: stretch;
    }
    
    .orders-stats {
        justify-content: center;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
}

/* Estilos para Status de Entrega */
.shipping-status {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
}

.shipping-status.pending {
    background: #fff3cd;
    border-color: #ffeaa7;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.status-title {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-Pendente {
    background: #ffc107;
    color: #856404;
}

.status-Em Separação {
    background: #17a2b8;
    color: white;
}

.status-Enviado {
    background: #007bff;
    color: white;
}

.status-Entregue {
    background: #28a745;
    color: white;
}

.status-Cancelado {
    background: #dc3545;
    color: white;
}

.status-details {
    margin-top: 8px;
}

.status-note {
    background: #e9ecef;
    padding: 6px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.status-note small {
    color: #495057;
    line-height: 1.3;
}

.status-timeline {
    margin-top: 8px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    opacity: 0.5;
}

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    margin-top: 6px;
    margin-right: 8px;
    flex-shrink: 0;
}

.timeline-item.active .timeline-dot {
    background: #007bff;
}

.timeline-text {
    flex: 1;
}

.timeline-text small {
    display: block;
    font-weight: 600;
    color: #495057;
    font-size: 10px;
}

.timeline-text span {
    display: block;
    color: #6c757d;
    font-size: 10px;
    margin-top: 2px;
}

.timeline-item.active .timeline-text small {
    color: #007bff;
}

.timeline-item.active .timeline-text span {
    color: #495057;
}

/* Estilos para campos de senha */
.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.4;
}

.form-text.text-muted {
    color: #6c757d !important;
}

.form-group:has(.form-text) {
    margin-bottom: 1.5rem;
}

/* Estilo especial para mensagem de senha */
.password-hint {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #1565c0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-hint::before {
    content: "🔐";
    font-size: 1rem;
}

/* Cards de Notebooks Modernizados */
.notebooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.notebook-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e5e7eb;
}

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

.card-status {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

.status-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.status-disponivel {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.status-vendido {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.status-pendente {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.card-image {
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantém proporção sem cortar */
    object-position: center;
    transition: transform 0.3s ease;
    background: #f8fafc; /* Fundo para espaços vazios */
}

.card-image:hover img {
    transform: scale(1.02); /* Zoom mais sutil para não distorcer */
}

.no-image {
    text-align: center;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.no-image svg {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    opacity: 0.6;
}

.no-image span {
    font-size: 14px;
    font-weight: 500;
}

.card-content {
    padding: 20px;
}

.card-header {
    margin-bottom: 16px;
}

.notebook-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.notebook-price {
    font-size: 24px;
    font-weight: 800;
    color: #059669;
    margin-bottom: 16px;
}

.card-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

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

.spec-label {
    color: #6b7280;
    font-weight: 500;
    min-width: 80px;
}

.spec-value {
    color: #1f2937;
    font-weight: 600;
    text-align: right;
}

.stock-item {
    background: #f0f9ff;
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
}

.stock-item .spec-label {
    color: #0369a1;
}

.stock-item .spec-value {
    color: #0369a1;
    font-weight: 700;
}

.card-actions {
    display: flex;
    gap: 8px;
    padding: 16px 20px 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.btn-edit, .btn-delete {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-edit {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn-edit:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
}

.btn-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-delete:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
}

.btn-edit:disabled, .btn-delete:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .notebooks-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
        margin-top: 24px;
    }
    
    .notebook-card {
        border-radius: 12px;
    }
    
    .card-content {
        padding: 16px;
    }
    
    .notebook-title {
        font-size: 16px;
    }
    
    .notebook-price {
        font-size: 20px;
    }
    
    .card-actions {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .notebooks-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .spec-label, .spec-value {
        text-align: left;
    }
}



/* Receipt Upload Styles */
.receipt-upload-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.receipt-upload-section .security-item {
    margin-bottom: 15px;
    font-weight: 600;
    color: #1f2937;
}

.receipt-upload-section .form-group {
    margin-bottom: 15px;
}

.receipt-upload-section .form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #374151;
}

.receipt-upload-section .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.receipt-upload-section .form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.receipt-upload-section .form-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
}

.receipt-upload-section .d-flex {
    display: flex;
    gap: 10px;
}

.receipt-upload-section .gap-2 {
    gap: 8px;
}

.receipt-upload-section .action-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.receipt-upload-section .action-btn.primary {
    background: #3b82f6;
    color: white;
}

.receipt-upload-section .action-btn.primary:hover {
    background: #2563eb;
}

.receipt-upload-section .action-btn.secondary {
    background: #6b7280;
    color: white;
}

.receipt-upload-section .action-btn.secondary:hover {
    background: #4b5563;
}

.receipt-upload-section .action-btn.whatsapp-link-btn {
    background: #069b6d;
    color: white;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.receipt-upload-section .action-btn.whatsapp-link-btn:hover {
    background: #069a6c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.receipt-upload-section .action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.receipt-upload-section .alert {
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
}

.receipt-upload-section .alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.receipt-upload-section .alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

/* Payment Timer Styles */
.payment-timer {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.timer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.timer-icon {
    font-size: 1.5rem;
}

.timer-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #92400e;
}

.timer-display {
    margin-bottom: 15px;
}

.time-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d97706;
    display: block;
}

.time-label {
    font-size: 0.9rem;
    color: #92400e;
    display: block;
    margin-top: 5px;
}

.timer-progress {
    width: 100%;
    height: 8px;
    background: #fef3c7;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 4px;
    transition: width 1s linear;
    width: 100%;
}

/* Order Summary Styles */
.order-summary {
    margin-bottom: 25px;
}

/* Section Header Styles */
.section-header {
    margin-bottom: 20px;
}

.section-header h3 {
    margin-bottom: 10px;
    color: #1f2937;
    font-weight: 600;
}

.order-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.order-id, .order-reference {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
}

.order-id {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #93c5fd;
    color: #1e40af;
}

.order-reference {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #c084fc;
    color: #6b21a8;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-item.discount {
    color: #059669;
}

.summary-item.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #e5e7eb;
}

.item-label {
    font-weight: 500;
    color: #4b5563;
}

.item-value {
    font-weight: 600;
    color: #1f2937;
}

.summary-item.discount .item-value {
    color: #059669;
}

.summary-item.total .item-value {
    color: #10b981;
}

.product-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    margin-left: 10px;
}

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

.product-name {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.product-quantity {
    font-size: 0.8rem;
    color: #6b7280;
}
/*
.product-price {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}
*/

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 15px 0;
}

/* Multiple Products Header */
.multiple-products-header {
    margin-bottom: 20px;
    text-align: center;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid #93c5fd;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.header-badge strong {
    color: #1e3a8a;
    font-size: 1.1rem;
}

/* Legacy Transaction Notice */
.legacy-transaction-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.notice-icon {
    font-size: 1.5rem;
    color: #d97706;
    flex-shrink: 0;
}

.notice-text {
    flex: 1;
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.4;
}

.notice-text strong {
    color: #78350f;
    font-size: 1rem;
}

.notice-text small {
    color: #a16207;
    font-size: 0.8rem;
}

/* Payment Methods Styles */
.payment-methods {
    margin-bottom: 25px;
}

.method-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.pix-badge {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 1px solid #86efac;
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    font-weight: 700;
}

.badge-discount {
    background: #166534;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.payment-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.benefit-icon {
    font-size: 1.2rem;
}

.benefit-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
}

/* QR Code Section Improvements */
.qr-code-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.qr-code-image {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.qr-code-image:hover {
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .payment-timer {
        padding: 15px;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .payment-benefits {
        grid-template-columns: 1fr;
    }
    
    .method-badge {
        display: flex;
        justify-content: center;
    }
}




.orders-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #495057;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-filters {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #f8f9fa;
}

.filter-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.order-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

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

.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-id {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.order-date {
    color: #6c757d;
    font-size: 14px;
}

.order-content {
    padding: 20px;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.order-amount {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
}

.order-products {
    margin-bottom: 15px;
}

.mini-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
}

.mini-product-name {
    font-weight: 500;
    color: #333;
}

.mini-product-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #6c757d;
}

.mini-quantity, .mini-price {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.single-product {
    display: flex;
    gap: 15px;
}
/*
.product-image_or {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
*/

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

.single-product-info {
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.order-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.summary-label {
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 5px;
}

.summary-value {
    font-weight: 600;
    color: #212529;
}

.order-products-section {
    margin-top: 20px;
}
/*
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
*/

.product-item-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.product-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.product-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

/*
.product-meta {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #6c757d;
}
*/

.product-quantity {
    background: #e3f2fd;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/*
.product-price {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
*/

.single-product-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
/*
.product-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
*/
/*
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/

.product-details {
    flex: 1;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.spec-badge {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.spec-badge:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.order-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.status-Pendente {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-Pago {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.product-specifications {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #007bff;
}

.spec-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-icon {
    margin-right: 8px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.spec-label {
    font-weight: 500;
    color: #495057;
    margin-right: 8px;
    min-width: 80px;
}

.spec-value {
    color: #212529;
    font-weight: 400;
}

.view-products-btn {
    background: none;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 5px;
}

.view-products-btn:hover {
    background: #007bff;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state h4 {
    margin-bottom: 15px;
    color: #495057;
}

@media (max-width: 768px) {
    .orders-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .orders-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .order-card {
        margin: 0 10px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .filter-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .btn {
        flex: none;
        width: 100%;
    }
    
    .single-product {
        flex-direction: column;
    }
    /*
    .product-image_or {
        width: 100%;
        height: 120px;
    }
    */
    
    .spec-label {
        margin-right: 0;
        min-width: auto;
        font-weight: 600;
    }
    
    .spec-value {
        margin-left: 28px;
        font-size: 13px;
    }
    
    .mini-product-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .mini-product-meta {
        flex-direction: row;
        align-items: center;
        margin-left: 0;
        margin-top: 8px;
        gap: 15px;
    }
    
    .mini-specs {
        gap: 4px;
    }
    
    .mini-spec {
        font-size: 10px;
        padding: 1px 4px;
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.detail-section {
    margin-bottom: 25px;
}

.detail-section h4 {
    margin-bottom: 15px;
    color: #495057;
    font-size: 16px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.detail-label {
    font-weight: 500;
    color: #6c757d;
}

.detail-value {
    color: #212529;
    font-weight: 400;
}

.product-detail-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #007bff;
}

.product-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.spec-badge {
    display: flex;
    align-items: center;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    font-size: 13px;
}

.spec-badge .spec-icon {
    margin-right: 8px;
    font-size: 16px;
}

.spec-badge .spec-label {
    font-weight: 500;
    color: #495057;
    margin-right: 5px;
}

.spec-badge .spec-value {
    color: #212529;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.error {
    text-align: center;
    padding: 40px;
    color: #dc3545;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 5px;
    }
}

.ads-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.header-actions {
    margin-top: 15px;
}

.ads-filters {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ad-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.ad-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ad-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ad-card:hover .ad-img {
    transform: scale(1.05);
}

.ad-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.status-Disponivel {
    background: rgba(40, 167, 69, 0.9);
}

.status-Vendido {
    background: rgba(220, 53, 69, 0.9);
}

.status-Em espera {
    background: rgba(255, 193, 7, 0.9);
}

.ad-content {
    padding: 20px;
}

.ad-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.ad-spec {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.ad-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ad-price {
    font-size: 20px;
    font-weight: 700;
    color: #28a745;
}

.ad-stock {
    font-size: 13px;
    color: #6c757d;
}

.ad-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ad-actions .btn {
    flex: 1;
    min-width: 80px;
    text-align: center;
}

@media (max-width: 768px) {
    .ads-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ads-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ad-card {
        margin: 0 10px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .filter-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .ad-actions {
        flex-direction: column;
    }
    
    .ad-actions .btn {
        flex: none;
        width: 100%;
    }
}