:root {
    --jiris-accent: #20c4f4;
    --jiris-surface: #ffffff;
    --jiris-surface-soft: #f7f9fc;
    --jiris-border: rgba(41, 84, 131, 0.14);
    --jiris-shadow: 0 18px 44px rgba(21, 38, 65, 0.08);
    --jiris-shadow-soft: 0 10px 28px rgba(23, 37, 64, 0.06);
    --jiris-text-muted: #61728a;
}

.product-detail-page {
    background:
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
        linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
    overflow-x: clip;
}

.product-detail-shell {
    max-width: 1260px;
}

    min-height: 480px;
    padding: 1.25rem;
    gap: 0.15rem;
    white-space: nowrap;
}
.variant-detail-gallery {
    display: grid;
    gap: 1rem;
}

.variant-detail-stage {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.variant-detail-stage img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 22px;
}

.variant-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 96px));
    gap: 0.75rem;
}

.variant-detail-thumb {
    appearance: none;
    border: 1px solid rgba(94, 59, 24, 0.16);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 0.35rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 22px rgba(66, 43, 28, 0.08);
}

.variant-detail-thumb:hover,
.variant-detail-thumb:focus-visible,
.variant-detail-thumb.is-active {
    border-color: rgba(159, 120, 68, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(66, 43, 28, 0.14);
    outline: none;
}

.variant-detail-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
}

.product-detail-breadcrumb a {
    color: var(--jiris-text-muted);
    min-height: 400px;
    transition: color 0.2s ease;
}

.product-detail-breadcrumb a:hover {
    color: var(--jiris-primary);
}

.product-detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(41, 84, 131, 0.35);
}

.product-gallery-card,
.product-purchase-card,
.product-process-section,
.product-service-card,
.testimonial-card,
.product-info-accordion .accordion-item {
    background: var(--jiris-surface);
    border: 1px solid var(--jiris-border);
    border-radius: 28px;
    box-shadow: var(--jiris-shadow-soft);
}

.product-gallery-card,
.product-purchase-card__inner,
.product-service-card,
.testimonial-card {
    padding: 1rem;
}

.product-gallery-card,
.product-purchase-card {
    width: 100%;
}

.product-gallery-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-gallery-stage {
    position: relative;
    min-height: 320px;
    max-width: 500px;
    margin-inline: auto;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
    touch-action: pan-y;
    overscroll-behavior: contain;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 0;
}

.product-gallery-stage-row {
    flex: 1 1 auto;
    height: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.75rem;
    min-height: 0;
}

.product-gallery-stage__media,
.product-process-media img,
.product-process-media video,
.variant-card__media img,
.product-gallery-thumb img,
.product-gallery-thumb video {
    width: 100%;
    height: 100%;
    display: block;
}

.product-gallery-stage__media {
    min-height: 0;
    height: 100%;
    object-fit: cover;
}

.product-gallery-stage__placeholder,
.product-process-placeholder,
.variant-card__placeholder {
    min-height: 100%;
    width: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--jiris-text-muted);
    background: linear-gradient(180deg, rgba(41, 84, 131, 0.04), rgba(32, 196, 244, 0.08));
    padding: 2rem;
}

.product-gallery-stage__placeholder {
    min-height: 0;
    height: 100%;
}

.product-gallery-stage__placeholder-icon,
.product-process-placeholder__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(41, 84, 131, 0.1);
    color: var(--jiris-primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.product-gallery-stage__badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 2;
    pointer-events: none;
}

.product-badge {
    border-radius: 999px;
    background: rgba(41, 84, 131, 0.1);
    color: var(--jiris-primary);
    font-weight: 600;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
}

.product-badge--sale {
    background: rgba(32, 196, 244, 0.12);
    color: #127aa0;
}

.product-gallery-thumbs {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(64px, 82px));
    justify-content: center;
    gap: 0.55rem;
}

