/* ================================================================
   Price Comparison â€” Frontend styles (v2)
   File: assets/css/pc-frontend.css
   Product page styles (header/footer are in separate files)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Inter+Tight:wght@400;500;600;700;800;900&display=swap');

:root {
    --color-white: #fff;
    --color-black: #000;
    --color-white-smoke: #f7f7f7;
    --color-athens-gray: #f8f9fa;
    --color-alice-blue: #f7faff;
    --color-pale-blue: #dfe8fb;
    --color-medium-silver-gray: #b2b2b2;
    --color-silver-gray: #ccc;
    --color-silver-sand: #bdbdbd;
    --color-gainsboro: #eee;
    --color-platinum: #e6e6e6;
    --color-gainsboro-dark: #d9d9d9;
    --color-light-gray: #6c757d;
    --color-davys-gray: #686868;
    --color-dark: #212529;
    --color-dark-gray: #343a40;
    --color-charcoal: #363636;
    --color-charcoal-darker: #303030;
    --color-jet-black: #2c2c2c;
    --color-dark-grey: #505050;
    --color-dark-medium-grey: #6c6c6c;
    --color-dim-gray: #757575;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESET
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
body.pc-page,
body.pc-page * {
    box-sizing: border-box;
}

body.pc-page button:not([class*="pm-"]):not([class*="pa-"]),
body.pc-page [type="button"]:not([class*="pm-"]):not([class*="pa-"]),
body.pc-page [type="submit"]:not([class*="pm-"]):not([class*="pa-"]),
body.pc-page [type="reset"]:not([class*="pm-"]):not([class*="pa-"]) {
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: inherit;
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
    text-align: left;
    transition: none;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    user-select: auto;
    white-space: normal;
}

body.pc-page button:not([class*="pm-"]):not([class*="pa-"]):hover,
body.pc-page [type="button"]:not([class*="pm-"]):not([class*="pa-"]):hover,
body.pc-page [type="submit"]:not([class*="pm-"]):not([class*="pa-"]):hover,
body.pc-page [type="reset"]:not([class*="pm-"]):not([class*="pa-"]):hover {
    background-color: transparent;
    border-color: transparent;
    color: inherit;
}

body.pc-page button:focus,
body.pc-page [type="button"]:focus,
body.pc-page [type="submit"]:focus,
body.pc-page [type="reset"]:focus {
    outline: none;
    box-shadow: none;
}

body.pc-page {
    margin: 0;
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: var(--color-charcoal-darker);
    background: var(--color-white);
    line-height: 1.5;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    text-rendering: optimizeLegibility;
}

body.pc-page .pm-title,
body.pc-page .pm-details__title,
body.pc-page .pm-features__title,
body.pc-page .pm-related__title {
    font-family: 'Inter Tight', 'Inter', -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.pc-page a {
    color: inherit;
    text-decoration: none;
}

body.pc-page a:hover {
    text-decoration: underline;
}

body.pc-page img {
    max-width: 100%;
    display: block;
}

/* 
   ROOT CONTAINER
    */
.pm-root {
    max-width: 1145px;
    margin: 0 auto;
    padding: 48px 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    font-size: 14px;
    color: var(--color-charcoal-darker);
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BREADCRUMB
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-bc {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-silver-sand);
    margin: 0 0 0px;
    padding: 0;
    max-width: 1120px;
    overflow: hidden;
    white-space: nowrap;
}

.pm-bc li {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.pm-bc li:last-child {
    flex-shrink: 1;
    overflow: hidden;
}

.pm-bc li:last-child span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.pm-bc span {
    color: var(--color-silver-sand);
    text-decoration: none;
    cursor: default;
}

/* Chỉ item cuối (có tooltip) cho phép hover */
.pm-bc li:last-child span[data-tooltip] {
    cursor: pointer;
    pointer-events: auto;
}

.pm-bc__sep {
    margin: 0 5px;
    color: #bbb;
}

.pm-bc li:last-child span {
    color: #505050;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DESKTOP GRID LAYOUT
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-wrap {
    display: grid;
    grid-template-columns: 392px minmax(0, 1fr);
    grid-template-areas:
        "img  head"
        "img  info";
    grid-template-rows: auto 1fr;
    gap: 0 40px;
    align-items: stretch;
    margin-top: 16px;
    margin-bottom: 48px;
}

.pm-head {
    grid-area: head;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 14px;
}

.pm-img-col {
    grid-area: img;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pm-info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 24px;
    min-width: 0;
}

.pm-info__top {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.pm-info__bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 0px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   IMAGE (LEFT COL)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-img-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 347px;
    height: 386px;
    overflow: hidden;
    position: relative;
    background: #fff;
    border-radius: 8px;
}

.pm-img-main a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pm-img-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}



.pm-img-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-charcoal-darker);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
}

