/* ======================================================
   TOP CARE – FULL BRAND CSS
   Lavender × Beige × Clean Medical Look
====================================================== */

/* ===============================
   1) BRAND VARIABLES
================================ */
:root {
  /* Brand Colors */
  --tc-lavender: #7A5C9E;
  --tc-soft-lavender: #EEE6F5;
  --tc-beige: #F5EFE6;
  --tc-rose: #D6A6C1;
  --tc-green: #6BAE9D;

  /* Text */
  --tc-text-main: #222222;
  --tc-text-soft: #6B6B6B;

  /* UI */
  --tc-border-soft: rgba(122, 92, 158, 0.15);
  --tc-shadow-soft: 0 12px 32px rgba(122, 92, 158, 0.15);
  --tc-radius: 14px;
}

/* ===============================
   2) GLOBAL RESET
================================ */
body {
  color: var(--tc-text-main);
  background-color: #ffffff;
}

a {
  transition: all 0.25s ease;
}

/* ===============================
   3) HEADER & NAVBAR
================================ */
.store-header,
.zina-top-navbar,
.zina-main-nav-container {
  background: linear-gradient(
    180deg,
    var(--tc-beige),
    var(--tc-soft-lavender)
  ) !important;
  border-bottom: 1px solid var(--tc-border-soft);
}

.store-header a,
.zina-main-nav-container a {
  color: var(--tc-text-main) !important;
}

/* ===============================
   4) HERO / VIDEO SECTION
================================ */
.zina-video {
  border-radius: var(--tc-radius);
  overflow: hidden;
  box-shadow: var(--tc-shadow-soft);
  position: relative;
}

.zina-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(122, 92, 158, 0.35),
    rgba(245, 239, 230, 0.25)
  );
  pointer-events: none;
}

/* ===============================
   5) CATEGORY CARDS
================================ */
.zina-categories-category,
.zina-categories-category .bg-cover {
  border-radius: var(--tc-radius);
  overflow: hidden;
}

.zina-categories-category .bg-cover {
  background-color: var(--tc-soft-lavender);
  box-shadow: var(--tc-shadow-soft);
  transition: all 0.35s ease;
}

.zina-categories-category:hover .bg-cover {
  transform: translateY(-6px) scale(1.03);
}