.product-gallery-thumb {
    border: 1px solid transparent;
    border-radius: 18px;
    overflow: hidden;
    background: var(--jiris-surface-soft);
    padding: 0;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb:focus-visible,
.product-gallery-thumb.is-active {
    border-color: var(--jiris-primary);
    box-shadow: 0 0 0 4px rgba(41, 84, 131, 0.08);
    transform: translateY(-2px);
}

.product-gallery-thumb--empty {
    display: grid;
    place-items: center;
    color: var(--jiris-text-muted);
}

.product-gallery-nav {
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.9);
    color: var(--jiris-primary);
    box-shadow: 0 12px 28px rgba(21, 38, 65, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.product-gallery-nav:hover,
.product-gallery-nav:focus-visible {
    background: #fff;
    transform: scale(1.04);
    outline: none;
}

.product-gallery-nav--prev {
    justify-self: end;
}

.product-gallery-nav--next {
    justify-self: start;
}

.product-gallery-nav.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.product-gallery-nav {
    align-self: center;
}

.product-purchase-card {
    position: sticky;
    top: 0.85rem;
}

@media (min-width: 992px) {
    .product-hero > .row {
        align-items: stretch;
    }

    .product-gallery-card,
    .product-purchase-card {
        min-height: 100%;
    }

    .product-gallery-card {
        display: flex;
        flex-direction: column;
    }

    .product-purchase-card__inner {
        height: 100%;
    }
}

.product-kicker,
.product-section-heading,
.product-total-box__label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--jiris-primary);
    font-weight: 700;
}

.product-title,
.product-section-title {
    color: #16385e;
    font-weight: 700;
    line-height: 1.1;
}

.product-title {
    font-size: clamp(1.7rem, 3.5vw, 2.9rem);
}

.product-pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.product-pricing__old {
    color: var(--jiris-text-muted);
    text-decoration: line-through;
    font-size: 1rem;
}

.product-pricing__current,
.product-total-box__price {
    color: var(--jiris-primary);
    font-size: clamp(1.55rem, 3.4vw, 2.2rem);
    font-weight: 700;
}

.product-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    background: rgba(41, 84, 131, 0.05);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
}

.product-availability__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ab16f;
    box-shadow: 0 0 0 6px rgba(42, 177, 111, 0.16);
}

.product-availability__dot.is-unavailable {
    background: #d45a6b;
    box-shadow: 0 0 0 6px rgba(212, 90, 107, 0.14);
}

.wishlist-heart-btn--detail {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(227, 233, 241, 0.95);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    color: #16385e;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(21, 38, 65, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.wishlist-heart-btn--detail i {
    font-size: 1.35rem;
    line-height: 1;
}

.wishlist-heart-btn--detail:hover,
.wishlist-heart-btn--detail:focus-visible {
    color: #e63e6d;
    border-color: rgba(230, 62, 109, 0.18);
    box-shadow: 0 18px 36px rgba(230, 62, 109, 0.14);
    transform: translateY(-2px) scale(1.04);
    outline: none;
}

.wishlist-heart-btn--detail.is-active {
    color: #e63e6d;
    background: linear-gradient(180deg, #fff6f8 0%, #fff1f5 100%);
    border-color: rgba(230, 62, 109, 0.18);
}

.wishlist-heart-btn--detail.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.wishlist-heart-btn--detail.is-animating {
    animation: wishlist-heart-pop 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-inline-meta {
    color: var(--jiris-text-muted);
    font-size: 0.94rem;
    font-weight: 500;
}

.product-summary,
.product-section-copy,
.product-configurator__hint,
.variant-card__description,
.testimonial-card__quote,
.product-service-item p,
.product-inline-link,
.size-guide-richtext,
.product-info-accordion .accordion-body,
.product-process-placeholder,
.product-gallery-stage__placeholder {
    color: var(--jiris-text-muted);
}

.product-summary,
.product-configurator__hint,
.product-info-accordion .accordion-body,
.product-service-item p,
.testimonial-card__quote {
    font-size: 0.94rem;
    line-height: 1.55;
}

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

.product-configurator__section {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(41, 84, 131, 0.1);
}

.product-configurator__section:last-of-type {
    padding-bottom: 0;
    border-bottom: 0;
}

.product-configurator__title {
    font-size: 0.95rem;
    color: #183b61;
    font-weight: 700;
}

.product-inline-link {
    text-decoration: none;
    font-weight: 600;
}

.product-inline-link--button {
    border: 0;
    background: transparent;
    padding: 0;
}

.product-inline-link:hover {
    color: var(--jiris-primary);
}

.product-size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(54px, 64px));
    gap: 0.45rem;
}