.pm-img-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e33;
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 3px;
}

/* Gallery thumbs */
.pm-piclist-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pm-piclist-wrap::-webkit-scrollbar {
    display: none;
}

.pm-piclist {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 2px 0;
    justify-content: center;
}

body.pc-page .pm-picitem {
    width: 60px;
    height: 60px;
    min-width: 60px;
    max-width: 60px;
    flex-shrink: 0;
    border: 3px solid transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    background: none;
    padding: 0;
}

body.pc-page .pm-picitem:hover {
    background: none;
}

body.pc-page .pm-picitem--active {
    border-color: var(--color-charcoal-darker);
}

.pm-picitem img {
    border-radius: 8px;
    width: 52px;
    height: 52px;
    object-fit: contain;
    border: 1px solid var(--color-gainsboro-dark);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TITLE + STATS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
body.pc-page .pm-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 38px;
    color: var(--color-black);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    color: #555;
    word-break: break-all;
}

.pm-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.pm-stat img {
    flex-shrink: 0;
}

.pm-stat span {
    font-size: 14px;
    font-weight: 500;
    line-height: 16.94px;
    color: var(--color-black);
}

.pm-stat__bold {
    font-weight: 600;
    color: var(--color-charcoal-darker);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DESCRIPTION (show more)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-desc {
    font-size: 16px;
    color: var(--color-dim-gray);
    line-height: 1.6;
    font-weight: 400;
}

.pm-desc__body {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pm-desc__body.open {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.pm-desc ul {
    padding-left: 16px;
    margin: 0;
}

.pm-desc ul li {
    margin-bottom: 2px;
}

body.pc-page .pm-show-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    font-family: inherit;
    color: var(--color-black);
    text-align: left;
    white-space: normal;
}

body.pc-page .pm-show-more:hover {
    background: none;
    border: none;
    color: var(--color-black);
    text-decoration: none;
}

body.pc-page .pm-show-more:focus {
    outline: none;
    box-shadow: none;
}

/* Description + Title link — không đổi style */
body.pc-page a.pm-desc__link,
body.pc-page a.pm-desc__link:hover,
body.pc-page a.pm-desc__link:focus,
body.pc-page a.pm-desc__link:visited {
    color: inherit;
    text-decoration: none;
    display: block;
}

body.pc-page .pm-title a,
body.pc-page .pm-title a:hover,
body.pc-page .pm-title a:focus,
body.pc-page .pm-title a:visited {
    color: inherit;
    text-decoration: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   OFFER BOX (Best Offer)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-offer {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 24px;
    row-gap: 12px;
    align-items: center;
    transition: box-shadow .2s ease;
}

.pm-offer:hover {
    box-shadow: 0 12px 24px 6px rgba(0, 0, 0, 0.2);
}

.pm-offer--no-vendor {
    grid-template-columns: 1fr auto;
}

.pm-offer__head {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
}

body.pc-page .pm-vendor {
    grid-column: 1;
    grid-row: 2;
    border: 1px solid var(--color-gainsboro);
    border-radius: 6px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    width: 120px;
    height: 56px;
    box-sizing: border-box;
}

body.pc-page .pm-vendor img {
    max-width: 100%;
    max-height: 28px;
    width: auto;
    object-fit: contain;
}

.pm-price {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pm-offer--no-vendor .pm-price {
    grid-column: 1;
}

.pm-price__fig {
    display: flex;
    align-items: flex-start;
    font-weight: 700;
    color: var(--color-charcoal-darker);
    line-height: 1;
}

.pm-price__sym {
    font-size: 16px;
    font-weight: 500;
    align-self: flex-start;
}

.pm-price__int {
    font-size: 32px;
    line-height: 32px;
    align-self: flex-end;
}

.pm-price__dec {
    font-size: 16px;
    font-weight: 500;
    align-self: flex-start;
}

.pm-price__ship {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.pm-price__na {
    font-size: 18px;
    font-weight: 600;
    color: #aaa;
}

body.pc-page .pm-cta {
    grid-column: 3;
    grid-row: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-charcoal-darker);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    border: none;
    padding: 4px 15px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    line-height: 22.4px;
    height: 48px;
    white-space: nowrap;
    transition: background .2s, transform .1s;
}

body.pc-page .pm-cta:hover {
    /* background: #555; color: var(--color-white);  */
    text-decoration: none;
    border: none;
}

body.pc-page .pm-cta:active {
    transform: scale(.98);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PRICE RANGE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-range {
    /* gap: 24px; */
    gap: 0px;
    display: flex;
    flex-direction: column;
}

.pm-range h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-charcoal-darker);
    margin: 16px 0 10px;
}

.pm-range__inner {
    display: flex;
    flex-direction: column;
}

.pm-range__tops {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 400;
    color: #757575;
    margin-bottom: 4px;
}

.pm-range__track {
    width: 100%;
    height: 8px;
    background: #e8e8e8;
    border-radius: 99px;
    position: relative;
}

.pm-range__filled {
    position: absolute;
    top: 0;
    height: 100%;
    background: #b2b2b2;
    border-radius: 99px;
}

.pm-range__labels-wrap {

    position: relative;
    height: 22px;
    margin-top: 6px;
}

.pm-range__label {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-charcoal-darker);
    transform: translateX(-50%);
    white-space: nowrap;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TABS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-tabs {
    overflow: hidden;
    font-family: inherit;
}

.pm-tabs__nav {
    display: flex;
    border-bottom: 1px solid var(--color-gainsboro);
    justify-content: flex-start;
    padding: 0 0px;
}

body.pc-page .pm-tabs__btn {
    position: relative;
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    padding: 12px;
    line-height: 1;
    transition: color .15s;
    color: var(--color-black);
    display: inline-block;
    white-space: nowrap;
    margin-left: 15px;
}

body.pc-page .pm-tabs__btn:hover {
    background: none;
    border-color: transparent;
    color: var(--color-black);
    text-decoration: none;
}

.pm-tabs__btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-charcoal-darker);
    opacity: 0;
    transition: opacity .15s;
}

body.pc-page .pm-tabs__btn--active {
    font-weight: 700;
}

.pm-tabs__btn--active::after {
    opacity: 1;
}

.pm-tabpane {
    display: none;
}

.pm-tabpane--active {
    display: block;
}

/* Sort bar */
.pm-sort-bar {
    display: flex;
    align-items: center;
    padding: 9px 30px;
    justify-content: flex-end;
}

body.pc-page .pm-sort-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
    cursor: pointer;
    color: var(--color-charcoal-darker);
    transition: border-color .15s;
    user-select: none;
    white-space: nowrap;
}

