/* ========================================
   CSS VARIABLES - Brand Colors (Green Theme)
   ======================================== */
:root {
    /* Primary Colors - Green */
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --primary-hover: #388e3c;
    
    /* Secondary Colors */
    --secondary-color: #e8f5e9;
    --accent-color: #66bb6a;
    
    /* Neutral Colors */
    --text-color: #1a1a1a;
    --text-light: #666666;
    --bg-color: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Status Colors */
    --success: #43a047;
    --danger: #e53935;
    --warning: #fdd835;
    --info: #1e88e5;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
}

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

/* ========================================
   ICON STYLES
   ======================================== */
.fas, .far, .fab, .fal, .fad {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.fas:last-child, .far:last-child, .fab:last-child,
.fal:last-child, .fad:last-child {
    margin-right: 0;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.nav-brand:hover {
    color: var(--white);
}

.nav-brand i {
    font-size: 1.3rem;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* Cart Badge */
.cart-badge {
    display: inline-block;
    background: var(--danger);
    color: var(--white);
    padding: 1px 8px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    margin-left: 4px;
    min-width: 20px;
    text-align: center;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    background: var(--primary-color);
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    top: 100%;
    left: 0;
    border: 1px solid rgba(255,255,255,0.05);
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    list-style: none;
    padding: 0;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
}

.nav-dropdown-menu a:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white) !important;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--danger);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--danger);
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: #c62828;
    border-color: #c62828;
    transform: translateY(-2px);
}

.btn-success {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--success);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--success);
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-success:hover {
    background: #2e7d32;
    border-color: #2e7d32;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.btn-small {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
}