/* ===============================
   6) PRODUCT CARDS
================================ */
.s-product-card-entry {
  background: #ffffff;
  border-radius: var(--tc-radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.s-product-card-entry:hover {
  transform: translateY(-6px);
  box-shadow: var(--tc-shadow-soft);
}

.s-product-card-entry .s-product-card-content h3 {
  color: var(--tc-text-main);
}

/* ===============================
   7) PRICE STYLING
================================ */
.s-product-card-entry .price,
.s-product-card-entry .s-price {
  color: var(--tc-lavender);
  font-weight: 700;
}

/* ===============================
   8) ADD TO CART BUTTON
================================ */
.s-button-primary,
.s-button-primary-outline {
  border-radius: 999px;
  transition: all 0.3s ease;
}

.s-button-primary {
  background-color: var(--tc-lavender) !important;
  border-color: var(--tc-lavender) !important;
  color: #ffffff !important;
}

.s-button-primary:hover {
  background-color: #6a4b8c !important;
}

.s-button-primary-outline {
  border-color: var(--tc-lavender) !important;
  color: var(--tc-lavender) !important;
}

.s-button-primary-outline:hover {
  background-color: var(--tc-lavender) !important;
  color: #ffffff !important;
}

/* ===============================
   9) BADGES (SALE / NEW)
================================ */
.s-badge,
.badge {
  background-color: var(--tc-rose);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

/* ===============================
   10) TRUST / INFO SECTIONS
================================ */
.zina-features,
.zina-trust,
.store-features {
  background-color: var(--tc-beige);
  border-radius: var(--tc-radius);
}

/* ===============================
   11) REVIEWS / TESTIMONIALS
================================ */
.zina-reviews {
  background: linear-gradient(
    180deg,
    var(--tc-lavender),
    #6b4c8f
  ) !important;
  color: #ffffff;
}

.zina-reviews * {
  color: #ffffff !important;
}

/* ===============================
   12) BLOG & CONTENT
================================ */
.store-article,
.blog-post {
  background: #ffffff;
}

.store-article h1,
.store-article h2,
.store-article h3 {
  color: var(--tc-lavender);
}

/* ======================================================
   TOP CARE – FOOTER (MEDICAL + ANIMATED) FINAL
====================================================== */

:root {
  --tc-lavender: #7A5C9E;
  --tc-soft-lavender: #EEE6F5;
  --tc-beige: #F5EFE6;

  --tc-text-main: #333333;
  --tc-text-soft: #6B6B6B;

  --tc-border-soft: rgba(122,92,158,0.15);
  --tc-shadow-soft: 0 12px 32px rgba(122,92,158,0.18);

  /* 🔁 ضع رابط اللوجو هنا */
  --tc-logo-url: url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/YgVYYm/stores/logos/0iz64uOEu1xml6RkakFvtO6VwaK0smVRSsl0D7aS.png");
}

/* ======================================================
   FOOTER WRAPPER + SCROLL REVEAL
====================================================== */

.zina-store-footer.store-footer {
  position: relative;
  background: linear-gradient(180deg, var(--tc-soft-lavender), var(--tc-beige));
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  padding-top: 190px;
  box-shadow: 0 -14px 34px rgba(122,92,158,0.15);
  overflow: hidden;

  /* Scroll Animation (Reveal) */
  opacity: 0;
  transform: translateY(40px);
  animation: tcFooterReveal 1s ease-out forwards;
  animation-delay: 0.15s;
}

/* Reveal Keyframes */
@keyframes tcFooterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .zina-store-footer.store-footer {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ======================================================
   CENTER LOGO (IMAGE / SVG) + SOFT GLOW
====================================================== */

.zina-store-footer.store-footer::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 85px;
  background-image: var(--tc-logo-url);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: #ffffff;
  border-radius: 22px;
  padding: 16px 28px;
  box-shadow:
    0 0 0 rgba(122,92,158,0.25),
    0 14px 34px rgba(122,92,158,0.28);
  animation: tcLogoGlow 4s ease-in-out infinite;
}

/* Glow Motion (Medical Soft) */
@keyframes tcLogoGlow {
  0% {
    box-shadow:
      0 0 0 rgba(122,92,158,0.22),
      0 14px 34px rgba(122,92,158,0.28);
  }
  50% {
    box-shadow:
      0 0 22px rgba(122,92,158,0.40),
      0 18px 42px rgba(122,92,158,0.36);
  }
  100% {
    box-shadow:
      0 0 0 rgba(122,92,158,0.22),
      0 14px 34px rgba(122,92,158,0.28);
  }
}

/* إخفاء اللوجو النصي القديم */
.zina-store-footer a h3 {
  display: none !important;
}

/* ======================================================
   TRUST STRIP (NO EMOJIS – MEDICAL STYLE)
====================================================== */

.zina-store-footer.store-footer::after {
  content: "شحن سريع داخل السعودية • دفع آمن ومشفر • منتجات أصلية مضمونة";
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
  color: #555555;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  white-space: nowrap;

  /* Subtle motion on load */
  opacity: 0;
  animation: tcTrustFade 0.8s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes tcTrustFade {
  to { opacity: 1; }
}

/* ======================================================
   FOOTER CONTENT
====================================================== */

.zina-store-footer h3 {
  color: var(--tc-lavender);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
}

.zina-store-footer p {
  color: var(--tc-text-soft);
  font-size: 14px;
  line-height: 1.9;
}

/* Links */
.s-menu-footer-item {
  color: var(--tc-text-main) !important;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  transition: color 0.25s ease, transform 0.25s ease;
}

.s-menu-footer-item:hover {
  color: var(--tc-lavender) !important;
  transform: translateX(-4px);
}

/* ======================================================
   SOCIAL ICONS
====================================================== */

.s-social-link a {
  background: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.s-social-link svg {
  fill: var(--tc-lavender);
  width: 20px;
  height: 20px;
}

.s-social-link a:hover {
  background: var(--tc-lavender);
  transform: translateY(-4px);
}

.s-social-link a:hover svg {
  fill: #ffffff;
}

/* ======================================================
   CONTACT ITEMS
====================================================== */

.s-contacts-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.s-contacts-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--tc-shadow-soft);
}

.s-contacts-icon svg {
  fill: var(--tc-lavender);
}

.s-contacts-item span.unicode {
  font-weight: 600;
  color: #333333;
}

/* ======================================================
   PAYMENTS
====================================================== */

.s-payments-list-item img {
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.25s ease;
}

.s-payments-list-item img:hover {
  filter: none;
  opacity: 1;
}

/* ======================================================
   MOBILE OPTIMIZATION
====================================================== */

@media (max-width: 768px) {
  .zina-store-footer.store-footer {
    padding-top: 210px;
    border-radius: 24px 24px 0 0;
  }

  .zina-store-footer.store-footer::before {
    width: 140px;
    height: 60px;
    top: 22px;
  }

  .zina-store-footer.store-footer::after {
    top: 110px;
    font-size: 12px;
    padding: 10px 20px;
  }

  .s-menu-footer-item:hover {
    transform: none;
  }
}

/* ======================================================
   TOP CARE – FOOTER COPYRIGHT & PAYMENTS
====================================================== */

/* Wrapper */
.zina-footer-copyright {
  background: linear-gradient(
    180deg,
    rgba(238,230,245,0.6),
    rgba(245,239,230,0.9)
  );
  border-top: 1px solid rgba(122,92,158,0.15);
  padding-top: 6px;
}

/* Inner container */
.zina-footer-copyright .container {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Copyright text */
.zina-footer-copyright .copyright-text p {
  color: #6B6B6B;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Brand name inside copyright */
.zina-footer-copyright .copyright-text a {
  color: #7A5C9E;
  font-weight: 800;
  transition: color 0.25s ease;
}

.zina-footer-copyright .copyright-text a:hover {
  color: #5f4680;
}

/* Payments list wrapper */
.s-payments-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Payment icons */
.s-payments-list-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

.s-payments-list-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.25s ease;
}

/* Hover effect */
.s-payments-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(122,92,158,0.22);
}

.s-payments-list-item:hover img {
  filter: none;
  opacity: 1;
}

/* SBC badge special handling */
.s-payments-sbc-image {
  filter: none !important;
  opacity: 1 !important;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .zina-footer-copyright .container {
    gap: 12px;
  }

  .s-payments-list-item {
    padding: 5px;
  }

  .s-payments-list-item img {
    width: 34px;
    height: 34px;
  }
}

/* ======================================================
   TOP CARE – MOBILE-FIRST GLASS SLIDER (FINAL)
====================================================== */

:root {
  --tc-lavender: #7A5C9E;
  --tc-soft-lavender: #EEE6F5;
  --tc-beige: #F5EFE6;

  --tc-glass-bg: rgba(255,255,255,0.45);
  --tc-glass-border: rgba(255,255,255,0.35);
  --tc-glass-shadow: 0 18px 40px rgba(122,92,158,0.22);
  --tc-glass-shadow-hover: 0 30px 60px rgba(122,92,158,0.32);
}

/* =========================
   SECTION BASE
========================= */

.s-block--photos-slider {
  padding: 40px 0;
  position: relative;
}

/* =========================
   SECTION TITLE (CSS ONLY)
========================= */

.s-block--photos-slider::before {
  content: "معرض صور توب كير";
  display: block;
  text-align: center;
  margin-bottom: 26px;
  font-size: 22px;
  font-weight: 900;
  color: var(--tc-lavender);
  letter-spacing: 0.5px;
}

/* =========================
   SLIDER CONTAINER
========================= */

.s-block--photos-slider .photos-slider {
  padding: 20px 0;
}

/* =========================
   SLIDE – MOBILE CARD LOOK
========================= */

.s-block--photos-slider .swiper-slide {
  max-width: 320px;               /* 👈 Mobile width */
  margin: 0 auto;
  background: var(--tc-glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 26px;
  border: 1px solid var(--tc-glass-border);
  box-shadow: var(--tc-glass-shadow);
  overflow: hidden;
  transition: transform .45s ease, box-shadow .45s ease;
}

/* Image inside slide */
.s-block--photos-slider .swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;           /* 👈 Mobile ratio */
  object-fit: cover;
  border-radius: 22px;
}

/* Active slide focus */
.s-block--photos-slider .swiper-slide-active {
  transform: scale(1.04);
  box-shadow: var(--tc-glass-shadow-hover);
}

/* Hover (Desktop only) */
@media (hover: hover) {
  .s-block--photos-slider .swiper-slide:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--tc-glass-shadow-hover);
  }
}

/* =========================
   PAGINATION
========================= */

.s-block--photos-slider .swiper-pagination-bullet {
  background: rgba(122,92,158,.35);
  opacity: 1;
}

.s-block--photos-slider .swiper-pagination-bullet-active {
  background: var(--tc-lavender);
  width: 22px;
  border-radius: 999px;
}

/* =========================
   NAVIGATION ARROWS
========================= */

.s-block--photos-slider .s-slider-nav-arrow {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.s-block--photos-slider .s-slider-nav-arrow svg {
  fill: var(--tc-lavender);
}

/* =========================
   DESKTOP – KEEP MOBILE LOOK
========================= */

@media (min-width: 1024px) {
  .s-block--photos-slider {
    padding: 60px 0;
  }

  .s-block--photos-slider .swiper-slide {
    max-width: 340px; /* ما يكبرش قوي */
  }
}

/* Hide blog tags section (Blog Index only) */
.post-entry > div.border-t {
  display: none !important;
}
/* Blog cards general style */
.post-entry {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}

/* Hover effect */
@media (hover: hover) {
  .post-entry:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.12);
  }
}

