/* Opt-in layer for the existing Millboard card. Original warranty CSS remains intact. */
#tm-category .tm-millboard-warranty.tm-mb-blackfriday{background:#173e2a;display:flex;flex-direction:column;gap:0;min-height:0}
#tm-category .tm-mb-blackfriday::before{width:24px;height:24px}
#tm-category .tmbf-top{padding:20px 20px 0}
#tm-category .tmbf-label{display:inline-block;background:#00aeef;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,12px 100%,0 calc(100% - 12px));padding:13px 23px 15px 15px;color:#fff;font:800 40px/.86 Kanit,Arial,sans-serif;letter-spacing:-.7px}
#tm-category .tmbf-label span{display:block}
#tm-category .tmbf-label i{font-style:normal;color:#ff8119}
#tm-category .tmbf-copy{padding:16px 20px 16px}
#tm-category .tm-mb-blackfriday h3{font:800 25px/1.08 Kanit,Arial,sans-serif;letter-spacing:-.3px;color:#fff;margin:0}
#tm-category .tmbf-copy p{font-size:12px;line-height:1.55;color:#fff;margin:10px 0 0;max-width:29ch}
#tm-category .tmbf-photo{position:relative;aspect-ratio:1.25;flex:0 0 auto;margin:0 14px;overflow:hidden;background:#eef2eb;clip-path:polygon(0 0,calc(100% - 26px) 0,100% 26px,100% 100%,26px 100%,0 calc(100% - 26px))}
#tm-category .tmbf-photo img{display:block;position:absolute;top:0;left:0;width:100%;height:auto;max-width:none}
#tm-category .tmbf-bottom{margin-top:auto;padding:6px 14px 17px}
#tm-category a.tmbf-button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:13px 14px;background:#00aeef;color:#fff;font-size:13px;line-height:1.35;font-weight:700;text-decoration:none;clip-path:polygon(0 0,calc(100% - 13px) 0,100% 13px,100% 100%,0 100%);box-sizing:border-box;transition:background-color .15s}
#tm-category a.tmbf-button:hover{background:#0085b6;color:#fff}
#tm-category a.tmbf-button:focus-visible{outline:0;box-shadow:inset 0 0 0 3px #fff;text-decoration:underline}
#tm-category .tmbf-button svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8}
#tm-category .tmbf-date{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;line-height:1.5;font-weight:700;color:#173e2a;background:#ff8119;width:fit-content;padding:5px 10px;margin:12px auto 0;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px))}
#tm-category .tmbf-date svg{width:15px;height:15px;color:#173e2a;fill:none;stroke:currentColor;stroke-width:2}
@media(max-width:1000px) and (min-width:601px){
 #tm-category .tm-millboard-warranty.tm-mb-blackfriday{display:grid;grid-template-columns:minmax(0,1fr) 46%;grid-template-rows:auto 1fr auto}
 #tm-category .tmbf-top{grid-column:1;grid-row:1;padding:22px 22px 0}
 #tm-category .tmbf-copy{grid-column:1;grid-row:2;padding:16px 22px}
 #tm-category .tmbf-photo{grid-column:2;grid-row:1/3;margin:18px 18px 0 0;align-self:end}
 #tm-category .tmbf-bottom{grid-column:1/-1;grid-row:3;padding:10px 22px 18px}
}
@media(max-width:600px){
 #tm-category .tmbf-top{padding:18px 18px 0}
 #tm-category .tmbf-label{font-size:39px}
 #tm-category .tmbf-copy{padding:14px 18px}
 #tm-category .tm-mb-blackfriday h3{font-size:25px}
 #tm-category .tmbf-copy p{font-size:12px;margin-top:8px;max-width:32ch}
 #tm-category a.tmbf-button{font-size:13px}
}
@media(prefers-reduced-motion:reduce){#tm-category a.tmbf-button{transition:none}}
