:root {
    --pd-green: #08381c;
    --pd-green-2: #0f4a27;
    --pd-brown: #442615;
    --pd-brown-soft: #7a4a2a;
    --pd-gold: #c98b37;
    --pd-cream: #fbf7ef;
    --pd-cream-2: #f4eee4;
    --pd-border: #e9dfd0;
    --pd-text: #1f221c;
    --pd-muted: #6f6a60;
    --pd-red: #df2b18;
    --pd-white: #ffffff;
    --pd-shadow: 0 18px 45px rgba(44, 28, 14, .08);
    --pd-radius-xl: 18px;
    --pd-radius-lg: 14px;
    --pd-radius-md: 10px;
    --pd-container: 1120px;
}

.pd-page,
.pd-page * {
    box-sizing: border-box;
}

.pd-page {
    color: var(--pd-text);
    background:
        radial-gradient(circle at top left, rgba(201, 139, 55, .08), transparent 34%),
        linear-gradient(180deg, #fff 0%, #fffaf4 50%, #fff 100%);
    
}

.pd-container {
    width: min(var(--pd-container), calc(100% - 32px));
    margin: 0 auto;
}

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


.pd-page input {
    font: inherit;
}

.pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding: 30px 0 26px;
    color: #6d675f;
    font-size: 14px;
}

.pd-breadcrumb a:hover {
    color: var(--pd-green);
}

.pd-breadcrumb span:last-child {
    color: var(--pd-text);
    font-weight: 650;
}

.pd-breadcrumb__sep {
    color: #b9aa98 !important;
}

.pd-hero {
    display: flex;
    grid-template-columns: minmax(0, 1fr) minmax(431px, 1.56fr);
    gap: 24px; /* Thu nhỏ khoảng cách giữa các khối trên mobile cho gọn */
    align-items: stretch;
}

.pd-gallery__main {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    max-height: 760px;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-xl);
    background: #fff;
    box-shadow: var(--pd-shadow);
    outline: none;
}

.pd-gallery,
.pd-gallery__main,
.pd-gallery__slider {
    min-width: 0;
}

.pd-gallery__slider {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform .4s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.pd-gallery__slider .owl-stage-outer,
.pd-gallery__slider .owl-stage,
.pd-gallery__slider .owl-item,
.pd-gallery__slide {
    height: 100%;
}

.pd-gallery__slide {
    flex: 0 0 100%;
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 100%;
}

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

@supports (content-visibility:auto) {
    .pd-tabs,
    .pd-related,
    .pd-faq {
        content-visibility:auto;
        contain-intrinsic-size:auto 520px;
    }
}

.pd-gallery__main-img,
.pd-img-placeholder.pd-gallery__main-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    transition: opacity .2s ease;
}

.pd-img-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: rgba(255, 255, 255, .9);
    text-align: center;
    line-height: 1.25;
    font-weight: 700;
}

.pd-img-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 19% 82%, rgba(99, 54, 23, .95) 0 2px, transparent 3px) 0 0 / 24px 18px,
        radial-gradient(circle at 72% 74%, rgba(154, 91, 42, .88) 0 2px, transparent 3px) 0 0 / 27px 21px,
        linear-gradient(160deg, #3b2418, #1b100b 62%, #0e0906);
    opacity: .92;
}

.pd-img-placeholder::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36%;
    min-width: 185px;
    aspect-ratio: 1 / 1.42;
    transform: translate(-50%, -50%);
    border-radius: 13px 13px 18px 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), transparent 24%),
        linear-gradient(145deg, #171817, #2b2b28 55%, #080908);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .36);
}

.pd-img-placeholder span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 210px;
    min-height: 110px;
    padding: 16px;
    color: #f4dfba;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

.pd-gallery__zoom {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--pd-text);
    background: rgba(255, 255, 255, .92);
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .17);
    transition: transform .2s ease, background .2s ease;
}

.pd-gallery__zoom:hover {
    transform: translateY(-2px);
    background: #fff;
}

.pd-gallery__zoom svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.pd-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 50%;
    color: var(--pd-text);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    cursor: pointer;
    transform: translateY(-50%);
}

.pd-gallery__arrow:hover {
    background: #fff;
}

.pd-gallery__arrow span {
    margin-top: -3px;
    font-size: 34px;
    line-height: 1;
}

.pd-gallery__arrow--prev {
    left: 14px;
}

.pd-gallery__arrow--next {
    right: 14px;
}

.pd-gallery__counter {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 3;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, .58);
    font-size: 12px;
    font-weight: 700;
}

.pd-gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 2px 2px 6px;
    overflow-x: auto;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.pd-gallery__main {
    touch-action: pan-y;
}

