/*
 * Single product page.
 *
 * Loaded only on single products (see themegenix_product_single_assets()).
 * Colours and fonts come from the theme's --tg-* variables, so the page
 * follows any change made there.
 */

.single-product,
.pd-head,
.pd-main,
.pd-mbar {
    --pd-line: var(--tg-border-2, #DFE2E8);
    --pd-line-soft: #ECEEF2;
    --pd-soft: #F7F8FA;
    --pd-muted: #717784;
    --pd-faint: #99A0AE;
    --pd-primary-soft: #F1ECFF;
    --pd-primary-line: #DCD0FF;
    --pd-green: var(--tg-color-green-default, #1FC16B);
    --pd-green-dark: #15A057;
    --pd-green-soft: #E3F8EC;
    --pd-star: var(--tg-color-icon, #FA7319);
    --pd-sticky: calc(var(--pd-offset, 0px) + 24px);
}

.pd-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pd-icon {
    width: 1em;
    height: 1em;
    flex: none;
}

.pd-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--pd-star);
    font-size: 16px;
}

.pd-stars .is-empty {
    opacity: .25;
}

/* ------------------------------------------------------------------
 * Title band
 * ------------------------------------------------------------------ */

.pd-head {
    position: relative;
    max-width: 1880px;
    margin: 0 auto;
    padding: 36px 0 32px;
    border-radius: 40px 40px 0 0;
    /* The brand glow, softened with a white veil so the small breadcrumb and
       meta text stay readable on top of it. */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .3) 60%, rgba(255, 255, 255, 0)),
        url(../img/bg/breadcrumb_bg.png) top center / cover no-repeat,
        linear-gradient(180deg, #FBFAFF, #fff);
}

@media (max-width: 1900px) {
    .pd-head {
        margin: 0 20px;
    }
}

.pd-head__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.pd-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tg-body-color);
}

.pd-crumbs a {
    color: var(--tg-body-color);
}

.pd-crumbs a:hover {
    color: var(--tg-theme-primary);
}

.pd-crumbs .pd-icon {
    font-size: 13px;
    color: var(--pd-muted);
}

.pd-crumbs [aria-current] {
    color: var(--tg-heading-color);
    font-weight: 600;
}

.pd-title {
    max-width: 1010px;
    margin: 0;
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.pd-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin-top: 18px;
    font-size: 15px;
    color: var(--tg-body-color);
}

.pd-meta__rating {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--tg-heading-color);
}

.pd-meta__rating b {
    font-weight: 600;
}

.pd-meta__link {
    color: var(--pd-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pd-meta__rating:hover .pd-meta__link {
    color: var(--tg-theme-primary);
}

.pd-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pd-meta__item .pd-icon {
    color: var(--pd-faint);
}

.pd-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid var(--pd-primary-line);
    background: var(--pd-primary-soft);
    color: var(--tg-theme-primary);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.pd-icon-btn {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--pd-line);
    background: #fff;
    color: var(--tg-heading-color);
    font-size: 18px;
    transition: border-color .2s, color .2s;
}

.pd-icon-btn:hover {
    border-color: var(--tg-theme-primary);
    color: var(--tg-theme-primary);
}

.pd-icon-btn[aria-expanded="true"] {
    border-color: var(--tg-theme-primary);
    color: var(--tg-theme-primary);
}

/* Share menu */

.pd-share {
    position: relative;
}

.pd-share__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 20;
    display: grid;
    min-width: 200px;
    padding: 6px;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 40px -18px rgba(14, 18, 27, .35);
}

.pd-share__menu[hidden] {
    display: none;
}

.pd-share__menu a,
.pd-share__menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--tg-heading-color);
    font-size: 14.5px;
    font-weight: 500;
    text-align: left;
    transition: background .15s;
}

.pd-share__menu a:hover,
.pd-share__menu button:hover,
.pd-share__menu a:focus-visible,
.pd-share__menu button:focus-visible {
    background: var(--pd-soft);
    color: var(--tg-heading-color);
}

