/* 
 * Active Daily Food - Premium Theme
 * Premium Vanilla CSS Styling
 */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #1b5e20; /* Forest Green */
    --primary-light: #2e7d32;
    --primary-glow: rgba(46, 125, 50, 0.15);
    --secondary: #e65100; /* Warm Ghee Orange/Gold */
    --secondary-light: #f57c00;
    --accent: #ffb300; /* Honey Gold */
    --bg-warm: #fcfbfa; /* Warm Creamy Ivory */
    --card-bg: #ffffff;
    --text-dark: #1c281e; /* Deep Charcoal Green */
    --text-light: #607d64; /* Soft Sage Green Text */
    --border-warm: #f1ebd9; /* Soft Cream Border */
    --success: #2e7d32;
    --danger: #d84315;
    
    /* Typography */
    --font-bengali: 'Hind Siliguri', sans-serif;
    --font-english: 'Outfit', sans-serif;
    
    /* System Sizes & Transitions */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(46, 125, 50, 0.05), 0 4px 6px -2px rgba(46, 125, 50, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(27, 94, 32, 0.08), 0 10px 10px -5px rgba(27, 94, 32, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-bengali);
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

input, button, select, textarea {
    font-family: var(--font-bengali);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Typography Overrides for Numbers & English Titles */
.eng-num, .eng-font {
    font-family: var(--font-english);
    font-weight: 500;
}

/* Header & Navigation Bar (Glassmorphic) */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-warm);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name-text {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.logo-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

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

.nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: var(--primary-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-whatsapp {
    background: #25d366;
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    align-items: center;
    justify-content: center;
}

/* Cart Trigger Button */
.cart-trigger {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(27, 94, 32, 0.2);
    transition: var(--transition);
}

.cart-trigger:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(27, 94, 32, 0.3);
}

.cart-count {
    background: var(--secondary);
    color: white;
    font-family: var(--font-english);
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Hero Section */
.hero {
    padding: 80px 20px;
    background: radial-gradient(circle at 80% 20%, #f4fbf5 0%, var(--bg-warm) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent);
    z-index: -1;
    opacity: 0.5;
    border-radius: 4px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 16px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-bg {
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,81,0,0.06) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    animation: rotateBg 40s linear infinite;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    border: 8px solid white;
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-img:hover {
    transform: rotate(0deg) scale(1.02);
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Feature Highlights */
.features {
    padding: 60px 20px;
    background: white;
    border-top: 1px solid var(--border-warm);
    border-bottom: 1px solid var(--border-warm);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--bg-warm);
    border: 1px solid var(--border-warm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
}

.feature-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Product Catalog Showcase */
.section-title-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.section-subtitle {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
}

.products-section {
    padding: 80px 20px;
}

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

/* Product Card styling */
.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-warm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.product-image-box {
    position: relative;
    padding-top: 75%; /* 4:3 Ratio */
    background: #fdfdfd;
    overflow: hidden;
    border-bottom: 1px solid var(--border-warm);
}

.product-image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-box img {
    transform: scale(1.08);
}

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-family: var(--font-english);
    font-size: 13px;
    color: #a0b2a4;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.current-price {
    font-family: var(--font-english);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.add-to-cart-btn {
    background: var(--primary-glow);
    color: var(--primary);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 800;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* Sidebar Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 40, 30, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1999;
    display: none;
}

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

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-warm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-warm);
}

.cart-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Cart Item Card */
.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-warm);
    align-items: center;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border-warm);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cart-item-price {
    font-family: var(--font-english);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.qty-btn {
    background: var(--bg-warm);
    border: 1px solid var(--border-warm);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.qty-val {
    font-family: var(--font-english);
    font-size: 14px;
    font-weight: 600;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 16px;
}

.cart-empty-message {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-warm);
    background: var(--bg-warm);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
}

.cart-subtotal-val {
    font-family: var(--font-english);
    color: var(--primary);
    font-size: 18px;
}

/* Products Page Banner / Breadcrumbs */
.page-banner {
    background: linear-gradient(rgba(27, 94, 32, 0.08), rgba(27, 94, 32, 0.02));
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-warm);
}

.page-banner h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

/* Filter bar */
.filter-bar {
    max-width: 1200px;
    margin: 30px auto;
    padding: 15px 20px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-warm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box {
    position: relative;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid var(--border-warm);
    outline: none;
    font-size: 14px;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.filter-options {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: var(--bg-warm);
    border: 1px solid var(--border-warm);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Product Detail Page */
.detail-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.detail-image-box {
    background: white;
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 15px;
    box-shadow: var(--shadow-sm);
}

.detail-image-box img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    max-height: 480px;
}

.detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.detail-price-row {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-old-price {
    font-family: var(--font-english);
    font-size: 16px;
    color: #a0b2a4;
    text-decoration: line-through;
}

.detail-current-price {
    font-family: var(--font-english);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.detail-desc {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.detail-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

.detail-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-warm);
    border-radius: 30px;
    padding: 5px;
    background: white;
}

.detail-qty button {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.detail-qty input {
    width: 40px;
    text-align: center;
    border: none;
    font-family: var(--font-english);
    font-size: 16px;
    font-weight: 700;
    outline: none;
}

/* Checkout Page */
.checkout-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.checkout-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-warm);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.checkout-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary);
    border-bottom: 2px solid var(--border-warm);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-warm);
    background-color: var(--bg-warm);
    outline: none;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.order-summary-box {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-warm);
    padding: 25px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-warm);
    font-size: 14px;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

/* Success Confirmation Screen */
.success-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-warm);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon {
    font-size: 60px;
    color: var(--primary);
    background: var(--primary-glow);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
}

.success-container h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.success-container p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Footer Section */
footer {
    background: #172418;
    color: #cbd5cc;
    padding: 70px 20px 30px 20px;
    border-top: 4px solid var(--primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr repeat(2, 0.8fr) 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 18px;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 14px;
}

.contact-info-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-info-list i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 3px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}

/* Admin Dashboard CSS Components */
.admin-body {
    background-color: #f4f6f8;
    color: #333;
}

.admin-nav {
    background: #0e3013;
    color: white;
}

.admin-container {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
}

.admin-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.admin-sidebar {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-warm);
    padding: 20px;
    height: fit-content;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: #4a5568;
}