@media (prefers-reduced-motion: reduce) {
    .pd-gallery__slider,
    .pd-gallery__main-img,
    .pd-img-placeholder.pd-gallery__main-img {
        transition: none;
    }
}

.pd-gallery__thumb {
    flex: 0 0 78px;
    overflow: hidden;
    height: 78px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(31, 34, 28, .07);
    transition: border-color .2s ease, transform .2s ease;
    scroll-snap-align: center;
}

.pd-gallery__thumb:hover,
.pd-gallery__thumb.is-active {
    border-color: var(--pd-green);
    transform: translateY(-2px);
}

.pd-gallery__thumb-img,
.pd-img-placeholder.pd-gallery__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.pd-gallery__thumb .pd-img-placeholder::after {
    min-width: 34px;
    width: 30%;
}

.pd-gallery__thumb .pd-img-placeholder span {
    max-width: 74px;
    min-height: 0;
    padding: 5px;
    font-size: 10px;
    font-weight: 650;
}

.pd-summary {
    min-width: 0;
    padding-top: 8px;
}

.pd-badge {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--pd-brown);
    background: #f4eadc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .025em;
}

.pd-badge--banchay {
    color: #fff;
    background: #1a4d2e;
}

.pd-badge--moi {
    color: #fff;
    background: #c69a50;
}

.pd-badge--giamgia {
    color: #fff;
    background: #d32f2f;
}

/* .pd-title {
        max-width: 620px;
    margin: 20px 0 15px;
    color: #102817;
   
    font-size: 23px;
    line-height: 1.02;
    letter-spacing: -.04em;
    text-transform: capitalize;
    overflow-wrap: anywhere;
} */

.pd-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #5b5a52;
    font-size: 15px;
}

.pd-stars {
    display: inline-flex;
    gap: 3px;
    color: #f59f00;
}

.pd-stars svg {
    width: 18px;
    height: 18px;
    fill: #d8d1c5;
}

.pd-stars svg.is-filled {
    fill: currentColor;
}

.pd-meta strong {
    color: var(--pd-text);
}

.pd-meta__divider {
    width: 1px;
    height: 18px;
    background: #d7cab8;
}

.pd-short-desc {
    max-width: 650px;
    margin: 26px 0 24px;
    color: #4b4a43;
    line-height: 1.75;
}

.pd-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.pd-price {
    color: var(--pd-red);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.pd-old-price {
    color: #aaa19a;
    font-size: 18px;
    text-decoration: line-through;
}

.pd-saving {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 9px;
    color: #8a5a2a;
    background: #f2e8dc;
    font-size: 14px;
    font-weight: 700;
}

.pd-buybox {
    display: grid;
    gap: 18px;
}

.pd-option {
    margin: 0;
    padding: 0;
    border: 0;
}

.pd-option legend,
.pd-quantity-row > label {
    display: block;
    margin-bottom: 11px;
    color: #403c34;
    font-size: 15px;
    font-weight: 700;
}

.pd-option__items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pd-choice {
    min-width: 120px;
    position: relative;
    display: inline-grid;
    place-items: center;
    min-height: 50px;
    padding: 0 25px;
    border: 1px solid #dcd1c2;
    border-radius: 9px;
    color: #3e3a32;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.pd-choice span {
    font-weight: 700;
}

.pd-choice:hover,
.pd-choice.is-selected,
.pd-choice:has(input:checked) {
    border-color: var(--pd-green);
    color: var(--pd-green);
    background: #fffdfa;
    box-shadow: inset 0 0 0 1px rgba(8, 56, 28, .12);
}

.pd-quantity-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 2px;
}

.pd-quantity-row > label {
    width: 100%;
    margin-bottom: -3px;
}

.pd-quantity {
    display: inline-flex;
    align-items: center;
    height: 48px;
    border: 1px solid #dcd1c2;
    border-radius: 9px;
    background: #fff;
}

.pd-quantity button {
    width: 44px;
    height: 46px;
    border: 0;
    color: #604532;
    background: transparent;
    cursor: pointer;
    font-size: 21px;
    transition: background .2s ease;
}

.pd-quantity button:hover {
    background: #f7f0e8;
}

.pd-quantity input {
    width: 54px;
    height: 46px;
    border: 0;
    border-left: 1px solid #eee3d5;
    border-right: 1px solid #eee3d5;
    text-align: center;
    font-weight: 750;
    outline: 0;
    appearance: textfield;
}

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

.pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4a7356;
    font-size: 14px;
    font-weight: 650;
}

.pd-stock svg {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    fill: currentColor;
    background: #eaf4ed;
}

.pd-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 8px;
}

.pd-actions[hidden],
.pd-contact-action[hidden] {
    display: none !important;
}

.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

/* .pd-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(8, 56, 28, .16);
} */

.pd-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.pd-quote-button__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.pd-quote-button__text small {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 500;
}