.pd-share__menu .pd-icon {
    font-size: 17px;
    color: var(--pd-muted);
}

.pd-share__menu button.is-done,
.pd-share__menu button.is-done .pd-icon {
    color: var(--pd-green-dark);
}

/* ------------------------------------------------------------------
 * Layout
 * ------------------------------------------------------------------ */

.pd-main {
    padding: 36px 0 100px;
}

.pd-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 404px;
    column-gap: 40px;
    align-items: start;
}

.pd-gallery {
    grid-column: 1;
    grid-row: 1;
}

.pd-body {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
}

.pd-aside {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
}

.pd-aside__sticky {
    position: sticky;
    top: var(--pd-sticky);
    transition: top .3s ease;
}

/* ------------------------------------------------------------------
 * Gallery
 * ------------------------------------------------------------------ */

.pd-gallery {
    position: relative;
    border: 1px solid var(--pd-line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--pd-soft);
}

.pd-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

.pd-gallery__preview {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid rgba(14, 18, 27, .08);
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--tg-heading-color);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 24px -14px rgba(14, 18, 27, .5);
    transition: background .2s, color .2s;
}

.pd-gallery__preview:hover {
    background: var(--tg-heading-color);
    color: #fff;
}

.pd-gallery__preview .pd-icon {
    font-size: 17px;
}

/* ------------------------------------------------------------------
 * Section tabs
 * ------------------------------------------------------------------ */

.pd-tabs {
    position: sticky;
    top: var(--pd-offset, 0px);
    z-index: 5;
    display: flex;
    gap: 30px;
    margin-top: 40px;
    background: #fff;
    border-bottom: 1px solid var(--pd-line);
    transition: top .3s ease;
}

.pd-tabs a {
    padding: 16px 0 15px;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    color: var(--pd-muted);
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}

.pd-tabs a:hover {
    color: var(--tg-heading-color);
}

.pd-tabs a.is-active {
    color: var(--tg-heading-color);
    border-color: var(--tg-theme-primary);
}

/* ------------------------------------------------------------------
 * Sections
 * ------------------------------------------------------------------ */

.pd-sec {
    padding-top: 44px;
    scroll-margin-top: 140px;
}

.pd-sec__title {
    margin: 0 0 18px;
    font-size: 28px;
    letter-spacing: -.03em;
}

.pd-sec__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 20px;
    margin-bottom: 18px;
}

.pd-sec__head .pd-sec__title {
    margin: 0;
}

.pd-sec__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tg-theme-primary);
    font-size: 15px;
    font-weight: 600;
}

.pd-sec__link:hover {
    color: var(--tg-heading-color);
}

/* Description, as written on Envato */

.pd-desc {
    position: relative;
    font-size: 16.5px;
    line-height: 1.7;
}

.pd-desc.is-collapsed {
    max-height: 640px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
    mask-image: linear-gradient(180deg, #000 72%, transparent);
}

.pd-desc > :first-child {
    margin-top: 0;
}

.pd-desc p {
    margin: 0 0 16px;
}

.pd-desc strong,
.pd-desc b {
    color: var(--tg-heading-color);
    font-weight: 600;
}

.pd-desc h2,
.pd-desc h3,
.pd-desc h4 {
    margin: 34px 0 14px;
    font-size: 20px;
    letter-spacing: -.02em;
}

.pd-desc ul,
.pd-desc ol {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.pd-desc ul:has(> li:nth-child(9)) {
    columns: 2;
    column-gap: 36px;
}

.pd-desc li {
    position: relative;
    margin: 0 0 9px;
    padding-left: 28px;
    break-inside: avoid;
    line-height: 1.55;
}

.pd-desc ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pd-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315A057' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.pd-desc ol {
    counter-reset: pd;
}

.pd-desc ol > li::before {
    counter-increment: pd;
    content: counter(pd) ".";
    position: absolute;
    left: 0;
    color: var(--tg-theme-primary);
    font-weight: 600;
}

.pd-desc img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.pd-desc a {
    color: var(--tg-theme-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pd-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid var(--pd-line);
    background: #fff;
    color: var(--tg-heading-color);
    font-weight: 600;
    font-size: 15px;
    transition: border-color .2s;
}

.pd-more:hover {
    border-color: var(--tg-heading-color);
}

.pd-more .pd-icon {
    transition: transform .2s;
}

.pd-more[aria-expanded="true"] .pd-icon {
    transform: rotate(180deg);
}

/* Details */

.pd-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    border: 1px solid var(--pd-line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--pd-line-soft);
}

.pd-details__row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 20px;
    background: #fff;
    font-size: 15px;
}

