/* =========================================
   Batterioutlet Homepage Sections
   Uses existing design tokens from header.css:
   --bo-accent: #F0C100
   --bo-accent-dark: #B39002
   --bo-text: #24262B
   --bo-text-muted: #666
   --bo-bg: #FFFFFF
   --bo-bg-secondary: #FAFAFA
   --bo-border: #eee
   --bo-font: "Cabinet Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif
   --bo-container-width: 1200px
   ========================================= */

/* ============ Base ============ */

.bo-homepage {
    overflow-x: hidden;
}

.bo-hp-section {
    padding: 56px 0;
}

.bo-hp-section__heading {
    font-family: var(--bo-font);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--bo-text);
    margin: 0 0 32px;
    text-align: center;
}

.bo-hp-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.bo-hp-section__header .bo-hp-section__heading {
    margin-bottom: 0;
    text-align: left;
}

.bo-hp-section__link {
    font-family: var(--bo-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--bo-accent-dark);
    text-decoration: none;
    white-space: nowrap;
}

.bo-hp-section__link:hover {
    text-decoration: underline;
}

.bo-hp-section__desc {
    color: var(--bo-text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: -16px 0 24px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ============ Buttons ============ */

.bo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.bo-btn--primary {
    background: var(--bo-accent);
    color: #000;
    border-color: var(--bo-accent);
}

.bo-btn--primary:hover {
    background: var(--bo-accent-dark);
    border-color: var(--bo-accent-dark);
    color: #000;
}

.bo-btn--outline {
    background: transparent;
    color: var(--bo-text);
    border-color: var(--bo-text);
}

.bo-btn--outline:hover {
    background: var(--bo-text);
    color: #fff;
}

.bo-btn--accent {
    background: var(--bo-accent);
    color: #000;
    border-color: var(--bo-accent);
}

.bo-btn--accent:hover {
    background: var(--bo-accent-dark);
    border-color: var(--bo-accent-dark);
}

/* ============ Hero Slider ============ */

.bo-hp-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 420px;
    contain: layout style;
}

.bo-hp-hero__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.bo-hp-hero__slide {
    background: linear-gradient(135deg, #1B1B1B 0%, #2a2a2a 100%);
    padding: 72px 0 64px;
    position: relative;
    display: flex;
    min-height: 420px;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    flex-shrink: 0;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.bo-hp-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.bo-hp-hero__slide--has-bg .bo-hp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.bo-hp-hero__slide .bo-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--bo-container-width);
    box-sizing: border-box;
}

.bo-hp-hero__content {
    max-width: 660px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.bo-hp-hero__badge {
    display: inline-block;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    background: var(--bo-accent);
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.bo-hp-hero__heading {
    font-family: var(--bo-font);
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.15;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bo-hp-hero__sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 32px;
    line-height: 1.5;
}

.bo-hp-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.bo-hp-hero__search {
    width: 100%;
    max-width: 520px;
    box-sizing: border-box;
    overflow: hidden;
}

/* FiboSearch on dark hero — clean rounded search bar */
.bo-hp-hero .dgwt-wcas-search-wrapp {
    max-width: 100%;
    margin: 0 auto;
}

.bo-hp-hero .dgwt-wcas-search-wrapp .dgwt-wcas-search-form {
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border: none;
}

.bo-hp-hero .dgwt-wcas-sf-wrapp {
    position: relative;
}

.bo-hp-hero .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
    background: transparent !important;
    color: var(--bo-text);
    border: none !important;
    box-shadow: none !important;
    font-size: 15px;
    padding: 0 50px 0 20px !important;
    height: 44px !important;
    box-sizing: border-box;
}

.bo-hp-hero .dgwt-wcas-sf-wrapp input[type="search"]::placeholder {
    color: #999;
}

/* Move the magnifier icon to the right */
.bo-hp-hero .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    left: auto !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%);
    background: var(--bo-accent) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #000 !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    cursor: pointer;
    pointer-events: auto !important;
    transition: background 0.2s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.bo-hp-hero .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover {
    background: var(--bo-accent-dark) !important;
}

.bo-hp-hero .dgwt-wcas-ico-magnifier,
.bo-hp-hero .dgwt-wcas-ico-magnifier-handler,
.bo-hp-hero .dgwt-wcas-search-submit svg,
.bo-hp-hero .dgwt-wcas-search-submit svg path,
.bo-hp-hero .dgwt-wcas-search-submit svg circle,
.bo-hp-hero .dgwt-wcas-search-submit svg line {
    fill: #000 !important;
    stroke: #000 !important;
    color: #000 !important;
    opacity: 1 !important;
}

.bo-hp-hero .dgwt-wcas-preloader {
    background: transparent !important;
}

.bo-hp-hero .dgwt-wcas-close {
    background: transparent !important;
}

/* Hero CTA buttons — designed for dark backgrounds */
.bo-btn--hero {
    background: var(--bo-accent);
    color: #000;
    border-color: var(--bo-accent);
}

.bo-btn--hero:hover {
    background: var(--bo-accent-dark);
    border-color: var(--bo-accent-dark);
    color: #000;
}

.bo-btn--hero-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.bo-btn--hero-outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--bo-text);
}

