/* ==========================================================================
   Product details — professional UI
   Loaded only on pages/website/ecommerce/product_details.
   ========================================================================== */

:root {
    --pd-bg: #f6f8fb;
    --pd-surface: #ffffff;
    --pd-border: #e8ecf3;
    --pd-text: #1f2433;
    --pd-muted: #6b7280;
    --pd-primary: #0989ff;
    --pd-primary-dark: #0a6fcc;
    --pd-primary-soft: #eaf4ff;
    --pd-success: #0f9d58;
    --pd-success-soft: #e8f7ef;
    --pd-warn: #b45309;
    --pd-warn-soft: #fef3c7;
    --pd-danger: #e23744;
    --pd-danger-soft: #fdecee;
    --pd-gold: #b8860b;
    --pd-gold-soft: #fdf6e3;
    --pd-star: #f5a623;
    --pd-radius: 16px;
    --pd-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 22px rgba(16, 24, 40, .06);
}

/* ---- Shell --------------------------------------------------------------- */
.pd-area {
    background: var(--pd-bg);
    padding: 18px 0 80px;
}

.pd-crumb {
    background: var(--pd-bg);
    padding: 22px 0 0;
}

.pd-crumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--pd-muted);
}

.pd-crumb-nav a {
    color: var(--pd-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.pd-crumb-nav a:hover {
    color: var(--pd-primary);
}

.pd-crumb-sep {
    color: #c3cad6;
}

.pd-crumb-current {
    color: var(--pd-text);
    font-weight: 600;
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- Gallery ------------------------------------------------------------- */
.pd-gallery {
    position: sticky;
    top: 100px;
    display: flex;
    gap: 14px;
}

.pd-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 2px;
}

.pd-thumbs::-webkit-scrollbar {
    width: 4px;
}

.pd-thumbs::-webkit-scrollbar-thumb {
    background: #d6dce6;
    border-radius: 4px;
}

.pd-thumb {
    flex: 0 0 auto;
    width: 74px;
    height: 74px;
    padding: 6px;
    border: 1.5px solid var(--pd-border);
    border-radius: 10px;
    background: var(--pd-surface);
    cursor: pointer;
    transition: all .2s ease;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-thumb:hover {
    border-color: #c2d8f2;
}

.pd-thumb.is-active {
    border-color: var(--pd-primary);
    box-shadow: 0 0 0 3px rgba(9, 137, 255, .12);
}

.pd-stage {
    position: relative;
    flex: 1;
    min-width: 0;
    display: grid;
    place-items: center;
    height: 520px;
    padding: 24px;
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    box-shadow: var(--pd-shadow);
    overflow: hidden;
}

.pd-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.pd-stage:hover img {
    transform: scale(1.06);
}

.pd-badge-off {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--pd-danger);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.pd-wish {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--pd-muted);
    font-size: 17px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, .12);
    cursor: pointer;
    transition: all .2s ease;
    z-index: 2;
}

.pd-wish:hover {
    color: var(--pd-danger);
}

.pd-wish .fa-solid {
    color: var(--pd-danger);
}

/* mobile swipe strip */
.pd-stage-track {
    display: none;
}

/* ---- Info column --------------------------------------------------------- */
.pd-info {
    padding-left: 10px;
}

.pd-cat {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--pd-primary-soft);
    color: var(--pd-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.pd-title {
    margin: 12px 0 10px;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--pd-text);
}

.pd-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

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

.pd-stars .empty {
    color: #d8dde5;
}

.pd-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 10px;
    border-radius: 6px;
    background: var(--pd-success);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

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

.pd-rating-count a {
    color: var(--pd-primary);
    text-decoration: none;
}

.pd-price-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--pd-border);
    border-radius: 12px;
    background: var(--pd-surface);
    margin-bottom: 16px;
}

.pd-price {
    font-size: 30px;
    font-weight: 700;
    color: var(--pd-text);
    line-height: 1;
}

.pd-mrp {
    font-size: 16px;
    color: #9aa2b1;
}

