/**
 * ACF Homepage Template Styles
 *
 * Uses CSS variables from megamenu.css (:root block).
 * Breakpoints: 991px (tablet), 767px (mobile) — matching XStore.
 */

/* Design tokens are in global.css */

/* Container */
.acf-homepage-container {
    max-width: 100%;
    padding: 0;
}

/* Common Section Styles */
.acf-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
}

/* Hero Section - Full Width */
.bc-hero {
    width: 100%;
    line-height: 0;
}

.bc-hero--full-width {
    margin: 0;
    padding: 0;
}

.bc-hero__link {
    display: block;
    width: 100%;
}

.bc-hero__image {
    width: 100%;
    height: auto;
    display: block;
}

.bc-hero__image--desktop {
    display: block;
}

.bc-hero__image--mobile {
    display: none;
}

@media (max-width: 767px) {
    .bc-hero__image--desktop {
        display: none;
    }

    .bc-hero__image--mobile {
        display: block;
    }
}

/* Hero Section - Overlay Mode (text over background image)
   Figma: node 1:81 (brand), node 1:254 (campaign)
   =========================================== */
.bc-hero--overlay {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: normal; /* reset .bc-hero line-height: 0 (image-only fix) */
}

/* Background images — in flow, set section height naturally */
.bc-hero__bg {
    width: 100%;
    height: auto;
    display: block;
}

.bc-hero__bg--desktop {
    display: block;
}

.bc-hero__bg--mobile {
    display: none;
}

/* Dark overlay */
.bc-hero__dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Content container — absolute over the image */
.bc-hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    padding: 80px 200px;
}

/* Text block */
.bc-hero__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Subtitle / eyebrow */
.bc-hero__subtitle {
    font-family: var(--bc-font-body);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--bc-white);
    margin: 0;
}

/* Main heading */
.bc-hero__heading {
    font-family: var(--bc-font-heading) !important;
    font-size: 86px;
    font-weight: 400;
    line-height: 100px;
    color: var(--bc-white) !important;
    margin: 0;
    font-feature-settings: 'liga' 0;
}

/* Body paragraph */
.bc-hero__body {
    font-family: var(--bc-font-body);
    font-size: 24px;
    font-weight: 400;
    line-height: 40px;
    color: var(--bc-white);
    margin: 0;
}

/* CTA buttons row */
.bc-hero__ctas {
    display: flex;
    gap: 12px;
    align-items: center;
}


/* Secondary CTA (white pill) */
.bc-hero__cta--secondary {
    background: var(--bc-white);
    color: var(--bc-black);
}

.bc-hero__cta--secondary:hover {
    opacity: 0.9;
    color: var(--bc-black);
}

/* ── Overlay hero responsive ── */
@media (max-width: 991px) {
    .bc-hero__content {
        padding: 60px 40px;
        gap: 36px;
    }

    .bc-hero__heading {
        font-size: 52px !important;
        line-height: 62px !important;
    }

    .bc-hero__body {
        font-size: 18px;
        line-height: 30px;
    }

    .bc-hero__cta {
        font-size: 18px;
        padding: 16px 28px;
    }
}

@media (max-width: 767px) {
    .bc-hero__bg--desktop {
        display: none;
    }

    .bc-hero__bg--mobile {
        display: block;
    }

    .bc-hero__content {
        padding: 40px 20px;
        gap: 28px;
    }

    .bc-hero__subtitle {
        font-size: 14px;
    }

    .bc-hero__heading {
        font-size: 36px !important;
        line-height: 44px !important;
    }

    .bc-hero__body {
        font-size: 16px;
        line-height: 26px;
    }

    .bc-hero__ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    .bc-hero__cta {
        font-size: 16px;
        padding: 14px 24px;
    }
}

/* ===========================================
   REUSABLE CAROUSEL COMPONENT
   =========================================== */

/* Base Carousel Styles */
.bc-carousel {
    padding: 120px 0;
}

.bc-carousel__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 24px;
}

.bc-carousel__header {
    flex: 1;
}

.bc-carousel__subtitle {
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--bc-pink);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 16px 0;
}