.pd-details__row.is-wide,
.pd-details__row:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.pd-details dt {
    color: var(--pd-muted);
    font-weight: 400;
}

.pd-details dd {
    margin: 0;
    color: var(--tg-heading-color);
    font-weight: 500;
    text-align: right;
}

.pd-details__row.is-wide dd {
    text-align: left;
}

.pd-details--raw {
    display: block;
    padding: 18px 20px;
    background: #fff;
}

/* Rating */

.pd-rating {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
    border: 1px solid var(--pd-line);
    border-radius: 16px;
    overflow: hidden;
}

.pd-rating > div {
    padding: 22px 24px;
}

.pd-rating > div + div {
    border-left: 1px solid var(--pd-line-soft);
}

.pd-rating__score {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--pd-soft);
}

.pd-rating__score > b {
    font-size: 48px;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--tg-heading-color);
}

.pd-rating__score .pd-stars {
    font-size: 18px;
}

.pd-rating__score span:not(.pd-stars) {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--pd-muted);
}

.pd-rating__stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pd-rating__stat b {
    font-size: 24px;
    letter-spacing: -.03em;
    color: var(--tg-heading-color);
}

.pd-rating__stat span {
    font-size: 14px;
    color: var(--pd-muted);
}

/* FAQ */

.pd-faq {
    display: grid;
    gap: 10px;
}

.pd-faq__item {
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    background: #fff;
    transition: background .2s;
}

.pd-faq__item[open] {
    background: var(--pd-soft);
}

.pd-faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    color: var(--tg-heading-color);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.pd-faq__item summary::-webkit-details-marker {
    display: none;
}

.pd-faq__item summary .pd-icon {
    font-size: 18px;
    color: var(--pd-muted);
    transition: transform .2s;
}

.pd-faq__item[open] summary .pd-icon {
    transform: rotate(180deg);
}

.pd-faq__item p {
    margin: -6px 0 0;
    padding: 0 22px 18px;
    font-size: 15.5px;
    line-height: 1.6;
}

/* ------------------------------------------------------------------
 * Buy box
 * ------------------------------------------------------------------ */

.pd-box {
    padding: 26px;
    border: 1px solid var(--pd-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 50px -30px rgba(14, 18, 27, .25);
}

.pd-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
}

.pd-price__now {
    font-family: var(--tg-heading-font-family);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--tg-heading-color);
}

.pd-price__old {
    font-size: 20px;
    font-weight: 500;
    color: var(--pd-faint);
}

.pd-save {
    align-self: center;
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--pd-green-soft);
    color: var(--pd-green-dark);
    font-size: 13px;
    font-weight: 700;
}

.pd-price__note {
    margin: 8px 0 20px;
    font-size: 14px;
    color: var(--pd-muted);
}

