/**
 * BHP Katalog — theme override.
 *
 * Defines a DaisyUI-compatible theme "bhp" with white-red safety colors.
 * Loaded AFTER catalog-public.css so tokens here win.
 *
 * Color palette:
 *   --bhp-red:       #d32f2f  (safety red — primary)
 *   --bhp-red-dark:  #b71c1c
 *   --bhp-red-light: #ef5350
 *   --bhp-yellow:    #fbc02d  (caution accent — warning)
 *   --bhp-white:     #ffffff
 *   --bhp-gray-50:   #f8f9fa
 *   --bhp-gray-100:  #f1f3f5
 *   --bhp-gray-200:  #e9ecef
 *   --bhp-gray-500:  #868e96
 *   --bhp-gray-800:  #343a40
 *   --bhp-gray-900:  #212529
 */

/* —— DaisyUI theme variables (data-theme="bhp") —— */
[data-theme="bhp"] {
    --color-primary: #d32f2f;
    --color-primary-content: #ffffff;
    --color-secondary: #fbc02d;
    --color-secondary-content: #212529;
    --color-accent: #b71c1c;
    --color-accent-content: #ffffff;
    --color-neutral: #343a40;
    --color-neutral-content: #ffffff;
    --color-base-100: #ffffff;
    --color-base-200: #f8f9fa;
    --color-base-300: #e9ecef;
    --color-base-content: #212529;
    --color-info: #1976d2;
    --color-info-content: #ffffff;
    --color-success: #2e7d32;
    --color-success-content: #ffffff;
    --color-warning: #fbc02d;
    --color-warning-content: #212529;
    --color-error: #d32f2f;
    --color-error-content: #ffffff;

    --radius-selector: 2px;
    --radius-field: 2px;
    --radius-box: 2px;
    --size-selector: 0.25rem;
    --size-field: 0.25rem;
    --border: 1px;
    --depth: 1;
    --noise: 0;
}