.bc-carousel__title {
    font-family: var(--bc-font-heading);
    font-size: 60px;
    font-weight: 400;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.bc-carousel__desc {
    font-family: var(--bc-font-body);
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    line-height: 1.67;
}

/* Right side with CTA and arrows */
.bc-carousel__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.bc-carousel__cta-link {
    font-family: var(--bc-font-body);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
}

.bc-carousel__cta-link:hover {
    opacity: 0.8;
}

/* Navigation arrows */
.bc-carousel__nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.bc-carousel__nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transition: all 0.3s ease;
    border: none;
}

.bc-carousel__nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Slider container — structural layout is in bc-carousel-core.css,
   only theme overrides go here */

/* ===========================================
   LIGHT THEME (Services)
   =========================================== */
.bc-carousel--light {
    background: var(--bc-white);
}

.bc-carousel--light .bc-carousel__title {
    color: var(--bc-black);
}

.bc-carousel--light .bc-carousel__desc {
    color: #3b3336;
}

.bc-carousel--light .bc-carousel__cta-link {
    color: var(--bc-pink);
}

.bc-carousel--light .bc-carousel__nav-btn {
    background: var(--bc-soft-grey);
    color: var(--bc-black);
}

.bc-carousel--light .bc-carousel__nav-btn:hover {
    background: var(--bc-black);
    color: var(--bc-white);
}

.bc-carousel--light .bc-slider__dot {
    background: var(--bc-black);
    opacity: 0.3;
    padding: 0;
}

.bc-carousel--light .bc-slider__dot--active {
    opacity: 1;
}

/* ===========================================
   DARK THEME (Offers)
   =========================================== */
.bc-carousel--dark {
    background: var(--bc-black);
}

.bc-carousel--dark .bc-carousel__title {
    color: var(--bc-white);
}

.bc-carousel--dark .bc-carousel__desc {
    color: var(--bc-white);
}

.bc-carousel--dark .bc-carousel__cta-link {
    color: var(--bc-pink);
}

.bc-carousel--dark .bc-carousel__nav-btn {
    background: var(--bc-soft-grey);
    color: var(--bc-black);
}

.bc-carousel--dark .bc-carousel__nav-btn:hover {
    background: var(--bc-pink);
    color: var(--bc-white);
}

.bc-carousel--dark .bc-slider__dot {
    background: var(--bc-white);
    opacity: 0.5;
    padding: 0;
    height: 2px;
}

.bc-carousel--dark .bc-slider__dot--active {
    opacity: 1;
}

/* ===========================================
   SERVICE CARD (Light theme cards)
   Figma ref: node 1:118
   =========================================== */
.bc-card--service {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.bc-card--service .bc-card__link {
    display: block;
    position: relative;
    text-decoration: none;
}

.bc-card--service .bc-card__img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bc-card--service:hover .bc-card__img {
    transform: scale(1.05);
}

.bc-card--service .bc-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
}

.bc-card--service .bc-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.bc-card--service .bc-card__title {
    font-family: var(--bc-font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--bc-white);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.bc-card--service .bc-card__btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--bc-white);
    border: none;
    border-radius: 100px;
    color: var(--bc-black);
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bc-card--service:hover .bc-card__btn {
    background: var(--bc-pink);
    color: var(--bc-white);
}

/* ===========================================
   OFFER CARD (Dark theme cards)
   Figma ref: node 1:87 cards
   =========================================== */
.bc-card--offer {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bc-card--offer .bc-card__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-card--offer .bc-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.bc-card--offer .bc-card__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 24px 48px 36px;
}