.pd-off {
    font-size: 14px;
    font-weight: 700;
    color: var(--pd-success);
}

.pd-usp {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--pd-gold-soft);
    color: var(--pd-gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: capitalize;
}

.pd-short-desc {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--pd-muted);
}

.pd-short-desc a {
    color: var(--pd-primary);
    text-decoration: none;
    font-weight: 600;
}

/* stock */
.pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 28px;
    padding: 0 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.pd-stock--in {
    background: var(--pd-success-soft);
    color: var(--pd-success);
}

.pd-stock--low {
    background: var(--pd-warn-soft);
    color: var(--pd-warn);
}

.pd-stock--out {
    background: var(--pd-danger-soft);
    color: var(--pd-danger);
}

/* variants */
.pd-variation {
    margin-bottom: 20px;
}

.pd-var-group {
    margin-bottom: 16px;
}

.pd-var-label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pd-text);
}

.pd-var-label span {
    color: var(--pd-muted);
    font-weight: 500;
}

.pd-var-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-var-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pd-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 40px;
    padding: 0 16px;
    border: 1.5px solid var(--pd-border);
    border-radius: 10px;
    background: var(--pd-surface);
    color: var(--pd-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    margin: 0;
}

.pd-chip:hover {
    border-color: var(--pd-primary);
}

.pd-var-radio:checked + .pd-chip {
    border-color: var(--pd-primary);
    background: var(--pd-primary-soft);
    color: var(--pd-primary-dark);
}

.pd-swatch {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--pd-border);
    cursor: pointer;
    transition: all .2s ease;
    margin: 0;
}

.pd-var-radio:checked + .pd-swatch {
    border-color: var(--pd-primary);
    box-shadow: 0 0 0 3px rgba(9, 137, 255, .18);
}

.pd-var-radio:disabled + .pd-chip,
.pd-var-radio:disabled + .pd-swatch {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.pd-var-radio:disabled + .pd-chip::after,
.pd-var-radio:disabled + .pd-swatch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -6%;
    width: 112%;
    height: 1.5px;
    background: #9aa2b1;
    transform: translateY(-50%);
}

/* delivery + policy strip */
.pd-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid var(--pd-border);
    border-radius: 12px;
    background: var(--pd-surface);
}

.pd-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-strip-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pd-primary-soft);
    color: var(--pd-primary);
    font-size: 13px;
}

.pd-strip-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    min-width: 0;
}

.pd-strip-label {
    font-size: 11.5px;
    color: var(--pd-muted);
    text-transform: uppercase;
    letter-spacing: .3px;
}

.pd-strip-value {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--pd-text);
}

.pd-yes {
    color: var(--pd-success);
}

.pd-no {
    color: var(--pd-danger);
}

/* actions */
.pd-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.pd-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 54px;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}

.pd-btn-cart {
    background: var(--pd-surface);
    border: 1.5px solid var(--pd-primary);
    color: var(--pd-primary);
}

.pd-btn-cart:hover {
    background: var(--pd-primary-soft);
    color: var(--pd-primary-dark);
}

.pd-btn-buy {
    background: var(--pd-primary);
    color: #fff;
}

.pd-btn-buy:hover {
    background: var(--pd-primary-dark);
    color: #fff;
}

.pd-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* meta list */
.pd-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px dashed var(--pd-border);
}

.pd-meta-row {
    display: flex;
    gap: 8px;
    font-size: 13.5px;
    color: var(--pd-muted);
}

.pd-meta-row b {
    color: var(--pd-text);
    font-weight: 600;
}

/* ---- Tabs ---------------------------------------------------------------- */
.pd-tabs-card {
    margin-top: 40px;
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    box-shadow: var(--pd-shadow);
    overflow: hidden;
}

.pd-tabs-nav {
    display: flex;
    gap: 4px;
    padding: 6px;
    border-bottom: 1px solid var(--pd-border);
    background: #fbfcfe;
    overflow-x: auto;
    scrollbar-width: none;
}

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

