/* ================================================
   LEKE VOGUE ENTERPRISE - MAIN STYLESHEET
   ================================================ */

/* CSS Variables */
:root {
    --primary: #FFFFFF;
    --secondary: #FFA500;
    --accent: #6A0DAD;
    --dark: #1a1a1a;
    --light: #f8f8f8;
    --gray: #666666;
    --light-gray: #e5e5e5;
    --border: #ddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(106, 13, 173, 0.2);
    --transition: all 0.3s ease;
    --radius: 12px;
    --radius-sm: 8px;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --container-width: 1200px;
    --header-height: 140px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: #5a0b8a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #e69500;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--primary);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero {
    padding: 200px 0 80px;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(106, 13, 173, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-text h1 span {
    color: var(--accent);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 30px auto;
    position: relative;
}

.search-bar {
    display: flex;
    background: var(--primary);
    border-radius: 50px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}

.search-bar input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-bar button {
    padding: 16px 30px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: #5a0b8a;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--light);
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-result-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.search-result-info p {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.search-result-info p .original-price {
    font-size: 0.75rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 5px;
    font-weight: 400;
}

/* Categories Section */
.categories {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    text-align: center;
    padding: 20px 10px;
    border-radius: var(--radius);
    background: var(--primary);
    border: 2px solid var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-card.active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--primary);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.category-card.active .category-icon {
    background: rgba(255, 255, 255, 0.2);
}

.category-card h4 {
    font-size: 0.85rem;
}

.subcategory-indicator {
    font-size: 0.7rem;
    margin-top: 5px;
    color: var(--gray);
}

.subcategories-container {
    padding: 30px 0;
    background: var(--light);
    margin-top: 20px;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.subcategory-card {
    background: var(--primary);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.subcategory-card:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--primary);
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Product Card */
.product-card {
    background: var(--primary);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(106, 13, 173, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    transform: translateY(20px);
    transition: var(--transition);
}

.product-card:hover .product-overlay .btn {
    transform: translateY(0);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.product-price .original-price {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 5px;
}

.quantity-controls button {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-controls button:hover {
    background: var(--accent);
    color: var(--primary);
}

.quantity-controls span {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.product-info .btn {
    width: 100%;
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent) 0%, #8b1fd4 100%);
    color: var(--primary);
    text-align: center;
}

.cta-banner h2 {
    margin-bottom: 15px;
}

.cta-banner p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-banner .btn {
    background: var(--secondary);
    color: var(--dark);
}

.cta-banner .btn:hover {
    background: var(--primary);
}

/* Contact Info Section */
.contact-info {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--gray);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--primary);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand h3 span {
    color: var(--secondary);
}

.footer-brand p {
    color: #999;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
}

.footer h4 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #999;
}

.developer-credit {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Page Banner */
.page-banner {
    padding: 160px 0 60px;
    background: var(--light);
    text-align: center;
}

.page-banner h1 {
    margin-bottom: 10px;
}

.page-banner p {
    color: var(--gray);
}

/* Shop Page */
.shop-container {
    padding: 160px 0 60px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.shop-filters {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-select {
    padding: 10px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    background: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
}

.products-count {
    color: var(--gray);
}

/* Product Details Page */
.product-details-container {
    padding: 160px 0 60px;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    aspect-ratio: 1;
    background: var(--light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--accent);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info-details h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-brand,
.product-subcategory {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.product-info-details .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.product-info-details .original-price {
    font-size: 1rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-top: -15px;
    margin-bottom: 20px;
}

.product-description {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Product Meta Information */
.product-meta {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius-sm);
}

.product-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.product-detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--dark);
}

.detail-value {
    color: var(--gray);
}

.in-stock {
    color: #28a745;
    font-weight: 600;
}

.out-of-stock {
    color: #dc3545;
    font-weight: 600;
}

/* Product Options (Size & Color) */
.product-option-group {
    margin-bottom: 25px;
}

.product-option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.size-options,
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-btn {
    padding: 10px 20px;
    border: 2px solid var(--light-gray);
    background: var(--primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    min-width: 50px;
}

.size-btn:hover {
    border-color: var(--accent);
}

.size-btn.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

.color-btn {
    padding: 10px 15px;
    border: 2px solid var(--light-gray);
    background: var(--primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.color-btn:hover {
    border-color: var(--accent);
}

.color-btn.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

/* Variant Quantity Grid */
.variant-quantity-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.variant-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    background: var(--light);
    border-radius: var(--radius-sm);
    min-width: 150px;
    border: 2px solid var(--border);
}

.variant-name {
    font-weight: 600;
    color: var(--dark);
}

.size-qty {
    font-weight: 400;
    color: var(--gray);
    font-size: 0.85rem;
}

.variant-item .quantity-controls {
    margin-bottom: 0;
    background: var(--primary);
}

.variant-item .quantity-controls.small {
    padding: 5px;
}

.variant-item .quantity-controls.small button {
    width: 28px;
    height: 28px;
    font-size: 1rem;
}

.variant-item .quantity-controls.small span {
    min-width: 30px;
    font-size: 0.95rem;
}

/* Color-Size Matrix Display */
.color-size-block {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid var(--border);
}

.color-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.color-name {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}

.color-size-block .variant-quantity-grid {
    gap: 10px;
}

.color-size-block .variant-item {
    min-width: 140px;
    padding: 10px 12px;
}

/* Selected Total */
.selected-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--accent);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity-selector label {
    font-weight: 600;
}

.quantity-selector .quantity-controls {
    margin-bottom: 0;
    width: auto;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.product-actions .btn {
    flex: 1;
}

/* Related Products */
.related-products {
    padding: 60px 0;
}

.related-products h2 {
    margin-bottom: 30px;
}

/* About Page */
.about-container {
    padding: 160px 0 60px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Page */
.contact-container {
    padding: 160px 0 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-map {
    background: var(--light);
    border-radius: var(--radius);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Page */
.cart-container {
    padding: 160px 0 60px;
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty svg {
    width: 100px;
    height: 100px;
    color: var(--gray);
    margin-bottom: 20px;
}

.cart-empty h2 {
    margin-bottom: 15px;
}

.cart-empty p {
    color: var(--gray);
    margin-bottom: 30px;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-items {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    gap: 20px;
    padding: 20px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    gap: 20px;
    padding: 20px;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item-product h4 {
    font-size: 0.95rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--accent);
}

.cart-item-total {
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: #ff4444;
}

.cart-summary {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.cart-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius-sm);
    padding: 15px;
    margin: 20px 0;
    font-size: 0.9rem;
}

.cart-notice strong {
    color: #856404;
}

/* Checkout Page */
.checkout-container {
    padding: 160px 0 60px;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.checkout-form {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius);
}

.checkout-form h2 {
    margin-bottom: 30px;
}

.checkout-form .form-group {
    margin-bottom: 20px;
}

.order-summary {
    background: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    height: fit-content;
}

.order-summary h2 {
    margin-bottom: 20px;
}

.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-info h4 {
    font-size: 0.95rem;
}

.order-item-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

.order-item-price {
    font-weight: 600;
}

.checkout-notice {
    background: #d4edda;
    border: 1px solid #28a745;
    border-radius: var(--radius-sm);
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #155724;
}

.paystack-button {
    width: 100%;
    padding: 16px;
    background: #00b07c;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.paystack-button:hover {
    background: #009568;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: var(--primary);
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    z-index: 9999;
    transform: translateX(150%);
    transition: var(--transition);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: #28a745;
}

.toast.error {
    background: #dc3545;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 140px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .product-details {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
    
    .about-content,
    .contact-content,
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .cart-item-product {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}
