/* Shopmart Promotions Foundation. Frontend CSS is ONLY loaded for the actual new template. */
#spm-promotions{background:#fff;color:#1F2328;padding:18px 0 48px}
#spm-promotions *{box-sizing:border-box}
#spm-promotions .spm-container{width:calc(100% - 32px);max-width:1380px;margin:0 auto}
#spm-promotions .spm-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#spm-promotions ul.products.spm-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;list-style:none!important;padding:0!important;margin:0!important;align-items:stretch;clear:both}
#spm-promotions ul.products.spm-product-grid::before,#spm-promotions ul.products.spm-product-grid::after{content:none!important}
#spm-promotions ul.products.spm-product-grid>li.product{width:auto!important;min-width:0!important;max-width:none!important;float:none!important;clear:none!important;margin:0!important;box-sizing:border-box;border:1px solid #EEE9EF;border-radius:14px;padding:12px!important;background:#fff}
#spm-promotions .spm-section-break{padding:28px 0 16px}
#spm-promotions .spm-section-break h2{font-size:19px;line-height:1.3;color:#1F2328;font-weight:650;margin:0}
#spm-promotions .spm-empty{padding:35px;background:#F8F5F8;border-radius:14px;text-align:center}
@media(max-width:1023px){#spm-promotions ul.products.spm-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media(max-width:767px){#spm-promotions{padding:12px 0 34px}#spm-promotions .spm-container{width:calc(100% - 24px)}#spm-promotions ul.products.spm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#spm-promotions ul.products.spm-product-grid>li.product{padding:8px!important;border-radius:11px}#spm-promotions .spm-section-break{padding:23px 0 13px}#spm-promotions .spm-section-break h2{font-size:16px}}

/* v1.0.2 — Product Sections design re-used only inside Promotions. */
#spm-promotions .spm-card-wrap.smps-section{width:100%;min-width:0;margin:0;--smps-primary:#C60051;--smps-secondary:#89236E;--smps-space:12px}
#spm-promotions .spm-card-wrap.smps-section .smps-grid.spm-card-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-template-rows:none!important;gap:12px!important;width:100%;min-width:0;align-items:stretch}
#spm-promotions .spm-card-wrap .smps-card{width:100%;max-width:100%;min-width:0;margin:0}
#spm-promotions .spm-card-wrap .smps-product-name{word-break:normal}
@media(max-width:1023px){#spm-promotions .spm-card-wrap.smps-section .smps-grid.spm-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important}}
@media(max-width:767px){#spm-promotions .spm-card-wrap.smps-section .smps-grid.spm-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}}

/* v1.0.2: compact, accessible Show More, based on Shopmart Premium Minimal. */
#spm-promotions .spm-more-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;margin:25px auto 0;text-align:center}
#spm-promotions .spm-more-button{min-width:250px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 25px;border:1px solid #E8DFE7;border-radius:999px;background:#fff;color:#39283B;font-size:13px;font-weight:650;line-height:1.4;text-decoration:none;transition:border-color .18s ease,box-shadow .18s ease,color .18s ease,background .18s ease}
#spm-promotions .spm-more-button:hover,#spm-promotions .spm-more-button:focus-visible{color:#89236E;border-color:#CCABC5;background:#FFF9FC;box-shadow:0 4px 14px rgba(57,40,59,.07);text-decoration:none}
#spm-promotions .spm-more-button:focus-visible{outline:2px solid #89236E;outline-offset:3px}
#spm-promotions .spm-more-button[aria-disabled="true"]{pointer-events:none;opacity:.65;cursor:progress}
#spm-promotions .spm-more-button svg{flex:none}
#spm-promotions .spm-more-feedback{margin:0;color:#746C75;font-size:12px;min-height:17px}
#spm-promotions .spm-more-feedback:empty{display:none}
@media(max-width:767px){#spm-promotions .spm-more-wrap{margin-top:22px}#spm-promotions .spm-more-button{min-width:220px;min-height:42px}}
@media(prefers-reduced-motion:reduce){#spm-promotions .spm-more-button{transition:none}}

/* v1.0.11: legible product names throughout Promotions only (including AJAX). */
#spm-promotions .spm-card-wrap .smps-product-name{font-size:14px;line-height:1.38;min-height:2.76em;max-height:2.76em;font-weight:650}
@media(max-width:767px){
 #spm-promotions .spm-card-wrap .smps-product-name{font-size:12.5px;line-height:1.38;min-height:2.76em;max-height:2.76em}
}

/* v1.0.11: original inline SVG in Promotions discount percentage pills only. */
#spm-promotions .smps-section .smps-badges .smps-badge{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
#spm-promotions .smps-section .smps-badge .spm-discount-mark{display:block!important;width:11px;height:11px;min-width:11px;flex:none;stroke:currentColor;fill:none}
@media(max-width:767px){
 #spm-promotions .smps-section .smps-badges .smps-badge{gap:3px}
 #spm-promotions .smps-section .smps-badge .spm-discount-mark{width:9px;height:9px;min-width:9px}
}
