.tstore-page{--is-border:rgba(15,23,42,.10);--is-muted:#64748b;--is-soft:#f8fafc;--is-dark:#0f172a;--is-yellow:#ffcd00}.tstore-page .card,.tstore-card{background:#fff;border:1px solid var(--is-border);border-radius:18px;padding:20px;box-shadow:0 12px 32px rgba(15,23,42,.06)}.tstore-grid{display:grid;gap:18px}.tstore-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tstore-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tstore-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.tstore-stat{background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid var(--is-border);border-radius:18px;padding:18px}.tstore-stat span{display:block;color:var(--is-muted);font-size:13px}.tstore-stat strong{display:block;color:var(--is-dark);font-size:30px;margin-top:8px}.tstore-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tstore-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tstore-field label{display:block;font-size:13px;font-weight:700;margin:0 0 6px;color:#334155}.tstore-field input,.tstore-field select,.tstore-field textarea{width:100%;border:1px solid #d8dee8;border-radius:12px;padding:11px 12px;font:inherit;background:#fff;color:#111827}.tstore-field textarea{min-height:96px}.tstore-table{width:100%;border-collapse:separate;border-spacing:0}.tstore-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;text-align:left;border-bottom:1px solid #e5e7eb;padding:12px}.tstore-table td{padding:13px 12px;border-bottom:1px solid #eef2f7;vertical-align:top}.tstore-table tr:hover td{background:#fafafa}.tstore-muted{color:var(--is-muted)}.tstore-small{font-size:12px}.tstore-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.tstore-pill-warning{background:#fff7ed;color:#c2410c}.tstore-pill-info{background:#eff6ff;color:#1d4ed8}.tstore-pill-success{background:#ecfdf5;color:#047857}.tstore-pill-danger{background:#fef2f2;color:#b91c1c}.tstore-pill-muted{background:#f1f5f9;color:#475569}.tstore-alert{border-radius:14px;padding:12px 14px;margin:0 0 16px;font-weight:600}.tstore-alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.tstore-alert-success{background:#ecfdf5;color:#065f46;border:1px solid #bbf7d0}.tstore-card-stack{display:grid;gap:12px}.tstore-total{font-size:24px;font-weight:900;color:#111827}.tstore-kpi-note{font-size:12px;color:#64748b;margin-top:4px}.tstore-client-shell{min-height:100vh;background:radial-gradient(circle at top left,#fff7d6,transparent 32%),linear-gradient(180deg,#0b0d12,#111827);padding:26px;color:#0f172a}.tstore-client-wrap{max-width:1120px;margin:0 auto}.tstore-client-top{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#fff;margin-bottom:22px}.tstore-client-top a{color:#fff;text-decoration:none}.tstore-client-brand strong{font-size:22px}.tstore-client-brand span{display:block;color:#cbd5e1;font-size:13px}.tstore-client-card{background:#fff;border-radius:22px;padding:22px;box-shadow:0 24px 60px rgba(0,0,0,.22);margin-bottom:18px}.tstore-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tstore-item{border:1px solid #e5e7eb;border-radius:18px;padding:16px;background:#fff}.tstore-item h3{margin:0 0 8px}.tstore-item .price{font-size:20px;font-weight:900}.tstore-login{max-width:460px;margin:8vh auto}.tstore-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tstore-photo-grid img{width:100%;height:130px;object-fit:cover;border-radius:14px;border:1px solid #e5e7eb}@media(max-width:900px){.tstore-grid-2,.tstore-grid-3,.tstore-grid-4,.tstore-form-grid,.tstore-catalog,.tstore-photo-grid{grid-template-columns:1fr}.tstore-client-shell{padding:14px}.tstore-client-top{align-items:flex-start;flex-direction:column}}

/* Transagro Store Client Portal - Premium Patch */
body.tstore-client-shell {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255,205,0,.22), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(255,255,255,.08), transparent 32rem),
    linear-gradient(180deg, #07090f, #111827) !important;
  color: #f8fafc !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  padding: 28px !important;
}

.tstore-client-wrap {
  max-width: 1180px !important;
  margin: 0 auto !important;
}

.tstore-client-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-bottom: 42px !important;
  color: #f8fafc !important;
}

.tstore-client-brand strong {
  display: block !important;
  font-size: 30px !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  color: #ffffff !important;
}

.tstore-client-brand span {
  display: block !important;
  margin-top: 7px !important;
  color: #aeb4c2 !important;
  font-size: 14px !important;
}

.tstore-client-top .tstore-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.tstore-client-top .tstore-actions a {
  padding: 10px 15px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.045) !important;
  color: #cbd5e1 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.tstore-client-top .tstore-actions a:hover {
  color: #ffffff !important;
  border-color: rgba(255,205,0,.45) !important;
  background: rgba(255,205,0,.08) !important;
}

.tstore-client-card {
  background: linear-gradient(145deg, rgba(22,25,35,.97), rgba(12,14,22,.97)) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255,205,0,.28) !important;
  border-radius: 28px !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.48) !important;
  padding: 28px !important;
}

.tstore-login {
  max-width: 560px !important;
  margin: 90px auto 0 !important;
  padding: 44px !important;
}

.tstore-client-card h1,
.tstore-client-card h2,
.tstore-client-card h3 {
  color: #ffffff !important;
  letter-spacing: -0.04em !important;
}

.tstore-login h1 {
  margin: 0 0 10px !important;
  font-size: 44px !important;
}

.tstore-muted {
  color: #aeb4c2 !important;
}

.tstore-field {
  margin-bottom: 18px !important;
}

.tstore-field label {
  display: block !important;
  margin-bottom: 8px !important;
  color: #cbd5e1 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
}

.tstore-field input,
.tstore-field select,
.tstore-field textarea {
  width: 100% !important;
  border: 1px solid rgba(255,205,0,.30) !important;
  background: rgba(255,255,255,.055) !important;
  color: #f8fafc !important;
  border-radius: 16px !important;
  padding: 15px 16px !important;
  font: inherit !important;
  outline: none !important;
}

.tstore-field input:focus,
.tstore-field select:focus,
.tstore-field textarea:focus {
  border-color: #ffcd00 !important;
  box-shadow: 0 0 0 4px rgba(255,205,0,.12) !important;
}

.tstore-field input::placeholder,
.tstore-field textarea::placeholder {
  color: rgba(203,213,225,.55) !important;
}

.tstore-client-card .btn,
.tstore-client-card button,
.tstore-client-card .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 24px !important;
  background: linear-gradient(135deg, #ffcd00, #ffe066) !important;
  color: #17120a !important;
  font-weight: 950 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 14px 32px rgba(255,205,0,.16) !important;
}

.tstore-client-card .btn-secondary,
.tstore-client-card .btn-ghost {
  background: rgba(255,255,255,.06) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: none !important;
}