.pd-btn--cart {
    border: 1px solid #a27052;
    color: #8a4d2b;
    background: #fff;
}

.pd-btn--buy {
    border: 1px solid var(--pd-green);
    color: #fff;
    background: var(--pd-green);
}

.pd-btn--buy:hover {
    background: var(--pd-green-2);
}

.pd-service-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.pd-service {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
}

.pd-service + .pd-service {
    padding-left: 15px;
    border-left: 1px solid #eadfce;
}

.pd-service p {
    margin: 0;
    color: #5c564e;
    font-size: 13px;
    line-height: 1.35;
}

.pd-service strong {
    color: #4f3c2f;
    font-size: 14px;
}

.pd-service__icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    color: #9a5d36;
}

.pd-service__icon::before {
    font-size: 30px;
    line-height: 1;
}


.pd-tabs {
    margin: 25px 0px;

    border: 1px solid #eadfd4;
    border-radius: 10px;
}



.pd-tab-btn {
    position: relative;
    height: 60px;
    border: 0;
    color: #4f4c47;
    background: transparent;
    cursor: pointer;
    font-weight: 760;
}

.pd-tab-btn::after {
    content: "";
    position: absolute;
    right: 30%;
    bottom: -1px;
    left: 30%;
    height: 3px;
    border-radius: 99px 99px 0 0;
    background: transparent;
    transition: left .22s ease, right .22s ease, background .22s ease;
}

.pd-tab-btn.is-active {
    color: var(--pd-green);
}

.pd-tab-btn.is-active::after {
    right: 0;
    left: 0;
    background: var(--pd-green);
}

.pd-tabs__panels {
    overflow: hidden;
 
    border-top: 0;
    border-radius: 0 0 var(--pd-radius-lg) var(--pd-radius-lg);
    background: #fff;
}

.pd-tab-panel {
       padding: 30px;
    text-align: justify;
}

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

.pd-tab-content {
    --pd-content-collapsed-height: 420px;
    display: flow-root;

    color: #4d4b46;
    font-size: clamp(15px, 1.05vw, 16px);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.pd-tab-content.is-collapsible {
    position: relative;
    max-height: var(--pd-content-collapsed-height);
    overflow: hidden;
}

.pd-tab-content.is-collapsible:not(.is-expanded)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 96px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 82%);
}

.pd-tab-content.is-collapsible.is-expanded {
    max-height: none;
    overflow: visible;
}

.pd-content-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    min-height: 40px;
    margin: 18px auto 0;
    padding: 8px 18px;
    border: 1px solid #d7c5b5;
    border-radius: 999px;
    color: var(--pd-brown);
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.pd-content-toggle:hover {
    border-color: var(--pd-green);
    color: var(--pd-green);
    background: #fbf8f3;
}

.pd-content-toggle span:last-child {
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}

.pd-content-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(180deg);
}

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

.pd-tab-content p {
    margin: 0 0 1.15em;
}

.pd-tab-content > :first-child {
    margin-top: 0;
        font-size: medium;

}

.pd-tab-content > :last-child {
    margin-bottom: 0;
}

.pd-tab-content h1,
.pd-tab-content h2,
.pd-tab-content h3,
.pd-tab-content h4,
.pd-tab-content h5,
.pd-tab-content h6 {
    margin: 1.8em 0 .7em;
    color: #2f251e;
    font-weight: 750;
    line-height: 1.3;
   
}

.pd-tab-content h1 {
    font-size: clamp(26px, 3vw, 34px);
}

.pd-tab-content h2 {
    padding-bottom: .45em;
    border-bottom: 1px solid #eadfd4;
    color: var(--pd-green);
    font-size: clamp(22px, 2.5vw, 30px);
}

.pd-tab-content h3 {
    color: var(--pd-brown-soft);
    font-size: clamp(19px, 2vw, 24px);
}

.pd-tab-content h4,
.pd-tab-content h5,
.pd-tab-content h6 {
    color: #4f3c2f;
    font-size: clamp(17px, 1.7vw, 20px);
}

.pd-tab-content strong,
.pd-tab-content b {
    color: #33271f;
    font-weight: 700;
}

.pd-tab-content a {
    color: var(--pd-green-2);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.pd-tab-content a:hover {
    color: var(--pd-brown-soft);
}

.pd-tab-content ul,
.pd-tab-content ol {
    margin: 0 0 1.25em;
    padding-left: 1.5em;
}

.pd-tab-content li {
    margin: .45em 0;
    padding-left: .2em;
}

.pd-tab-content li > p {
    margin: 0;
}

.pd-tab-content ul ul,
.pd-tab-content ul ol,
.pd-tab-content ol ul,
.pd-tab-content ol ol {
    margin-top: .45em;
    margin-bottom: .45em;
}

.pd-tab-content ul li {
      list-style: disc;
}

.pd-tab-content hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid #eadfd4;
}