/* Content spacing */
.post-entry .flex-1 {
  padding-bottom: 24px;
}

/* Blog cover image container */
.post-entry__image {
  height: 240px;
  background: #f5f6f7;
}

/* Image full visible */
.post-entry__image img {
  object-fit: contain !important;
  padding: 12px;
  background: #ffffff;
}

@media (max-width: 768px) {
  .post-entry__image {
    height: 200px;
  }
}

/* Blog title */
.post-entry__title a {
  font-size: 15px;
  line-height: 1.7;
  color: #1f2937;
}

/* Description */
.post-entry p {
  font-size: 14px;
  line-height: 1.8;
  color: #6b7280;
}
@media (max-width: 768px) {
  .s-infinite-scroll-container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ===============================
   PRODUCT PAGE UI IMPROVEMENTS
   Store: Top Care
   Scope: Product Single Page
=============================== */

/* ---------- Layout Fix ---------- */
#product-555778652 {
  gap: 24px;
}

/* Desktop */
@media (min-width: 768px) {
  #product-555778652 {
    align-items: flex-start;
  }
}

/* ---------- Image Slider ---------- */
.details-slider {
  background: #f9fafb;
  border-radius: 14px;
  padding: 12px;
}

.details-slider img {
  object-fit: contain !important;
  max-height: 520px;
}

