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

 :root {
 --bg: #0e1208;
 --surface: #161c0e;
 --surface2: #1e2714;
 --border: #2e3d1e;
 --gold: #c9a84c;
 --gold-light:#e8c96a;
 --gold-dim: rgba(201,168,76,0.15);
 --text: #f0ede4;
 --text-muted:#a09880;
 --success: #4caf6e;
 --danger: #c94c4c;
 --warning: #c9a84c;
 --dark: #0e1208;
 }

 body {
 font-family: 'Inter', 'Cairo', sans-serif;
 line-height: 1.6;
 color: var(--text);
 background: var(--bg);
 overflow-x: hidden;
 }

 /* No animated bg — clean */
 .bg-animation { display: none; }
 .particles { display: none; }
 .particle { display: none; }

 /* HEADER */
 .header {
 background: var(--surface);
 border-bottom: 1px solid var(--border);
 padding: 0;
 position: fixed;
 width: 100%;
 top: 0;
 z-index: 1000;
 transition: box-shadow 0.3s ease;
 }

 .header.scrolled {
 box-shadow: 0 4px 24px rgba(0,0,0,0.5);
 }

 .header.scrolled .logo,
 .header.scrolled .nav-links a { color: var(--text); }

 .nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 max-width: 1280px;
 margin: 0 auto;
 padding: 0 2rem;
 height: 68px;
 }

 .logo {
 font-family: 'Amiri', serif;
 font-size: 1.55rem;
 font-weight: 700;
 color: var(--gold);
 letter-spacing: 0.02em;
 }

 .nav-links {
 display: flex;
 list-style: none;
 gap: 2.5rem;
 }

 .nav-links a {
 text-decoration: none;
 color: var(--text-muted);
 font-size: 0.88rem;
 font-weight: 500;
 letter-spacing: 0.07em;
 text-transform: uppercase;
 transition: color 0.2s;
 }

 .nav-links a:hover { color: var(--gold); }

 .admin-btn {
 background: var(--surface);
 color: var(--surface);
 padding: 0.5rem 1.4rem;
 border: 1px solid var(--surface);
 border-radius: 4px;
 cursor: default;
 font-size: 0.82rem;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 transition: none;
 user-select: none;
 }

 .admin-btn:hover {
 background: var(--surface);
 color: var(--surface);
 border-color: var(--surface);
 }

 /* MAIN */
 .main-content {
 margin-top: 68px;
 min-height: 100vh;
 }

 /* HERO */
 .hero {
 position: relative;
 padding: 7rem 2rem 5rem;
 text-align: center;
 background:
 linear-gradient(180deg, rgba(14,18,8,0) 0%, var(--bg) 100%),
 linear-gradient(135deg, #111a08 0%, #0e1208 100%);
 border-bottom: 1px solid var(--border);
 overflow: hidden;
 }

 /* Zellige-inspired geometric corner accent */
 .hero::before {
 content: '';
 position: absolute;
 top: 0; left: 0; right: 0;
 height: 3px;
 background: linear-gradient(90deg,
 transparent 0%,
 var(--gold) 20%,
 var(--gold-light) 50%,
 var(--gold) 80%,
 transparent 100%);
 }

 .hero h1 {
 font-family: 'Amiri', serif;
 font-size: 3.8rem;
 font-weight: 700;
 color: var(--gold);
 margin-bottom: 1rem;
 line-height: 1.15;
 animation: fadeInUp 0.7s ease-out both;
 }

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

 .hero p {
 font-size: 1.1rem;
 margin-bottom: 1rem;
 max-width: 620px;
 margin-left: auto;
 margin-right: auto;
 color: var(--text-muted);
 animation: fadeInUp 1s ease-out 0.2s both;
 }

 /* CTA BUTTON */
 .cta-button {
 display: inline-block;
 background: var(--gold);
 color: var(--bg);
 padding: 0.9rem 2.4rem;
 border: none;
 border-radius: 4px;
 font-size: 0.95rem;
 font-weight: 700;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 cursor: pointer;
 transition: background 0.2s, transform 0.2s;
 animation: fadeInUp 1s ease-out 0.4s both;
 margin-top: 1.5rem;
 }

 .cta-button:hover {
 background: var(--gold-light);
 transform: translateY(-2px);
 }

 .cta-button span { position: relative; }

 /* PRODUCTS SECTION */
 .products {
 background: var(--bg);
 padding: 5rem 2rem;
 position: relative;
 }

 /* Zellige divider */
 .products::before {
 content: ' ';
 display: block;
 text-align: center;
 color: var(--gold);
 font-size: 0.65rem;
 letter-spacing: 0.6em;
 margin-bottom: 3rem;
 opacity: 0.5;
 }

 .container {
 max-width: 1280px;
 margin: 0 auto;
 }

 .section-title {
 font-family: 'Amiri', serif;
 text-align: center;
 font-size: 2.4rem;
 margin-bottom: 3rem;
 color: var(--gold);
 font-weight: 700;
 }

 .section-title::after {
 content: '';
 display: block;
 width: 60px;
 height: 2px;
 background: var(--gold);
 margin: 0.8rem auto 0;
 opacity: 0.5;
 }

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

 .product-card {
 background: var(--surface);
 border: 1px solid var(--border);
 border-radius: 6px;
 overflow: hidden;
 transition: border-color 0.25s, transform 0.25s;
 position: relative;
 }

 .product-card:hover {
 border-color: var(--gold);
 transform: translateY(-4px);
 }

 .product-image {
 height: 240px;
 background: var(--surface2);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 4rem;
 overflow: hidden;
 }

 .product-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.4s ease;
 }

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

 .product-info {
 padding: 1.25rem 1.4rem 1.5rem;
 }

 .product-name {
 font-family: 'Cairo', sans-serif;
 font-size: 1.05rem;
 font-weight: 600;
 margin-bottom: 0.4rem;
 color: var(--text);
 }

 .product-price {
 font-family: 'Amiri', serif;
 font-size: 1.35rem;
 color: var(--gold);
 font-weight: 700;
 margin-bottom: 0.8rem;
 }

 .product-description {
 color: var(--text-muted);
 font-size: 0.87rem;
 margin-bottom: 1.2rem;
 line-height: 1.55;
 }

 .order-now {
 width: 100%;
 padding: 0.75rem;
 background: transparent;
 color: var(--gold);
 border: 1px solid var(--gold);
 border-radius: 4px;
 font-weight: 600;
 font-size: 0.85rem;
 cursor: pointer;
 text-transform: uppercase;
 letter-spacing: 0.07em;
 transition: background 0.2s, color 0.2s;
 }

 .order-now:hover {
 background: var(--gold);
 color: var(--bg);
 }

 /* FOOTER */
 .footer {
 background: var(--surface);
 border-top: 1px solid var(--border);
 color: var(--text-muted);
 text-align: center;
 padding: 3rem 2rem;
 }

 .footer::before {
 content: ' ';
 display: block;
 text-align: center;
 color: var(--gold);
 font-size: 0.65rem;
 letter-spacing: 0.6em;
 margin-bottom: 2rem;
 opacity: 0.4;
 }

 /* MODALS */
 .modal {
 display: none;
 position: fixed;
 z-index: 2000;
 left: 0; top: 0;
 width: 100%; height: 100%;
 background: rgba(0,0,0,0.75);
 }

 @keyframes fadeIn {
 from { opacity: 0; }
 to { opacity: 1; }
 }

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

 .modal-content {
 background: var(--surface);
 border: 1px solid var(--border);
 margin: 5% auto;
 padding: 2.5rem;
 border-radius: 8px;
 width: 90%;
 max-width: 500px;
 max-height: 85%;
 overflow-y: auto;
 box-shadow: 0 24px 60px rgba(0,0,0,0.6);
 animation: slideUp 0.3s ease-out;
 }

 .close {
 color: var(--text-muted);
 float: right;
 font-size: 28px;
 font-weight: bold;
 cursor: pointer;
 transition: color 0.2s;
 line-height: 1;
 }

 .close:hover { color: var(--danger); }

 /* FORMS */
 .form-group {
 margin-bottom: 1.25rem;
 text-align: left;
 }

 .form-group label {
 display: block;
 margin-bottom: 0.45rem;
 font-weight: 600;
 color: var(--text-muted);
 font-size: 0.78rem;
 text-transform: uppercase;
 letter-spacing: 0.07em;
 }

 .form-group input,
 .form-group textarea,
 .form-group select {
 width: 100%;
 padding: 0.85rem 1rem;
 border: 1px solid var(--border);
 border-radius: 4px;
 font-size: 0.95rem;
 background: var(--surface2);
 color: var(--text);
 transition: border-color 0.2s;
 font-family: 'Inter', sans-serif;
 }

 .form-group input:focus,
 .form-group textarea:focus,
 .form-group select:focus {
 outline: none;
 border-color: var(--gold);
 box-shadow: 0 0 0 3px var(--gold-dim);
 }

 .form-group select option {
 background: var(--surface2);
 color: var(--text);
 }

 .submit-btn {
 background: var(--gold);
 color: var(--bg);
 padding: 0.9rem 2rem;
 border: none;
 border-radius: 4px;
 font-size: 0.9rem;
 font-weight: 700;
 cursor: pointer;
 width: 100%;
 text-transform: uppercase;
 letter-spacing: 0.07em;
 transition: background 0.2s, transform 0.2s;
 }

 .submit-btn:hover {
 background: var(--gold-light);
 transform: translateY(-1px);
 }

 .submit-btn:disabled {
 opacity: 0.5;
 cursor: not-allowed;
 transform: none;
 }

 /* DASHBOARD */
 .dashboard {
 display: none;
 background: var(--bg);
 min-height: 100vh;
 padding: 2rem;
 color: var(--text);
 }

 .dashboard.active {
 display: block;
 }

 .dashboard-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 2rem;
 padding-bottom: 1rem;
 border-bottom: 1px solid var(--border);
 }

 .dashboard-nav {
 display: flex;
 gap: 0.6rem;
 margin-bottom: 2rem;
 flex-wrap: wrap;
 }

 .dash-nav-btn {
 padding: 0.65rem 1.4rem;
 border: 1px solid var(--border);
 border-radius: 4px;
 cursor: pointer;
 font-weight: 600;
 font-size: 0.83rem;
 letter-spacing: 0.04em;
 transition: all 0.2s;
 background: transparent;
 color: var(--text-muted);
 }

 .dash-nav-btn.active {
 border-color: var(--gold);
 color: var(--gold);
 background: var(--gold-dim);
 }

 .dash-nav-btn:hover:not(.active) {
 border-color: var(--text-muted);
 color: var(--text);
 }

 .dashboard-section {
 display: none;
 }

 .dashboard-section.active {
 display: block;
 animation: fadeInUp 0.35s ease;
 }

 .add-product-form, .orders-section {
 background: var(--surface);
 padding: 2rem;
 border-radius: 8px;
 margin-bottom: 1.5rem;
 border: 1px solid var(--border);
 }

 .products-list {
 background: var(--surface);
 border-radius: 8px;
 padding: 1.5rem;
 border: 1px solid var(--border);
 }

 .product-item, .order-item {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1rem 1.25rem;
 margin-bottom: 0.75rem;
 background: var(--surface2);
 border-radius: 4px;
 border: 1px solid var(--border);
 transition: border-color 0.2s;
 }

 .product-item:hover, .order-item:hover {
 border-color: var(--gold);
 }

 .delete-btn, .finalize-btn {
 padding: 0.5rem 1rem;
 border: none;
 border-radius: 4px;
 cursor: pointer;
 font-weight: 600;
 font-size: 0.82rem;
 transition: opacity 0.2s;
 }

 .delete-btn {
 background: var(--danger);
 color: white;
 }

 .delete-btn:hover { opacity: 0.85; }

 .finalize-btn {
 background: var(--success);
 color: white;
 }

 .finalize-btn:hover { opacity: 0.85; }

 .status-select {
 background: var(--surface);
 color: var(--gold);
 border: 1px solid var(--gold);
 padding: 0.4rem 0.8rem;
 border-radius: 4px;
 cursor: pointer;
 font-size: 0.85rem;
 font-family: inherit;
 }

 /* Loading */
 .loading {
 display: inline-block;
 width: 18px; height: 18px;
 border: 2px solid rgba(201,168,76,0.3);
 border-radius: 50%;
 border-top-color: var(--gold);
 animation: spin 0.8s linear infinite;
 }

 @keyframes spin { to { transform: rotate(360deg); } }

 /* Messages */
 .message {
 padding: 0.9rem 1rem;
 border-radius: 4px;
 margin: 1rem 0;
 font-size: 0.9rem;
 }

 .success-message {
 background: rgba(76,175,110,0.1);
 border-left: 3px solid var(--success);
 color: var(--success);
 }

 .error-message {
 background: rgba(201,76,76,0.1);
 border-left: 3px solid var(--danger);
 color: #e08080;
 }

 .warning-message {
 background: rgba(201,168,76,0.1);
 border-left: 3px solid var(--warning);
 color: var(--gold);
 }

 /* Mobile menu */
 .mobile-menu {
 display: none;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0.5rem;
 }

 .mobile-menu span {
 display: block;
 width: 22px; height: 2px;
 background: var(--gold);
 margin: 5px 0;
 border-radius: 1px;
 transition: all 0.2s;
 }

 /* Scroll reveal */
 .scroll-reveal {
 opacity: 0;
 transform: translateY(20px);
 transition: all 0.6s ease;
 }

 .scroll-reveal.active {
 opacity: 1;
 transform: translateY(0);
 }

 /* Notification badge */
 .notification-badge {
 position: absolute;
 top: -5px; right: -5px;
 background: var(--danger);
 color: white;
 border-radius: 50%;
 width: 18px; height: 18px;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 0.65rem;
 font-weight: bold;
 }

 /* Modal title */
 .modal-content h3 {
 font-family: 'Amiri', serif;
 font-size: 1.6rem;
 color: var(--gold);
 text-align: center;
 margin-bottom: 1.5rem;
 }

 /* Order total */
 #orderTotalPrice {
 color: var(--gold) !important;
 font-family: 'Amiri', serif;
 font-size: 1.2rem !important;
 }

 /* Dashboard h3 */
 .add-product-form h3,
 .orders-section h3,
 .products-list h3 {
 font-family: 'Amiri', serif;
 font-size: 1.4rem;
 color: var(--gold);
 margin-bottom: 1.5rem;
 font-weight: 700;
 }

 /* Responsive */
 @media (max-width: 768px) {
 .nav-links {
 display: none;
 position: absolute;
 top: 100%;
 left: 0; right: 0;
 background: var(--surface);
 border-bottom: 1px solid var(--border);
 flex-direction: column;
 padding: 1.5rem 2rem;
 gap: 1.2rem;
 }

 .nav-links.active { display: flex; }
 .nav-links a { color: var(--text); }
 .mobile-menu { display: block; }

 .hero h1 { font-size: 2.4rem; }
 .hero p { font-size: 1rem; }

 .product-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

 .modal-content { width: 95%; margin: 8% auto; padding: 1.5rem; }

 .dashboard-nav { justify-content: flex-start; }
 .dash-nav-btn { font-size: 0.8rem; padding: 0.55rem 1rem; }
 }

 @media (max-width: 480px) {
 .product-grid { grid-template-columns: 1fr; }
 }