.pd-tab-content img,
.pd-tab-content video,
.pd-tab-content embed,
.pd-tab-content object {
    display: block;
    max-width: 100%;
    height: auto;
}

.pd-tab-content figure,
.pd-tab-content .wp-caption {
    width: auto !important;
    max-width: 100%;
    margin: 1.6em auto;
    text-align: center;
}

.pd-tab-content figure img,
.pd-tab-content .wp-caption img {
    margin-right: auto;
    margin-left: auto;
}

.pd-tab-content figcaption,
.pd-tab-content .wp-caption-text {
    margin: .7em auto 0;
    color: #7b746b;
    font-size: .88em;
    font-style: italic;
    line-height: 1.55;
}

.pd-tab-content blockquote {
    margin: 1.5em 0;
    padding: .8em 1.2em;
    border-left: 4px solid var(--pd-gold);
    color: #5f554b;
    background: #fbf8f3;
}

.pd-tab-content blockquote > :last-child {
    margin-bottom: 0;
}

.pd-tab-content pre {
    max-width: 100%;
    margin: 1.5em 0;
    padding: 1em 1.2em;
    overflow-x: auto;
    border: 1px solid #eadfd4;
    border-radius: var(--pd-radius-md);
    color: #33271f;
    background: #f8f5ef;
    font-size: .9em;
    line-height: 1.6;
    white-space: pre;
}

.pd-tab-content :not(pre) > code,
.pd-tab-content > code {
    padding: .12em .35em;
    border-radius: 4px;
    color: #6d3d20;
    background: #f4eee4;
    font-size: .9em;
}

.pd-tab-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.5em 0;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: .95em;
}

.pd-tab-content th,
.pd-tab-content td {
    min-width: 120px;
    padding: .7em .85em;
    border: 1px solid #e5d9cc;
    text-align: left;
    vertical-align: top;
}

.pd-tab-content th {
    color: #33271f;
    background: #f8f5ef;
    font-weight: 700;
}

.pd-tab-content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 320px;
    margin: 1.5em 0;
    border: 0;
    aspect-ratio: 16 / 9;
}

.pd-tab-content .alignleft {
    margin-right: 1.5em;
    margin-bottom: 1em;
    float: left;
}

.pd-tab-content .alignright {
    margin-bottom: 1em;
    margin-left: 1.5em;
    float: right;
}

.pd-tab-content .aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
    float: none;
}

.pd-detail-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-detail-list li {
    position: relative;
    padding-left: 32px;
}

.pd-detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid #d5c5b0;
    border-radius: 999px;
    color: var(--pd-brown-soft);
    font-size: 11px;
    font-weight: 900;
}

.pd-specs {
    width: min(100%, 560px);
    margin-left: auto;
    border: 1px solid #eadfce;
    border-radius: 12px;
    background: #fffdf9;
}

.pd-specification-card {
    margin-top: 22px;
}

.pd-specification-card h2 {
    margin: 0 0 12px;
    color: #2a2118;
    font-size: 20px;
    line-height: 1.25;
}

.pd-specification-card .pd-specs {
    width: 100%;
    margin-left: 0;
}

.pd-specification-card .pd-specs__row span {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.pd-specs__row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 18px;
    padding: 16px 24px;
    color: #5a554d;
    font-size: 15px;
}

.pd-specs__row + .pd-specs__row {
    border-top: 1px solid #eadfce;
}

.pd-specs__row strong {
    color: #3b3730;
}

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

.pd-section-head h2,
.pd-faq h2 {
    margin: 0;
    color: #2a2118;
  
    font-size: 26px;
    line-height: 1.2;
}

.pd-section-head a {
    color: #4e3c2e;
    font-size: 15px;
    font-weight: 700;
}

.pd-section-head a:hover {
    color: var(--pd-green);
}

.pd-related {
    margin-bottom: 44px;
}

.pd-related__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.pd-faq {
    padding-bottom: 58px;
}

.pd-faq h2 {
    margin-bottom: 18px;
}

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

.pd-faq__item {
    border: 1px solid #e4dbce;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.pd-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    color: #37332c;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-weight: 650;
}

.pd-faq__question svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    fill: #5e554b;
    transition: transform .22s ease;
}

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

.pd-faq__answer {
    padding: 0 18px 16px;
    color: #645e55;
    font-size: 14px;
    line-height: 1.65;
}

.pd-faq__answer p {
    margin: 0;
}

.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 26px;
    background: rgba(0, 0, 0, .72);
}

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

.pd-lightbox__close {
    position: fixed;
    right: 24px;
    top: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.18);
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
}