/* Remove extra arrows clutter */
.details-slider .s-slider-prev,
.details-slider .s-slider-next {
  display: none !important;
}

/* Wishlist icon on image */
.details-slider .btn--wishlist {
  top: 14px;
  right: 14px;
  z-index: 10;
}

/* ---------- Product Info ---------- */
.zina-main-content {
  padding: 0 !important;
}

.product-brand img {
  max-height: 48px;
}

/* Product Title */
.zina-main-content h1 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  color: #1f2937;
}

/* ---------- Price Styling ---------- */
.price-wrapper h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.price-wrapper .line-through {
  font-size: 14px;
  opacity: 0.5;
}

/* ---------- Tamara Widget ---------- */
tamara-widget {
  margin-top: 12px;
}

/* ---------- Quantity ---------- */
.s-quantity-input {
  border-radius: 10px;
  overflow: hidden;
}

.s-quantity-input-button {
  background: #f3f4f6;
}

/* ---------- Add to Cart ---------- */
.s-add-product-button-with-sticky-bar {
  margin-top: 12px;
}

.s-add-product-button-with-sticky-bar button {
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px !important;
}

/* ---------- Sticky Buy Bar (Mobile) ---------- */
@media (max-width: 767px) {
  .sticky-product-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 12px 16px;
    z-index: 50;
  }

  .zina-main-content {
    padding-bottom: 110px !important;
  }
}