.pd-tab-btn {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--pd-muted);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all .2s ease;
}

.pd-tab-btn:hover {
    color: var(--pd-text);
}

.pd-tab-btn.is-active {
    background: var(--pd-primary);
    color: #fff;
}

.pd-tab-panel {
    display: none;
    padding: 26px 28px;
}

.pd-tab-panel.is-active {
    display: block;
}

.pd-block-title {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
    color: var(--pd-text);
}

.pd-desc {
    font-size: 14.5px;
    line-height: 1.85;
    color: #4b5563;
}

.pd-desc img {
    max-width: 100%;
    height: auto;
}

.pd-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pd-spec-table tr:nth-child(odd) {
    background: #fafbfd;
}

.pd-spec-table td {
    padding: 12px 14px;
    border: 1px solid var(--pd-border);
    color: var(--pd-text);
}

.pd-spec-table td:first-child {
    width: 240px;
    color: var(--pd-muted);
    font-weight: 600;
}

/* ---- Reviews ------------------------------------------------------------- */
.pd-review-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--pd-border);
}

.pd-review-score {
    flex: 0 0 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px;
    border-radius: 12px;
    background: var(--pd-primary-soft);
}

.pd-review-score b {
    font-size: 38px;
    line-height: 1;
    color: var(--pd-text);
}

.pd-review-score span {
    font-size: 12.5px;
    color: var(--pd-muted);
}

.pd-review-bars {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.pd-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: var(--pd-muted);
}

.pd-bar-row span:first-child {
    flex: 0 0 46px;
}

.pd-bar {
    flex: 1;
    height: 7px;
    border-radius: 999px;
    background: #eef1f6;
    overflow: hidden;
}

.pd-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--pd-star);
}

.pd-bar-pct {
    flex: 0 0 38px;
    text-align: right;
}

.pd-review {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--pd-border);
}

.pd-review:last-child {
    border-bottom: 0;
}

.pd-review-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--pd-primary-soft);
    color: var(--pd-primary);
    font-weight: 700;
}

.pd-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-review-body {
    flex: 1;
    min-width: 0;
}

.pd-review-text {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    word-break: break-word;
}

.pd-review-meta {
    font-size: 12.5px;
    color: var(--pd-muted);
}

.pd-review-empty {
    padding: 18px 0;
    font-size: 14px;
    color: var(--pd-muted);
}

.pd-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    margin-top: 16px;
    padding: 0 20px;
    border: 1px solid var(--pd-border);
    border-radius: 10px;
    background: var(--pd-surface);
    color: var(--pd-text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.pd-view-all:hover {
    border-color: var(--pd-primary);
    color: var(--pd-primary);
}

/* review form */
.pd-review-form {
    margin-top: 26px;
    padding: 22px;
    border: 1px solid var(--pd-border);
    border-radius: 12px;
    background: #fbfcfe;
}

.pd-field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pd-text);
}

.pd-star-input {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 20px;
    color: #d8dde5;
}

.pd-star-input i {
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}

.pd-star-input i:hover {
    transform: scale(1.12);
}

.pd-star-input i.on {
    color: var(--pd-star);
}

.pd-star-hint {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pd-muted);
}

.pd-textarea-wrap {
    position: relative;
}

