/* OTPLumo UI safety layer - 2026-10-18. Applied to every SMS page. */
html{overflow-x:clip}*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:0;overflow-x:clip}
[hidden]{display:none!important}
.site-header,.account-bar,.sms-mobile-profile,.sms-site-footer{max-width:100%;min-width:0}
.site-header{background:#fff;position:relative;z-index:20}
.site-header .head-inner{width:100%;max-width:1200px;margin:0 auto;display:flex;align-items:center;min-width:0;padding:0 16px;gap:18px;min-height:68px}
.site-header .brand{display:flex;align-items:center;flex:0 0 auto;width:auto;max-width:185px;height:auto;min-width:0}
.site-header img.brand-logo,.sms-site-footer img.brand-logo{display:block!important;width:184px!important;max-width:100%!important;height:48px!important;max-height:48px!important;object-fit:contain!important}
.sms-site-footer .brand{width:184px;max-width:100%}
.sms-site-footer img.brand-logo{width:176px!important;height:48px!important}
.site-header .primary-nav{display:flex;align-items:center;gap:18px;min-width:0}
.site-header .primary-nav a{white-space:nowrap}
.site-header .head-actions{display:flex;align-items:center;gap:10px;margin-left:auto;min-width:0}
.locale-flag{max-width:24px;max-height:18px;object-fit:cover}
.site-header img,.sms-site-footer img{max-width:100%}
.sms-mobile-profile{display:none!important}
.workspace,.services-page,.faq-page,.sms-account-layout{width:100%;max-width:1200px;margin-inline:auto;min-width:0}
.workspace{padding:22px 16px 48px}
.workspace-grid{display:grid;grid-template-columns:minmax(290px,410px) minmax(0,1fr);gap:16px;align-items:start}
.workspace-grid>*{min-width:0}
.service-grid,.catalog-grid{min-width:0}
.service-tile{overflow:hidden;min-width:0}
.service-tile .service-logo,.service-tile .service-logo-fallback{width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;flex:0 0 28px!important;overflow:hidden;position:relative}
.service-tile .service-logo img{width:100%!important;height:100%!important;max-width:28px!important;max-height:28px!important;object-fit:contain!important;display:block}
.service-tile .service-logo .service-glyph{width:100%;height:100%}
.service-tile>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sms-site-footer{background:#fff;border-top:1px solid #e3e9ed}
.sms-site-footer .sms-footer-inner{max-width:1200px;width:100%;margin:0 auto;padding:24px 16px;min-width:0}
.sms-site-footer .sms-footer-top{display:flex;align-items:start;justify-content:space-between;gap:20px}
.sms-site-footer .sms-footer-identity{min-width:0}
.sms-site-footer .sms-footer-links nav{display:flex;gap:15px;flex-wrap:wrap}
.sms-site-footer .sms-footer-bottom{display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.sms-hero{width:100%;max-width:100%;position:relative;overflow:hidden;border-radius:12px;background:#101b45;margin:0 0 14px;aspect-ratio:1200 / 320;max-height:320px}
.sms-hero img{width:100%!important;height:100%!important;max-width:100%!important;display:block;object-fit:cover!important;object-position:center}
.sms-hero-note{position:absolute;bottom:10px;left:14px;color:#fff;background:#080e2daa;border-radius:6px;padding:7px 12px;font-size:12px}
.sms-mode-tabs{display:flex;align-items:center;justify-content:space-between;background:white;border:1px solid #e5e9ec;border-radius:10px;padding:8px 10px;margin:0 0 14px;gap:10px;font-weight:700}
.sms-mode-tabs .is-active{padding:10px 22px;border-radius:7px;background:#fe7900;color:white}
.sms-mode-tabs a{color:#f27600}
/* Server-rendered account layout: never wait for JavaScript to wrap content. */
.sms-account-layout{display:grid;grid-template-columns:minmax(255px,320px) minmax(0,1fr);gap:18px;align-items:start;padding:22px 16px 44px}
.sms-account-aside{min-width:0;display:grid;gap:14px}
.sms-account-main{min-width:0;width:100%}
.sms-account-main>.profile-part{width:100%;min-width:0;max-width:100%;margin:0;padding:0}
.sms-detail-card{max-width:100%;overflow-wrap:anywhere}
.transaction-table-wrap{width:100%;overflow-x:auto}
.transaction-table{width:100%;min-width:580px;border-collapse:collapse}
.transaction-table th,.transaction-table td{padding:12px 10px;border-bottom:1px solid #e9edf0;text-align:left}
.transaction-table th{background:#fff0e2;color:#182c43}
.sms-account-main .sms-detail-page h1{font-size:clamp(21px,3vw,30px)}
@media(max-width:900px){.site-header .head-inner{gap:10px}.site-header .primary-nav{gap:9px}.site-header .primary-nav a{font-size:12px}.workspace-grid{grid-template-columns:minmax(0,1fr)}.sms-account-layout{grid-template-columns:minmax(0,1fr)}.sms-account-aside{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
 .site-header .head-inner{height:58px;min-height:58px;padding:0 12px}
 .site-header .brand{max-width:145px}
 .site-header img.brand-logo{width:145px!important;height:40px!important;max-height:40px!important}
 .site-header .head-actions{gap:6px}
 .site-header .head-actions .account-link{display:none!important}
 .site-header .primary-nav{display:none;position:absolute;top:58px;left:10px;right:10px;z-index:40;padding:15px;background:#fff;border:1px solid #e5e9ed;border-radius:9px;box-shadow:0 15px 30px #12253b33;flex-direction:column;align-items:stretch;gap:4px;height:auto}
 .site-header .primary-nav.is-open{display:flex!important}
 .site-header .primary-nav a{font-size:14px;padding:8px}
 .sms-mobile-profile{display:block!important}
 .account-bar{display:none!important}
 .workspace{padding:16px 11px 30px}
 .workspace-grid,.sms-account-layout,.sms-account-aside{display:grid;grid-template-columns:minmax(0,1fr)}
 .sms-account-layout{padding:12px 10px 25px}
 .sms-account-aside{display:none}
 .sms-hero{aspect-ratio:1200/320;max-height:180px;border-radius:9px}
 .sms-hero-note{font-size:10px;bottom:5px;left:7px;padding:4px 6px}
 .sms-mode-tabs .is-active{padding:9px 12px}
 .sms-site-footer .sms-footer-top{flex-direction:column}
 .sms-site-footer .sms-footer-inner{padding:24px 12px}
 .sms-site-footer img.brand-logo{width:166px!important;height:44px!important}
 .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){.site-header .head-inner{gap:5px}.site-header .brand{max-width:130px}.site-header img.brand-logo{width:130px!important;height:36px!important}.locale-picker .quiet-button{font-size:10px;padding:6px 5px}.sms-hero-note{display:none}}

/* OTPLumo configurable banner slider. Do not let large source images stretch layout. */
.sms-hero .sms-hero-track{position:absolute;inset:0;overflow:hidden}
.sms-hero .sms-hero-slide{position:absolute;inset:0;width:100%;height:100%;opacity:0;visibility:hidden;z-index:0;transition:opacity .45s ease,visibility .45s ease}
.sms-hero .sms-hero-slide.is-active{opacity:1;visibility:visible;z-index:1}
.sms-hero .sms-hero-slide img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important;display:block}
.sms-hero .sms-hero-controls{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);z-index:4;display:flex;gap:7px;background:#071a3880;border-radius:30px;padding:6px 9px}
.sms-hero .sms-hero-dot{width:10px;height:10px;border:0;padding:0;border-radius:50%;background:#ffffff80;cursor:pointer}
.sms-hero .sms-hero-dot.is-active{background:#ff871a;box-shadow:0 0 0 2px #ffffff70}
.sms-hero .sms-hero-dot:focus-visible{outline:3px solid #fff;outline-offset:3px}
.sms-preview-tag{color:#64788b;font-size:11px;font-weight:500;display:block;margin:-6px 0 10px}
.sms-preview-country{font-size:12px;min-height:40px;display:grid;grid-template-columns:minmax(0,1fr) 90px 90px;gap:8px;align-items:center;background:#f8f9fa;border:1px solid #e1e5e8;border-radius:6px;margin-bottom:6px;padding:5px 8px;width:100%;cursor:pointer;text-align:left}
.sms-preview-country:hover{border-color:#ff940f;background:#fff5ea}
.sms-preview-country .price-button{display:inline-grid;place-items:center;pointer-events:none}
.sms-preview-country .quantity{font-size:11px;color:#667789;text-align:right}
.sms-preview-country .country-name{display:flex;align-items:center;gap:6px;min-width:0}
.sms-preview-country .country-name .country-preview-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sms-preview-note{font-size:12px;color:#637285;margin:8px 0 0}
@media(max-width:680px){.sms-hero .sms-hero-controls{bottom:6px;padding:5px}.sms-hero .sms-hero-dot{width:8px;height:8px}.sms-preview-country{grid-template-columns:minmax(0,1fr) 67px 82px;font-size:11px;gap:4px;padding:5px}.sms-preview-country .quantity{font-size:10px}}
.sms-preview-select{display:inline-flex;align-items:center;gap:4px;margin:9px 0 0;padding:9px 12px;border:0;background:#ff7900;color:#fff;border-radius:7px;font-weight:700;font-size:12px;cursor:pointer}
.sms-preview-select:hover{background:#db6900}
.sms-preview-heading h1{margin:0 0 4px;font-size:clamp(20px,2.4vw,26px);font-weight:800}
.sms-preview-heading small{font-size:12px;color:#778696}

/* 2026-10-18 stock+banner fix: whole image always visible. Previous cover cropped uploaded creatives. */
.sms-hero{background:linear-gradient(120deg,#071a35,#172c56);aspect-ratio:1200 / 320;max-height:none}
.sms-hero .sms-hero-slide img{object-fit:contain!important;object-position:center center!important}
.sms-hero img{object-fit:contain!important;object-position:center center!important}
@media(max-width:680px){.sms-hero{aspect-ratio:1200 / 320;max-height:none}}