/* ---------- Social Share Cleanup ---------- */
.s-social-share-list {
  border-radius: 12px;
}

/* ---------- Quick Order Section ---------- */
.s-quick-order-container {
  border-radius: 16px !important;
  margin-top: 24px;
}

.s-quick-order-button-cont h3 {
  font-size: 18px;
  font-weight: 600;
}

.s-quick-order-button-cont p {
  font-size: 14px;
  opacity: 0.8;
}

/* ---------- Remove Visual Noise ---------- */
.salla-hook,
.swiper-notification {
  display: none !important;
}

/* ---------- Mobile Optimization ---------- */
@media (max-width: 480px) {
  .zina-main-content h1 {
    font-size: 18px;
  }

  .price-wrapper h2 {
    font-size: 22px;
  }

  .details-slider img {
    max-height: 360px;
  }
}

/* ======================================================
   TOP CARE – QUICK ORDER (MEDICAL PREMIUM)
====================================================== */

:root {
  --tc-lavender: #7A5C9E;
  --tc-soft-lavender: #EEE6F5;
  --tc-beige: #F5EFE6;
  --tc-dark: #1f2937;
}

/* =========================
   MAIN CONTAINER
========================= */

.s-quick-order-container {
  background: linear-gradient(135deg, var(--tc-soft-lavender), var(--tc-beige)) !important;
  border-radius: 20px;
  padding: 20px !important;
  box-shadow: 0 16px 40px rgba(122,92,158,0.18);
  border: 1px solid rgba(122,92,158,0.15);
}

/* =========================
   HEADER TEXT
========================= */

.s-quick-order-button-cont h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--tc-lavender);
  margin-bottom: 6px;
}

.s-quick-order-button-cont p {
  font-size: 14px;
  color: #4b5563;
}

/* =========================
   CTA BUTTON (TOP)
========================= */

.s-quick-order-button-cont .s-button-btn {
  background: var(--tc-lavender) !important;
  color: #ffffff !important;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(122,92,158,0.35);
  transition: transform .3s ease, box-shadow .3s ease;
}

@media (hover: hover) {
  .s-quick-order-button-cont .s-button-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(122,92,158,0.45);
  }
}

/* =========================
   FORM WRAPPER
========================= */

