* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Header Styles */
.header {
    background-color: #232f3e;
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 20px;
}

.logo {
    flex-shrink: 0;
}

.amazon-logo {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    letter-spacing: 1px;
}

.amazon-logo span {
    color: #ff9900;
    font-size: 14px;
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 600px;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-btn {
    padding: 8px 20px;
    background-color: #ff9900;
    border: 1px solid #ff9900;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #e68a00;
}

.header-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.account, .orders, .cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    gap: 4px;
    font-size: 12px;
    transition: opacity 0.3s;
}

.account:hover, .orders:hover, .cart:hover {
    opacity: 0.7;
}

.cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff9900;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Navbar */
.navbar {
    background-color: #37475a;
    padding: 10px 20px;
    border-top: 1px solid #555;
}

.nav-items {
    display: flex;
    gap: 20px;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #ff9900;
}

/* Banner */
.banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    margin: 20px;
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    animation: slideInUp 0.8s ease-out;
}

.banner-title {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.banner-description {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.banner-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-btn {
    background-color: #ff9900;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.primary-btn:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.secondary-btn {
    background-color: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.secondary-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: white;
    transform: scale(1.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.banner p {
    font-size: 18px;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Filters */
.filters-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-slider {
    width: 150px;
}

.category-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

#priceValue {
    min-width: 80px;
    font-weight: bold;
    color: #ff9900;
}

/* Products Section */
.products-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.products-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #232f3e;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
    background-color: #f0f0f0;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #232f3e;
    min-height: 40px;
    line-height: 1.4;
}

.product-rating {
    color: #ff9900;
    font-size: 12px;
    margin-bottom: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #b12704;
    margin-bottom: 8px;
}

.product-price-original {
    text-decoration: line-through;
    color: #888;
    font-size: 12px;
    margin-left: 8px;
}

.product-discount {
    color: #008a00;
    font-weight: bold;
    font-size: 12px;
}

.btn-group {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.add-to-cart-btn, .view-details-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.add-to-cart-btn {
    background-color: #ff9900;
    color: white;
}

.add-to-cart-btn:hover {
    background-color: #e68a00;
}

.view-details-btn {
    background-color: #177;
    color: white;
    border: 1px solid #177;
}

.view-details-btn:hover {
    background-color: #165;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.product-detail {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #000;
}

/* Cart Modal */
.cart-items {
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    margin-bottom: 4px;
}

.cart-item-price {
    color: #b12704;
    font-weight: bold;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 15px;
}

.qty-btn {
    background-color: #ddd;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.qty-btn:hover {
    background-color: #999;
}

.remove-btn {
    background-color: #f0ad4e;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
}

.remove-btn:hover {
    background-color: #d1860e;
}

.cart-summary {
    border-top: 2px solid #ddd;
    padding-top: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: bold;
    color: #b12704;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.checkout-btn:hover {
    background-color: #e68a00;
}

/* Product Detail Modal */
.product-detail-content {
    display: flex;
    gap: 30px;
}

.product-detail-image {
    flex: 0 0 300px;
}

.product-detail-image img {
    width: 100%;
    border-radius: 8px;
}

.product-detail-info {
    flex: 1;
}

.product-detail-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #232f3e;
}

.product-detail-rating {
    color: #ff9900;
    margin-bottom: 12px;
}

.product-detail-price {
    font-size: 28px;
    font-weight: bold;
    color: #b12704;
    margin-bottom: 12px;
}

.product-detail-description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.product-detail-specs {
    background-color: #f5f5f5;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.spec-row {
    display: flex;
    margin-bottom: 8px;
}

.spec-row strong {
    flex: 0 0 150px;
    color: #232f3e;
}

.product-detail-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.product-detail-btn:hover {
    background-color: #e68a00;
}

/* Footer */
/* Login Modal Styles */
.login-modal {
    max-width: 400px;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 6px;
    color: #232f3e;
    font-size: 14px;
}

.form-group input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ff9900;
    box-shadow: 0 0 4px rgba(255, 153, 0, 0.1);
}

.login-btn {
    padding: 10px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #e68a00;
}

.toggle-auth {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.toggle-auth a {
    color: #ff9900;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.toggle-auth a:hover {
    text-decoration: underline;
}

/* Profile Modal Styles */
.profile-modal {
    max-width: 500px;
}

.profile-info {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.profile-field {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-field-label {
    font-weight: bold;
    color: #232f3e;
    min-width: 120px;
}

.profile-field-value {
    color: #666;
}

.logout-btn {
    width: 100%;
    padding: 10px;
    background-color: #d32f2f;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #b71c1c;
}

/* Checkout Modal Styles */
.checkout-modal {
    max-width: 600px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.proceed-btn {
    padding: 12px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.proceed-btn:hover {
    background-color: #e68a00;
}

/* Payment Modal Styles */
.payment-modal {
    max-width: 600px;
}

.payment-summary {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #ff9900;
}

.payment-methods {
    margin: 20px 0;
}

.payment-option {
    margin-bottom: 12px;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option input[type="radio"]:checked + .payment-label {
    background-color: #fff3e0;
    border: 2px solid #ff9900;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-label:hover {
    border-color: #ff9900;
    background-color: #fff9f0;
}

.method-icon {
    font-size: 28px;
}

.payment-label div strong {
    display: block;
    color: #232f3e;
    margin-bottom: 4px;
}

.payment-label div small {
    color: #999;
    font-size: 12px;
}

.card-form, .upi-form {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.card-form h3, .upi-form h3 {
    margin-bottom: 15px;
    color: #232f3e;
}

.pay-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.pay-btn:hover {
    background-color: #e68a00;
}

/* Confirmation Modal Styles */
.confirmation-modal {
    max-width: 600px;
    text-align: center;
}

.confirmation-header {
    margin-bottom: 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #4caf50;
    color: white;
    font-size: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.confirmation-header h2 {
    color: #4caf50;
    margin-bottom: 10px;
}

.order-number {
    background-color: #f5f5f5;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: left;
}

.order-number strong {
    color: #232f3e;
}

.order-number span {
    color: #ff9900;
    font-weight: bold;
    font-family: monospace;
}

.confirmation-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.confirmation-content > div {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: left;
}

.order-details h3,
.delivery-info h3,
.payment-info h3 {
    color: #232f3e;
    margin-bottom: 12px;
    font-size: 16px;
    border-bottom: 2px solid #ff9900;
    padding-bottom: 8px;
}

#confirmationItems {
    margin-bottom: 12px;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.confirmation-item strong {
    color: #232f3e;
}

.track-info {
    color: #999;
    font-size: 13px;
    margin: 20px 0;
    font-style: italic;
}

.continue-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.continue-btn:hover {
    background-color: #e68a00;
}

/* Footer Styles */
.footer {
    background-color: #232f3e;
    color: #999;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
}

.footer-section h3 {
    color: white;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff9900;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #ff9900;
}

/* Newsletter Section */
.newsletter label {
    color: white;
    font-size: 13px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    gap: 5px;
}

.newsletter-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #666;
    border-radius: 4px 0 0 4px;
    background-color: #364d5e;
    color: white;
    font-size: 13px;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-input:focus {
    outline: none;
    border-color: #ff9900;
    background-color: #3d5566;
}

.newsletter-btn {
    padding: 8px 16px;
    background-color: #ff9900;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-btn:hover {
    background-color: #e68a00;
}

/* Payment Methods Footer */
.payment-methods-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-icon {
    background-color: #364d5e;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #ddd;
    border: 1px solid #555;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
}

.footer-links-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links-bottom a:hover {
    color: #ff9900;
}

.copyright {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
}

.copyright p {
    margin: 5px 0;
}

/* Orders Modal Styles */
.orders-modal {
    max-width: 700px;
    max-height: 600px;
    overflow-y: auto;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

.order-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #ff9900;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.order-header strong {
    color: #232f3e;
    font-size: 16px;
}

.order-header small {
    color: #999;
    font-size: 13px;
}

.order-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.order-details {
    font-size: 14px;
    color: #666;
}

.order-details p {
    margin: 6px 0;
}

.order-details strong {
    color: #232f3e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 12px;
    }

    .search-bar {
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .nav-items {
        gap: 10px;
        flex-wrap: wrap;
    }

    .filters-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-detail-content {
        flex-direction: column;
    }

    .product-detail-image {
        flex: 1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer {
        padding: 30px 15px 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        border-radius: 4px;
    }

    .newsletter-btn {
        border-radius: 4px;
    }

    .footer-links-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .modal-content {
        padding: 15px;
    }

    .product-name {
        font-size: 12px;
    }

    .add-to-cart-btn, .view-details-btn {
        font-size: 12px;
        padding: 8px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section h3 {
        font-size: 13px;
    }

    .payment-methods-footer {
        font-size: 11px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Seller Styles */
.seller {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    gap: 4px;
    font-size: 12px;
    transition: opacity 0.3s;
}

.seller:hover {
    opacity: 0.7;
}

.seller-modal {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.seller-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.seller-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

.seller-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #ff9900;
    border-bottom-color: #ff9900;
}

.tab-btn:hover {
    color: #ff9900;
}

.seller-tab-content {
    animation: fadeIn 0.3s ease-in;
}

.seller-tab-content h4 {
    margin-bottom: 15px;
    color: #232f3e;
}

.seller-products-list, .seller-orders-list {
    display: grid;
    gap: 15px;
}

.seller-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.product-item-info {
    flex: 1;
}

.product-item-info h5 {
    margin-bottom: 5px;
    color: #232f3e;
}

.product-item-info p {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.product-item-actions {
    display: flex;
    gap: 8px;
}

.edit-btn, .delete-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.edit-btn {
    background-color: #ff9900;
    color: white;
}

.edit-btn:hover {
    background-color: #e68a00;
}

.delete-btn {
    background-color: #ddd;
    color: #333;
}

.delete-btn:hover {
    background-color: #ccc;
}

.add-product-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.add-product-form textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.add-product-form textarea:focus {
    outline: none;
    border-color: #ff9900;
    box-shadow: 0 0 4px rgba(255, 153, 0, 0.1);
}

.logout-btn {
    padding: 8px 16px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #ff5252;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