.pd-textarea {
    width: 100%;
    min-height: 118px;
    padding: 14px 16px;
    border: 1px solid var(--pd-border);
    border-radius: 10px;
    background: var(--pd-surface);
    font-size: 14px;
    color: var(--pd-text);
    resize: vertical;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pd-textarea:focus {
    border-color: var(--pd-primary);
    box-shadow: 0 0 0 3px rgba(9, 137, 255, .12);
}

.pd-textarea-count {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 11.5px;
    color: var(--pd-muted);
}

.pd-error {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: var(--pd-danger);
}

.pd-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    margin-top: 16px;
    padding: 0 26px;
    border: 0;
    border-radius: 10px;
    background: var(--pd-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.pd-submit:hover:not(:disabled) {
    background: var(--pd-primary-dark);
}

.pd-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ---- Related products ---------------------------------------------------- */
.pd-related {
    margin-top: 44px;
}

.pd-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.pd-section-title {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    color: var(--pd-text);
}

.pd-section-head a {
    color: var(--pd-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 20px;
}

.pd-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    overflow: hidden;
    box-shadow: var(--pd-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(9, 137, 255, .14);
}

.pd-card-media {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f1f4f9;
    overflow: hidden;
}

.pd-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform .35s ease;
}

.pd-card:hover .pd-card-media img {
    transform: scale(1.06);
}

.pd-card-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--pd-muted);
    box-shadow: 0 2px 8px rgba(16, 24, 40, .12);
    cursor: pointer;
    z-index: 2;
    transition: color .2s ease;
}

.pd-card-wish .fa-solid {
    color: var(--pd-danger);
}

.pd-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
    flex: 1;
}

.pd-card-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--pd-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.pd-card-name:hover {
    color: var(--pd-primary);
}

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

.pd-card-price b {
    font-size: 17px;
    color: var(--pd-text);
}

.pd-card-price del {
    font-size: 13px;
    color: #9aa2b1;
}

.pd-card-usp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--pd-gold-soft);
    color: var(--pd-gold);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: capitalize;
}

.pd-card-btn {
    margin-top: auto;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: var(--pd-primary);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.pd-card-btn:hover {
    background: var(--pd-primary-dark);
}

/* ---- Reviews modal ------------------------------------------------------- */
body.pd-modal-open {
    overflow: hidden;
}

.pd-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: none;
}

.pd-modal.is-open {
    display: block;
}

.pd-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, .55);
}

.pd-modal-dialog {
    position: relative;
    width: min(640px, calc(100% - 32px));
    max-height: calc(100vh - 80px);
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    background: var(--pd-surface);
    border-radius: var(--pd-radius);
    box-shadow: 0 24px 60px rgba(16, 24, 40, .28);
    overflow: hidden;
}

.pd-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--pd-border);
}

.pd-modal-head h5 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--pd-text);
}

.pd-modal-head span {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--pd-muted);
}

.pd-modal-close {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f4f6fa;
    color: var(--pd-muted);
    cursor: pointer;
    transition: all .2s ease;
}

.pd-modal-close:hover {
    background: var(--pd-danger);
    color: #fff;
}

.pd-modal-body {
    padding: 8px 22px 18px;
    overflow-y: auto;
}

.pd-modal-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 22px;
    border-top: 1px solid var(--pd-border);
}

.pd-page-btn {
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--pd-border);
    border-radius: 8px;
    background: var(--pd-surface);
    color: var(--pd-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pd-page-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

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

.pd-loading {
    padding: 26px 0;
    text-align: center;
    font-size: 14px;
    color: var(--pd-muted);
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1199px) {
    .pd-stage {
        height: 440px;
    }

    .pd-info {
        padding-left: 0;
    }
}

@media (max-width: 991px) {
    .pd-gallery {
        position: static;
        margin-bottom: 26px;
    }

    .pd-info {
        padding-left: 0;
    }

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

@media (max-width: 767px) {
    .pd-area {
        padding: 14px 0 60px;
    }

    .pd-gallery {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .pd-thumbs {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
    }

    .pd-thumb {
        width: 62px;
        height: 62px;
    }

    .pd-stage {
        height: 320px;
        padding: 14px;
    }

    .pd-price {
        font-size: 25px;
    }

    .pd-usp {
        margin-left: 0;
    }

    .pd-actions {
        flex-direction: column;
    }

    .pd-tab-panel {
        padding: 20px 16px;
    }

    .pd-spec-table td:first-child {
        width: 140px;
    }

    .pd-review-score {
        flex: 1 1 100%;
    }

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

    .pd-modal-dialog {
        margin: 16px auto;
        max-height: calc(100vh - 32px);
    }
}
