/* =============================================
   Shoots Pharmaceuticals - Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&family=Cairo:wght@300;400;600;700&display=swap');

:root {
  --primary: #4CAF50;
  --secondary: #2E7D32;
  --accent: #8BC34A;
  --light-green: #E8F5E9;
  --text-dark: #1a1a2e;
  --text-mid: #4a4a6a;
  --text-light: #888;
  --white: #ffffff;
  --off-white: #f8faf8;
  --border: #e0ece0;
  --shadow: 0 4px 24px rgba(46, 125, 50, 0.10);
  --shadow-hover: 0 12px 40px rgba(46, 125, 50, 0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

body.rtl {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  text-align: right;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4 {
  font-family: 'Cairo', sans-serif;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar-brand img {
  height: 56px;
  transition: var(--transition);
}

.navbar-brand img:hover { transform: scale(1.04); }

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.rtl .navbar-nav .nav-link::after { left: auto; right: 1rem; }

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: calc(100% - 2rem); }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary) !important; }

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--light-green);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 4px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(76,175,80,0.3);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0faf0 0%, #e8f5e9 40%, #f5fff5 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,195,74,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(76,175,80,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--accent);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero h1 span { color: var(--primary); }

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
}

.hero-image-wrap img {
  border-radius: 32px;
  box-shadow: var(--shadow-hover);
  animation: float 7s ease-in-out infinite;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(76,175,80,0.3);
  letter-spacing: 0.02em;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(76,175,80,0.4);
  color: var(--white);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   SECTION STYLES
   ============================================= */
section { padding: 100px 0; }

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--primary);
}

.rtl .section-label { padding-left: 0; padding-right: 28px; }
.rtl .section-label::before { left: auto; right: 0; }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 560px;
  font-weight: 300;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-section { background: var(--off-white); }

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(76,175,80,0.25);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
  height: 100%;
}

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

.product-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--light-green);
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
}

.rtl .product-badge { left: auto; right: 12px; }

.product-card-body {
  padding: 1.5rem;
}

.product-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.product-card-body p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-body .btn-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 18px;
  border: 1.5px solid var(--primary);
  border-radius: 50px;
  transition: var(--transition);
}

.product-card-body .btn-view:hover {
  background: var(--primary);
  color: var(--white);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section { background: var(--white); }

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 30px rgba(76,175,80,0.35);
}

.rtl .about-image-badge { right: auto; left: -20px; }

