.mfp-color-choice {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.mfp-color-choice:hover {
    transform: translateY(-1px);
}

.mfp-color-choice::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    border: 1px solid var(--mfp-border);
    background: color-mix(in srgb, var(--mfp-card) 70%, transparent);
    box-shadow: none;
}

.mfp-color-choice.is-selected::before {
    border-color: var(--mfp-option-selected-border);
    background: var(--mfp-option-selected-bg);
    box-shadow: var(--mfp-option-selected-shadow);
}

.mfp-color-dot {
    position: relative;
    z-index: 1;

    width: 28px;
    height: 28px;
    border-radius: 999px;

    border: 3px solid rgba(255,255,255,0.94);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--mfp-text) 16%, transparent), 0 8px 18px color-mix(in srgb, var(--mfp-text) 12%, transparent);
}

.mfp-top {
    padding: 96px 0 64px;
}

.mfp-page .mfp-container {
    width: min(1680px, calc(100% - 72px));
}

.mfp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 42px;
    align-items: start;
}

.mfp-gallery {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    position: relative;
}

.mfp-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 96px;
}

.mfp-thumb {
    width: 92px;
    aspect-ratio: 3 / 4.5;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 18px;
    background: rgba(255,255,255,0.62);
    cursor: pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

html[data-theme="dark"] .mfp-thumb {
    background: rgba(255,255,255,0.08);
}

.mfp-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mfp-thumb.is-active {
    border-color: rgba(79,120,173,0.42);
    box-shadow: 0 14px 36px rgba(51,43,36,0.10);
    transform: translateY(-1px);
}

.mfp-thumb-video {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.mfp-thumb-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    color: #2f2b28;
    font-size: 13px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(51,43,36,0.14);
    backdrop-filter: blur(10px);
}

.mfp-main-photo {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    border-radius: var(--mfp-radius-lg);
    background: #ebe6df;
    box-shadow: var(--mfp-shadow);
}

html[data-theme="dark"] .mfp-main-photo {
    background: #1f2027;
}

.mfp-main-media {
    width: 100%;
    height: 100%;
    min-height: 720px;
    transition: opacity 0.28s ease;
}

.mfp-main-media img,
.mfp-main-video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 720px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.7s ease;
}

.mfp-main-photo:hover .mfp-main-media img {
    transform: scale(1.025);
}

.mfp-main-video {
    background: #ebe6df;
}

.mfp-gallery-counter {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(255,255,255,0.58);
    color: #2f2b28;
    font-size: 14px;
    font-weight: 650;
    backdrop-filter: blur(12px);
}

.mfp-zoom-link {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(255,255,255,0.62);
    color: #2f2b28;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    backdrop-filter: blur(12px);
}

.mfp-summary {
    position: sticky;
    top: 88px;
    padding: 30px;
    border: 1px solid var(--mfp-border);
    border-radius: var(--mfp-radius-lg);
    background: var(--mfp-card-strong);
    box-shadow: var(--mfp-shadow);
}

.mfp-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    color: var(--mfp-text-muted);
    font-size: 13px;
}

.mfp-breadcrumbs a,
.mfp-summary-meta a,
.mfp-prototype-label a {
    color: inherit;
    text-decoration: none;
}

.mfp-brand {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--mfp-accent-soft);
    color: var(--mfp-accent-strong);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mfp-summary h1 {
    margin: 18px 0 0;
    max-width: 520px;
    font-family: var(--mfp-font-display);
    font-size: clamp(40px, 4.2vw, 60px);
    line-height: 0.94;
    letter-spacing: -0.012em;
    font-weight: 700;
    color: var(--mfp-text);
}

.mfp-price {
    margin: 18px 0 0;
    font-size: 25px;
    line-height: 1;
    font-weight: 750;
    color: var(--mfp-text);
}

.mfp-price--sale {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 10px;
}

.mfp-price--sale [data-mfp-price] {
    color: #bd2f47;
}

.mfp-price del,
.mfp-related-price del {
    color: var(--mfp-text-muted);
    font-size: 0.62em;
    font-weight: 700;
    text-decoration-thickness: 1px;
}

.mfp-price ins,
.mfp-related-price ins {
    text-decoration: none;
}

.mfp-product-discount {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, #bd2f47 12%, transparent);
    color: #bd2f47;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.mfp-short {
    margin: 18px 0 0;
    color: var(--mfp-text-soft);
    font-size: 16px;
    line-height: 1.62;
}

