.header .brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    max-width: 207px;
    gap: 3px;
}
.ats-brand-subtitle {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-width: 100%;
    color: #173f60;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 1.3px;
    text-align: center;
    overflow-wrap: anywhere;
}
.ats-slider .hero-photo img,
.ats-category-banner-photo img {
    filter: none;
    opacity: 1;
}
.ats-slider .hero-photo::after {
    background: linear-gradient(90deg, #07578e40, transparent 22%);
}
.woocommerce span.onsale {
    min-width: 0;
    min-height: 0;
    padding: 8px 12px;
    border-radius: 3px;
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
    line-height: 1.25;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 3px 10px #06345d18;
}
.woocommerce ul.products li.product span.onsale {
    top: 10px;
    right: 10px;
    left: auto;
    margin: 0;
}
.ats-sale {
    z-index: 2;
    background: #fff0f0;
    color: #bd1e28;
    border: 1px solid #eea2aa;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .15px;
    animation: ats-campaign-emphasis 3.4s ease-in-out infinite;
}
@keyframes ats-campaign-emphasis {
    0%, 100% { box-shadow: 0 0 0 0 #bd1e2810; }
    50% { box-shadow: 0 0 10px 2px #bd1e2830; }
}
@media (max-width: 850px) {
    .header .brand { max-width: 185px; }
    .ats-brand-subtitle { font-size: 11px; letter-spacing: 1.15px; }
}
@media (max-width: 580px) {
    .header .brand { max-width: 156px; gap: 2px; }
    .ats-brand-subtitle { font-size: 10px; letter-spacing: 1px; }
    .ats-slider .hero-photo::after { background: none; }
    .ats-slider .ats-slide .hero-copy {
        background: linear-gradient(90deg, #001d35bf, #002b4aad);
    }
    .ats-sale { padding: 5px 7px; font-size: 12px; }
    .woocommerce span.onsale { padding: 6px 9px; font-size: 11px; }
    .ats-social { bottom: calc(144px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
    .ats-sale { animation: none; }
}

/* Keep the small text and calls to action readable on their existing surfaces. */
.btn-green { background: #007f35; color: #fff; }
.btn-blue { background: #0864ba; color: #fff; }
.section-heading > a,
.ats-row-heading > a,
.ats-category-banner .ats-kicker { color: #075a9b; }
.ats-tabs button { color: #4e6479; }
.ats-tabs button[aria-selected="true"] {
    color: #075a9b;
    border-bottom-color: #075a9b;
}
.ats-price del { color: #52677b; opacity: 1; }
.ats-price del .woocommerce-Price-amount { color: inherit; opacity: 1; }
.ats-menu .current-menu-item > a,
.ats-menu .current-menu-ancestor > a,
.ats-menu a:hover,
.ats-menu a:focus-visible { color: #075a9b; }
.benefits small { color: #4e6479; opacity: 1; }
.footer-brand img { height: auto; }

/* The visible dots remain small; each actual button owns a separate target. */
.ats-slider-dots { gap: 8px; }
.ats-slider-dots button,
.ats-slider-dots button[aria-pressed="true"] {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.ats-slider-dots button::after { content: none; }
.ats-slider-dots button::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 20px;
    background: #ffffffa6;
}
.ats-slider-dots button[aria-pressed="true"]::before {
    width: 18px;
    background: #fff;
}
@media (max-width: 389px) {
    .ats-slider-controls {
        width: calc(100% - 8px);
        gap: 2px;
        padding-inline: 0;
        justify-content: center;
    }
    .ats-slider-controls > button { width: 30px; height: 40px; }
}
