/* v1.1.1: only extended TSCC full-size cards. Never style cart rows or icon trays. */
html body.ts-card-grid-bridge main .wd-products-element:has(.tscc-card) {
  align-self: flex-start !important;
  min-height: 0 !important;
  height: auto !important;
}
html body.ts-card-grid-bridge main .wd-products-element:has(.tscc-card) .wd-carousel-wrap {
  height: auto !important;
  min-height: 0 !important;
  align-items: stretch !important;
}
html body.ts-card-grid-bridge main .wd-carousel-item:has(> .tscc-card) {
  display: flex !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: stretch !important;
}
html body.ts-card-grid-bridge main .tscc-card {
  --tscc-fit-height: 160px;
  width: 100%;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin-bottom: 0 !important;
  align-self: stretch !important;
  display: flex !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-card-wrapper {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 1px solid #e5e9ef !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}
html body.ts-card-grid-bridge main .tscc-card:hover .tscc-card-wrapper {
  border-color: #b8cdea !important;
  box-shadow: 0 4px 12px rgba(28,53,91,.06) !important;
  transform: none !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-card-media {
  flex: 0 0 var(--tscc-fit-height) !important;
  height: var(--tscc-fit-height) !important;
  min-height: var(--tscc-fit-height) !important;
  max-height: var(--tscc-fit-height) !important;
  margin: 0 !important;
  padding: 10px !important;
  background: #fff !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-card-media > .product-image-link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: none !important;
  transform: none !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-card-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 12px !important;
}
html body.ts-card-grid-bridge main .tscc-card .wd-entities-title {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  min-height: 2.9em !important;
  max-height: none !important;
  height: auto !important;
  margin: 0 !important;
  color: var(--wd-title-color, #30343a) !important;
}
html body.ts-card-grid-bridge main .tscc-card .wd-entities-title a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  white-space: normal !important;
  overflow: hidden !important;
  line-height: inherit !important;
}
html body.ts-card-grid-bridge main .tscc-card :is(.wrap-price,.price,.wrapp-product-price) {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}
html body.ts-card-grid-bridge main .tscc-card .price .woocommerce-Price-amount {
  display: inline-block;
  white-space: nowrap;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-purchase {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-variation-controls {
  gap: 8px !important;
  padding: 9px !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-select-value {
  white-space: normal !important;
  line-height: 1.35 !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-select-trigger {
  height: auto !important;
  min-height: 36px !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-step-label {
  font-size: 10px !important;
  line-height: 1.4 !important;
}
/* Read-only specifications use the same two-row rhythm as real selectors.
   Existing text nodes and values are preserved. No fake select or disabled field. */
html body.ts-card-grid-bridge main .tscc-card .tscc-mode-simple :is(.tscc-fixed-specs-r1, .tsm-card-platform-box) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  flex: 0 0 auto !important;
  gap: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 9px !important;
  padding: 9px !important;
  background: #f7f9fc !important;
  border: 1px solid #edf1f5 !important;
  border-radius: 11px !important;
  box-shadow: none !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-mode-simple .tsm-card-platform-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-mode-simple .tsm-card-platform-box > .tsm-card-platform-row {
  margin-top: 0 !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-mode-simple .tscc-fixed-caption-r1,
html body.ts-card-grid-bridge main .tscc-card .tscc-mode-simple .tsm-card-platform-row > strong {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 3px !important;
  padding: 0 !important;
  color: #31445f !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  white-space: normal !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-mode-simple .tscc-fixed-value-r1,
html body.ts-card-grid-bridge main .tscc-card .tscc-mode-simple .tsm-card-platform-value {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 36px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 9px !important;
  color: var(--wd-title-color, #30343a) !important;
  background: #fff !important;
  border: 1px solid #dbe2eb !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-sizing: border-box !important;
  cursor: text !important;
}
/* Match the existing 9px/7px control-panel padding on narrow screens. */
@media (max-width: 600px) {
  html body.ts-card-grid-bridge main .tscc-card .tscc-mode-simple :is(.tscc-fixed-specs-r1, .tsm-card-platform-box) {
    margin-bottom: 7px !important;
    padding: 7px !important;
    border-radius: 9px !important;
  }
}
html body.ts-card-grid-bridge main .tscc-card .tscc-actions {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) !important;
  gap: 6px !important;
  margin: auto 0 0 !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-button {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 38px !important;
  height: auto !important;
  padding: 9px 6px !important;
  font-size: 12px !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-legacy-hidden,
html body.ts-card-grid-bridge main .tscc-card .tscc-purchase [hidden] {
  display: none !important;
}
/* Hide only an explicitly empty rating, not genuine reviews. */
html body.ts-card-grid-bridge main .tscc-card .tscc-rating-row[aria-label="Henüz değerlendirme yok"] {
  display: none !important;
}
html body.ts-card-grid-bridge main .tscc-card .tscc-button-primary:disabled {
  background: #b8c0cb !important;
  border-color: #b8c0cb !important;
  color: #fff !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}
@media (max-width: 600px) {
  html body.ts-card-grid-bridge main .tscc-card { --tscc-fit-height: 138px; }
  html body.ts-card-grid-bridge main .tscc-card .tscc-card-content { padding: 10px !important; }
  html body.ts-card-grid-bridge main .tscc-card .wd-entities-title { font-size: 13px !important; }
  html body.ts-card-grid-bridge main .tscc-card .tscc-variation-controls { padding: 7px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body.ts-card-grid-bridge main .tscc-card .tscc-card-wrapper { transition: none !important; }
}