.product-size-pill {
    position: relative;
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(41, 84, 131, 0.18);
    border-radius: 14px;
    background: var(--jiris-surface-soft);
    padding: 0.35rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: grid;
    place-items: center;
    text-align: center;
}

.product-size-pill input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.product-size-pill:hover,
.product-size-pill:focus-within {
    transform: translateY(-2px);
    border-color: var(--jiris-primary);
}

.product-size-pill:has(input:checked) {
    background: var(--jiris-primary);
    border-color: var(--jiris-primary);
    color: #fff;
    box-shadow: 0 16px 30px rgba(41, 84, 131, 0.22);
}

.product-size-pill:has(input:checked) .product-size-pill__meta {
    color: rgba(255, 255, 255, 0.82);
}

.product-size-pill__label {
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.1;
}

.product-size-pill.is-disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.product-empty-note {
    padding: 1rem 1.1rem;
    background: rgba(41, 84, 131, 0.05);
    border-radius: 18px;
    color: var(--jiris-text-muted);
}

.quantity-control {
    display: inline-grid;
    grid-template-columns: 42px minmax(58px, 76px) 42px;
    align-items: center;
    border: 1px solid rgba(41, 84, 131, 0.14);
    border-radius: 999px;
    overflow: hidden;
    background: var(--jiris-surface);
}

.quantity-control--sm {
    grid-template-columns: 40px minmax(54px, 72px) 40px;
}

.quantity-control__btn,
.quantity-control__input {
    border: 0;
    background: transparent;
    min-height: 42px;
    text-align: center;
}

.quantity-control__btn {
    color: var(--jiris-primary);
    font-size: 1.15rem;
    font-weight: 600;
}

.quantity-control__input {
    width: 100%;
    font-weight: 700;
    color: #16385e;
    outline: none;
}

.quantity-control__input::-webkit-outer-spin-button,
.quantity-control__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-control__input[type="number"] {

    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-control.is-disabled {
    opacity: 0.55;
}

.variant-slider {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
}

.variant-slider__nav {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(41, 84, 131, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #17385d;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.variant-slider__nav:hover,
.variant-slider__nav:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(41, 84, 131, 0.28);
    box-shadow: 0 10px 24px rgba(23, 56, 93, 0.12);
    outline: none;
}

.variant-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.variant-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 210px;
    max-width: 210px;
    scroll-snap-align: start;
    border: 1px solid rgba(41, 84, 131, 0.12);
    border-radius: 24px;
    background: var(--jiris-surface-soft);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.variant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(25, 45, 77, 0.08);
}

.variant-card.is-selected {
    border-color: var(--jiris-primary);
    background: rgba(41, 84, 131, 0.05);
    box-shadow: 0 18px 36px rgba(41, 84, 131, 0.14);
}

.variant-card__media {
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, rgba(41, 84, 131, 0.03), rgba(32, 196, 244, 0.1));
    overflow: hidden;
}

.variant-card__placeholder {
    min-height: 100%;
}

