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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

/* HEADER & NAVIGATION */
header {
    background: purple;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
}

.logo h1 span {
    color: #ff6b35;
}

.logo p {
    font-size: 12px;
    opacity: 0.8;
}

.cart-icon-header a {
    color: white;
    font-size: 24px;
    position: relative;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #ff6b35;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

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

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #ff6b35;
}

/* SLIDESHOW */
.slideshow-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.dot.active, .dot:hover {
    background-color: #ff6b35;
}

/* SECTIONS */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a2a3a;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6b35;
    margin: 15px auto 0;
}

.about-section, .services-section, .contact-section, .products-main-section {
    padding: 70px 0;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.about-text p {
    margin-bottom: 20px;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 48px;
    color: #ff6b35;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #1a2a3a;
    font-size: 18px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 15px;
}

.service-card ul.service-features {
    list-style: none;
    margin-top: 15px;
    text-align: left;
    padding-left: 5px;
}

.service-card ul.service-features li {
    font-size: 12px;
    margin-bottom: 6px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card ul.service-features li i {
    font-size: 12px;
    color: #28a745;
    margin: 0;
}

/* CONTACT */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-detail i {
    font-size: 32px;
    color: #ff6b35;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.btn-primary {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

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

/* PRODUCTS PAGE */
.discount-notice-bar {
    padding: 15px 0;
    transition: background 0.5s ease, border-bottom-color 0.5s ease;
}

.discount-notice-bar.color-1 {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    border-bottom: 3px solid #ff6b35;
}

.discount-notice-bar.color-2 {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    border-bottom: 3px solid #f1c40f;
}

.discount-notice-bar.color-3 {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-bottom: 3px solid #f39c12;
}

.discount-notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.discount-notice-content i {
    font-size: 28px;
    color: #ff6b35;
}

.discount-notice-text {
    text-align: center;
    color: white;
}

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

.discount-notice-text span {
    font-size: 14px;
    opacity: 0.9;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
    font-size: 16px;
}

.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 350px;
}

.search-box input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border: 2px solid #e9ecef;
    border-radius: 40px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #ff6b35;
}

.search-box i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

.filter-group {
    display: flex;
    gap: 15px;
}

.filter-group select {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 40px;
    background: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #ff6b35;
}

/* PRODUCT CARDS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 10px;
}

.product-info {
    padding: 18px;
}

.product-category {
    font-size: 11px;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1a2a3a;
    font-weight: 600;
}

.product-desc {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-price {
    font-size: 22px;
    font-weight: 800;
    color: #1a2a3a;
    margin-bottom: 12px;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 12px;
}

.quantity-control button {
    background: #f1f3f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.2s;
}

.quantity-control button:hover {
    background: #ff6b35;
    color: white;
}

.quantity-control span {
    min-width: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.add-to-cart {
    width: 100%;
    background: #1a2a3a;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 10px 16px;
    border: 2px solid #e9ecef;
    background: white;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.pagination button.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 48px;
    color: #adb5bd;
    margin-bottom: 15px;
}

/* CART MODAL */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.cart-modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 10px;
    overflow: hidden;
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: #1a2a3a;
    color: white;
}

.close-cart {
    font-size: 28px;
    cursor: pointer;
}

.cart-modal-body {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.cart-item-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-info p {
    font-size: 12px;
    color: #6c757d;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-actions button {
    background: #f1f3f5;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.remove-item {
    background: #f8d7da !important;
    color: #dc3545;
}

.remove-item:hover {
    background: #dc3545 !important;
    color: white;
}

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

.empty-cart-message i {
    font-size: 48px;
    margin-bottom: 15px;
}

/* DISCOUNT STYLES */
.discount-summary-container {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.discount-warning {
    padding: 15px;
    margin: 5px 0;
    border-radius: 8px;
}

.minimum-order-warning {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.discount-summary {
    padding: 15px;
    margin: 5px 0;
    border-radius: 8px;
}

.discount-tier-bronze {
    background: #f8f9fa;
    border-left: 4px solid #cd7f32;
}

.discount-tier-silver {
    background: #e2e3e5;
    border-left: 4px solid #6c757d;
}

.discount-tier-gold {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.discount-tier-platinum {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
}

.discount-badge {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.discount-details {
    margin-top: 8px;
}

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

.discount-amount {
    background: rgba(40, 167, 69, 0.1);
    padding: 6px 10px;
    border-radius: 6px;
}

.discount-amount .discount-value {
    color: #28a745;
    font-weight: bold;
}

.total-row {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid rgba(0,0,0,0.1);
    font-size: 18px;
}

.total-row span:last-child {
    font-size: 22px;
    font-weight: 800;
    color: #1a2a3a;
}

.next-tier-upsell {
    background: rgba(0,0,0,0.03);
    padding: 10px 12px;
    margin-top: 15px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.progress-bar {
    background: #e0e0e0;
    border-radius: 10px;
    height: 8px;
    margin-top: 12px;
    overflow: hidden;
}

.progress-fill {
    background: #28a745;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.btn-checkout {
    width: 100%;
    background: #ff6b35;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

.btn-checkout:disabled {
    background: #adb5bd;
    cursor: not-allowed;
}

.checkout-note {
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    margin-top: 12px;
}

/* FOOTER */
footer {
    background: purple;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-col h3 {
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        width: 100%;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 15px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .filters-bar {
        flex-direction: column;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .slide img {
        height: 300px;
    }
    
    .slide-caption {
        bottom: 10%;
        left: 5%;
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ANIMATIONS */
@keyframes textPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.discount-notice-bar.animating .discount-notice-text {
    animation: textPulse 0.5s ease;
}