.btn-small i {
    font-size: 0.75rem;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-group label i {
    margin-right: 8px;
    color: var(--text-light);
    width: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    background: #fafafa;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group small {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-group small i {
    margin-right: 4px;
    color: var(--text-light);
}

/* ========================================
   ALERTS
   ======================================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert i {
    font-size: 1.2rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* ========================================
   PRODUCT GRID
   ======================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem 0;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.1);
}

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

.product-card h3 {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.product-card .price {
    padding: 0 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card .category {
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.8rem;
}

.product-card .category i {
    margin-right: 4px;
}

.product-card .stock {
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.8rem;
}

.product-card .btn-secondary {
    margin: 1rem;
    display: inline-flex;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(27, 94, 32, 0.7) 100%);
    z-index: 1;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark), #2c3e50);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 80px 0;
    width: 100%;
}

/* Hero Badge */
.hero-badge {
    margin-bottom: 20px;
}

.badge-pulse {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    animation: pulse-badge 2s infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
}

.badge-pulse i {
    color: var(--accent-color);
    margin-right: 8px;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hero Title */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-title-line {
    display: block;
}

.hero-title-line:nth-child(1) {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title-line:nth-child(2) {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title-line:nth-child(3) {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    background: linear-gradient(90deg, var(--white), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 550px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-subtitle i {
    color: var(--accent-color);
    margin-right: 6px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-hero {
    padding: 16px 35px;
    font-size: 1.1rem;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-hero:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

.btn-hero .btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn-hero:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-hero-outline {
    padding: 16px 35px;
    font-size: 1.1rem;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 60px;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    z-index: 3;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.floating-badge i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.floating-badge span {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.9rem;
}

.floating-badge small {
    font-size: 0.7rem;
    color: var(--text-light);
}

.badge-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.badge-2 {
    top: 45%;
    right: 5%;
    animation-delay: 2s;
}

.badge-3 {
    bottom: 25%;
    right: 12%;
    animation-delay: 4s;
}

.badge-4 {
    top: 25%;
    left: 5%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ========================================
   FEATURES BAR
   ======================================== */
.features-bar {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    margin-top: -2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    background: var(--secondary-color);
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-item:hover i {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.feature-item h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--primary-color);
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 4px;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.view-all:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* ========================================
   PRODUCT BADGE
   ======================================== */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.product-badge.low-stock {
    background: var(--danger);
    color: var(--white);
}

.product-card {
    position: relative;
}

.product-card-body {
    padding: 0 1rem 1rem;
}

/* ========================================
   DISCOUNT BANNER
   ======================================== */
.discount-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    padding: 60px 0;
    margin: 50px 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.discount-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.discount-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.discount-text {
    flex: 1;
    color: var(--white);
}

.discount-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: var(--white);
}

.discount-tag i {
    color: var(--accent-color);
    margin-right: 6px;
}

.discount-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.discount-highlight {
    color: var(--accent-color);
}

.discount-text p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 25px;
    max-width: 450px;
}

.discount-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.timer-unit {
    text-align: center;
}

.timer-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    min-width: 60px;
}

.timer-label {
    font-size: 0.7rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
}

.timer-separator {
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
    font-weight: 300;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    padding: 50px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.1);
}

.testimonial-rating {
    color: #f39c12;
    margin-bottom: 15px;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-color);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter {
    background: var(--secondary-color);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.newsletter-text h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.newsletter-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    min-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--white);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form .btn-primary {
    padding: 14px 25px;
    white-space: nowrap;
}

/* ========================================
   AUTH
   ======================================== */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 400px;
    width: 100%;
    border: 1px solid var(--border-color);
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.auth-box h1 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 400;
    font-size: 1.2rem;
}

.auth-box h2 i {
    margin-right: 8px;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-links a i {
    margin-right: 4px;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* ========================================
   CART
   ======================================== */
.cart-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.cart-table th {
    background: var(--secondary-color);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.cart-table img {
    vertical-align: middle;
    margin-right: 0.5rem;
    border-radius: 4px;
}

.cart-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 1.5rem 0;
}

.cart-actions .btn-primary,
.cart-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.empty-cart {
    text-align: center;
    padding: 3rem 0;
}

.empty-cart p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ========================================
   CHECKOUT
   ======================================== */
.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
}

.checkout-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.checkout-form h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.order-summary {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 1.2rem;
    border-top: 2px solid var(--primary-color);
    margin-top: 1rem;
}

.summary-actions {
    margin-top: 20px;
}

.summary-actions .btn-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* ========================================
   ORDER CONFIRMATION
   ======================================== */
.order-confirmation {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
    border: 1px solid var(--border-color);
}

.confirmation-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.confirmation-icon i {
    font-size: 4rem;
    color: var(--success);
}

.order-confirmation h2 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.order-confirmation p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.confirmation-details {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.confirmation-item:last-child {
    border-bottom: none;
}

.confirmation-item i {
    margin-right: 6px;
}

.confirmation-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.confirmation-actions .btn-primary,
.confirmation-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 14px 22px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.toast i {
    font-size: 1.2rem;
}

.toast-success {
    background: var(--success);
}

.toast-error {
    background: var(--danger);
}

.toast-warning {
    background: var(--warning);
    color: var(--text-color);
}

.toast-info {
    background: var(--info);
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section h4 i {
    margin-right: 8px;
}

.footer-section p {
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-section p i {
    margin-right: 6px;
    width: 18px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-section ul li a i {
    font-size: 10px;
    color: var(--accent-color);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom p i {
    color: var(--danger);
    margin: 0 4px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links a i {
    margin: 0;
}

/* Confirmation Icons */
.confirmation-item i {
    color: var(--text-light);
    width: 20px;
    margin-right: 8px;
}

.confirmation-item strong i {
    color: var(--text-color);
}

/* Order Summary Icons */
.order-summary h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.summary-actions .btn-secondary i {
    margin-right: 8px;
}

/* Checkout Form Icons */
.checkout-form h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.checkout-form .form-group label i {
    color: var(--text-light);
    width: 20px;
}

.checkout-form .form-group small i {
    color: var(--text-light);
}

/* Payment Method Select Icons */
select option i {
    margin-right: 8px;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.whatsapp-btn:hover {
    background: #1DA851;
    transform: translateY(-2px);
    color: var(--white);
}

/* Navbar Logo */
.nav-logo {
    height: 35px;
    width: auto;
    border-radius: 4px;
    margin-right: 8px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand img {
    height: 35px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .nav-logo {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        height: 24px;
    }
}

/* Fallback animated background */
.hero-video-fallback {
    background: linear-gradient(135deg, var(--primary-dark), #2c3e50);
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(135deg, var(--primary-dark), #2c3e50); }
    50% { background: linear-gradient(135deg, #2c3e50, var(--primary-dark)); }
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.status-delivered,
.status-badge.status-active,
.status-badge.status-stock_in {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-processing {
    background: #cce5ff;
    color: #004085;
}

.status-badge.status-shipped {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.status-cancelled,
.status-badge.status-inactive,
.status-badge.status-stock_out {
    background: #f8d7da;
    color: #721c24;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .dashboard-row {
        grid-template-columns: 1fr;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .product-image img {
        height: 300px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .floating-badge {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        gap: 0.25rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-dropdown {
        position: static;
    }
    
    .nav-dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        width: 100%;
        border: none;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown-menu a {
        padding: 8px 0;
    }
    
    .nav-dropdown-menu a:hover {
        background: transparent;
        color: var(--white) !important;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .product-image img {
        height: 250px;
    }
    
    .dashboard-row {
        grid-template-columns: 1fr;
    }
    
    .order-details {
        grid-template-columns: 1fr;
    }
    
    .product-detail-view {
        grid-template-columns: 1fr;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .action-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .action-card {
        padding: 15px 10px;
    }
    
    .action-icon {
        font-size: 1.5rem;
    }
    
    .action-text {
        font-size: 0.75rem;
    }
    
    .order-status-tracker {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .status-step {
        flex-direction: row;
        width: 100%;
        padding: 10px 0;
    }
    
    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
        margin-right: 15px;
        flex-shrink: 0;
    }
    
    .step-label {
        margin-top: 0;
        text-align: left;
        flex: 1;
    }
    
    .step-date {
        margin-top: 0;
        margin-left: 10px;
    }
    
    .status-line {
        display: none;
    }
    
    .order-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tracking-actions {
        flex-direction: column;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn-primary,
    .confirmation-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section ul li a {
        justify-content: center;
    }
    
    .status-update .form-row {
        flex-direction: column;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-form {
        flex-direction: column;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .cart-actions .btn-primary,
    .cart-actions .btn-secondary {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero,
    .btn-hero-outline {
        text-align: center;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .discount-content {
        flex-direction: column;
        text-align: center;
    }
    
    .discount-text p {
        max-width: 100%;
    }
    
    .discount-timer {
        justify-content: center;
        width: 100%;
    }
    
    .timer-number {
        font-size: 2rem;
        min-width: 40px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        min-width: 100%;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .action-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .action-card {
        padding: 12px 8px;
    }
    
    .action-icon {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .action-text {
        font-size: 0.65rem;
    }
    
    .auth-box {
        padding: 1.5rem;
    }
    
    .admin-container {
        padding: 1rem;
    }
    
    .admin-table {
        font-size: 0.8rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
    
    .product-image img {
        height: 200px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .feature-item {
        padding: 10px;
    }
    
    .feature-item i {
        font-size: 1.5rem;
        padding: 8px;
    }
    
    .feature-item h4 {
        font-size: 0.85rem;
    }
    
    .feature-item p {
        font-size: 0.7rem;
    }
}