/**
 * Overlay 20260901c — không Vite, không đụng index-BWYG2CSd.css.
 * Thông số đi theo card mọi trang + lệch dưới banner cam cố định.
 */

:root {
  --giasy-specs-fade: linear-gradient(180deg, #7dd3fc 0%, #bae6fd 32%, #e0f2fe 68%, #f0f9ff 100%);
  --giasy-sticky-offset: 96px;
}

html {
  scroll-padding-top: calc(var(--giasy-sticky-offset, 96px) + 16px);
}

table[data-giasy-spec-filter="1"] thead th,
html.storefront-root table[data-giasy-spec-filter="1"] thead th {
  background: #e0f2fe var(--giasy-specs-fade) !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

html.storefront-root .spec-value-btn,
.spec-value-btn {
  display: inline-flex !important;
  position: relative;
  z-index: 5;
  max-width: 100%;
  align-items: center;
  cursor: pointer !important;
  pointer-events: auto !important;
  margin: 0;
  padding: 3px 9px !important;
  border: 1px solid #0284c7 !important;
  border-radius: 999px !important;
  background: #e0f2fe !important;
  color: #0c4a6e !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: left;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  box-shadow: 0 1px 0 #7dd3fc;
}

html.storefront-root .spec-value-btn:hover,
.spec-value-btn:hover {
  background: #bae6fd !important;
  border-color: #0369a1 !important;
  color: #082f49 !important;
}

html[data-giasy-spec-search="1"] #site-sticky-header,
html[data-giasy-spec-search="1"] header.saas-sticky-header,
html.storefront-root[data-giasy-spec-search="1"] #site-sticky-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
}

#giasy-spec-filter-results {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  padding-top: 12px;
}

html[data-giasy-spec-search="1"] #giasy-spec-filter-results {
  position: fixed !important;
  top: var(--giasy-sticky-offset, 96px) !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #f4f9fb;
  padding-top: 12px !important;
}

#giasy-spec-filter-results[hidden] {
  display: none !important;
}

.giasy-spec-filter-panel {
  max-width: 1180px;
  margin: 0 auto 20px;
  padding: 16px 18px 12px;
  background: #ffffff;
  border: 1px solid #0284c7;
  border-radius: 12px;
  color: #122033;
  box-shadow: 0 8px 24px rgba(8, 47, 73, 0.08);
}

.giasy-spec-filter-panel h1 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.3;
  color: #0b4f6a;
}

.giasy-spec-filter-panel > p {
  margin: 0 0 14px;
  color: #475569;
}

.giasy-spec-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.giasy-spec-filter-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d7e8ef;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: #122033;
}

.giasy-spec-filter-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #f4f9fb;
  border-radius: 8px;
}

.giasy-spec-filter-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.giasy-spec-filter-card > span {
  color: #0b4f6a;
  font-weight: 700;
}

.giasy-product-specs,
.giasy-spec-filter-card .giasy-product-specs,
article .giasy-product-specs,
[class*="product-card"] .giasy-product-specs,
[class*="ProductCard"] .giasy-product-specs {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0 0;
  padding: 8px;
  border: 1px solid #d7e8ef;
  border-radius: 8px;
  background: #f8fcff;
  list-style: none;
  visibility: visible !important;
  opacity: 1 !important;
}

.giasy-product-specs li {
  display: flex;
  gap: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #334155;
}

.giasy-product-specs li b {
  flex: 0 0 auto;
  color: #0b4f6a;
  font-weight: 700;
}

.giasy-product-specs li.is-match {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 6px;
  padding: 3px 6px;
  color: #9a3412;
}

.giasy-product-specs li.is-match b {
  color: #c2410c;
}

.giasy-product-specs[data-specs-pending="1"] {
  color: #64748b;
  font-size: 12px;
}

html.storefront-root[data-giasy-spec-search="1"] .text-center.py-12 {
  display: none !important;
}
