:root {
    --primary: #6a1ac5;
    --primary-dark: #6a1ac5;
    --secondary: #1a6bc4;
    --accent: #3498db;
    --success: #27ae60;
    --warning: #f39c12;
    --error: #e74c3c;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #e0e0e0;
    --card-bg: #ffffff;
    --text: #333333;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 5px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --primary: #8a4fff;
    --primary-dark: #6a1ac5;
    --secondary: #4a90e2;
    --accent: #5dade2;
    --success: #58d68d;
    --warning: #f7dc6f;
    --error: #f1948a;
    --light: #2d3436;
    --dark: #ecf0f1;
    --gray: #b2bec3;
    --light-gray: #636e72;
    --card-bg: #3c3f41;
    --text: #dfe6e9;
    --white: #2d3436;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 5px 15px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-header {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-links {
    display: flex;
    gap: 20px;
}

.top-header-links a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.logo-subtext {
    font-size: 12px;
    color: var(--gray);
    display: block;
    line-height: 1;
}

.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    font-size: 16px;
    padding-right: 50px;
    background: var(--white);
    color: var(--text);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 7px 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: var(--primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    font-size: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.header-action:hover {
    color: var(--primary);
}

.header-action i {
    font-size: 20px;
    margin-bottom: 4px;
}

.cart-count, .wishlist-count, .notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--error);
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-count {
    background: var(--warning);
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Navigation */
.main-nav {
    background: var(--white);
    border-top: 1px solid var(--light-gray);
    padding: 12px 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    position: relative;
    cursor: pointer;
}

.main-nav ul li a:hover {
    color: var(--primary);
}

.main-nav ul li a.active {
    color: var(--primary);
}

.main-nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Advertising Slider */
.advertising-slider {
    position: relative;
    height: 120px;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: var(--white);
}

.ad-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.ad-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.ad-logo {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
}

.ad-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.ad-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 450px;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px;
}

