/* ============================================
   JERMAN HONEY | RAED THEME
   Professional CSS V2
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #B5863A;
  --primary-dark: #946B2D;
  --text-color: #3B2F2F;
  --muted-color: #76685B;
  --background-color: #FFFFFF;
  --cream-color: #F8F1E6;
  --border-color: #EEE3D2;
  --font-family: 'Tajawal', Arial, sans-serif;
}

/* ========== GENERAL ========== */

body {
  background-color: var(--background-color);
  font-family: var(--font-family);
  color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--text-color);
  font-weight: 700;
}

/* ========== HEADER AND LOGO ========== */

/* مساحة الشعار */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
}

/* إلغاء التكبير القديم المبالغ فيه */
.navbar-brand img {
  transform: none !important;
  transform-origin: center;
  margin-inline-end: 0 !important;

  display: block;
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 90px;
  object-fit: contain;
}

/* روابط التنقل */
.main-nav-container a {
  transition: color .2s ease;
}

.main-nav-container a:hover {
  color: var(--primary-color);
}

/* ========== SECTION TITLES ========== */

.s-slider-block__title h2,
.s-slider-block__title-right h2 {
  position: relative;
  padding-inline-start: 14px;
  font-weight: 800;
  color: var(--text-color);
}

.s-slider-block__title h2::before,
.s-slider-block__title-right h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 15%;
  width: 4px;
  height: 70%;
  border-radius: 4px;
  background: var(--primary-color);
}

/* ========== PRODUCT CARDS ========== */

.s-product-card-entry {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(59,47,47,.05);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

@media (hover: hover) {
  .s-product-card-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(59,47,47,.10);
  }
}

/* صور المنتجات */
.s-product-card-image img {
  object-fit: contain;
}

/* أسماء المنتجات */
.s-product-card-content-title a {
  color: var(--text-color);
  font-weight: 700;
  line-height: 1.6;
}

/* الأسعار */
.s-product-card-price,
.total-price {
  color: var(--primary-dark);
  font-weight: 800;
}

/* ========== ADD TO CART BUTTONS ========== */

.s-button-primary-outline {
  border: 1px solid var(--primary-color) !important;
  color: var(--primary-dark) !important;
  background: #fff;
  border-radius: 10px !important;
  font-weight: 700;
}

@media (hover: hover) {
  .s-button-primary-outline:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
  }
}

/* ========== SEARCH ========== */

.s-search-input {
  border-radius: 24px;
  color: var(--text-color);
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.s-search-input:focus {
  border-color: var(--primary-color);
}

/* ========== ACCESSIBILITY ========== */

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

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

@media (max-width: 767px) {

  /* الشعار على الجوال */
  .navbar-brand img {
    transform: none !important;
    margin-inline-end: 0 !important;
    max-width: 140px;
    max-height: 65px;
  }

  /* بطاقات المنتجات */
  .s-product-card-entry {
    border-radius: 13px;
  }

  /* عناوين المنتجات */
  .s-product-card-content-title a {
    font-size: 14px;
    line-height: 1.5;
  }

  /* الأسعار */
  .s-product-card-price {
    font-size: 16px;
  }

  /* أزرار المنتجات */
  .s-product-card-entry
  .s-button-primary-outline {
    min-height: 42px;
    font-size: 13px;
  }
}

/* ========== SMALL MOBILE ========== */

@media (max-width: 380px) {

  .navbar-brand img {
    max-width: 120px;
    max-height: 58px;
  }

  .s-product-card-content-title a {
    font-size: 13px;
  }
}

/* ========== REDUCED MOTION ========== */

@media (prefers-reduced-motion: reduce) {
  .s-product-card-entry,
  .main-nav-container a {
    transition: none !important;
  }

  .s-product-card-entry:hover {
    transform: none !important;
  }
}

/* END — JERMAN HONEY RAED V2 */