.pd-lightbox__content {
    
    max-height: 88vh;
    overflow: hidden;
    border-radius: 18px;
    background: #1f140e;
}

.pd-lightbox__content img,
.pd-lightbox__content .pd-img-placeholder {
    width: 100%;
    height: min(88vh, 760px);
    object-fit: contain;
}

@media (min-width: 993px) {
    .pd-gallery {
        position: sticky;
        top: 68px;
        align-self: start;
    }
}

@media (max-width: 1180px) {
    

    .pd-summary {
        padding-top: 0;
    }

    .pd-related__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 760px) {
    .pd-tab-content {
        --pd-content-collapsed-height: 340px;
        font-size: 15px;
    }

    .pd-tab-content h1 {
        font-size: 26px;
    }

    .pd-tab-content h2 {
        font-size: 23px;
    }

    .pd-tab-content h3 {
        font-size: 20px;
    }

    .pd-tab-content .alignleft,
    .pd-tab-content .alignright {
        margin-right: 0;
        margin-left: 0;
        float: none;
    }

    .pd-tab-content iframe {
        min-height: 220px;
    }

    .pd-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pd-container {
        width: min(100% - 24px, var(--pd-container));
    }
    .pd-hero {
        display: grid;
        /* Chia 2 cột tỷ lệ bằng nhau hoặc tự co giãn linh hoạt, không cố định px */
        grid-template-columns: 1fr; 
        gap: 24px;
        align-items: start;
    }


    .pd-breadcrumb {
        padding: 18px 0;
        font-size: 13px;
    }



    .pd-gallery__main,
    .pd-gallery__main-img,
    .pd-img-placeholder.pd-gallery__main-img {
        min-height: 0;
    }

    .pd-gallery__thumbs {
        margin-top: 10px;
    }

    .pd-gallery__thumb {
        flex-basis: 66px;
        height: 66px;
    }

    .pd-gallery__arrow {
        width: 44px;
        height: 44px;
    }

    .pd-gallery__arrow--prev {
        left: 8px;
    }

    .pd-gallery__arrow--next {
        right: 8px;
    }

    .pd-title {
        margin-top: 14px;
    }

    .pd-meta {
        font-size: 13px;
    }

    .pd-short-desc {
        font-size: 15px;
    }


    .pd-service-row,
    .pd-tabs__nav,
   
    .pd-faq__grid {
        grid-template-columns: 1fr;
    }

    .pd-service + .pd-service {
        border-left: 0;
        border-top: 1px solid #e8d8c4;
        padding-top: 16px;
    }

    .pd-tabs__nav {
        border: 1px solid #e6dccc;
        border-bottom: 0;
        border-radius: 12px 12px 0 0;
        overflow: hidden;
    }

    .pd-tab-btn {
        border-bottom: 1px solid #e6dccc;
    }

    .pd-tab-btn::after {
        display: none;
    }

    .pd-tab-panel {
    padding: 30px;
    text-align: justify;
    }

    .pd-specs {
        width: 100%;
        margin-left: 0;
    }

    .pd-specs__row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 16px;
    }
}
.pd-choice.is-disabled {
    cursor: not-allowed;
    opacity: .45;
}

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

/* ===========================================================================
   MTP product detail theme
   This layer intentionally follows the shared storefront tokens. It remains
   scoped to .pd-page so product content and legacy rich-text stay isolated.
   ========================================================================== */
