/**
 * Raha Theme - Main CSS
 * Developer: Echo | wa.me/201000670867
 */

/* ===== TOP BAR ===== */
.top-bar { background: #0756A8; padding: 8px 0; border-bottom: 1px solid rgba(24,199,216,0.3); }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.top-bar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.top-bar-right span, .top-bar-right a { display: flex; align-items: center; gap: 6px; color: #ddd; font-size: 13px; }
.top-bar-right a:hover { color: var(--accent, #18C7D8); }
.top-bar-right .separator { color: #555; }
.top-bar-right i { color: var(--accent, #18C7D8); }
.top-bar-center { flex: 1; }
.top-bar-left { flex: 0 0 auto; }
.top-bar-left .social-links { display: flex; gap: 8px; }
.top-bar-left .social-links a {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #ddd; font-size: 12px;
  transition: all 0.3s;
}
.top-bar-left .social-links a:hover { background: var(--secondary); color: var(--primary); transform: translateY(-2px); }

/* ===== HEADER ===== */
.header {
  background: white;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}
.header.sticky { box-shadow: 0 4px 30px rgba(7,86,168,0.15); }
.header-content { display: flex; align-items: center; gap: 20px; padding: 12px 0; justify-content: space-between; }
.logo { flex-shrink: 0; line-height: 0; max-width: 220px; }
.logo a { display: block; line-height: 0; }
.logo-img { height: 70px; width: auto; max-width: 220px; max-height: 70px; object-fit: contain; display: block; }
/* WordPress custom_logo via the_custom_logo() */
.logo .wp-block-site-logo,
.logo figure.wp-block-site-logo { margin: 0; padding: 0; display: block; line-height: 0; }
.logo .custom-logo,
.logo .wp-block-site-logo img,
.logo figure.wp-block-site-logo a img {
  height: 70px !important;
  max-height: 70px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain;
  display: block;
}
.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; justify-content: center; }
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  display: flex; align-items: center; gap: 6px;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--accent, #18C7D8); background: rgba(7,86,168,0.04); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 14px; left: 14px;
  height: 2px; background: var(--secondary);
  border-radius: 2px;
  transform: scaleX(0); transition: transform 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  min-width: 200px;
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  border: 1px solid var(--gray-light);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.dropdown li a:hover { background: var(--light); color: var(--accent, #18C7D8); }
.brand-logo-nav { height: 28px; width: auto; object-fit: contain; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-whatsapp-header {
  background: #25D366;
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  white-space: nowrap;
}
.btn-whatsapp-header i { font-size: 18px; }
.btn-whatsapp-header:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); color: white; }

.btn-quiz-header {
  background: var(--accent, #18C7D8);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(24,199,216,0.3);
  white-space: nowrap;
}
.btn-quiz-header i { font-size: 16px; }
.btn-quiz-header:hover { background: #14b0c0; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(24,199,216,0.4); color: #fff !important; }
.cart-icon { position: relative; color: var(--primary); font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.cart-count {
  position: absolute; top: -8px; left: -8px;
  background: var(--secondary); color: var(--primary);
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 1002; }
.hamburger { display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 24px; height: 18px; position: relative; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform 0.3s, opacity 0.2s, top 0.3s, bottom 0.3s; position: relative; }
.mobile-menu-btn.is-active .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-active .hamburger span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-active .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: #fff;
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  visibility: hidden;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-inner { padding: 24px 20px 30px; }
.mobile-menu-logo {
  text-align: center;
  padding: 0 0 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gray-light);
}
.mobile-menu-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.mobile-menu-close {
  position: absolute;
  top: 16px; left: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}
.mobile-menu-close:hover { background: var(--secondary); color: #fff; transform: rotate(90deg); }
.mobile-nav-list { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-list li a, .mobile-dropdown-toggle {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
}
.mobile-nav-list li a:hover, .mobile-dropdown-toggle:hover { background: rgba(7,86,168,0.04); color: var(--accent, #18C7D8); }
.mobile-nav-list li a i, .mobile-dropdown-toggle i:first-child {
  color: var(--accent, #18C7D8);
  width: 22px;
  text-align: center;
  font-size: 16px;
}
.mobile-nav-brand-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}
.mobile-dropdown { max-height: 0; overflow: hidden; padding-right: 20px; transition: max-height 0.3s ease; }
.mobile-dropdown.open { max-height: 500px; }
.mobile-dropdown li a { font-size: 14px; padding: 10px 14px; color: var(--text); }
.mobile-dropdown li a i { font-size: 6px; color: var(--accent, #18C7D8); }
.toggle-icon { margin-right: auto; transition: transform 0.3s; font-size: 12px !important; color: var(--gray) !important; }
.toggle-icon.fa-chevron-up { transform: rotate(180deg); }

.mobile-menu-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
}
.mobile-social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  background: var(--light);
  border: 1.5px solid var(--gray-light);
  transition: all 0.25s ease;
}
.mobile-social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.mobile-social-icon.whatsapp { color: #25D366; border-color: rgba(37,211,102,0.3); background: rgba(37,211,102,0.08); }
.mobile-social-icon.whatsapp:hover { background: #25D366; color: #fff; }
.mobile-social-icon.facebook { color: #1877F2; border-color: rgba(24,119,242,0.3); background: rgba(24,119,242,0.06); }
.mobile-social-icon.facebook:hover { background: #1877F2; color: #fff; }
.mobile-social-icon.instagram { color: #E4405F; border-color: rgba(228,64,95,0.3); background: rgba(228,64,95,0.06); }
.mobile-social-icon.instagram:hover { background: #E4405F; color: #fff; }
.mobile-social-icon.tiktok { color: #000; border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.04); }
.mobile-social-icon.tiktok:hover { background: #000; color: #fff; }
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
.section-subtitle { color: var(--gray); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #0756A8, #0B7FE8);
}
.slider-track { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slide-overlay { position: absolute; inset: 0; }
.slide-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.slide-text { max-width: 600px; color: white; }
.slide-title {
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.slide-subtitle { font-size: clamp(14px, 2vw, 18px); opacity: 0.9; margin-bottom: 30px; line-height: 1.6; }
.btn-slide-primary {
  background: var(--accent, #18C7D8);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 6px 25px rgba(24,199,216,0.3);
}
.btn-slide-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(24,199,216,0.5); background: #fff !important; color: #0756A8 !important; }

/* Slider controls */
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  z-index: 10;
}
.slider-btn:hover { background: var(--secondary); border-color: var(--accent, #18C7D8); color: var(--primary); }
.slider-btn-prev { right: 20px; }
.slider-btn-next { left: 20px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
  transition: all 0.3s;
}
.dot.active { background: var(--secondary); transform: scale(1.3); }

/* ===== BRANDS ===== */
.brands-section { background: var(--light, #F7FBFF); }
.brand-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.brand-tab {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 130px;
  font-family: inherit;
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.brand-tab:hover { border-color: var(--accent, #18C7D8); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.brand-tab.active { border-color: var(--accent, #18C7D8); background: var(--primary); color: white; }
.brand-tab-logo { height: 40px; width: auto; object-fit: contain; }

.brand-products-panel { display: none; }
.brand-products-panel.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Subcategory tabs */
.subcategory-tabs { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.subcat-tab {
  padding: 8px 20px;
  border-radius: 50px;
  background: white;
  border: 2px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  transition: all 0.3s;
}
.subcat-tab:hover { border-color: var(--accent); }
.subcat-tab.active { background: var(--accent, #18C7D8); color: #fff !important; border-color: var(--accent); }

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(7,86,168,0.12); border-color: rgba(201,168,76,0.3); }

.product-image-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #f8f9fa; }
.product-image-link { display: block; width: 100%; height: 100%; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--gray-light); }

.product-badges { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 4px; }
.badge { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-subcat { background: rgba(7,86,168,0.85); color: white; backdrop-filter: blur(4px); }
.badge-promo { background: var(--secondary); color: #fff; }

.product-info { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-name { font-size: 14px; font-weight: 700; color: var(--primary); line-height: 1.4; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--accent, #18C7D8); }
.product-price { font-size: 16px; font-weight: 800; color: var(--accent, #18C7D8); }

.product-actions { display: flex; gap: 8px; margin-top: auto; }
.btn-size-selector {
  flex: 1;
  background: var(--primary);
  color: white;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 0.3s;
}
.btn-size-selector:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-view-product {
  flex: 1;
  background: transparent;
  color: var(--primary);
  padding: 10px 12px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 0.3s;
  text-align: center;
}
.btn-view-product:hover { background: var(--primary); color: white; }

.view-all-wrap { text-align: center; margin-top: 30px; }
.btn-view-all {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(7,86,168,0.15);
}
.btn-view-all:hover {
  background: var(--secondary);
  border-color: var(--accent, #18C7D8);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}
.btn-view-all i.fa-th-large { font-size: 14px; }
.btn-view-all i.fa-arrow-left { font-size: 12px; transition: transform 0.3s; }
.btn-view-all:hover i.fa-arrow-left { transform: translateX(-5px); }

/* ===== WHY SECTION ===== */
.why-section { background: white; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  text-align: center; padding: 32px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.35s;
  background: white;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(7,86,168,0.1); border-color: var(--accent, #18C7D8); }
.why-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px; color: #fff;
}
.why-title { font-size: 17px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.why-desc { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* ===== OFFERS ===== */
.offers-section { background: var(--warm-bg, #F8F4EE); }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: all 0.35s;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(11,127,232,0.12); border-color: var(--accent); }
.offer-image { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.offer-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.offer-card:hover .offer-image img { transform: scale(1.05); }
.offer-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent, #18C7D8); color: #fff;
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 800;
}
.offer-content { padding: 20px; }
.offer-title { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.offer-desc { color: var(--gray); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.btn-offer {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white;
  padding: 10px 22px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  transition: all 0.3s;
}
.btn-offer:hover { background: var(--primary-light); }

/* ===== SIZE MODAL ===== */
.size-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.size-modal {
  background: white;
  border-radius: 20px;
  width: 100%; max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.size-modal-close {
  position: absolute; top: 14px; left: 14px;
  width: 32px; height: 32px;
  background: var(--gray-light); border: none;
  border-radius: 50%;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; color: var(--text);
  line-height: 1;
}
.size-modal-close:hover { background: #dc3545; color: white; }
.size-modal-header { background: var(--primary); color: white; padding: 24px; border-radius: 20px 20px 0 0; }
.size-modal-header h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.size-modal-product-name { font-size: 14px; opacity: 0.8; }
.size-modal-body { padding: 24px; }
.size-section { margin-bottom: 20px; }
.size-label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); font-size: 14px; margin-bottom: 12px; }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip {
  padding: 8px 16px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: white;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.2s;
}
.size-chip:hover { border-color: var(--primary); }
.size-chip.selected { background: var(--primary); color: white; border-color: var(--primary); }
.size-section:first-child .size-chip.selected { background: var(--primary); }
.size-section:last-child .size-chip.selected { background: var(--secondary); color: var(--primary); border-color: var(--accent, #18C7D8); }
.size-modal-footer { padding: 16px 24px 24px; }
.btn-whatsapp-order {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: #fff !important;
  padding: 14px; border-radius: 12px;
  font-weight: 800; font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp-order:hover { background: #1da851; transform: translateY(-2px); color: #fff !important; }
.btn-whatsapp-order i { color: #fff !important; }
.size-hint { text-align: center; color: var(--gray); font-size: 13px; padding: 10px; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: white;
  z-index: 999;
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
  transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1da851; box-shadow: 0 10px 35px rgba(37,211,102,0.5); }
.whatsapp-float.pulse { animation: waPulse 2s ease-in-out infinite; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 25px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ===== FOOTER ===== */
.footer { background: var(--primary-dark, #0756A8); color: rgba(255,255,255,0.85); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .footer-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand .footer-logo img.no-filter { filter: none; }
.footer-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); font-size: 14px;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--secondary); color: var(--primary); transform: translateY(-3px); }
.footer-title { font-size: 16px; font-weight: 800; color: white; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; right: 0; width: 36px; height: 2px; background: var(--secondary); border-radius: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 14px; transition: all 0.2s; }
.footer-links a:hover { color: var(--accent, #18C7D8); padding-right: 4px; }
.footer-links i { font-size: 10px; color: var(--accent, #18C7D8); }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-contact-list i { color: var(--accent, #18C7D8); margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact-list a:hover { color: var(--accent, #18C7D8); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-copy a { color: var(--accent, #18C7D8); font-weight: 600; }
.footer-dev { font-size: 13px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 8px; }
.echo-link { color: var(--accent, #18C7D8) !important; font-weight: 700; }
.echo-wa { color: #25D366 !important; font-size: 16px; }

/* ===== SHOP PAGE ===== */
.shop-brand-filter { background: #f8f9fc; padding: 20px 0; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.shop-filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.filter-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 700; font-size: 14px;
  transition: all 0.3s;
}
.filter-tab img { height: 24px; width: auto; object-fit: contain; }

/* Subcategory filter row */
.shop-subcat-filter {
  background: #eef2f9;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.subcat-tabs .filter-tab.subcat-tab {
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 600;
  border-color: #c5d0e0;
  background: white;
}
.subcat-tabs .filter-tab.subcat-tab:hover,
.subcat-tabs .filter-tab.subcat-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* No products found */
.no-products-found {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.no-products-found i { font-size: 48px; margin-bottom: 16px; display: block; opacity: 0.4; }
.no-products-found p { font-size: 18px; margin-bottom: 20px; }

.raha-woo-wrap { padding: 40px 0; }

/* WooCommerce product grid override */
.woocommerce .products { display: grid !important; grid-template-columns: repeat(4,1fr) !important; gap: 20px !important; }
ul.products li.product { margin: 0 !important; width: auto !important; float: none !important; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-card {
  background: var(--light); border-radius: 14px; padding: 24px;
  text-align: center; border: 1px solid var(--border); transition: all 0.3s;
}
.contact-info-card:hover { border-color: var(--accent, #18C7D8); transform: translateY(-4px); }
.contact-icon { font-size: 28px; color: var(--accent, #18C7D8); margin-bottom: 10px; }
.contact-info-card h4 { font-size: 14px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.contact-info-card a, .contact-info-card p { color: var(--gray); font-size: 14px; }
.contact-whatsapp-cta { background: var(--primary); border-radius: 20px; padding: 40px; color: white; text-align: center; }
.contact-whatsapp-cta h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.contact-whatsapp-cta p { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.btn-whatsapp-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff !important;
  padding: 14px 30px; border-radius: 50px;
  font-weight: 800; font-size: 16px;
  transition: all 0.3s; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.btn-whatsapp-cta:hover { transform: translateY(-3px); background: #1da851; color: #fff !important; }
.btn-whatsapp-cta i { color: #fff !important; }

/* ===== ABOUT PAGE ===== */
.about-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: center; }
.about-badge { display: inline-block; background: rgba(201,168,76,0.1); color: var(--accent, #18C7D8); border: 1px solid var(--secondary); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.about-title { font-size: 34px; font-weight: 900; color: var(--primary); margin-bottom: 20px; line-height: 1.3; }
.gold-text { color: var(--accent, #18C7D8); }
.about-content p { color: var(--gray); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.btn-about-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white;
  padding: 12px 28px; border-radius: 50px;
  font-weight: 700; font-size: 15px; transition: all 0.3s;
}
.about-stats { display: flex; flex-direction: column; gap: 20px; }
.about-stat { background: white; border-radius: 16px; padding: 24px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid var(--border); }
.stat-num { display: block; font-size: 36px; font-weight: 900; color: var(--accent, #18C7D8); line-height: 1; }
.about-stat span:last-child { font-size: 13px; color: var(--gray); display: block; margin-top: 6px; }

/* ===== NO PRODUCTS ===== */
.no-products { text-align: center; color: var(--gray); padding: 40px; font-size: 16px; grid-column: 1/-1; }

/* ════════════════════════════════════════════════════════════════
   HEADER LOGO — حماية كاملة
   اللوجو الأزرق يظهر زي ما هو، بدون filters/blend/opacity
   ═══════════════════════════════════════════════════════════════ */
.logo,
.logo a,
.logo img,
.header .logo,
.header .logo a,
.header .logo img,
.header .logo .logo-img,
.header .logo .custom-logo,
.header .logo .wp-block-site-logo img,
.mobile-menu .logo,
.mobile-menu .logo a,
.mobile-menu .logo img,
.mobile-menu .logo-img,
.mobile-menu .custom-logo {
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* لو فيه ::before أو ::after عاملين overlay على اللوجو */
.logo::before, .logo::after,
.logo a::before, .logo a::after,
.header .logo::before, .header .logo::after {
  display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .top-bar-address { display: none; }
  .top-bar-content { gap: 6px; }
  .top-bar-right span,
  .top-bar-right a { font-size: 12px; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Tighter header on mobile — logo on right (RTL = visual right), actions on left */
  .header-content { gap: 10px; padding: 10px 0; justify-content: space-between; }
  .logo { order: 1; margin-right: 0; margin-left: auto; }
  .header-actions { order: 2; }
  .logo-img,
  .header .logo .custom-logo,
  .header .logo .wp-block-site-logo img { height: 52px !important; }
  .header-actions { gap: 8px; }

  /* Compact whatsapp button — icon only */
  .btn-whatsapp-header { padding: 0; min-width: 42px; width: 42px; height: 42px; gap: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
  .btn-whatsapp-header span { display: none; }
  .btn-whatsapp-header i { font-size: 20px; margin: 0; line-height: 1; }

  .btn-quiz-header { padding: 0; min-width: 42px; width: 42px; height: 42px; gap: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
  .btn-quiz-header span { display: none; }
  .btn-quiz-header i { font-size: 18px; margin: 0; }

  .cart-icon { width: 42px; height: 42px; font-size: 18px; }
  .mobile-menu-btn { width: 42px; height: 42px; padding: 0; align-items: center; justify-content: center; }

  .hero-slider { height: 420px; }

  /* Slider arrows smaller and less intrusive on mobile */
  .slider-btn { width: 38px; height: 38px; font-size: 14px; }
  .slider-btn-prev { right: 10px; }
  .slider-btn-next { left: 10px; }
  .btn-slide-primary { padding: 12px 26px; font-size: 14px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .offers-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .top-bar { padding: 6px 0; }
  .top-bar-right a { font-size: 11.5px; }
  .top-bar-left .social-links a { width: 28px; height: 28px; font-size: 12px; }
  .top-bar-right i { font-size: 13px; }

  .header-content { gap: 8px; padding: 8px 0; }
  .logo-img,
  .header .logo .custom-logo,
  .header .logo .wp-block-site-logo img { height: 44px !important; }
  .header-actions { gap: 6px; }
  .btn-whatsapp-header { width: 38px; height: 38px; min-width: 38px; padding: 0; }
  .btn-whatsapp-header i { font-size: 18px; }
  .cart-icon { width: 36px; height: 36px; }
  .mobile-menu-btn { width: 36px; height: 36px; }

  .hero-slider { height: 360px; }
  .slide-content { padding: 0 16px; }
  .slide-text { text-align: center; margin: 0 auto; padding: 0 10px; }
  .slide-title { font-size: 24px; margin-bottom: 10px; }
  .slide-subtitle { font-size: 14px; margin-bottom: 22px; }
  .btn-slide-primary { padding: 11px 24px; font-size: 13px; }

  .slider-btn { width: 34px; height: 34px; font-size: 12px; }
  .slider-btn-prev { right: 8px; }
  .slider-btn-next { left: 8px; }
  .slider-dots { bottom: 14px; }
  .dot { width: 8px; height: 8px; }

  .section-padding { padding: 50px 0; }
  .section-title { font-size: clamp(20px, 5vw, 26px); }
  .section-subtitle { font-size: 14px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 13px; }
  .product-actions { flex-direction: column; gap: 6px; }
  .btn-size-selector,
  .btn-view-product { padding: 9px; font-size: 12px; }

  .brand-tabs { gap: 8px; }
  .brand-tab { min-width: 100px; padding: 12px 16px; font-size: 13px; }
  .brand-tab-logo { height: 30px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-content { flex-direction: column; text-align: center; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .raha-stats-grid { grid-template-columns: 1fr 1fr; }

  .whatsapp-float { width: 50px; height: 50px; font-size: 22px; bottom: 20px; left: 16px; }
}
@media (max-width: 380px) {
  .top-bar { padding: 4px 0; }
  .top-bar-right a { font-size: 11px; }
  .top-bar-left .social-links a { width: 24px; height: 24px; font-size: 11px; }
  .top-bar-right span,
  .top-bar-right .separator { gap: 4px; }
  .logo-img,
  .header .logo .custom-logo,
  .header .logo .wp-block-site-logo img { height: 34px !important; }
  .btn-whatsapp-header,
  .cart-icon,
  .mobile-menu-btn { width: 34px; height: 34px; min-width: 34px; padding: 0; }
  .hero-slider { height: 320px; }
  .slide-title { font-size: 20px; }
  .slide-subtitle { font-size: 13px; }
}

/* ============================================================
   BESTSELLERS SLIDER
   ============================================================ */
.bestsellers-section { background: var(--light, #F7FBFF); }
.bestsellers-slider-wrap { position: relative; display: flex; align-items: center; gap: 12px; }
.bestsellers-slider { flex: 1; overflow: hidden; border-radius: 16px; direction: ltr; }
.bs-track { display: flex; gap: 20px; transition: transform .4s ease; direction: ltr; }
.bs-slide { flex: 0 0 calc(25% - 15px); min-width: 0; }
.bs-slide .product-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s;
  overflow: hidden;
}
.bs-slide .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(11,127,232,0.12);
  border-color: var(--accent, #18C7D8);
}
.bs-slide .product-image { border-radius: 14px 14px 0 0; overflow: hidden; position: relative; aspect-ratio: 1/1; background: #f8f9fa; }
.bs-slide .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.bs-slide .product-card:hover .product-image img { transform: scale(1.05); }
.bs-slide .product-image .product-badge { position: absolute; top: 8px; right: 8px; }
.bs-slide .product-image .product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--border); }
.bs-slide .product-info { padding: 14px; }
.bs-slide .product-name a { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.4; }
.bs-slide .product-name a:hover { color: var(--primary); }
.bs-slide .product-price { font-size: 15px; font-weight: 800; color: var(--primary); margin: 6px 0; }
.bs-slide .btn-order-size {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.bs-slide .btn-order-size:hover { background: var(--accent, #18C7D8); }
.bs-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(11,127,232,0.25);
  transition: all .2s;
  z-index: 2;
}
.bs-btn:hover { background: var(--accent, #18C7D8); transform: scale(1.08); }
.bs-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.bs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: all .2s; padding: 0; }
.bs-dot.active { background: var(--primary); transform: scale(1.2); }
.bs-dot:hover { background: var(--accent); }
.badge-bestseller { background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: #fff; font-size: 10px; padding: 4px 10px; border-radius: 20px; }

/* ============================================================
   CATEGORY PROMO (FURNISHINGS / CURTAINS)
   ============================================================ */
.category-promo-section { background: #fff; }
.category-promo-section.curtains-section { background: var(--bg-light, #f8f6f2); }
.category-promo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 40px 0;
}
.category-promo-inner.reverse { direction: ltr; }
.category-promo-inner.reverse .category-promo-content { direction: rtl; text-align: right; }
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-gold-light, #fef9ed);
  color: var(--color-gold, #C7AD86);
  border: 1px solid var(--color-gold, #C7AD86);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.promo-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary, #0756A8);
  margin-bottom: 12px;
  line-height: 1.2;
}
.promo-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 28px;
  line-height: 1.7;
}
.btn-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary, #0756A8);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-promo:hover { background: var(--color-gold, #C7AD86); transform: translateY(-2px); }
.category-promo-image { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.12); }
.category-promo-image img { width: 100%; height: 380px; object-fit: cover; display: block; }

/* ============================================================
   FURNISHINGS & CURTAINS TABBED SECTIONS
   ============================================================ */
.furnishings-home-section { background: #fff; }
.curtains-home-section    { background: var(--bg-light, #f8f6f2); }

.furnishings-tabs,
.curtains-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 28px 0 32px;
  padding: 0 8px;
}

.furn-tab,
.curtain-tab {
  padding: 9px 20px;
  border-radius: 30px;
  border: 2px solid var(--color-gold, #C7AD86);
  background: transparent;
  color: var(--color-primary, #0756A8);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  font-family: inherit;
  white-space: nowrap;
}
.furn-tab:hover,
.curtain-tab:hover {
  background: var(--color-gold, #C7AD86);
  color: #fff;
  transform: translateY(-2px);
}
.furn-tab.active,
.curtain-tab.active {
  background: var(--color-gold, #C7AD86);
  color: #fff;
  border-color: var(--color-gold, #C7AD86);
}

/* Simple card — WhatsApp btn */
.simple-card .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  background: #25d366;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.simple-card .btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--color-primary, #0756A8); }
.testimonials-section .section-title,
.testimonials-section .section-subtitle { color: #fff; }
.testimonials-section .section-title::after { background: var(--color-gold, #C7AD86); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testimonial-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: transform .3s, background .3s;
}
.testimonial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.13); }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 14px; }
.testimonial-stars .fas.fa-star.filled { color: var(--color-gold, #C7AD86); }
.testimonial-stars .fas.fa-star.empty { color: rgba(255,255,255,.25); }
.testimonial-text {
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-footer { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-gold, #C7AD86);
  color: var(--color-primary, #0756A8);
  font-size: 18px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-meta { display: flex; flex-direction: column; gap: 2px; }
.testimonial-name { color: #fff; font-size: 14px; font-weight: 700; }
.testimonial-product { color: rgba(255,255,255,.6); font-size: 12px; }
.testimonial-city { color: var(--color-gold, #C7AD86); font-size: 12px; display: flex; align-items: center; gap: 4px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}
/* طبقات زخرفية فوق الـ gradient */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(24,199,216,0.20) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.cta-inner { position: relative; z-index: 2; }
.cta-icon {
  font-size: 56px;
  color: #fff;
  margin-bottom: 22px;
  animation: floatBed 3s ease-in-out infinite;
  text-shadow: 0 6px 24px rgba(24,199,216,.55), 0 2px 8px rgba(0,0,0,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@keyframes floatBed {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.cta-title {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.cta-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.6;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff !important;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.btn-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,.5); color: #fff !important; }
.btn-cta-primary i { font-size: 22px; color: #fff !important; }

/* ============================================================
   FOOTER MAP
   ============================================================ */
.footer-map {
  margin-top: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}
.footer-map iframe {
  width: 100%;
  height: 160px;
  border: none;
  display: block;
  filter: grayscale(.3) brightness(.9);
}

/* ============================================================
   ADMIN TOGGLE SWITCH
   ============================================================ */
.raha-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}
.raha-toggle input[type="checkbox"] { display: none; }
.toggle-slider {
  width: 46px; height: 24px;
  background: #ccc;
  border-radius: 12px;
  position: relative;
  transition: background .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px; right: 3px;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.raha-toggle input:checked + .toggle-slider { background: var(--color-primary, #0756A8); }
.raha-toggle input:checked + .toggle-slider::before { transform: translateX(-22px); }

/* ============================================================
   RESPONSIVE — NEW SECTIONS
   ============================================================ */
@media (max-width: 1024px) {
  .bs-slide { flex: 0 0 calc(33.333% - 14px); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-title { font-size: 28px; }
}
@media (max-width: 768px) {
  .category-promo-inner { grid-template-columns: 1fr; gap: 32px; }
  .category-promo-inner.reverse { direction: ltr; }
  .category-promo-image { order: -1; }
  .category-promo-image img { height: 260px; }
  .promo-title { font-size: 26px; }
  .bs-slide { flex: 0 0 calc(50% - 10px); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: 28px; }
  .cta-subtitle { font-size: 16px; }
}
@media (max-width: 480px) {
  .bs-slide { flex: 0 0 calc(100%); }
  .cta-title { font-size: 24px; }
  .btn-cta-primary { font-size: 16px; padding: 14px 28px; }
}


/* ============================================================
   FILTER TABS — REFINED HOVER
   ============================================================ */
.filter-tab {
  position: relative;
  cursor: pointer;
  user-select: none;
  background: white;
  color: var(--primary);
  border-color: var(--border);
  text-decoration: none;
}
.filter-tab:hover {
  background: #f0f8ff;
  border-color: var(--accent, #18C7D8);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(24,199,216,0.12);
}
.filter-tab:hover img { transform: scale(1.05); }
.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(11,127,232,0.25);
  font-weight: 800;
}
.filter-tab.active:hover {
  background: var(--primary-dark, #0756A8);
  transform: translateY(-2px);
  color: #fff !important;
}
.filter-tab.active img { filter: brightness(10); }

/* Subcategory tabs in shop archive */
.shop-subcat-filter .filter-tab.subcat-tab {
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 700;
  border-color: var(--border);
  background: white;
  color: var(--text);
}
.shop-subcat-filter .filter-tab.subcat-tab:hover {
  background: #f0f8ff;
  border-color: var(--accent);
  color: var(--text);
}
.shop-subcat-filter .filter-tab.subcat-tab.active {
  background: var(--accent, #18C7D8);
  border-color: var(--accent, #18C7D8);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(24,199,216,0.25);
}
.shop-subcat-filter .filter-tab.subcat-tab.active:hover {
  background: #14b0c0;
  border-color: #14b0c0;
  color: #fff !important;
}

/* Subcategory tabs on home (links now) */
.subcategory-tabs .subcat-tab.subcat-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.subcategory-tabs .subcat-tab.subcat-link:hover {
  background: rgba(7,86,168,0.06);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

/* Furnishings/Curtains tabs hover refinement */
.furn-tab.subcat-link, .curtain-tab.subcat-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.furn-tab:hover, .curtain-tab:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--accent, #18C7D8);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201,168,76,0.25);
  text-decoration: none;
}

/* Brand tab hover refinement */
.brand-tab:hover {
  border-color: var(--accent, #18C7D8);
  background: rgba(201,168,76,0.06);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.15);
}

/* ============================================================
   PAGINATION — UNIFIED & STYLED
   ============================================================ */
.woocommerce-pagination,
nav.woocommerce-pagination,
.pagination,
nav.pagination,
.page-numbers {
  margin: 50px 0 20px;
  text-align: center;
}
.woocommerce-pagination ul.page-numbers,
nav.pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce-pagination ul.page-numbers li,
nav.pagination ul li { display: inline-flex; }
.page-numbers,
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span,
nav.pagination ul li a,
nav.pagination ul li span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1;
}
.woocommerce-pagination ul.page-numbers li a:hover,
.woocommerce-pagination ul.page-numbers li span:hover,
nav.pagination ul li a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(7,86,168,0.18);
}
.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce-pagination ul.page-numbers li .page-numbers.current,
nav.pagination ul li span.current,
.page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(7,86,168,0.3);
}
.woocommerce-pagination ul.page-numbers li .page-numbers.dots,
.page-numbers.dots {
  background: transparent;
  border: none;
  color: var(--gray);
  pointer-events: none;
}
.page-numbers.prev,
.page-numbers.next,
nav.pagination ul li a.prev,
nav.pagination ul li a.next {
  font-size: 16px;
  padding: 0 16px;
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.page-numbers.prev:hover,
.page-numbers.next:hover {
  background: var(--secondary) !important;
  border-color: var(--accent, #18C7D8) !important;
  color: var(--primary) !important;
}

/* ============================================================
   INTERNAL PAGES (single product, page templates, category)
   ============================================================ */
.site-main { min-height: 50vh; }

/* Generic page header for non-shop archives */
.page-header,
.archive-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}
.page-title,
.archive-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  color: var(--primary);
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.page-title::after,
.archive-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Default page content */
.page-content .entry-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}
.page-content .entry-content h2 {
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
  margin: 32px 0 16px;
}
.page-content .entry-content h3 {
  color: var(--primary);
  font-size: 19px;
  font-weight: 700;
  margin: 24px 0 12px;
}
.page-content .entry-content p { margin-bottom: 16px; }
.page-content .entry-content a { color: var(--accent, #18C7D8); font-weight: 600; }
.page-content .entry-content a:hover { text-decoration: underline; }

/* Single post / blog post */
.entry-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.entry-title { font-size: clamp(22px, 4vw, 32px); font-weight: 900; color: var(--primary); margin-bottom: 12px; }
.entry-meta { color: var(--gray); font-size: 13px; }
.post-thumbnail { margin: 24px 0; border-radius: 16px; overflow: hidden; }
.post-thumbnail img { width: 100%; height: auto; display: block; }
.entry-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

/* Posts grid (archive) */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}
.post-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(7,86,168,0.12); }
.post-card img { width: 100%; height: 220px; object-fit: cover; }
.post-card-body { padding: 20px; }
.post-card h2 { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 12px; line-height: 1.4; }
.post-card h2 a { color: inherit; }
.post-card h2 a:hover { color: var(--accent, #18C7D8); }

/* No posts state */
.no-posts {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
  font-size: 16px;
}

/* Internal page content padding tweaks */
.section-padding { padding: 60px 0; }

/* ════════════════════════════════════════════════════════════════
   بنر الصفحات الداخلية (المتجر / العروض / الأكثر مبيعاً)
   ـ ستايل موحد لكل البنرات بأزرق راحة الغامق
   ـ النصوص أبيض دايمًا للقراءة الواضحة
   ═══════════════════════════════════════════════════════════════ */
.shop-page-header {
  background: linear-gradient(135deg, var(--primary-dark, #0756A8) 0%, var(--primary, #0B7FE8) 100%);
  color: #fff;
  padding: 48px 0 36px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--accent, #18C7D8);
}
/* تأثير دائرة سيان شفافة في خلفية البنر */
.shop-page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(24,199,216,0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.shop-page-header > .container { position: relative; z-index: 1; }

/* Breadcrumb داخل البنر */
.shop-page-header .breadcrumb-nav { margin-bottom: 14px; color: rgba(255,255,255,.75); }
.shop-page-header .breadcrumb-nav a { color: rgba(255,255,255,.9); }
.shop-page-header .breadcrumb-nav a:hover { color: var(--accent, #18C7D8); }
.shop-page-header .breadcrumb-nav i { color: rgba(255,255,255,.5); }
.shop-page-header .breadcrumb-nav .current { color: #fff; font-weight: 700; }

/* Logo الماركة (لو موجود في البنر) */
.shop-header-brand { display: flex; align-items: center; gap: 16px; }
.shop-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* العنوان الرئيسي للبنر */
.shop-page-title {
  font-size: clamp(24px, 3.8vw, 34px);
  font-weight: 900;
  margin: 0;
  color: #fff !important;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.shop-page-title i {
  color: var(--accent, #18C7D8);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* العنوان الفرعي */
.shop-page-subtitle {
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  margin: 8px 0 0;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .posts-grid { grid-template-columns: 1fr; }
  .page-numbers,
  nav.pagination ul li a,
  nav.pagination ul li span {
    min-width: 38px;
    height: 38px;
    font-size: 13px;
  }
  .shop-page-header { padding: 28px 0 22px; }
  .shop-page-title { font-size: 22px; }
  .shop-page-subtitle { font-size: 13px; }
  .shop-header-brand { gap: 12px; }
  .shop-brand-logo { height: 44px; }
  .raha-woo-wrap { padding: 24px 0 40px; }
}
