/* Thiên Nam — Giải pháp cho quán & đối tác, v1.10.48 */
.tn-partner-hero{background:#f7f3e8;min-height:435px;display:flex;align-items:center;overflow:hidden}
.tn-partner-hero-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:44px;align-items:center;min-height:435px}
.tn-partner-hero-copy{padding:34px 0}.tn-partner-hero-copy h1{margin:10px 0 16px}.tn-partner-hero-copy h1 em{color:#e88716;font-style:normal}.tn-partner-hero-copy>p{max-width:610px;margin:0;color:#52645a}
.tn-partner-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.tn-partner-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:19px;padding-top:15px;border-top:1px solid rgba(23,63,45,.12);font-size:var(--tn-type-card-copy);line-height:var(--tn-line-card-copy);color:#617168}.tn-partner-hero-meta span{font-weight:700;color:#294c39}.tn-partner-hero-meta i{font-style:normal;color:#d48a20;font-size:1em;line-height:1}
.tn-partner-hero-visual{overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 18px 44px rgba(23,63,45,.08)}.tn-partner-hero-visual img{display:block;width:100%;height:330px;object-fit:cover;object-position:center}

.tn-partner-models .section-head,.tn-partner-products .section-head,.tn-partner-process .section-head{margin-left:0;text-align:left}.tn-partner-model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tn-partner-model-grid article{padding:24px 22px;border:1px solid rgba(23,63,45,.12);border-radius:14px;background:#fff}.tn-partner-model-grid b,.tn-partner-process-grid b{display:block;color:#d48a20;font-size:12.5px;line-height:1.2;font-weight:700;letter-spacing:.08em}.tn-partner-model-grid h3,.tn-partner-process-grid h3{margin:8px 0 8px}.tn-partner-model-grid p,.tn-partner-process-grid p{margin:0;color:#627168}.tn-partner-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tn-partner-product-card{overflow:hidden;border:1px solid rgba(23,63,45,.12);border-radius:15px;background:#fff}.tn-partner-product-photo{display:block;overflow:hidden;background:#efe8d8}.tn-partner-product-photo img{display:block;width:100%;height:230px;object-fit:cover;transition:transform .35s ease}.tn-partner-product-card:hover .tn-partner-product-photo img{transform:scale(1.018)}.tn-partner-product-body{padding:22px}.tn-partner-product-body>span{display:block;color:#d48a20;font-size:10px;font-weight:700;letter-spacing:.16em}.tn-partner-product-body h3{margin:8px 0}.tn-partner-product-body p{margin:0;color:#617168}.tn-partner-product-body ul{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:16px 0;padding:0}.tn-partner-product-body li{padding:6px 9px;border-radius:999px;background:#f2f5f0;color:#355743;font-size:11px;font-weight:600}.tn-partner-product-body .link{display:inline-block;margin-top:2px}
.tn-partner-sample-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:22px;padding:20px 22px;border:1px solid rgba(23,63,45,.12);border-radius:14px;background:rgba(255,255,255,.7)}.tn-partner-sample-cta>div{max-width:760px}.tn-partner-sample-cta .kicker{display:block;margin-bottom:7px}.tn-partner-sample-cta strong{display:block;color:#173f2d;font-size:17px;line-height:1.35}.tn-partner-sample-cta p{margin:6px 0 0;color:#617168;font-size:13px}.tn-partner-sample-cta .btn{flex:0 0 auto}

.tn-partner-process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tn-partner-process-grid>div{position:relative;padding:23px 20px;border-top:2px solid rgba(61,116,54,.35);background:#fbfcfa}.tn-partner-process-grid>div:not(:last-child):after{content:'→';position:absolute;right:-11px;top:25px;z-index:2;color:#c89035;font-size:16px}.tn-partner-process-grid h3{font-family:var(--tn-font-ui)!important;font-size:var(--tn-type-card-title)!important;line-height:var(--tn-line-card-title)!important}

.tn-partner-proof-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:38px;align-items:center}.tn-partner-proof-grid h2{margin:9px 0 13px}.tn-partner-proof-grid>div>p{color:#5b6b62}.tn-partner-proof-points{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.tn-partner-proof-points>div{padding:15px 16px;border:1px solid rgba(23,63,45,.11);border-radius:11px;background:rgba(255,255,255,.6)}.tn-partner-proof-points strong{display:block;color:#173f2d}.tn-partner-proof-points span{display:block;margin-top:5px;color:#6a776f;font-size:12px;line-height:1.5}.tn-partner-proof-photo{display:block;overflow:hidden;border-radius:16px}.tn-partner-proof-photo img{display:block;width:100%;height:410px;object-fit:cover}

.tn-partner-form-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:42px;align-items:start}.tn-partner-form-copy h2{margin:9px 0 13px}.tn-partner-form-copy>p{color:#5c6b62}.tn-partner-form-notes{display:grid;gap:9px;margin-top:24px;color:#355743;font-size:13px;font-weight:600}.tn-partner-form-card{padding:26px;border:1px solid rgba(23,63,45,.13);border-radius:16px;background:#fbfcfa;box-shadow:0 10px 28px rgba(23,63,45,.04)}.tn-partner-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:16px;align-items:start}.tn-partner-field{display:block;min-width:0;color:#2e4939}.tn-partner-label{display:flex;align-items:center;gap:4px;margin:0 0 8px;color:#2e4939;font-size:12px;font-weight:700;line-height:1.35}.tn-partner-label em{color:#c74b32;font-style:normal;font-weight:700}.tn-partner-form input,.tn-partner-form select,.tn-partner-form textarea{display:block;width:100%;min-width:0;border:1px solid rgba(23,63,45,.17);border-radius:8px;background:#fff;padding:11px 12px;color:#243d30;font-size:13px;line-height:1.35;box-sizing:border-box;appearance:none;-webkit-appearance:none}.tn-partner-form input,.tn-partner-form select{height:42px}.tn-partner-form textarea{min-height:92px;resize:vertical}.tn-partner-form input:focus,.tn-partner-form select:focus,.tn-partner-form textarea:focus{outline:2px solid rgba(61,116,54,.16);outline-offset:0;border-color:#56725d}.tn-partner-span-2{grid-column:1/-1}.tn-partner-form .btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin-top:18px}.tn-partner-form-privacy{margin:10px 0 0;color:#7a8680;font-size:11px}.tn-partner-form-message{margin-bottom:16px;padding:12px 14px;border-radius:8px;font-size:13px}.tn-partner-form-message.is-success{background:#eef6ec;color:#285331;border:1px solid #cfe3c9}.tn-partner-form-message.is-error{background:#fff2ef;color:#8d3b2c;border:1px solid #efd2cb}

.tn-partner-links-grid,.tn-partner-product-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:34px}.tn-partner-links-grid>div:first-child,.tn-partner-product-strip-inner>div:first-child{max-width:760px}.tn-partner-links-grid h2,.tn-partner-product-strip h2{margin:8px 0 10px}.tn-partner-links-grid p,.tn-partner-product-strip p{margin:0;color:#617168}.tn-partner-links-grid .actions,.tn-partner-product-strip .actions{flex:0 0 auto;justify-content:flex-end}

.tn-partner-home{background:#f6f2e7}.tn-partner-home-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.86fr);gap:34px;align-items:center}.tn-partner-home-copy h2{max-width:580px;margin:10px 0 14px}.tn-partner-home-copy h2 a{color:inherit;text-decoration:none}.tn-partner-home-copy p{max-width:650px;margin:0;color:#5f6f65}.tn-partner-home-copy .actions{margin-top:26px}.tn-partner-home-more{display:inline-block;margin-top:13px;color:#355743;font-size:12px;font-weight:700;text-decoration:none}.tn-partner-home-more:hover{text-decoration:underline}.tn-partner-home-photo{overflow:hidden;border-radius:15px}.tn-partner-home-photo img{display:block;width:100%;height:280px;object-fit:cover}.tn-home-products-partner-note{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:68px;margin-top:18px;padding:13px 0 0;border-top:1px solid rgba(23,63,45,.12);color:#355743}.tn-home-products-partner-copy{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;align-items:flex-start!important;gap:3px!important}.tn-home-products-partner-copy strong{font-size:15px;line-height:1.35;color:#17402f}.tn-home-products-partner-copy span{font-size:12.5px;line-height:1.45;color:#66756c}.tn-home-products-partner-actions{display:flex;flex:0 0 auto;align-items:center;gap:9px}.tn-home-products-partner-actions .btn{display:inline-flex;align-items:center;justify-content:center;height:40px;min-height:40px;padding:0 18px;border-radius:7px;font-size:11px;line-height:1;font-weight:700;white-space:nowrap;text-decoration:none}.tn-home-products-partner-actions .btn:hover{text-decoration:none}

@media (min-width:768px) and (max-width:1024px){
  .tn-partner-hero-grid{grid-template-columns:.95fr 1.05fr;gap:26px}.tn-partner-hero-visual img{height:300px}
  .tn-partner-model-grid,.tn-partner-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tn-partner-process-grid>div:after{display:none}
  .tn-partner-product-grid{gap:11px}.tn-partner-product-photo img{height:190px}.tn-partner-product-body{padding:18px}
  .tn-partner-proof-grid,.tn-partner-form-layout{gap:28px}.tn-partner-proof-photo img{height:360px}
  .tn-partner-home-grid{gap:26px}.tn-partner-home-photo img{height:240px}.tn-partner-sample-cta{gap:18px}
}

@media (min-width:768px) and (max-width:1024px){
  .tn-home-products-partner-note{gap:18px;min-height:66px}.tn-home-products-partner-copy strong{font-size:14.5px}.tn-home-products-partner-copy span{font-size:12px}.tn-home-products-partner-actions{gap:7px}.tn-home-products-partner-actions .btn{height:38px;min-height:38px;padding:0 13px;font-size:10.5px}
}

@media (max-width:767px){
  .tn-partner-hero{min-height:0;padding:34px 0 38px}.tn-partner-hero-grid{display:flex;flex-direction:column;gap:24px;min-height:0}.tn-partner-hero-copy{padding:0}.tn-partner-hero-copy h1{margin:8px 0 14px}.tn-partner-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tn-partner-hero-actions .tn-btn{width:100%;min-width:0;height:44px;padding:0 10px}.tn-partner-hero-meta{font-size:var(--tn-type-card-copy);gap:8px}.tn-partner-hero-visual{width:100%;border-radius:13px}.tn-partner-hero-visual img{height:225px}
  .tn-partner-model-grid,.tn-partner-product-grid,.tn-partner-process-grid,.tn-partner-proof-grid,.tn-partner-form-layout,.tn-partner-home-grid{grid-template-columns:1fr}.tn-partner-model-grid{gap:9px}.tn-partner-model-grid article{padding:19px 18px}.tn-partner-product-grid{gap:12px}.tn-partner-product-photo img{height:220px}.tn-partner-process-grid{gap:9px}.tn-partner-process-grid>div:after{display:none}
  .tn-partner-proof-points{grid-template-columns:1fr}.tn-partner-proof-photo img{height:260px}.tn-partner-form-layout{gap:26px}.tn-partner-form-card{padding:18px}.tn-partner-form-grid{grid-template-columns:1fr}.tn-partner-span-2{grid-column:auto}
  .tn-partner-links-grid,.tn-partner-product-strip-inner{align-items:flex-start;flex-direction:column}.tn-partner-links-grid .actions,.tn-partner-product-strip .actions{width:100%;justify-content:flex-start}.tn-partner-links-grid .actions .btn,.tn-partner-product-strip .actions .btn{width:100%;text-align:center}
  .tn-partner-sample-cta{align-items:flex-start;flex-direction:column;padding:18px}.tn-partner-sample-cta .btn{width:100%;text-align:center}.tn-home-products-partner-note{align-items:flex-start;flex-direction:column;gap:12px;min-height:0;padding-top:14px}.tn-home-products-partner-copy{gap:4px!important}.tn-home-products-partner-copy strong{font-size:15px}.tn-home-products-partner-copy span{font-size:12.5px}.tn-home-products-partner-actions{display:grid;width:100%;grid-template-columns:1fr 1fr;gap:8px}.tn-home-products-partner-actions .btn{width:100%;height:40px;min-width:0;padding:0 8px;font-size:10.5px}.tn-partner-home-copy h2{max-width:none}.tn-partner-home-copy h2 br{display:none}.tn-partner-home-photo img{height:220px}
}
/* v1.10.55 — B2B anti-spam / Turnstile (merged onto v1.10.54 baseline) */
.tn-partner-turnstile{margin-top:16px;min-height:1px}
.tn-partner-turnstile .cf-turnstile{max-width:100%}


/* v1.11.13 — số thứ tự 01/02 trong card B2B dễ đọc hơn, đồng nhất mọi breakpoint */
.tn-partner-model-grid b,
.tn-partner-process-grid b{
  font-size:12.5px!important;
  line-height:1.2!important;
  font-weight:700!important;
}


/* v1.11.67 PREPROD — Quán & Đối tác: hạ ảnh proof xuống để đáy ảnh ngang đáy cụm card trên desktop */
@media (min-width:1025px){
  .tn-partner-proof-grid{
    align-items:stretch;
  }
  .tn-partner-proof-grid > div{
    display:flex;
    flex-direction:column;
    min-height:100%;
  }
  .tn-partner-proof-grid > div > p{
    margin-bottom:0;
  }
  .tn-partner-proof-points{
    flex:1 1 auto;
    align-items:stretch;
  }
  .tn-partner-proof-points > div{
    display:flex;
    flex-direction:column;
    min-height:0;
  }
  .tn-partner-proof-points > div span{
    margin-top:7px;
  }
  .tn-partner-proof-photo{
    align-self:end;
    margin-top:auto;
    height:auto;
  }
  .tn-partner-proof-photo img{
    height:410px;
    min-height:0;
  }
}
