/* Targeted repairs for the existing shop design; no checkout or price logic. */
html body.afs-shop-design #main-wrapper #content-wrapper .mt404-hero h1 {
    color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body.afs-shop-design #main-wrapper #content-wrapper .mt404-hero h1 span {
    color:#dc91a0!important;-webkit-text-fill-color:#dc91a0!important;
}
html body.afs-shop-design #main-wrapper #content-wrapper .mt404-hero.mt404-hero a.mt404-button.mt404-button,
html body.afs-shop-design #main-wrapper #content-wrapper .mt404-hero.mt404-hero button.mt404-button.mt404-button {
    color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body.afs-shop-design #main-wrapper #content-wrapper .mt404-hero a.mt404-button:hover,
html body.afs-shop-design #main-wrapper #content-wrapper .mt404-hero a.mt404-button:focus-visible {
    color:#fff!important;-webkit-text-fill-color:#fff!important;background:#702b32!important;
}
html body.afs-shop-design #main-wrapper #content-wrapper .mt404-hero .mt404-button:focus-visible {
    outline:3px solid #dc91a0!important;outline-offset:4px;
}

/* Native gallery/stream cards: three title and description lines, full approval. */
html body.afs-shop-design #main-wrapper #content-wrapper .productbox-column .productbox-title {
    min-height:4.2em!important;line-height:1.4!important;
}
html body.afs-shop-design #main-wrapper #content-wrapper .productbox-column .productbox-title a {
    display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;
    line-clamp:3;overflow:hidden!important;line-height:1.4!important;max-height:4.2em;
}
html body.afs-shop-design #main-wrapper #content-wrapper :is(#product-list,.afs-product-tabs) .productbox-column .afs-gallery-description {
    display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;
    overflow:hidden!important;line-height:1.5!important;height:4.5em!important;max-height:4.5em!important;
    margin:8px 0 12px!important;
}
html body.afs-shop-design #main-wrapper #content-wrapper .productbox-column .mtpd-list-approval {
    min-height:7.2em;box-sizing:border-box;
}
html body.afs-shop-design #main-wrapper #content-wrapper a.afs-sale-entry {
    display:inline-flex!important;flex-direction:column;align-items:center;gap:18px;
    text-decoration:none!important;margin:12px auto 24px;
}
html body.afs-shop-design #main-wrapper #content-wrapper a.afs-sale-entry .afs-sale-entry-label {
    display:block;background:#81323a;color:#fff!important;-webkit-text-fill-color:#fff!important;
    border:1px solid #81323a;border-radius:4px;padding:13px 20px;font-weight:600;line-height:1.5;
}
html body.afs-shop-design #main-wrapper #content-wrapper a.afs-sale-entry:hover .afs-sale-entry-label,
html body.afs-shop-design #main-wrapper #content-wrapper a.afs-sale-entry:focus-visible .afs-sale-entry-label {
    background:#702b32;border-color:#702b32;
}
html body.afs-shop-design #main-wrapper #content-wrapper a.afs-sale-entry:focus-visible {
    outline:3px solid #81323a;outline-offset:5px;
}

/* OPC start-page styles have an additional ID scope. Override that scope
   explicitly, preserving native streams and all product links. */
html body.afs-shop-design #main-wrapper #content-wrapper #afs-home#afs-home .afs-product-tabs .productbox-column .productbox-title {
 height:4.2em!important;min-height:4.2em!important;max-height:4.2em!important;font-size:14px!important;line-height:1.4!important;overflow:hidden!important;
}
html body.afs-shop-design #main-wrapper #content-wrapper #afs-home#afs-home .afs-product-tabs .productbox-column .productbox-title a {
 display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3;
 font-size:14px!important;line-height:1.4!important;overflow:hidden!important;max-height:4.2em!important;
}
html body.afs-shop-design #main-wrapper #content-wrapper #afs-home#afs-home .afs-product-tabs .productbox-column .afs-gallery-description {
 display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-clamp:3;
 font-size:13px!important;line-height:1.5!important;height:4.5em!important;min-height:4.5em!important;max-height:4.5em!important;overflow:hidden!important;
}
