.hyundai-hero-page{
  padding:68px 0 58px;
  background:
    radial-gradient(circle at 12% 18%, rgba(0,76,151,.11), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(215,25,32,.06), transparent 25%),
    linear-gradient(180deg,#fff,#f5f8fc);
  overflow:hidden;
}
.hyundai-page-hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:52px;
  align-items:center;
}
.hyundai-page-copy h1{
  font-size:clamp(42px,5.4vw,70px);
  margin-bottom:20px;
}
.hyundai-page-copy p{
  max-width:720px;
  color:#475467;
  font-size:17px;
}
.hyundai-page-copy p strong{color:var(--blue)}
.hyundai-hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.hyundai-hero-stats div{
  min-width:135px;
  padding:12px 16px;
  border:1px solid #dfe6ef;
  border-radius:16px;
  background:rgba(255,255,255,.82);
}
.hyundai-hero-stats strong,
.hyundai-hero-stats span{display:block}
.hyundai-hero-stats strong{font-size:20px;color:var(--blue)}
.hyundai-hero-stats span{font-size:11px;color:var(--muted)}
.hyundai-hero-visual-card{
  min-height:460px;
  border:1px solid #dce4ed;
  border-radius:30px;
  background:#fff;
  box-shadow:0 26px 80px rgba(15,60,115,.12);
  padding:34px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.hyundai-hero-visual-card::before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border-radius:50%;
  background:rgba(0,76,151,.055);
  top:-120px;
  left:-90px;
}
.hyundai-hero-visual-card img{
  width:min(330px,82%);
  max-height:230px;
  object-fit:contain;
  position:relative;
  z-index:1;
}
.hyundai-hero-label{margin-top:20px;position:relative;z-index:1}
.hyundai-hero-label strong{display:block;color:#003f78;font-size:18px;letter-spacing:.5px}
.hyundai-hero-label span{display:block;color:#7a8594;font-size:12px;margin-top:4px}
.hero-part-tags{
  margin-top:24px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  position:relative;
  z-index:1;
}
.hero-part-tags span{
  padding:7px 11px;
  border:1px solid #dfe6ef;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  color:#39516a;
  background:#f8fafc;
}
.hyundai-catalog-section{
  padding:70px 0 86px;
  background:#fff;
}
.supplier-switch-wrap{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.supplier-switch-wrap h2{font-size:34px;margin-bottom:0}
.supplier-switch{
  display:flex;
  gap:8px;
  padding:6px;
  border-radius:16px;
  background:#f2f5f8;
  border:1px solid #e4e9ef;
}
.supplier-btn{
  border:0;
  background:transparent;
  padding:11px 16px;
  border-radius:12px;
  cursor:pointer;
  font-weight:900;
  color:#5f6b7a;
}
.supplier-btn span{
  display:inline-grid;
  place-items:center;
  min-width:26px;
  height:22px;
  margin-right:6px;
  padding:0 6px;
  border-radius:999px;
  background:#fff;
  font-size:10px;
}
.supplier-btn.active{background:var(--blue);color:#fff;box-shadow:0 7px 18px rgba(15,60,115,.18)}
.supplier-btn.active span{color:var(--blue)}
.hyundai-search-panel{
  display:grid;
  grid-template-columns:1.6fr .8fr auto;
  gap:12px;
  align-items:end;
  padding:18px;
  border:1px solid #e4e9ef;
  border-radius:22px;
  background:#fafbfd;
  margin-bottom:24px;
}
.hyundai-search-field,
.hyundai-select-field{display:grid;gap:6px}
.hyundai-search-panel label{font-size:11px;font-weight:900;color:#475467}
.hyundai-search-panel input,
.hyundai-search-panel select{
  height:48px;
  border:1px solid #dce3eb;
  border-radius:13px;
  padding:0 14px;
  background:#fff;
  outline:none;
}
.hyundai-search-panel input:focus,
.hyundai-search-panel select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(15,60,115,.07)}
.clear-filters{
  height:48px;
  border:1px solid #dce3eb;
  border-radius:13px;
  padding:0 16px;
  background:#fff;
  cursor:pointer;
  font-weight:800;
  color:#475467;
}
.hyundai-category-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  margin-bottom:46px;
}
.hyundai-category-card{
  min-width:0;
  border:1px solid #e3e8ef;
  background:#fff;
  border-radius:17px;
  padding:14px 8px;
  cursor:pointer;
  text-align:center;
  transition:.2s;
}
.hyundai-category-card:hover{transform:translateY(-3px);border-color:#b8c8db;box-shadow:0 10px 25px rgba(15,60,115,.07)}
.hyundai-category-card.active{border-color:var(--blue);background:#f2f7fc;box-shadow:inset 0 0 0 1px var(--blue)}
.category-code{
  width:42px;
  height:42px;
  margin:0 auto 9px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#edf3f9;
  color:var(--blue);
  font-size:10px;
  font-weight:900;
}
.hyundai-category-card.active .category-code{background:var(--blue);color:#fff}
.hyundai-category-card strong{display:block;font-size:12px;line-height:1.3}
.hyundai-category-card small{display:block;color:#98a2b3;font-size:9px;margin-top:5px}
.hyundai-results-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.hyundai-results-head h2{font-size:34px;margin-bottom:0}
.results-count{
  padding:8px 12px;
  border-radius:999px;
  background:#f1f5f9;
  color:#475467;
  font-size:12px;
  font-weight:900;
}
.hyundai-product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.hyundai-product-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #e3e8ef;
  border-radius:22px;
  background:#fff;
  transition:.23s;
  display:flex;
  flex-direction:column;
}
.hyundai-product-card:hover{transform:translateY(-5px);border-color:#c9d4e0;box-shadow:0 18px 45px rgba(15,60,115,.10)}
.hyundai-product-art{
  height:220px;
  position:relative;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#f2f6fa,#fff);
  border-bottom:1px solid #edf0f4;
  padding:18px;
}
.hyundai-product-art{
  height:220px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(145deg,#f2f6fa,#fff);
  border-bottom:1px solid #edf0f4;
  padding:18px;
  overflow:hidden;
}

/* صورة قطعة الغيار الحقيقية فقط */
.hyundai-product-art > img{
  display:block;
  width:auto !important;
  height:auto !important;
  max-width:90% !important;
  max-height:185px !important;
  object-fit:contain !important;
  padding:0 !important;
}
}
.genuine-badge{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  padding:6px 9px;
  border-radius:999px;
  background:#003f78;
  color:#fff;
  font-size:9px;
  font-weight:900;
}
.hyundai-placeholder{
  width:150px;
  min-height:128px;
  border:1px solid #d6e1ec;
  border-radius:20px;
  background:#fff;
  display:grid;
  place-items:center;
  text-align:center;
  padding:14px;
  box-shadow:0 12px 28px rgba(15,60,115,.08);
}
.hyundai-placeholder img{width:104px;height:58px;object-fit:contain;padding:0;margin-bottom:5px}
.hyundai-placeholder strong{display:block;color:#003f78;font-size:11px;line-height:1.3}
.hyundai-placeholder small{display:block;color:#98a2b3;font-size:9px;margin-top:5px}
.hyundai-product-content{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:17px;
}
.part-category{font-size:10px;font-weight:900;color:var(--blue);margin-bottom:6px}
.hyundai-product-content h3{font-size:15px;line-height:1.5;margin-bottom:9px;min-height:45px}
.part-number-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 10px;
  border-radius:11px;
  background:#f7f9fc;
  color:#667085;
  font-size:10px;
  margin-bottom:10px;
}
.part-number-row b{direction:ltr;color:#1f2937;font-size:11px}
.compatible-preview{
  color:#667085;
  font-size:11px;
  line-height:1.55;
  min-height:52px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-bottom:12px;
}
.hyundai-product-content .price{margin-top:auto;font-size:19px}
.hyundai-card-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:8px;
}
.hyundai-card-actions a,
.hyundai-card-actions button{
  min-height:40px;
  border-radius:11px;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.hyundai-card-actions a{border:1px solid #dce3eb;background:#fff;color:var(--blue)}
.hyundai-card-actions button{border:1px solid var(--blue);background:var(--blue);color:#fff}
.hyundai-empty{
  grid-column:1/-1;
  text-align:center;
  padding:70px 20px;
  border:1px dashed #d5dde7;
  border-radius:24px;
  background:#fafbfd;
}
.hyundai-empty strong{display:block;font-size:22px;margin-bottom:8px}
.hyundai-empty p{color:#667085;margin-bottom:0}
.load-more-wrap{text-align:center;margin-top:28px}
.hyundai-vin-note{padding:0 0 80px;background:#fff}
.vin-note-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:28px 30px;
  border-radius:26px;
  background:linear-gradient(120deg,#0f3c73,#08294f);
  color:#fff;
}
.vin-note-card h2{font-size:30px;margin-bottom:8px}
.vin-note-card p{color:#dbe6f2;margin-bottom:0}
.vin-note-card .eyebrow{color:#fff}
.active-nav{color:var(--blue)!important}

@media(max-width:1100px){
  .hyundai-category-grid{grid-template-columns:repeat(5,1fr)}
  .hyundai-product-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .hyundai-page-hero-grid{grid-template-columns:1fr}
  .hyundai-hero-visual-card{min-height:360px}
  .supplier-switch-wrap{align-items:stretch;flex-direction:column}
  .hyundai-search-panel{grid-template-columns:1fr 1fr}
  .clear-filters{grid-column:1/-1}
  .hyundai-category-grid{grid-template-columns:repeat(3,1fr)}
  .hyundai-product-grid{grid-template-columns:repeat(2,1fr)}
  .vin-note-card{flex-direction:column;align-items:flex-start}
}
@media(max-width:620px){
  .hyundai-hero-page{padding:44px 0 38px}
  .hyundai-page-copy h1{font-size:42px}
  .hyundai-hero-visual-card{min-height:310px;padding:24px}
  .hyundai-catalog-section{padding:48px 0 60px}
  .supplier-switch{width:100%}
  .supplier-btn{flex:1;padding:10px 8px;font-size:12px}
  .hyundai-search-panel{grid-template-columns:1fr}
  .clear-filters{grid-column:auto}
  .hyundai-category-grid{grid-template-columns:repeat(2,1fr)}
  .hyundai-results-head{align-items:flex-start;flex-direction:column}
  .hyundai-product-grid{grid-template-columns:1fr}
  .hyundai-product-art{height:240px}
  .vin-note-card{padding:24px 20px}
  .vin-note-card .btn{width:100%}
}
/* ===== HYUNDAI PRODUCT IMAGE - FULL AREA ===== */

.hyundai-product-art{
  height:260px !important;
  padding:0 !important;
  overflow:hidden !important;
  position:relative;
  background:#fff !important;
}

.hyundai-product-art > img{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;

  object-fit:cover !important;
  object-position:center !important;

  padding:0 !important;
  margin:0 !important;
  display:block !important;
}
/* ===== HYUNDAI CARD IMAGE CLEAN FIX ===== */

/* شيل كلمة أصلي توكيل من فوق الصورة */
.genuine-badge{
  display:none !important;
}

/* مساحة الصورة */
.hyundai-product-art{
  height:280px !important;
  padding:20px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  overflow:hidden !important;
  background:#fff !important;
}

/* الصورة نفسها */
.hyundai-product-art > img{
  width:auto !important;
  height:auto !important;

  max-width:82% !important;
  max-height:240px !important;

  object-fit:contain !important;
  object-position:center !important;

  margin:auto !important;
  padding:0 !important;
  display:block !important;
}

/* ===== PRODUCT AVAILABILITY STATES ===== */
.stock-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:0 10px;
  margin:4px 0 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
}
.stock-label.in{background:#edf8f1;color:#157347}
.stock-label.out{background:#fff0f0;color:#b42318}
.stock-label.order{background:#fff8e8;color:#8a5a00}
button:disabled,
.btn:disabled{
  opacity:.5 !important;
  cursor:not-allowed !important;
  pointer-events:none;
}
