:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --accent: #dc2626;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Header */
.header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo small { color: var(--primary); font-size: 0.85em; }
.logo-icon { font-size: 1.4rem; }
.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a.active, .nav a:hover { color: var(--primary); }
.admin-link { color: var(--accent) !important; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: white;
  text-align: center;
  padding: 48px 16px;
}
.hero h1 { font-size: 1.8rem; margin-bottom: 12px; }
.hero p { opacity: 0.95; margin-bottom: 24px; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-full { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* Products */
.products-section { padding: 40px 0 60px; }
.section-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 28px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-4px); }
.product-card a { text-decoration: none; color: inherit; display: block; }
.product-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f1f5f9;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}
.product-info { padding: 16px; }
.product-info h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  min-height: 2.4em;
}
.price { margin-bottom: 12px; }
.price .current { font-weight: 700; color: var(--primary); font-size: 1.15rem; }
.price .old { text-decoration: line-through; color: var(--muted); margin-left: 8px; font-size: 0.9rem; }

/* Product Detail */
.product-page { padding: 24px 0 60px; }
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product-gallery img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-meta h1 { font-size: 1.5rem; margin-bottom: 12px; }
.product-meta .desc { color: var(--muted); margin-bottom: 16px; }
.price-big .current { font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.price-big .old { text-decoration: line-through; color: var(--muted); margin-left: 10px; }

/* Order Box */
.order-box {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 0 auto 32px;
}
.order-box h3 { margin-bottom: 20px; font-size: 1.25rem; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}

.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option-btn {
  padding: 8px 16px;
  border: 2px solid var(--border);
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.15s;
}
.option-btn.active {
  border-color: var(--primary);
  background: #ccfbf1;
  color: var(--primary-dark);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 140px;
}
.qty-control button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: #f1f5f9;
  font-size: 1.2rem;
  cursor: pointer;
}
.qty-control input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 1px solid var(--border);
  border-left: 0;
  border-right: 0;
  font-weight: 600;
}

.price-summary {
  background: #f0fdfa;
  padding: 16px;
  border-radius: 8px;
  margin: 20px 0;
}
.price-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.price-summary .total {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  border-top: 1px solid #99f6e4;
  padding-top: 10px;
  margin-top: 8px;
}

.more-products { text-align: center; margin-top: 24px; }

/* Success */
.success-page { padding: 60px 16px; text-align: center; }
.success-box {
  background: var(--card);
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.success-box h1 { font-size: 1.4rem; margin-bottom: 12px; }
.order-id { margin: 16px 0 24px; color: var(--muted); }

/* Admin */
.admin-page { padding: 32px 0 60px; }
.admin-page h1 { margin-bottom: 8px; }
.admin-note { color: var(--muted); margin-bottom: 20px; }
.admin-actions { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.orders-list { display: flex; flex-direction: column; gap: 16px; }
.order-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.order-header .date { color: var(--muted); }
.order-body p { margin-bottom: 6px; font-size: 0.95rem; }
.order-body hr { margin: 12px 0; border: none; border-top: 1px solid var(--border); }
.order-actions { margin-top: 12px; }
.empty { text-align: center; color: var(--muted); padding: 40px; }

/* Footer moved to FIX block */
.footer { }
.footer p { margin-bottom: 6px; }

/* Responsive */
@media (max-width: 700px) {
  .product-detail { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: 1.45rem; }
  .nav a { margin-left: 12px; font-size: 0.9rem; }
}

/* Contact Footer */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 8px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  padding: 10px 18px;
  border-radius: 10px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s;
}
.contact-item:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.contact-item .icon {
  font-size: 1.2rem;
}

/* Modal for Edit */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.modal-box h2 { margin-bottom: 16px; }
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.btn-secondary {
  background: #e2e8f0;
  color: #334155;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-pending {
  background: #fef3c7;
  color: #b45309;
}
.status-success {
  background: #d1fae5;
  color: #047857;
}
.btn-success {
  background: #059669;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}
.btn-edit {
  background: #2563eb;
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
}

/* Image gallery */
.gallery-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
}
.gallery-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.img-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  line-height: 1;
  z-index: 2;
}
.img-prev { left: 10px; }
.img-next { right: 10px; }
.img-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.img-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
}
.img-dots .dot.active {
  background: #0d9488;
  width: 20px;
  border-radius: 4px;
}
.success-count {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 4px;
}
.multi-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.multi-preview img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* Social proof + free delivery */
.social-proof {
  margin-top: 14px;
  padding: 12px 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  color: #065f46;
  font-size: 0.95rem;
  line-height: 1.4;
}
.social-proof strong {
  color: #047857;
  font-size: 1.05em;
}
.free-delivery-badge {
  display: inline-block;
  margin-top: 10px;
  background: #fef3c7;
  color: #b45309;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 8px;
}