.tstore-table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.tstore-table th,
.tstore-table td {
  color: #f8fafc !important;
  padding: 14px 12px !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.tstore-table th {
  color: #aeb4c2 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
}

.tstore-table tr:hover td {
  background: rgba(255,255,255,.035) !important;
}

.tstore-stat,
.tstore-item {
  background: rgba(255,255,255,.045) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 20px !important;
}

.tstore-stat span,
.tstore-item .tstore-muted {
  color: #aeb4c2 !important;
}

.tstore-stat strong,
.tstore-item .price {
  color: #ffcd00 !important;
}

.tstore-alert,
.tstore-alert-error {
  background: rgba(255,95,109,.12) !important;
  color: #ffd5d8 !important;
  border: 1px solid rgba(255,95,109,.26) !important;
  border-radius: 16px !important;
}

.tstore-alert-success {
  background: rgba(34,197,94,.12) !important;
  color: #bbf7d0 !important;
  border: 1px solid rgba(34,197,94,.26) !important;
}

@media (max-width: 820px) {
  body.tstore-client-shell {
    padding: 18px !important;
  }

  .tstore-client-top {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .tstore-login {
    margin-top: 40px !important;
    padding: 28px !important;
  }

  .tstore-login h1 {
    font-size: 36px !important;
  }
}

/* Transagro Store v15 - final presentation cleanup */
body.tstore-client-shell.tstore-transagro-brand,
body.tstore-public-login.tstore-transagro-brand {
  background:
    radial-gradient(circle at 82% 0%, rgba(151,215,0,.08), transparent 24rem),
    radial-gradient(circle at 8% 10%, rgba(47,78,163,.07), transparent 24rem),
    linear-gradient(135deg, #eef4fb 0%, #e8eef7 48%, #f8fbff 100%) !important;
  color: #00104f !important;
}

body.tstore-public-login .tstore-client-wrap {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 72px 24px 36px !important;
}

body.tstore-public-login .tstore-login-shell {
  width: min(100%, 620px) !important;
  margin: 0 auto !important;
  display: block !important;
}

body.tstore-public-login .tstore-login-shell .tstore-login {
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  padding: clamp(34px, 5vw, 56px) !important;
  border: 1px solid rgba(0,20,137,.14) !important;
  border-radius: 32px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 28px 80px rgba(0,20,137,.14) !important;
}

body.tstore-public-login .tstore-login-brandmark {
  gap: 18px !important;
  margin-bottom: 24px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid rgba(0,20,137,.10) !important;
}

body.tstore-public-login .tstore-login-brandmark img {
  width: 168px !important;
  max-height: 82px !important;
  object-fit: contain !important;
}

body.tstore-public-login .tstore-login-brandmark span {
  color: #001489 !important;
  font-weight: 950 !important;
}

body.tstore-public-login .tstore-card-kicker {
  background: rgba(255,205,0,.16) !important;
  color: #001489 !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
}

body.tstore-public-login .tstore-login-shell .tstore-field input,
.tstore-transagro-brand .tstore-field input,
.tstore-transagro-brand .tstore-field select,
.tstore-transagro-brand .tstore-field textarea,
.tstore-order-panel .tstore-field input,
.tstore-order-panel .tstore-field select,
.tstore-order-panel .tstore-field textarea,
.tstore-item input[type="number"] {
  box-sizing: border-box !important;
  width: 100% !important;
  border: 1px solid rgba(0,20,137,.18) !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #00104f !important;
  box-shadow: none !important;
}

.tstore-transagro-brand .tstore-field textarea,
.tstore-order-panel .tstore-field textarea {
  min-height: 132px !important;
  resize: vertical;
}

.tstore-order-panel .tstore-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: start !important;
}

.tstore-order-panel .tstore-field-wide {
  grid-column: 1 / -1 !important;
}

.tstore-side-user {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
}

.tstore-side-user div {
  min-width: 0 !important;
}

.tstore-side-user strong,
.tstore-side-user small {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.tstore-client-content {
  padding-bottom: 48px !important;
}

@media (max-width: 760px) {
  .tstore-order-panel .tstore-form-grid {
    grid-template-columns: 1fr !important;
  }

  body.tstore-public-login .tstore-client-wrap {
    align-items: flex-start !important;
    padding-top: 72px !important;
  }
}

/* Transagro Store product polish */
.tstore-page {
  --tstore-gold: #ffcd00;
  --tstore-ink: #101827;
  --tstore-green: #1f6f4a;
}

.tstore-page .section-header {
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255,205,0,.22), transparent 20rem),
    linear-gradient(135deg, #0f172a, #182235);
  color: #fff;
  padding: 24px !important;
  margin-bottom: 22px;
}

.tstore-page .section-header .text-muted,
.tstore-page .section-header .eyebrow {
  color: rgba(255,255,255,.72) !important;
}

.tstore-page .section-header h1 {
  color: #fff;
}

.tstore-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 10px;
  background: rgba(255,205,0,.12);
  color: #ffcd00;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tstore-policy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  background: #fff8e5;
  color: #5f4300;
  font-weight: 800;
}

.tstore-policy input {
  margin-top: 3px;
}

.tstore-policy-text {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #f3d58b;
  border-radius: 16px;
  background: #fffbeb;
  color: #6b4e00;
  font-size: 13px;
  line-height: 1.55;
}

.tstore-client-card .tstore-policy,
.tstore-client-card .tstore-policy-text {
  color: #f8fafc;
  background: rgba(255,205,0,.10);
  border-color: rgba(255,205,0,.24);
}

/* Transagro Store v4 - clearer product split and Creative Hub style */
.tstore-gateway-shell {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 14% 12%, rgba(255,205,0,.26), transparent 28rem),
    radial-gradient(circle at 86% 80%, rgba(255,255,255,.08), transparent 30rem),
    #07090f;
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  color: #f8fafc;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tstore-gateway {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.tstore-gateway-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: end;
  border: 1px solid rgba(255,205,0,.25);
  border-radius: 34px;
  padding: 42px;
  background: linear-gradient(145deg, rgba(23,26,36,.95), rgba(9,11,18,.96));
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
}

.tstore-gateway-mark,
.tstore-client-label {
  margin: 0 0 14px;
  color: #ffcd00;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tstore-gateway h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .9;
  letter-spacing: -.07em;
}

.tstore-gateway p {
  max-width: 680px;
  color: #b7bfce;
  font-size: 18px;
  line-height: 1.65;
}

.tstore-gateway-mini,
.tstore-balance-card,
.tstore-shop-summary {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255,255,255,.055);
}

.tstore-gateway-mini span,
.tstore-balance-card span,
.tstore-shop-summary span {
  display: block;
  color: #aeb4c2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tstore-gateway-mini strong,
.tstore-balance-card strong,
.tstore-shop-summary strong {
  display: block;
  margin-top: 10px;
  color: #ffcd00;
  font-size: 30px;
  letter-spacing: -.04em;
}

.tstore-gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.tstore-gateway-card {
  display: block;
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  background: rgba(255,255,255,.055);
  color: #f8fafc;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.tstore-gateway-card.primary {
  border-color: rgba(255,205,0,.38);
  background:
    radial-gradient(circle at top right, rgba(255,205,0,.22), transparent 18rem),
    rgba(255,255,255,.06);
}

.tstore-gateway-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,205,0,.55);
  background: rgba(255,255,255,.075);
}

.tstore-gateway-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffcd00, #ffe066);
  color: #17120a;
  font-weight: 950;
}

.tstore-gateway-card h2 {
  margin: 24px 0 10px;
  color: #fff;
  font-size: 34px;
  letter-spacing: -.05em;
}

.tstore-gateway-card strong {
  display: inline-flex;
  margin-top: 18px;
  color: #ffcd00;
}

body.tstore-client-shell {
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 0 0, rgba(255,205,0,.24), transparent 30rem),
    linear-gradient(180deg, #07090f, #101827) !important;
  background-size: 48px 48px, 48px 48px, auto, auto !important;
}

.tstore-client-brand {
  color: #fff !important;
  text-decoration: none !important;
}

.tstore-client-hero,
.tstore-shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.tstore-client-hero h1,
.tstore-shop-hero h1 {
  margin: 0 0 12px !important;
  font-size: clamp(38px, 5vw, 62px);
  line-height: .95;
}

.tstore-client-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tstore-balance-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(255,205,0,.26), transparent 14rem),
    rgba(255,255,255,.055);
}

.tstore-balance-card strong {
  font-size: 42px;
}

.tstore-balance-card p,
.tstore-shop-summary p {
  margin: 10px 0 0;
  color: #b7bfce;
  line-height: 1.55;
}

.tstore-client-metrics {
  margin: 18px 0;
}

.tstore-flow-card h2,
.tstore-section-title h2 {
  margin: 0;
}

.tstore-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tstore-flow-steps div {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,.04);
}

.tstore-flow-steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,205,0,.16);
  color: #ffcd00;
  font-weight: 950;
}

.tstore-flow-steps strong {
  display: block;
  margin-top: 14px;
  color: #fff;
}

.tstore-flow-steps p {
  margin: 7px 0 0;
  color: #aeb4c2;
  line-height: 1.5;
}

.tstore-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.tstore-shop-form {
  display: contents;
}

.tstore-shop-summary {
  text-align: left;
}

.tstore-catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin: 18px 0;
}

.tstore-item {
  overflow: hidden;
  padding: 0 !important;
  background: linear-gradient(145deg, rgba(22,25,35,.97), rgba(12,14,22,.97)) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}

