/* Product details — overview, support, description */
.bb-pdp-page__details {
    margin-top: 1rem;
}

.bb-pdp-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bb-pdp-details__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bb-pdp-details__top {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 1rem;
    }
}

.bb-pdp-details__section {
    min-width: 0;
}

.bb-pdp-details__section--full {
    grid-column: 1 / -1;
}

.bb-pdp-details__card {
    height: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: clamp(1.25rem, 2.5vw, 1.5rem);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.bb-pdp-details__heading {
    margin: 0 0 1rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.bb-pdp-details__heading--center {
    text-align: center;
}

.bb-pdp-details__card-body {
    min-width: 0;
}

.bb-pdp-overview__lead {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.55;
}

.bb-pdp-overview__table-wrap {
    overflow-x: auto;
}

.bb-pdp-overview__table {
    width: 100%;
    border-collapse: collapse;
}

.bb-pdp-overview__row {
    border-bottom: 1px solid #f3f4f6;
}

.bb-pdp-overview__row:last-child {
    border-bottom: 0;
}

.bb-pdp-overview__label,
.bb-pdp-overview__value {
    padding: 0.75rem 0;
    font-size: 0.875rem;
    line-height: 1.4;
    vertical-align: top;
}

.bb-pdp-overview__label {
    width: 52%;
    padding-right: 1rem;
    font-weight: 400;
    text-align: left;
}

.bb-pdp-overview__value {
    width: 48%;
    font-weight: 500;
    color: #111827;
    text-align: right;
}

.bb-pdp-details__description {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #111827;
}

.bb-pdp-details__description p {
    margin: 0 0 0.875rem;
}

.bb-pdp-details__description p:last-child {
    margin-bottom: 0;
}

/* Expert Team Support card */
.bb-pdp-expert__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bb-pdp-expert__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.bb-pdp-expert__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.25rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #111827;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.bb-pdp-expert__link:hover {
    border-color: var(--bb-pdp-accent, #eb7d1e);
    color: var(--bb-pdp-accent, #eb7d1e);
    background: #fffaf5;
}

.bb-pdp-expert__link--chat:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.bb-pdp-expert__link--whatsapp:hover {
    border-color: #16a34a;
    color: #16a34a;
    background: #f0fdf4;
}

.bb-pdp-expert__link--email:hover {
    border-color: #7c3aed;
    color: #7c3aed;
    background: #f5f3ff;
}

.bb-pdp-expert__link--mobile {
    display: none;
}

.bb-pdp-expert__quote-note {
    margin: 1rem 0 0.875rem;
    max-width: 18rem;
    font-size: 0.75rem;
    line-height: 1.45;
}

.bb-pdp-expert__quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 16rem;
    min-height: 2.75rem;
    margin: 0 0 1.25rem;
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--bb-pdp-accent, #eb7d1e);
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111827;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bb-pdp-expert__quote-btn:hover {
    background: #fffaf5;
    border-color: var(--bb-pdp-accent-hover, #c96a18);
}

.bb-pdp-expert__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
}

.bb-pdp-expert__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 0.625rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
}

.bb-pdp-expert__feature-icon {
    display: inline-flex;
    flex-shrink: 0;
}

.bb-pdp-expert__feature-icon svg {
    display: block;
}

.bb-pdp-expert__feature-title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.bb-pdp-expert__feature-text {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.4;
    color: #9ca3af;
}

@media (max-width: 639px) {
    .bb-pdp-expert__features {
        grid-template-columns: 1fr;
    }

    .bb-pdp-expert__link--desktop {
        display: none;
    }

    .bb-pdp-expert__link--mobile {
        display: inline-flex;
    }
}

/* Legacy card selector — keep for any remaining Hyvä wrappers */
.bb-pdp-page__details .card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Static sidebar — light theme */
.bb-pdp-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
}

.bb-pdp-sidebar__inner {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.bb-pdp-sidebar__header {
    padding: 1.5rem 1.5rem 0;
    text-align: center;
}

.bb-pdp-sidebar__title {
    margin: 0 0 0.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
}

.bb-pdp-sidebar__intro {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #4b5563;
}

/* Sidebar notice box */
.bb-pdp-notice.bb-pdp-sidebar__notice {
    padding: clamp(1.25rem, 2.5vw, 1.5rem);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.bb-pdp-notice__section + .bb-pdp-notice__section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.bb-pdp-notice__rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bb-pdp-notice__row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.bb-pdp-notice__rows--list .bb-pdp-notice__row + .bb-pdp-notice__row,
.bb-pdp-notice__rows .bb-pdp-notice__row--feature + .bb-pdp-notice__row--feature {
    margin-top: 0.75rem;
}

.bb-pdp-notice__heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.bb-pdp-notice__title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
}

.bb-pdp-notice__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
}

.bb-pdp-notice__icon--solid img {
    display: block;
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}

.bb-pdp-notice__icon--line {
    color: #6b7280;
    width: 2rem;
    height: 2rem;
}

.bb-pdp-notice__icon--line svg,
.bb-pdp-notice__icon--line img {
    display: block;
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    flex-shrink: 0;
}

.bb-pdp-notice__row--feature .bb-pdp-notice__text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

.bb-pdp-notice__text {
    margin: 0;
    min-width: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #4b5563;
}

.bb-pdp-notice__rows--list .bb-pdp-notice__text {
    padding-top: 0.125rem;
}

@media (max-width: 1199px) {
    .bb-pdp-sidebar {
        position: static;
        order: 2;
    }
}

/* Sidebar — related products */
.bb-pdp-related.bb-pdp-sidebar__related {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-sizing: border-box;
}

.bb-pdp-related__title {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.bb-pdp-related__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bb-pdp-related__item {
    margin: 0;
}

.bb-pdp-related__link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.bb-pdp-related__link:hover .bb-pdp-related__name {
    color: var(--bb-pdp-accent, #eb7d1e);
}

.bb-pdp-related__media {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
}

.bb-pdp-related__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bb-pdp-related__body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bb-pdp-related__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.4;
    color: #6b7280;
}

.bb-pdp-related__price {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

/* Customer reviews section */
.bb-pdp-reviews {
    --bb-pdp-reviews-container-max: 96rem;
    width: 100%;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.bb-pdp-reviews__container {
    width: 100%;
    max-width: var(--bb-pdp-reviews-container-max);
    margin-inline: auto;
    padding-inline: 1.5rem;
    box-sizing: border-box;
}

/* Static customers-review carousel on PDP (shared with homepage) */
.bb-pdp-reviews .bb-pdp-reviews__static-carousel {
    --bb-reviews-accent: #00b67a;
    --bb-reviews-text: #111827;
    --bb-reviews-muted: #6b7280;
    --bb-reviews-surface: #ffffff;
    --bb-reviews-border: #e5e7eb;
    --bb-reviews-divider: #d1d5db;
    --bb-reviews-radius: 10px;
    --bb-reviews-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);

    padding: 0;
    background: transparent;
}

.bb-pdp-reviews .home-customers-review__header {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
}

.bb-pdp-reviews .home-customers-review__title {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bb-reviews-text);
    letter-spacing: -0.01em;
}

.bb-pdp-reviews .home-customers-review__divider {
    width: 100%;
    height: 1px;
    margin: 0;
    border: 0;
    background: var(--bb-reviews-divider);
}

.bb-pdp-reviews .home-customers-review__track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.bb-pdp-reviews .home-customers-review__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1.375rem 1.375rem;
    background: var(--bb-reviews-surface);
    border: 1px solid var(--bb-reviews-border);
    border-radius: var(--bb-reviews-radius);
    box-shadow: var(--bb-reviews-shadow);
}

.bb-pdp-reviews .home-customers-review__stars {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    margin-bottom: 0.875rem;
    color: var(--bb-reviews-accent);
}

.bb-pdp-reviews .home-customers-review__stars svg {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
    fill: currentColor;
}

.bb-pdp-reviews .home-customers-review__author {
    margin: 0 0 0.625rem;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bb-reviews-text);
}