.s-quick-order-expandable {
  margin-top: 18px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

/* =========================
   INPUT GROUP
========================= */

.s-quick-order-expandable .s-form-group {
  background: #f9fafb;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
}

/* Icons */
.s-quick-order-expandable svg {
  fill: var(--tc-lavender);
  opacity: 0.8;
}

/* Inputs */
.s-quick-order-expandable input {
  border: none !important;
  background: transparent !important;
  font-size: 14px;
  color: var(--tc-dark);
}

.s-quick-order-expandable input::placeholder {
  color: #9ca3af;
}

/* Focus */
.s-quick-order-expandable input:focus {
  outline: none;
}

/* =========================
   PHONE INPUT FIX
========================= */

.s-quick-order-expandable .iti {
  width: 100%;
}

.s-quick-order-expandable .iti__selected-flag {
  border-radius: 10px;
}

/* =========================
   SUBMIT BUTTON
========================= */

.s-quick-order-expandable .s-button-wide {
  margin-top: 12px;
  background: var(--tc-lavender) !important;
  color: #ffffff !important;
  border-radius: 14px;
  padding: 14px !important;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(122,92,158,0.35);
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 768px) {
  .s-quick-order-container {
    padding: 16px !important;
  }

  .s-quick-order-button-cont h3 {
    font-size: 18px;
  }

  .s-quick-order-expandable {
    padding: 14px;
  }
}

/* ===================================================
   TOP CARE – PREMIUM CATEGORIES SLIDER (HOME ONLY)
   =================================================== */

/* ===== Section Title ===== */
.container h2 {
  letter-spacing: 0.6px;
  font-weight: 600;
}

/* ===== Category Card Wrapper ===== */
.zina-categories-category {
  display: flex;
  justify-content: center;
}

/* ===== Card Hover Container ===== */
.zina-categories-category .group {
  transition: transform 0.35s ease;
}

/* ===== Image Container ===== */
.zina-categories-category .w-28 {
  width: 112px;
  height: 140px;
  padding: 6px;
}

/* ===== Image Style ===== */
.zina-categories-category .bg-cover {
  border-radius: 16px;
  position: relative;
  overflow: hidden;

  /* Glass Effect */
  background-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* Medical Border */
  border: 1px solid rgba(200, 200, 200, 0.35);

  /* Shadow */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* ===== Hover Effect ===== */
.zina-categories-category .group:hover .bg-cover {
  transform: scale(1.07);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  border-color: var(--color-primary);
}

/* ===== Active Slide Highlight ===== */
.swiper-slide-active .bg-cover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  transform: scale(1.05);
}

/* ===== Category Name ===== */
.zina-categories-category h4 {
  margin-top: 6px;
  text-align: center;
  line-height: 1.4;
  transition: color 0.3s ease;
}

/* Hover text */
.zina-categories-category .group:hover h4 {
  color: var(--color-primary);
}

/* Active text */
.swiper-slide-active h4 {
  color: var(--color-primary);
  font-weight: 500;
}

/* ===================================================
   Swiper Motion Enhancement (Smooth Drag)
   =================================================== */

.swiper-wrapper {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================
   Responsive – Mobile
   =================================================== */
@media (max-width: 640px) {
  .zina-categories-category .w-28 {
    width: 96px;
    height: 120px;
  }

  .zina-categories-category h4 {
    font-size: 14px;
  }
}

/* ===================================================
   Responsive – Tablet
   =================================================== */
@media (min-width: 641px) and (max-width: 1024px) {
  .zina-categories-category .w-28 {
    width: 104px;
    height: 130px;
  }
}

/* ===================================================
   Responsive – Desktop
   =================================================== */
@media (min-width: 1025px) {
  .zina-categories-category .w-28 {
    width: 120px;
    height: 150px;
  }
}

/* ===================================================
   TOP CARE – TYPOGRAPHY ENHANCEMENT
   =================================================== */

/* ===== Base Font (Arabic Medical Style) ===== */
body,
h1, h2, h3, h4, h5, h6,
button, input, textarea {
  font-family:
    "DIN Next Arabic",
    "Cairo",
    "Tajawal",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* ===================================================
   Section Title (تصفح حسب التصنيفات)
   =================================================== */
.container h2 {
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 1.6;
  color: var(--color-text-theme);
}

/* ===================================================
   Category Titles
   =================================================== */
.zina-categories-category h4 {
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: 1.45;
  color: var(--color-text-theme);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Hover / Active Weight */
.zina-categories-category .group:hover h4,
.swiper-slide-active h4 {
  font-weight: 500;
}

/* ===================================================
   Mobile Optimization (Readability First)
   =================================================== */
@media (max-width: 640px) {
  .container h2 {
    font-size: 20px;
    letter-spacing: 0.4px;
  }

  .zina-categories-category h4 {
    font-size: 14px;
    letter-spacing: 0.3px;
  }
}

/* ===================================================
   Tablet
   =================================================== */
@media (min-width: 641px) and (max-width: 1024px) {
  .container h2 {
    font-size: 24px;
  }

  .zina-categories-category h4 {
    font-size: 16px;
  }
}

/* ===================================================
   Desktop
   =================================================== */
@media (min-width: 1025px) {
  .container h2 {
    font-size: 26px;
  }

  .zina-categories-category h4 {
    font-size: 18px;
  }
}

/* ===================================================
   Optional: Slight Text Glow for Medical Feel
   =================================================== */
.swiper-slide-active h4 {
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.04);
}