/* —— BHP-specific design tokens (override --cat-* from catalog-public.css) —— */
[data-theme="bhp"].catalog-public,
.catalog-public[data-theme="bhp"] {
    --cat-radius: 2px;
    --cat-radius-sm: 2px;
    --cat-radius-md: 2px;
    --cat-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 4px 12px -6px rgba(211, 47, 47, 0.15);
    --cat-shadow-hover:
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 8px 20px -8px rgba(211, 47, 47, 0.25);
    --cat-head-bg: linear-gradient(135deg, #3d3d3d 0%, #6b6b6b 100%);
}
[data-theme="bhp"] .catalog-info-card__head,
[data-theme="bhp"] .catalog-hours-card__head {
    background: linear-gradient(135deg, #2d2d2d 0%, #5a5a5a 50%, #3d3d3d 100%) !important;
    background-size: 200% 200% !important;
    animation: bhp-head-gradient 8s ease-in-out infinite;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}
@keyframes bhp-head-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
[data-theme="bhp"] .catalog-info-card__eyebrow,
[data-theme="bhp"] .catalog-hours-card__eyebrow {
    color: #fbc02d;
    opacity: 1;
}
[data-theme="bhp"] .catalog-info-card__title,
[data-theme="bhp"] .catalog-hours-card__title {
    color: #ffffff;
}
[data-theme="bhp"] .catalog-info-card__detail,
[data-theme="bhp"] .catalog-hours-card__detail {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}
[data-theme="bhp"] .catalog-info-row__icon {
    color: #f9a825;
    background: transparent;
}
/* —— Event category filter chips: dark gray with yellow text —— */
[data-theme="bhp"] .catalog-filter-chip.btn-outline {
    background: #2d2d2d !important;
    color: #fbc02d !important;
    border-color: #2d2d2d !important;
}
[data-theme="bhp"] .catalog-filter-chip.btn-outline:hover {
    background: #fbc02d !important;
    color: #000000 !important;
    border-color: #fbc02d !important;
}
[data-theme="bhp"] .catalog-filter-chip.btn-primary {
    background: #000000 !important;
    color: #fbc02d !important;
    border-color: #000000 !important;
}
/* —— Event calendar: dark gray selection, yellow event days —— */
[data-theme="bhp"] .catalog-event-cal-day.has-events {
    background: #fbc02d !important;
    color: #000000 !important;
    font-weight: 700;
}
[data-theme="bhp"] .catalog-event-cal-day.has-events:hover {
    background: #f9a825 !important;
}
[data-theme="bhp"] .catalog-event-cal-day.is-selected {
    background: #2d2d2d !important;
    color: #fbc02d !important;
}
[data-theme="bhp"] .catalog-event-cal-day.is-today:not(.has-events) {
    border-color: #fbc02d !important;
}
/* —— Opening hours day section: dark gray gradient card —— */
[data-theme="bhp"] .catalog-availability-home {
    background: linear-gradient(135deg, #2d2d2d 0%, #5a5a5a 50%, #3d3d3d 100%) !important;
    background-size: 200% 200% !important;
    animation: bhp-head-gradient 8s ease-in-out infinite;
    border-color: #2d2d2d !important;
}
[data-theme="bhp"] .catalog-availability-home__eyebrow {
    color: #fbc02d;
    opacity: 1;
}
[data-theme="bhp"] .catalog-availability-home__title {
    color: #ffffff;
}
[data-theme="bhp"] .catalog-availability-home__lead {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}
/* Day buttons: white bg, dark text */
[data-theme="bhp"] .catalog-availability-day {
    background: #ffffff !important;
    color: #212529 !important;
    border-color: #d0d0d0 !important;
}
[data-theme="bhp"] .catalog-availability-day:hover {
    background: #fbc02d !important;
    color: #000000 !important;
    border-color: #fbc02d !important;
}
[data-theme="bhp"] .catalog-availability-day.is-today {
    border-color: #fbc02d !important;
    background: #fff8e1 !important;
}
[data-theme="bhp"] .catalog-availability-day.is-active {
    background: #fbc02d !important;
    color: #000000 !important;
    border-color: #fbc02d !important;
}

/* —— Safety stripe at top of page —— */
.bhp-safety-stripe {
    height: 4px;
    background: repeating-linear-gradient(
        45deg,
        #d32f2f,
        #d32f2f 12px,
        #ffffff 12px,
        #ffffff 24px
    );
    flex-shrink: 0;
}

/* —— BHP hero section (v3 — full-bleed with drift gradients) —— */
.bhp-hero-v3 {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 2.5rem 3rem 4.5rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
    isolation: isolate;
}
@media (max-width: 640px) {
    .bhp-hero-v3 {
        padding: 1.5rem 0.75rem 2.5rem;
        margin-bottom: 1.5rem;
    }
    .bhp-hero-v3__inner {
        padding: 0 0.5rem;
    }
    .bhp-hero-v3 h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    .bhp-hero-v3__lead {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    .bhp-eyebrow {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }
    .bhp-hero-cta,
    .bhp-hero-cta-outline {
        font-size: 0.85rem;
        padding: 0.5rem 1.25rem;
    }
    .bhp-hero-v3__actions {
        margin-top: 1rem;
        gap: 0.5rem;
    }
    /* Search form: stack vertically on mobile */
    .bhp-hero-v3 .flex.w-full.items-stretch.gap-2\.5 {
        flex-direction: column;
        gap: 0.5rem;
    }
    .bhp-hero-v3 .btn-primary {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .bhp-hero-v3 .input-bordered {
        font-size: 0.85rem;
    }
}
.bhp-hero-v3::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: #b71c1c;
}
.bhp-hero-v3::after {
    content: '';
    position: absolute;
    top: 0;
    left: -8%;
    width: 62%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(115deg, #c41c1c 0%, #8b1414 55%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
    animation: bhpDriftL 7s ease-in-out infinite;
}
.bhp-hero-v3 {
    --drift-right-layer: linear-gradient(245deg, #a81818 0%, #7a1010 60%, transparent 100%);
}
.bhp-hero-v3__inner {
    position: relative;
    max-width: 69.5rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    z-index: 1;
}
.bhp-hero-v3__inner::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 180%;
    z-index: -3;
    background: linear-gradient(245deg, #a81818 0%, #7a1010 60%, transparent 100%);
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 20% 100%);
    animation: bhpDriftR 7s ease-in-out infinite;
    pointer-events: none;
}
.bhp-eyebrow {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #d32f2f;
    margin-bottom: 1rem;
    text-align: center;
}
.bhp-hero-v3 .bhp-eyebrow {
    color: #ffb3b3;
}
.bhp-hero-v3 h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0 auto 1.125rem;
    max-width: 22ch;
}
.bhp-hero-v3__lead {
    font-size: 1.15rem;
    color: #ffffff;
    max-width: 34rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
    opacity: 0.95;
}
.bhp-hero-v3__actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.bhp-hero-cta,
.bhp-hero-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    padding: 0.8125rem 1.875rem;
    border-radius: 0.125rem;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.bhp-hero-cta {
    background: #ffffff;
    color: #0f1113;
    box-shadow: none;
}
.bhp-hero-cta:hover { 
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.bhp-hero-cta-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.bhp-hero-cta-outline:hover { 
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* —— Listing contact section (gradient like hero) —— */
.bhp-listing-contact {
    position: relative;
    background: #b71c1c;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    isolation: isolate;
}
.bhp-listing-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: #b71c1c;
    border-radius: 0.5rem;
}
.bhp-listing-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: -8%;
    width: 62%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(115deg, #c41c1c 0%, #8b1414 55%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
    animation: bhpDriftL 7s ease-in-out infinite;
    border-radius: 0.5rem;
}
.bhp-listing-contact {
    --drift-right-layer: linear-gradient(245deg, #a81818 0%, #7a1010 60%, transparent 100%);
}
.bhp-listing-contact__inner {
    position: relative;
    z-index: 1;
}
.bhp-listing-contact__inner::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 100%;
    z-index: -1;
    background: var(--drift-right-layer);
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
    animation: bhpDriftR 9s ease-in-out infinite;
}
.bhp-listing-contact .bhp-eyebrow {
    color: #ffb3b3;
}
.bhp-listing-contact__title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
}
.bhp-listing-contact__status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffb3b3;
    margin-bottom: 0.5rem;
}
.bhp-listing-contact__status--open {
    color: #86efac;
}
.bhp-listing-contact__status--closed {
    color: #ffb3b3;
}
.bhp-listing-contact__status-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
}
.bhp-listing-contact__detail {
    font-size: 0.875rem;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}
.bhp-listing-contact__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.bhp-listing-contact__buttons .btn {
    justify-content: center;
    background: #ffffff;
    color: #0f1113;
    border: none;
}
.bhp-listing-contact__buttons .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.bhp-listing-contact__buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}
.bhp-listing-contact__social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* —— Page background: clean white with faint cool tint —— */
[data-theme="bhp"].catalog-public,
.catalog-public[data-theme="bhp"] {
    background: #ffffff;
}
[data-theme="bhp"] .catalog-main,
[data-theme="bhp"] main {
    background: #ffffff;
}

/* —— BHP feature cards (mosaic grid, no hover-lift) —— */
.bhp-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: #e9ecef;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 2rem 0;
}
@media (min-width: 640px) { .bhp-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bhp-features { grid-template-columns: repeat(3, 1fr); } }
.bhp-feature-card {
    background: #ffffff;
    padding: 1.75rem 1.5rem;
}
.bhp-feature-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.6rem;
    background: transparent;
    color: #f9a825;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.bhp-feature-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.35rem;
}
.bhp-feature-card__text {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
    margin: 0;
}