.sidebar-link:hover, .sidebar-link.active {
    background: var(--primary-glow);
    color: var(--primary);
}

.admin-main {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-warm);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.admin-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a202c;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-num {
    font-family: var(--font-english);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 5px;
}

/* Tables for admin management */
.admin-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
}

.admin-table th {
    background: #f7fafc;
    padding: 14px 16px;
    font-weight: 700;
    color: #4a5568;
    border-bottom: 2px solid #edf2f7;
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #edf2f7;
    color: #2d3748;
}

.admin-table tr:hover {
    background: #f8fafc;
}

.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pending { background: #ffeb3b; color: #5d4037; }
.status-processing { background: #bbdefb; color: #0d47a1; }
.status-completed { background: #c8e6c9; color: #1b5e20; }
.status-cancelled { background: #ffcdd2; color: #b71c1c; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 78px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 78px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 30px 20px;
        border-left: 1px solid var(--border-warm);
        box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.08);
        transition: right 0.3s ease-in-out;
        z-index: 1500;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 12px 18px;
        font-size: 16px;
    }
}

@media(max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .checkout-container {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    .hero-title {
        font-size: 32px;
    }
    .logo img {
        height: 38px;
    }
    .company-name-text {
        font-size: 15px;
    }
    .logo-sub {
        display: none;
    }
    .nav-actions .btn-whatsapp span {
        display: none;
    }
    .nav-actions .btn-whatsapp {
        padding: 10px 12px;
    }
    .nav-container {
        padding: 12px 15px;
    }
}

/* Accordion Custom Styling */
summary::-webkit-details-marker {
    display: none;
}
summary {
    outline: none;
    user-select: none;
}
details[open] {
    border-color: var(--primary) !important;
    background: #ffffff !important;
    box-shadow: var(--shadow-md) !important;
}

/* Landing Page Responsive Grids */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Grid Breakpoints */
@media (max-width: 768px) {
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Header Navigation CTA Button */
.nav-cta-link {
    background: var(--primary);
    color: white !important;
    padding: 10px 22px !important;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(27, 94, 32, 0.2);
    display: inline-block;
    transition: var(--transition);
}

.nav-cta-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(27, 94, 32, 0.35);
}

@media (max-width: 1024px) {
    .nav-cta-item {
        width: 100%;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--border-warm);
    }
    .nav-cta-link {
        display: block;
        width: calc(100% - 36px) !important;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .about-grid img {
        transform: rotate(0deg) !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .why-choose-us-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    .why-choose-us-grid img {
        transform: rotate(0deg) !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto;
    }
    .why-choose-us-grid ul {
        text-align: left;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid > div:first-child {
        text-align: center;
    }
    .contact-grid > div:first-child > div {
        align-items: center;
        justify-content: center;
        text-align: left;
    }
}
