.product-detail {
    padding-block: clamp(4.5rem, 7vw, 6.75rem) clamp(4.25rem, 7vw, 6rem);
    background: var(--color-white);
}

.product-detail__head {
    margin-bottom: clamp(2.625rem, 5vw, 4.125rem);
}

.product-detail__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.375rem;
    color: var(--color-brand-strong);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.product-detail__breadcrumb a {
    color: inherit;
    text-decoration-thickness: .0625rem;
}

.product-detail__head h1 {
    max-width: 56rem;
    margin-bottom: 1.25rem;
    font-size: clamp(3.5rem, 6vw, 6.2rem);
    letter-spacing: -.052em;
}

.product-detail__audience {
    max-width: 56rem;
    margin: 0 0 .75rem;
    color: var(--color-copy-soft);
    font-size: 1rem;
    line-height: 1.65;
}

.product-detail__audience strong {
    color: var(--color-ink);
}

.product-detail__focus {
    margin: 0;
    color: var(--color-brand-strong);
    font-weight: 800;
}

.product-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22.5rem, .92fr);
    gap: clamp(2.25rem, 5vw, 4.5rem);
    align-items: start;
}

.product-visual__main {
    display: grid;
    min-height: 32.5rem;
    place-items: center;
    margin: 0;
    padding: clamp(2.125rem, 5vw, 3.625rem);
    overflow: hidden;
    border: .0625rem solid var(--surface-line);
    border-radius: var(--radius-feature);
    background: radial-gradient(circle at 22% 18%, rgba(134, 215, 207, .24), transparent 34%), var(--color-surface);
    box-shadow: var(--shadow-medium);
}

