.srfq-grid {
  display: grid;
  gap: 20px;
}
.srfq-grid[data-columns="2"] {
  grid-template-columns: repeat(2, 1fr);
}
.srfq-grid[data-columns="3"] {
  grid-template-columns: repeat(3, 1fr);
}
.srfq-grid[data-columns="4"] {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
  .srfq-grid {
    grid-template-columns: 1fr !important;
  }
}

.srfq-card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}
.srfq-card:hover {
  transform: translateY(-3px);
}
.srfq-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.srfq-card-body {
  padding: 18px;
}
.srfq-card-cats {
  font-size: 12px;
  color: #0073aa;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.srfq-card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.srfq-card-body h3 a {
  text-decoration: none;
  color: #222;
}
.srfq-card-excerpt {
  color: #666;
  font-size: 14px;
  margin-bottom: 14px;
}

.srfq-price-status-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.srfq-product-badges { margin: 0; flex: 0 0 auto; }
.srfq-status { display: inline-block; padding: 5px 10px; border-radius: 4px; font-size: 12px; line-height: 1.4; font-weight: 700; color: #046538; }
.srfq-status-ready { background: #19875426; }
.srfq-status-sold { background: #ff000029;color: #ff0000;} 
.srfq-status-repair { background: #e58b004f;color: #e58b00; }
.srfq-price { margin: 0; color: #d35400; font-size: 17px; font-weight: 700; line-height: 1.45; min-width: 0; overflow-wrap: anywhere; }
.srfq-single-price { font-size: 22px; margin-bottom: 0; }
.srfq-single-badges { margin-top: 0; }
.srfq-single-price-status-row { justify-content: flex-start; gap: 14px; margin: 8px 0 16px; }

.srfq-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.srfq-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s;
}
.srfq-btn:hover {
  opacity: 0.88;
}
.srfq-btn-wa {
  background: #25d366;
  color: #fff;
}
.srfq-btn-form {
  background: #0073aa;
  color: #fff;
}
.srfq-btn-primary {
  background: #0073aa;
  color: #fff;
  width: 100%;
  padding: 12px;
}

/* Single */
.srfq-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 20px 0;
}
@media (max-width: 900px) {
  .srfq-single {
    grid-template-columns: 1fr;
  }
}
.srfq-single-media img {
  width: 100%;
  border-radius: 10px;
}
.srfq-meta-cats,
.srfq-meta-brands,
.srfq-meta-tags {
  margin-bottom: 10px;
  font-size: 14px;
}
.srfq-meta-tags a {
  color: #888;
  margin-right: 8px;
}
.srfq-single-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

/* Tabel spesifikasi produk di samping gambar */
.srfq-specifications {
  margin: 18px 0;
  width: 100%;
}
.srfq-specifications h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}
.srfq-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e5e9;
  background: #fff;
  font-size: 14px;
}
.srfq-spec-table th,
.srfq-spec-table td {
  padding: 10px 12px;
  border: 1px solid #e2e5e9;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.srfq-spec-table th {
  width: 42%;
  background: #f7f8fa;
  font-weight: 600;
}
@media (max-width: 600px) {
  .srfq-spec-table th,
  .srfq-spec-table td {
    padding: 8px;
    font-size: 13px;
  }
}

/* Modal */
.srfq-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.srfq-modal-overlay.active {
  display: flex;
}
.srfq-modal {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.srfq-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}
#srfq-msg {
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
}


