/* HSB commerce clarity: use existing theme UI tokens when available */
.hsb-commerce-guide { box-sizing: border-box; margin: 28px auto 42px; padding: clamp(18px,2.5vw,32px); background: var(--hsb-surface,#f7faff); border:1px solid var(--hsb-border,#dbe5f0); border-radius: 20px; color: var(--hsb-text,#162c46); }
.hsb-commerce-guide__eyebrow { font-weight:700; color:var(--hsb-primary,#1c5b99); margin:0 0 8px; }
.hsb-commerce-guide__head h2 {font-size:clamp(1.3rem,2vw,1.8rem);line-height:1.6;margin:0 0 8px;}
.hsb-commerce-guide__head>p:last-child {margin:0 0 20px;line-height:1.9;}
.hsb-commerce-guide__grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.hsb-commerce-guide__card {padding:20px;border:1px solid var(--hsb-border,#dbe5f0);border-radius:14px;background:var(--hsb-card-bg,#fff);box-shadow:0 6px 24px rgba(11,48,85,.045);}
.hsb-commerce-guide__step {display:inline-block;margin-bottom:6px;color:var(--hsb-primary,#1c5b99);font-weight:800;}
.hsb-commerce-guide__card h3 {font-size:1.07rem;margin:0 0 10px;line-height:1.7;}
.hsb-commerce-guide__card p,.hsb-commerce-guide__note {font-size:.95rem;line-height:2;margin:0;}
.hsb-commerce-guide__note {margin-top:15px;color:var(--hsb-muted,#50657a);}
.hsb-trust-badges {display:grid;grid-template-columns:repeat(2,100px);align-items:center;justify-content:center;gap:12px;flex:0 0 212px;width:212px;min-width:212px;max-width:100%;direction:rtl;}
.site-footer__identity-card .hsb-trust-badges .hsb-trust-badges__slot,.hsb-trust-badges__slot {width:100px;min-width:100px;height:150px;max-height:150px;flex:0 0 100px;display:flex;justify-content:center;align-items:center;background:var(--hsb-footer-enamad-bg,#fff);border-radius:12px;padding:8px;overflow:hidden;box-sizing:border-box;}
.site-footer__identity-card .hsb-trust-badges .hsb-trust-badges__slot img,.hsb-trust-badges__slot img {max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;}
.hsb-checkout-intro {background:var(--hsb-surface,#f7faff);border:1px solid var(--hsb-border,#dbe5f0);border-right:4px solid var(--hsb-primary,#1c5b99);border-radius:14px;padding:18px 22px;margin:16px 0 24px;color:var(--hsb-text,#162c46);}
.hsb-checkout-intro h1 {font-size:clamp(1.35rem,2vw,1.75rem);line-height:1.6;margin:0 0 8px;}
.hsb-checkout-intro p {line-height:1.95;margin:0;}
@media(max-width:700px){.hsb-commerce-guide__grid{grid-template-columns:1fr}.hsb-commerce-guide{margin-block:18px 30px;padding:16px}.hsb-trust-badges{justify-content:center}}

/* Pending Zarinpal is NOT an official verification badge. */
.hsb-trust-badges__zarinpal-pending{flex-direction:column;gap:7px;text-align:center;border:1px dashed var(--hsb-border,#cbdcef);background:var(--hsb-surface,#f7faff)!important;color:var(--hsb-primary,#1d619e);}
.hsb-trust-badges__pending-name{font-size:15px;font-weight:800;line-height:1.5;}
.hsb-trust-badges__pending-status{font-size:10px;font-weight:600;line-height:1.7;color:var(--hsb-muted,#526b82);}

/* Trust badges: two equal 2:3 slots alongside footer identity, not a stacked column. */
.site-footer__identity-card{align-items:center;}
.site-footer__identity-card .hsb-trust-badges{grid-template-columns:repeat(2,minmax(0,100px));width:212px;min-width:212px;flex:0 0 212px;align-self:center;}
.site-footer__identity-card .hsb-trust-badges__slot{margin:0;width:100px;min-width:100px;height:150px;max-height:150px;flex:none;border-radius:12px;}
.site-footer__identity-card .hsb-trust-badges__pending-name{font-size:13px;}
.site-footer__identity-card .hsb-trust-badges__pending-status{font-size:10px;}
.site-footer__identity-card .site-footer__identity-main{min-width:0;}
.site-footer__identity-card .site-footer__identity-copy{min-width:0;}
.site-footer__identity-card .site-footer__enamad-link.hsb-trust-badges__slot img{max-height:132px;max-width:84px;width:auto;height:auto;object-fit:contain;}
.site-footer__identity-card .site-footer__enamad-link.hsb-enamad-image-failed:after{content:'مشاهده وضعیت ای‌نماد';display:block;text-align:center;line-height:1.8;font-size:12px;font-weight:700;color:var(--hsb-primary,#1d619e);}
@media (max-width:850px){.site-footer__identity-card{flex-wrap:wrap;}.site-footer__identity-card .hsb-trust-badges{margin-inline-start:auto;}}
@media (max-width:520px){.site-footer__identity-card .hsb-trust-badges{margin-inline:auto;}}