.slide-title {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.slide-description {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 600px;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Main Content Layout */
.main-content {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.content-area {
    flex: 1;
}

/* Categories Sidebar */
.categories-sidebar {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 12px;
}

.categories-list li a {
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
}

.categories-list li a:hover, .categories-list li a.active-category {
    color: var(--primary);
    background: rgba(30, 126, 221, 0.1);
}

.categories-list li a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 600;
}

.feature-description {
    color: var(--gray);
    font-size: 14px;
}

/* Products Section */
.products-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 24px;
    color: var(--dark);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--success);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.product-badge.hot {
    background: var(--error);
}

.product-badge.sale {
    background: var(--warning);
}

.product-badge.new {
    background: var(--accent);
}

.product-badge.promotion {
    background: var(--primary);
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-store {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.product-original-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 14px;
    margin-left: 8px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.product-location {
    color: var(--gray);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.add-to-cart {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.add-to-cart:hover {
    background: var(--primary-dark);
}

.add-to-cart:disabled {
    background: var(--gray);
    cursor: not-allowed;
}

/* Loading State */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-left: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Filter Section */
.filter-section {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.filter-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 15px;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.clear-filters {
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.active-filter {
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.load-more-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--primary-dark);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
}

.cart-modal.open {
    display: block;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--light-gray);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
}

.cart-total {
    padding: 20px;
    border-top: 1px solid var(--light-gray);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

.checkout-btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.close-cart {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Auth Modal */
.auth-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    max-height: 90vh;
    overflow-y: auto;
}

.auth-modal.open {
    display: block;
}

.auth-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-header h2 {
    margin: 0;
    color: var(--dark);
}

.close-auth {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
}

.auth-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.auth-form {
    padding: 20px;
}

.auth-content {
    display: none;
}

.auth-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: var(--white);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.auth-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.auth-submit-btn:hover {
    background: var(--primary-dark);
}

.auth-submit-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
}

.auth-switch button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
}

/* Checkout Modal */
.checkout-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-modal.open {
    display: block;
}

.checkout-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-header h2 {
    margin: 0;
    color: var(--dark);
}

.close-checkout {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

.checkout-form {
    padding: 20px;
}

.checkout-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkout-submit-btn:hover {
    background: var(--primary-dark);
}

.checkout-submit-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    text-align: center;
    padding: 30px;
}

.success-modal.open {
    display: block;
}

.success-icon {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 20px;
}

.success-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

.success-message {
    color: var(--gray);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-column p {
    margin-bottom: 20px;
    color: var(--light-gray);
    font-size: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 14px;
}

/* Stores Section */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.store-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.store-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--primary);
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray);
    z-index: 2;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: var(--error);
}

/* Star Rating */
.star-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: var(--warning);
    font-size: 12px;
}

.rating-count {
    color: var(--gray);
    font-size: 12px;
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Upload de Arquivos */
input[type="file"] {
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    background: var(--white);
}

.receipt-instructions {
    background: var(--light);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid var(--primary);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Payment Methods Section */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.payment-method {
    background: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.payment-method img {
    height: 24px;
    width: auto;
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--light-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: var(--light);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.search-result-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
}

/* Chat Modal */
.chat-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    height: 80vh;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    overflow: hidden;
}

.chat-modal.open {
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: white;
}

.chat-header h2 {
    margin: 0;
    font-size: 18px;
}

.close-chat {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}

.message.sent {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.received {
    align-self: flex-start;
    background: var(--light-gray);
    color: var(--dark);
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 5px;
    text-align: right;
}

.chat-input-container {
    padding: 15px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    gap: 10px;
    background: var(--white);
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 24px;
    font-size: 14px;
    resize: none;
    max-height: 100px;
    background: var(--white);
    color: var(--text);
}

.send-message-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.send-message-btn:hover {
    background: var(--primary-dark);
}

.send-message-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
}

.chat-warning {
    background: var(--warning);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 10px 20px;
    font-size: 13px;
    text-align: center;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--error);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.product-gallery-main {
    flex: 1;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
}

.product-gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-gallery-thumb.active {
    border-color: var(--primary);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Currency Display */
.currency-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.currency-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

/* Country Flags */
.country-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    margin-right: 8px;
}

/* Brand Badge */
.brand-badge {
    background: var(--accent);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 8px;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    color: var(--primary);
}

/* Language Selector */
.language-selector {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--text);
    cursor: pointer;
}

/* Currency Selector */
.currency-selector {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    padding: 6px 10px;
    color: var(--text);
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 992px) {
    .search-container {
        margin: 0 15px;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .cart-modal {
        width: 350px;
    }

    .chat-modal {
        width: 95%;
        height: 90vh;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-container {
        margin: 15px 0;
        width: 100%;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .cart-modal {
        width: 100%;
    }

    .message {
        max-width: 85%;
    }

    .product-gallery {
        flex-direction: column;
    }

    .product-gallery-thumbs {
        flex-direction: row;
        width: 100%;
        order: -1;
    }

    .product-gallery-thumb {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .slide-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .top-header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Animações */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Notification Panel */
.notification-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.notification-panel.open {
    right: 0;
}

.notification-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: white;
}

.notification-items {
    padding: 20px;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
    cursor: pointer;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: var(--light);
}

.notification-item.unread {
    background-color: rgba(30, 126, 221, 0.1);
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.notification-message {
    color: var(--gray);
    font-size: 14px;
}

.notification-time {
    font-size: 12px;
    color: var(--gray);
    margin-top: 5px;
}

/* Gestão do Vendedor */
.seller-dashboard {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 30px;
}

.seller-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.seller-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--primary);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
    font-size: 14px;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-edit {
    background: var(--warning);
    color: white;
}

.btn-edit:hover {
    background: #e67e22;
}

.btn-delete {
    background: var(--error);
    color: white;
}

.btn-delete:hover {
    background: #c0392b;
}

/* Modal de Edição */
.edit-product-modal {
    max-width: 800px;
}

.image-preview {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--light-gray);
}

.current-images {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* Product Details Modal */
.product-details-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    overflow-y: auto;
}

.product-details-modal.open {
    display: block;
}

.product-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.product-details-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-details-main-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light);
}

.product-details-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.product-details-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-details-thumbnail.active {
    border-color: var(--primary);
}

.product-details-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-details-header {
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 20px;
}

.product-details-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-details-brand {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.product-details-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-details-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-details-description {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-details-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--light);
    border-radius: 8px;
}

.product-meta-item i {
    color: var(--primary);
    font-size: 18px;
}

.product-details-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn-block {
    flex: 1;
}

.seller-warning {
    background: var(--warning);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .product-details-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-details-main-image {
        height: 300px;
    }
    
    .product-details-title {
        font-size: 24px;
    }
    
    .product-details-price {
        font-size: 28px;
    }
    
    .product-details-actions {
        flex-direction: column;
    }
}

/* ========== MODAL STYLES ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal.open {
    display: block;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-overlay.active {
    display: block;
}

.modal-content {
    background: white;
    margin: 2% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.large-modal .modal-content {
    max-width: 900px;
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: var(--dark);
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--dark);
}

.modal-body {
    padding: 30px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 30px;
}

.auth-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-content {
    display: none;
}

.auth-content.active {
    display: block;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.price-input-group {
    display: flex;
    gap: 10px;
}

.price-input-group input {
    flex: 1;
}

.price-input-group select {
    width: 100px;
}

.conversion-info {
    margin-top: 8px;
    font-size: 12px;
    color: var(--gray);
}

/* Seller Stats */
.seller-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--light-gray);
}

.stat-icon {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-edit {
    background: var(--warning);
    color: white;
}

.btn-delete {
    background: var(--error);
    color: white;
}

/* Success Modal */
.success-content {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 20px;
}

.success-title {
    color: var(--dark);
    margin-bottom: 15px;
}

.success-message {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Delete Confirmation */
.delete-confirm-content {
    text-align: center;
    padding: 20px;
}

.warning-icon {
    font-size: 48px;
    color: var(--warning);
    margin-bottom: 20px;
}

.delete-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Product Details */
.product-details-gallery {
    margin-bottom: 30px;
}

.product-details-main-image {
    text-align: center;
    margin-bottom: 15px;
}

.product-details-main-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
}

.product-details-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.product-details-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-details-thumbnail.active {
    border-color: var(--primary);
}

.product-details-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details-header {
    margin-bottom: 25px;
}

.product-details-title {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}

.product-details-brand {
    color: var(--gray);
    margin-bottom: 15px;
}

.product-details-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-details-price {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-store {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    margin-bottom: 20px;
}

.product-details-description {
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-details-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.product-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.product-meta-item i {
    color: var(--primary);
    margin-top: 4px;
}

.seller-warning {
    background: var(--warning-light);
    border: 1px solid var(--warning);
    color: var(--warning-dark);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-details-actions {
    display: flex;
    gap: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .seller-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-details-actions {
        flex-direction: column;
    }
    
    .delete-actions {
        flex-direction: column;
    }
}
/* Notificações */
.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-bottom: 1px solid var(--light-gray);
    cursor: pointer;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: var(--light-gray);
}

.notification-item.unread {
    background-color: rgba(74, 144, 226, 0.05);
}

.notification-icon {
    margin-right: 12px;
    font-size: 18px;
}

.notification-icon .info { color: var(--info); }
.notification-icon .success { color: var(--success); }
.notification-icon .warning { color: var(--warning); }
.notification-icon .error { color: var(--error); }

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-message {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 4px;
}

.notification-time {
    color: var(--light-gray);
    font-size: 12px;
}

.notification-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-left: 8px;
}

/* Chat */
.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    margin-bottom: 16px;
}

.message {
    margin-bottom: 16px;
    max-width: 80%;
}

.message.sent {
    margin-left: auto;
    text-align: right;
}

.message.received {
    margin-right: auto;
}

.message-content {
    padding: 12px;
    border-radius: 12px;
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
}

.message.sent .message-content {
    background-color: var(--primary);
    color: white;
}

.message.received .message-content {
    background-color: var(--light-gray);
    color: var(--dark);
}

.message-time {
    font-size: 11px;
    color: var(--gray);
    margin-top: 4px;
}

.message-read {
    font-size: 10px;
    color: var(--success);
    margin-top: 2px;
}

.chat-input-container {
    display: flex;
    gap: 8px;
}

.chat-input-container textarea {
    flex: 1;
    resize: none;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
}

.chat-input-container button {
    align-self: flex-end;
}
/* Order Tracking Modal */
.tracking-form {
    margin-bottom: 20px;
}

.tracking-results {
    margin-top: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
}

.tracking-header {
    text-align: center;
    margin-bottom: 20px;
}

.tracking-header h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.order-summary {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
}

.summary-item:last-child {
    border-bottom: none;
}

.tracking-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.tracking-actions .btn {
    flex: 1;
    max-width: 150px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    text-align: center;
    color: var(--gray);
    font-weight: 500;
}

.step-connector {
    position: absolute;
    top: 20px;
    left: 50%;
    right: -50%;
    height: 2px;
    background-color: var(--light-gray);
    z-index: 1;
}

.progress-step:last-child .step-connector {
    display: none;
}

.progress-step.completed .step-icon {
    background-color: var(--success);
    color: white;
}

.progress-step.completed .step-connector {
    background-color: var(--success);
}

.progress-step.current .step-icon {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Timeline */
.timeline {
    position: relative;
    margin-left: 20px;
}

.timeline-event {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.event-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    position: absolute;
    left: -20px;
    top: 5px;
}

.event-content {
    margin-left: 10px;
}

.event-description {
    font-weight: 500;
    margin-bottom: 4px;
}

.event-time {
    font-size: 12px;
    color: var(--gray);
}

.event-location {
    font-size: 12px;
    color: var(--gray);
    margin-top: 2px;
}
/* ========== COMPACT WISHLIST MODAL ========== */
.compact-modal {
    max-width: 800px;
}

.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wishlist-count-badge {
    background: var(--primary);
    color: white;
    border-radius: 20px;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 25px;
    text-align: center;
}

.wishlist-items-compact {
    max-height: 60vh;
    overflow-y: auto;
    padding: 5px;
}

.compact-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 10px;
}

.wishlist-item-compact {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--light-gray);
}

.wishlist-item-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.wishlist-item-image-compact {
    position: relative;
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.wishlist-item-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-item-compact:hover .wishlist-item-image-compact img {
    transform: scale(1.05);
}

.wishlist-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wishlist-item-compact:hover .wishlist-item-overlay {
    opacity: 1;
}

.btn-icon {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-view {
    background: rgba(255,255,255,0.9);
    color: var(--dark);
}

.btn-cart {
    background: var(--primary);
    color: white;
}

.btn-cart.added {
    background: var(--success);
}

.btn-cart:disabled {
    background: var(--success);
    cursor: not-allowed;
}

.btn-remove {
    background: rgba(255,255,255,0.9);
    color: var(--error);
}

.btn-icon:hover {
    transform: scale(1.1);
}

.btn-cart:not(:disabled):hover {
    background: var(--primary-dark);
}

.btn-remove:hover {
    background: var(--error);
    color: white;
}

.wishlist-item-info-compact {
    text-align: center;
}

.wishlist-item-title-compact {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wishlist-item-meta {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wishlist-item-price-compact {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.empty-wishlist-compact {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.empty-wishlist-compact i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--light-gray);
    opacity: 0.5;
}

.empty-wishlist-compact h4 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.1rem;
}

.empty-wishlist-compact p {
    font-size: 0.9rem;
    margin: 0;
}

/* Scrollbar personalizada */
.wishlist-items-compact::-webkit-scrollbar {
    width: 6px;
}

.wishlist-items-compact::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.wishlist-items-compact::-webkit-scrollbar-thumb {
    background: var(--gray);
    border-radius: 10px;
}

.wishlist-items-compact::-webkit-scrollbar-thumb:hover {
    background: var(--dark);
}

/* Responsive */
@media (max-width: 768px) {
    .compact-modal {
        max-width: 95%;
        margin: 20px auto;
    }
    
    .compact-wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
        padding: 5px;
    }
    
    .wishlist-item-image-compact {
        height: 100px;
    }
    
    .btn-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .wishlist-item-overlay {
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .compact-wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .wishlist-item-compact {
        padding: 8px;
    }
    
    .wishlist-item-image-compact {
        height: 90px;
    }
    
    .wishlist-item-title-compact {
        font-size: 0.8rem;
    }
    
    .wishlist-item-price-compact {
        font-size: 0.85rem;
    }
}
/* Efeitos de animação */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wishlist-item-compact {
    animation: fadeInUp 0.3s ease;
}

.wishlist-item-compact:nth-child(1) { animation-delay: 0.05s; }
.wishlist-item-compact:nth-child(2) { animation-delay: 0.1s; }
.wishlist-item-compact:nth-child(3) { animation-delay: 0.15s; }
.wishlist-item-compact:nth-child(4) { animation-delay: 0.2s; }
.wishlist-item-compact:nth-child(5) { animation-delay: 0.25s; }

/* Efeito de remoção suave */
.wishlist-item-compact.removing {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

/* ========== COMPACT STORES MODAL ========== */
.stores-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.store-card-compact {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.store-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.store-image-compact {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #4a8cff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    overflow: hidden;
}

.store-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #4a8cff);
    border-radius: 50%;
}

.store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(74, 144, 226, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.store-card-compact:hover .store-overlay {
    opacity: 1;
}

.view-store-btn {
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

.view-store-btn i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.store-info-compact {
    text-align: center;
}

.store-name-compact {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.3;
}

.store-meta {
    margin-bottom: 10px;
}

.store-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.store-rating .stars {
    font-size: 0.7rem;
}

.rating-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.store-products-count {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.store-products-count i {
    margin-right: 4px;
    color: var(--primary);
}

.store-location {
    font-size: 0.75rem;
    color: var(--gray);
    padding: 4px 8px;
    background: var(--light-gray);
    border-radius: 12px;
    display: inline-block;
}

.store-location i {
    margin-right: 4px;
    font-size: 0.7rem;
}

/* Store Products Modal */
.store-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.store-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-back {
    padding: 8px 12px;
    font-size: 0.9rem;
}

.store-details h2 {
    margin: 0;
    color: var(--dark);
    font-size: 1.5rem;
}

.store-meta-info {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.store-location-badge,
.store-products-badge,
.store-category-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.store-location-badge {
    background: #e3f2fd;
    color: var(--primary);
}

.store-products-badge {
    background: #e8f5e8;
    color: var(--success);
}

.store-category-badge {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Store Products Grid */
.store-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.product-card-store {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f5f5f5;
}

.product-card-store:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.product-image-store {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.product-image-store img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-store:hover .product-image-store img {
    transform: scale(1.05);
}

.product-actions-store {
    position: absolute;
    top: 10px;
    right: 10px;
}

.btn-action {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-action:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.1);
}

.btn-wishlist.active {
    background: var(--error);
    color: white;
}

.product-info-store {
    padding: 15px;
}

.product-title-store {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price-store {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.btn-add-to-cart-store {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-add-to-cart-store:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-add-to-cart-store.added {
    background: var(--success);
    cursor: not-allowed;
}

.btn-add-to-cart-store:disabled {
    background: var(--success);
    cursor: not-allowed;
}

/* Empty States */
.empty-stores,
.empty-store-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-stores i,
.empty-store-products i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-stores h4,
.empty-store-products h4 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 1.2rem;
}

.empty-stores p,
.empty-store-products p {
    font-size: 0.9rem;
    margin: 0;
}

/* Search Stores */
.search-stores {
    position: relative;
    width: 200px;
}

.search-stores input {
    width: 100%;
    padding: 8px 35px 8px 12px;
    border: 1px solid var(--light-gray);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-stores input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.search-stores .fa-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .stores-grid-compact {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .store-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .store-header-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .search-stores {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .stores-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
    }
    
    .store-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
    }
    
    .store-card-compact {
        padding: 15px;
    }
    
    .store-image-compact {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .product-image-store {
        height: 120px;
    }
}

/* ========== NOTIFICATION SYSTEM ========== */
.notification-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.notification-panel.open {
    right: 0;
}

.notification-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.notification-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    border: 1px solid var(--light-gray);
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #e3f2fd;
    border-left: 4px solid var(--primary);
}

.notification-icon {
    margin-right: 12px;
    font-size: 18px;
    margin-top: 2px;
}

.notification-icon .info { color: var(--info); }
.notification-icon .success { color: var(--success); }
.notification-icon .warning { color: var(--warning); }
.notification-icon .error { color: var(--error); }

.notification-content-inner {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark);
}

.notification-message {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notification-time {
    color: var(--light-gray);
    font-size: 12px;
}

.notification-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-left: 8px;
    margin-top: 8px;
}

.empty-notifications {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.empty-notifications i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-notifications p {
    margin: 0;
    font-size: 16px;
}

/* Chat Styles Corrigidos */
.chat-messages {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f9f9f9;
}

.message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
    position: relative;
}

.message.sent {
    background: #007bff;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.message.received {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.message-content {
    margin-bottom: 5px;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
}

.message-read {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 10px;
}

.chat-input-container {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

#chat-input {
    flex: 1;
    resize: none;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

#send-message-btn {
    padding: 12px 20px;
    border-radius: 8px;
}
/* ========== MODAL PAGAMENTOS INTEGRADO ========== */
.security-warning {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.security-warning .warning-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.security-warning p {
    margin: 5px 0;
    font-size: 14px;
}

.payment-methods-integrated {
    margin: 20px 0;
}

.payment-method-option {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method-option:hover {
    border-color: #007bff;
}

.payment-method-option.active {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.method-header {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: #007bff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.method-info {
    flex: 1;
}

.method-info h5 {
    margin: 0;
    font-size: 16px;
}

.method-info p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #666;
}

.method-check {
    color: #007bff;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-method-option.active .method-check {
    opacity: 1;
}

.method-details {
    padding: 0 15px 15px 15px;
    border-top: 1px solid #e0e0e0;
    margin-top: 10px;
}

.final-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
}

.final-warning p {
    margin: 5px 0;
    font-size: 14px;
    color: #856404;
}

.payment-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-item.total {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    font-weight: bold;
    font-size: 16px;
}
/* Estilos para o modal de pagamento integrado */
.payment-modal {
    max-width: 800px;
}

.security-warning {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid #c23616;
}

.security-warning .warning-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.security-warning .warning-header i {
    font-size: 24px;
    margin-right: 10px;
}

.security-warning p {
    margin: 8px 0;
    font-size: 14px;
}

.payment-methods-integrated {
    margin: 25px 0;
}

.payment-method-option {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-option:hover {
    border-color: var(--primary);
    background-color: var(--light-bg);
}

.payment-method-option.active {
    border-color: var(--primary);
    background-color: rgba(74, 144, 226, 0.05);
}

.method-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.method-icon i {
    color: white;
    font-size: 20px;
}

.method-info {
    flex: 1;
}

.method-info h5 {
    margin: 0 0 5px 0;
    color: var(--dark);
}

.method-info p {
    margin: 0;
    color: var(--gray);
    font-size: 14px;
}

.method-check {
    color: var(--light-gray);
    font-size: 18px;
}

.payment-method-option.active .method-check {
    color: var(--success);
}

.method-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.bank-details {
    background: var(--light-bg);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.bank-details p {
    margin: 5px 0;
    font-size: 14px;
}

.final-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.final-warning p {
    margin: 5px 0;
    color: #856404;
    font-size: 14px;
}

.payment-summary {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.payment-summary h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--dark);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.summary-item.total {
    border-bottom: none;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid var(--light-gray);
}