.tstore-item-media {
  height: 150px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,205,0,.35), transparent 8rem),
    rgba(255,255,255,.045);
}

.tstore-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tstore-item-media.empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tstore-item-media.empty span {
  display: inline-flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffcd00, #ffe066);
  color: #17120a;
  font-size: 34px;
  font-weight: 950;
}

.tstore-item-body {
  padding: 18px;
}

.tstore-item-meta {
  margin: 0 0 8px;
  color: #ffcd00;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tstore-item-body h3 {
  min-height: 56px;
}

.tstore-item-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0;
}

.tstore-item-bottom span {
  color: #aeb4c2;
  font-size: 12px;
  text-align: right;
}

.tstore-qty-field {
  margin-bottom: 0 !important;
}

.tstore-order-panel {
  margin-top: 18px;
}

.tstore-field-wide {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .tstore-gateway-hero,
  .tstore-gateway-grid,
  .tstore-client-hero,
  .tstore-shop-hero,
  .tstore-flow-steps,
  .tstore-catalog {
    grid-template-columns: 1fr !important;
  }

  .tstore-gateway {
    padding: 36px 0;
  }

  .tstore-gateway-hero {
    padding: 28px;
  }

  .tstore-section-title {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Transagro Store v5 - CH OS inspired CTN sidebar */
body.tstore-client-shell.tstore-client-app {
  padding: 0 !important;
  overflow-x: hidden;
}

.tstore-client-app .tstore-client-wrap {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  margin: 0 !important;
}

.tstore-client-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 0 0, rgba(255,205,0,.18), transparent 14rem),
    rgba(8,10,16,.94);
  padding: 18px 12px;
}

.tstore-side-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tstore-side-logo {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffcd00, #ffe066);
  color: #17120a;
  font-weight: 950;
  letter-spacing: -.04em;
}

.tstore-side-brand strong {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.tstore-side-brand small,
.tstore-side-user small {
  display: block;
  color: #8f98aa;
  font-size: 11px;
}

.tstore-side-pill {
  width: fit-content;
  margin: 12px 4px 20px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255,205,0,.14);
  color: #ffcd00;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tstore-side-nav {
  display: grid;
  gap: 10px;
}

.tstore-side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 11px 12px;
  background: rgba(255,255,255,.035);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.tstore-side-nav a span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,205,0,.12);
  color: #ffcd00;
  font-size: 10px;
  font-weight: 950;
}

.tstore-side-nav a.active,
.tstore-side-nav a:hover {
  border-color: rgba(255,205,0,.55);
  background: rgba(255,205,0,.10);
  color: #fff;
}

.tstore-side-user {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  margin-top: auto;
  padding: 12px 8px 2px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.tstore-side-user > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(255,205,0,.18);
  color: #ffcd00;
  font-weight: 950;
}

.tstore-side-user strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tstore-side-user a {
  color: #8f98aa;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.tstore-side-user a:hover {
  color: #ffcd00;
}

.tstore-client-main {
  min-width: 0;
}

.tstore-client-appbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8,10,16,.82);
  padding: 0 24px;
  backdrop-filter: blur(18px);
}

.tstore-client-appbar span {
  display: block;
  color: #8f98aa;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tstore-client-appbar strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.tstore-appbar-admin {
  border: 1px solid rgba(255,205,0,.30);
  border-radius: 999px;
  padding: 8px 13px;
  color: #ffcd00;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.tstore-client-content {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 54px;
}

.tstore-client-app .tstore-client-card {
  margin-bottom: 20px !important;
}

.tstore-client-app .tstore-client-hero,
.tstore-client-app .tstore-shop-hero {
  min-height: 250px;
  border-radius: 30px !important;
}

.tstore-client-app .tstore-client-hero h1,
.tstore-client-app .tstore-shop-hero h1 {
  max-width: 760px;
}

.tstore-client-app .tstore-stat {
  min-height: 112px;
}

@media (max-width: 860px) {
  .tstore-client-app .tstore-client-wrap {
    grid-template-columns: 1fr;
  }

  .tstore-client-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .tstore-side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tstore-side-user {
    margin-top: 18px;
  }

  .tstore-client-content {
    width: min(100% - 28px, 1280px);
    padding-top: 22px;
  }
}

/* Transagro brand pass - based on transagro.com.py */
.tstore-transagro-brand {
  --ta-blue: #001489;
  --ta-blue-strong: #001489;
  --ta-blue-dark: #00115f;
  --ta-blue-deep: #000b3d;
  --ta-yellow: #ffcd00;
  --ta-yellow-soft: #fff3b8;
  --ta-green: #97d700;
  --ta-ink: #071241;
  --ta-muted: #55627f;
  --ta-line: #dfe5f2;
  --ta-bg: #f5f7fb;
  --ta-card: #ffffff;
}

body.tstore-client-shell.tstore-transagro-brand {
  background:
    radial-gradient(circle at 82% 6%, rgba(151,215,0,.14), transparent 24rem),
    radial-gradient(circle at 10% 0, rgba(255,205,0,.22), transparent 22rem),
    linear-gradient(180deg, #dfe7f4, #edf2f8) !important;
  color: var(--ta-ink) !important;
}

.tstore-transagro-brand .tstore-client-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.tstore-transagro-brand .tstore-client-brand img {
  display: block;
  width: 168px;
  max-height: 58px;
  object-fit: contain;
}

.tstore-transagro-brand .tstore-client-brand span {
  color: var(--ta-blue) !important;
  font-weight: 900;
}

.tstore-transagro-brand .tstore-login {
  background: var(--ta-card) !important;
  color: var(--ta-ink) !important;
  border: 1px solid rgba(52,79,160,.14) !important;
  box-shadow: 0 28px 80px rgba(23,37,94,.16) !important;
}

.tstore-transagro-brand .tstore-login h1,
.tstore-transagro-brand .tstore-login h2,
.tstore-transagro-brand .tstore-login h3 {
  color: var(--ta-blue-dark) !important;
}

.tstore-transagro-brand .tstore-login .tstore-muted,
.tstore-transagro-brand .tstore-muted {
  color: var(--ta-muted) !important;
}

.tstore-transagro-brand .tstore-login .tstore-field label {
  color: var(--ta-blue-dark) !important;
}

.tstore-transagro-brand .tstore-login .tstore-field input,
.tstore-transagro-brand .tstore-login .tstore-field select,
.tstore-transagro-brand .tstore-login .tstore-field textarea {
  background: #fff !important;
  color: var(--ta-ink) !important;
  border-color: rgba(52,79,160,.22) !important;
}

.tstore-transagro-brand .tstore-client-sidebar {
  background:
    radial-gradient(circle at 0 0, rgba(255,205,0,.22), transparent 14rem),
    linear-gradient(180deg, var(--ta-blue-deep), var(--ta-blue-dark));
  border-right: 1px solid rgba(255,255,255,.13);
}

.tstore-transagro-brand .tstore-side-brand {
  gap: 12px;
}

.tstore-transagro-brand .tstore-side-brand img {
  width: 86px;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}

.tstore-transagro-brand .tstore-side-brand strong {
  color: #fff;
  font-size: 12px;
}

.tstore-transagro-brand .tstore-side-brand small,
.tstore-transagro-brand .tstore-side-user small {
  color: rgba(255,255,255,.68);
}

.tstore-transagro-brand .tstore-side-pill {
  background: rgba(255,205,0,.16);
  color: var(--ta-yellow);
}

.tstore-transagro-brand .tstore-side-nav a {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.82);
}

.tstore-transagro-brand .tstore-side-nav a span {
  background: rgba(255,205,0,.16);
  color: var(--ta-yellow);
}

.tstore-transagro-brand .tstore-side-nav a.active,
.tstore-transagro-brand .tstore-side-nav a:hover {
  border-color: rgba(255,205,0,.72);
  background: rgba(255,205,0,.13);
  color: #fff;
}

.tstore-transagro-brand .tstore-side-user {
  border-top-color: rgba(255,255,255,.12);
}

.tstore-transagro-brand .tstore-side-user > span {
  background: var(--ta-yellow);
  color: var(--ta-blue-deep);
}