/* Layout detail: deskripsi di bawah gambar/tabel, logo brand, dan CTA di bawah tabel */
.srfq-single-info { min-width: 0; }
.srfq-meta-brands { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0 16px; }
.srfq-brand-item { display: inline-flex; align-items: center; gap: 8px; }
.srfq-brand-item a { text-decoration: none; }
.srfq-brand-image { width:127px; height: auto; object-fit: contain; }
.srfq-single-actions { margin: 14px 0 0; }
.srfq-product-description { clear: both; margin: 30px 0 20px; width: 100%; }
.srfq-product-description h2 { margin-bottom: 12px; }
.srfq-product-description > :first-child { margin-top: 0;border-bottom: solid 3px #0879ed;padding-bottom: 7px; }
.srfq-product-tags { margin-top: 18px; }

/* Side content may contain regular text, lists, or editor-created tables. */
.srfq-side-content { margin: 14px 0; overflow-wrap: anywhere; }
.srfq-side-content table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.srfq-side-content th, .srfq-side-content td { border: 1px solid #e2e5e9; padding: 8px 10px; text-align: left; }
.srfq-brand-item-logo img.srfq-brand-image { display: block; }
.srfq-brand-item-logo a { display: inline-flex; align-items: center; }
.srfq-single-actions { display: flex; align-items: stretch; gap: 10px; flex-wrap: nowrap; }
.srfq-single-actions .srfq-btn { justify-content: center; flex: 1 1 0; min-width: 0; text-align: center; }
.srfq-product-description { clear: both; display: block; }
@media (max-width: 600px) {
  .srfq-single-actions { flex-wrap: wrap; }
  .srfq-single-actions .srfq-btn { flex: 1 1 calc(50% - 5px); }
}


/* Galeri produk: tampilkan gambar utuh tanpa crop, termasuk sisi lebar */
.srfq-single-media { min-width: 0; }
.srfq-product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.srfq-gallery-item { min-width: 0; min-height: 180px; display: flex; align-items: center; justify-content: center; padding: 8px; border: 1px solid #eee; border-radius: 10px; background: #fff; }
.srfq-gallery-featured { grid-column: 1 / -1; min-height: 300px; }
.srfq-single-media .srfq-gallery-image { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 6px; }
.srfq-gallery-item:not(.srfq-gallery-featured) .srfq-gallery-image { max-height: 260px; }
@media (max-width: 600px) {
  .srfq-product-gallery { grid-template-columns: 1fr; }
  .srfq-gallery-featured { min-height: 200px; }
}
/* Thumbnail katalog juga menampilkan produk secara utuh, bukan terpotong */
.srfq-card > a { display: flex; align-items: center; justify-content: center; min-height: 220px; padding: 8px; background: #fff; }
.srfq-card img { height: 220px; object-fit: contain; }


/* Galeri detail: gambar utama dengan thumbnail ringkas di bawahnya */
.srfq-product-gallery{display:flex;flex-direction:column;gap:12px}
.srfq-gallery-main{position:relative;isolation:isolate;overflow:hidden;min-height:300px;display:flex;align-items:center;justify-content:center;border:1px solid #eee;border-radius:5px;background:#000000}
.srfq-gallery-main::before{content:"";position:absolute;z-index:-2;inset:-18px;background-image:var(--srfq-gallery-bg);background-position:center;background-size:cover;background-repeat:no-repeat;filter:blur(18px);transform:scale(1.08);opacity:.78}
.srfq-gallery-main::after{content:"";position:absolute;z-index:-1;inset:0;background:rgba(255,255,255,.24);pointer-events:none}
.srfq-single-media .srfq-gallery-main .srfq-gallery-image{position:relative;z-index:1;display:block;width:100%;height:100%;min-height:300px;max-height:460px;object-fit:contain;border-radius:6px}
.srfq-single-media .srfq-gallery-main .srfq-gallery-image{display:block;width:100%;height:460px;max-height:460px;object-fit:contain;border-radius:6px}
.srfq-gallery-thumbnails{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.srfq-gallery-thumb{width:76px;height:76px;padding:4px;display:flex;align-items:center;justify-content:center;border:1px solid #ddd;border-radius:6px;background:#fff;cursor:pointer}
.srfq-gallery-thumb.is-active{border:2px solid #2271b1}
.srfq-gallery-thumb img{width:100%;height:100%;object-fit:contain;border-radius:3px}
.srfq-brand-archive{display:flex;align-items:start;gap:22px;margin:0 0 24px}
.srfq-brand-archive-logo{width:auto;max-width:180px;max-height:100px;object-fit:contain}
.srfq-brand-archive-description{min-width:0}
@media(max-width:600px){.srfq-gallery-main{min-height:210px}.srfq-gallery-thumb{width:62px;height:62px}.srfq-brand-archive{align-items:flex-start;flex-direction:column;gap:10px}}


/* v2.1.2: detail produk menggunakan proporsi media 60% dan informasi 40%. */
@media (min-width: 901px) {
  .srfq-single {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
    gap: 28px;
  }
  .srfq-single-media,
  .srfq-single-info { min-width: 0; }
  .srfq-single-info .srfq-specifications,
  .srfq-single-info .srfq-side-content { width: 100%; max-width: 100%; }
}


/* v2.1.3: tampilan modern untuk modal permintaan penawaran */
.srfq-modal-overlay {
  background: rgba(13, 27, 45, .68);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 18px;
}
.srfq-modal {
  box-sizing: border-box;
  width: min(100%, 540px);
  max-width: 540px;
  padding: 30px 28px 26px;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15,23,42,.24);
  color: #18324f;
  animation: srfqModalIn .18s ease-out;
}
#srfq-modal-title {
  margin: 0 42px 22px 0;
  color: #102c4c;
  font-size: clamp(23px, 4vw, 29px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.45px;
}
#srfq-modal-title:after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 12px;
  border-radius: 99px;
  background: #ff790f;
}
.srfq-modal-close {
  top: 13px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #66758a;
  font-size: 27px;
  line-height: 1;
  transition: background .18s ease, color .18s ease;
}
.srfq-modal-close:hover { background: #f1f5f9; color: #102c4c; }
#srfqQuoteForm .srfq-field { margin: 0 0 15px; }
#srfqQuoteForm .srfq-field label {
  display: block;
  margin: 0 0 7px;
  color: #263e59;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
#srfqQuoteForm .srfq-field input,
#srfqQuoteForm .srfq-field textarea,
#srfqQuoteForm .srfq-field select {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #d9e1ea;
  border-radius: 9px;
  background: #fff;
  color: #20364f;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(16,44,76,.025);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
#srfqQuoteForm .srfq-field input[readonly] { background: #f8fafc; color: #43566d; }
#srfqQuoteForm .srfq-field textarea { min-height: 112px; resize: vertical; }
#srfqQuoteForm .srfq-field input:focus,
#srfqQuoteForm .srfq-field textarea:focus,
#srfqQuoteForm .srfq-field select:focus {
  outline: none;
  border-color: #ff790f;
  box-shadow: 0 0 0 3px rgba(255,121,15,.15);
}
#srfqQuoteForm .srfq-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  margin-top: 3px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff8617, #f7680b);
  box-shadow: 0 7px 16px rgba(247,104,11,.2);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
#srfqQuoteForm .srfq-btn-primary:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 10px 20px rgba(247,104,11,.25); }
#srfqQuoteForm .srfq-btn-primary:disabled { opacity: .7; cursor: wait; transform: none; }
#srfq-msg { font-size: 14px; line-height: 1.5; }
/* Tombol WhatsApp dan permintaan penawaran memiliki lebar seimbang */
.srfq-single-actions { display: flex; align-items: stretch; gap: 10px; flex-wrap: nowrap; width: 100%; }
.srfq-single-actions .srfq-btn { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 0; min-width: 0; min-height: 44px; padding: 11px 12px; text-align: center; white-space: normal; line-height: 1.35; }
.srfq-single-actions .srfq-btn-wa { background: #16b95d; color: #fff; }
.srfq-single-actions .srfq-btn-form { background: #ff790f; color: #fff; }
.srfq-single-actions .srfq-btn .dashicons { flex: 0 0 auto; }
@keyframes srfqModalIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 600px) {
  .srfq-modal { padding: 25px 18px 20px; border-radius: 14px; max-height: 92vh; }
  #srfq-modal-title { margin-bottom: 19px; }
  .srfq-single-actions { gap: 8px; }
  .srfq-single-actions .srfq-btn { flex: 1 1 0; padding: 10px 7px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .srfq-modal { animation: none; }
  #srfqQuoteForm .srfq-btn-primary { transition: none; }
}

/* v2.1.5: kategori dan brand sejajar dengan label yang jelas */
.srfq-single-taxonomy-row,
.srfq-card-taxonomy-row { display:flex; align-items:flex-start; flex-wrap:wrap; gap:8px 20px; margin:0 0 20px; }
.srfq-single-taxonomy-row .srfq-meta-cats,
.srfq-card-taxonomy-row .srfq-card-cats,
.srfq-card-taxonomy-row .srfq-card-brands { margin:0; font-size:19px; line-height:1.6; text-transform:none; color:#596579; }
.srfq-single-taxonomy-row .srfq-meta-brands { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0; font-size:13px; }
.srfq-taxonomy-label { display:inline-block; color:#344054; font-weight:700; margin-right:4px; text-transform:none; }
.srfq-card-taxonomy-row a,
.srfq-single-taxonomy-row a { text-decoration:none; }
.srfq-cta-copy { color:#475467; font-size:14px; line-height:1.65; margin:7px 0 10px; padding:12px 14px; border:1px solid #f07816; background:#fff8f1; border-radius:0 6px 6px 0; }
.srfq-single-cta-copy { margin-top:18px; }
@media(max-width:600px) { .srfq-single-taxonomy-row,.srfq-card-taxonomy-row { gap:6px 14px; } }

/* v2.2.1: CTA arsip produk tepat di bawah gambar */
.srfq-card-actions-under-image {
  display:flex;
  align-items:stretch;
  gap:8px;
  padding:0 12px 12px;
  width:100%;
  box-sizing:border-box;
}
.srfq-card-actions-under-image .srfq-btn {
  display:inline-flex;
  flex:1 1 0;
  min-width:0;
  min-height:42px;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:9px 8px;
  border-radius:6px;
  text-align:center;
  line-height:1.3;
  font-size:13px;
  white-space:normal;
}
.srfq-card-actions-under-image .srfq-btn-wa { background:#16b95d; color:#fff; }
.srfq-card-actions-under-image .srfq-btn-form { background:#ff790f; color:#fff; }
@media(max-width:480px) {
  .srfq-card-actions-under-image { gap:6px; padding-left:8px; padding-right:8px; }
  .srfq-card-actions-under-image .srfq-btn { font-size:12px; padding:8px 5px; }
}


/* v2.2.2: Urutan kartu arsip:
   Logo Brand | Kategori -> Gambar -> Judul -> Tombol -> Status */
.srfq-card-taxonomy-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 46px;
  margin: 0;
  padding: 5px 14px;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  margin-bottom: 10px
}
.srfq-card-taxonomy-row.srfq-single-taxonomy-row {
    padding: 0;
}
.srfq-card-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}
.srfq-card-brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 38px;
}
.srfq-card-brand-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 82px;
  max-height: 38px;
  object-fit: contain;
}
.srfq-card-brand-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.srfq-card-brand-name a {
  text-decoration: none;
}
.srfq-card-brand-empty {
  color: #999;
  font-size: 12px;
}
.srfq-card-cats {
  min-width: 0;
  margin: 0;
  padding-left: 12px;
  border-left: 1px solid #ddd;
  font-size: 12px;
  line-height: 1.4;
  color: #0073aa;
  text-transform: none;
}
.srfq-card-cats a {
  text-decoration: none;
}
.srfq-card-image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 8px;
  background: #fff;
  box-sizing: border-box;
}
.srfq-card-image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}
.srfq-card-body {
  padding: 14px 16px 16px;
}
.srfq-card-body h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.35;
}
.srfq-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 0 12px;
}
.srfq-card-actions .srfq-btn {
  flex: 1 1 0;
  justify-content: center;
  min-width: 120px;
  text-align: center;
}
.srfq-card-status {
  margin-top: 0;
}
.srfq-card-status .srfq-status {
  display: inline-block;
}
@media (max-width: 600px) {
  .srfq-card-taxonomy-row {
    gap: 8px;
    padding: 8px 12px;
  }
  .srfq-card-brand-logo-link {
    width: 68px;
    height: 34px;
  }
  .srfq-card-brand-logo {
    max-width: 68px;
    max-height: 34px;
  }
  .srfq-card-image,
  .srfq-card-image img {
    min-height: 190px;
    height: 190px;
  }
  .srfq-card-body {
    padding: 12px;
  }
  .srfq-card-actions .srfq-btn {
    flex-basis: 100%;
  }
}

/* v2.2.3: Ikon CTA menggunakan inline SVG agar tidak bergantung pada Dashicons/font tema. */
.srfq-btn .srfq-icon,
.srfq-card-actions .srfq-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  vertical-align: middle;
}
.srfq-btn-wa .srfq-icon-whatsapp { width: 19px; height: 19px; }
.srfq-btn { align-items: center; }
.srfq-card-status { margin: 0 0 10px; }


/* v2.2.4: sticky info, full-width description, mobile fixed CTA */
@media (min-width: 901px) {
  .srfq-single-info { position: sticky; top: 110px; align-self: start; }
}
.srfq-product-description { width: 100%; max-width: 100%; box-sizing: border-box; grid-column: 1 / -1; }
.srfq-single { grid-template-rows: auto auto; }
.srfq-single-taxonomy-row .srfq-card-brand,
.srfq-single-taxonomy-row .srfq-meta-brands { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0; }
.srfq-single-taxonomy-row .srfq-card-brand-logo,
.srfq-single-taxonomy-row .srfq-brand-image { width:auto; max-width:110px; max-height:42px; object-fit:contain; }
@media (max-width: 767px) {
  body.single-rfq_product { padding-bottom: 86px; }
  body.single-rfq_product .srfq-single-info { position: static; }
  body.single-rfq_product .srfq-single-actions {
    position:fixed; left:0; right:0; bottom:0; z-index:99990;
    display:flex; flex-wrap:nowrap; gap:8px; margin-bottom:10px; padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.98); border-top:1px solid #e5e7eb;
    box-shadow:0 -5px 20px rgba(15,23,42,.10); box-sizing:border-box;
  }
  body.single-rfq_product .srfq-single-actions .srfq-btn {
    flex:1 1 0; min-width:0; min-height:46px; margin:0; padding:10px 8px;
    justify-content:center; font-size:13px; line-height:1.2; white-space:normal;
  }
  body.single-rfq_product .srfq-product-description { width:100%; }
}
.srfq-pagination { width:100%; margin:28px 0; clear:both; }
.srfq-pagination .page-numbers { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:7px; list-style:none; margin:0; padding:0; }
.srfq-pagination .page-numbers li { margin:0; }
.srfq-pagination .page-numbers a,.srfq-pagination .page-numbers span { display:inline-flex; min-width:38px; min-height:38px; align-items:center; justify-content:center; padding:6px 11px; border:1px solid #e1e5eb; border-radius:6px; text-decoration:none; }
.srfq-pagination .page-numbers .current { background:#0875b9; border-color:#0875b9; color:#fff; }


/* v2.2.5: konsistensi logo brand, deskripsi selebar gambar, dan sticky info */
.srfq-brand-archive-logo,
.srfq-single-info .srfq-card-brand-logo,
.srfq-single-info .srfq-brand-image {
  display: block;
  width: 180px;
  height: 100px;
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
}
.srfq-brand-archive-logo-wrap,
.srfq-single-info .srfq-card-brand-logo-link {
  display: inline-flex;
  width: 120px;
  height: auto;
  max-width: 100%;
  align-items: center;
  justify-content: flex-start;
}
.srfq-single { align-items: start; }
.srfq-single-media, .srfq-single-info { min-width: 0; }
.srfq-product-description { display: block; clear: both; width: 100%; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; margin: 28px 0 20px; }
.srfq-product-description img, .srfq-product-description video, .srfq-product-description iframe { max-width: 100%; }
.srfq-product-description table { max-width: 100%; }
@media (min-width: 901px) {
  .srfq-single-info { position: sticky; top: 32px; }
}
@media (max-width: 900px) {
  .srfq-single-info { position: static; }
  .srfq-brand-archive-logo,
  .srfq-single-info .srfq-card-brand-logo,
  .srfq-single-info .srfq-brand-image { width: 150px; height: 84px; }
  .srfq-brand-archive-logo-wrap,
  .srfq-single-info .srfq-card-brand-logo-link { width: 150px; height: 84px; }
}

/* Archive and shortcode category/brand filters + pagination */
.srfq-archive-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:0 0 24px;padding:16px;background:#f7f8fa;border:1px solid #0176fe29;border-radius:7px;}
.srfq-archive-filters label{display:flex;flex-direction:column;gap:6px;min-width:180px;flex:1 1 180px;margin:0;font-weight:600;font-size:14px;}
.srfq-archive-filters label span{display:block;}
.srfq-archive-filters select{width:100%;min-height:42px;padding:8px 12px;border:1px solid #d1d5db;border-radius:5px;background:#fff;color:#222;font:inherit;}
.srfq-archive-filters .srfq-btn{min-height:42px;padding:9px 18px;border:0;cursor:pointer;}
.srfq-filter-reset{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;color:#333;text-decoration:none;border:1px solid #d1d5db;border-radius:5px;background:#fff;}
.srfq-pagination{clear:both;width:100%;margin:28px 0;text-align:center;}
.srfq-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;list-style:none;margin:0;padding:0;}
.srfq-pagination li{margin:0;padding:0;}
.srfq-pagination a,.srfq-pagination span{display:flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:7px 12px;border:1px solid #e0e0e0;border-radius:5px;text-decoration:none;background:#fff;color:inherit;}
.srfq-pagination .current{background:#f58220;border-color:#f58220;color:#fff;}
@media(max-width:600px){.srfq-archive-filters{gap:10px;padding:12px}.srfq-archive-filters label{flex-basis:100%;}.srfq-archive-filters .srfq-btn,.srfq-filter-reset{flex:1;}}

/* v2.2.7: Arsip premium bergaya product card; kategori menjadi badge kanan atas. */
.srfq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.srfq-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: 410px;
  border-radius: 7px;
  overflow: hidden;
  background: #101722;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .16);
  transition: transform .22s ease, box-shadow .22s ease;
}
.srfq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16, 24, 40, .22);
}
.srfq-card > .srfq-card-taxonomy-row {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.srfq-card > .srfq-card-taxonomy-row .srfq-card-brand {
  max-width: 58%;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
}
.srfq-card > .srfq-card-taxonomy-row .srfq-card-brand-logo-link {
  width: auto;
  height: 30px;
}
.srfq-card > .srfq-card-taxonomy-row .srfq-card-brand-logo {
  max-width: 100px;
  max-height: 30px;
  object-fit: contain;
}
.srfq-card > .srfq-card-taxonomy-row .srfq-card-brand-name,
.srfq-card > .srfq-card-taxonomy-row .srfq-card-brand-name a {
  color: #171d28;
  font-size: 12px;
  font-weight: 800;
}
.srfq-card > .srfq-card-taxonomy-row .srfq-card-cats {
  max-width: 46%;
  margin: 0;
  padding: 11px 15px;
  border: 0;
  border-radius: 7px;
  background: #0176fe;
  color: #fff;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  text-transform: none;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}
.srfq-card > .srfq-card-taxonomy-row .srfq-card-cats a { color: inherit; }
.srfq-card .srfq-card-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block !important;
  min-height: 0;
  height: 100%;
  padding: 0;
  background: #e8edf2;
}
.srfq-card .srfq-card-image::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, rgba(7,13,23,0) 0%, rgba(7,13,23,.45) 35%, rgba(7,13,23,.97) 100%);
  pointer-events: none;
}
.srfq-card .srfq-card-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.srfq-card .srfq-card-body {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  padding: 20px;
  color: #fff;
  margin-bottom: 10px;
}
.srfq-card .srfq-card-status { margin: 0; line-height: 1; }
.srfq-card .srfq-card-status .srfq-status {
  padding: 5px 9px;
  border-radius: 999px;
  background: #ffe0e5;
  color: #c51f3a;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 800;
}
.srfq-card .srfq-card-status .srfq-status-ready { background: #d8f8e4; color: #08783c; }
.srfq-card .srfq-card-status .srfq-status-repair { background: #fff0c2; color: #8a5100; }
.srfq-card .srfq-card-body h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.02em;
}
.srfq-card .srfq-card-body h3 a { color: #fff; text-decoration: none; }
.srfq-card .srfq-card-body h3 a:hover { color: #ffd28a; }
.srfq-card .srfq-card-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  width: 100%;
  margin: 2px 0 0;
}
.srfq-card .srfq-card-actions .srfq-btn {
  flex: 1 1 50%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 7px;
  border: 0;
  border-radius: 9px;
  justify-content: center;
  gap: 5px;
  color: #fff;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 800;
  white-space: normal;
  text-align: center;
}
.srfq-card .srfq-card-actions .srfq-btn-wa { background: #13c85a; }
.srfq-card .srfq-card-actions .srfq-btn-form { background: #0879ed; }
.srfq-card .srfq-card-actions .srfq-icon { width: 17px; height: 17px; flex: 0 0 17px; }
.srfq-card:not(:has(.srfq-card-image)) { padding-top: 65px; }
@media (max-width: 1024px) {
  .srfq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srfq-card { height: 390px; }
}
@media (max-width: 600px) {
  .srfq-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 16px; }
  .srfq-card { height: min(124vw, 430px); min-height: 365px; border-radius: 7px; }
  .srfq-card .srfq-card-body { padding: 17px 12px 12px; gap: 8px; }
  .srfq-card .srfq-card-body h3 { font-size: 20px; }
  .srfq-card .srfq-card-actions .srfq-btn { min-height: 42px; font-size: 11px; }
}
