/* ==========================================
   MAMIA – Complete Stylesheet
   Brand: Teal #1DC49A | Yellow #FFD700 | White
   ========================================== */

:root {
  --teal: #1DC49A;
  --teal-dark: #159e7c;
  --teal-light: #e8faf5;
  --yellow: #FFD700;
  --yellow-dark: #e6c000;
  --white: #ffffff;
  --off-white: #f9fefb;
  --gray-light: #f4f4f4;
  --gray: #888;
  --gray-dark: #444;
  --black: #1a1a1a;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Nunito', sans-serif;
  --shadow-sm: 0 2px 12px rgba(29,196,154,0.12);
  --shadow-md: 0 8px 30px rgba(29,196,154,0.18);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; font-family: var(--font-body); }

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,215,0,0.5);
}
.btn-primary.btn-full { width: 100%; text-align: center; }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--teal);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 26px;
  border-radius: 50px;
  transition: all 0.25s ease;
  background: transparent;
}
.btn-outline:hover { background: var(--teal); color: white; }

.btn-danger {
  background: #e74c3c;
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: none;
  transition: all 0.2s;
}
.btn-danger:hover { background: #c0392b; }

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29,196,154,0.15);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(29,196,154,0.15);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.logo-img {
  width: 70px; height: 70px; object-fit: cover;
  border-radius: 12px;
}
.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-weight: 600; font-size: 0.95rem; color: var(--gray-dark);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--teal); transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.cart-link {
  display: flex; align-items: center; gap: 6px;
  background: var(--teal); color: white !important; padding: 8px 18px;
  border-radius: 50px;
}
.cart-link::after { display: none !important; }
.cart-link:hover { background: var(--teal-dark) !important; color: white !important; }
.cart-count {
  background: var(--yellow); color: var(--black);
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800;
}
.hamburger {
  display: none; background: none; border: none;
  font-size: 1.5rem; color: var(--teal);
}

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero-slider {
  position: relative; overflow: hidden;
  height: 100vh; min-height: 580px;
  margin-top: 94px;
}
.slider-track {
  display: flex; height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}
.slide {
  min-width: 100%; height: 100%;
  display: flex; align-items: center;
  padding: 60px 6%;
  position: relative; overflow: hidden;
}
.slide-1 { background: linear-gradient(135deg, var(--teal) 0%, #0fa87e 100%); }
.slide-2 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%); }
.slide-3 { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%); }

.slide-content {
  flex: 1; z-index: 2; max-width: 560px;
}
.slide-tag {
  display: inline-block; background: var(--yellow); color: var(--black);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 50px;
  margin-bottom: 20px;
}
.slide-content h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--white); line-height: 1.15; margin-bottom: 18px;
  font-weight: 700;
}
.slide-content h1 em {
  font-style: normal; color: var(--yellow);
}
.slide-content p {
  color: rgba(255,255,255,0.88); font-size: 1.05rem;
  line-height: 1.65; margin-bottom: 32px; max-width: 420px;
}
.slide-art {
  flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.slide-icon {
  font-size: 8rem; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.bubble {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: pulse 4s ease-in-out infinite;
}
.b1 { width: 220px; height: 220px; top: -40px; right: -20px; animation-delay: 0s; }
.b2 { width: 140px; height: 140px; bottom: 20px; right: 80px; animation-delay: 1s; }
.b3 { width: 80px; height: 80px; top: 60px; right: 200px; animation-delay: 2s; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.9; }
}

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
  color: white; border: 1px solid rgba(255,255,255,0.3);
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; z-index: 10;
}
.slider-btn:hover { background: rgba(255,255,255,0.35); }
.prev { left: 24px; }
.next { right: 24px; }
.slider-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s;
}
.dot.active { background: var(--yellow); transform: scale(1.3); }

/* ==========================================
   TRUST BAR
   ========================================== */
.trust-bar {
  background: var(--teal);
  padding: 18px 24px;
}
.trust-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: white; font-weight: 600; font-size: 0.9rem;
}
.trust-icon { font-size: 1.3rem; }

/* ==========================================
   SECTIONS SHARED
   ========================================== */
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--black); margin-bottom: 10px;
}
.section-header p { color: var(--gray); font-size: 1.05rem; }

