/* ==============================================
   COMPONENTS.CSS — Shuttle Theme
   Reusable UI components: cards, badges, buttons,
   drawer, homepage modules.
   Extracted from style-shadow.css
   ============================================== */

/* ═══════════════════════════════════════════════════════════════════
   SECTION 30A — PRODUCT CARD: tilbe-anasayfa01 (Custom Card)
   Template: liste-kartim.twig
   Consolidated from style.css lines 13787–13903, 17040–17045, 17111–17125
   ═══════════════════════════════════════════════════════════════════ */

/* ── Card Structure ── */
.tilbe-anasayfa01-card-product {
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.tilbe-anasayfa01-card-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,.15);
}

/* ── Badges: Kargo + Teslimat ── */
.tilbe-anasayfa01-free-cargo-badge,
.tilbe-anasayfa01-hizli-teslimat {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #27ae60;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.tilbe-anasayfa01-hizli-teslimat { top: 30px; }

/* ── Image & Carousel ── */
.tilbe-anasayfa01-carousel,
.tilbe-anasayfa01-image-wrapper { position: relative; }

.tilbe-anasayfa01-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.tilbe-anasayfa01-carousel-item { display: none; width: 100%; }
.tilbe-anasayfa01-carousel-item.active { display: block; }

/* ── Carousel Controls (A11y reset) ── */
.tilbe-anasayfa01-carousel-control-prev,
.tilbe-anasayfa01-carousel-control-next {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #333;
  font-size: 16px;
  opacity: .7;
  transition: opacity .2s;
}
.tilbe-anasayfa01-carousel-control-prev:hover,
.tilbe-anasayfa01-carousel-control-next:hover { opacity: 1; }
.tilbe-anasayfa01-carousel-control-prev { left: 4px; }
.tilbe-anasayfa01-carousel-control-next { right: 4px; }

/* ── Title ── */
.tilbe-anasayfa01-itlewrtwrts {
  font-size: 12px;
  font-weight: 400;
  color: #333;
  margin: 10px 0;
}

/* ── Brand / Product Code / Barcode ── */
.tilbe-anasayfa01-barcode,
.tilbe-anasayfa01-brand,
.tilbe-anasayfa01-product-code {
  font-size: 12px;
  color: #666;
  margin: 5px 0;
}

/* ── Price Group (final computed values) ── */
.tilbe-anasayfa01-price-group { margin-top: 10px; }

.tilbe-anasayfa01-list-price {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}
.tilbe-anasayfa01-sale-price {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

/* ── Product Label ── */
.tilbe-anasayfa01-urun-etiketi img { width: 24px; height: auto; }

/* ── Discount Percentage Badge ── */
.tilbe-card-discount-pct {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.2;
}

/* ── Add-to-Cart Button ── */
.tilbe-card-addcart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 12px;
  margin-top: 8px;
  background: var(--main-color, #ff6000);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.tilbe-card-addcart:hover { background: #e55500; transform: translateY(-1px); }
.tilbe-card-addcart:active { transform: translateY(0); }
.tilbe-card-addcart i { font-size: 14px; }

/* ── Out of Stock ── */
.tilbe-card-outofstock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 12px;
  margin-top: 8px;
  background: #f3f4f6;
  color: #9ca3af;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Mobile: Larger Add-to-Cart ── */
@media (max-width: 576px) {
  .tilbe-card-addcart { padding: 12px; font-size: 14px; border-radius: 10px; }
  .tilbe-card-addcart i { font-size: 16px; }
}



/* ═══════════════════════════════════════════════════════════════════
   SECTION 30B — PRODUCT CARD: card-product (Platform Card)
   Templates: kart.twig, anasayfa_kart.twig, kat-ozel-kart.twig
   Consolidated from 15+ scattered locations in style.css
   ═══════════════════════════════════════════════════════════════════ */

/* ── Card Structure ── */
.card-product {
  border-radius: 15px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

.card-product .card-product-inner {
  overflow: hidden;
  border-radius: 15px;
  padding: 0 !important;
  border: 1px solid #e9e9e9;
}

/* ── Image Wrapper ── */
.cp-image-wrapper {
  position: relative;
  overflow: hidden;
  display: block;
}
.cp-img-link { display: block; }
.cp-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Image Zoom */
.cp-image-wrapper .image img,
.cp-image-wrapper .image .lazy {
  transition: transform 0.42s cubic-bezier(0.25,0.46,0.45,0.94);
  display: block;
  width: 100%;
}
.card-product:hover .cp-image-wrapper .image img,
.card-product:hover .cp-image-wrapper .image .lazy {
  transform: scale(1.05);
}

/* Platform image wrapper (aspect-ratio 2:3) */
.card-product .card-product-inner .image-wrapper .image {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-product .card-product-inner .image-wrapper .image img {
  transform: scale(1);
  transition: all .4s;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-product:hover .card-product-inner .image-wrapper .image img {
  transform: scale(1.04);
  transition: all .4s;
}

/* ── Favorite Button ── */
.cp-fav {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 10;
}
.cp-fav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  font-size: 14px;
  color: #888;
  text-decoration: none;
  transition: color 0.18s, box-shadow 0.18s;
}
.cp-fav a:hover,
.cp-fav a.active {
  color: #e53935;
  box-shadow: 0 4px 14px rgba(229,57,53,0.28);
}

/* ── Hover Overlay ── */
.cp-hover-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  z-index: 9;
  pointer-events: none;
}
.card-product:hover .cp-hover-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Overlay Buttons ── */
.cp-overlay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s ease, opacity 0.14s ease;
  white-space: nowrap;
  border: none;
  letter-spacing: 0.2px;
}
.cp-overlay-btn i { font-size: 11px; }

.cp-overlay-btn--cart { background: var(--main-color, #ff6000); color: #fff; }
.cp-overlay-btn--cart:hover { background: #e55500; color: #fff; transform: scale(1.02); }

.cp-overlay-btn--examine {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.cp-overlay-btn--examine:hover { background: rgba(255,255,255,0.28); color: #fff; transform: scale(1.02); }

.cp-overlay-btn--disabled {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Badge Strip ── */
.cp-badge-strip {
  min-height: 30px;
  padding: 5px 10px;
  background: #f8f8f8;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.cp-badge i { font-size: 10px; }
.cp-badge--coksatan { background: #ff7f46; color: #fff; }
.cp-badge--flash    { background: #e53935; color: #fff; }
.cp-badge--firsat   { background: #0d9969; color: #fff; }
.cp-badge--hediye   { background: #7c3aed; color: #fff; }
.cp-badge--kampanya { background: #1c7ad2; color: #fff; }
.cp-badge--kargo    { background: #00897b; color: #fff; }
.cp-badge--genel    { background: #546e7a; color: #fff; }

/* ── Unit ── */
.cp-unit { font-size: 10px; color: #9ca3af; padding: 3px 12px 0; }

/* ── Out of Stock Card ── */
.card-product.stok-out-card .cp-image-wrapper .image img {
  filter: grayscale(30%);
  opacity: 0.85;
}

/* ── Title ── */
.itlewrtwrts {
  max-width: 100%;
  line-height: 14px;
  height: 30px;
  font-weight: 400;
  font-size: 11px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: block;
  text-align: left;
  background-color: #fff;
  z-index: 9999;
  padding: 2px 7px;
}

/* ── Price Group (platform) ── */
.card-product .card-product-inner .price-group {
  display: flex;
  font-weight: 400;
  height: auto;
  justify-content: center;
  align-items: center;
  color: #333;
  margin-top: 4px !important;
}
.card-product .card-product-inner .price-group .prices {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-product .card-product-inner .price-group .prices .sale-price {
  font-size: 16px;
  color: #f27a1a;
  margin-left: 2px;
  font-weight: 600;
}
.card-product .card-product-inner .price-group .prices .list-price {
  font-size: 12px;
  color: #a7a7a7;
  font-weight: 400;
  text-decoration: line-through !important;
}
.card-product .card-product-inner .price-group .prices .sale-price-2 {
  color: #a7a7a7 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

/* ── Card Price (new layout) ── */
.card-product .card-price {
  margin-top: 6px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 52px;
}
.card-product .card-discount-badge {
  min-width: 44px;
  padding: 6px;
  border-radius: 6px;
  background: #fbe9e7;
  color: #f27a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 13px;
  font-weight: 700;
}
.card-product .card-discount-badge::after {
  content: "İNDİRİM";
  margin-top: 2px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .3px;
  line-height: 1;
}
.card-product .card-prices {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.card-product .card-old-price {
  font-size: 12px;
  color: #bdbdbd;
  text-decoration: line-through;
  font-weight: 400;
}
.card-product .card-sale-price {
  font-size: 19px;
  font-weight: 600;
  color: #f27a1a;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.card-product .card-sale-price.line-through {
  font-size: 13px;
  color: #bdbdbd;
  text-decoration: line-through;
  font-weight: 400;
  letter-spacing: 0;
}

/* ── Out of Stock Overlay ── */
.card-product .it-over {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: rgb(255 255 255 / 80%);
  color: #fff;
  height: 50px;
  cursor: pointer;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ── Carousel Controls ── */
.card-product .carousel-control-prev i,
.card-product .carousel-control-next i {
  padding: 5px;
  background: #fff;
  font-size: 18px;
  color: #000;
}

/* ── Overlay Button Animations ── */
.card-product .buttons-wrapper.right-to-left {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.card-product:hover .buttons-wrapper.right-to-left {
  opacity: 1;
  transform: translateX(0);
}
.card-product .buttons-wrapper.down-to-top {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.card-product:hover .buttons-wrapper.down-to-top {
  opacity: 1;
  transform: translateY(0);
}

/* ── Skeleton Loading ── */
@keyframes th-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.card-product.th-skeleton .image,
.card-product.th-skeleton .itlewrtwrts,
.card-product.th-skeleton .card-sale-price,
.card-product.th-skeleton .card-discount-badge {
  background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%) !important;
  background-size: 400px 100% !important;
  animation: th-shimmer 1.4s infinite linear;
  border-radius: 6px;
  color: transparent !important;
  border-color: transparent !important;
}
.card-product.th-skeleton .image { min-height: 200px; }
.card-product.th-skeleton .itlewrtwrts { height: 14px; margin: 8px 0; }
.card-product.th-skeleton .card-sale-price { height: 18px; width: 70px; }

/* ── Responsive: 480px ── */
@media (max-width: 480px) {
  .cp-title      { font-size: 12px; }
  .cp-price-now  { font-size: 15px; }
  .cp-overlay-btn { font-size: 11px; padding: 7px 12px; }
  .card-product .buttons .btn-cart { font-size: 12px; }
}

/* ── Cargo Badge (merged from 3 identical @485/400/354px queries) ── */
@media (max-width: 485px) {
  .pattern-group-body .card-product .card-product-inner .free-cargo-badge {
    align-items: center;
    border-radius: 3px;
    background: #0bc15c;
    color: #fff;
    display: flex;
    font-size: 6px;
    font-weight: 400;
    height: 13px;
    justify-content: center;
    line-height: 8px;
    position: absolute;
    right: 5px; left: 5px; top: 5px;
    text-align: center;
    width: 50px;
    z-index: 1;
  }
}



/* ═══════════════════════════════════════════════════════════════════
   SECTION 31 — C7-1: PRODUCT CARD UX ENGINE
   Hover overlay wiring, keyboard a11y, fav premium, old-button hide
   ═══════════════════════════════════════════════════════════════════ */

/* ── Image wrapper: positioned context for overlays ── */
.card-product .image-wrapper { position: relative; overflow: hidden; }

/* ── Fav button: premium circle (cp-fav wraps .product-favourite-kart) ── */
.card-product .cp-fav {
  position: absolute; top: 10px; right: 10px; z-index: 10;
}
.card-product .cp-fav .product-favourite-kart { margin: 0; }
.card-product .cp-fav .product-favourite-kart a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  font-size: 15px; color: #999;
  text-decoration: none;
  transition: color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.card-product .cp-fav .product-favourite-kart a:hover {
  color: #e53935;
  box-shadow: 0 4px 14px rgba(229,57,53,0.28);
  transform: scale(1.1);
}

/* ── Desktop: hide old button systems when overlay present ── */
@media (min-width: 769px) {
  .cp-hover-overlay ~ .buttons-wrapper { display: none !important; }
}

/* ── Focus-visible: keyboard navigation ── */
.cp-overlay-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.card-product .cp-fav a:focus-visible {
  outline: 2px solid var(--main-color, #ff6000);
  outline-offset: 2px;
}

/* ── Overlay visible on keyboard focus-within ── */
.card-product:focus-within .cp-hover-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Mobile: hide hover overlay (touch uses inline CTA) ── */
@media (max-width: 768px) {
  .card-product .cp-hover-overlay { display: none !important; }
}



/* ═══════════════════════════════════════════════════════════════════
   SECTION 34 — C7-5: ADD TO CART DRAWER
   ═══════════════════════════════════════════════════════════════════ */

/* --- Overlay --- */
.th-cd-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 10000;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.th-cd-overlay.th-cd-open {
  opacity: 1; visibility: visible;
}

/* --- Drawer panel --- */
.th-cd {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 92vw;
  background: #fff;
  z-index: 10001;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,.12);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.th-cd.th-cd-open {
  transform: translateX(0);
}

/* --- Header --- */
.th-cd-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: #f0fdf4;
  border-bottom: 1px solid #d1fae5;
  flex-shrink: 0;
}
.th-cd-success {
  font-size: 14px; font-weight: 600; color: #16a34a;
  display: flex; align-items: center; gap: 8px;
}
.th-cd-success i { font-size: 18px; }
.th-cd-close {
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #6b7280; font-size: 16px;
  transition: background .2s, color .2s;
}
.th-cd-close:hover { background: #f3f4f6; color: #111827; }

/* --- Body --- */
.th-cd-body {
  flex: 1; overflow-y: auto; padding: 20px;
}

/* Added product */
.th-cd-product-inner {
  display: flex; gap: 14px; padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6; margin-bottom: 16px;
}
.th-cd-product-img {
  width: 80px; height: 80px; object-fit: contain;
  border-radius: 8px; border: 1px solid #f3f4f6; background: #fafafa;
  flex-shrink: 0;
}
.th-cd-product-name {
  font-size: 14px; font-weight: 500; color: #1f2937;
  line-height: 1.4; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.th-cd-product-price {
  font-size: 16px; font-weight: 700; color: var(--main-color, #ff6000);
}

/* Shipping */
.th-cd-ship-ok {
  background: #f0fdf4; border-radius: 8px; padding: 10px 14px;
  font-size: 13px; font-weight: 600; color: #16a34a;
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}

/* Summary */
.th-cd-summary {
  background: #f9fafb; border-radius: 10px; padding: 14px 16px;
}
.th-cd-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: #374151;
}
.th-cd-summary-row strong {
  font-size: 18px; font-weight: 700; color: #111827;
}

/* --- Footer --- */
.th-cd-footer {
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
  display: flex; flex-direction: column; gap: 10px;
  flex-shrink: 0;
}
.th-cd-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: none;
  transition: background .2s, transform .1s;
  text-decoration: none; text-align: center;
}
.th-cd-btn:active { transform: scale(.98); }
.th-cd-btn--cart {
  background: var(--main-color, #ff6000); color: #fff;
}
.th-cd-btn--cart:hover { background: var(--main-color2, #e55500); color: #fff; }
.th-cd-btn--continue {
  background: #f3f4f6; color: #374151;
}
.th-cd-btn--continue:hover { background: #e5e7eb; }

/* --- Mobile --- */
@media (max-width: 576px) {
  .th-cd { width: 100%; max-width: 100%; }
}



/* ═══════════════════════════════════════════════════════════════════
   SECTION 36 — C7-7: HOMEPAGE MODULES (Story Bar + Trust Badges)
   ═══════════════════════════════════════════════════════════════════ */

/* --- Story Category Bar --- */
.th-story-bar {
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}
.th-story-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.th-story-track::-webkit-scrollbar { display: none; }
.th-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform .2s ease;
}
.th-story-item:hover { transform: translateY(-3px); }
.th-story-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--main-color, #ff6000), #ff9a44, var(--main-color2, #ff6f61));
  padding: 3px;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow .25s ease;
}
.th-story-item:hover .th-story-ring {
  box-shadow: 0 4px 16px rgba(255, 96, 0, .3);
}
.th-story-ring img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid #fff;
}
.th-story-ring i {
  color: #fff; font-size: 20px;
}
.th-story-name {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .th-story-track { gap: 14px; padding: 4px 16px; }
  .th-story-ring { width: 56px; height: 56px; }
  .th-story-ring img { width: 48px; height: 48px; }
}

/* --- Trust Badges Strip --- */
.th-trust-strip {
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 24px 0;
}
.th-trust-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.th-trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}
.th-trust-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255, 96, 0, .08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.th-trust-icon i {
  font-size: 20px;
  color: var(--main-color, #ff6000);
}
.th-trust-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
}
.th-trust-text span {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .th-trust-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 576px) {
  .th-trust-inner { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
  .th-trust-icon { width: 40px; height: 40px; border-radius: 10px; }
  .th-trust-icon i { font-size: 16px; }
  .th-trust-text strong { font-size: 13px; }
  .th-trust-text span { font-size: 11px; }
}

/* --- Category icon circle: theme color override --- */
.category-icon-circle {
  background: rgba(255, 96, 0, .08);
  color: var(--main-color, #ff6000);
}
.category-icon-item:hover .category-icon-circle {
  background: var(--main-color, #ff6000);
  color: #fff;
}
.category-icon-circle.new {
  background: rgba(255, 96, 0, .12);
  color: var(--main-color, #ff6000);
}
.category-icon-item:hover .category-icon-circle.new {
  background: var(--main-color, #ff6000);
  color: #fff;
}

/* =============================================