.bc-card--offer .bc-card__label {
    display: inline-block;
    align-self: flex-start;
    background: var(--bc-black);
    color: var(--bc-white);
    font-family: var(--bc-font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 100px;
    line-height: 20px;
}

.bc-card--offer .bc-card__label--promo {
    background: var(--bc-hot-pink);
}

.bc-card--offer .bc-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bc-card--offer .bc-card__text {
    color: var(--bc-white);
}

.bc-card--offer .bc-card__category {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    line-height: 1.8;
}

.bc-card--offer .bc-card__title {
    font-family: var(--bc-font-heading);
    font-size: 48px;
    font-weight: 400;
    margin: 0;
    line-height: 1.25;
    color: var(--bc-white);
}

.bc-card--offer .bc-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bc-card--offer .bc-card__price {
    color: var(--bc-white);
}

.bc-card--offer .bc-card__price-label {
    display: block;
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.bc-card--offer .bc-card__price-value {
    display: flex;
    align-items: flex-end;
    font-family: var(--bc-font-heading);
}

.bc-card--offer .bc-card__price-main {
    font-size: 48px;
    line-height: 1.1;
}

.bc-card--offer .bc-card__price-cents {
    font-size: 24px;
    line-height: 1.25;
}

.bc-card--offer .bc-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: var(--bc-pink);
    color: var(--bc-white);
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bc-card--offer .bc-card__cta:hover {
    background: var(--bc-black);
    color: var(--bc-white);
}

.bc-card--offer .bc-card__cta svg {
    width: 24px;
    height: 24px;
}

/* ===========================================
   RESPONSIVE STYLES (991px + 767px only)
   =========================================== */
@media (max-width: 991px) {
    .bc-carousel {
        padding: 80px 0;
    }

    .bc-carousel__title {
        font-size: 36px;
    }

    .bc-card--service .bc-card__img {
        height: 380px;
    }

    .bc-card--service .bc-card__title {
        font-size: 24px;
    }

    .bc-card--offer {
        height: 450px;
    }

    .bc-card--offer .bc-card__inner {
        padding: 20px 30px 30px;
    }

    .bc-card--offer .bc-card__title {
        font-size: 28px;
    }

    .bc-card--offer .bc-card__price-main {
        font-size: 36px;
    }

    .bc-card--offer .bc-card__category {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .bc-carousel {
        padding: 50px 0;
    }

    .bc-carousel__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .bc-carousel__right {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .bc-carousel__nav {
        display: none;
    }

    .bc-carousel__title {
        font-size: 28px;
    }

    .bc-carousel__desc {
        font-size: 16px;
    }

    .bc-card--service .bc-card__img {
        height: 350px;
    }

    .bc-card--service .bc-card__title {
        font-size: 22px;
    }

    /* Dot sizes handled in bc-carousel-core.css */

    .bc-card--offer {
        height: 400px;
    }

    .bc-card--offer .bc-card__inner {
        padding: 16px 20px 24px;
    }

    .bc-card--offer .bc-card__title {
        font-size: 24px;
    }

    .bc-card--offer .bc-card__price-main {
        font-size: 32px;
    }

    .bc-card--offer .bc-card__price-cents {
        font-size: 18px;
    }
}

/* ===========================================
   Categories Section
   =========================================== */
.acf-categories-section {
    background: #f9f9f9;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.category-item {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.category-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-name {
    padding: 20px;
    margin: 0;
    font-size: 18px;
}

.category-name a {
    color: #333;
    text-decoration: none;
}

.category-name a:hover {
    color: #666;
}

/* Products Section */
.acf-products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.products-wrapper {
    width: 100%;
}

/* Banner Section */
.acf-banner-section {
    padding: 0;
}

.banner-wrapper {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 40px;
    max-width: 700px;
}

.banner-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.banner-text {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.banner-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    background: #333;
    color: #fff;
}

/* Content Blocks Section */
.acf-content-blocks-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.content-block {
    margin-bottom: 60px;
}

.content-block:last-child {
    margin-bottom: 0;
}

/* Text Block */
.text-block {
    max-width: 800px;
    margin: 0 auto;
}

.text-block h2 {
    margin-bottom: 20px;
}

/* Image + Text Block */
.image-text-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.image-text-block.image-right {
    direction: rtl;
}

.image-text-block.image-right > * {
    direction: ltr;
}

.image-text-block .block-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-text-block .block-text h2 {
    margin-bottom: 20px;
}

/* Shortcode Block */
.shortcode-block {
    width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .section-title {
        font-size: 28px;
    }

    .image-text-block {
        grid-template-columns: 1fr;
    }

    .image-text-block.image-right {
        direction: ltr;
    }
}

@media (max-width: 767px) {
    .acf-section {
        padding: 40px 0;
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-text {
        font-size: 16px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-image img {
        height: 150px;
    }

}

@media (max-width: 479px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   CTA CONSULTANTA SECTION (Static)
   Full-width bg image + dark overlay + centered CTA
   Figma ref: node 1:120
   =========================================== */
.bc-cta-consultanta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 200px;
}

.bc-cta-consultanta__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.bc-cta-consultanta .container {
    position: relative;
    z-index: 2;
}

.bc-cta-consultanta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bc-cta-consultanta__subtitle {
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--bc-pink);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.bc-cta-consultanta__title {
    width: 970px;
    max-width: 100%;
    font-family: var(--bc-font-heading);
    font-size: 60px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--bc-white) !important;
    margin-bottom: 40px;
}


@media (max-width: 991px) {
    .bc-cta-consultanta {
        padding: 80px 40px;
    }

    .bc-cta-consultanta__title {
        font-size: 40px;
    }

    .bc-cta-consultanta__content {
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .bc-cta-consultanta {
        padding: 60px 20px;
    }

    .bc-cta-consultanta__title {
        font-size: 28px;
    }

    .bc-cta-consultanta__content {
        gap: 32px;
    }
}

/* ===========================================
   STATISTICS SECTION (Static)
   Row of 4 number counters
   Figma ref: node 1:126
   =========================================== */
.bc-stats {
    background: var(--bc-white);
    padding: 80px 200px;
}

.bc-stats__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.bc-stat {
    width: 296px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
}

.bc-stat__number {
    font-family: var(--bc-font-heading);
    font-size: 60px;
    font-weight: 400;
    line-height: 72px;
    color: #0A0A0A;
}

.bc-stat__label {
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #3B3336;
}

@media (max-width: 991px) {
    .bc-stats {
        padding: 60px 40px;
    }

    .bc-stats__grid {
        flex-wrap: wrap;
    }

    .bc-stat {
        width: calc(50% - 8px);
    }

    .bc-stat__number {
        font-size: 40px;
        line-height: 52px;
    }
}

@media (max-width: 767px) {
    .bc-stats {
        padding: 40px 20px;
    }

    .bc-stat {
        width: 100%;
    }

    .bc-stat__number {
        font-size: 36px;
        line-height: 44px;
    }

    .bc-stat__label {
        font-size: 14px;
    }
}

/* ===========================================
   CONTENT + IMAGE SECTION
   Two-column with light/dark theme + image left/right
   =========================================== */
.bc-content-image {
    padding: 80px 0;
}

.bc-content-image__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Image position: right (default) — content first, image second */
.bc-content-image--image-right .bc-content-image__image {
    order: 2;
}

.bc-content-image--image-right .bc-content-image__content {
    order: 1;
}

/* Image position: left — image first, content second */
.bc-content-image--image-left .bc-content-image__image {
    order: 1;
}

.bc-content-image--image-left .bc-content-image__content {
    order: 2;
}

.bc-content-image__content .bc-section__subtitle {
    margin-bottom: 12px;
}

.bc-content-image__content .bc-section__title {
    margin-bottom: 24px;
}

.bc-content-image__text {
    font-family: var(--bc-font-body);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.bc-content-image__text p {
    margin-bottom: 16px;
}

.bc-content-image__text p:last-child {
    margin-bottom: 0;
}

.bc-content-image__image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* Light theme (white background) */
.bc-content-image--light {
    background: var(--bc-white);
}

.bc-content-image--light .bc-content-image__text {
    color: #3b3336;
}

/* Dark theme (black background) */
.bc-content-image--dark {
    background: var(--bc-black);
    color: var(--bc-white);
}

.bc-content-image .bc-section__subtitle {
    color: var(--bc-pink);
}

.bc-content-image--dark .bc-section__title {
    color: var(--bc-white);
}

.bc-content-image--dark .bc-content-image__text {
    color: rgba(255, 255, 255, 0.8);
}

.bc-content-image--dark .bc-btn--primary {
    background: var(--bc-pink);
    color: var(--bc-white);
}

@media (max-width: 991px) {
    .bc-content-image__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* On mobile, image always goes above content */
    .bc-content-image__image {
        order: -1 !important;
    }

    .bc-content-image__content {
        order: 1 !important;
    }
}

/* ===========================================
   PRICING LIST SECTION
   Package rows with prices + CTAs
   =========================================== */
.bc-pricing {
    padding: 80px 0;
}

.bc-pricing__list {
    margin-top: 48px;
}

.bc-pricing__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #E5E5E5;
    gap: 24px;
}

.bc-pricing__item:first-child {
    border-top: 1px solid #E5E5E5;
}

.bc-pricing__item-info {
    flex: 1;
}

.bc-pricing__item-name {
    font-family: var(--bc-font-heading);
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 4px 0;
}

.bc-pricing__item-desc {
    font-family: var(--bc-font-body);
    font-size: 14px;
    color: #666;
    margin: 0;
}

.bc-pricing__item-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.bc-pricing__item-price {
    text-align: right;
}

.bc-pricing__price-label {
    font-family: var(--bc-font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    display: block;
}

.bc-pricing__price-value {
    font-family: var(--bc-font-heading);
    font-size: 24px;
    font-weight: 400;
}

@media (max-width: 767px) {
    .bc-pricing__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .bc-pricing__item-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ===========================================
   BEFORE / AFTER SECTION
   Interactive slider + text content + tabs
   =========================================== */
.bc-before-after {
    padding: 120px 0;
}

.bc-before-after__wrapper {
    display: flex;
    align-items: center;
    gap: 120px;
}

/* Left column: slider + tabs */
.bc-before-after__left {
    flex: 1;
    min-width: 0;
}

/* Slider container */
.bc-before-after__slider {
    position: relative;
}

.bc-before-after__slide {
    display: none;
}

.bc-before-after__slide--active {
    display: block;
}

.bc-before-after__image-wrap {
    position: relative;
    overflow: hidden;
    height: 500px;
    user-select: none;
    -webkit-user-select: none;
}

/* After image: full size, sits behind */
.bc-before-after__after {
    position: absolute;
    inset: 0;
}

.bc-before-after__after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Before image: full size, clipped via clip-path so image doesn't rescale */
.bc-before-after__before {
    position: absolute;
    inset: 0;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.bc-before-after__before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Divider line + handle */
.bc-before-after__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: var(--bc-soft-grey);
    z-index: 3;
    cursor: ew-resize;
}

.bc-before-after__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
    cursor: ew-resize;
}

.bc-before-after__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--bc-soft-grey);
    border-radius: 100px;
    flex-shrink: 0;
}

.bc-before-after__arrow svg {
    width: 24px;
    height: 24px;
}

/* Before/After labels */
.bc-before-after__label {
    position: absolute;
    top: 16px;
    z-index: 5;
    background: var(--bc-black);
    color: #fff;
    font-family: var(--bc-font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 2px 10px;
    border-radius: 100px;
}

.bc-before-after__label--before {
    left: 16px;
}

.bc-before-after__label--after {
    right: 16px;
}

/* Category tabs */
.bc-before-after__tabs {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.bc-before-after__tab {
    padding: 10px 24px;
    border: 1px solid var(--bc-black);
    border-radius: 100px;
    background: #fff !important;
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: var(--bc-black) !important;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.bc-before-after__tab--active {
    background: var(--bc-black) !important;
    color: #fff !important;
}

/* Right column: text content */
.bc-before-after__right {
    flex-shrink: 0;
    width: 800px;
    max-width: 45%;
}

.bc-before-after .bc-section__subtitle {
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--bc-pink);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 18px 0;
}

.bc-before-after .bc-section__title {
    font-family: var(--bc-font-heading);
    font-size: 60px;
    font-weight: 400;
    line-height: 72px;
    margin: 0 0 24px 0;
    color: var(--bc-black);
    font-feature-settings: 'liga' 0;
}

.bc-before-after__desc {
    font-family: var(--bc-font-body);
    font-size: 24px;
    font-weight: 400;
    line-height: 40px;
    color: #3B3336;
    margin: 0 0 48px 0;
}

/* Responsive */
@media (max-width: 991px) {
    .bc-before-after {
        padding: 80px 0;
    }

    .bc-before-after__wrapper {
        flex-direction: column;
        gap: 48px;
    }

    .bc-before-after__right,
    .bc-before-after__left {
        width: 100%;
        max-width: 100%;
    }

    .bc-before-after .bc-section__title {
        font-size: 40px;
        line-height: 48px;
    }

    .bc-before-after__desc {
        font-size: 18px;
        line-height: 30px;
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {
    .bc-before-after {
        padding: 60px 0;
    }

    .bc-before-after__image-wrap {
        height: 350px;
    }

    .bc-before-after .bc-section__title {
        font-size: 32px;
        line-height: 40px;
    }
}

/* ===========================================
   FAQ SECTION
   Image + accordion questions
   =========================================== */
.bc-faq {
    padding: 80px 0;
}

.bc-faq__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.bc-faq__image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.bc-faq__content .bc-section__subtitle {
    margin-bottom: 12px;
}

.bc-faq__content .bc-section__title {
    margin-bottom: 32px;
}

.bc-faq__accordion {
    border-top: 1px solid #E5E5E5;
}

.bc-faq__item {
    border-bottom: 1px solid #E5E5E5;
}

.bc-faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    gap: 16px;
}

.bc-faq__icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.bc-faq__item.is-open .bc-faq__icon {
    transform: rotate(45deg);
}

.bc-faq__answer {
    display: none;
    padding: 0 0 20px 0;
    font-family: var(--bc-font-body);
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.bc-faq__item.is-open .bc-faq__answer {
    display: block;
}

@media (max-width: 991px) {
    .bc-faq__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bc-faq__image {
        order: -1;
    }
}

/* ===========================================
   18. PRODUCTS LIST
   Product rows with WooCommerce prices + label badges
   =========================================== */
.bc-products-list {
    background: var(--bc-soft-grey);
    padding: 120px 0;
}

.bc-products-list__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.bc-products-list .bc-section__subtitle {
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--bc-pink);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 18px 0;
}

.bc-products-list .bc-section__title {
    font-family: var(--bc-font-heading);
    font-size: 60px;
    font-weight: 400;
    line-height: 72px;
    margin: 0;
    color: var(--bc-black);
    font-feature-settings: 'liga' 0;
}

.bc-products-list__cta-link {
    font-family: var(--bc-font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--bc-pink);
    text-decoration: none;
    border-bottom: 1px solid var(--bc-pink);
    padding-bottom: 4px;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.bc-products-list__cta-link:hover {
    opacity: 0.8;
    color: var(--bc-pink);
}

.bc-products-list__items {
    margin-top: 48px;
}

.bc-products-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid #D2D2D2;
}

.bc-products-list__item:last-child {
    border-bottom: 1px solid #D2D2D2;
}

.bc-products-list__item-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.bc-products-list__item-name {
    font-family: var(--bc-font-body);
    font-size: 24px;
    font-weight: 500;
    color: var(--bc-black);
    line-height: normal;
}

/* Label badge ribbon — base shape from .bc-badge in utilities.css */
.bc-products-list__label {
    gap: 2px;
    flex-shrink: 0;
}

.bc-products-list__label-heart {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Item right side */
.bc-products-list__item-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.bc-products-list__price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.bc-products-list__price-prefix {
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #3B3336;
}

.bc-products-list__price-value {
    font-family: var(--bc-font-heading);
    font-size: 28px;
    font-weight: 400;
    line-height: 30px;
    color: var(--bc-black);
}

.bc-products-list__price-suffix {
    font-family: var(--bc-font-body);
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    color: var(--bc-black);
}

.bc-products-list__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #fff;
    border: 1px solid var(--bc-black);
    border-radius: 100px;
    font-family: var(--bc-font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: var(--bc-black);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
}

.bc-products-list__btn:hover {
    background: var(--bc-pink);
    border-color: var(--bc-pink);
    color: #fff !important;
}

/* Payment icons footer */
.bc-products-list__payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
}

.bc-products-list__payment-text {
    font-family: var(--bc-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: var(--bc-black);
}

.bc-products-list__payment-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bc-products-list__payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 30px;
    flex-shrink: 0;
}

.bc-products-list__payment-icon svg {
    display: block;
    width: 50px;
    height: 30px;
}

/* Responsive */
@media (max-width: 991px) {
    .bc-products-list {
        padding: 80px 0;
    }

    .bc-products-list .bc-section__title {
        font-size: 40px;
        line-height: 48px;
    }

    .bc-products-list__item-name {
        font-size: 18px;
    }

    .bc-products-list__price-value {
        font-size: 24px;
        line-height: 26px;
    }
}

@media (max-width: 767px) {
    .bc-products-list {
        padding: 60px 0;
    }

    .bc-products-list__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .bc-products-list .bc-section__title {
        font-size: 32px;
        line-height: 40px;
    }

    .bc-products-list__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .bc-products-list__item-left {
        flex-wrap: wrap;
    }

    .bc-products-list__item-right {
        width: 100%;
        justify-content: space-between;
    }

    .bc-products-list__payment {
        flex-direction: column;
        gap: 12px;
    }
}