/* —— BHP CTA banner (v2 — white, red left border) —— */
.bhp-cta-banner-v2 {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-left: 3px solid #d32f2f;
    border-radius: 0.75rem;
    padding: 1.75rem 2rem;
    margin: 2rem 0;
}
.bhp-cta-banner-v2 h2 {
    font-size: clamp(1.3rem, 4vw, 1.75rem);
    font-weight: 800;
    color: #212529;
    margin: 0 0 0.4rem;
}
.bhp-cta-banner-v2 p {
    color: #495057;
    margin: 0;
    max-width: 32rem;
}
.bhp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #d32f2f;
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.05rem;
    transition: background 0.15s ease;
    flex-shrink: 0;
}
.bhp-cta-btn:hover {
    background: #b71c1c;
}

/* —— BHP section heading —— */
.bhp-section-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.bhp-section-head__bar {
    width: 6px;
    height: 1.75rem;
    background: #3d3d3d;
    border-radius: 0;
    flex-shrink: 0;
}

.bhp-section-head h2 {
    font-size: clamp(1.4rem, 4vw, 1.75rem);
    font-weight: 700;
    color: #212529;
    margin: 0;
}
.bhp-section-head__link {
    margin-left: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: #d32f2f;
    text-decoration: none;
}
.bhp-section-head__link:hover {
    text-decoration: underline;
}