/* Password eye toggle */
.pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pass-wrap input {
  width: 100%;
  padding-right: 44px !important;
}
.pass-eye {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.15rem;
  padding: 4px 6px;
  line-height: 1;
  opacity: 0.7;
}
.pass-eye:hover { opacity: 1; }

/* Unavailable product */
.product-card.unavailable {
  opacity: 0.85;
}
.product-card.unavailable .product-img img {
  filter: grayscale(40%);
}
.unavailable-badge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(220, 38, 38, 0.92);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  padding: 8px 6px;
  z-index: 2;
}
.product-img { position: relative; }
.not-available-box {
  margin-top: 12px;
  padding: 14px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #b91c1c;
  font-weight: 700;
  font-size: 1rem;
}

/* Thumbnail strip (like marketplace) */
.thumb-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.thumb-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
  padding: 4px 2px;
  scrollbar-width: thin;
}
.thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb.active {
  border-color: #0d9488;
  box-shadow: 0 0 0 1px #0d9488;
}
.thumb-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  color: #334155;
}
.thumb-arrow:hover {
  background: #f1f5f9;
  border-color: #0d9488;
}
@media (max-width: 480px) {
  .thumb { width: 52px; height: 52px; }
}


/* ===== Premium Hero with live delivery ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
  color: #fff;
  padding: 48px 0 56px;
  text-align: left;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text h1 {
  font-size: 1.9rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.hero-text p {
  opacity: 0.95;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: livePulse 1.5s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Delivery truck animation */
.hero-delivery-track {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  height: 40px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.delivery-truck {
  position: absolute;
  font-size: 2rem;
  animation: truckDrive 12s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.delivery-package {
  position: absolute;
  font-size: 1.2rem;
  animation: packageBounce 12s linear infinite;
  opacity: 0.9;
}
@keyframes truckDrive {
  0% { left: -60px; }
  100% { left: calc(100% + 20px); }
}
@keyframes packageBounce {
  0% { left: -30px; transform: translateY(0); }
  10% { transform: translateY(-6px); }
  20% { transform: translateY(0); }
  100% { left: calc(100% + 50px); transform: translateY(0); }
}

/* Premium product cards in hero */
.hero-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.95);
  color: #0f172a;
  border-radius: 12px;
  padding: 10px 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.25s, box-shadow 0.25s;
  animation: cardFloat 3s ease-in-out infinite;
  position: relative;
}
.hero-card-1 { animation-delay: 0s; }
.hero-card-2 { animation-delay: 0.4s; }
.hero-card-3 { animation-delay: 0.8s; }
.hero-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  background: #f1f5f9;
  flex-shrink: 0;
}
.hero-card-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hero-card-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.hero-card-price {
  color: #0d9488;
  font-weight: 700;
  font-size: 1rem;
}
.hero-free {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.65rem;
  background: #fef3c7;
  color: #b45309;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

@media (max-width: 700px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 { font-size: 1.5rem; }
  .hero-products {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .hero-card {
    min-width: 220px;
    animation: none;
  }
  .hero-live { margin-left: auto; margin-right: auto; }
}

/* Product search */
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.section-head-row .section-title {
  margin: 0;
  flex: 1;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 220px;
  max-width: 320px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.95rem;
  font-family: inherit;
  background: transparent;
  min-width: 0;
}
.search-icon { font-size: 1rem; opacity: 0.7; }

/* Settings icon grid */
.settings-icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.settings-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
  transition: 0.2s;
}
.settings-icon-btn:hover {
  border-color: #0d9488;
  background: #f0fdfa;
}
.settings-icon-btn.active {
  border-color: #0d9488;
  background: #ccfbf1;
  color: #0f766e;
}
.settings-icon-btn .si-emoji {
  font-size: 1.8rem;
  line-height: 1;
}

/* Dark mode - customer site */
body.dark-mode {
  background: #0f172a;
  color: #e2e8f0;
}
body.dark-mode .header {
  background: #1e293b;
  border-bottom-color: #334155;
}
body.dark-mode .logo-text,
body.dark-mode .nav a {
  color: #e2e8f0;
}
body.dark-mode .nav a.active {
  color: #2dd4bf;
}
body.dark-mode .products-section {
  background: #0f172a;
}
body.dark-mode .section-title {
  color: #f1f5f9;
}
body.dark-mode .product-card {
  background: #1e293b;
  border-color: #334155;
}
body.dark-mode .product-card h3 {
  color: #f1f5f9;
}
body.dark-mode .search-box {
  background: #1e293b;
  border-color: #334155;
}
body.dark-mode .search-box input {
  color: #e2e8f0;
}
body.dark-mode .product-page,
body.dark-mode .order-box {
  background: #0f172a;
}
body.dark-mode .order-box {
  background: #1e293b;
  border-color: #334155;
}
body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}
body.dark-mode .price-summary {
  background: #0f172a;
}
@media (max-width: 600px) {
  .section-head-row {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    max-width: none;
  }
}