.tstore-transagro-brand .tstore-client-appbar {
  background: rgba(10,23,72,.92);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(23,37,94,.14);
}

.tstore-transagro-brand .tstore-client-appbar span {
  color: rgba(255,255,255,.66);
}

.tstore-transagro-brand .tstore-client-appbar strong {
  color: #fff;
}

.tstore-transagro-brand .tstore-appbar-admin {
  border-color: rgba(255,205,0,.30);
  color: #fff;
  background: rgba(255,255,255,.06);
}

.tstore-transagro-brand .tstore-client-card,
.tstore-transagro-brand .tstore-item {
  background: linear-gradient(180deg, #fbfcff, #f7faff) !important;
  color: var(--ta-ink) !important;
  border: 1px solid rgba(52,79,160,.13) !important;
  box-shadow: 0 18px 54px rgba(23,37,94,.10) !important;
}

.tstore-transagro-brand .tstore-client-card h1,
.tstore-transagro-brand .tstore-client-card h2,
.tstore-transagro-brand .tstore-client-card h3,
.tstore-transagro-brand .tstore-item h3 {
  color: var(--ta-blue-dark) !important;
}

.tstore-transagro-brand .tstore-client-label,
.tstore-transagro-brand .tstore-item-meta,
.tstore-transagro-brand .tstore-gateway-mark {
  color: var(--ta-blue) !important;
}

.tstore-transagro-brand .tstore-balance-card,
.tstore-transagro-brand .tstore-shop-summary,
.tstore-transagro-brand .tstore-stat,
.tstore-transagro-brand .tstore-flow-steps div {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(242,246,255,.96)) !important;
  border: 1px solid rgba(52,79,160,.16) !important;
  color: var(--ta-ink) !important;
  box-shadow: 0 12px 34px rgba(23,37,94,.08);
}

.tstore-transagro-brand .tstore-balance-card span,
.tstore-transagro-brand .tstore-shop-summary span,
.tstore-transagro-brand .tstore-stat span {
  color: var(--ta-muted) !important;
}

.tstore-transagro-brand .tstore-balance-card strong,
.tstore-transagro-brand .tstore-shop-summary strong,
.tstore-transagro-brand .tstore-stat strong,
.tstore-transagro-brand .tstore-item .price {
  color: var(--ta-blue-strong) !important;
}

.tstore-transagro-brand .tstore-client-card .btn,
.tstore-transagro-brand .tstore-client-card button,
.tstore-transagro-brand .tstore-client-card .btn-primary {
  background: linear-gradient(135deg, var(--ta-yellow), #ffe16a) !important;
  color: var(--ta-blue-deep) !important;
  box-shadow: 0 14px 30px rgba(255,205,0,.24) !important;
}

.tstore-transagro-brand .tstore-client-card .btn-secondary,
.tstore-transagro-brand .tstore-client-card .btn-ghost {
  background: #f8fbff !important;
  color: var(--ta-blue) !important;
  border: 1px solid rgba(52,79,160,.18) !important;
}

.tstore-transagro-brand .tstore-field label {
  color: var(--ta-blue-dark) !important;
}

.tstore-transagro-brand .tstore-field input,
.tstore-transagro-brand .tstore-field select,
.tstore-transagro-brand .tstore-field textarea {
  background: #fff !important;
  color: var(--ta-ink) !important;
  border-color: rgba(52,79,160,.20) !important;
}

.tstore-transagro-brand .tstore-field input:focus,
.tstore-transagro-brand .tstore-field select:focus,
.tstore-transagro-brand .tstore-field textarea:focus {
  border-color: var(--ta-blue) !important;
  box-shadow: 0 0 0 4px rgba(52,79,160,.10) !important;
}

.tstore-transagro-brand .tstore-table th {
  color: var(--ta-blue) !important;
  border-bottom-color: var(--ta-line) !important;
}

.tstore-transagro-brand .tstore-table td {
  color: var(--ta-ink) !important;
  border-bottom-color: var(--ta-line) !important;
}

.tstore-transagro-brand .tstore-table tr:hover td {
  background: rgba(52,79,160,.035) !important;
}

.tstore-transagro-brand .tstore-item-media {
  background:
    radial-gradient(circle at 45% 35%, rgba(151,215,0,.13), transparent 8rem),
    radial-gradient(circle at 70% 40%, rgba(255,205,0,.17), transparent 8rem),
    #dfe8f5;
}

.tstore-transagro-brand .tstore-item-media.empty span {
  background: var(--ta-blue);
  color: #fff;
}

.tstore-transagro-brand .tstore-item-bottom span,
.tstore-transagro-brand .tstore-flow-steps p,
.tstore-transagro-brand .tstore-balance-card p,
.tstore-transagro-brand .tstore-shop-summary p {
  color: var(--ta-muted) !important;
}

.tstore-transagro-brand .tstore-flow-steps span {
  background: rgba(151,215,0,.16);
  color: #4f8d00;
}

.tstore-transagro-brand .tstore-policy,
.tstore-transagro-brand .tstore-policy-text {
  background: #fff8d3 !important;
  color: #5d4900 !important;
  border-color: rgba(255,205,0,.45) !important;
}

.tstore-transagro-brand .tstore-gateway-logo {
  display: block;
  width: 190px;
  margin-bottom: 20px;
}

.tstore-transagro-brand.tstore-gateway-shell {
  background:
    radial-gradient(circle at 75% 8%, rgba(151,215,0,.22), transparent 24rem),
    radial-gradient(circle at 10% 0, rgba(255,205,0,.34), transparent 24rem),
    linear-gradient(180deg, #ffffff, #eef3fb);
  color: var(--ta-ink);
}

.tstore-transagro-brand .tstore-gateway-hero,
.tstore-transagro-brand .tstore-gateway-card {
  background: #fff;
  color: var(--ta-ink);
  border-color: rgba(52,79,160,.14);
  box-shadow: 0 22px 70px rgba(23,37,94,.12);
}

.tstore-transagro-brand .tstore-gateway-card.primary {
  background:
    radial-gradient(circle at top right, rgba(255,205,0,.28), transparent 18rem),
    #fff;
}

.tstore-transagro-brand .tstore-gateway h1,
.tstore-transagro-brand .tstore-gateway-card h2 {
  color: var(--ta-blue-dark);
}

.tstore-transagro-brand .tstore-gateway p,
.tstore-transagro-brand .tstore-gateway-mini span {
  color: var(--ta-muted);
}

.tstore-transagro-brand .tstore-gateway-mini,
.tstore-transagro-brand .tstore-gateway-icon {
  background: var(--ta-blue);
  color: #fff;
}

.tstore-transagro-brand .tstore-gateway-mini strong,
.tstore-transagro-brand .tstore-gateway-card strong {
  color: var(--ta-blue);
}

.tstore-transagro-brand .tstore-client-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,205,0,.22), transparent 18rem),
    linear-gradient(135deg, var(--ta-blue-deep), var(--ta-blue-strong)) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 24px 74px rgba(11,23,72,.24) !important;
}

.tstore-transagro-brand .tstore-client-hero h1,
.tstore-transagro-brand .tstore-client-hero h2,
.tstore-transagro-brand .tstore-client-hero h3 {
  color: #fff !important;
}

.tstore-transagro-brand .tstore-client-hero .tstore-muted {
  color: rgba(255,255,255,.76) !important;
}

.tstore-transagro-brand .tstore-client-hero .tstore-client-label {
  color: var(--ta-yellow) !important;
}

.tstore-transagro-brand .tstore-client-hero .tstore-balance-card {
  background: rgba(255,255,255,.96) !important;
}

.tstore-appbar-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tstore-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,.08);
}