.pd-options {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.pd-option {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border: 1.5px solid var(--pd-line);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.pd-option:hover {
    border-color: #C9CED8;
}

.pd-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pd-option__radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #C9CED8;
    transition: border .15s;
}

.pd-option.is-selected,
.pd-option:has(input:checked) {
    border-color: var(--tg-theme-primary);
    background: #FBF9FF;
}

.pd-option.is-selected .pd-option__radio,
.pd-option:has(input:checked) .pd-option__radio {
    border: 6px solid var(--tg-theme-primary);
}

.pd-option:has(input:focus-visible) {
    outline: 2px solid var(--tg-theme-primary);
    outline-offset: 2px;
}

.pd-option__text b {
    display: block;
    color: var(--tg-heading-color);
    font-size: 15px;
    font-weight: 600;
}

.pd-option__text small {
    display: block;
    color: var(--pd-muted);
    font-size: 13px;
    line-height: 1.4;
}

.pd-option__price {
    text-align: right;
    white-space: nowrap;
}

.pd-option__price b {
    color: var(--tg-heading-color);
    font-size: 17px;
}

.pd-option__save {
    display: block;
    color: var(--pd-green-dark);
    font-size: 12px;
    font-weight: 700;
}

.pd-option__price del {
    margin-right: 3px;
    color: var(--pd-faint);
    font-size: 13px;
}

.pd-option__tag {
    position: absolute;
    top: -6px;
    right: 14px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--tg-theme-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.pd-box .btn {
    gap: 9px;
}

.pd-box .btn .pd-icon {
    font-size: 18px;
}

.pd-buy {
    min-height: 56px;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 10px 20px -10px rgba(22, 168, 91, .8);
}

.pd-box .btn + .btn {
    margin-top: 10px;
}

.pd-includes {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 18px 0 0;
    border-top: 1px dashed var(--pd-line);
    list-style: none;
}

.pd-includes li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tg-heading-color);
    font-size: 15px;
}

.pd-includes .pd-icon {
    color: var(--pd-green);
    stroke-width: 2.6;
    font-size: 16px;
}

.pd-secure {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--pd-soft);
}

.pd-secure__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--tg-heading-color);
    font-size: 13.5px;
    font-weight: 600;
}

.pd-secure__title .pd-icon {
    color: var(--pd-green-dark);
}

.pd-secure p {
    margin: 10px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--pd-muted);
}

.pd-pay {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pd-pay span {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 7px;
    border-radius: 5px;
    border: 1px solid var(--pd-line);
    background: #fff;
    color: var(--tg-heading-color);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .02em;
}

.pd-pay .pd-pay__visa {
    color: #1A1F71;
    font-style: italic;
}

.pd-pay__mc i {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #EB001B;
}

.pd-pay__mc i + i {
    margin-left: -4px;
    background: #F79E1B;
    opacity: .9;
}

.pd-pay .pd-pay__pp {
    color: #003087;
}

.pd-pay__pp em {
    color: #009CDE;
}

.pd-help {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid var(--pd-line);
    border-radius: 16px;
    background: #fff;
    color: var(--tg-body-color);
    transition: border-color .2s;
}

.pd-help:hover {
    border-color: var(--tg-theme-primary);
}

.pd-help__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background: var(--pd-primary-soft);
    color: var(--tg-theme-primary);
    font-size: 20px;
}

.pd-help__text b {
    display: block;
    color: var(--tg-heading-color);
    font-size: 15px;
}

.pd-help__text span {
    font-size: 13.5px;
    color: var(--pd-muted);
}

.pd-help > .pd-icon {
    margin-left: auto;
    color: var(--tg-theme-primary);
    font-size: 20px;
}

/* Price parts the offer switch hides; their display rules would otherwise
   win over the hidden attribute. */
.pd-box [hidden],
.pd-mbar [hidden] {
    display: none !important;
}

/* ------------------------------------------------------------------
 * Mobile buy bar
 * ------------------------------------------------------------------ */

.pd-mbar {
    display: none;
}