/* Slider dots */
.bo-hp-hero__nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 3;
}

.bo-hp-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.bo-hp-hero__dot.is-active {
    background: var(--bo-accent);
    border-color: var(--bo-accent);
    transform: scale(1.2);
}

.bo-hp-hero__dot:hover {
    border-color: #fff;
}

/* ============ Category Grid ============ */

.bo-hp-categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.bo-hp-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 12px;
    background: #fff;
    border: 1px solid var(--bo-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--bo-text);
    transition: all 0.2s ease;
}

.bo-hp-cat-card:hover {
    border-color: var(--bo-accent);
    box-shadow: 0 4px 16px rgba(240, 193, 0, 0.12);
    transform: translateY(-2px);
    color: var(--bo-text);
}

.bo-hp-cat-card__img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
}

.bo-hp-cat-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bo-accent-dark);
}

.bo-hp-cat-card__icon svg {
    width: 100%;
    height: 100%;
}

.bo-hp-cat-card__title {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* ============ Categories — carousel mode ============ */

.bo-hp-categories__track-wrap {
    position: relative;
}

.is-carousel .bo-hp-categories__grid {
    display: flex;
    padding: 2px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.is-carousel .bo-hp-categories__grid::-webkit-scrollbar {
    display: none;
}

.is-carousel .bo-hp-cat-card {
    min-width: 140px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.bo-hp-categories__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--bo-border, #e5e5e5);
    background: #fff;
    color: var(--bo-text, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: opacity .2s, box-shadow .2s;
    z-index: 2;
    padding: 0;
    letter-spacing: 0;
    font-family: inherit;
    line-height: 1;
}

.bo-hp-categories__arrow:hover {
    background: #fff;
    color: var(--bo-text, #222);
    border-color: var(--bo-border, #e5e5e5);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.bo-hp-categories__arrow--prev {
    left: -18px;
}

.bo-hp-categories__arrow--next {
    right: -18px;
}

.bo-hp-categories__arrow[hidden] {
    display: none;
}

/* ============ Products (shared) ============ */

.bo-hp-products ul.products {
    display: grid !important;
    gap: 16px;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.bo-hp-products ul.products::before,
.bo-hp-products ul.products::after {
    content: none !important;
}

.bo-hp-products ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.bo-hp-products ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.bo-hp-products ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
.bo-hp-products ul.products.columns-5 { grid-template-columns: repeat(5, 1fr); }
.bo-hp-products ul.products.columns-6 { grid-template-columns: repeat(6, 1fr); }

.bo-hp-products ul.products li.product {
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

@media (max-width: 768px) {
    .bo-hp-products ul.products.columns-3,
    .bo-hp-products ul.products.columns-4,
    .bo-hp-products ul.products.columns-5,
    .bo-hp-products ul.products.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .bo-hp-products ul.products.columns-2,
    .bo-hp-products ul.products.columns-3,
    .bo-hp-products ul.products.columns-4,
    .bo-hp-products ul.products.columns-5,
    .bo-hp-products ul.products.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============ Brands ============ */

.bo-hp-brands {
    background: var(--bo-bg-secondary);
}

.bo-hp-brands__track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px 40px;
}

.bo-hp-brands__item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    text-decoration: none;
    color: var(--bo-text);
}

.bo-hp-brands__item:hover {
    opacity: 1;
}

.bo-hp-brands__item img {
    max-height: 48px;
    width: auto;
}

/* ============ Action Boxes ============ */

.bo-hp-action-boxes__grid {
    display: grid;
    gap: 16px;
}

.bo-hp-action-boxes__grid--2 { grid-template-columns: 1fr 1fr; }
.bo-hp-action-boxes__grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.bo-hp-action-boxes__grid--4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.bo-hp-action-boxes__grid--5 {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
}

.bo-hp-action-boxes__grid--5 .bo-hp-action-box--large {
    grid-row: span 2;
}

.bo-hp-action-boxes__grid--6 { grid-template-columns: repeat(3, 1fr); }

.bo-hp-action-box {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 200px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #2a2a2a;
}

.bo-hp-action-box--large {
    min-height: 320px;
}

.bo-hp-action-box__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bo-hp-action-box:hover .bo-hp-action-box__bg {
    transform: scale(1.05);
}

.bo-hp-action-box__overlay {
    position: relative;
    z-index: 1;
    padding: 24px;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.bo-hp-action-box__title {
    font-family: var(--bo-font);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: #fff;
}

.bo-hp-action-box__subtitle {
    font-size: 0.875rem;
    opacity: 0.85;
    margin: 0 0 8px;
}

.bo-hp-action-box__cta {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bo-accent);
    letter-spacing: 0.03em;
}

/* ============ Text / SEO Block ============ */

.bo-hp-text--light  { background: var(--bo-bg-secondary); }
.bo-hp-text--dark   { background: var(--bo-text); color: #fff; }
.bo-hp-text--accent { background: var(--bo-accent); color: #000; }

.bo-hp-text--dark .bo-hp-section__heading { color: #fff; }
.bo-hp-text--dark .bo-hp-text__sub { color: rgba(255,255,255,0.7); }

.bo-hp-text__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bo-hp-text__sub {
    font-size: 1.15rem;
    color: var(--bo-accent-dark);
    margin: -10px 0 24px;
    font-weight: 600;
}

.bo-hp-text__content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bo-text-muted);
    margin-bottom: 24px;
    text-align: left;
}

.bo-hp-text--dark .bo-hp-text__content { color: rgba(255,255,255,0.8); }

/* ============ AI Assistant ============ */

.bo-hp-ai {
    background: linear-gradient(135deg, #fffbe6 0%, #fff7cc 100%);
}

.bo-hp-ai__card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--bo-accent);
    box-shadow: 0 4px 20px rgba(240, 193, 0, 0.1);
}

.bo-hp-ai__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bo-accent);
    border-radius: 50%;
    color: #000;
}

.bo-hp-ai__body {
    flex: 1;
}

.bo-hp-ai__heading {
    font-family: var(--bo-font);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--bo-text);
}

.bo-hp-ai__text {
    font-size: 0.95rem;
    color: var(--bo-text-muted);
    margin: 0;
    line-height: 1.5;
}

.bo-hp-ai__trigger {
    flex-shrink: 0;
}

.bo-hp-ai__chat {
    flex: 1;
    min-width: 280px;
}

/* ============ Blog Teaser ============ */

.bo-hp-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bo-hp-blog-card {
    background: #fff;
    border: 1px solid var(--bo-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--bo-text);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bo-hp-blog-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    color: var(--bo-text);
}

.bo-hp-blog-card__img-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.bo-hp-blog-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bo-hp-blog-card:hover .bo-hp-blog-card__img-wrap img {
    transform: scale(1.05);
}

.bo-hp-blog-card__body {
    padding: 20px;
}

.bo-hp-blog-card__cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bo-accent-dark);
    background: rgba(240, 193, 0, 0.15);
    padding: 2px 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
}

.bo-hp-blog-card__title {
    font-family: var(--bo-font);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bo-hp-blog-card__date {
    font-size: 0.8rem;
    color: var(--bo-text-muted);
}

/* ============ Trust Badges ============ */

.bo-hp-trust {
    background: var(--bo-bg-secondary);
}

.bo-hp-trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.bo-hp-trust-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--bo-border);
}