.section-footer {
  text-align: center; margin-top: 48px;
}

/* ==========================================
   CATEGORIES SECTION
   ========================================== */
.categories-section {
  padding: 80px 6%;
  background: var(--off-white);
}
.categories-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
}
.cat-card {
  border-radius: var(--radius); padding: 40px 24px;
  text-align: center; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-default { background: linear-gradient(135deg, #e8faf5, #c8f2e8); }
.cat-default2 { background: linear-gradient(135deg, #fff9e0, #fff0a0); }
.cat-default3 { background: linear-gradient(135deg, #fce4ec, #f8bbd9); }
.cat-emoji { font-size: 3rem; margin-bottom: 14px; }
.cat-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.cat-card a {
  color: var(--teal); font-weight: 700; font-size: 0.9rem;
  transition: color 0.2s;
}
.cat-card a:hover { color: var(--teal-dark); }

/* ==========================================
   PRODUCTS GRID
   ========================================== */
.featured-section {
  padding: 80px 6%;
}
.products-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px;
}
.product-card {
  background: white; border-radius: var(--radius);
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-img-wrap { height: 200px; overflow: hidden; background: var(--gray-light); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 3rem;
}
.product-info { padding: 18px; }
.product-name {
  font-family: var(--font-display); font-size: 1.05rem;
  margin-bottom: 6px; color: var(--black);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-desc {
  font-size: 0.85rem; color: var(--gray); line-height: 1.5; margin-bottom: 14px;
}
.product-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.product-price {
  font-size: 1.1rem; font-weight: 800; color: var(--teal);
}
.btn-add-cart {
  background: var(--teal); color: white;
  border: none; padding: 8px 18px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s;
}
.btn-add-cart:hover { background: var(--teal-dark); transform: translateY(-1px); }

.empty-state {
  grid-column: 1/-1; text-align: center; padding: 60px 20px;
  color: var(--gray); font-size: 1.05rem;
}
.empty-state a { color: var(--teal); font-weight: 700; }

/* ==========================================
   WHY MAMIA
   ========================================== */
.why-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 90px 6%;
}
.why-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.why-tag {
  display: inline-block; background: var(--yellow); color: var(--black);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 16px;
}
.why-text h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: white; margin-bottom: 18px; line-height: 1.2;
}
.why-text p { color: rgba(255,255,255,0.85); line-height: 1.75; margin-bottom: 24px; }
.why-list { list-style: none; }
.why-list li {
  color: rgba(255,255,255,0.9); padding: 6px 0; font-weight: 600;
}
.why-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
}
.why-card:first-child { grid-column: 1/-1; }
.why-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--yellow); margin-bottom: 6px;
}
.why-label { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.9rem; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #111;
  padding: 60px 6% 0;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { width: 80px; border-radius: 10px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; }
.footer-links h4, .footer-contact h4 { color: white; font-size: 1rem; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links ul a:hover { color: var(--yellow); }
.footer-contact p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 6px; }
.footer-bottom {
  text-align: center; padding: 20px;
  color: rgba(255,255,255,0.4); font-size: 0.85rem;
}

/* ==========================================
   PAGE HERO (products & cart page)
   ========================================== */
.page-hero {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  padding: 120px 6% 60px;
  text-align: center;
  margin-top: 94px;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem);
  color: white; margin-bottom: 10px;
}
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* ==========================================
   PRODUCTS PAGE LAYOUT
   ========================================== */
.products-page {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 220px 1fr; gap: 36px;
  padding: 48px 24px 80px;
}
.sidebar h3 {
  font-family: var(--font-display); font-size: 1.1rem;
  margin-bottom: 16px; color: var(--black);
}
.cat-filter { list-style: none; }
.cat-filter li { margin-bottom: 4px; }
.cat-filter a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; color: var(--gray-dark);
  transition: all 0.2s;
}
.cat-filter a:hover { background: var(--teal-light); color: var(--teal); }
.cat-filter a.active { background: var(--teal); color: white; }
.products-toolbar {
  margin-bottom: 20px;
}
.products-toolbar p { color: var(--gray); font-size: 0.9rem; }

/* ==========================================
   CART PAGE
   ========================================== */
.cart-page {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 40px;
  padding: 48px 24px 80px;
}
.cart-items-col h2, .cart-form-col h2 {
  font-family: var(--font-display); font-size: 1.5rem;
  margin-bottom: 24px;
}
.cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; background: white;
  border: 1px solid #eee; border-radius: var(--radius);
  margin-bottom: 14px;
}
.cart-item-img {
  width: 70px; height: 70px; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--gray-light); flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.cart-item-price { color: var(--teal); font-weight: 700; }
.cart-item-qty {
  display: flex; align-items: center; gap: 10px;
}
.cart-item-qty button {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal);
  font-weight: 700; font-size: 1rem; line-height: 1;
  border: none; cursor: pointer; transition: all 0.2s;
}
.cart-item-qty button:hover { background: var(--teal); color: white; }
.cart-item-qty span { font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-subtotal { font-weight: 700; color: var(--black); min-width: 80px; text-align: right; }
.remove-item {
  background: none; border: none; color: #ccc;
  font-size: 1rem; cursor: pointer; transition: color 0.2s;
}
.remove-item:hover { color: #e74c3c; }
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px; font-weight: 700; font-size: 1.1rem;
  border-top: 2px solid #eee; margin-top: 8px;
}

.order-form { }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-weight: 700; font-size: 0.88rem;
  margin-bottom: 6px; color: var(--gray-dark);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #e0e0e0; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: border-color 0.2s;
  color: var(--black);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--teal);
}
.form-group textarea { resize: vertical; }