.product-visual__main img {
    width: min(100%, 36.875rem);
    max-height: 26.25rem;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.product-summary {
    display: grid;
    gap: 1.25rem;
}

.price-panel,
.benefits-card {
    border: .0625rem solid var(--surface-line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.price-panel {
    padding: 1.875rem 2rem;
    background: linear-gradient(180deg, var(--color-surface-soft-top) 0%, var(--color-surface-soft-bottom) 100%);
}

.price-panel__label {
    display: block;
    margin-bottom: .3125rem;
    color: var(--color-brand-strong);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.price-panel__value {
    display: flex;
    align-items: baseline;
    gap: .625rem;
    margin-bottom: 1.25rem;
    color: var(--color-ink);
    font-family: var(--font-heading);
}

.price-panel__value strong {
    color: var(--color-brand-strong);
    font-size: clamp(2.8rem, 4.8vw, 4.3rem);
    line-height: 1;
    font-weight: 700;
}

.price-panel__value span {
    font-size: 1rem;
}

.price-panel p {
    margin-bottom: 1.5rem;
    color: var(--color-copy);
    line-height: 1.7;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: .875rem;
    margin-bottom: 1.5rem;
}

.product-badge {
    width: 5.125rem;
    height: 5.125rem;
    object-fit: contain;
}

.eshop-button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0 1.375rem;
    border-radius: var(--radius-pill);
    color: var(--color-white);
    background: var(--color-brand-strong);
    font-weight: 800;
    text-decoration: none;
}

.benefits-card {
    padding: 1.8125rem 1.9375rem;
    background: var(--color-white);
}

.benefits-card h2 {
    margin-bottom: 1.0625rem;
    font-size: 1.5rem;
}

.benefits-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.benefits-card li {
    margin-bottom: .4375rem;
    color: var(--color-copy);
    line-height: 1.55;
}

.benefits-card li::marker {
    color: var(--color-brand);
}

.product-information {
    padding-block: clamp(4.5rem, 8vw, 6.75rem);
    background: var(--color-brand-pale);
}

.product-information__head {
    max-width: 74rem;
    margin-bottom: 2.125rem;
}

.product-information__head h2 {
    margin-bottom: .625rem;
    font-size: clamp(2.25rem, 4vw, 3.45rem);
    letter-spacing: -.035em;
}

.product-information__head p:last-child {
    max-width: 47.5rem;
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.product-accordion {
    display: grid;
    gap: 1rem;
}

.product-panel {
    overflow: hidden;
    border: .0625rem solid var(--surface-line);
    border-radius: var(--radius-card);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.product-panel > summary {
    display: flex;
    min-height: 4.875rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.375rem 1.75rem;
    color: var(--color-ink);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: clamp(1.18rem, 2vw, 1.45rem);
    font-weight: 700;
}

.product-panel > summary::-webkit-details-marker {
    display: none;
}

.product-panel > summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 2.125rem;
    height: 2.125rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--color-brand-strong);
    background: var(--color-brand-soft);
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1;
}

.product-panel[open] > summary {
    border-bottom: .0625rem solid rgba(23, 82, 76, .08);
    color: var(--color-brand-strong);
    background: var(--color-surface-open);
}

.product-panel[open] > summary::after {
    content: "−";
}

.product-panel__content {
    padding: 1.625rem 1.75rem 2.125rem;
}

.editor-content {
    color: var(--color-copy);
    line-height: var(--leading-copy);
}

.editor-content p {
    margin-bottom: 1.375rem;
}

/* Imported product descriptions may begin with an editorial H2.
   Keep it visually subordinate to the single page-title H1. */
.product-panel__content .editor-content > h2:first-child {
    margin: 0 0 .5rem;
    font-size: clamp(1.55rem, 2.5vw, 1.85rem);
    letter-spacing: -.015em;
}

.editor-content h3 {
    margin: 2.375rem 0 .75rem;
    color: var(--color-ink);
    font-size: 1.55rem;
}

.editor-content strong {
    color: var(--color-ink);
}

.editor-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.35rem;
}

.editor-content li {
    margin-bottom: .4375rem;
}

/* Imported arithmetic examples contain <img> + operators in one paragraph.
   Content Platform's global .content-image is block-level; restore the original
   inline math only for paragraphs containing multiple direct images. */
.product-panel__content .editor-content p:has(> img.content-image ~ img.content-image) {
    overflow-x: auto;
    overflow-y: hidden;
    padding-block: .125rem;
    line-height: 2.75;
    scrollbar-width: thin;
}

.product-panel__content .editor-content p:has(> img.content-image ~ img.content-image) > img.content-image {
    display: inline-block;
    max-width: min(100%, 10rem);
    max-height: 4rem;
    vertical-align: middle;
    margin-inline: .1rem;
    border-radius: .2rem;
}

.editor-image-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: flex-start;
    margin: 1.25rem 0 1.75rem;
}

.editor-image-row figure {
    margin: 0;
}

.editor-image-row img {
    width: auto;
    max-width: 14.375rem;
    max-height: 7.8125rem;
    border-radius: .875rem .3125rem .875rem .3125rem;
    box-shadow: var(--shadow-soft);
}

.spec-table-wrap {
    overflow-x: auto;
    border: .0625rem solid var(--surface-line);
    border-radius: var(--radius-card-small);
    background: var(--color-white);
}

.spec-table {
    width: 100%;
    min-width: 38.75rem;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 1rem 1.1875rem;
    border-bottom: .0625rem solid rgba(23, 82, 76, .09);
    text-align: left;
    vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: 0;
}

.spec-table th {
    width: 31%;
    color: var(--color-brand-strong);
    background: var(--color-surface-table);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.guide-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-links a {
    display: block;
    height: 100%;
    padding: 1.125rem 1.25rem;
    border: .0625rem solid var(--surface-line);
    border-radius: 1.25rem .4375rem 1.25rem .4375rem;
    color: var(--color-ink);
    background: var(--color-white);
    box-shadow: 0 .5rem 1.375rem rgba(31, 86, 79, .045);
    font-weight: 800;
    text-decoration: none;
}

.guide-links a:hover {
    color: var(--color-brand-strong);
    box-shadow: var(--shadow-soft);
}

.panel-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.panel-gallery__item {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-card-small);
    background: var(--color-surface-table);
    box-shadow: var(--shadow-soft);
}

.panel-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel-related .product-card__image {
    min-height: 12rem;
}

.panel-related .product-card__image img {
    height: 9.6875rem;
}

@media (max-width: 61.25rem) {
    .product-intro {
        grid-template-columns: 1fr;
    }

    .product-visual {
        max-width: 44rem;
    }
}

@media (max-width: 41.25rem) {
    .product-detail {
        padding-top: 3.875rem;
    }

    .product-detail__head h1 {
        font-size: clamp(3rem, 14vw, 4.6rem);
    }

    .product-visual__main {
        min-height: 21.25rem;
    }

    .product-visual__main img {
        max-height: 17.8125rem;
    }

    .product-panel > summary {
        min-height: 4.25rem;
        padding: 1.125rem 1.25rem;
    }

    .product-panel__content {
        padding: 1.375rem 1.25rem 1.75rem;
    }

    .guide-links,
    .panel-gallery {
        grid-template-columns: 1fr;
    }

    .editor-image-row img {
        max-width: min(100%, 13.75rem);
        max-height: 7.5rem;
    }
}