.variant-card__placeholder span,
.testimonial-card__avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(41, 84, 131, 0.1);
    color: var(--jiris-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.variant-card__body {
    padding: 0.75rem;
    display: grid;
    gap: 0.55rem;
}

.variant-card__topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.variant-card__title {
    font-size: 0.94rem;
    font-weight: 700;
    color: #17385d;
    margin-bottom: 0.2rem;
}

.variant-card__description {
    margin-bottom: 0;
    font-size: 0.84rem;
    line-height: 1.45;
}

.variant-card__price {
    color: var(--jiris-primary);
    font-weight: 700;
    white-space: nowrap;
}

.variant-card__controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.variant-card__toggle {
    display: inline-flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.variant-card__toggle input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.variant-card__toggle span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(41, 84, 131, 0.14);
    color: #17385d;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.variant-card.is-selected .variant-card__toggle span {
    background: var(--jiris-primary);
    border-color: var(--jiris-primary);
    color: #fff;
}

.product-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(41, 84, 131, 0.12);
    flex-wrap: wrap;
}

.product-cta {
    min-width: min(100%, 230px);
    padding-inline: 1.35rem;
    font-size: 1rem;
}

.product-process-service-section,
.product-info-section,
.product-testimonials-section {
    margin-top: 1.25rem;
}

.product-process-section {
    width: 100%;
    padding: clamp(0.95rem, 1.5vw, 1.35rem);
}

.product-process-header {
    margin-bottom: 1rem;
}

.product-process-section .product-section-title {
    font-size: clamp(1.6rem, 2.6vw, 2.45rem);
}

.product-process-media-wrap {
    width: 100%;
    overflow: hidden;
}

.product-process-media {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #f7f9fc, #eef3f8);
    min-height: 240px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-shadow: var(--jiris-shadow);
}

@media (min-width: 992px) {
    .product-process-section,
    .product-service-card--process {
        min-height: 100%;
    }

    .product-process-section {
        padding: clamp(1.2rem, 2vw, 1.8rem);
    }

    .product-process-media,
    .product-process-media img,
    .product-process-media video {
        min-height: clamp(300px, 30vw, 430px);
    }
}

.product-process-media img,
.product-process-media video {
    min-height: 240px;
    object-fit: cover;
}

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

.product-info-accordion .accordion-item {
    overflow: hidden;
}

.product-info-accordion .accordion-button {
    background: #fff;
    color: #17385d;
    font-weight: 700;
    box-shadow: none;
    padding: 0.9rem 1rem;
}

.product-info-accordion .accordion-button:not(.collapsed) {
    color: var(--jiris-primary);
    background: rgba(41, 84, 131, 0.03);
}

.product-info-accordion .accordion-button::after {
    background-size: 1rem;
}

.product-info-accordion .accordion-body {
    padding: 0 1rem 0.9rem;
}