body.pc-page .pm-sort-btn:hover {
    border-color: #888;
    background: var(--color-white);
    color: var(--color-charcoal-darker);
}

.pm-sort-btn svg {
    flex-shrink: 0;
    transition: transform .2s;
}

.pm-sort-btn.open svg {
    transform: rotate(180deg);
}

.pm-sort-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: var(--color-white);
    border: 1px solid var(--color-gainsboro);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    z-index: 99;
    overflow: hidden;
}

.pm-sort-dropdown.open {
    display: block;
}

.pm-sort-option {
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    color: var(--color-charcoal-darker);
    transition: background .12s;
}

.pm-sort-option:hover {
    background: #f5f5f5;
}

.pm-sort-option.active {
    font-weight: 700;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PRICES TABLE (desktop)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-ptable--desktop {
    display: block;
    margin: 0 30px;
}

.pm-ptable--mobile {
    display: none;
}

.pm-ptable__head {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 0 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dim-gray);
    letter-spacing: .04em;
    gap: 20px;
}

.pm-ptable__row {
    display: flex;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 20px;
}

.pm-ptable__row .pm-ptable__cell:has(.pm-ptable__name) {
    align-items: flex-start;
}

.pm-ptable__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    word-break: break-word;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    width: 100%;
}

/* .pm-ptable__row:last-child {
    border-bottom: none;
} */

.pm-ptable__cell {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pm-ptable__cell.pm-ptable__store {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--color-gainsboro);
}

.pm-ptable__store img {
    max-width: 80px;
    max-height: 30px;
    object-fit: contain;
}

.pm-ptable__domain {
    font-size: 12px;
    font-weight: 700;
    color: #444;
}