/* —— Header: no red accent —— */
[data-theme="bhp"] .catalog-header-stack {
    border-bottom: none;
}

/* —— Cards: yellow border accent on hover, gray shadow —— */
[data-theme="bhp"] .card {
    border-radius: 0.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
[data-theme="bhp"] .card:hover {
    border-color: #fbc02d !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* —— Footer: gray drift gradients (subtle animation) —— */
[data-theme="bhp"] .catalog-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #f1f2f4;
    border-top: none;
}
/* Top safety stripe */
[data-theme="bhp"] .catalog-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 10;
    background: repeating-linear-gradient(45deg, #868e96, #868e96 12px, #f1f2f4 12px, #f1f2f4 24px);
}
/* Left diagonal drift — vertical edges off-screen, diagonal visible */
[data-theme="bhp"] .catalog-footer::after {
    content: '';
    position: absolute;
    top: 4px;
    left: -50%;
    width: 200%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(115deg, #e2e4e8 0%, transparent 100%);
    clip-path: polygon(0 0, 50% 0, 25% 100%, 0 100%);
    animation: bhpFooterDriftL 7s ease-in-out infinite;
    pointer-events: none;
}
[data-theme="bhp"] .catalog-footer__inner {
    position: relative;
    z-index: 1;
}
/* Right diagonal drift — reversed angle, away from text */
[data-theme="bhp"] .catalog-footer__bottom {
    position: relative;
    isolation: isolate;
}
[data-theme="bhp"] .catalog-footer__bottom::before {
    content: '';
    position: absolute;
    top: -50vh;
    right: -50%;
    width: 200%;
    height: calc(100% + 50vh);
    z-index: 0;
    background: linear-gradient(115deg, #dde0e5 0%, transparent 100%);
    clip-path: polygon(75% 0, 100% 0, 100% 100%, 50% 100%);
    animation: bhpFooterDriftR 7s ease-in-out infinite;
    pointer-events: none;
}

/* —— Auth (magic login / sent) —— */
/* Marginesy .catalog-auth są w catalog-public.css (wspólny CSS). */

/* —— Home: featured carousel — 6 visible, horizontal scroll —— */
.bhp-featured-carousel {
    position: relative;
}
.bhp-featured-carousel__track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
    padding: 0.25rem 0 0.5rem;
}
.bhp-featured-carousel__track::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
}
.bhp-featured-carousel__item {
    flex: 0 0 calc(100% / 6 - (5rem / 6));   /* 6 items, compensate for gap */
    min-width: 0;
    scroll-snap-align: start;
}
@media (max-width: 1280px) {
    .bhp-featured-carousel__item {
        flex-basis: calc(100% / 4 - (3rem / 4));   /* 4 items on large */
    }
}
@media (max-width: 768px) {
    .bhp-featured-carousel__item {
        flex-basis: calc(100% / 2 - 1rem);          /* 2 items on tablet */
    }
}
@media (max-width: 480px) {
    .bhp-featured-carousel__item {
        flex-basis: 85%;                             /* ~1 card + peek on phone */
    }
}
.bhp-featured-carousel__btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #d32f2f;
    transition: background 0.15s, box-shadow 0.15s;
}
.bhp-featured-carousel__btn:hover {
    background: #fff5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.bhp-featured-carousel__btn--prev {
    left: -1.25rem;
}
.bhp-featured-carousel__btn--next {
    right: -1.25rem;
}
@media (max-width: 768px) {
    .bhp-featured-carousel__btn {
        width: 2rem;
        height: 2rem;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        opacity: 0.85;
    }
    .bhp-featured-carousel__btn--prev {
        left: 0.25rem;
    }
    .bhp-featured-carousel__btn--next {
        right: 0.25rem;
    }
}