@media (min-width: 992px) {
    .product-detail-page {
        font-size: 0.94rem;
    }

    .product-gallery-card,
    .product-purchase-card__inner,
    .product-process-section,
    .product-service-card,
    .testimonial-card {
        padding: 0.8rem;
        border-radius: 22px;
    }

    .product-gallery-stage,
    .product-gallery-stage__media,
    .product-gallery-stage__placeholder {
        min-height: 180px;
    }

    .product-gallery-stage {
        max-width: 390px;
        border-radius: 16px;
    }

    .product-gallery-thumbs {
        margin-top: 0.55rem;
        grid-template-columns: repeat(auto-fit, minmax(42px, 52px));
        gap: 0.35rem;
    }

    .product-gallery-thumb {
        border-radius: 13px;
    }

    .product-gallery-stage__badges {
        top: 0.7rem;
        left: 0.7rem;
        gap: 0.35rem;
    }

    .product-badge {
        padding: 0.28rem 0.5rem;
        font-size: 0.68rem;
    }

    .product-kicker,
    .product-section-heading,
    .product-total-box__label {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .product-title {
        font-size: clamp(1.45rem, 2.4vw, 2.25rem);
    }

    .product-pricing__current,
    .product-total-box__price {
        font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    }

    .product-summary,
    .product-configurator__hint,
    .product-info-accordion .accordion-body,
    .product-service-item p,
    .testimonial-card__quote,
    .product-inline-meta {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .wishlist-heart-btn--detail {
        width: 42px;
        height: 42px;
    }

    .wishlist-heart-btn--detail i {
        font-size: 1.05rem;
    }

    .product-availability {
        padding: 0.38rem 0.65rem;
        font-size: 0.82rem;
    }

    .product-configurator {
        gap: 0.75rem;
    }

    .product-configurator__section {
        padding-bottom: 0.75rem;
    }

    .product-size-grid {
        grid-template-columns: repeat(auto-fit, minmax(46px, 56px));
        gap: 0.35rem;
    }

    .product-size-pill {
        min-height: 38px;
        border-radius: 11px;
    }

    .quantity-control {
        grid-template-columns: 36px minmax(48px, 64px) 36px;
    }

    .quantity-control__btn,
    .quantity-control__input {
        min-height: 36px;
    }

    .variant-slider {
        gap: 0.5rem;
    }

    .variant-slider__nav {
        width: 34px;
        height: 34px;
    }

    .variant-grid {
        gap: 0.55rem;
    }

    .variant-card {
        flex-basis: 150px;
        max-width: 150px;
        border-radius: 18px;
    }

    .variant-card__body {
        padding: 0.55rem;
        gap: 0.4rem;
    }

    .variant-card__title {
        font-size: 0.84rem;
    }

    .variant-card__description {
        font-size: 0.76rem;
    }

    .variant-card__price,
    .variant-card__toggle span {
        font-size: 0.76rem;
    }

    .variant-card__toggle span {
        padding: 0.42rem 0.62rem;
    }

    .product-total-box {
        gap: 0.65rem;
        padding-top: 0.65rem;
    }

    .product-cta {
        min-width: min(100%, 190px);
        padding: 0.55rem 1rem;
        font-size: 0.88rem;
    }

    .product-process-section .product-section-title {
        font-size: clamp(1.3rem, 2vw, 1.9rem);
    }

    .product-process-media,
    .product-process-media img,
    .product-process-media video {
        min-height: 0;
        height: clamp(220px, 24vw, 320px);
    }
}

.size-guide-richtext *:last-child {
    margin-bottom: 0;
}

/* ── Size guide table ───────────────────────────────────────────────────── */
.size-guide-richtext figure.table,
.size-guide-richtext .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
}

.size-guide-richtext table {
    width: 100%;
    min-width: 26rem;
    border-collapse: collapse;
    font-size: 0.88rem;
    line-height: 1.4;
}

.size-guide-richtext table th,
.size-guide-richtext table td {
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(41, 84, 131, 0.15);
    text-align: left;
    vertical-align: middle;
}

.size-guide-richtext table thead th {
    background: rgba(41, 84, 131, 0.07);
    color: #183b61;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.size-guide-richtext table tbody tr:nth-child(even) td {
    background: rgba(41, 84, 131, 0.025);
}

.size-guide-richtext table tbody tr:hover td {
    background: rgba(41, 84, 131, 0.06);
}

.product-service-card {
    width: 100%;
    padding: 1.15rem;
    position: sticky;
    top: 1rem;
}

.product-service-list {
    display: grid;
    gap: 0.8rem;
}

.product-service-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.9rem;
    align-items: start;
}

.product-service-item i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(41, 84, 131, 0.08);
    color: var(--jiris-primary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.testimonial-card {
    display: grid;
    gap: 0.8rem;
}

.testimonial-card--backend,
.testimonial-card--empty {
    padding: 0;
    overflow: hidden;
}

.testimonial-card__media,
.testimonial-card__placeholder {
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, rgba(41, 84, 131, 0.04), rgba(32, 196, 244, 0.1));
    overflow: hidden;
}