.order-summary-box {
  background: var(--teal-light); border-radius: var(--radius);
  padding: 20px; margin: 24px 0;
}
.summary-row {
  display: flex; justify-content: space-between;
  padding: 7px 0; font-size: 0.95rem; color: var(--gray-dark);
}
.summary-row.total {
  border-top: 2px solid rgba(29,196,154,0.3); margin-top: 8px; padding-top: 12px;
  font-size: 1.15rem; font-weight: 800; color: var(--teal);
}
.order-note {
  text-align: center; font-size: 0.82rem; color: var(--gray); margin-top: 10px;
}

.empty-cart {
  text-align: center; padding: 60px 20px;
  color: var(--gray);
}
.empty-cart p { font-size: 1.1rem; margin-bottom: 20px; }

/* ==========================================
   CART TOAST
   ========================================== */
.cart-toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--teal); color: white;
  padding: 12px 24px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  box-shadow: var(--shadow-md);
  transform: translateY(80px); opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-toast.show { transform: translateY(0); opacity: 1; }

/* ==========================================
   ADMIN PANEL
   ========================================== */
.admin-body { background: #f5f7fa; }

.login-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
}
.login-card {
  background: white; border-radius: 20px;
  padding: 48px 40px; width: 100%; max-width: 400px;
  box-shadow: var(--shadow-lg); text-align: center;
}
.login-logo { width: 100px; border-radius: 14px; margin: 0 auto 20px; }
.login-card h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 6px; }
.login-card p { color: var(--gray); margin-bottom: 28px; }
.login-hint { font-size: 0.8rem; color: var(--gray); margin-top: 14px; }

