/* =========================================================
   TOYBOX CATALOGUE PRO - UNIVERSAL THEME-SAFE STYLES
   Prefix: tc9x-
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@500;600;700;800&display=swap');

/* ---------- 1. CATEGORY INDEX GRID ([tc9x_category_grid]) ---------- */
#tc9x-catalog-wrapper {
  --tc9x-font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --tc9x-border-color: #cfd5dd;
  --tc9x-text-dark: #1f2937;
  font-family: var(--tc9x-font);
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 12px 24px;
  box-sizing: border-box;
}

#tc9x-catalog-wrapper *,
#tc9x-catalog-wrapper *::before,
#tc9x-catalog-wrapper *::after,
.tc9x-page-wrap *,
.tc9x-page-wrap *::before,
.tc9x-page-wrap *::after {
  box-sizing: border-box;
}

#tc9x-catalog-wrapper .tc9x-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: clamp(18px, 2.6vw, 44px);
  row-gap: 18px;
}

#tc9x-catalog-wrapper a.tc9x-card,
#tc9x-catalog-wrapper a.tc9x-card:visited,
#tc9x-catalog-wrapper a.tc9x-card:hover,
#tc9x-catalog-wrapper a.tc9x-card:focus,
#tc9x-catalog-wrapper a.tc9x-card:active {
  --tc9x-accent: #e31c23;
  position: relative;
  display: block;
  width: 100%;
  height: 102px;
  text-decoration: none !important;
  color: var(--tc9x-text-dark) !important;
  cursor: pointer;
  z-index: 1;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#tc9x-catalog-wrapper a.tc9x-card:hover,
#tc9x-catalog-wrapper a.tc9x-card:focus-visible {
  z-index: 20;
  transform: translateY(-3px);
}

#tc9x-catalog-wrapper .tc9x-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 2px solid var(--tc9x-border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#tc9x-catalog-wrapper a.tc9x-card:hover .tc9x-card-inner,
#tc9x-catalog-wrapper a.tc9x-card:focus-visible .tc9x-card-inner {
  border-color: var(--tc9x-accent);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

#tc9x-catalog-wrapper .tc9x-animal-head {
  position: absolute;
  top: 0;
  left: 52%;
  width: 64px;
  height: 46px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 14px) scale(0.82);
  transition: transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

#tc9x-catalog-wrapper a.tc9x-card:hover .tc9x-animal-head,
#tc9x-catalog-wrapper a.tc9x-card:focus-visible .tc9x-animal-head {
  opacity: 1;
  transform: translate(-50%, -33px) scale(1);
}

#tc9x-catalog-wrapper .tc9x-animal-paws {
  position: absolute;
  top: -6px;
  left: 52%;
  width: 64px;
  height: 16px;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px) scale(0.8);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.04s, opacity 0.18s ease 0.04s;
}

#tc9x-catalog-wrapper a.tc9x-card:hover .tc9x-animal-paws,
#tc9x-catalog-wrapper a.tc9x-card:focus-visible .tc9x-animal-paws {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

#tc9x-catalog-wrapper .tc9x-animal-head svg,
#tc9x-catalog-wrapper .tc9x-animal-paws svg {
  width: 100%;
  height: 100%;
  display: block;
}

#tc9x-catalog-wrapper .tc9x-left-panel {
  width: 27%;
  min-width: 88px;
  background-color: var(--tc9x-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  position: relative;
  flex-shrink: 0;
}

#tc9x-catalog-wrapper .tc9x-left-panel::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 9px solid var(--tc9x-accent);
  z-index: 2;
}

#tc9x-catalog-wrapper .tc9x-left-panel svg {
  width: 66px;
  height: 66px;
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.14));
  transition: transform 0.28s ease;
}

#tc9x-catalog-wrapper a.tc9x-card:hover .tc9x-left-panel svg {
  transform: scale(1.08);
}

#tc9x-catalog-wrapper .tc9x-mid-panel {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 12px 10px 12px 18px;
  background: #ffffff;
}

#tc9x-catalog-wrapper .tc9x-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

#tc9x-catalog-wrapper .tc9x-num {
  font-size: clamp(22px, 1.9vw, 29px);
  font-weight: 800;
  color: var(--tc9x-text-dark) !important;
  line-height: 1;
}

#tc9x-catalog-wrapper .tc9x-divider {
  width: 2.5px;
  height: 32px;
  background: #d1d5db;
  flex-shrink: 0;
}