/* Centered hero + product float animation */
.hero-centered {
  display: flex !important;
  justify-content: center;
  text-align: center;
  grid-template-columns: 1fr !important;
}
.hero-centered .hero-text {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.hero-float-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.float-item {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.35;
  animation: floatAround 14s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.f1 { top: 18%; left: 8%; animation-delay: 0s; }
.f2 { top: 25%; right: 12%; animation-delay: 1.5s; font-size: 2.2rem; }
.f3 { bottom: 30%; left: 15%; animation-delay: 3s; }
.f4 { top: 55%; right: 8%; animation-delay: 4.5s; }
.f5 { bottom: 22%; right: 22%; animation-delay: 2s; }
.f6 { top: 40%; left: 5%; animation-delay: 5s; font-size: 1.5rem; }
@keyframes floatAround {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(12px, -18px) rotate(8deg); }
  50% { transform: translate(-10px, 10px) rotate(-6deg); }
  75% { transform: translate(8px, 14px) rotate(4deg); }
}

.hero-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.ring {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: ringPulse 4s ease-out infinite;
}
.r1 { width: 180px; height: 180px; animation-delay: 0s; }
.r2 { width: 280px; height: 280px; animation-delay: 1.2s; }
.r3 { width: 380px; height: 380px; animation-delay: 2.4s; }
@keyframes ringPulse {
  0% { transform: scale(0.7); opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 0; }
}

.delivery-bike {
  position: absolute;
  font-size: 1.6rem;
  animation: bikeDrive 9s linear infinite;
  animation-delay: 4s;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
@keyframes bikeDrive {
  0% { left: -50px; }
  100% { left: calc(100% + 20px); }
}

/* Admin dark mode button */
.admin-dark-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-dark-btn:hover {
  border-color: #0d9488;
  background: #f0fdfa;
}

/* Admin panel dark theme */
body.admin-dark {
  background: #0f172a !important;
  color: #e2e8f0;
}
body.admin-dark .header {
  background: #1e293b;
  border-bottom-color: #334155;
}
body.admin-dark .logo-text,
body.admin-dark .nav a {
  color: #e2e8f0;
}
body.admin-dark .admin-page h1,
body.admin-dark .admin-page h2 {
  color: #f1f5f9;
}
body.admin-dark .admin-note {
  color: #94a3b8;
}
body.admin-dark .tab-btn {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
body.admin-dark .tab-btn.active {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
}
body.admin-dark .add-form,
body.admin-dark .settings-form,
body.admin-dark .product-admin-card,
body.admin-dark .order-card,
body.admin-dark .settings-icon-btn {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
body.admin-dark .settings-icon-btn.active {
  background: #134e4a;
  border-color: #0d9488;
  color: #5eead4;
}
body.admin-dark .form-group label {
  color: #cbd5e1;
}
body.admin-dark .form-group input,
body.admin-dark .form-group textarea,
body.admin-dark .form-group select {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}
body.admin-dark .modal-box {
  background: #1e293b;
  color: #e2e8f0;
}
body.admin-dark .login-box {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
body.admin-dark .admin-dark-btn {
  background: #334155;
  border-color: #475569;
}
body.admin-dark .logout-btn {
  background: #7f1d1d;
  color: #fecaca;
}
body.admin-dark .product-admin-info h3 {
  color: #f1f5f9;
}

/* Social icons footer */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.2s;
  border: 1px solid rgba(255,255,255,0.12);
}
.social-icon:hover {
  background: var(--soc, #0d9488);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Order notification badge */
.notif-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 99px;
  line-height: 1;
  vertical-align: middle;
}
.admin-bell-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.admin-bell-btn .notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  margin: 0;
}
.admin-bell-btn.has-notif {
  animation: bellShake 2s ease-in-out infinite;
  border-color: #fca5a5;
  background: #fef2f2;
}
@keyframes bellShake {
  0%, 100% { transform: rotate(0); }
  5% { transform: rotate(12deg); }
  10% { transform: rotate(-10deg); }
  15% { transform: rotate(8deg); }
  20% { transform: rotate(0); }
}
body.admin-dark .admin-bell-btn {
  background: #334155;
  border-color: #475569;
}
body.admin-dark .admin-bell-btn.has-notif {
  background: #7f1d1d;
  border-color: #dc2626;
}
.tab-btn .notif-badge {
  margin-left: 6px;
}

/* Social logo icons only */
.social-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
  border: 1px solid rgba(255,255,255,0.15);
}
.social-logo:hover {
  background: var(--soc, #0d9488);
  color: #fff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.link-btn {
  background: none;
  border: none;
  color: #0d9488;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
}
.link-btn:hover { color: #0f766e; }
body.admin-dark .link-btn { color: #5eead4; }

/* Hero product media background (no solid turquoise fill) */
.hero {
  background: #0f172a !important;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.hero-media-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  overflow: hidden;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slide img,
.hero-slide video,
.hero-slide iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  transform: scale(1.08);
  animation: kenBurns 8s ease-in-out infinite alternate;
}
.hero-slide.active img,
.hero-slide.active video {
  animation: kenBurns 5s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}
.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(13, 148, 136, 0.35) 45%,
    rgba(15, 23, 42, 0.65) 100%
  );
  pointer-events: none;
}
.hero-inner,
.hero-text {
  position: relative;
  z-index: 2;
}
.hero-text h1 {
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.hero-text p {
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-live {
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.35) !important;
}


/* Delivery animation ONLY at bottom of hero */
.hero-delivery-track {
  position: absolute !important;
  top: auto !important;
  bottom: 8px !important;
  left: 0 !important;
  right: 0 !important;
  height: 48px !important;
  z-index: 4 !important;
  pointer-events: none;
  overflow: hidden;
}
.delivery-truck,
.delivery-package,
.delivery-bike {
  top: 50% !important;
  transform: translateY(-50%);
  bottom: auto !important;
}
.delivery-truck {
  font-size: 1.75rem;
  animation: truckDrive 11s linear infinite;
}
.delivery-package {
  font-size: 1.1rem;
  animation: packageBounce 11s linear infinite;
  animation-delay: 0.3s;
}
.delivery-bike {
  font-size: 1.5rem;
  animation: bikeDrive 8s linear infinite;
  animation-delay: 3.5s;
}

/* Order search row */
.orders-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.order-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 220px;
  max-width: 320px;
}
.order-search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.9rem;
  font-family: inherit;
  background: transparent;
  min-width: 0;
}
body.admin-dark .order-search-box {
  background: #1e293b;
  border-color: #334155;
}
body.admin-dark .order-search-box input {
  color: #e2e8f0;
}

/* Success order summary */
.success-summary {
  margin-top: 24px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.success-summary h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: #0f172a;
}
.sum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.sum-card {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #e2e8f0;
}
.sum-label {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}
.sum-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}
.sum-val.accent { color: #0d9488; }
.sum-val.free { color: #b45309; }
body.admin-dark .success-summary {
  background: #1e293b;
  border-color: #334155;
}
body.admin-dark .success-summary h3 { color: #f1f5f9; }
body.admin-dark .sum-card {
  background: #0f172a;
  border-color: #334155;
}
body.admin-dark .sum-val { color: #f1f5f9; }
body.admin-dark .sum-val.accent { color: #2dd4bf; }

/* Edit modal pin & delete */
.edit-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.edit-modal-head h2 {
  margin: 0;
}
.edit-modal-actions {
  display: flex;
  gap: 8px;
}
.btn-pin, .btn-delete-prod {
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn-pin {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fcd34d;
}
.btn-pin.pinned {
  background: #f59e0b;
  color: #fff;
  border-color: #d97706;
}
.btn-delete-prod {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.btn-delete-prod:hover {
  background: #dc2626;
  color: #fff;
}
body.admin-dark .btn-pin {
  background: #78350f;
  color: #fde68a;
  border-color: #b45309;
}
body.admin-dark .btn-delete-prod {
  background: #7f1d1d;
  color: #fecaca;
  border-color: #dc2626;
}

/* Hero slides admin preview */
.hero-slides-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  min-height: 40px;
}
.hero-prev-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
}
.hero-prev-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-prev-vid {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  padding: 4px;
}
.hero-prev-url {
  display: none;
}
.hero-prev-item button {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  line-height: 1;
}


/* Sales summary / trading chart */
.sales-summary-wrap { max-width: 960px; }
.sales-year-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.sales-year-row h2 { margin: 0; }
.year-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.year-select-wrap select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  font-family: inherit;
  font-weight: 600;
}
.sales-top-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.sales-highlight {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
  border-color: #6ee7b7 !important;
}
.sum-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 4px;
}
.sales-month-title {
  margin: 0 0 12px;
  font-size: 1rem;
}
.monthly-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 200px;
  padding: 12px 8px 8px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.chart-col {
  flex: 1;
  min-width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.chart-val {
  font-size: 0.65rem;
  color: #0d9488;
  font-weight: 700;
  min-height: 14px;
  margin-bottom: 4px;
  white-space: nowrap;
}
.chart-bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.chart-bar {
  width: 70%;
  max-width: 36px;
  background: linear-gradient(180deg, #14b8a6, #0d9488);
  border-radius: 6px 6px 2px 2px;
  transition: height 0.3s;
  min-height: 2px;
}
.chart-label {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 6px;
  font-weight: 600;
}
.chart-count {
  font-size: 0.68rem;
  color: #94a3b8;
}
.monthly-table { overflow-x: auto; }
.sales-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  font-size: 0.9rem;
}
.sales-table th, .sales-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}
.sales-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #475569;
}
.sales-table tr.dim td { color: #cbd5e1; }
.sales-total-row {
  background: #ecfdf5;
}
.sales-total-row td { border-bottom: none; color: #0f766e; }
body.admin-dark .monthly-chart,
body.admin-dark .sales-table {
  background: #1e293b;
  border-color: #334155;
}
body.admin-dark .sales-table th { background: #0f172a; color: #94a3b8; }
body.admin-dark .sales-table td { border-color: #334155; color: #e2e8f0; }
body.admin-dark .sales-highlight {
  background: linear-gradient(135deg, #064e3b, #0f766e) !important;
}
body.admin-dark .chart-bar {
  background: linear-gradient(180deg, #2dd4bf, #0d9488);
}

/* ========== Ratan Choice Visual Polish 2026 ========== */
:root {
  --primary: #0f9f93;
  --primary-dark: #0b7c72;
  --primary-soft: #e6faf7;
  --accent: #e11d48;
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e8eef5;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
}

body {
  background:
    radial-gradient(1200px 400px at 10% -10%, #d9f7f3 0%, transparent 55%),
    radial-gradient(900px 360px at 100% 0%, #e8eefc 0%, transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

.header {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.9);
  box-shadow: var(--shadow-sm);
}
.logo {
  letter-spacing: -0.02em;
}
.logo-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(13,148,136,0.35);
}
.nav a {
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.btn, .btn-save, .btn-edit, .tab-btn {
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
}
.btn:active, .btn-save:active, .btn-edit:active {
  transform: scale(0.98);
}
.btn-primary, .btn-save {
  background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
  box-shadow: 0 6px 16px rgba(13,148,136,0.3);
  border: none;
  color: #fff !important;
}
.btn-primary:hover, .btn-save:hover {
  filter: brightness(1.05);
}

/* Product cards */
.product-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15,23,42,0.1);
}
.product-img {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}
.product-card h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.discount-badge, .badge-off {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 4px 10px rgba(225,29,72,0.3);
}

/* Hero polish */
.hero {
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  min-height: 280px;
}
.hero-text h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
  letter-spacing: -0.02em;
}
.hero-live span, .hero-live {
  backdrop-filter: blur(6px);
}

/* Search */
.search-box {
  box-shadow: var(--shadow-sm);
  border-radius: 999px !important;
  border: 1.5px solid var(--border) !important;
}
.search-box:focus-within {
  border-color: #5eead4 !important;
  box-shadow: 0 0 0 3px rgba(45,212,191,0.2);
}

/* Footer */
.footer {
  margin-top: 48px;
  padding: 28px 16px 36px;
  background: linear-gradient(180deg, transparent, #e8f5f3);
  border-top: 1px solid var(--border);
}

/* Admin polish */
.admin-page h1 {
  letter-spacing: -0.02em;
}
.tabs {
  gap: 10px !important;
  padding: 6px;
  background: rgba(255,255,255,0.7);
  border-radius: 14px;
  border: 1px solid var(--border);
  display: inline-flex;
  flex-wrap: wrap;
}
.tab-btn {
  border-radius: 10px !important;
  border: none !important;
  background: transparent !important;
  color: var(--muted) !important;
}
.tab-btn:hover {
  background: var(--primary-soft) !important;
  color: var(--primary-dark) !important;
}
.tab-btn.active {
  background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(13,148,136,0.3);
}
.product-admin-card, .order-card, .add-form, .settings-form, .login-box {
  border-radius: 16px !important;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.login-box {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(8px);
}
.settings-icon-btn {
  border-radius: 14px !important;
  transition: transform 0.15s, box-shadow 0.2s;
}
.settings-icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.settings-icon-btn.active {
  border-color: #0d9488 !important;
  background: var(--primary-soft) !important;
}

/* Forms */
.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 10px !important;
  border: 1.5px solid var(--border) !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5eead4 !important;
  box-shadow: 0 0 0 3px rgba(45,212,191,0.18);
}

/* Modal */
.modal-box {
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,0.5);
  animation: modalIn 0.22s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Chart polish */
.chart-bar {
  background: linear-gradient(180deg, #2dd4bf, #0f766e) !important;
  box-shadow: 0 4px 10px rgba(13,148,136,0.25);
}
.sales-highlight {
  position: relative;
  overflow: hidden;
}
.sales-highlight::after {
  content: '💹';
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 1.4rem;
  opacity: 0.35;
}

/* Reduce motion for stability/accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero { min-height: 240px; border-radius: 0 0 18px 18px; }
  .tabs { width: 100%; }
  .product-card:hover { transform: translateY(-3px); }
}

/* Dashboard quick stats */
.dash-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 8px;
}
.dq-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.dq-label { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.dq-val { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.dq-card.warn { background: #fff7ed; border-color: #fed7aa; }
.dq-card.warn .dq-val { color: #c2410c; }
.dq-card.ok { background: #ecfdf5; border-color: #a7f3d0; }
.dq-card.ok .dq-val { color: #047857; }
.dq-card.money { background: #f0fdfa; border-color: #99f6e4; }
.dq-card.money .dq-val { color: #0f766e; }
body.admin-dark .dq-card {
  background: #1e293b;
  border-color: #334155;
}
body.admin-dark .dq-val { color: #f1f5f9; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.tools-upload-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 700px) {
  .dash-quick-stats { grid-template-columns: repeat(2, 1fr); }
}

.hero-prev-item.hero-prev-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-prev-badge {
  position: absolute;
  left: 4px;
  bottom: 4px;
  font-size: 0.75rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border-radius: 4px;
  padding: 1px 4px;
}


/* ===== Footer contact/social FIX (clear contrast) ===== */
.footer {
  margin-top: 48px !important;
  padding: 36px 16px 40px !important;
  background: #0f172a !important;
  border-top: none !important;
  color: #cbd5e1 !important;
  text-align: center;
}
.footer h3 {
  color: #ffffff !important;
  margin-bottom: 18px !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}
.footer p {
  color: #94a3b8 !important;
  opacity: 1 !important;
}
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}
.contact-item {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: #1e293b !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  color: #f8fafc !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: 0.2s;
  opacity: 1 !important;
}
.contact-item:hover {
  background: #0d9488 !important;
  border-color: #14b8a6 !important;
  color: #fff !important;
  transform: translateY(-2px);
}
.contact-item .icon {
  font-size: 1.25rem !important;
  opacity: 1 !important;
  filter: none !important;
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.social-logo {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #1e293b !important;
  color: #f1f5f9 !important;
  border: 1px solid #475569 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: 0.2s;
}
.social-logo svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  opacity: 1 !important;
}
.social-logo:hover {
  background: var(--soc, #0d9488) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

.btn-reject, .btn-return {
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn-reject {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.btn-reject:hover { background: #dc2626; color: #fff; }
.btn-return {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}
.btn-return:hover { background: #ea580c; color: #fff; }
.status-badge.status-reject {
  background: #fee2e2;
  color: #b91c1c;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 14px 12px;
  margin: 8px auto 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f766e;
}
.trust-bar span {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 6px 12px;
  border-radius: 999px;
}