.pd-page {
    --pd-navy: var(--mtp-navy, #06376f);
    --pd-navy-deep: var(--mtp-navy-deep, #03295b);
    --pd-blue: var(--mtp-blue, #0868b9);
    --pd-orange: var(--mtp-orange, #fa4d12);
    --pd-bg: var(--mtp-bg, #f6f9fc);
    --pd-ink: var(--mtp-ink, #142943);
    --pd-muted: var(--mtp-muted, #64748b);
    --pd-border: var(--mtp-line, #e1e9f1);
    --pd-shadow: var(--mtp-shadow, 0 4px 16px rgba(9, 45, 83, .08));
    --pd-radius-xl: var(--mtp-radius, 9px);
    --pd-radius-lg: var(--mtp-radius, 9px);
    --pd-radius-md: 6px;
    /* Legacy content rules below consume these aliases. */
    --pd-green: var(--pd-navy);
    --pd-green-2: var(--pd-blue);
    --pd-brown: var(--pd-navy);
    --pd-brown-soft: var(--pd-blue);
    --pd-gold: var(--pd-orange);
    --pd-cream: var(--pd-bg);
    --pd-cream-2: #e9f4ff;
    --pd-text: var(--pd-ink);
    --pd-red: var(--pd-orange);
    color: var(--pd-ink);
    background: var(--pd-bg);
    padding: 0 0 42px;
}

.pd-page :is(button, input) {
    font-family: var(--font-primary);
}

.pd-breadcrumb {
    padding: 18px 0;
    color: var(--pd-muted);
    font-size: 13px;
}

.pd-breadcrumb a:hover,
.pd-section-head a:hover {
    color: var(--pd-blue);
}

.pd-breadcrumb span:last-child,
.pd-meta strong {
    color: var(--pd-ink);
}

.pd-breadcrumb__sep,
.pd-meta__divider {
    color: #aebdcd !important;

}

.pd-hero {
    display: grid;
    grid-template-columns: minmax(360px, 1.05fr) minmax(0, .95fr);
    align-items: start;
    gap: 24px;
}

.pd-gallery {
    min-width: 0;
}

.pd-gallery__main {
    border-color: var(--pd-border);
    border-radius: var(--pd-radius-xl);
    background: #fff;
    box-shadow: var(--pd-shadow);
}

.pd-img-placeholder::before {
    background:
        radial-gradient(circle at 19% 82%, rgba(8, 104, 185, .8) 0 2px, transparent 3px) 0 0 / 24px 18px,
        radial-gradient(circle at 72% 74%, rgba(250, 77, 18, .72) 0 2px, transparent 3px) 0 0 / 27px 21px,
        linear-gradient(145deg, var(--pd-navy-deep), var(--pd-navy) 58%, var(--pd-blue));
}

.pd-img-placeholder::after {
    background: linear-gradient(145deg, #0b315f, var(--pd-navy) 55%, #021d42);
}

.pd-img-placeholder span { color: #fff; }

.pd-gallery__main:focus-visible {
    outline: 3px solid rgba(8, 104, 185, .32);
    outline-offset: 3px;
}

.pd-gallery__zoom,
.pd-gallery__arrow {
    border: 1px solid var(--pd-border);
    color: var(--pd-navy);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 12px rgba(9, 45, 83, .13);
}

.pd-gallery__zoom:hover,
.pd-gallery__arrow:hover {
    color: #fff;
    background: var(--pd-blue);
}

.pd-gallery__zoom:focus-visible,
.pd-gallery__arrow:focus-visible,
.pd-gallery__thumb:focus-visible {
    outline: 3px solid rgba(8, 104, 185, .32);
    outline-offset: 2px;
}

.pd-gallery__counter {
    background: rgba(3, 41, 91, .82);
}

.pd-gallery__thumb {
    border-color: var(--pd-border);
    border-radius: var(--pd-radius-md);
    box-shadow: none;
}

.pd-gallery__thumb:hover,
.pd-gallery__thumb.is-active {
    border-color: var(--pd-blue);
    box-shadow: 0 0 0 2px rgba(8, 104, 185, .12);
}

.pd-summary {
    padding-top: 2px;
}

.pd-badge,
.pd-badge--banchay,
.pd-badge--moi,
.pd-badge--giamgia {
    min-height: 25px;
    height: auto;
    padding: 5px 10px;
    border-radius: 4px;
    color: #fff;
    background: var(--pd-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
}

.pd-badge--giamgia { background: var(--pd-orange); }

.pd-title {
    max-width: none;
    margin: 13px 0 12px;
    color: var(--pd-navy) !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: -.025em;
    text-transform: none;
}

.pd-meta {
    gap: 8px;
    color: var(--pd-muted);
    font-size: 13px;
}

.pd-stars { color: #f59e0b; }

.pd-meta__divider { height: 15px; }

.pd-short-desc {
    max-width: 720px;
    margin: 18px 0 20px;
    color: #4e6177;
    font-size: 15px;
    line-height: 1.68;
}

.pd-price-row {
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 0;
    border-top: 1px solid var(--pd-border);
    border-bottom: 1px solid var(--pd-border);
}

.pd-price {
    color: var(--pd-navy) !important;
    font-size:24px;
    font-weight: 800;
}

.pd-old-price {
    color: var(--pd-muted);
    font-size: 15px;
}

.pd-saving {
    height: auto;
    padding: 5px 9px;
    border-radius: 4px;
    color: #c53d0a;
    background: #fff0e9;
    font-size: 12px;
}

.pd-buybox { gap: 16px; }

.pd-option legend,
.pd-quantity-row > label {
    margin-bottom: 9px;
    color: var(--pd-ink);
    font-size: 14px;
    font-weight: 700;
}

.pd-option__items { gap: 9px; }

.pd-choice {
    min-width: 104px;
    min-height: 43px;
    padding: 0 17px;
    border-color: #cbd8e5;
    border-radius: var(--pd-radius-md);
    color: var(--pd-ink);
    background: #fff;
    font-size: 14px;
}

.pd-choice:hover,
.pd-choice.is-selected,
.pd-choice:has(input:checked) {
    border-color: var(--pd-blue);
    color: var(--pd-navy);
    background: #edf7ff;
    box-shadow: inset 0 0 0 1px var(--pd-blue);
}

.pd-quantity { border-color: #cbd8e5; border-radius: var(--pd-radius-md); }
.pd-quantity button { color: var(--pd-navy); }
.pd-quantity button:hover { background: #edf7ff; }
.pd-quantity input { border-color: #e0e9f2; color: var(--pd-ink); }

.pd-stock { color: var(--mtp-green, #13813d); }
.pd-stock svg { background: #e8f7ee; }

.pd-actions { gap: 12px; margin-top: 4px; }

.pd-btn {
    min-height: 50px;
    border-radius: var(--pd-radius-md);
    font-size: 14px;
    font-weight: 700;
}

.pd-btn--cart {
    border-color: var(--pd-navy);
    color: var(--pd-navy);
    background: #fff;
}

.pd-btn--cart:hover {
    color: #fff;
    background: var(--pd-navy);
    box-shadow: 0 10px 20px rgba(3, 41, 91, .18);
}

.pd-btn--buy,
.pd-contact-action {
    border-color: var(--pd-orange);
    color: #fff;
    background: var(--pd-orange);
}

.pd-btn--buy:hover,
.pd-contact-action:hover {
    color: #fff;
    background: #df3e08;
    box-shadow: 0 10px 20px rgba(250, 77, 18, .24);
}

.pd-btn:focus-visible,
.pd-choice:focus-within,
.pd-quantity button:focus-visible,
.pd-content-toggle:focus-visible,
.pd-tab-btn:focus-visible,
.pd-faq__question:focus-visible {
    outline: 3px solid rgba(8, 104, 185, .32);
    outline-offset: 2px;
}

.pd-service-row {
    gap: 0;
    margin-top: 26px;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    background: #fff;
}

.pd-service { min-height: 70px; padding: 12px 14px; }
.pd-service + .pd-service { padding-left: 14px; border-color: var(--pd-border); }
.pd-service p { color: var(--pd-muted); }
.pd-service strong { color: var(--pd-navy); }
.pd-service__icon { color: var(--pd-blue); }

.pd-specification-card { margin-top: 24px; }
.pd-specification-card h2,
.pd-section-head h2,
.pd-faq h2 {
    color: var(--pd-navy);
    font-size: clamp(20px, 1.7vw, 25px);
}

.pd-specs {
    border-color: var(--pd-border);
    border-radius: var(--pd-radius-lg);
    background: #fff;
}

.pd-specs__row { color: var(--pd-muted); }
.pd-specs__row + .pd-specs__row { border-color: var(--pd-border); }
.pd-specs__row strong { color: var(--pd-ink); }

.pd-tabs,
.pd-related,
.pd-faq__item {
    border: 1px solid var(--pd-border);
    border-color: var(--pd-border);
    border-radius: var(--pd-radius-lg);
    background: #fff;
    box-shadow: var(--pd-shadow);
}

.pd-tabs-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
    align-items: start;
    gap: 24px;
    margin: 30px 0;
}
.pd-tabs-main {
    display: grid;
    min-width: 0;
    gap: 24px;
}
.pd-video-reviews {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    background: #fff;
    box-shadow: var(--pd-shadow);
}
.pd-video-reviews__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pd-border);
}
.pd-video-reviews__heading h2 { margin: 0; color: var(--pd-navy); font-size: clamp(19px, 1.7vw, 24px); }
.pd-video-reviews__heading span { color: var(--pd-orange); font-size: 24px; }
.pd-video-reviews__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pd-video-reviews--grid .pd-video-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd-video-reviews__item { overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--pd-radius-md); background: #061d3d; }
.pd-video-reviews__item iframe { display: block; width: 100%; height: 100%; border: 0; }
.pd-tabs {
    min-width: 0;
    margin: 0;
    overflow: hidden;
}
.pd-tabs > .pd-content { min-width: 0; }
.pd-tabs__sidebar {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 22px;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    background: #fbfdff;
    box-shadow: var(--pd-shadow);
}
.pd-tabs__support-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-md);
    background: #fff;
}
.pd-tabs__support-icon {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--pd-blue);
}
.pd-tabs__support-card h2 {
    margin: 0 0 5px;
    color: var(--pd-navy);
    font-size: 15px;
}
.pd-tabs__support-card p {
    margin: 0 0 8px;
    color: var(--pd-muted);
    font-size: 13px;
    line-height: 1.5;
}
.pd-tabs__support-card a {
    color: var(--pd-blue);
    font-size: 13px;
    font-weight: 700;
}
.pd-tabs__support-card a:hover { color: var(--pd-orange); }
.pd-tabs__hotline { display: inline-block; color: var(--pd-orange) !important; font-size: 19px !important; }
.pd-tabs__nav { border-color: var(--pd-border) !important; background: #fff; }

.pd-tab-btn {
    height: 54px;
    color: var(--pd-muted);
    font-size: 14px;
}

.pd-tab-btn:hover,
.pd-tab-btn.is-active { color: var(--pd-navy); background: #f5faff; }
.pd-tab-btn.is-active::after { background: var(--pd-orange); }
.pd-tabs__panels { background: #fff; }

.pd-tab-content { color: #4e6177; line-height: 1.72; }
.pd-tab-content h1,
.pd-tab-content h2,
.pd-tab-content h3,
.pd-tab-content h4,
.pd-tab-content h5,
.pd-tab-content h6,
.pd-tab-content strong,
.pd-tab-content b { color: var(--pd-navy); }
.pd-tab-content h2 { border-color: var(--pd-border); }
.pd-tab-content h3 { color: var(--pd-blue); }
.pd-tab-content a { color: var(--pd-blue); }
.pd-tab-content a:hover { color: var(--pd-orange); }
.pd-tab-content blockquote { border-color: var(--pd-orange); color: #4e6177; background: #f5faff; }
.pd-tab-content pre,
.pd-tab-content th { border-color: var(--pd-border); color: var(--pd-ink); background: #f5faff; }
.pd-tab-content :not(pre) > code,
.pd-tab-content > code { color: var(--pd-navy); background: #e9f4ff; }
.pd-tab-content hr,
.pd-tab-content th,
.pd-tab-content td { border-color: var(--pd-border); }
.pd-tab-content figcaption,
.pd-faq__answer { color: var(--pd-muted); }

.pd-content-toggle {
    border-color: #b8cce1;
    color: var(--pd-navy);
    background: #fff;
}

.pd-content-toggle:hover { border-color: var(--pd-blue); color: #fff; background: var(--pd-blue); }

.pd-related { padding: 22px; margin-bottom: 30px; }
.pd-section-head { margin-bottom: 18px; }
.pd-section-head a { color: var(--pd-blue); font-size: 13px; }
.pd-related__grid { gap: 14px; }


.pd-faq h2 { margin-bottom: 16px; }
.pd-faq__item { overflow: hidden; box-shadow: none; }
.pd-faq__question { color: var(--pd-ink); background: #fff; }
.pd-faq__question:hover,
.pd-faq__question[aria-expanded="true"] { color: var(--pd-navy); background: #f5faff; }
.pd-faq__question svg { fill: var(--pd-blue); }

.pd-lightbox { background: rgba(3, 25, 56, .82); }
.pd-lightbox__content { border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--pd-radius-xl); background: #fff; }
.pd-lightbox__close { background: var(--pd-orange); }

@media (max-width: 1180px) {
    .pd-hero {
        grid-template-columns: minmax(310px, .9fr) minmax(0, 1.1fr);
        gap: 28px;
    }

    .pd-related__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
    .pd-page { padding-bottom: 28px; }
    .pd-breadcrumb { padding: 14px 0; }
    .pd-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .pd-gallery__main { max-height: none; }
    .pd-title { font-size: 25px; }
    .pd-price-row { margin-bottom: 18px; }

    .pd-btn { min-height: 48px; }
    .pd-service-row { grid-template-columns: 1fr; }
    .pd-service + .pd-service { padding-left: 14px; border-top-color: var(--pd-border); }
    .pd-tabs {
        margin: 0;
    }
    .pd-tabs-layout {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 24px 0;
    }
    .pd-tabs-main { gap: 18px; }
    .pd-video-reviews { padding: 18px; }
    .pd-video-reviews__grid { grid-template-columns: 1fr; gap: 12px; }
    .pd-tabs__sidebar {
        padding: 18px;
    }
    .pd-tabs__nav { display: flex !important; overflow-x: auto; }
    .pd-tab-btn { flex: 0 0 auto; min-width: max-content; padding: 0 18px; }
    .pd-tab-panel { padding: 22px 18px; }
    .pd-related,
    .pd-faq { padding: 18px; }
    .pd-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pd-faq__grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .pd-meta__divider { display: none; }
    .pd-gallery__thumb { flex-basis: 58px; height: 58px; }
    .pd-choice { min-width: 92px; padding: 0 12px; }
    .pd-specs__row { padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .pd-page *,
    .pd-page *::before,
    .pd-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.pd-btn--quote{display:flex;width:100%;justify-content:center;align-items:center;gap:10px;margin-top:0px;background:var(--pd-brown-soft)!important;color:#fff;border-color:var(--mtp-orange)!important;font-size:17px;min-height:52px}.pd-btn--quote:focus-visible{outline:3px solid rgba(250,77,18,.35);outline-offset:2px}.pd-btn--quote svg{width:21px;height:21px}
