/* =========================================
   LUUS LTD - Main Stylesheet
   Black & White + Modern Accents
   ========================================= */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f5f5f5;
}

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

/* ===== HEADER ===== */
header {
    background: #000000;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.logo h1 span {
    color: #f5a623;
}

.logo p {
    font-size: 0.75rem;
    color: #ccc;
}

/* Cart Icon */
.cart-icon-header {
    position: relative;
}

.cart-link-top {
    color: white;
    font-size: 1.6rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-badge {
    background: #f5a623;
    color: #000;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -12px;
    right: -18px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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: #f5a623;
}

/* ===== SLIDESHOW ===== */
.hero-slideshow {
    position: relative;
    max-width: 100%;
    margin: 0;
}

.slideshow-container {
    position: relative;
}

.slide {
    display: none;
}

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

.slide-caption {
    position: absolute;
    bottom: 2%;
    left: 10%;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    max-width: 700px;
}

.slide-caption h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
	display: none;
}

.cat-badge {
    display: inline-block;
    background: #f5a623;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 10px;
}

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

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

.dots-container {
    text-align: center;
    padding: 10px 0;
    background: #eee;
}

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

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

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}

.bg-light {
    background: #fff;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #f5a623;
    margin: 10px auto 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #f9f9f9;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s;
    border: 1px solid #ddd;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: #f5a623;
    margin-bottom: 1rem;
}

/* ===== NEW STYLES FOR MINIMUM ORDER & DISCOUNTS ===== */

/* Cart Notifications */
.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cart-notification.success {
    background: #2e7d32;
    border-left: 4px solid #f5a623;
}

.cart-notification.error {
    background: #c62828;
    border-left: 4px solid #ff9800;
}
/* PayPal Modal Styles */
#paypal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#paypal-modal > div {
    background: white;
    padding: 25px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#paypal-modal h3 {
    margin-bottom: 10px;
    color: #000;
}

#paypal-modal .paypal-buttons {
    margin: 20px 0;
}

#close-paypal-modal {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

#close-paypal-modal:hover {
    color: #000;
}
/* Quantity Selector Styles */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.quantity-selector button {
    background: #f0f0f0;
    border: 1px solid #ddd;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.2s;
}

.quantity-selector button.qty-decr:hover,
.quantity-selector button.qty-incr:hover {
    background: #000;
    color: white;
    border-color: #000;
}

.quantity-selector .product-qty {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.quantity-selector .add-to-cart-btn {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    width: auto;
    flex: 1;
    min-width: 100px;
    transition: background 0.3s;
}

.quantity-selector .add-to-cart-btn:hover {
    background: #f5a623;
    color: #000;
}

/* Responsive for mobile */
@media (max-width: 480px) {
    .quantity-selector {
        gap: 5px;
    }
    .quantity-selector button {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    .quantity-selector .add-to-cart-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 80px;
    }
}

/* Quantity Selector with Input Box */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.quantity-selector button {
    background: #f0f0f0;
    border: 1px solid #ddd;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.2s;
}

.quantity-selector button.qty-decr:hover,
.quantity-selector button.qty-incr:hover {
    background: #000;
    color: white;
    border-color: #000;
}

.quantity-selector .qty-input {
    width: 60px;
    height: 36px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    padding: 0 5px;
}

.quantity-selector .qty-input:focus {
    outline: none;
    border-color: #f5a623;
    box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.2);
}

.quantity-selector .add-to-cart-btn {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    width: auto;
    flex: 1;
    min-width: 110px;
    transition: background 0.3s;
    height: 36px;
}

.quantity-selector .add-to-cart-btn:hover {
    background: #f5a623;
    color: #000;
}

/* Remove spinner arrows from number input */
.quantity-selector .qty-input::-webkit-inner-spin-button,
.quantity-selector .qty-input::-webkit-outer-spin-button {
    opacity: 0.5;
    height: 20px;
}

/* Responsive for mobile */
@media (max-width: 480px) {
    .quantity-selector {
        gap: 5px;
    }
    .quantity-selector button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .quantity-selector .qty-input {
        width: 50px;
        height: 32px;
        font-size: 13px;
    }
    .quantity-selector .add-to-cart-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 90px;
        height: 32px;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Discount Banner */
.discount-banner {
    background: linear-gradient(135deg, #f5a623, #ff6b35);
    color: #000;
    padding: 10px 12px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    display: none;
}

.discount-banner i {
    margin-right: 8px;
}

/* Cart Summary */
.cart-summary {
    background: #f8f8f8;
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 0.9rem;
}

.discount-row {
    color: #2e7d32;
    font-weight: bold;
}

.total-row {
    border-top: 1px solid #ddd;
    padding-top: 8px;
    margin-top: 8px;
    font-size: 1.1rem;
}

/* Minimum Order Warning */
.min-order-warning {
    background: #fff3e0;
    border: 1px solid #f5a623;
    color: #e65100;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 0.8rem;
    text-align: center;
}

.min-order-warning i {
    margin-right: 6px;
}

/* Cart Item Actions */
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    background: #e0e0e0;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #f5a623;
}

.qty-num {
    min-width: 24px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
}

.remove-item:hover {
    color: #a71d2a;
}

/* Checkout Button */
.checkout-btn {
    background: #000;
    color: white;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-btn:hover:not(:disabled) {
    background: #f5a623;
    color: #000;
}

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

.payment-note {
    text-align: center;
    font-size: 0.7rem;
    color: #666;
    margin-top: 10px;
}

/* Cart Sidebar Header */
.cart-header h3 i {
    margin-right: 8px;
    color: #f5a623;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* ===== PRODUCTS PAGE SPECIFIC ===== */
.products-header {
    margin-bottom: 2rem;
}

.search-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: space-between;
    align-items: center;
}

.search-box {
    flex: 2;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.filter-group select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-left: 10px;
}

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

.product-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.product-category {
    color: #f5a623;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.8rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.8rem;
}

.add-to-cart {
    background: #000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: #f5a623;
    color: #000;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 2rem 0;
}

.pagination button {
    padding: 8px 16px;
    background: #000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.pagination button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Cart Sidebar / Modal */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.3s;
    padding: 1rem;
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.close-cart {
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    margin: 1rem 0;
    max-height: 60vh;
    overflow-y: auto;
}

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

.cart-item-info {
    flex: 2;
}

.cart-item-title {
    font-weight: bold;
}

.remove-item {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
    padding: 1rem 0;
}

.checkout-btn {
    background: #f5a623;
    color: #000;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

/* Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.cart-overlay.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
    }
    nav.nav-open {
        display: block;
    }
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem 0;
    }
    .slide-caption {
        bottom: 10%;
        left: 5%;
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    .slide-caption h2 {
        font-size: 1.2rem;
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
	.hero-slideshow {
		    margin: -160px 0;
	}
	.slide img {
		object-fit: contain;
	}
}

/* Cart item subtotal */
.cart-item-subtotal {
    font-size: 0.7rem;
    color: #666;
    margin-top: 4px;
}

/* Product card image fallback */
.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
}

/* Make sure products grid displays properly */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    min-height: 400px;
}

/* Product card hover */
.product-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Responsive fixes */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
}