.pm-ptable__price {
    display: flex;
    align-items: flex-start;
    font-weight: 700;
    color: var(--color-charcoal-darker);
    line-height: 1;
    gap: 1px;
}

.pm-ptable__sym {
    font-size: 16px;
    font-weight: 500;
    align-self: flex-start;
}

.pm-ptable__int {
    font-size: 32px;
    font-weight: 700;
    line-height: 29px;
    align-self: flex-end;
}

.pm-ptable__dec {
    font-size: 16px;
    font-weight: 500;
    align-self: flex-start;
}

body.pc-page .pm-ptable__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
    width: 100%;
    text-align: center;
    border: 1px solid var(--color-jet-black);
}

body.pc-page .pm-ptable__btn:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    border-color: var(--color-black);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DETAILS TAB
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-details {
    padding: 48px 12px;
}

.pm-details__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-charcoal-darker);
    margin: 0 0 24px;
}

.pm-details__list {
    padding-left: 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: disc;
}

.pm-details__list li {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-charcoal-darker);
    line-height: 1.5;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FEATURES TAB
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-features {
    padding: 48px 12px;
}

.pm-features__title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 24px;
}

.pm-features__group {
    margin-bottom: 24px;
}

.pm-features__group:last-child {
    margin-bottom: 0;
}

.pm-features__group-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    letter-spacing: .05em;
    padding: 12px 0;
    margin: 0;
}

.pm-features__row {
    display: flex;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
}

.pm-features__row:last-child {
    border-bottom: none;
}

.pm-features__key {
    font-size: 16px;
    flex: 0 0 140px;
    font-weight: 400;
    color: var(--color-dark-medium-grey);
}

.pm-features__val {
    flex: 1;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 400;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RELATED PRODUCTS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pm-related-section {
    background-color: var(--color-white-smoke);
}

.pm-related-inner {
    padding: 80px 85px;
    max-width: 1440px;
    margin: 0 auto;
}

.pm-related__title {
    font-size: 32px;
    line-height: 38.73px;
    font-weight: 600 !important;
    margin: 0 0 32px;
    text-align: center;
    width: 100%;
    letter-spacing: 1px !important;
}

.pm-related__track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(332px, 1fr));
    gap: 16px;
    justify-content: center;
    max-width: 1044px;
    width: 100%;
    margin: 0 auto;
}

.pm-related__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--color-gainsboro);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
    width: 332px;
    margin: 0 auto;
}

.pm-related__img-wrap {
    max-width: 340px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}

.pm-related__img-wrap img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform .3s;
}

.pm-related__body {
    padding: 0 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pm-related__name {
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    text-align: left;
    color: var(--color-black);
}

body.pc-page a.pm-related__name:hover {
    text-decoration: none;
}

.pm-related__price {
    display: flex;
    align-items: flex-start;
    font-weight: 700;
    color: var(--color-charcoal-darker);
    line-height: 1;
    margin-top: auto;
    padding-top: 16px;
}

.pm-related__price-sym {
    font-size: 16px;
    font-weight: 500;
    align-self: flex-start;
}

.pm-related__price-int {
    font-size: 32px;
    line-height: 29px;
    align-self: flex-end;
    font-weight: 700;
}

.pm-related__price-dec {
    font-size: 12px;
    font-weight: 500;
    align-self: flex-start;
}

.pm-related__ship {
    font-size: 12px;
    font-weight: 400;
    color: var(--color-black);
    text-transform: uppercase;
    padding-bottom: 16px;
}

body.pc-page .pm-related__btn {
    display: block;
    text-align: center;
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-jet-black);
    text-decoration: none;
    border-radius: 8px;
    padding: 4px 15px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    transition: background .2s;
    margin-top: 4px;
    height: 48px;
    line-height: 22.4px;
    align-content: center;
}