.mfp-stock-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.mfp-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    border: 1px solid var(--mfp-border);
    color: var(--mfp-text-soft);
    font-size: 13px;
    font-weight: 650;
}

.mfp-product-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(45,38,31,0.16);
}

.mfp-product-badge--hit {
    background: #1f5f78;
}

.mfp-product-badge--sale {
    background: #bd2f47;
}

.mfp-product-badge--new {
    background: #2f7d57;
}

.mfp-product-badge--default {
    background: var(--mfp-text);
}

html[data-theme="dark"] .mfp-pill {
    background: rgba(255,255,255,0.07);
}

.mfp-featured-badge {
    border-color: transparent;
    color: #fff;
    font-weight: 800;
}

.mfp-pill.mfp-featured-badge--hit {
    background: var(--mfp-badge-hit);
}

.mfp-pill.mfp-featured-badge--new {
    background: var(--mfp-badge-new);
}

.mfp-pill.mfp-featured-badge--sale {
    background: var(--mfp-badge-sale);
}

.mfp-pill.mfp-featured-badge--default {
    background: var(--mfp-text);
}

html[data-theme="dark"] .mfp-pill.mfp-featured-badge--hit {
    background: var(--mfp-badge-hit);
}

html[data-theme="dark"] .mfp-pill.mfp-featured-badge--new {
    background: var(--mfp-badge-new);
}

html[data-theme="dark"] .mfp-pill.mfp-featured-badge--sale {
    background: var(--mfp-badge-sale);
}

html[data-theme="dark"] .mfp-pill.mfp-featured-badge--default {
    background: var(--mfp-card-strong);
    border-color: var(--mfp-border);
    color: var(--mfp-text);
}

.mfp-lightbox-open {
    margin-top: 0 !important;
    overflow: hidden;
}

.mfp-lightbox-open #wpadminbar {
    display: none;
}

.mfp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100dvh;
    background: rgba(10,10,10,0.94);
    touch-action: pan-y;
}

.mfp-lightbox[hidden] {
    display: none;
}

.mfp-lightbox-media {
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100dvh;
    padding: 0;
}

.mfp-lightbox .mfp-lightbox-media > img,
.mfp-lightbox .mfp-lightbox-media > video {
    display: block;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    background: #000;
}

.mfp-lightbox-button {
    position: fixed;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font: inherit;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(14px);
}

.mfp-lightbox-button--close {
    top: max(18px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
}

.mfp-lightbox-button--prev {
    left: max(18px, env(safe-area-inset-left));
    top: 50%;
    transform: translateY(-50%);
}

.mfp-lightbox-button--next {
    right: max(18px, env(safe-area-inset-right));
    top: 50%;
    transform: translateY(-50%);
}

.mfp-choice-block {
    margin-top: 26px;
}

.mfp-choice-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mfp-choice-head strong {
    color: var(--mfp-text);
    font-size: 15px;
    line-height: 1.2;
}

.mfp-choice-head a,
.mfp-choice-head span {
    color: var(--mfp-text-muted);
    font-size: 13px;
    text-decoration: none;
}

.mfp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mfp-size-guide-button {
    margin-top: 12px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
}

.mfp-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--mfp-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--mfp-card) 82%, transparent);
    color: var(--mfp-text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.mfp-swatch:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--mfp-accent-strong) 30%, transparent);
    background: var(--mfp-card-strong);
}

.mfp-swatch.is-selected {
    transform: translateY(-1px);
    border-color: var(--mfp-option-selected-border);
    background: var(--mfp-option-selected-bg);
    color: var(--mfp-option-selected-text);
    box-shadow: var(--mfp-option-selected-shadow);
}

.mfp-cup.is-selected {
    background: var(--mfp-option-selected-bg);
    border-color: var(--mfp-option-selected-border);
    box-shadow: var(--mfp-option-selected-shadow);
}

.mfp-cup.is-selected small {
    color: var(--mfp-option-selected-text);
}

.mfp-color-choice {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.mfp-color-choice:hover {
    transform: translateY(-1px);
}

.mfp-color-choice::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    border: 1px solid var(--mfp-border);
    background: color-mix(in srgb, var(--mfp-card) 70%, transparent);
    box-shadow: none;
}

