/* Branches */
.branches-title{
  color: var(--mh-accent, #C49A52);
  text-align: center;
  margin: 10px 0 24px;
}

.branches-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  justify-items: center;
}

.branch-card{ text-align: center; }

/* دبوس الموقع */
.branch-pin img{
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.18));
  transition: transform .2s ease;
}
.branch-pin:hover img{ transform: translateY(-2px) scale(1.02); }

.branch-text .hint{
  font-weight: 800;
  font-size: 28px;
  margin-top: 32px;
  color: #222;
}
.branch-text .hours,
.branch-text .addr{
  font-size: 24px;
  color: #444;
  margin-top: 14px;
}

/*   صيغة الجوال*/
@media (max-width: 992px){
  .branches-grid{ grid-template-columns: 1fr; gap: 44px; }
  .branch-pin img{ width: 110px; }
  .branch-text .hint{ font-size: 22px; }
  .branch-text .hours, .branch-text .addr{ font-size: 18px; }
}

.hero .slide{
  flex:0 0 100%;
  width:100%;
  background-position:center;
  background-repeat:no-repeat;
  background-size: cover;
  height:auto !important;
  aspect-ratio: 16 / 6;
  border-radius: 18px;
  overflow: hidden;
}

@media (max-width: 768px){
  .hero .slide{
    height:100%;
    width:100%;
    background-color: #000;
    background-position:center;
  }
}

/*  زر الحسابات  */
.floating-icons .icon.accounts{
  background: #39E09B;
}
.floating-icons .icon.accounts:hover{ filter: brightness(0.95); }

.auction-home{padding:14px}
.auc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.auc-head h2{margin:0}
.auc-wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}
.auc-gallery{background:#0b0b0b;border-radius:16px;overflow:hidden;position:relative}
.auc-gallery img{width:100%;height:87%;object-fit:cover;display:block}
.auc-badge{
  position:absolute;top:12px;right:12px;
  background:#C49A52;color:#fff;font-weight:800;
  padding:6px 10px;border-radius:999px;font-size:12px
}
.auc-thumbs{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  padding:10px !important;
  overflow-x:auto !important;
  background:#fff !important;
  border-top:1px solid #eee !important;
  flex-wrap:nowrap !important;
}
.auc-thumbs > *{ flex:0 0 auto !important; }

.auc-thumbs button{
  flex:0 0 auto !important;
  width:96px !important;
  height:54px !important;
  padding:0 !important;
  border:2px solid transparent !important;
  border-radius:12px !important;
  overflow:hidden !important;
  background:#f5f5f5 !important;
  cursor:pointer !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.auc-thumbs button img{
  width:auto !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  display:block !important;
}
.auc-thumbs button.active{ border-color:#C49A52 !important; }

/* Mobile */
@media(max-width:768px){
  .auc-thumbs button{ width:72px !important; height:40px !important; }
}
.auc-info{background:#fff;border:1px solid #eee;border-radius:16px;padding:14px}
.auc-title{font-weight:900;font-size:18px;margin:0 0 6px}
.auc-sub{color:#64748b;font-size:13px;display:flex;gap:10px;flex-wrap:wrap}
.auc-priceRow{margin-top:10px;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;flex-wrap:wrap}
.auc-price{font-weight:950;font-size:22px;color:#b91c1c}
.auc-step{color:#0f172a;font-size:13px}
.auc-timer{color:#334155;font-size:13px}
.auc-specs{margin-top:12px;color:#334155;font-size:14px;white-space:pre-line;background:#f8fafc;border:1px dashed #e5e7eb;border-radius:14px;padding:10px}
.auc-actions{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.auc-actions input{ padding:10px;border:1px solid #e5e7eb;border-radius:12px;min-width:220px }
.auc-actions button{ padding:10px 14px;border-radius:12px;border:0;background:#111;color:#fff;cursor:pointer;font-weight:800 }
.auc-actions button.primary{background:#C49A52}
.auc-actions .note{color:red;font-size:13px}
.auc-bids{margin-top:14px;border-top:1px dashed #eee;padding-top:12px}
.auc-bid{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#334155;padding:7px 0;border-bottom:1px solid #f1f5f9}
.auc-bid b{color:#111}
.auc-error{color:#b91c1c;font-size:13px;margin-top:8px;display:none}
@media(max-width:900px){
  .auc-wrap{grid-template-columns:1fr}
  .auc-gallery img{height:240px}
}