#tc9x-catalog-wrapper h3.tc9x-title {
  font-family: var(--tc9x-font) !important;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 800;
  color: var(--tc9x-text-dark) !important;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0 !important;
  padding: 0 !important;
}

#tc9x-catalog-wrapper .tc9x-right-panel {
  width: 28%;
  min-width: 86px;
  border-left: 1.5px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
  overflow: hidden;
}

#tc9x-catalog-wrapper .tc9x-right-panel img {
  max-width: 100% !important;
  max-height: 86px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block;
}

@media (min-width: 981px) and (max-width: 1180px) {
  #tc9x-catalog-wrapper .tc9x-grid { column-gap: 16px; }
  #tc9x-catalog-wrapper a.tc9x-card { height: 94px; }
  #tc9x-catalog-wrapper .tc9x-left-panel { width: 72px; min-width: 72px; padding: 6px; }
  #tc9x-catalog-wrapper .tc9x-left-panel svg { width: 54px; height: 54px; }
  #tc9x-catalog-wrapper .tc9x-mid-panel { padding: 10px 8px 10px 15px; }
  #tc9x-catalog-wrapper .tc9x-title-row { gap: 7px; }
  #tc9x-catalog-wrapper .tc9x-num { font-size: 20px; }
  #tc9x-catalog-wrapper h3.tc9x-title { font-size: 10.5px; }
  #tc9x-catalog-wrapper .tc9x-right-panel { width: 74px; min-width: 74px; padding: 4px; }
}

@media (max-width: 980px) {
  #tc9x-catalog-wrapper .tc9x-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-auto-flow: row;
    gap: 20px 16px;
  }
}

@media (max-width: 767px) {
  #tc9x-catalog-wrapper .tc9x-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
    gap: 18px;
  }
}

@media (max-width: 390px) {
  #tc9x-catalog-wrapper a.tc9x-card { height: 88px; }
  #tc9x-catalog-wrapper .tc9x-left-panel { width: 74px; min-width: 74px; padding: 6px; }
  #tc9x-catalog-wrapper .tc9x-left-panel svg { width: 50px; height: 50px; }
  #tc9x-catalog-wrapper .tc9x-num { font-size: 21px; }
  #tc9x-catalog-wrapper h3.tc9x-title { font-size: 12px; }
  #tc9x-catalog-wrapper .tc9x-right-panel { width: 78px; min-width: 78px; }
}

/* ---------- 2. SHARED INNER PAGE LAYOUT (THEME-NEUTRAL) ---------- */
.tc9x-page-wrap {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #f8fafc;
  color: #1e293b;
  padding-bottom: 64px;
  display: block;
  width: 100%;
  line-height: 1.5;
}

.tc9x-page-wrap button,
.tc9x-page-wrap input,
.tc9x-page-wrap select,
.tc9x-page-wrap textarea {
  font-family: inherit;
}

.tc9x-container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 18px;
}