.mfp-color-choice.is-selected::before {
    border-color: var(--mfp-option-selected-border);
    background: var(--mfp-option-selected-bg);
    box-shadow: var(--mfp-option-selected-shadow);
}

.mfp-color-dot {
    position: relative;
    z-index: 1;

    width: 28px;
    height: 28px;
    border-radius: 999px;

    border: 3px solid rgba(255,255,255,0.94);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--mfp-text) 16%, transparent), 0 8px 18px color-mix(in srgb, var(--mfp-text) 12%, transparent);
}

.mfp-color-dot {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px rgba(47,43,40,0.12);
}

.mfp-cup {
    align-items: flex-start;
    flex-direction: column;
    min-width: 154px;
    min-height: 62px;
    padding: 10px 14px;
    border-radius: 18px;
}

.mfp-cup small {
    display: block;
    margin-top: 4px;
    color: var(--mfp-text-muted);
    font-size: 12px;
    font-weight: 650;
}

.mfp-buy-row {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 12px;
    margin-top: 28px;
}

.mfp-qty {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    min-height: 54px;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid var(--mfp-border);
    background: rgba(255,255,255,0.72);
}

html[data-theme="dark"] .mfp-qty {
    background: rgba(255,255,255,0.07);
}

.mfp-qty button {
    width: 36px;
    height: 54px;
    border: 0;
    background: transparent;
    color: var(--mfp-text);
    cursor: pointer;
    font-size: 18px;
}

.mfp-qty input {
    display: none;
}

.mfp-qty-value {
    color: var(--mfp-text);
    font-size: 15px;
    font-weight: 850;
    text-align: center;
}

.mfp-secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.mfp-soft-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--mfp-border);
    background: rgba(255,255,255,0.64);
    color: var(--mfp-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

html[data-theme="dark"] .mfp-soft-button {
    background: rgba(255,255,255,0.07);
}

.mfp-soft-button .mfp-icon {
    width: 18px;
    height: 18px;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.mfp-secondary-actions .qelk-mf-wishlist-button.mfp-soft-button {
    display: inline-flex !important;
}

.mfp-secondary-actions .qelk-mf-wishlist-button.mfp-soft-button .mfp-icon {
    flex: 0 0 auto;
}

.mfp-share-modal {
    width: min(720px, calc(100vw - 32px));
}

.mfp-share-modal-content {
    text-align: center;
}

.mfp-share-modal-content h2 {
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
}

.mfp-share-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 18px;
    margin-top: 28px;
}

.mfp-share-action {
    display: inline-flex;
    flex: 0 0 88px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: var(--mfp-text);
    text-decoration: none;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.mfp-share-icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--mfp-border);
    border-radius: 14px;
    background: var(--mfp-bg-soft);
    color: var(--mfp-text);
    box-shadow: var(--mfp-shadow-soft);
}

.mfp-share-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.mfp-summary-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--mfp-border);
}

.mfp-meta-item {
    color: var(--mfp-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.mfp-meta-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--mfp-text);
    font-size: 13px;
}

.mfp-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.mfp-feature-card,
.mfp-detail-card,
.mfp-accordion-card {
    border: 1px solid var(--mfp-border);
    border-radius: var(--mfp-radius);
    background: var(--mfp-card);
    box-shadow: var(--mfp-shadow-soft);
}

.mfp-feature-card {
    padding: 24px;
}

.mfp-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: var(--mfp-accent);
    background: color-mix(in srgb, var(--mfp-accent) 12%, transparent);
}

.mfp-feature-icon svg {
    width: 22px;
    height: 22px;
}

.mfp-feature-card h3 {
    margin: 0;
    color: var(--mfp-text);
    font-size: 20px;
    line-height: 1.14;
    letter-spacing: -0.025em;
}

.mfp-feature-card p {
    margin: 10px 0 0;
    color: var(--mfp-text-soft);
    font-size: 15px;
    line-height: 1.58;
}

.mfp-feature-card-text > * {
    margin: 10px 0 0;
    color: var(--mfp-text-soft);
    font-size: 15px;
    line-height: 1.58;
}

.mfp-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 34px;
    align-items: start;
}

.mfp-story-card {
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--mfp-radius-lg);
    background:
        linear-gradient(135deg, var(--mfp-card-strong), var(--mfp-card));
    border: 1px solid var(--mfp-border);
    box-shadow: var(--mfp-shadow);
}