/* —— Home: shops row (map + opening hours side by side) —— */
.bhp-shops-row__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}
@media (min-width: 900px) {
    .bhp-shops-row__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
        gap: 1.5rem;
    }
}
.bhp-shops-row__map {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.25rem 1.15rem 1.35rem;
}
.bhp-shops-row__label {
    margin: 0 0 0.3rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d32f2f;
}
.bhp-shops-row__subtitle {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #212529;
    line-height: 1.2;
}
.bhp-shops-row__lead {
    margin: 0.4rem 0 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #6c757d;
}
.bhp-shops-row__hours {
    min-width: 0;
}
.bhp-shops-row__hours .catalog-availability-home__inner {
    height: 100%;
}
.bhp-shops-row__hours .catalog-availability-home__days--dow {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}
@media (max-width: 479px) {
    .bhp-shops-row__hours .catalog-availability-home__days--dow {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.bhp-shops-row .bhp-poland-map__svg {
    max-width: 100%;
}
.bhp-shops-row__latest {
    margin-top: 1.35rem;
}
.bhp-shops-row__latest .bhp-shops-row__subtitle {
    margin-bottom: 0.85rem;
}
.bhp-shops-row__featured-cats {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e9ecef;
}
.bhp-shops-row__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.bhp-shops-row__cat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid #facc15;
    border-radius: 0.5rem;
    background: #fef9c3;
    font-size: 0.8rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.bhp-shops-row__cat:hover {
    border-color: #eab308;
    background: #fef08a;
}
.bhp-shops-row__cat-img {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.25rem;
    object-fit: cover;
}
.bhp-shops-row__cat-star {
    color: #eab308;
    font-size: 0.9rem;
}

.bhp-poland-map {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.bhp-poland-map__svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.bhp-poland-map__tooltip {
    position: absolute;
    pointer-events: none;
    background: #d32f2f;
    color: #ffffff;
    padding: 0.3rem 0.6rem;
    border-radius: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.3);
}
.bhp-poland-map__tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.bhp-poland-map__region {
    cursor: pointer;
    text-decoration: none;
    display: inline;
}
.bhp-poland-map__region path {
    fill: #fbc02d;
    stroke: #d32f2f;
    stroke-width: 1;
    stroke-opacity: 0.4;
    transition: fill 0.2s ease, stroke-opacity 0.2s ease;
}
.bhp-poland-map__region:hover path {
    fill: #d32f2f;
    stroke-opacity: 1;
}
.bhp-poland-map__region:focus-visible path {
    fill: #d32f2f;
    stroke-opacity: 1;
    outline: 2px solid #d32f2f;
    outline-offset: 2px;
}
.bhp-poland-map__region--active path {
    fill: #d32f2f;
    stroke-opacity: 0.8;
}
.bhp-poland-map__region--active:hover path {
    fill: #b71c1c;
}

/* —— Badges: safety colors —— */
[data-theme="bhp"] .badge-primary {
    background: #d32f2f;
    color: #ffffff;
    border-color: #d32f2f;
}
[data-theme="bhp"] .badge-warning {
    background: #fbc02d;
    color: #212529;
    border-color: #fbc02d;
}

/* —— Buttons: safety red —— */
[data-theme="bhp"] .btn-primary {
    background: #d32f2f;
    border-color: #d32f2f;
    color: #ffffff;
}
[data-theme="bhp"] .btn-primary:hover {
    background: #b71c1c;
    border-color: #b71c1c;
}
/* —— Opening hours: active hour button = yellow bg, black text —— */
[data-theme="bhp"] .catalog-info-card__body .btn-primary,
[data-theme="bhp"] .catalog-filters__actions .btn-primary {
    background: #fbc02d !important;
    border-color: #fbc02d !important;
    color: #000000 !important;
}
[data-theme="bhp"] .catalog-info-card__body .btn-primary:hover,
[data-theme="bhp"] .catalog-filters__actions .btn-primary:hover {
    background: #f9a825 !important;
    border-color: #f9a825 !important;
}
/* —— Filter options: dark gray hover, yellow checkbox —— */
[data-theme="bhp"] .catalog-filters__option:hover {
    background: #2d2d2d !important;
    border-color: #2d2d2d !important;
}
[data-theme="bhp"] .catalog-filters__option:hover .catalog-filters__option-label {
    color: #ffffff !important;
}
[data-theme="bhp"] .catalog-filters__option:has(.catalog-filters__check:checked) {
    background: #2d2d2d !important;
    border-color: #2d2d2d !important;
}
[data-theme="bhp"] .catalog-filters__option:has(.catalog-filters__check:checked) .catalog-filters__option-label {
    color: #ffffff !important;
}
[data-theme="bhp"] .catalog-filters__check:checked {
    --chkbg: #fbc02d !important;
    --chkfg: #000000 !important;
    background-color: #fbc02d !important;
    border-color: #fbc02d !important;
}

/* —— BHP category icon (safety helmet emoji fallback) —— */
.bhp-cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 0.5rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* —— BHP stats row —— */
.bhp-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}
@media (min-width: 768px) {
    .bhp-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}
.bhp-stat {
    text-align: center;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
}
.bhp-stat__num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #d32f2f;
    line-height: 1;
}
.bhp-stat__label {
    font-size: 0.8rem;
    color: #495057;
    margin-top: 0.25rem;
}