.tc9x-cat-hero {
  background: linear-gradient(135deg, var(--tc9x-accent) 0%, #1e293b 160%);
  color: #ffffff;
  padding: 34px 0 38px;
  position: relative;
}

.tc9x-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.tc9x-breadcrumb a {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: 600;
}

.tc9x-breadcrumb-dark {
  color: #64748b;
  padding-top: 26px;
  margin-bottom: 18px;
}

.tc9x-breadcrumb-dark a:hover {
  color: var(--tc9x-accent) !important;
}

.tc9x-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tc9x-hero-num {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.tc9x-hero-title {
  color: #ffffff !important;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.15;
}

.tc9x-hero-desc {
  margin: 8px 0 0 !important;
  max-width: 680px;
  font-size: 14.5px;
  opacity: 0.94;
}

.tc9x-hero-count {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 12px 20px;
  text-align: center;
}

.tc9x-hero-count strong { display: block; font-size: 26px; line-height: 1; }
.tc9x-hero-count span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

.tc9x-cat-switcher-wrap {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}

.tc9x-cat-switcher {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.tc9x-cat-pill {
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155 !important;
  background: #f1f5f9;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.tc9x-cat-pill:hover,
.tc9x-cat-pill.is-active {
  background: var(--pill-color);
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.tc9x-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.tc9x-search-box { flex: 1 1 280px; max-width: 440px; }

.tc9x-search-box input,
.tc9x-toolbar-right select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  background: #ffffff;
  color: #1e293b;
}

.tc9x-toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tc9x-toolbar-right select { width: auto; min-width: 150px; }

.tc9x-view-toggle {
  display: inline-flex;
  background: #e2e8f0;
  padding: 3px;
  border-radius: 10px;
}

.tc9x-view-btn {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
}

.tc9x-view-btn.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* ---------- 3. PRODUCT CARDS ---------- */
.tc9x-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tc9x-products-grid.is-list-view {
  grid-template-columns: 1fr;
  gap: 12px;
}

.tc9x-prod-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tc9x-prod-card:hover {
  transform: translateY(-4px);
  border-color: var(--tc9x-accent);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.tc9x-prod-top { padding: 16px 16px 8px; }
.tc9x-prod-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tc9x-prod-title { margin: 0 !important; padding: 0 !important; font-size: 18px; font-weight: 800; line-height: 1.25; }
.tc9x-prod-title a { color: #3b82f6 !important; text-decoration: none !important; }
.tc9x-prod-title a:hover { text-decoration: underline !important; }

.tc9x-pack-pill {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  padding: 3px 10px;
  border-radius: 999px;
}

.tc9x-prod-sku { font-size: 14px; font-weight: 700; color: #1e293b; margin-top: 3px; }

.tc9x-prod-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  height: 220px;
  background: #ffffff;
}

.tc9x-prod-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tc9x-prod-card:hover .tc9x-prod-img-wrap img { transform: scale(1.05); }

.tc9x-prod-wave-footer {
  margin-top: auto;
  background: #dbeafe;
  border-top: 2px solid #bfdbfe;
  padding: 14px 16px;
}

.tc9x-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: #1e293b;
}

.tc9x-card-spec-item span { color: #475569; }
.tc9x-card-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.tc9x-btn-add-basket {
  background: #0f172a;
  color: #ffffff;
  border: 0;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tc9x-btn-add-basket:hover { background: var(--tc9x-accent); }
.tc9x-btn-details { font-size: 12.5px; font-weight: 800; color: #1d4ed8 !important; text-decoration: none !important; }

.tc9x-products-grid.is-list-view .tc9x-prod-card { flex-direction: row; align-items: center; border-radius: 14px; }
.tc9x-products-grid.is-list-view .tc9x-prod-img-wrap { width: 110px; height: 90px; flex-shrink: 0; order: -1; }
.tc9x-products-grid.is-list-view .tc9x-prod-top { flex: 1 1 auto; }
.tc9x-products-grid.is-list-view .tc9x-prod-wave-footer { margin-top: 0; border-top: 0; border-left: 1px solid #bfdbfe; min-width: 280px; }

@media (max-width: 980px) {
  .tc9x-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc9x-products-grid.is-list-view .tc9x-prod-card { flex-direction: column; align-items: stretch; }
  .tc9x-products-grid.is-list-view .tc9x-prod-img-wrap { width: 100%; height: 180px; order: 0; }
}

@media (max-width: 640px) {
  .tc9x-products-grid { grid-template-columns: 1fr; }
}

/* ---------- 4. SINGLE PRODUCT PAGE ---------- */
.tc9x-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.tc9x-main-stage {
  position: relative;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
}

.tc9x-main-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.25s ease; cursor: zoom-in; }
.tc9x-main-stage.is-zoomed img { transform: scale(1.7); cursor: zoom-out; }

.tc9x-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 11px;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  pointer-events: none;
}

.tc9x-thumb-strip { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.tc9x-thumb-btn { width: 72px; height: 72px; border: 2px solid #e2e8f0; border-radius: 10px; background: #ffffff; padding: 4px; cursor: pointer; }
.tc9x-thumb-btn.is-active { border-color: var(--tc9x-accent); }
.tc9x-thumb-btn img { width: 100%; height: 100%; object-fit: contain; }

.tc9x-badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

.tc9x-cat-tag {
  background: var(--tc9x-accent);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tc9x-spec-pill {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.tc9x-single-title { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; color: #0f172a !important; margin: 0 0 10px !important; padding: 0 !important; line-height: 1.2; }

.tc9x-sku-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}

.tc9x-copy-sku { background: #e2e8f0; border: 0; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; }

.tc9x-spec-card { border: 1.5px solid #bfdbfe; border-radius: 14px; overflow: hidden; margin-bottom: 22px; }
.tc9x-spec-card-header { background: #dbeafe; color: #1e3a8a; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; padding: 9px 14px; }
.tc9x-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #ffffff; }
.tc9x-spec-cell { padding: 10px 14px; border-top: 1px solid #eff6ff; border-right: 1px solid #eff6ff; }
.tc9x-spec-lbl { display: block; font-size: 11.5px; color: #64748b; }
.tc9x-spec-val { font-size: 14px; color: #0f172a; }

.tc9x-cta-block,
.tc9x-market-block { margin-bottom: 20px; }
.tc9x-cta-title { font-size: 12px; font-weight: 800; text-transform: uppercase; color: #64748b; letter-spacing: 0.5px; margin-bottom: 8px; }
.tc9x-cta-row,
.tc9x-market-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.tc9x-qty-wrap { display: flex; align-items: center; border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 4px 10px; gap: 6px; }
.tc9x-qty-wrap label { font-size: 12px; font-weight: 700; color: #475569; margin: 0; }
.tc9x-qty-wrap input { width: 54px; border: 0; font-size: 14px; font-weight: 700; text-align: center; background: transparent; }

.tc9x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.18s ease, opacity 0.2s ease;
}

.tc9x-btn:hover { transform: translateY(-1px); opacity: 0.94; }
.tc9x-btn-primary { background: #0f172a; color: #ffffff !important; }
.tc9x-btn-wa { background: #16a34a; color: #ffffff !important; }
.tc9x-btn-amazon { background: #ff9900; color: #111827 !important; }
.tc9x-btn-flipkart { background: #2874f0; color: #ffffff !important; }
.tc9x-btn-custom { background: #6366f1; color: #ffffff !important; }

.tc9x-single-desc { border-top: 1px solid #e2e8f0; padding-top: 16px; margin-top: 16px; }
.tc9x-single-desc h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px !important; }

.tc9x-related-section { margin-top: 40px; }
.tc9x-related-section h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.tc9x-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tc9x-rel-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; text-decoration: none !important; color: inherit !important; transition: transform 0.2s ease; }
.tc9x-rel-card:hover { transform: translateY(-3px); }
.tc9x-rel-img { height: 150px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.tc9x-rel-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tc9x-rel-meta { padding: 10px 12px; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.tc9x-rel-meta span { font-size: 11px; color: #64748b; font-weight: 700; }
.tc9x-rel-meta h4 { margin: 2px 0 0 !important; font-size: 14px; font-weight: 800; }

@media (max-width: 900px) {
  .tc9x-single-grid { grid-template-columns: 1fr; padding: 18px; }
  .tc9x-main-stage { height: 310px; }
  .tc9x-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 5. FLOATING ENQUIRY BASKET DRAWER ---------- */
.tc9x-basket-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99990;
  background: #0f172a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.28);
  cursor: pointer;
}

.tc9x-fab-count {
  background: #ef4444;
  color: #ffffff;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 0 6px;
}

.tc9x-basket-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 99991;
  display: none;
}

.tc9x-basket-backdrop.is-open { display: block; }

.tc9x-basket-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #ffffff;
  z-index: 99992;
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', sans-serif;
  transition: right 0.3s ease;
}

.tc9x-basket-drawer.is-open { right: 0; }
.tc9x-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid #e2e8f0; }
.tc9x-drawer-header h3 { margin: 0 !important; font-size: 17px; font-weight: 800; }
.tc9x-drawer-header button { background: #f1f5f9; border: 0; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.tc9x-drawer-body { padding: 16px 18px; overflow-y: auto; flex: 1 1 auto; }
.tc9x-basket-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.tc9x-basket-item img { width: 50px; height: 50px; object-fit: contain; border: 1px solid #e2e8f0; border-radius: 8px; }
.tc9x-basket-meta { flex: 1 1 auto; font-size: 12.5px; }
.tc9x-basket-meta strong { display: block; font-size: 13px; }
.tc9x-basket-qty { width: 50px; padding: 4px; border: 1px solid #cbd5e1; border-radius: 6px; text-align: center; }
.tc9x-basket-del { background: transparent; border: 0; color: #dc2626; font-size: 18px; cursor: pointer; }
.tc9x-enquiry-form { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.tc9x-enquiry-form h4 { margin: 0 0 4px !important; font-size: 14px; font-weight: 800; }
.tc9x-enquiry-form input, .tc9x-enquiry-form textarea { width: 100%; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 13px; }
.tc9x-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tc9x-drawer-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.tc9x-enquiry-status { font-size: 13px; font-weight: 700; margin-top: 4px; }
.tc9x-empty { text-align: center; padding: 48px 20px; background: #ffffff; border-radius: 16px; border: 1px dashed #cbd5e1; font-weight: 700; color: #64748b; }