.mfp-story-card h2,
.mf-final-card h2 {
    font-family: var(--mfp-font-ui);
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.mfp-story-text {
    max-width: 760px;
    margin-top: 24px;
    color: var(--mfp-text-soft);
    font-size: 17px;
    line-height: 1.78;
}

.mfp-story-text p {
    margin: 0 0 18px;
}

.mfp-detail-card {
    padding: 24px;
    position: sticky;
    top: 96px;
}

.mfp-detail-card h3 {
    margin: 0 0 18px;
    color: var(--mfp-text);
    font-size: 22px;
    letter-spacing: -0.025em;
}

.mfp-detail-list {
    display: grid;
    gap: 12px;
}

.mfp-detail-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--mfp-border);
    font-size: 14px;
    line-height: 1.4;
}

.mfp-detail-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.mfp-detail-row span {
    color: var(--mfp-text-muted);
}

.mfp-detail-row strong {
    color: var(--mfp-text);
    font-weight: 700;
}

.mfp-accordion-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.mfp-accordion-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mfp-accordion-card {
    overflow: hidden;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.mfp-accordion-card[open] {
    background: var(--mfp-card-strong);
    border-color: var(--mfp-border-strong);
}

.mfp-accordion-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 68px;
    padding: 20px 22px;
    color: var(--mfp-text);
    font-size: 16px;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.mfp-accordion-card summary::-webkit-details-marker {
    display: none;
}

.mfp-accordion-card summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mfp-accent-soft);
    color: var(--mfp-accent-strong);
    font-size: 20px;
    line-height: 1;
    transform: rotate(0deg);
    transition:
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.18s ease,
        color 0.18s ease;
}

.mfp-accordion-card[open] summary::after {
    transform: rotate(45deg);
}

.mfp-accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.mfp-accordion-card[open] .mfp-accordion-content {
    height: auto;
}

.mfp-accordion-content p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--mfp-text-soft);
    font-size: 15px;
    line-height: 1.62;
}

.mfp-accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.mfp-accordion-card[open] .mfp-accordion-content {
    height: auto;
}

.mfp-accordion-content p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--mfp-text-soft);
    font-size: 15px;
    line-height: 1.62;
}

.mfp-related-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

.mfp-related-card:nth-child(n + 6) {
    display: none;
}

.mfp-related-card {
    overflow: hidden;
    border-radius: var(--mfp-radius);
    border: 1px solid var(--mfp-border);
    background: var(--mfp-card);
    box-shadow: var(--mfp-shadow-soft);
}

.mfp-related-card a {
    color: inherit;
    text-decoration: none;
}

.mfp-related-image {
    position: relative;
    aspect-ratio: 4 / 8;
    overflow: hidden;
    background: #f0ece7;
}

.mfp-related-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        opacity 0.42s ease,
        transform 0.55s ease;
}

.mfp-related-image img:first-child {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.mfp-related-image-hover {
    opacity: 0;
    transform: scale(1.035);
    z-index: 2;
}

.mfp-related-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    max-width: calc(100% - 24px);
    pointer-events: none;
}

.mfp-related-card:hover .mfp-related-image img:first-child {
    opacity: 0;
    transform: scale(1.02);
}

.mfp-related-card:hover .mfp-related-image-hover {
    opacity: 1;
    transform: scale(1);
}

.mfp-related-body {
    padding: 18px;
}

.mfp-related-body h3 {
    margin: 0;
    color: var(--mfp-text);
    font-size: 18px;
    line-height: 1.24;
    letter-spacing: -0.02em;
}

.mfp-related-type {
    margin: 0 0 8px;
    color: var(--mfp-accent-strong);
    font-size: 13px;
    font-weight: 650;
}

.mfp-related-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
    margin: 10px 0 0;
    color: var(--mfp-text);
    font-size: 15px;
    font-weight: 750;
}

.mfp-related-price--sale > span:first-child {
    color: #bd2f47;
}

.mfp-related-more {
    display: inline-flex;
    margin-top: 14px;
    color: var(--mfp-text-muted);
    font-size: 14px;
    font-weight: 650;
}

.mfp-bottom-buy {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .mfp-main-media,
    .mfp-main-photo img,
    .mfp-thumb,
    .mfp-button,
    .mfp-related-image img {
        transition: none;
    }
}