.admin-nav {
  background: white; border-bottom: 1px solid #e8e8e8;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.admin-nav-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; padding: 10px 24px;
}
.admin-logo { width: 50px; border-radius: 8px; }
.admin-title {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--black); margin-right: auto;
}
.admin-nav-links { display: flex; gap: 4px; }
.admin-tab {
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; color: var(--gray-dark);
  transition: all 0.2s;
}
.admin-tab:hover { background: var(--teal-light); color: var(--teal); }
.admin-tab.active { background: var(--teal); color: white; }
.admin-tab.logout { color: #e74c3c; }
.admin-tab.logout:hover { background: #fdf0f0; }

.admin-content {
  max-width: 1300px; margin: 32px auto; padding: 0 24px 60px;
}
.admin-section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.admin-section-header h2 {
  font-family: var(--font-display); font-size: 1.6rem;
}
.admin-table-wrap {
  background: white; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--teal-light); color: var(--teal-dark);
  font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 14px 18px; text-align: left;
}
.admin-table td {
  padding: 14px 18px; border-bottom: 1px solid #f0f0f0;
  font-size: 0.92rem; vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }
.tbl-img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); }
.tbl-btn {
  padding: 6px 14px; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 700; border: none; cursor: pointer;
  transition: all 0.2s; margin-right: 6px;
}
.tbl-btn.edit { background: var(--teal-light); color: var(--teal); }
.tbl-btn.edit:hover { background: var(--teal); color: white; }
.tbl-btn.del { background: #fff0f0; color: #e74c3c; }
.tbl-btn.del:hover { background: #e74c3c; color: white; }
.empty-td { text-align: center; color: var(--gray); padding: 40px !important; }

/* ==========================================
   MODALS
   ========================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal {
  background: white; border-radius: 20px;
  padding: 36px; width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
}
.modal.modal-lg { max-width: 640px; }
.modal.modal-sm { max-width: 360px; }
.modal h3 {
  font-family: var(--font-display); font-size: 1.4rem;
  margin-bottom: 24px; color: var(--black);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-full { grid-column: 1/-1; }
.modal-actions {
  display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px;
}

code {
  background: var(--teal-light); color: var(--teal-dark);
  padding: 3px 8px; border-radius: 4px; font-size: 0.85rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cart-page { grid-template-columns: 1fr; }
  .products-page { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .admin-nav-links { gap: 2px; }
  .admin-tab { padding: 8px 12px; font-size: 0.82rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 94px; left: 0; right: 0;
    background: white; flex-direction: column; padding: 20px;
    box-shadow: var(--shadow-md); gap: 16px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .hero-slider { min-height: 500px; }
  .slide { padding: 60px 6% 40px; flex-direction: column; }
  .slide-art { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .why-visual { grid-template-columns: 1fr; }
  .why-card:first-child { grid-column: 1; }
  .admin-nav-links { display: none; }
}

/* ==========================================
   ORDERS PANEL
   ========================================== */
.orders-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #e74c3c; color: white;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 0.7rem; font-weight: 800; margin-left: 4px;
}

.status-filter-select, .status-select {
  padding: 8px 12px; border-radius: var(--radius-sm);
  border: 2px solid #e0e0e0; font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 700; outline: none;
  cursor: pointer; background: white;
  transition: border-color 0.2s;
}
.status-filter-select:focus { border-color: var(--teal); }

.order-card {
  background: white; border-radius: var(--radius);
  border: 1px solid #eee; margin-bottom: 20px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.order-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: var(--teal-light);
  border-bottom: 1px solid rgba(29,196,154,0.15); flex-wrap: wrap; gap: 10px;
}
.order-id-block { display: flex; flex-direction: column; gap: 3px; }
.order-id { font-weight: 800; font-size: 0.95rem; color: var(--teal-dark); font-family: monospace; }
.order-date { font-size: 0.8rem; color: var(--gray); }
.order-header-right { display: flex; align-items: center; gap: 10px; }
.order-card-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.order-customer, .order-items {
  padding: 20px 24px;
}
.order-customer { border-right: 1px solid #f0f0f0; }
.order-customer h4, .order-items h4 {
  font-family: var(--font-display); font-size: 0.95rem;
  margin-bottom: 12px; color: var(--black);
}
.order-customer p { font-size: 0.9rem; color: var(--gray-dark); margin-bottom: 4px; }
.order-item-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid #f5f5f5;
  font-size: 0.88rem; color: var(--gray-dark); gap: 12px;
}
.order-item-row span:first-child { flex: 1; }
.order-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0 0; margin-top: 4px;
  font-weight: 800; color: var(--teal); font-size: 1rem;
}

/* Order success screen in cart */
.order-success {
  text-align: center; padding: 60px 20px;
}
.success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.order-success h3 {
  font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 10px; color: var(--teal);
}
.order-success p { color: var(--gray-dark); font-size: 1rem; line-height: 1.65; }

@media (max-width: 640px) {
  .order-card-body { grid-template-columns: 1fr; }
  .order-customer { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .order-card-header { flex-direction: column; align-items: flex-start; }
}