/* —— BHP category numbered badge —— */
.bhp-cat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.45rem;
    background: #212529;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* —— Animations: drift for full-bleed gradients —— */
@keyframes bhpDriftL {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(60px); }
}
@keyframes bhpDriftR {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-60px); }
}
@keyframes bhpFooterDriftL {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(50px); }
}
@keyframes bhpFooterDriftR {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

/* —— Sharp corners (border-radius: 2px) —— */
[data-theme="bhp"] .card {
    border-radius: 2px;
}
[data-theme="bhp"] .btn {
    border-radius: 2px;
}
.bhp-hero-cta,
.bhp-hero-cta-outline {
    border-radius: 2px;
}
.bhp-cta-btn {
    border-radius: 2px;
}
.bhp-features {
    border-radius: 2px;
}
.bhp-cta-banner-v2 {
    border-radius: 2px;
}
.bhp-feature-card__icon {
    border-radius: 2px;
}
.bhp-stat {
    border-radius: 2px;
}
.bhp-cat-badge {
    border-radius: 2px;
}

/* —— Hover states: lift feature cards —— */
.bhp-feature-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bhp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
[data-theme="bhp"] .btn-outline:hover {
    background: #fbc02d !important;
    color: #000000 !important;
    border-color: #fbc02d !important;
}
/* —— Top menu (Start, Blog, etc.): white bg, yellow BHP hover —— */
[data-theme="bhp"] .btn-ghost {
    background: #ffffff;
    color: #212529;
    border: 2px solid transparent;
    box-sizing: border-box;
}
[data-theme="bhp"] .btn-ghost:hover {
    background: #fbc02d !important;
    color: #000000 !important;
    border: 2px solid transparent;
    border-image: repeating-linear-gradient(
        45deg,
        #000000,
        #000000 4px,
        #fbc02d 4px,
        #fbc02d 8px
    ) 2;
}
/* —— Footer links: black-yellow stripe border on hover —— */
[data-theme="bhp"] .catalog-footer-link,
[data-theme="bhp"] .catalog-footer-trigger,
[data-theme="bhp"] .catalog-footer-panel-link {
    border: 2px solid transparent;
    box-sizing: border-box;
}
[data-theme="bhp"] .catalog-footer-link:hover,
[data-theme="bhp"] .catalog-footer-trigger:hover,
[data-theme="bhp"] .catalog-footer-panel-link:hover {
    background: #fbc02d !important;
    color: #000000 !important;
    border: 2px solid transparent;
    border-image: repeating-linear-gradient(
        45deg,
        #000000,
        #000000 4px,
        #fbc02d 4px,
        #fbc02d 8px
    ) 2;
}
.bhp-cta-btn {
    transition: transform 0.15s ease, background 0.15s ease;
}
.bhp-cta-btn:hover {
    transform: translateY(-2px);
}
.bhp-hero-cta {
    transition: transform 0.15s ease, background 0.15s ease;
}
.bhp-hero-cta:hover {
    transform: translateY(-2px);
}
.bhp-hero-cta-outline {
    transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.bhp-hero-cta-outline:hover {
    transform: translateY(-2px);
}

/* —— Dropdown menu (for navigation) —— */
.bhp-dropdown-panel {
    display: none;
}
.bhp-dropdown:hover .bhp-dropdown-panel {
    display: block;
}

/* —— Search filters panel (hero variant) —— */
.catalog-filters--hero {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.75rem;
}
.catalog-filters--hero .catalog-filters__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}
.catalog-filters--hero .catalog-filters__legend {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin: 0;
}
.catalog-filters__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.catalog-filters__legend {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #495057;
    margin: 0;
}
.catalog-filters__check {
    accent-color: #d32f2f;
    width: 13px;
    height: 13px;
}
.catalog-filters__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}
.catalog-filters__option-label {
    color: #212529;
}
.catalog-filters--hero .catalog-filters__option {
    justify-content: center;
}
.catalog-filters--hero .catalog-filters__option-label {
    color: #212529;
}