.tstore-lang-switch a {
  display: inline-flex;
  min-width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.tstore-lang-switch a.active {
  background: var(--ta-yellow);
  color: var(--ta-blue-deep);
}

.tstore-client-top .tstore-lang-switch {
  border-color: rgba(52,79,160,.18);
  background: #fff;
}

.tstore-client-top .tstore-lang-switch a {
  color: var(--ta-blue);
}

.tstore-client-top .tstore-lang-switch a.active {
  color: var(--ta-blue-deep);
}

/* Transagro Store v7 - refined client UI and PT/ES switch */
body.tstore-client-shell.tstore-transagro-brand {
  background:
    radial-gradient(circle at 82% 4%, rgba(151,215,0,.18), transparent 25rem),
    radial-gradient(circle at 12% 0, rgba(255,205,0,.25), transparent 22rem),
    linear-gradient(180deg, #d9e3f2 0%, #e8eef8 42%, #f4f7fb 100%) !important;
}

.tstore-transagro-brand .tstore-client-content {
  padding-top: 36px;
}

.tstore-transagro-brand .tstore-client-card,
.tstore-transagro-brand .tstore-item {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,248,255,.96)) !important;
  border-color: rgba(36,63,145,.18) !important;
  box-shadow: 0 20px 58px rgba(11,23,72,.12) !important;
}

.tstore-transagro-brand .tstore-client-hero,
.tstore-transagro-brand .tstore-shop-hero,
.tstore-transagro-brand .tstore-list-hero,
.tstore-transagro-brand .tstore-security-card {
  background:
    radial-gradient(circle at 86% 16%, rgba(255,205,0,.24), transparent 19rem),
    radial-gradient(circle at 18% 12%, rgba(151,215,0,.13), transparent 18rem),
    linear-gradient(135deg, #000b3d 0%, #001489 58%, #1530a5 100%) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.16) !important;
  box-shadow: 0 24px 78px rgba(8,22,74,.26) !important;
}

.tstore-transagro-brand .tstore-client-hero h1,
.tstore-transagro-brand .tstore-shop-hero h1,
.tstore-transagro-brand .tstore-list-hero h1,
.tstore-transagro-brand .tstore-security-card h1,
.tstore-transagro-brand .tstore-client-hero h2,
.tstore-transagro-brand .tstore-shop-hero h2,
.tstore-transagro-brand .tstore-list-hero h2,
.tstore-transagro-brand .tstore-security-card h2 {
  color: #fff !important;
}

.tstore-transagro-brand .tstore-client-hero .tstore-muted,
.tstore-transagro-brand .tstore-shop-hero .tstore-muted,
.tstore-transagro-brand .tstore-list-hero .tstore-muted,
.tstore-transagro-brand .tstore-security-card .tstore-muted {
  color: rgba(255,255,255,.76) !important;
}

.tstore-transagro-brand .tstore-client-hero .tstore-client-label,
.tstore-transagro-brand .tstore-shop-hero .tstore-client-label,
.tstore-transagro-brand .tstore-list-hero .tstore-client-label,
.tstore-transagro-brand .tstore-security-card .tstore-kicker {
  color: var(--ta-yellow) !important;
  background: rgba(255,205,0,.12);
}

.tstore-transagro-brand .tstore-shop-hero .tstore-shop-summary,
.tstore-transagro-brand .tstore-client-hero .tstore-balance-card {
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(255,255,255,.42) !important;
}

.tstore-list-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tstore-security-card {
  max-width: 620px !important;
}

.tstore-transagro-brand .tstore-security-card .tstore-field label {
  color: rgba(255,255,255,.88) !important;
}

.tstore-transagro-brand .tstore-security-card .tstore-field input {
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(255,255,255,.34) !important;
  color: var(--ta-ink) !important;
}

.tstore-transagro-brand .tstore-stat,
.tstore-transagro-brand .tstore-flow-steps div {
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(238,244,255,.94)) !important;
}

.tstore-transagro-brand .tstore-item-media {
  background:
    radial-gradient(circle at 38% 36%, rgba(151,215,0,.22), transparent 8rem),
    radial-gradient(circle at 70% 32%, rgba(255,205,0,.28), transparent 9rem),
    linear-gradient(135deg, #dce7f5, #f6f8fc) !important;
}

.tstore-empty-state {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px dashed rgba(52,79,160,.28);
  border-radius: 18px;
  background: rgba(52,79,160,.045);
}

.tstore-empty-state strong {
  color: var(--ta-blue-dark);
  font-size: 17px;
}

.tstore-empty-state span {
  color: var(--ta-muted);
}

.tstore-transagro-brand .tstore-appbar-tools .tstore-lang-switch {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
}

.tstore-transagro-brand .tstore-appbar-tools .tstore-lang-switch a {
  color: rgba(255,255,255,.82);
}

.tstore-transagro-brand .tstore-appbar-tools .tstore-lang-switch a.active {
  color: var(--ta-blue-deep);
}

@media (max-width: 860px) {
  .tstore-list-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Transagro Store v9 - CTN visual fixes and branded admin module */
.tstore-transagro-brand .tstore-client-label,
.tstore-transagro-brand .tstore-kicker {
  display: inline-flex !important;
  width: fit-content !important;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  margin-bottom: 14px !important;
  background: rgba(255,205,0,.14) !important;
  color: var(--ta-yellow) !important;
  line-height: 1;
}

.tstore-transagro-brand .tstore-flow-steps strong,
.tstore-transagro-brand .tstore-empty-state strong {
  color: var(--ta-blue-dark) !important;
}

.tstore-transagro-brand .tstore-flow-steps div {
  min-height: 132px;
}

.tstore-transagro-brand .tstore-stat {
  min-height: 118px;
}

.tstore-transagro-brand .tstore-shop-summary strong {
  color: var(--ta-blue) !important;
  font-size: 26px;
}

.tstore-transagro-brand .tstore-security-card {
  margin-top: 84px !important;
  max-width: 680px !important;
}

.tstore-transagro-brand .tstore-security-card .tstore-kicker {
  color: var(--ta-yellow) !important;
}

.tstore-transagro-brand .tstore-security-card .btn-primary {
  box-shadow: 0 18px 34px rgba(255,205,0,.22) !important;
}

.tstore-transagro-brand .tstore-item {
  border-radius: 24px !important;
}

.tstore-transagro-brand .tstore-item-body h3 {
  min-height: 44px;
}

.tstore-transagro-brand .tstore-item-body > p:not(.tstore-item-meta) {
  color: var(--ta-ink);
  min-height: 52px;
  line-height: 1.5;
}

.tstore-transagro-brand .tstore-qty-field input {
  background: #fff !important;
}

.tstore-page {
  --ta-blue: #001489;
  --ta-blue-dark: #00115f;
  --ta-blue-deep: #000b3d;
  --ta-yellow: #ffcd00;
  --ta-green: #97d700;
  --ta-ink: #071241;
  --ta-muted: #55627f;
}

.tstore-page > .section-header {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255,205,0,.30);
  border-radius: 30px;
  background:
    url("img/transagro-logo.png") no-repeat right 34px top 30px / 176px auto,
    radial-gradient(circle at 88% 72%, rgba(151,215,0,.20), transparent 20rem),
    radial-gradient(circle at 12% 0, rgba(255,205,0,.24), transparent 20rem),
    linear-gradient(135deg, var(--ta-blue-deep), var(--ta-blue) 62%, #1a36a2);
  color: #fff;
  box-shadow: 0 24px 72px rgba(0,20,137,.22);
}

.tstore-page > .section-header::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -74px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255,205,0,.13);
}

.tstore-page > .section-header > * {
  position: relative;
  z-index: 1;
}

.tstore-page > .section-header h1,
.tstore-page > .section-header h2 {
  color: #fff !important;
}