body.pc-page .pm-related__btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    border-color: var(--color-black);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TABLET < 1024px
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1024px) {

    .pm-wrap {
        grid-template-columns: 320px 1fr;
        gap: 0 24px;
        margin-bottom: 0px;

    }

    body.pc-page .pm-title {
        font-size: 22px;
        line-height: 30px;
    }

    .pm-info {

        gap: 0px;

    }

    .pm-root {
        padding: 12px 20px 8px;
    }

    .pm-info__bottom {
        padding-top: 0px;
        padding-bottom: 24px;
    }

    .pm-sort-bar {
        padding: 9px 0px;
    }

    .pm-related__title {
        font-size: 22px;
        /* line-height: 38.73px;

    margin: 0 0 32px;
    text-align: center;
    width: 100%; */
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE < 1150px
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1150px) {

    /* Breadcrumb: show only last 2 items (brand + title) on mobile */
    .pm-bc li:nth-child(-n+3) {
        display: none;
    }

    body.pc-page .pm-show-more {

        padding: 8px 0px 16px 0px;

    }

    .pm-related__track {
        grid-template-columns: 1fr;
    }

    .pm-wrap {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 8px;
    }

    .pm-head {
        order: 1;
        gap: 10px;
        padding-bottom: 0;
    }

    .pm-img-col {
        order: 2;
    }

    .pm-img-main {
        width: 100%;
        height: 194px;
    }

    .pm-img-main img {
        width: 100%;
        height: 100%;
    }

    .pm-info {
        order: 3;
    }

    .pm-title {
        font-size: 32px;
        line-height: 24px;
    }

    .pm-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px 16px;
        margin-bottom: 4px;
    }

    .pm-stat {
        white-space: nowrap;
    }

    body.pc-page .pm-offer {
        grid-template-columns: 1fr auto;
        column-gap: 12px;
        row-gap: 12px;
        padding: 8px 12px;

    }

    body.pc-page .pm-offer__head {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    body.pc-page .pm-vendor {
        grid-column: 2;
        grid-row: 1;
        width: 120px;
        height: 56px;
        padding: 4px 15px;
        justify-self: end;
        margin-left: 0;
        border: none;
    }

    body.pc-page .pm-vendor img {
        max-height: 22px;
    }

    body.pc-page .pm-price {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }

    body.pc-page .pm-cta {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }

    body.pc-page .pm-offer--no-vendor .pm-price {
        grid-column: 1;
    }

    body.pc-page .pm-offer--no-vendor .pm-cta {
        grid-column: 2;
    }

    .pm-ptable--desktop {
        display: none;
    }

    .pm-ptable--mobile {
        display: block;
        /* margin: 0 16px; */
    }

    .pm-ptable__card {
        padding: 24px 0px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 40px;
    }

    /* .pm-ptable__card:last-child {
        border-bottom: none;
    } */

    .pm-ptable__card-left {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 12px;
        flex: 1;
        min-width: 0;
    }

    .pm-ptable__card-right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        gap: 12px;
        flex-shrink: 0;
    }

    .pm-ptable__card-name {
        font-size: 14px;
        font-weight: 400;
        color: var(--color-black);
        line-height: 1.4;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
    }

    .pm-ptable__card-store {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 30px;
        padding: 4px 15px;
    }

    .pm-ptable__card-store img {
        /* max-width: 70px;
        max-height: 24px; */
        width: 80px;
        height: 30px;
        object-fit: contain;
    }

    .pm-ptable__card-bot {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    body.pc-page .pm-ptable__btn {
        width: 110px;
        padding: 4px 15px;
        font-size: 14px;
        flex-shrink: 0;
        height: 48px;
        font-size: 16px;
        font-weight: 600;
    }

    .pm-tabs__nav {
        justify-content: space-between;
    }

    .pm-sort-bar {

        padding: 9px 0px;

    }

    .pm-related-inner {
        padding: 40px 85px;
        /* max-width: 1440px;
    margin: 0 auto; */
    }
}

/* ════════════════════════════════════════════════════════════════
   TOOLTIPS (styled by JS, appended to body)
   ════════════════════════════════════════════════════════════════ */
.pm-tooltip-box {
    position: fixed;
    background: var(--color-charcoal-darker);
    color: var(--color-white);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    padding: 12px 16px;
    border-radius: 8px;
    max-width: 280px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
}

.pm-tooltip-box.visible {
    opacity: 1;
}

.pm-tooltip-box::before {
    content: '';
    position: absolute;
    top: -10px;
    left: var(--arrow-left, 20px);
    border: 6px solid transparent;
    border-bottom-color: var(--color-charcoal-darker);
}

/* ── Skeleton Loading ── */
@keyframes pm-skeleton-pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.pm-skeleton {
    display: block;
}

.pm-skeleton__bar {
    background-color: #d3d3d3;
    border-radius: 4px;
    animation: pm-skeleton-pulse 1.5s ease-in-out infinite;
}

.pm-skeleton__breadcrumb {
    width: 60%;
    height: 18px;
    margin-bottom: 16px;
}

.pm-skeleton__title {
    width: 70%;
    height: 28px;
    margin-bottom: 12px;
}

.pm-skeleton__stats {
    width: 40%;
    height: 20px;
    margin-bottom: 16px;
}

.pm-skeleton__image {
    width: 100%;
    max-width: 347px;
    height: 389px;
    margin-bottom: 10px;
}

.pm-skeleton__thumbs {
    width: 200px;
    height: 70px;
    margin: 0 auto 24px;
}

.pm-skeleton__desc {
    width: 100%;
    height: 100px;
    margin-bottom: 16px;
}

.pm-skeleton__price {
    width: 100%;
    height: 112px;
}

/* Desktop grid */
.pm-skeleton__grid {
    display: none;
}

@media (min-width: 1000px) {
    .pm-skeleton__grid {
        display: flex;
        gap: 32px;
        align-items: flex-start;
    }

    .pm-skeleton__grid-left {
        flex-shrink: 0;
    }

    .pm-skeleton__grid-right {
        flex: 1;
    }

    .pm-skeleton__mobile {
        display: none;
    }
}

/* Nav skeleton */
.pm-skeleton__nav-bar {
    width: 100%;
    height: 43px;
    background-color: #d3d3d3;
    margin-top: 24px;
}

.pm-skeleton__nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
}