.bb-pdp-reviews .home-customers-review__headline {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bb-reviews-text);
}

.bb-pdp-reviews .home-customers-review__text {
    margin: 0 0 1.25rem;
    flex: 1 1 auto;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--bb-reviews-muted);
}

.bb-pdp-reviews .home-customers-review__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    align-self: flex-start;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--bb-reviews-muted);
    transition: color 0.2s ease;
}

.bb-pdp-reviews .home-customers-review__read-more:hover {
    color: var(--bb-reviews-accent);
}

.bb-pdp-reviews .home-customers-review__read-more svg {
    display: block;
    width: 0.875rem;
    height: 0.875rem;
    stroke: currentColor;
    fill: none;
}

.bb-pdp-reviews .home-customers-review__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: clamp(1.5rem, 3vw, 2rem);
    padding: 0;
    list-style: none;
}

.bb-pdp-reviews .home-customers-review__dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bb-pdp-reviews .home-customers-review__dot:hover {
    background: #9ca3af;
}

.bb-pdp-reviews .home-customers-review__dot.is-active {
    background: var(--bb-reviews-text);
    transform: scale(1.05);
}

@media (min-width: 40rem) {
    .bb-pdp-reviews .home-customers-review__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .bb-pdp-reviews .home-customers-review__track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 639px) {
    .bb-pdp-reviews .home-customers-review__track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 0.25rem;
        scrollbar-width: none;
    }

    .bb-pdp-reviews .home-customers-review__track::-webkit-scrollbar {
        display: none;
    }

    .bb-pdp-reviews .home-customers-review__card {
        flex: 0 0 min(100%, 18.5rem);
        scroll-snap-align: start;
    }
}