/* —— Category menu: gray background override —— */
[data-theme="bhp"] .catalog-cat-nav {
    background: #f3f4f6 !important;
}

/* —— Ads: remove border and sharp corners —— */
.catalog-public[data-theme="bhp"] .catalog-ad__inner {
    border: none !important;
    border-radius: 0 !important;
}
.catalog-public[data-theme="bhp"] .catalog-ad__inner img,
.catalog-public[data-theme="bhp"] .catalog-ad__inner iframe {
    border-radius: 0 !important;
}

/* —— Menu hover: dark BHP red background —— */
[data-theme="bhp"] .catalog-cat-trigger {
    border: 2px solid transparent;
    box-sizing: border-box;
}
[data-theme="bhp"] .catalog-cat-trigger:hover,
[data-theme="bhp"] .catalog-cat-item.is-open > .catalog-cat-trigger,
[data-theme="bhp"] .catalog-cat-item:hover > .catalog-cat-trigger {
    background: #b71c1c !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(183, 28, 28, 0.4) !important;
}
[data-theme="bhp"] .catalog-cat-panel-link:hover {
    background: #b71c1c !important;
    color: #ffffff !important;
}
[data-theme="bhp"] .catalog-page-panel-link:hover {
    background: #fbc02d !important;
    color: #000000 !important;
}
[data-theme="bhp"] .catalog-page-panel {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f0f0f0 100%) !important;
}
/* —— Schedule day buttons: subtle gray, full width row —— */
.bhp-schedule-days {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.bhp-schedule-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    color: #495057;
    background: #f1f2f4;
    border: 1px solid #e0e0e0;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.bhp-schedule-day:hover {
    background: #e8e9eb;
    border-color: #c8c9cc;
    color: #212529;
}
.bhp-schedule-day.is-today {
    border-color: #fbc02d;
}
.bhp-schedule-day.is-active {
    background: #fbc02d;
    color: #000000;
    border-color: #fbc02d;
}
/* —— Category schedule box (gray gradient like home) —— */
.bhp-cat-schedule {
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f0f0f0 100%);
    overflow: hidden;
}
.bhp-cat-schedule__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}
.bhp-cat-schedule__group {
    flex: 1 1 auto;
    min-width: 200px;
}
.bhp-cat-schedule__group--right {
    flex: 0 0 auto;
    text-align: right;
}
.bhp-cat-schedule__label {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6c757d;
}
.bhp-cat-schedule__opennow {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}
[data-theme="bhp"] .catalog-cat-panel-link--all:hover {
    background: #8b1414 !important;
}