.testimonial-card__media img,
.testimonial-card__media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.testimonial-card__placeholder {
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.testimonial-card__content {
    padding: 1rem;
    display: grid;
    gap: 0.55rem;
}

.testimonial-card__quote {
    margin-bottom: 0;
    font-size: 0.97rem;
    line-height: 1.7;
}

.testimonial-card__author {
    color: #17385d;
}

.testimonial-card__meta {
    color: var(--jiris-text-muted);
    font-size: 0.88rem;
}

.product-detail-modal {
    border: 1px solid var(--jiris-border);
    border-radius: 28px;
    box-shadow: var(--jiris-shadow);
}

.product-detail-modal .modal-header,
.product-detail-modal .modal-body {
    padding-inline: 1.5rem;
}

.product-detail-modal .modal-body {
    padding-bottom: 1.5rem;
}

.variant-detail-layout {
    display: grid;
    gap: 1rem;
}

.variant-detail-gallery {
    display: grid;
    gap: 0.9rem;
}

.variant-detail-stage-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.variant-detail-media {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(41, 84, 131, 0.04), rgba(32, 196, 244, 0.1));
    padding: 0.35rem;
}

.variant-detail-stage {
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.variant-detail-media img,
.variant-detail-stage img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.variant-detail-thumbs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.variant-detail-thumb {
    flex: 0 0 86px;
}

.variant-detail-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--jiris-primary);
}

.variant-detail-placeholder span {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(41, 84, 131, 0.1);
    font-size: 1.4rem;
    font-weight: 700;
}

.variant-detail-copy {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.8rem;
}

.variant-detail-title {
    margin: 0;
    color: #17385d;
    font-weight: 700;
}

.variant-detail-price {
    margin: 0;
    color: var(--jiris-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.variant-detail-description {
    color: var(--jiris-text-muted);
    line-height: 1.7;
}

@media (max-width: 1199.98px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .product-purchase-card,
    .product-service-card {
        position: static;
    }

    .product-gallery-stage,
    .product-gallery-stage__media,
    .product-gallery-stage__placeholder {
        min-height: 280px;
    }

    .product-process-media,
    .product-process-media img,
    .product-process-media video {
        min-height: 260px;
    }
}

@media (max-width: 767.98px) {
    .variant-detail-modal .modal-dialog {
        margin: 0.65rem;
    }

    .variant-detail-modal .modal-header,
    .variant-detail-modal .modal-body {
        padding-inline: 1rem;
    }

    .product-gallery-card,
    .product-purchase-card__inner,
    .product-process-section,
    .product-service-card,
    .testimonial-card {
        padding: 1rem;
    }

    .product-detail-breadcrumb {
        padding-bottom: 0.2rem;
    }

    .product-title {
        font-size: 1.95rem;
    }

    .product-gallery-stage,
    .product-gallery-stage__media,
    .product-gallery-stage__placeholder {
        min-height: 220px;
    }

    .product-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .variant-slider {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .variant-slider__nav {
        display: none;
    }

    .variant-grid {
        gap: 0.75rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .variant-card {
        flex-basis: 160px;
        max-width: 160px;
    }

    .product-total-box {
        align-items: stretch;
    }

    .product-cta {
        width: 100%;
    }

    .product-process-media,
    .product-process-media img,
    .product-process-media video {
        min-height: 210px;
    }

    .product-process-header {
        margin-bottom: 1rem;
    }

    .variant-detail-layout {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .variant-detail-media {
        min-height: auto;
        max-width: 100%;
        padding: 0.25rem;
    }

    .variant-detail-stage {
        aspect-ratio: auto;
        min-height: min(58vh, 420px);
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.88);
    }

    .variant-detail-stage img {
        object-fit: contain;
        max-height: min(56vh, 400px);
    }

    .variant-detail-thumbs {
        justify-content: flex-start;
        gap: 0.55rem;
        padding-bottom: 0.35rem;
    }

    .variant-detail-thumb {
        flex-basis: 72px;
    }

    .variant-detail-copy {
        gap: 0.55rem;
    }

    .variant-detail-title {
        font-size: clamp(2rem, 7vw, 2.4rem);
    }

    .variant-detail-price {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }

    .variant-detail-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .variant-detail-stage {
        min-height: 320px;
    }
}

@media (max-width: 479.98px) {
    .product-size-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .quantity-control {
        width: 100%;
        grid-template-columns: 44px 1fr 44px;
    }
}