.tstore-page > .section-header .eyebrow {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 14px;
  background: rgba(255,205,0,.15);
  color: var(--ta-yellow) !important;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tstore-page > .section-header .text-muted {
  max-width: 720px;
  color: rgba(255,255,255,.78) !important;
}

.tstore-page .tstore-card,
.tstore-page .tstore-stat {
  border-color: rgba(0,20,137,.14);
  background: linear-gradient(180deg, #fff, #f6f9ff);
  box-shadow: 0 16px 44px rgba(7,18,65,.08);
}

.tstore-page .tstore-card h3,
.tstore-page .tstore-stat strong,
.tstore-page .tstore-total {
  color: var(--ta-blue-dark);
}

.tstore-page .tstore-stat span,
.tstore-page .tstore-muted,
.tstore-page .text-muted {
  color: var(--ta-muted) !important;
}

.tstore-page .btn-primary,
.tstore-page button.btn-primary {
  background: linear-gradient(135deg, var(--ta-yellow), #ffe066) !important;
  color: var(--ta-blue-deep) !important;
  border: 0 !important;
  box-shadow: 0 14px 30px rgba(255,205,0,.22) !important;
}

.tstore-page .btn-secondary,
.tstore-page .btn-ghost {
  border: 1px solid rgba(0,20,137,.18) !important;
  background: #f8fbff !important;
  color: var(--ta-blue) !important;
}

.tstore-page .tstore-table th {
  color: var(--ta-blue) !important;
}

.tstore-page .tstore-field input,
.tstore-page .tstore-field select,
.tstore-page .tstore-field textarea {
  border-color: rgba(0,20,137,.18);
}

@media (max-width: 900px) {
  .tstore-page > .section-header {
    align-items: flex-start;
    flex-direction: column;
    background:
      radial-gradient(circle at 88% 72%, rgba(151,215,0,.20), transparent 20rem),
      radial-gradient(circle at 12% 0, rgba(255,205,0,.24), transparent 20rem),
      linear-gradient(135deg, var(--ta-blue-deep), var(--ta-blue) 62%, #1a36a2);
  }
}

/* Transagro Store v10 - remove CH branding from module admin and fix contrast */
body.tstore-admin-mode .sidebar-v74 .nav-group:not([data-nav-group="transagro-store"]) {
  display: none !important;
}

body.tstore-admin-mode .sidebar-v74 {
  background:
    radial-gradient(circle at 0 0, rgba(255,205,0,.18), transparent 14rem),
    linear-gradient(180deg, #000b3d, #00115f) !important;
  border-right-color: rgba(255,255,255,.12) !important;
}

body.tstore-admin-mode .sidebar-v74 .creativehub-sidebar-header {
  min-height: 116px !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}

body.tstore-admin-mode .sidebar-v74 .creativehub-sidebar-branding {
  align-items: flex-start !important;
  flex-direction: column !important;
  gap: 10px !important;
}

body.tstore-admin-mode .sidebar-v74 .creativehub-sidebar-logo-full {
  width: 130px !important;
  max-height: 62px !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  background: #fff !important;
  padding: 9px !important;
}

body.tstore-admin-mode .sidebar-v74 .creativehub-product-label {
  display: inline-flex !important;
  width: fit-content !important;
  border-radius: 999px !important;
  padding: 5px 10px !important;
  background: rgba(255,205,0,.16) !important;
  color: #ffcd00 !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
}

body.tstore-admin-mode .sidebar-v74 .sidebar-nav.nav-v74 {
  padding-top: 14px !important;
}

body.tstore-admin-mode .sidebar-v74 .nav-group[data-nav-group="transagro-store"] {
  border-color: rgba(255,205,0,.32) !important;
  background: rgba(255,255,255,.045) !important;
  box-shadow: 0 0 0 1px rgba(255,205,0,.08) inset !important;
}

body.tstore-admin-mode .sidebar-v74 .nav-group[data-nav-group="transagro-store"] > .nav-group-summary span {
  color: #fff !important;
}

body.tstore-admin-mode .sidebar-v74 .nav-item.active,
body.tstore-admin-mode .sidebar-v74 .nav-item:hover {
  border-color: rgba(255,205,0,.72) !important;
  background: rgba(255,205,0,.13) !important;
  color: #fff !important;
}

body.tstore-admin-mode .sidebar-v74 .nav-item svg {
  color: #ffcd00 !important;
}

body.tstore-admin-mode .sidebar-footer {
  border-top-color: rgba(255,255,255,.12) !important;
  background: rgba(0,11,61,.78) !important;
}

body.tstore-admin-mode .sidebar-footer .user-name {
  color: #fff !important;
}

body.tstore-admin-mode .sidebar-footer .user-role {
  color: rgba(255,255,255,.68) !important;
}

body.tstore-admin-mode .topbar .page-title {
  color: #fff !important;
}

body.tstore-admin-mode .tstore-page .tstore-card,
body.tstore-admin-mode .tstore-page .tstore-stat {
  background: linear-gradient(180deg, #ffffff, #f7faff) !important;
  border: 1px solid rgba(0,20,137,.16) !important;
  color: var(--ta-ink) !important;
  box-shadow: 0 18px 48px rgba(7,18,65,.10) !important;
}

body.tstore-admin-mode .tstore-page .tstore-card *,
body.tstore-admin-mode .tstore-page .tstore-stat * {
  opacity: 1 !important;
}

body.tstore-admin-mode .tstore-page .tstore-card h1,
body.tstore-admin-mode .tstore-page .tstore-card h2,
body.tstore-admin-mode .tstore-page .tstore-card h3,
body.tstore-admin-mode .tstore-page .tstore-card strong,
body.tstore-admin-mode .tstore-page .tstore-stat strong {
  color: var(--ta-blue-dark) !important;
}

body.tstore-admin-mode .tstore-page .tstore-table th {
  color: var(--ta-blue) !important;
  border-bottom: 1px solid rgba(0,20,137,.16) !important;
}

body.tstore-admin-mode .tstore-page .tstore-table td {
  color: var(--ta-ink) !important;
  border-bottom: 1px solid rgba(0,20,137,.10) !important;
}

body.tstore-admin-mode .tstore-page .tstore-table tr:hover td {
  background: rgba(0,20,137,.035) !important;
}

body.tstore-admin-mode .tstore-page .tstore-field label {
  color: var(--ta-blue-dark) !important;
}

body.tstore-admin-mode .tstore-page .tstore-field input,
body.tstore-admin-mode .tstore-page .tstore-field select,
body.tstore-admin-mode .tstore-page .tstore-field textarea,
body.tstore-admin-mode .tstore-page input:not([type="checkbox"]):not([type="radio"]),
body.tstore-admin-mode .tstore-page select,
body.tstore-admin-mode .tstore-page textarea {
  background: #fff !important;
  color: var(--ta-ink) !important;
  border: 1px solid rgba(0,20,137,.20) !important;
  box-shadow: none !important;
}

body.tstore-admin-mode .tstore-page option {
  color: var(--ta-ink) !important;
  background: #fff !important;
}

body.tstore-admin-mode .tstore-page pre {
  background: #eef4ff !important;
  color: var(--ta-ink) !important;
  border: 1px solid rgba(0,20,137,.12) !important;
}

body.tstore-admin-mode .tstore-page > .section-header {
  background:
    url("img/transagro-logo.png") no-repeat right 38px top 28px / 164px auto,
    radial-gradient(circle at 88% 72%, rgba(151,215,0,.16), transparent 19rem),
    radial-gradient(circle at 12% 0, rgba(255,205,0,.20), transparent 20rem),
    linear-gradient(135deg, #000b3d, #001489 62%, #1834a2) !important;
}

body.tstore-admin-mode .tstore-page > .section-header .btn-secondary,
body.tstore-admin-mode .tstore-page > .section-header .btn-ghost {
  background: rgba(255,255,255,.94) !important;
  color: var(--ta-blue) !important;
}

body.tstore-admin-mode .tstore-page > .section-header .btn-primary {
  color: var(--ta-blue-deep) !important;
}

body.tstore-admin-mode .tstore-pill-success {
  background: #e8f8ed !important;
  color: #067a3b !important;
}

body.tstore-admin-mode .tstore-pill-warning {
  background: #fff7d8 !important;
  color: #8a6100 !important;
}

body.tstore-admin-mode .tstore-pill-info {
  background: #eaf0ff !important;
  color: var(--ta-blue) !important;
}

body.tstore-admin-mode .tstore-pill-danger {
  background: #ffecec !important;
  color: #9d1c1c !important;
}

body.tstore-client-shell.tstore-client-app.tstore-transagro-brand .tstore-client-appbar span {
  color: rgba(255,255,255,.72) !important;
  letter-spacing: .10em;
}

body.tstore-client-shell.tstore-client-app.tstore-transagro-brand .tstore-client-appbar strong {
  color: #fff !important;
}

body.tstore-client-shell.tstore-client-app.tstore-transagro-brand .tstore-appbar-admin {
  color: #fff !important;
}

/* Transagro Store v11 - CTN login polish */
.tstore-login-shell {
  width: min(1180px, calc(100vw - 56px));
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  gap: 34px;
  align-items: center;
}

.tstore-login-copy {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 32px;
  padding: 42px;
  background:
    radial-gradient(circle at 82% 18%, rgba(151, 215, 0, .22), transparent 26%),
    linear-gradient(135deg, #06145a 0%, #001489 64%, #2f4ea3 100%);
  border: 1px solid rgba(255, 205, 0, .30);
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 20, 137, .20);
}

.tstore-login-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 270px;
  height: 270px;
  border-radius: 999px;
  background: rgba(255, 205, 0, .13);
}

.tstore-login-copy img {
  width: 190px;
  max-height: 96px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.tstore-login-copy > span,
.tstore-card-kicker {
  display: inline-flex;
  margin-top: 32px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 205, 0, .16);
  color: #ffcd00;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tstore-login-copy h1 {
  position: relative;
  z-index: 1;
  margin: 22px 0 14px;
  color: #fff;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .92;
  letter-spacing: -.065em;
}

.tstore-login-copy p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  line-height: 1.55;
}

.tstore-login-steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tstore-login-steps strong,
.tstore-login-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-weight: 850;
}

.tstore-login-steps strong {
  background: #ffcd00;
  border-color: #ffcd00;
  color: #00104f;
}

.tstore-login-shell .tstore-login {
  margin: 0;
  padding: 42px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(0, 20, 137, .16) !important;
  box-shadow: 0 28px 90px rgba(0, 20, 137, .14);
}

.tstore-login-shell .tstore-login h1 {
  margin: 14px 0 10px;
  color: #001489;
  font-size: clamp(42px, 5vw, 58px);
  letter-spacing: -.06em;
}

.tstore-login-shell .tstore-muted {
  color: #52607c;
}

.tstore-login-shell .tstore-field label {
  color: #00104f;
  font-weight: 950;
}

.tstore-login-shell .tstore-field input {
  min-height: 58px;
  border-radius: 16px;
  background: #fff;
  color: #00104f;
  border: 1px solid rgba(0, 20, 137, .22);
}

.tstore-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tstore-login-note {
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 205, 0, .10);
  border: 1px solid rgba(255, 205, 0, .30);
  color: #52607c;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .tstore-login-shell {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .tstore-login-copy {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .tstore-login-shell {
    width: min(100% - 28px, 560px);
  }

  .tstore-login-copy,
  .tstore-login-shell .tstore-login {
    padding: 26px;
    border-radius: 24px;
  }
}

/* Transagro Store v12 - spacing, field borders and sidebar footer fixes */
body.tstore-client-shell.tstore-transagro-brand {
  background:
    radial-gradient(circle at 82% 4%, rgba(151,215,0,.14), transparent 25rem),
    linear-gradient(180deg, #dbe5f2 0%, #e8eef8 42%, #f4f7fb 100%) !important;
}

.tstore-client-app .tstore-client-wrap {
  grid-template-columns: 228px minmax(0, 1fr) !important;
}

.tstore-client-sidebar,
.tstore-client-sidebar * {
  box-sizing: border-box;
}

.tstore-client-sidebar {
  overflow: hidden;
}

.tstore-side-brand {
  min-width: 0;
}

.tstore-side-brand img {
  flex: 0 0 102px;
  width: 102px !important;
  max-width: 102px !important;
}

.tstore-side-brand div,
.tstore-side-user div {
  min-width: 0;
}

.tstore-side-user {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: calc(100% - 8px);
  margin: auto 4px 0 !important;
  padding: 12px 8px !important;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.10);
  border-radius: 16px;
}

.tstore-side-user > span {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
}

.tstore-side-user strong,
.tstore-side-user small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tstore-side-user strong {
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1.1;
}

.tstore-side-user small {
  margin-top: 3px;
  color: rgba(255,255,255,.72) !important;
  font-size: 10px !important;
}

.tstore-side-user a {
  flex: 0 0 auto;
  color: rgba(255,255,255,.82) !important;
  font-size: 11px !important;
  font-weight: 900;
  text-decoration: none;
  padding-left: 4px;
}

.tstore-client-content {
  width: min(1280px, calc(100% - 64px)) !important;
}

.tstore-client-card,
.tstore-item,
.tstore-order-panel,
.tstore-shop-hero {
  box-sizing: border-box;
}

.tstore-catalog {
  align-items: stretch;
}

.tstore-item {
  overflow: hidden;
}

.tstore-item-body {
  min-width: 0;
}

.tstore-qty-field {
  margin-top: 12px !important;
}

.tstore-qty-field input,
.tstore-order-panel .tstore-field input,
.tstore-order-panel .tstore-field select,
.tstore-order-panel .tstore-field textarea {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(0,20,137,.18) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.70);
}

.tstore-qty-field input {
  min-height: 50px;
  padding: 0 16px !important;
  margin: 0 !important;
}

.tstore-order-panel {
  padding: 30px !important;
  overflow: hidden;
}

.tstore-order-panel .tstore-section-title {
  margin-bottom: 22px;
}

.tstore-order-panel .tstore-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px 20px !important;
  align-items: start;
}