[data-theme="bhp"] .catalog-cat-list > .catalog-cat-item:first-child > .catalog-cat-trigger {
    padding-inline-start: 0.75rem !important;
}
[data-theme="bhp"] .catalog-main {
    padding-top: 0 !important;
}

/* —— Global catch-all: sharp corners on everything —— */
/* Round dots (status indicators, avatars) keep border-radius: 50% */
[data-theme="bhp"] *,
[data-theme="bhp"] *::before,
[data-theme="bhp"] *::after {
    border-radius: 0 !important;
}
/* Exceptions: keep round elements round */
[data-theme="bhp"] .catalog-hours-card__status-dot,
[data-theme="bhp"] .catalog-social-btn__icon,
[data-theme="bhp"] .catalog-header-icon-btn__icon,
[data-theme="bhp"] .checkbox,
[data-theme="bhp"] .radio,
[data-theme="bhp"] .loading,
[data-theme="bhp"] .loading-dots,
[data-theme="bhp"] [class*="avatar"],
[data-theme="bhp"] [class*="dot"] {
    border-radius: 50% !important;
}

/* ── Collapsible filters (mobile-friendly) ── */
.catalog-filters__field--collapsible {
    margin: 0;
    padding: 0;
    border: 0;
}

.catalog-filters__legend--summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0;
    margin: 0 0 0.35rem;
    font-size: var(--cat-label-fs);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.48;
    line-height: 1.3;
    list-style: none;
    transition: opacity 0.2s ease;
}

.catalog-filters__legend--summary:hover {
    opacity: 0.65;
}

.catalog-filters__expand-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

details.catalog-filters__field--collapsible[open] .catalog-filters__expand-icon {
    transform: rotate(180deg);
}

.catalog-filters__content {
    padding: 0.5rem 0 0.75rem 0;
}

/* Mobile: collapse by default */
@media (max-width: 768px) {
    .catalog-filters__field--collapsible {
        border-bottom: 1px solid color-mix(in oklab, var(--color-base-content) 8%, transparent);
    }

    .catalog-filters__field--collapsible:last-of-type {
        border-bottom: none;
    }

    .catalog-filters__field--collapsible:not([open]) .catalog-filters__content {
        display: none;
    }

    .catalog-filters__field--collapsible[open] {
        padding-bottom: 0.5rem;
    }
}