@media (max-width: 1100px) {
    .mfp-layout {
        grid-template-columns: 1fr;
    }

    .mfp-summary,
    .mfp-detail-card,
    .mfp-thumbs {
        position: static;
    }

    .mfp-story {
        grid-template-columns: 1fr;
    }

    .mfp-feature-grid,
    .mfp-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1440px) {
    .mfp-layout {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 0.45fr);
        gap: 48px;
    }

    .mfp-main-photo,
    .mfp-main-media,
    .mfp-main-media img,
    .mfp-main-video {
        min-height: 820px;
    }

    .mfp-related-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 26px;
    }

    .mfp-related-card:nth-child(n + 6) {
        display: block;
    }
}

@media (min-width: 1920px) {
    .mfp-page .mfp-container {
        width: min(1780px, calc(100% - 96px));
    }

    .mfp-layout {
        grid-template-columns: minmax(0, 1fr) minmax(440px, 0.4fr);
    }
}

@media (max-width: 760px) {
    .mfp-top {
        padding: 84px 0 42px;
    }

    .mfp-page .mfp-container {
        width: min(100% - 28px, var(--mfp-container, 1240px));
    }

    .mfp-layout,
    .mfp-gallery,
    .mfp-summary,
    .mfp-feature-grid,
    .mfp-feature-card,
    .mfp-story,
    .mfp-story-card,
    .mfp-detail-card,
    .mfp-accordion-columns,
    .mfp-accordion-card,
    .mfp-related-grid,
    .mfp-related-card {
        min-width: 0;
        max-width: 100%;
    }

    .mfp-gallery {
        display: block;
    }

    .mfp-main-photo {
        min-height: auto;
        aspect-ratio: 4 / 6;
        border-radius: 28px;
    }

    .mfp-main-media,
    .mfp-main-media img,
    .mfp-main-video {
        min-height: auto;
        height: 100%;
    }

    .mfp-thumbs {
        flex-direction: row;
        margin-top: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .mfp-thumb {
        flex: 0 0 78px;
        width: 78px;
    }

    .mfp-summary {
        margin-top: 20px;
        padding: 22px;
        border-radius: 28px;
    }

    .mfp-summary h1 {
        font-size: clamp(38px, 10vw, 52px);
        overflow-wrap: anywhere;
    }

    .mfp-story-card {
        padding: 30px;
    }

    .mfp-story-card h2,
    .mf-final-card h2 {
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1;
    }

    .mfp-buy-row {
        grid-template-columns: 1fr;
    }

    .mfp-secondary-actions,
    .mfp-summary-meta,
    .mfp-feature-grid,
    .mfp-accordion-columns {
        grid-template-columns: 1fr;
    }

    .mfp-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .mfp-related-card:nth-child(n + 5) {
        display: none;
    }

    .mfp-related-body {
        padding: 14px;
    }

    .mfp-related-badges {
        top: 8px;
        right: 8px;
        gap: 5px;
        max-width: calc(100% - 16px);
    }

    .mfp-related-badges .mfp-product-badge {
        min-height: 22px;
        padding: 4px 7px;
        font-size: 9px;
    }

    .mfp-related-body h3 {
        font-size: 15px;
        line-height: 1.25;
    }

    .mfp-related-type,
    .mfp-related-price,
    .mfp-related-more {
        font-size: 12px;
    }

    .mfp-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .mfp-bottom-buy {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 80;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
        align-items: center;
        padding: 12px;
        border-radius: 24px;
        border: 1px solid var(--mfp-border);
        background: rgba(255,255,255,0.86);
        backdrop-filter: blur(18px);
        box-shadow: 0 18px 50px rgba(51,43,36,0.14);
    }

    html[data-theme="dark"] .mfp-bottom-buy {
        background: rgba(31,32,39,0.86);
    }

    .mfp-bottom-buy strong {
        display: block;
        color: var(--mfp-text);
        font-size: 14px;
        line-height: 1.2;
    }

    .mfp-bottom-buy span {
        display: block;
        margin-top: 3px;
        color: var(--mfp-text-muted);
        font-size: 13px;
        font-weight: 700;
    }

    .mfp-bottom-buy .mfp-button {
        min-height: 44px;
        padding: 0 18px;
        font-size: 14px;
        box-shadow: none;
    }
}