.pm-skeleton__nav-cell {
    height: 24px;
    background-color: #d3d3d3;
    border-radius: 4px;
    animation: pm-skeleton-pulse 1.5s ease-in-out infinite;
}

.pm-skeleton__nav-cell--vendor {
    width: 126px;
}

.pm-skeleton__nav-cell--name {
    width: 275px;
}

.pm-skeleton__nav-cell--condition {
    width: 100px;
}

.pm-skeleton__nav-cell--returns {
    width: 100px;
}

.pm-skeleton__nav-cell--price {
    width: 120px;
}

.pm-skeleton__nav-cell--btn {
    width: 160px;
    height: 48px;
}

/* ═══ PRICE ALERT MODAL ═══ */
.pa-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pa-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.pa-modal__box {
    position: relative;
    background: #fff;
    padding: 36px 22px;
    width: 393px;
    max-width: 90%;
    height: 376px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
    animation: paFadeIn 0.2s ease;
    display: flex;
    flex-direction: column;
}

@keyframes paFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pa-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

.pa-modal__close:hover {
    color: #666 !important;
    background: none !important;
}

.pa-modal__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px;
}

.pa-modal__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pa-modal__field label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 8px;
}

.pa-modal__input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

/* Hide number input spinners */
.pa-modal__input-wrap input[type="number"]::-webkit-outer-spin-button,
.pa-modal__input-wrap input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pa-modal__input-wrap input[type="number"] {
    -moz-appearance: textfield;
}

.pa-modal__input-wrap:hover,
.pa-modal__input-wrap:focus-within {
    border-color: #3d63b0 !important;
}

.pa-modal__prefix {
    padding: 0 0 0 14px;
    font-size: 14px;
    font-weight:400;
}

.pa-modal__input-wrap input {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 7px 4px !important;
    font-size: 16px !important;
    font-family: inherit;
    background: transparent !important;
    box-shadow: none !important;
}

.pa-modal input::placeholder {
    color: #ccc !important;
}

.pa-modal__field>input {
    width: 100%;
    border: 1px solid #d9d9d9 !important;
    border-radius: 8px !important;
    padding: 7px 14px !important;
    font-size: 16px !important;
    font-family: inherit;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s;
}

.pa-modal__field>input:hover,
.pa-modal__field>input:focus {
    border-color: #3d63b0 !important;
}

.pa-modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.pa-modal__btn {
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: inherit;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center !important;
    display: inline-block !important;
}

.pa-modal__btn--cancel {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #1a1a1a !important;
    flex: 1;
}

.pa-modal__btn--cancel:hover {
    border-color: #999 !important;
    background: #fff !important;
    color: #333 !important;
}

.pa-modal__btn--submit {
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    flex: 1.5;
}

.pa-modal__btn--submit:hover {
    background: #333 !important;
    color: #fff !important;
}

/* Error state — red border on empty fields */
.pa-modal__field > input.pa-modal__input--error,
.pa-modal__input-wrap.pa-modal__input--error {
    border-color: #e53935 !important;
}

/* Success checkmark */
.pa-modal__success {
    font-size: 20px;
    vertical-align: middle;
    margin-left: 4px;
}