.tstore-order-panel .tstore-field {
  min-width: 0;
}

.tstore-order-panel .tstore-field label {
  margin-bottom: 8px !important;
}

.tstore-order-panel .tstore-field input,
.tstore-order-panel .tstore-field select {
  min-height: 54px;
  padding: 0 16px !important;
}

.tstore-order-panel .tstore-field textarea {
  min-height: 126px;
  padding: 16px !important;
  resize: vertical;
}

.tstore-order-panel .tstore-field-wide {
  grid-column: 1 / -1;
}

.tstore-order-panel .tstore-policy,
.tstore-order-panel .tstore-policy-text {
  box-sizing: border-box;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 980px) {
  .tstore-client-content {
    width: min(100% - 32px, 1280px) !important;
  }

  .tstore-order-panel .tstore-form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Transagro Store v13 - cleaner global background and login layout */
body.tstore-client-shell.tstore-transagro-brand {
  background:
    radial-gradient(circle at 82% 0%, rgba(151,215,0,.12), transparent 28rem),
    radial-gradient(circle at 10% 14%, rgba(47,78,163,.08), transparent 24rem),
    linear-gradient(180deg, #dbe5f2 0%, #eef4fa 50%, #f7f9fd 100%) !important;
}

body.tstore-client-shell.tstore-transagro-brand:not(.tstore-client-app) {
  padding: 0 !important;
}

body.tstore-client-shell.tstore-transagro-brand:not(.tstore-client-app) .tstore-client-wrap {
  width: min(1240px, calc(100% - 56px));
  max-width: 1240px !important;
  min-height: 100vh;
  margin: 0 auto !important;
  display: flex;
  flex-direction: column;
}

body.tstore-client-shell.tstore-transagro-brand:not(.tstore-client-app) .tstore-client-top {
  margin: 0;
  padding: 34px 0 18px;
  color: #00104f;
}

body.tstore-client-shell.tstore-transagro-brand:not(.tstore-client-app) .tstore-client-brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

body.tstore-client-shell.tstore-transagro-brand:not(.tstore-client-app) .tstore-client-brand img {
  width: 150px !important;
  height: auto !important;
  object-fit: contain;
}

body.tstore-client-shell.tstore-transagro-brand:not(.tstore-client-app) .tstore-client-brand span {
  color: #001489 !important;
  font-weight: 950;
}

.tstore-login-shell {
  width: 100% !important;
  max-width: 1180px;
  min-height: calc(100vh - 150px);
  margin: 0 auto !important;
  padding: 34px 0 64px;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .88fr) !important;
  gap: 34px !important;
  align-items: center !important;
}

.tstore-login-copy,
.tstore-login-shell .tstore-login {
  min-height: 560px;
  box-sizing: border-box;
}

.tstore-login-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px !important;
  background:
    radial-gradient(circle at 87% 82%, rgba(255,255,255,.18), transparent 18rem),
    linear-gradient(135deg, #06145a 0%, #001489 66%, #2f4ea3 100%) !important;
}

.tstore-login-copy > span {
  margin-top: 26px !important;
}

.tstore-login-copy img {
  width: 220px !important;
  max-height: 116px !important;
  align-self: flex-start;
}

.tstore-login-copy h1 {
  margin-top: 28px !important;
  max-width: 540px;
}

.tstore-login-copy p {
  max-width: 560px;
}

.tstore-login-steps {
  margin-top: 26px !important;
}

.tstore-login-steps span,
.tstore-login-steps strong {
  min-height: 38px !important;
}

.tstore-login-shell .tstore-login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px !important;
  background: rgba(255,255,255,.96) !important;
}