.bo-hp-trust-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--bo-accent-dark);
}

.bo-hp-trust-card__icon svg {
    width: 100%;
    height: 100%;
}

.bo-hp-trust-card__title {
    font-family: var(--bo-font);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--bo-text);
}

.bo-hp-trust-card__desc {
    font-size: 0.875rem;
    color: var(--bo-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ============ Seasonal / Campaign Products ============ */

.bo-hp-seasonal--accent {
    background: linear-gradient(135deg, #fffbe6 0%, #fff7cc 100%);
    border-top: 3px solid var(--bo-accent);
    border-bottom: 3px solid var(--bo-accent);
}

.bo-hp-seasonal--dark {
    background: #1B1B1B;
}

.bo-hp-seasonal--dark .bo-hp-section__heading { color: #fff; }
.bo-hp-seasonal--dark .bo-hp-seasonal__desc { color: rgba(255,255,255,0.7); }
.bo-hp-seasonal--dark .bo-hp-section__link { color: var(--bo-accent); }

.bo-hp-seasonal--light { background: var(--bo-bg-secondary); }

.bo-hp-seasonal__badge {
    display: inline-block;
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
    background: var(--bo-accent);
    padding: 3px 14px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.bo-hp-seasonal .bo-hp-section__header .bo-hp-section__heading {
    text-align: left;
    margin-bottom: 4px;
}

.bo-hp-seasonal__desc {
    font-size: 0.9rem;
    color: var(--bo-text-muted);
    margin: 0;
}

/* ============ WooCommerce Categories (improved) ============ */

.bo-hp-wc-cats .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.bo-hp-wc-cats .woocommerce ul.products::before,
.bo-hp-wc-cats .woocommerce ul.products::after {
    content: none !important;
}

.bo-hp-wc-cats .woocommerce ul.products li.product-category {
    border: 1px solid var(--bo-border);
    border-radius: 12px;
    overflow: hidden;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bo-hp-wc-cats .woocommerce ul.products li.product-category:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.bo-hp-wc-cats .woocommerce ul.products li.product-category a {
    text-decoration: none;
    color: var(--bo-text);
}

.bo-hp-wc-cats .woocommerce ul.products li.product-category a img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    border-radius: 12px 12px 0 0;
}

.bo-hp-wc-cats .woocommerce ul.products li.product-category a h2,
.bo-hp-wc-cats .woocommerce ul.products li.product-category a .woocommerce-loop-category__title {
    font-family: var(--bo-font);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 14px;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bo-hp-wc-cats .woocommerce ul.products li.product-category a h2 .count,
.bo-hp-wc-cats .woocommerce ul.products li.product-category a .woocommerce-loop-category__title .count {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--bo-text-muted);
    display: block;
    margin-top: 2px;
}

/* ============ Featured Categories (Masonry) ============ */

.bo-hp-masonry__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
}

.bo-hp-masonry__card {
    position: relative;
    display: flex;
    align-items: flex-end;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #2a2a2a;
}

.bo-hp-masonry__card--tall {
    grid-row: span 2;
}

.bo-hp-masonry__card--wide {
    grid-column: span 2;
}

.bo-hp-masonry__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.bo-hp-masonry__card:hover .bo-hp-masonry__img {
    transform: scale(1.06);
}

.bo-hp-masonry__overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
}

.bo-hp-masonry__title {
    font-family: var(--bo-font);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 2px;
    color: #fff;
}

.bo-hp-masonry__card--tall .bo-hp-masonry__title,
.bo-hp-masonry__card--wide .bo-hp-masonry__title {
    font-size: 1.35rem;
}

.bo-hp-masonry__subtitle {
    font-size: 0.8rem;
    margin: 0 0 6px;
    opacity: 0.8;
}

.bo-hp-masonry__cta {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bo-accent);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.bo-hp-masonry__card:hover .bo-hp-masonry__cta {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Responsive ============ */

@media (max-width: 768px) {
    .bo-hp-section {
        padding: 40px 0;
    }

    .bo-hp-section__heading {
        font-size: 1.4rem;
        margin-bottom: 24px;
    }

    .bo-hp-hero__slide {
        padding: 24px 0 48px;
        min-height: 400px;
        align-items: stretch;
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
    }

    .bo-hp-hero__slide .bo-container {
        padding: 0 16px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .bo-hp-hero__content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .bo-hp-hero__actions {
        gap: 12px;
        margin-top: auto;
    }

    .bo-hp-hero__badge {
        font-size: 10px;
        padding: 3px 12px;
        margin-bottom: 10px;
        align-self: center;
    }

    .bo-hp-hero__heading {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .bo-hp-hero__sub {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .bo-hp-hero__search {
        max-width: 100%;
    }

    .bo-hp-hero {
        min-height: 400px;
    }

    .bo-hp-hero__nav {
        bottom: 4px;
        padding: 8px 0;
    }

    .bo-hp-categories__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .is-carousel .bo-hp-cat-card {
        min-width: 120px;
    }

    .bo-hp-categories__arrow {
        display: none;
    }

    .bo-hp-cat-card {
        padding: 16px 8px;
        gap: 6px;
    }

    .bo-hp-cat-card__img {
        width: 48px;
        height: 48px;
    }

    .bo-hp-cat-card__title {
        font-size: 11px;
    }

    .bo-hp-masonry__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }

    .bo-hp-wc-cats .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }

    .bo-hp-action-boxes__grid,
    .bo-hp-action-boxes__grid--3,
    .bo-hp-action-boxes__grid--4,
    .bo-hp-action-boxes__grid--5,
    .bo-hp-action-boxes__grid--6 {
        grid-template-columns: 1fr 1fr;
    }

    .bo-hp-action-boxes__grid--5 .bo-hp-action-box--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bo-hp-action-box {
        min-height: 160px;
    }

    .bo-hp-action-box--large {
        min-height: 200px;
    }

    .bo-hp-action-box__overlay {
        padding: 16px;
    }

    .bo-hp-action-box__title {
        font-size: 1rem;
    }

    .bo-hp-ai__card {
        flex-direction: column;
        padding: 24px;
        text-align: center;
    }

    .bo-hp-blog__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bo-hp-brands__track {
        gap: 16px 24px;
    }

    .bo-hp-brands__item img {
        max-height: 36px;
    }

    .bo-hp-text__inner {
        text-align: left;
    }

    .bo-hp-text__inner .bo-hp-section__heading {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .bo-hp-categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bo-hp-masonry__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .bo-hp-masonry__card--wide {
        grid-column: span 2;
    }

    .bo-hp-masonry__card--tall {
        grid-row: span 2;
    }

    .bo-hp-masonry__cta {
        opacity: 1;
        transform: none;
    }

    .bo-hp-wc-cats .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .bo-hp-action-boxes__grid,
    .bo-hp-action-boxes__grid--2,
    .bo-hp-action-boxes__grid--3,
    .bo-hp-action-boxes__grid--4,
    .bo-hp-action-boxes__grid--5,
    .bo-hp-action-boxes__grid--6 {
        grid-template-columns: 1fr;
    }

    .bo-hp-action-boxes__grid--5 .bo-hp-action-box--large {
        grid-column: span 1;
    }

    .bo-hp-hero__slide {
        padding: 24px 0 32px;
    }

    .bo-hp-hero__heading {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .bo-hp-hero__sub {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .bo-hp-hero__actions {
        gap: 10px;
    }

    .bo-btn {
        padding: 10px 22px;
        font-size: 13px;
    }
}

/* ================================================================
   Page Builder (Sidbyggare) — shared section settings & components
   ================================================================ */

/* ---- Settings utility classes (apply to .bo-pb-section) ---- */

.bo-pb-section { position: relative; }

.bo-pb-section--bg-white  { background: var(--bo-bg); }
.bo-pb-section--bg-light  { background: var(--bo-bg-secondary); }
.bo-pb-section--bg-dark   { background: var(--bo-text); color: #fff; }
.bo-pb-section--bg-accent { background: var(--bo-accent); color: #000; }

.bo-pb-section--bg-dark .bo-hp-section__heading,
.bo-pb-section--bg-dark .bo-pb-two-col__sub,
.bo-pb-section--bg-dark .bo-pb-two-col__content,
.bo-pb-section--bg-dark .bo-pb-faq__intro,
.bo-pb-section--bg-dark .bo-pb-contact__description,
.bo-pb-section--bg-dark .bo-pb-steps__intro,
.bo-pb-section--bg-dark .bo-pb-step__title,
.bo-pb-section--bg-dark .bo-pb-step__text,
.bo-pb-section--bg-dark .bo-pb-compare__intro,
.bo-pb-section--bg-dark .bo-pb-form__title,
.bo-pb-section--bg-dark .bo-pb-form__lead { color: #fff; }

.bo-pb-section--bg-dark a:not(.bo-btn) { color: var(--bo-accent); }

.bo-pb-section--pt-none   { padding-top: 0; }
.bo-pb-section--pt-small  { padding-top: 24px; }
.bo-pb-section--pt-medium { padding-top: 56px; }
.bo-pb-section--pt-large  { padding-top: 96px; }

.bo-pb-section--pb-none   { padding-bottom: 0; }
.bo-pb-section--pb-small  { padding-bottom: 24px; }
.bo-pb-section--pb-medium { padding-bottom: 56px; }
.bo-pb-section--pb-large  { padding-bottom: 96px; }

.bo-pb-section--mt-none   { margin-top: 0; }
.bo-pb-section--mt-small  { margin-top: 16px; }
.bo-pb-section--mt-medium { margin-top: 32px; }
.bo-pb-section--mt-large  { margin-top: 64px; }

.bo-pb-section--mb-none   { margin-bottom: 0; }
.bo-pb-section--mb-small  { margin-bottom: 16px; }
.bo-pb-section--mb-medium { margin-bottom: 32px; }
.bo-pb-section--mb-large  { margin-bottom: 64px; }

.bo-pb-section__title--left   { text-align: left; }
.bo-pb-section__title--center { text-align: center; }
.bo-pb-section__title--right  { text-align: right; }

/* ---- Two columns with image ---- */

.bo-pb-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.bo-pb-two-col--image-left  .bo-pb-two-col__image { order: 0; }
.bo-pb-two-col--image-left  .bo-pb-two-col__text  { order: 1; }
.bo-pb-two-col--image-right .bo-pb-two-col__image { order: 1; }
.bo-pb-two-col--image-right .bo-pb-two-col__text  { order: 0; }

.bo-pb-two-col__sub {
    font-size: 1.1rem;
    color: var(--bo-text-muted);
    margin: -16px 0 16px;
}

.bo-pb-two-col__content {
    color: var(--bo-text);
    line-height: 1.6;
    margin-bottom: 24px;
}

.bo-pb-two-col__content p { margin: 0 0 14px; }
.bo-pb-two-col__content p:last-child { margin-bottom: 0; }

.bo-pb-two-col__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .bo-pb-two-col {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    /* On mobile, image always sits above the text for a consistent reading flow. */
    .bo-pb-two-col--image-left  .bo-pb-two-col__image,
    .bo-pb-two-col--image-right .bo-pb-two-col__image { order: 0; }
    .bo-pb-two-col--image-left  .bo-pb-two-col__text,
    .bo-pb-two-col--image-right .bo-pb-two-col__text  { order: 1; }
}

/* ---- Hero (single image, page builder variant) ---- */

.bo-pb-hero {
    overflow: hidden;
}

.bo-pb-hero.bo-pb-hero--has-bg {
    min-height: 420px;
    display: flex;
    align-items: center;
    color: #fff;
}

.bo-pb-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.bo-pb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.bo-pb-hero .bo-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.bo-pb-hero__content {
    max-width: 720px;
}

.bo-pb-hero--align-center .bo-pb-hero__content { margin: 0 auto; text-align: center; }
.bo-pb-hero--align-right  .bo-pb-hero__content { margin: 0 0 0 auto; text-align: right; }

.bo-pb-hero__badge {
    display: inline-block;
    background: var(--bo-accent);
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.bo-pb-hero__title {
    font-family: var(--bo-font);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 16px;
    color: inherit;
}

.bo-pb-hero__sub {
    font-size: 1.15rem;
    line-height: 1.45;
    margin: 0 0 24px;
    color: inherit;
    opacity: 0.92;
}

.bo-pb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bo-pb-hero--align-center .bo-pb-hero__actions { justify-content: center; }
.bo-pb-hero--align-right  .bo-pb-hero__actions { justify-content: flex-end; }

@media (max-width: 768px) {
    .bo-pb-hero.bo-pb-hero--has-bg { min-height: 320px; }
    .bo-pb-hero__title { font-size: 1.6rem; }
    .bo-pb-hero__sub   { font-size: 1rem; }
}

/* ---- Contact info card ---- */

.bo-pb-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.bo-pb-contact__intro { min-width: 0; }

.bo-pb-contact__description {
    color: var(--bo-text-muted);
    line-height: 1.6;
    margin-top: 8px;
}

.bo-pb-contact__rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bo-pb-contact__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    line-height: 1.5;
}

.bo-pb-contact__icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--bo-accent);
}

.bo-pb-contact__row a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.bo-pb-contact__row a:hover { color: var(--bo-accent); }

.bo-pb-contact__map {
    grid-column: 1 / -1;
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .bo-pb-contact {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ---- FAQ (page builder variant — re-uses .faq-* core styles) ---- */

.bo-pb-faq__intro {
    color: var(--bo-text-muted);
    line-height: 1.6;
    margin: 0 0 24px;
}

.bo-pb-faq.faq-accordion {
    margin: 0 auto;
    max-width: 880px;
}

/* ============ Kortkod / inbäddning ============
   A bare section for shortcodes that own their layout (My Account, the
   registration form). No max-width and no text-align unless one is chosen —
   .bo-hp-text__inner's 800px + centring is what breaks those. */

.bo-hp-shortcode {
    width: 100%;
}

.bo-hp-shortcode--container,
.bo-hp-shortcode--narrow {
    margin-inline: auto;
    padding-inline: 20px;
}

.bo-hp-shortcode--container {
    max-width: var(--bo-container-width, 1200px);
}

.bo-hp-shortcode--narrow {
    max-width: 800px;
}

.bo-hp-shortcode--space-small {
    padding-block: 24px;
}

.bo-hp-shortcode--space-normal {
    padding-block: clamp(40px, 6vw, 72px);
}

/* ============ Steg / Så kommer ni igång ============
   Typography follows the trust-card scale (1rem/700 title, 0.875rem/1.5 body)
   because the two sit on the same page and would otherwise read as two systems.
   Desktop-first with the file's 768/480 breakpoints. */

.bo-pb-steps__intro {
    max-width: 720px;
    margin: 0 0 40px;
    color: var(--bo-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.bo-pb-steps__intro.bo-pb-section__title--center { margin-inline: auto; }
.bo-pb-steps__intro.bo-pb-section__title--right  { margin-inline: auto 0; }

.bo-pb-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-pb-steps__grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.bo-pb-steps__grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.bo-pb-steps__grid[data-count="5"],
.bo-pb-steps__grid[data-count="6"] { grid-template-columns: repeat(3, 1fr); }

.bo-pb-step {
    position: relative;
}

/* Roboto here matches the other numeric badges (.bo-hp-hero__badge,
   .bo-hp-seasonal__badge), not the heading font. */
.bo-pb-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--bo-accent);
    color: var(--bo-text);
    font-family: "Roboto", var(--bo-font);
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.bo-pb-step__title {
    font-family: var(--bo-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--bo-text);
}

.bo-pb-step__text {
    margin: 0;
    color: var(--bo-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.bo-pb-step__link {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--bo-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bo-text);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--bo-accent);
}

.bo-pb-step__link:hover { color: var(--bo-accent-dark); }

/* Rule from one marker to the next. Hidden as soon as the steps wrap, where it
   would point at nothing. */
.bo-pb-step::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 56px;
    right: -24px;
    height: 2px;
    background: var(--bo-border);
}

.bo-pb-step:last-child::after { display: none; }

.bo-pb-section--bg-dark .bo-pb-step::after { background: rgba(255, 255, 255, 0.18); }

@media (max-width: 768px) {
    .bo-pb-steps__intro { margin-bottom: 24px; }

    /* [data-count] outranks the bare class, so it has to be restated here. */
    .bo-pb-steps__grid,
    .bo-pb-steps__grid[data-count] { grid-template-columns: repeat(2, 1fr); }

    .bo-pb-step::after { display: none; }
}

@media (max-width: 480px) {
    .bo-pb-steps__grid,
    .bo-pb-steps__grid[data-count] { grid-template-columns: 1fr; }
}

/* ============ Jämförelsetabell ============
   Scrolls inside its own container so the page body never scrolls sideways.
   Under 768px it stops being a table and each row becomes a labelled pair. */

.bo-pb-compare__intro {
    max-width: 720px;
    margin: 0 0 32px;
    color: var(--bo-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.bo-pb-compare__intro.bo-pb-section__title--center { margin-inline: auto; }
.bo-pb-compare__intro.bo-pb-section__title--right  { margin-inline: auto 0; }

.bo-pb-compare__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Own visually-hidden rule rather than .screen-reader-text — that one comes
   from the parent theme, and the label must not become visible if it moves. */
.bo-pb-compare__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bo-pb-compare__table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.bo-pb-compare__table th,
.bo-pb-compare__table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--bo-border);
}

.bo-pb-compare__table thead th {
    font-family: var(--bo-font);
    font-size: 1rem;
    font-weight: 800;
    color: var(--bo-text);
    border-bottom: 2px solid var(--bo-text);
}

.bo-pb-compare__table tbody th {
    width: 34%;
    font-family: var(--bo-font);
    font-weight: 600;
    color: var(--bo-text);
}

.bo-pb-compare__table td { color: var(--bo-text-muted); }

.bo-pb-compare__table--highlight .bo-pb-compare__col-b {
    background: rgba(240, 193, 0, 0.06);
    color: var(--bo-text);
}

.bo-pb-compare__table--highlight thead .bo-pb-compare__col-b {
    border-bottom-color: var(--bo-accent);
    box-shadow: inset 0 4px 0 0 var(--bo-accent);
}

.bo-pb-compare__table tbody tr:last-child th,
.bo-pb-compare__table tbody tr:last-child td { border-bottom: 0; }

.bo-pb-compare__yes {
    color: #1E7A4C;
    font-size: 1.05rem;
    font-weight: 700;
}

.bo-pb-compare__no {
    color: var(--bo-text-muted);
    font-size: 1.05rem;
}

.bo-pb-section--bg-dark .bo-pb-compare__table th,
.bo-pb-section--bg-dark .bo-pb-compare__table td {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.bo-pb-section--bg-dark .bo-pb-compare__table thead th { border-bottom-color: var(--bo-accent); }

.bo-pb-section--bg-dark .bo-pb-compare__table--highlight .bo-pb-compare__col-b {
    background: rgba(240, 193, 0, 0.12);
    color: #fff;
}

@media (max-width: 768px) {
    .bo-pb-compare__intro { margin-bottom: 24px; }

    .bo-pb-compare__table { min-width: 0; }

    .bo-pb-compare__table thead { display: none; }

    .bo-pb-compare__table tbody tr {
        display: block;
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--bo-border);
    }

    .bo-pb-compare__table tbody th,
    .bo-pb-compare__table tbody td {
        display: block;
        width: auto;
        padding: 4px 0;
        border: 0;
    }

    .bo-pb-compare__table tbody th { font-size: 1rem; font-weight: 700; }

    .bo-pb-compare__table tbody td::before {
        content: attr(data-label) ": ";
        font-weight: 700;
        color: var(--bo-text);
    }

    .bo-pb-compare__table--highlight .bo-pb-compare__col-b { background: transparent; }

    .bo-pb-compare__table--highlight thead .bo-pb-compare__col-b { box-shadow: none; }
}

/* ============ Kontaktformulär (företag) ============
   Field styling mirrors the registration form in myaccount.css — the closest
   sibling, also a public form — rather than .bo-field from account.css, which
   only loads for logged-in My Account pages and so is absent here. */

.bo-pb-form {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    align-items: start;
}

.bo-pb-form__title {
    font-family: var(--bo-font);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
    color: var(--bo-text);
}

.bo-pb-form__lead {
    color: var(--bo-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.bo-pb-form__lead p { margin: 0 0 12px; }

.bo-pb-form__usps {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 16px;
}

.bo-pb-form__usp {
    padding-left: 18px;
    border-left: 3px solid var(--bo-accent);
}

.bo-pb-form__usp-title {
    display: block;
    font-family: var(--bo-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--bo-text);
}

.bo-pb-form__usp-text {
    display: block;
    margin-top: 2px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--bo-text-muted);
}

.bo-pb-section--bg-dark .bo-pb-form__usp-title,
.bo-pb-section--bg-dark .bo-pb-form__usp-text { color: #fff; }

.bo-pb-form__panel {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--bo-border);
    border-radius: 12px;
}

.bo-pb-form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.bo-pb-form__field { margin: 0; }

.bo-pb-form__field--full { grid-column: 1 / -1; }

.bo-pb-form__field label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--bo-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--bo-text);
}

/* Mustard, matching .bo-field > span em in account.css — not a red asterisk. */
.bo-pb-form__req {
    color: var(--bo-accent-dark);
    font-style: normal;
}

.bo-pb-form__input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    box-sizing: border-box;
    font-family: var(--bo-font);
    font-size: 14px;
    color: var(--bo-text);
    background: #fff;
    border: 1px solid var(--bo-border);
    border-radius: 10px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bo-pb-form__input:focus {
    border-color: var(--bo-accent);
    box-shadow: 0 0 0 3px rgba(240, 193, 0, 0.15);
    outline: none;
}

.bo-pb-form__textarea {
    height: auto;
    min-height: 110px;
    padding: 11px 14px;
    line-height: 1.55;
    resize: vertical;
}

/* Off-screen rather than display:none — a bot that skips undisplayed inputs is
   exactly the one we want to catch. */
.bo-pb-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.bo-pb-form__consent {
    margin: 20px 0 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--bo-text-muted);
}

.bo-pb-form__consent label {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    cursor: pointer;
}

.bo-pb-form__consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--bo-accent);
}

.bo-pb-form__consent a {
    color: var(--bo-text);
    text-decoration: underline;
}

.bo-pb-form__actions { margin: 22px 0 0; }

.bo-pb-form__note {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--bo-text-muted);
}

/* Same shape as .bo-alert--bad in account.css. */
.bo-pb-form__errors {
    margin: 0 0 20px;
    padding: 14px 16px;
    background: rgba(192, 57, 43, 0.06);
    border-left: 2px solid #C0392B;
    border-radius: 0 4px 4px 0;
}

.bo-pb-form__errors ul {
    margin: 0;
    padding-left: 18px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #7A2A1E;
}

.bo-pb-form__success { text-align: center; }

.bo-pb-form__success-title {
    margin: 0 0 8px;
    font-family: var(--bo-font);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--bo-text);
}

.bo-pb-form__success p {
    color: var(--bo-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.bo-pb-form__success .bo-btn { margin-top: 18px; }

@media (max-width: 768px) {
    .bo-pb-form {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bo-pb-form__title { font-size: 1.4rem; }

    .bo-pb-form__grid { grid-template-columns: 1fr; }

    .bo-pb-form__actions .bo-btn { width: 100%; justify-content: center; }
}