.about-image-badge .num {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.about-image-badge .lbl {
  font-size: 0.78rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.value-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rtl .value-item { flex-direction: row-reverse; }

.value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--light-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.value-text h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.value-text p {
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 300;
}

/* =============================================
   FEATURES / WHY US
   ============================================= */
.features-section { background: var(--secondary); color: var(--white); }

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(255,255,255,0.22);
  transform: translateY(-4px);
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.88rem;
  opacity: 0.8;
  font-weight: 300;
}

/* =============================================
   FACTORY SECTION
   ============================================= */
.factory-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #1b5e20 100%);
  color: var(--white);
  padding: 120px 0 80px;
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.factory-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.factory-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.factory-card-body {
  padding: 1.25rem;
}

.factory-card-body h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.factory-card-body p { font-size: 0.85rem; color: var(--text-mid); }

/* =============================================
   NEWS / BLOG
   ============================================= */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body { padding: 1.5rem; }

.news-date {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.news-card-body h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.news-card-body p {
  font-size: 0.86rem;
  color: var(--text-mid);
  font-weight: 300;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}

.form-group { margin-bottom: 1.25rem; }

.form-control-custom {
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-control-custom:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.12);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.contact-info-card {
  background: var(--light-green);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1.5px solid var(--border);
  margin-bottom: 1.25rem;
}

.contact-info-card .icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-info-card h5 {
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0d1f0e;
  color: rgba(255,255,255,0.8);
  padding: 70px 0 30px;
}

.footer-brand img { height: 48px; filter: brightness(0) invert(1); margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.88rem;
  opacity: 0.65;
  font-weight: 300;
  max-width: 280px;
}

.footer h5 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.rtl .footer-links a:hover { padding-left: 0; padding-right: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.5;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.25rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, #e8f5e9, #f0faf0);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(76,175,80,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); }

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-top: 0.75rem;
}

.breadcrumb-custom a { color: var(--primary); font-weight: 500; }
.breadcrumb-custom a:hover { text-decoration: underline; }

/* =============================================
   PRODUCT DETAIL
   ============================================= */
.product-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--light-green);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info .category-tag {
  display: inline-block;
  background: var(--light-green);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  border: 1px solid var(--accent);
}

.product-detail-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.product-detail-info .description {
  font-size: 0.98rem;
  color: var(--text-mid);
  font-weight: 300;
  margin-bottom: 2rem;
}

.info-tab {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-tab-header {
  display: flex;
  border-bottom: 1.5px solid var(--border);
}

.info-tab-btn {
  flex: 1;
  padding: 14px;
  background: var(--off-white);
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.info-tab-btn.active {
  background: var(--white);
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.info-tab-content {
  padding: 1.5rem;
  display: none;
}

.info-tab-content.active { display: block; }

.ingredients-list {
  list-style: none;
  padding: 0;
}

.ingredients-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ingredients-list li:last-child { border-bottom: none; }

.ingredients-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

/* =============================================
   R&D PAGE
   ============================================= */
.rd-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1.5px solid var(--border);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.rd-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.rd-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.rd-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.rd-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 300;
}

/* =============================================
   ADMIN STYLES
   ============================================= */
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: #0d1f0e;
  color: var(--white);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  padding: 0;
  transition: var(--transition);
}

.admin-sidebar-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar-brand img { height: 40px; filter: brightness(0) invert(1); }

.admin-nav { padding: 1rem 0; }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 1.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.admin-nav-item:hover, .admin-nav-item.active {
  color: var(--white);
  background: rgba(76,175,80,0.15);
  border-right: 3px solid var(--primary);
}

.admin-nav-item .nav-icon { font-size: 1.1rem; }

.admin-content {
  margin-left: 260px;
  min-height: 100vh;
  background: #f4f7f4;
}

.admin-topbar {
  background: var(--white);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.admin-topbar h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.admin-body { padding: 2rem; }

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
}

.admin-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-card-header h5 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.admin-card-body { padding: 1.5rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.stat-card-icon.green { background: var(--light-green); }
.stat-card-icon.blue { background: #e3f2fd; }
.stat-card-icon.orange { background: #fff3e0; }

.stat-card-info .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.stat-card-info .lbl {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--off-white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--border);
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--off-white); }
.admin-table img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; }

.badge-category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-skin { background: #e8f5e9; color: #2e7d32; }
.badge-hair { background: #e3f2fd; color: #1565c0; }
.badge-body { background: #fff3e0; color: #e65100; }

.btn-action {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-edit { background: #e3f2fd; color: #1565c0; }
.btn-edit:hover { background: #1565c0; color: white; }
.btn-delete { background: #ffebee; color: #c62828; }
.btn-delete:hover { background: #c62828; color: white; }

/* Admin form */
.admin-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.admin-form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.admin-form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.12);
}

.image-preview-wrap {
  width: 100%;
  height: 180px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--off-white);
}

.image-preview-wrap:hover { border-color: var(--primary); background: var(--light-green); }

.image-preview-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 2px); }

/* Login page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f5e9, #f0faf0);
}

.login-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-hover);
  border: 1.5px solid var(--border);
}

.login-card img { height: 60px; margin-bottom: 2rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
  section { padding: 70px 0; }
  .hero { min-height: 70vh; }
  .hero-stats { flex-wrap: wrap; gap: 1.2rem; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-content { margin-left: 0; }
}

@media (max-width: 767px) {
  section { padding: 55px 0; }
  .about-image-badge { position: relative; bottom: auto; right: auto; margin-top: 1rem; display: inline-block; }
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* Placeholder product image */
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  background: var(--light-green);
}

.product-placeholder .leaf-icon { font-size: 3rem; }
.product-placeholder span { font-size: 0.8rem; color: var(--text-light); }

/* Alert messages */
.alert-success-custom {
  background: #e8f5e9;
  border: 1px solid var(--primary);
  color: var(--secondary);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-error-custom {
  background: #ffebee;
  border: 1px solid #ef9a9a;
  color: #c62828;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