.tstore-login-shell .tstore-login .tstore-card-kicker {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.tstore-login-shell .tstore-login h1 {
  margin: 4px 0 12px !important;
}

.tstore-login-shell .tstore-login .tstore-alert-error {
  background: #fff1f2 !important;
  border-color: #f7b8bf !important;
  color: #9d1c1c !important;
  font-weight: 850 !important;
}

.tstore-login-shell .tstore-login form {
  margin-top: 12px;
}

.tstore-login-shell .tstore-field {
  margin-bottom: 18px;
}

.tstore-login-shell .tstore-field input {
  min-height: 58px !important;
  padding: 0 18px !important;
  font-size: 16px !important;
}

.tstore-login-actions {
  margin-top: 8px !important;
}

.tstore-login-shell .tstore-login-note {
  margin-top: 24px !important;
}

@media (max-width: 1040px) {
  .tstore-login-shell {
    grid-template-columns: 1fr !important;
    max-width: 680px;
  }

  .tstore-login-copy,
  .tstore-login-shell .tstore-login {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  body.tstore-client-shell.tstore-transagro-brand:not(.tstore-client-app) .tstore-client-wrap {
    width: min(100% - 28px, 680px);
  }

  body.tstore-client-shell.tstore-transagro-brand:not(.tstore-client-app) .tstore-client-top {
    padding-top: 22px;
  }

  .tstore-login-shell {
    padding-top: 18px;
  }
}

/* Transagro Store v14 - simplified centered CTN login */
body.tstore-public-login.tstore-transagro-brand {
  background:
    radial-gradient(circle at 78% 0%, rgba(151,215,0,.11), transparent 26rem),
    radial-gradient(circle at 16% 8%, rgba(0,20,137,.08), transparent 24rem),
    linear-gradient(180deg, #e5edf7 0%, #f6f9fd 100%) !important;
}

body.tstore-public-login .tstore-client-wrap {
  width: min(100% - 32px, 760px) !important;
  max-width: 760px !important;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  padding: 56px 0;
}

body.tstore-public-login .tstore-public-lang {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 4;
}

body.tstore-public-login .tstore-public-lang .tstore-lang-switch {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,20,137,.10);
  box-shadow: 0 12px 32px rgba(0,20,137,.08);
}

body.tstore-public-login .tstore-login-shell {
  width: 100% !important;
  max-width: 620px !important;
  min-height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.tstore-public-login .tstore-login-copy {
  display: none !important;
}

body.tstore-public-login .tstore-login-shell .tstore-login {
  width: 100%;
  min-height: auto !important;
  margin: 0 !important;
  padding: 48px !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,.97) !important;
  border: 1px solid rgba(0,20,137,.14) !important;
  box-shadow: 0 30px 90px rgba(0,20,137,.16) !important;
}

.tstore-login-brandmark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0,20,137,.10);
}

.tstore-login-brandmark img {
  width: 176px;
  height: auto;
  object-fit: contain;
}

.tstore-login-brandmark span {
  color: #001489;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: right;
}

body.tstore-public-login .tstore-card-kicker {
  margin: 0 0 14px !important;
  width: fit-content !important;
  background: rgba(255,205,0,.18) !important;
  color: #001489 !important;
}

body.tstore-public-login .tstore-login-shell .tstore-login h1 {
  margin: 0 0 12px !important;
  color: #001489 !important;
  font-size: clamp(42px, 6vw, 58px) !important;
  letter-spacing: -.055em;
}

body.tstore-public-login .tstore-login-shell .tstore-muted {
  color: #445374 !important;
  font-size: 16px;
}

body.tstore-public-login .tstore-login-shell .tstore-field label {
  color: #00104f !important;
}

body.tstore-public-login .tstore-login-shell .tstore-field input {
  min-height: 56px !important;
  border: 1px solid rgba(0,20,137,.18) !important;
  border-radius: 15px !important;
  color: #00104f !important;
}

body.tstore-public-login .tstore-login-shell .tstore-field input::placeholder {
  color: #aab5c8 !important;
}

body.tstore-public-login .tstore-login-shell .tstore-alert-error {
  margin: 18px 0 !important;
  background: #fff1f2 !important;
  border: 1px solid #f4aab3 !important;
  color: #9d1c1c !important;
  font-weight: 850 !important;
}

body.tstore-public-login .tstore-login-actions .btn-primary {
  background: linear-gradient(135deg, #ffcd00, #ffe16b) !important;
  color: #00104f !important;
}

body.tstore-public-login .tstore-login-actions .btn-secondary {
  background: #f8fbff !important;
  color: #001489 !important;
  border-color: rgba(0,20,137,.16) !important;
}

body.tstore-public-login .tstore-login-note {
  background: #f8fbff !important;
  border: 1px solid rgba(0,20,137,.12) !important;
  color: #52607c !important;
}

@media (max-width: 640px) {
  body.tstore-public-login .tstore-client-wrap {
    width: min(100% - 24px, 620px) !important;
    padding: 78px 0 28px;
  }

  body.tstore-public-login .tstore-public-lang {
    top: 18px;
    right: 18px;
  }

  body.tstore-public-login .tstore-login-shell .tstore-login {
    padding: 30px !important;
  }

  .tstore-login-brandmark {
    align-items: flex-start;
    flex-direction: column;
  }

  .tstore-login-brandmark span {
    text-align: left;
  }
}

/* Transagro Store v16 - last-mile overrides loaded at the real end of file */
body.tstore-client-shell.tstore-transagro-brand,
body.tstore-public-login.tstore-transagro-brand {
  background:
    radial-gradient(circle at 82% 0%, rgba(151,215,0,.08), transparent 24rem),
    radial-gradient(circle at 8% 10%, rgba(47,78,163,.07), transparent 24rem),
    linear-gradient(135deg, #eef4fb 0%, #e8eef7 48%, #f8fbff 100%) !important;
  color: #00104f !important;
}

body.tstore-public-login .tstore-client-wrap {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 72px 24px 36px !important;
}

body.tstore-public-login .tstore-login-shell {
  width: min(100%, 620px) !important;
  margin: 0 auto !important;
  display: block !important;
}

body.tstore-public-login .tstore-login-shell .tstore-login {
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  padding: clamp(34px, 5vw, 56px) !important;
  border: 1px solid rgba(0,20,137,.14) !important;
  border-radius: 32px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 28px 80px rgba(0,20,137,.14) !important;
}

body.tstore-public-login .tstore-login-brandmark {
  gap: 18px !important;
  margin-bottom: 24px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid rgba(0,20,137,.10) !important;
}

body.tstore-public-login .tstore-login-brandmark img {
  width: 168px !important;
  max-height: 82px !important;
  object-fit: contain !important;
}

.tstore-transagro-brand .tstore-field input,
.tstore-transagro-brand .tstore-field select,
.tstore-transagro-brand .tstore-field textarea,
.tstore-order-panel .tstore-field input,
.tstore-order-panel .tstore-field select,
.tstore-order-panel .tstore-field textarea,
.tstore-item input[type="number"] {
  box-sizing: border-box !important;
  width: 100% !important;
  border: 1px solid rgba(0,20,137,.18) !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #00104f !important;
  box-shadow: none !important;
}

.tstore-order-panel .tstore-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: start !important;
}

.tstore-order-panel .tstore-field-wide {
  grid-column: 1 / -1 !important;
}

.tstore-side-user {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
}

.tstore-side-user div {
  min-width: 0 !important;
}

.tstore-side-user strong,
.tstore-side-user small {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .tstore-order-panel .tstore-form-grid {
    grid-template-columns: 1fr !important;
  }

  body.tstore-public-login .tstore-client-wrap {
    align-items: flex-start !important;
    padding-top: 72px !important;
  }
}