/* ------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 1399.98px) {
    .pd-title {
        font-size: 40px;
    }
}

@media (max-width: 1199.98px) {
    .pd-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        column-gap: 30px;
    }

    .pd-title {
        font-size: 36px;
    }

    .pd-box {
        padding: 22px;
    }

    .pd-price__now {
        font-size: 40px;
    }

    .pd-rating {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .pd-rating__score {
        grid-column: 1 / -1;
    }

    .pd-rating > div + div {
        border-left: 0;
        border-top: 1px solid var(--pd-line-soft);
    }

    .pd-rating > div + div + div {
        border-left: 1px solid var(--pd-line-soft);
    }
}

@media (max-width: 991.98px) {
    .pd-head {
        padding: 26px 0 24px;
        border-radius: 28px 28px 0 0;
    }

    .pd-head__actions {
        display: none;
    }

    .pd-title {
        font-size: 32px;
    }

    .pd-main {
        padding: 24px 0 70px;
    }

    .pd-grid {
        display: flex;
        flex-direction: column;
    }

    .pd-gallery {
        order: 1;
    }

    .pd-aside {
        order: 2;
        margin-top: 20px;
    }

    .pd-body {
        order: 3;
    }

    .pd-aside__sticky {
        position: static;
    }

    .pd-help {
        display: none;
    }

    .pd-tabs {
        gap: 24px;
        margin: 36px -12px 0;
        padding: 0 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .pd-tabs::-webkit-scrollbar {
        display: none;
    }

    .pd-mbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 98;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--pd-line);
        background: rgba(255, 255, 255, .97);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0 -10px 30px -12px rgba(14, 18, 27, .18);
        transform: translateY(110%);
        transition: transform .3s ease;
    }

    .pd-mbar.is-visible {
        transform: none;
    }

    body:has(.pd-mbar) {
        padding-bottom: 76px;
    }

    body:has(.pd-mbar.is-visible) .scroll__top {
        bottom: 96px;
    }

    .pd-mbar__price {
        margin-right: auto;
        line-height: 1.15;
    }

    .pd-mbar__price b {
        color: var(--tg-heading-color);
        font-size: 22px;
        letter-spacing: -.03em;
    }

    .pd-mbar__price del {
        margin-left: 4px;
        color: var(--pd-faint);
        font-size: 13px;
    }

    .pd-mbar__price small {
        display: block;
        color: var(--pd-green-dark);
        font-size: 12px;
        font-weight: 600;
    }

    .pd-mbar__preview {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        flex: none;
        border: 1px solid var(--pd-line);
        border-radius: 12px;
        color: var(--tg-heading-color);
        font-size: 19px;
    }

    .pd-mbar .pd-mbar__buy {
        min-height: 46px;
        padding: 0 18px;
        gap: 8px;
        font-weight: 600;
    }
}

@media (max-width: 767.98px) {
    .pd-head {
        margin: 0;
        border-radius: 0;
    }

    .pd-title {
        font-size: 27px;
    }

    .pd-crumbs {
        font-size: 12.5px;
        margin-bottom: 10px;
    }

    .pd-meta {
        gap: 8px 14px;
        margin-top: 12px;
        font-size: 13.5px;
    }

    .pd-gallery {
        border-radius: 14px;
    }

    .pd-gallery__preview {
        left: 10px;
        bottom: 10px;
        height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }

    .pd-box {
        padding: 20px;
        border-radius: 18px;
    }

    .pd-price__now {
        font-size: 38px;
    }

    .pd-sec {
        padding-top: 34px;
    }

    .pd-sec__title {
        font-size: 23px;
    }

    .pd-desc {
        font-size: 15.5px;
    }

    .pd-desc ul:has(> li:nth-child(9)) {
        columns: 1;
    }

    .pd-details {
        grid-template-columns: minmax(0, 1fr);
    }

    .pd-rating__score > b {
        font-size: 42px;
    }

    .pd-faq__item summary {
        padding: 16px 18px;
    }

    .pd-faq__item p {
        padding: 0 18px 16px;
    }
}
