/* =====================================================================
   NANO MEDICAL — Luxe Overrides (Black & Gold Signature Layer)
   طبقة نهائية لتعزيز هوية الأسود + الذهبي على نمط اللوجو
   ===================================================================== */

/* ====== Top Announce Bar - Black with Gold text ====== */
.top-announce {
  background: linear-gradient(90deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%) !important;
  color: #d4b87a !important;
  border-bottom: 1px solid rgba(201, 169, 97, 0.35) !important;
  letter-spacing: 0.3px;
}
.top-announce strong { color: #f2e6d0 !important; }
.top-announce i { color: #c9a961 !important; }

/* ====== Ticker Bar ====== */
.ticker-bar {
  background: linear-gradient(90deg, #f8f2e8, #f0e6d2, #f8f2e8) !important;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
}
.ticker-bar i { color: #c9a961 !important; }

/* ====== Nav Header ====== */
.site-header,
.nav-container {
  background: rgba(255, 253, 247, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
}
.nav-brand-logo {
  background: #fff !important;
  padding: 6px !important;
  border: 1px solid rgba(201, 169, 97, 0.28);
  box-shadow: 0 4px 14px rgba(20, 15, 5, 0.10);
}
.nav-brand-name,
.nav-brand strong,
.nav-brand-title {
  background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 40%, #c9a961 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 1.2px;
}
.nav-brand-tag { color: #8f7a3d !important; letter-spacing: 0.8px; font-weight: 600; }
.nav-link { color: #1a1a1a !important; font-weight: 700; }
.nav-link:hover, .nav-link.active { color: #c9a961 !important; }
.nav-icon {
  background: #fff !important;
  border: 1px solid rgba(201, 169, 97, 0.35) !important;
  color: #1a1a1a !important;
}
.nav-icon:hover {
  background: linear-gradient(135deg, #d4b87a, #c9a961) !important;
  color: #0d0d0d !important;
  border-color: #c9a961 !important;
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.35);
}
.nav-badge {
  background: #1a1a1a !important;
  color: #d4b87a !important;
  border: 1px solid #c9a961 !important;
}

/* ====== Buttons ====== */
.btn-primary,
.btn.primary,
button.btn-primary {
  background: linear-gradient(135deg, #262626 0%, #1a1a1a 55%, #0d0d0d 100%) !important;
  color: #f2e6d0 !important;
  border: 1px solid #c9a961 !important;
  box-shadow: 0 10px 26px rgba(20, 15, 5, 0.28);
  letter-spacing: 0.5px;
}
.btn-primary:hover,
.btn.primary:hover {
  background: linear-gradient(135deg, #d4b87a 0%, #c9a961 55%, #8f7a3d 100%) !important;
  color: #0d0d0d !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(201, 169, 97, 0.42);
}
.btn-secondary,
.btn.secondary,
button.btn-secondary {
  background: #fff !important;
  color: #1a1a1a !important;
  border: 1.5px solid #c9a961 !important;
}
.btn-secondary:hover,
.btn.secondary:hover {
  background: #f8f2e8 !important;
  color: #8f7a3d !important;
  border-color: #8f7a3d !important;
}

/* ====== Hero ====== */
.hero {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201,169,97,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(26,26,26,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #f8f2e8 0%, #ffffff 100%) !important;
}
.hero-eyebrow {
  background: rgba(26, 26, 26, 0.06) !important;
  color: #1a1a1a !important;
  border: 1px solid rgba(201, 169, 97, 0.42);
  letter-spacing: 1px;
  font-weight: 700;
}
.hero-eyebrow .dot {
  background: #c9a961 !important;
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.22);
}
.hero h1 {
  color: #0d0d0d !important;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.hero h1 .grad,
.grad {
  background: linear-gradient(135deg, #c9a961 0%, #d4b87a 40%, #8f7a3d 100%) !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead { color: #3d3d3d !important; }

.hero-card-tag {
  background: rgba(13, 13, 13, 0.9) !important;
  color: #d4b87a !important;
  border: 1px solid #c9a961 !important;
  backdrop-filter: blur(8px);
}
.hero-floating {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%) !important;
  color: #f2e6d0 !important;
  border: 1px solid #c9a961 !important;
}
.hero-floating strong { color: #d4b87a !important; }

/* ====== Section titles ====== */
.section-title,
.section-heading h2,
h2.section-h {
  color: #0d0d0d !important;
}
.section-eyebrow {
  color: #8f7a3d !important;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ====== Cards ====== */
.card,
.product-card,
.category-card,
.why-card {
  background: #fff !important;
  border: 1px solid rgba(201, 169, 97, 0.22) !important;
  box-shadow: 0 4px 18px rgba(20, 15, 5, 0.06);
  transition: all 0.35s ease;
}
.card:hover,
.product-card:hover,
.category-card:hover,
.why-card:hover {
  border-color: #c9a961 !important;
  box-shadow: 0 20px 44px rgba(20, 15, 5, 0.18);
  transform: translateY(-4px);
}
.product-card .price,
.product-price {
  color: #1a1a1a !important;
  font-weight: 900;
}
.product-card .price-old,
.product-price-old { color: #96897a !important; }

.badge, .product-badge {
  background: linear-gradient(135deg, #c9a961, #8f7a3d) !important;
  color: #0d0d0d !important;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.badge-new {
  background: linear-gradient(135deg, #1a1a1a, #262626) !important;
  color: #d4b87a !important;
}

/* Icons inside why-cards */
.why-card .icon,
.why-card i {
  background: linear-gradient(135deg, #d4b87a, #c9a961) !important;
  color: #0d0d0d !important;
  border: 1px solid #8f7a3d;
}

/* ====== Category chips ====== */
.category-chip,
.cat-chip {
  background: #fff !important;
  color: #1a1a1a !important;
  border: 1px solid rgba(201, 169, 97, 0.35) !important;
}
.category-chip.active,
.cat-chip.active,
.category-chip:hover,
.cat-chip:hover {
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d) !important;
  color: #d4b87a !important;
  border-color: #c9a961 !important;
}

/* ====== CTA Banner ====== */
.cta-banner,
.cta-section {
  background:
    linear-gradient(135deg, rgba(13,13,13,0.92) 0%, rgba(26,26,26,0.92) 100%),
    url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?w=1600&q=80') center/cover !important;
  color: #f2e6d0 !important;
  border: 1px solid #c9a961;
}
.cta-banner h2,
.cta-banner p { color: #f2e6d0 !important; }
.cta-banner .grad {
  background: linear-gradient(135deg, #d4b87a, #c9a961) !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ====== Footer ====== */
.site-footer,
footer.site-footer {
  background: linear-gradient(180deg, #0d0d0d 0%, #000000 100%) !important;
  color: #d4b87a !important;
  border-top: 2px solid #c9a961;
}
.site-footer h3,
.site-footer h4 { color: #d4b87a !important; }
.site-footer a { color: #f2e6d0 !important; }
.site-footer a:hover { color: #c9a961 !important; }
.site-footer .social-link {
  background: rgba(201, 169, 97, 0.10) !important;
  border: 1px solid #c9a961 !important;
  color: #d4b87a !important;
}
.site-footer .social-link:hover {
  background: linear-gradient(135deg, #d4b87a, #c9a961) !important;
  color: #0d0d0d !important;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  color: #8f7a3d !important;
}

/* ====== Modals ====== */
.modal-content,
.modal-inner {
  background: #fff !important;
  border: 1px solid rgba(201, 169, 97, 0.35) !important;
  box-shadow: 0 30px 90px rgba(20, 15, 5, 0.35);
}
.modal-header {
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
  color: #0d0d0d;
}
.modal-close {
  background: #f8f2e8 !important;
  color: #1a1a1a !important;
  border: 1px solid rgba(201, 169, 97, 0.42) !important;
}
.modal-close:hover {
  background: #1a1a1a !important;
  color: #d4b87a !important;
}

/* ====== Inputs ====== */
input, select, textarea {
  border: 1.5px solid rgba(201, 169, 97, 0.35) !important;
  background: #fff !important;
  color: #1a1a1a !important;
  transition: all 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: #c9a961 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.22) !important;
}

/* ====== WhatsApp Float ====== */
.whatsapp-float, #whatsappFloat {
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.42), 0 0 0 3px rgba(201, 169, 97, 0.28) !important;
}

/* ====== Testimonials ====== */
.testimonial-card {
  background: linear-gradient(160deg, #fff 0%, #f8f2e8 100%) !important;
  border: 1px solid rgba(201, 169, 97, 0.28) !important;
  border-top: 3px solid #c9a961 !important;
}
.testimonial-card .stars i,
.rating i { color: #c9a961 !important; }

/* ====== Announce dot / scroll pill ====== */
.scroll-top,
.back-to-top {
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d) !important;
  color: #d4b87a !important;
  border: 1px solid #c9a961 !important;
}

/* ====== Selection ====== */
::selection {
  background: #c9a961;
  color: #0d0d0d;
}

/* ====== Scrollbar ====== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f8f2e8; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c9a961, #8f7a3d);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d4b87a, #c9a961);
}

/* ====== Admin sidebar overrides ====== */
.sidebar,
.admin-sidebar {
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%) !important;
  color: #d4b87a !important;
  border-right: 1px solid rgba(201, 169, 97, 0.28);
}
.sidebar-brand,
.admin-sidebar .brand {
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
}
.sidebar-brand strong,
.admin-sidebar .brand strong { color: #d4b87a !important; }
.sidebar-brand span,
.admin-sidebar .brand span { color: #8f7a3d !important; }
.sidebar-link,
.admin-sidebar .nav-link {
  color: #d4b87a !important;
  border-radius: 10px;
  transition: all 0.2s;
}
.sidebar-link:hover,
.admin-sidebar .nav-link:hover,
.sidebar-link.active,
.admin-sidebar .nav-link.active {
  background: linear-gradient(135deg, rgba(201,169,97,0.18), rgba(201,169,97,0.08)) !important;
  color: #f2e6d0 !important;
  border-right: 3px solid #c9a961;
}
.sidebar-link i,
.admin-sidebar .nav-link i {
  color: #c9a961 !important;
}
.sidebar-section-label {
  color: #8f7a3d !important;
  letter-spacing: 1.5px;
  font-weight: 700;
}

/* Admin top bar */
.admin-topbar,
.admin-header {
  background: #fff !important;
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
  color: #1a1a1a !important;
}

/* Admin stat cards */
.stat-card {
  background: linear-gradient(160deg, #fff 0%, #f8f2e8 100%) !important;
  border: 1px solid rgba(201, 169, 97, 0.25) !important;
  border-top: 3px solid #c9a961 !important;
  border-radius: 16px !important;
}
.stat-card .stat-value { color: #0d0d0d !important; font-weight: 900; }
.stat-card .stat-label { color: #8f7a3d !important; letter-spacing: 0.8px; }
.stat-card .stat-icon {
  background: linear-gradient(135deg, #d4b87a, #c9a961) !important;
  color: #0d0d0d !important;
}

/* Login page */
.login-card {
  background: #fff !important;
  border: 1px solid rgba(201, 169, 97, 0.42) !important;
  border-top: 4px solid #c9a961 !important;
  box-shadow: 0 30px 80px rgba(20, 15, 5, 0.28);
}
.login-icon {
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d) !important;
  color: #d4b87a !important;
  border: 2px solid #c9a961 !important;
}

/* ====== Announce marquee gold accent ====== */
@keyframes rody-shine {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.rody-shine {
  background: linear-gradient(90deg, #c9a961 0%, #f2e6d0 50%, #c9a961 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rody-shine 3.5s linear infinite;
}
