:root {
    --pd-main: #dc2626;
    --pd-main-dark: #b52222;
    --pd-blue: #1e73be;
    --pd-blue-light: #3b82f6;
    --pd-emerald: #10b981;
    --pd-amber: #f59e0b;
    --pd-slate-50: #f8fafc;
    --pd-slate-100: #f1f5f9;
    --pd-slate-200: #e2e8f0;
    --pd-slate-300: #cbd5e1;
    --pd-slate-400: #94a3b8;
    --pd-slate-500: #64748b;
    --pd-slate-600: #475569;
    --pd-slate-700: #334155;
    --pd-slate-800: #1e293b;
    --pd-slate-900: #0f172a;
    --pd-border: #e5e7eb;
    --pd-radius-xl: 1rem;
    --pd-radius-2xl: 1.25rem;
    --pd-radius-3xl: 1.5rem;
}

* {
    box-sizing: border-box;
}
td, th {
    font-size: initial;
}
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--pd-slate-50);
    color: var(--pd-slate-800);
}

.pd-page {
    width: 100%;
    background: var(--pd-slate-50);
    min-height: 100vh;
    color: var(--pd-slate-800);
    padding-bottom: 5rem;
    /* user-select: none; */
}

.pd-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* ============ MAIN GRID ============ */
.pd-main-wrap {
    /* max-width: 80rem; */
    /* margin: 0 auto; */
    padding: 30px 16px 0 16px;
    padding-inline: 0;
}

.pd-top-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: #fff;
    padding: 1rem;
    border-radius: var(--pd-radius-3xl);
    border: 1px solid var(--pd-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.pd-top-card {
    grid-template-columns: repeat(12, 1fr);
    padding: 2rem;
}

@media (max-width: 1024px) {
    .pd-top-card {
        grid-template-columns: repeat(12, 1fr);
        padding: 2rem;
    }
    .pd-related-card {
        /* margin-top: 25px; */
    }

    .pd-gallery-col {
        grid-column: span 12;
        order: 1;
    }

    .pd-info-col {
        grid-column: span 12;
        order: 2;
    }
    .pd-bottom-grid {
        /* display: block!important; */
    }
}

.pd-gallery-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ============ GALLERY ============ */
.pd-gallery-flex {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
    min-width: 0;
    width: 100%;
}

.pd-main-swiper-wrap {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}


.pd-main-swiper {
    position: relative;
    border-radius: var(--pd-radius-2xl);
    border: 1px solid var(--pd-slate-200);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    background: var(--pd-slate-100);
    aspect-ratio: 1/1;
    width: 100%;
    overflow: hidden;
}

.pd-main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.pd-flash-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(90deg, var(--pd-main), #ef4444cc);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
    z-index: 10;
    animation: pd-pulse 1.8s ease-in-out infinite;
}

@keyframes pd-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.55;
    }
}

.pd-thumbs-wrap {
    /* flex: 1 1 100%; */
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.pd-thumb-btn {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid var(--pd-slate-200);
    background: var(--pd-slate-50);
    aspect-ratio: 1/1;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pd-thumb-btn:hover {
    border-color: rgba(30, 115, 190, 0.5);
}

.pd-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide-thumb-active .pd-thumb-btn {
    border-color: var(--pd-blue) !important;
    box-shadow: 0 4px 6px -1px rgba(30, 115, 190, 0.15), 0 2px 4px -1px rgba(30, 115, 190, 0.1) !important;
    transform: scale(1.02);
}

/* ============ COMMITMENT BOX ============ */
.pd-commit-box {
    background: var(--pd-slate-50);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--pd-radius-2xl);
    padding: 1.25rem;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
}

.pd-commit-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pd-slate-800);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pd-commit-title-dot {
    display: inline-block;
    width: 6px;
    height: 14px;
    background: var(--pd-emerald);
    border-radius: 9999px;
}

.pd-commit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .pd-commit-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pd-commit-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fff;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--pd-slate-100);
}

.pd-commit-item img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.pd-commit-item p {
    font-size: 14px;
    color: var(--pd-slate-600);
    line-height: 1.5;
    /* font-weight: 600; */
    margin: 0;
}

.pd-commit-item a, .pd-commit-item strong {
    color: var(--pd-blue);
    font-weight: 700;
}

/* ============ PRICE CARD ============ */
.pd-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pd-price-card {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--pd-radius-2xl);
    padding: 1.25rem;
}

.pd-price-top {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    gap: 1rem;
}

.pd-price-label {
    font-size: 11px;
    color: var(--pd-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.pd-price-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    /* margin-top: 0.25rem; */
    flex-wrap: wrap;
}

.pd-price-current {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pd-main);
    letter-spacing: -0.01em;
    line-height: unset;
}

@media (min-width: 768px) {
    .pd-price-current {
        /* font-size: 2rem; */
    }
}

@media (max-width: 767px) {
    .pd-top-card {
        display: block!important;
    }
    .pd-phone-number {
        font-size: 15px!important;
    }
    .pd-info-col .pd-price-current bdi {
        font-size: 23px!important;
    }
    .pd-tabs-card {
        padding-inline: 15px!important;
    }
    .pd-toc a {
        font-size: 14px;
    }
    .tadaca-sticky-product__price-value del {
        display: none;
    }
    /*.pd-breadcrumb {
        flex-wrap: wrap!important;
    }*/
    .pd-breadcrumb-wrap{
        padding-inline: 0!important;
    }
    .pd-tab-btn {
        line-height: 20px!important;
        padding: 0 0 12px !important;
    }
    .pd-price-card {
        margin-top: 20px;
    }
    .pd-top-card {
        padding: 15px!important;
    }

    .pd-title {
        font-size: 17px!important;
    }
    /*.pd-feature-grid {
        display: block!important;
    }*/

    .pd-feature-item{
        flex-wrap: wrap;
        flex-direction: column;
    }

    .pd-delivery-top {
        flex-wrap: wrap;
        justify-content: start;
    }
    .pd-zalo-wrap {
        display: inline-flex!important;
    }
    .pd-main-wrap .wpcf7-form {
        margin-bottom: 0;
    }
    /*.pd-phone-cta {
        padding: 10px 10px!important;
    }*/
}

.pd-price-old {
    font-size: 14px;
    color: var(--pd-slate-400);
    font-weight: 700;
    text-decoration: line-through;
    margin: 0;
    color: #94a3b8;
}

.pd-price-old bdi {
    color: #94a3b8;
}

.pd-price-discount {
    background: var(--pd-main);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 0.5rem;
    white-space: nowrap;
}

.pd-price-save {
    font-size: 14px;
    color: var(--pd-slate-500);
    /* margin-top: 0.25rem; */
    display: block;
}

.pd-price-save bdi, .pd-price-row span.pd-price-current bdi {
    color: var(--pd-main);
}

.pd-price-save strong {
    color: #ef4444;
    font-weight: 700;
}

/* ============ TITLE ============ */
.pd-title-block {
    width: 100%;
}

.pd-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--pd-slate-900);
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem 0;
}

@media (min-width: 768px) {
    .pd-title {
        /* font-size: 1.5rem; */
    }

    .camket-desktop {
        /* display: none; */
    }

    .camket-mobile {
        /* display: block!important; */
    }
}

.pd-meta-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 14px;
    color: var(--pd-slate-500);
    border-bottom: 1px solid var(--pd-slate-100);
    padding-bottom: 0.75rem;
    flex-wrap: wrap;
}

.pd-meta-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(251, 191, 36, 0.1);
    color: #d97706;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
}

.pd-meta-rating svg {
    width: 14px;
    height: 14px;
    fill: #f59e0b;
    stroke: #f59e0b;
}

.pd-meta-sep {
    color: var(--pd-slate-300);
}

.pd-meta-verified {
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pd-ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: var(--pd-emerald);
    display: inline-block;
    animation: pd-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pd-ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Dòng đánh giá | đã bán | chính hãng: luôn 1 dòng trên điện thoại.
   Chữ chính hãng tự đo phần trống còn lại (container query) và chọn bản dài nhất vừa 1 dòng:
   "Bảo đảm chính hãng 100%" > "Chính hãng 100%" > "Chính hãng". */
.pd-meta-verified .pd-v-short,
.pd-meta-verified .pd-v-tiny {
    display: none;
}

.pd-meta-verified .pd-ping-dot {
    position: relative;
    flex-shrink: 0;
    animation: none;
}

.pd-meta-verified .pd-ping-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    animation: pd-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (max-width: 549px) {
    .pd-meta-row {
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 8px;
    }

    .pd-meta-row > * {
        flex-shrink: 0;
    }

    .pd-meta-row > .pd-meta-verified {
        flex: 1 1 0;
        min-width: 0;
        container: pd-verified / inline-size;
    }

    /* Lớp bảo vệ: thiếu chỗ thì thu gọn bằng "…" chứ không xuống dòng */
    .pd-meta-verified > span:not(.pd-ping-dot) {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 389px) {
    .pd-meta-row { font-size: 13px; gap: 6px; }
    .pd-meta-rating svg { width: 13px; height: 13px; }
}

@media (max-width: 374px) {
    .pd-meta-row { gap: 5px; }
}

@media (max-width: 344px) {
    .pd-meta-row { gap: 4px; }
}

@container pd-verified (max-width: 13.3em) {
    .pd-meta-verified .pd-v-full { display: none; }
    .pd-meta-verified .pd-v-short { display: inline; }
}

@container pd-verified (max-width: 9.3em) {
    .pd-meta-verified .pd-v-short { display: none; }
    .pd-meta-verified .pd-v-tiny { display: inline; }
}

@container pd-verified (max-width: 6.4em) {
    .pd-meta-verified .pd-v-tiny { font-size: 12px; }
}

/* Trình duyệt cũ không hỗ trợ container query: dùng chữ "Chính hãng 100%" trên điện thoại */
@supports not (container-type: inline-size) {
    @media (max-width: 449px) {
        .pd-meta-verified .pd-v-full { display: none; }
        .pd-meta-verified .pd-v-short { display: inline; }
    }
}

/* ============ CONSULTING FORM ============ */
.pd-consult-title {
    font-weight: 700;
    color: var(--pd-main);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0;
}

.pd-consult-form {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--pd-main);
    border-radius: 8px;
    margin-top: 0.5rem;
    background: #fff;
    height: 42px;
    position: relative;
    overflow: hidden;
}

.pd-consult-input-wrap {
    flex: 1;
    position: relative;
    height: 100%;
}

.pd-consult-input-wrap input {
    border: unset!important;
    box-shadow: unset!important;
}

.pd-consult-input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 500;
    background: transparent;
}

.pd-consult-error {
    position: absolute;
    top: 100%;
    left: 0;
    color: #e53e3e;
    font-size: 11px;
    white-space: nowrap;
    margin: 4px 0 0 0;
    display: none;
}

.pd-consult-submit {
    background: var(--pd-main);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    padding: 0 24px;
    border: none;
    cursor: pointer;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    transition: background 0.2s ease;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}

.pd-consult-submit:hover {
    background: var(--pd-main-dark);
}

/* ============ CART / QUANTITY ============ */
.pd-cart-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
}

.pd-qty-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--pd-slate-300);
    border-radius: 0.75rem;
    background: var(--pd-slate-100);
    padding: 0.25rem;
    flex-shrink: 0;
}

.pd-qty-btn {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pd-slate-600);
    font-weight: 700;
    border-radius: 0.5rem;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 1rem;
}

.pd-qty-btn:hover {
    background: var(--pd-slate-200);
}

.pd-qty-btn:active {
    transform: scale(0.9);
}

.pd-qty-input {
    width: 2.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    background: transparent;
    border: none;
    outline: none;
}

.pd-add-cart-btn {
    flex: 1;
    background: var(--pd-main);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.02em;
    padding: 0.75rem 1rem;
    border-radius: var(--pd-radius-2xl);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s ease, transform 0.1s ease;
}

.pd-add-cart-btn:hover {
    background: #be123c;
    transform: scale(1.01);
}

.pd-add-cart-btn:active {
    transform: scale(0.98);
}

/* ============ DELIVERY BOX ============ */
.pd-delivery-box {
    background: var(--pd-slate-50);
    border: 1px solid var(--pd-slate-200);
    border-radius: var(--pd-radius-2xl);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-delivery-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-slate-900);
    letter-spacing: 0.02em;
}

.pd-delivery-nationwide {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--pd-blue);
    text-transform: uppercase;
}

.pd-zalo-wrap {
    position: relative;
    flex-shrink: 0;
    display: flex;
}

.pd-zalo-ping {
    position: absolute;
    inset: 0;
    background: var(--pd-blue-light);
    border-radius: 0.5rem;
    animation: pd-ping 2.5s ease-in-out infinite;
    opacity: 0.5;
}

.pd-zalo-ping.pd-delay {
    animation-delay: 1.25s;
    opacity: 0.3;
    background: #60a5fa;
}


.pd-zalo-btn {
    position: relative;
    color: #fff;
    background: var(--pd-blue-light);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.pd-zalo-btn:hover {
    background: #2563eb;
}

.pd-zalo-btn svg {
    width: 14px;
    height: 14px;
}

.pd-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.pd-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.pd-feature-icon {
    background: rgba(30, 115, 190, 0.1);
    padding: 0.375rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-feature-icon img {
    width: 17px;
    height: 16px;
    object-fit: contain;
}

.pd-feature-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pd-slate-900);
    display: block;
}

.pd-feature-desc {
    font-size: 10px;
    color: #6b7280;
    margin: 2px 0 0;
    line-height: 1.4;
}

/* ============ PHONE CTA ============ */
.pd-phone-cta {
    color: #fff;
    border-radius: var(--pd-radius-2xl);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    background: var(--pd-blue-light);
    transition: background 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
}

.pd-phone-cta:hover {
    background: #2563eb;
}

.pd-phone-kicker {
    font-size: 10px;
    color: var(--pd-amber);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
}

.pd-phone-number {
    font-size: 1.125rem;
    /* font-weight: 700; */
    color: #fff;
    /* margin-top: 0.25rem; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .pd-phone-number {
        font-size: 1.25rem;
    }
}

.pd-phone-number:hover {
    color: #fcd34d;
}

.pd-phone-number svg {
    width: 20px;
    height: 20px;
    color: var(--pd-amber);
    flex-shrink: 0;
}

/* ============ PROMOTION BOX ============ */
.pd-promo-box {
    background: #fff;
    padding: 1.25rem;
    border-radius: var(--pd-radius-2xl);
    border: 1px solid rgba(220, 38, 38, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-promo-title {
    font-weight: 700;
    color: var(--pd-main);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.05);
    padding-bottom: 0.75rem;
    margin: 0;
}

.pd-promo-title svg {
    width: 18px;
    height: 18px;
    color: var(--pd-main);
    flex-shrink: 0;
}

.pd-promo-content p {
    font-size: 14px;
    color: var(--pd-slate-700);
    line-height: 1.6;
    font-weight: 500;
    margin: 0 0 0.75rem 0;
}

.pd-promo-content p:last-child {
    margin-bottom: 0;
}

/* ============ BOTTOM GRID ============ */
.pd-bottom-wrap {
    /* max-width: 80rem; */
    margin: 30px 16px 0 16px;
    /* padding: 1rem; */
    margin-inline: 0;
}

.pd-bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .pd-bottom-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .pd-gallery-col {
        grid-column: span 7;
        order: 1;
    }

    .pd-info-col {
        grid-column: span 5;
        order: 2;
    }

    .pd-article-col {
        grid-column: span 8;
    }

    .pd-sidebar-col {
        grid-column: span 4;
    }
}

.pd-article-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ============ TABS ============ */
.pd-tabs-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--pd-radius-3xl);
    border: 1px solid var(--pd-border);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pd-tabs-nav {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--pd-slate-100);
    padding-bottom: 1px;
    flex-wrap: wrap;
}

.pd-tab-btn {
    padding-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    position: relative;
    cursor: pointer;
    color: var(--pd-slate-400);
    transition: color 0.2s ease;
    background: none;
    border: none;
    margin-bottom: 0;
}

.pd-tab-btn:hover {
    color: var(--pd-slate-600);
}

.pd-tab-btn.active {
    color: var(--pd-blue);
}

.pd-tab-underline {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pd-blue);
    border-radius: 9999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.pd-tab-btn.active .pd-tab-underline {
    transform: scaleX(1);
}

.pd-tab-pane {
    display: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--pd-slate-600);
    line-height: 1.75;
    text-align: justify;
}

.pd-tab-pane.active {
    display: block;
}

.pd-tab-pane img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    display: block;
    margin: 1rem auto;
}

.pd-tab-pane h3 {
    color: var(--pd-slate-900);
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
}

.pd-tab-pane p {
    margin: 0 0 1rem;
}

.pd-tab-pane ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0 0 1rem;
}

.pd-tab-pane li {
    margin-bottom: 0.5rem;
}

.pd-spec-table {
    width: 100%;
    border-collapse: collapse;
    /* font-size: 14px; */
}

.pd-spec-table th,
.pd-spec-table td {
    border: 1px solid var(--pd-slate-200);
    padding: 0.625rem 0.875rem;
    text-align: left;
}

.pd-spec-table th {
    background: var(--pd-slate-50);
    font-weight: 700;
    padding-left: 15px!important;
}

.pd-spec-table td {
    padding-left: 15px!important;
}

.pd-toc {
    background: var(--pd-slate-50);
    border: 1px solid var(--pd-slate-200);
    border-radius: var(--pd-radius-xl);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.pd-toc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #1e73be!important;
    margin-bottom: 0.75rem;
    text-transform: uppercase !important
}

.pd-toc-header svg {
    width: 20px;
    height: 20px;
    color: var(--pd-blue);
}

.pd-toc ol {
    margin: 0;
    padding-left: 1.25rem;
}

.pd-toc li {
    margin-bottom: 0.375rem;
}

.pd-toc a {
    color: var(--pd-blue);
    font-weight: 600;
}

.pd-toc a:hover {
    text-decoration: underline;
}

/* ============ SIDEBAR RELATED PRODUCTS ============ */
.pd-sidebar-sticky {
    position: sticky;
    top: 120px;
}

.pd-related-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--pd-radius-3xl);
    border: 1px solid var(--pd-border);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
    text-align: left;
}

.pd-related-title {
    font-weight: 700;
    color: #111;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--pd-slate-100);
    padding-bottom: 0.75rem;
    margin: 0 0 1.25rem 0;
}

.pd-related-title-dot {
    width: 6px;
    height: 16px;
    background: var(--pd-amber);
    border-radius: 9999px;
    display: inline-block;
    animation: pd-pulse 1.8s ease-in-out infinite;
}

.pd-related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-related-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.625rem;
    border-radius: var(--pd-radius-2xl);
    border: 1px solid transparent;
    transition: all 0.25s ease;
    cursor: pointer;
}

.pd-related-item:hover {
    background: var(--pd-slate-50);
    border-color: var(--pd-slate-100);
}

.pd-related-img {
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--pd-slate-100);
    border: 1px solid var(--pd-slate-100);
    flex-shrink: 0;
}

.pd-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pd-related-item:hover .pd-related-img img {
    transform: scale(1.05);
}

.pd-related-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
}

.pd-related-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--pd-slate-800);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.pd-related-item:hover .pd-related-name {
    color: var(--pd-blue);
}

.pd-related-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.pd-related-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--pd-main);
}

.pd-related-price-old {
    font-size: 11px;
    /* color: var(--pd-slate-400); */
    font-weight: 700;
    text-decoration: line-through;
    /* margin-left: 10px; */
    color: #9ca3af;
}

.ux-quantity input {
    border: unset!important;
    background: transparent!important;
    box-shadow: unset!important;
}

.ux-quantity input:focus, .ux-quantity input:hover {
    background: transparent!important;
    box-shadow: unset;
}

.ux-quantity input[type="button"] {
    width: 35px;
}

.ux-quantity {
    border: 1px solid #ddd;
    border-radius: 25px;
}
.single_add_to_cart_button {
    background: var(--pd-main)!important;
    border-radius: 25px!important;
}

div#wpcf7-f150-p113-o1 form {
    margin-bottom: 0;
}
.woocommerce-variation-add-to-cart, form.cart {
    margin-bottom: 0;
}

.woocommerce-variation.single_variation {
    display: none;
}

form.cart{
    /*display: none !important;*/
}
.woocommerce-variation-add-to-cart {
    display: none!important;
}
.woocommerce-variation-add-to-cart, form.cart {
    gap: 0!important;
    /* display: none!important; */
}
.variations_form .ux-swatch.selected {/* box-shadow: 0 0 0 1px var(--fs-color-secondary)!important; */box-shadow: unset!important;border-color: var(--fs-color-primary);background: var(--fs-color-primary);color: #fff;}

.ux-swatch--label {
    border-radius: 5px;
}
.single_variation_wrap .woocommerce-variation-price {
    display: none;
}
.pd-info-col .wpcf7-form {
    margin-bottom: 0;
}

.variations_form .variations tr, .variations_form .variations th {
    display: block;
}

.variations_form .ux-swatches {
    gap: 20px;
}

.variations_form .ux-swatch--label {
    padding-block: 10px;
    padding-inline: 15px;
    border: 1px solid #ddd;
    box-shadow: unset;
}

.variations_form .variations th label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--fs-color-primary);
}

.variations_form .variations tbody {
    display: grid;
    gap: 15px;
}

@media (max-width: 1024px) and (min-width: 992px){
    .pd-gallery-col, .pd-info-col {
        grid-column: span 12!important;
    }
}
@media (max-width: 1024px){
    .pd-main-wrap , .pd-bottom-wrap {
        padding-inline: 0;
        margin-inline: 0;
    }
}
.pd-info-col .stock {
    display: none;
}
.pd-info-col .pd-price-current bdi {
    font-size: 26px;
}
.product-vat-note {
    margin-top: 12px;
    padding-top: 12px;

    border-top: 1px dashed #e5e7eb;

    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
}

.product-vat-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;

    color: #9ca3af;
}



/* Them gio hang*/
.tadaca-sticky-product {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    padding: 8px 16px;
    background: #fff;
    box-shadow:
        0 -8px 30px rgba(0, 0, 0, .12);
}
.tadaca-sticky-product__inner {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
/*
 * Product
 */
.tadaca-sticky-product__info {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 340px;
}
.tadaca-sticky-product__image {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}
.tadaca-sticky-product__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.tadaca-sticky-product__name {
    /* width: 220px; */
    min-width: 0;
    flex: 0 0 calc(100% - 60px);
}
.tadaca-sticky-product__name h4 {
    margin: 0;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.tadaca-sticky-product__price {
    padding-left: 16px;
    border-left: 1px solid #e5e7eb;
    white-space: nowrap;
}

.tadaca-sticky-product__price bdi {
    font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;
    color: var(--fs-color-primary);
}
.tadaca-sticky-product__price-value {
    color: #d97706;
    font-size: 14px;
    font-weight: 700;
}
.tadaca-sticky-product__price-value del {
    color: #94a3b8;
    font-size: 11px;
    margin-right: 5px;
}
.tadaca-sticky-product__price-value ins {
    color: #d97706;
    text-decoration: none;
}
/*
 * Actions
 */
.tadaca-sticky-product__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
/*
 * Quantity
 */
.tadaca-sticky-quantity {
    display: flex;
    align-items: center;
    padding: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
}
.tadaca-sticky-quantity button {
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin: 0;
    line-height: unset;
    height: auto;
    min-height: unset;
}
.tadaca-sticky-quantity button:hover {
    background: #e2e8f0;
    border-radius: 6px;
}
.tadaca-qty-input {
    width: 30px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #1e293b !important;
    text-align: center;
    font-size: 12px !important;
    font-weight: 700;
    box-shadow: unset !important;
    border: unset!Important;
}
/*
 * Remove WooCommerce number arrows
 */
.tadaca-qty-input::-webkit-inner-spin-button,
.tadaca-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.tadaca-qty-input {
    -moz-appearance: textfield;
}
/*
 * Buttons
 */
.tadaca-sticky-buy,
.tadaca-sticky-consult {
    min-height: 36px;
    padding: 7px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 100;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform .15s ease,
        background .2s ease;
    margin: 0;
    line-height: unset;
}
.tadaca-sticky-buy {
    background:
        linear-gradient(
            to right,
            #fbbf24,
            #f59e0b
        );
    color: #172033;
    box-shadow:
        0 5px 15px rgba(245, 158, 11, .25);
}
.tadaca-sticky-buy:hover {
    background:
        linear-gradient(
            to right,
            #fcd34d,
            #fbbf24
        );
}
.tadaca-sticky-consult {
    background:
        linear-gradient(
            to right,
            #f43f5e,
            #e11d48
        );
    color: #fff;
    box-shadow:
        0 5px 15px rgba(225, 29, 72, .2);
}
.tadaca-sticky-consult:hover {
    background:
        linear-gradient(
            to right,
            #fb7185,
            #f43f5e
        );
}
.tadaca-sticky-buy:active,
.tadaca-sticky-consult:active {
    transform: scale(.96);
}
/*
 * Mobile
 */
@media (max-width: 600px) {
    .tadaca-sticky-product {
        padding: 8px 12px;
    }
    .tadaca-sticky-product__inner {
        display: flex;
        /* flex-direction: column; */
        gap: 8px;
        flex-wrap: wrap;
    }
    .tadaca-sticky-product__info {
        width: 70%;
    }
    .tadaca-sticky-product__name {
        flex: 1;
        width: auto;
    }
    .tadaca-sticky-product__name h4 {
        font-size: 14px;
        -webkit-line-clamp: 1;
    }
    .tadaca-sticky-product__price {
        padding-left: 10px;
    }
    .tadaca-sticky-product__actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .tadaca-sticky-buy,
    .tadaca-sticky-consult {
        flex: 1;
        padding: 8px 10px;
        font-size: 10px;
    }
}
/* Them gio hang*/



/* modal */
/* =========================================
               CONSULT MODAL
            ========================================= */
.tadaca-consult-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.tadaca-consult-modal.is-open {
    display: flex;
}
/* =========================================
   MODAL BOX
========================================= */
.tadaca-consult-modal__box {
    position: relative;
    width: 100%;
    max-width: 480px;
    /* max-height: calc(100vh - 40px); */
    overflow-y: auto;
    padding: 32px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 24px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: tadacaModalShow 0.25s ease;
}
@keyframes tadacaModalShow {
    from {
        opacity: 0;
        transform: translateY(15px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* =========================================
   CLOSE BUTTON
========================================= */
.tadaca-consult-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition:
        color .2s ease,
        background .2s ease;
}
.tadaca-consult-modal__close:hover {
    color: #0f172a;
    background: #f8fafc;
}
.tadaca-consult-modal__close svg {
    width: 20px;
    height: 20px;
}
/* =========================================
   HEADER
========================================= */
.tadaca-consult-modal__header {
    text-align: center;
    padding-right: 25px;
    margin-bottom: 20px;
}
.tadaca-consult-modal__header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
/* =========================================
   FORM
========================================= */
.tadaca-consult-form {
    width: 100%;
}
.tadaca-consult-form__title {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
}
.tadaca-consult-form__description {
    margin-bottom: 24px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    /* text-align: center; */
}
/* =========================================
   FORM GROUP
========================================= */
.tadaca-form-group {
    margin-bottom: 18px;
}
.tadaca-form-group label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
}
.tadaca-form-group label span {
    color: #ef4444;
}
/* =========================================
   INPUT
========================================= */
.tadaca-form-control {
    display: block;
    width: 100%;
    height: 38px!important;
    padding: 0 15px!Important;
    border: 1px solid #e2e8f0;
    border-radius: 10px!important;
    background: #fff;
    color: #0f172a;
    font-size: 13px!important;
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
    box-shadow: none!important;
}
.tadaca-form-control::placeholder {
    color: #94a3b8;
}
.tadaca-form-control:focus {
    border-color: #1e73be;
    box-shadow:
        0 0 0 3px rgba(30, 115, 190, .1);
}
/* =========================================
   ERROR
========================================= */
.tadaca-form-error {
    display: none;
    margin: 6px 0 0;
    color: #ef4444;
    font-size: 12px;
    line-height: 1.4;
}
.tadaca-form-error--phone {
    display: none;
}
/* =========================================
   SUBMIT
========================================= */
.tadaca-consult-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 45px;
    margin-top: 8px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px!important;
    background: var(--fs-color-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}
.tadaca-consult-form__submit:hover {
    background: #155d9c;
    box-shadow:
        0 8px 20px rgba(30, 115, 190, .2);
}
.tadaca-consult-form__submit:active {
    transform: translateY(1px);
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px) {
    .tadaca-consult-modal {
        padding: 15px;
    }

    .camket-desktop {
        display: none;
    }
    .camket-mobile {
        display: block!important;
    }
    .tadaca-consult-modal__box {
        max-width: 100%;
        padding: 26px 20px;
        border-radius: 20px;
    }
    .tadaca-consult-modal__header h3 {
        font-size: 19px;
    }
    .tadaca-consult-form__title {
        font-size: 17px;
    }
    .tadaca-consult-form__description {
        font-size: 13px;
    }
    .tadaca-sticky-product__actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .tadaca-sticky-product__actions > *:nth-child(1),
    .tadaca-sticky-product__actions > *:nth-child(2) {
        width: auto;
        flex: 0 0 auto;
    }

    .tadaca-sticky-product__actions > *:nth-child(3) {
        width: 100%;
        flex: 0 0 100%;
        font-size: 14px;
    }

    .tadaca-sticky-buy {
        padding-inline: 45px;
        font-size: 14px;
        padding-block: 6px;
        min-height: unset;
    }
    footer {
        padding-bottom: 150px!Important;
    }
}

.out-of-stock {
    font-weight: 600;
    color: var(--fs-color-primary);
}

.tadaca-sticky-buy.out-of-stock {
    cursor: no-drop;
}
/* modal */

.pd-tabs-card .toc-lists {
    margin-top: 0;
}

/* =====================================================================
   SOLIKA PD TUNE v2 — khoảng cách nút giỏ hàng, nền flash sale, thông số PC
   (Thêm bởi Claude 15/10/2026 — xoá cả khối này để quay về như cũ)
   ===================================================================== */

/* ---------- Ảnh 1: tách ô số lượng và nút giỏ hàng (mọi thiết bị) ---------- */
.pd-info-col form.cart,.pd-info-col .woocommerce-variation-add-to-cart{gap:16px!important}
.pd-info-col form.cart .quantity,.pd-info-col form.cart .single_add_to_cart_button{margin:0!important}

/* ---------- Ảnh 2: thông số (chỉ PC, từ 1024px) ---------- */
@media (min-width:1024px){
  .pd-main-wrap{--pd-radius-2xl:16px}
  .pd-main-swiper,.pd-price-card,.pd-delivery-box,.pd-phone-cta,.pd-promo-box,.pd-commit-box{border-radius:16px}

  .pd-price-card{padding:20px}
  .pd-price-label{font-size:11px;letter-spacing:.05em}
  .pd-info-col .pd-price-current,
  .pd-info-col .pd-price-current bdi,
  .pd-info-col .pd-price-current .woocommerce-Price-currencySymbol{font-size:30px!important;line-height:36px;letter-spacing:-.025em}
  .pd-price-old{font-size:14px}
  .pd-price-discount{font-size:11px}
  .pd-price-save{font-size:14px}

  .pd-title{font-size:24px!important;line-height:32px}

  .pd-info-col form.cart .single_add_to_cart_button{height:40px;padding:0 24px;border-radius:999px}

  .pd-consult-title{font-size:16px;line-height:24px}

  .pd-delivery-box{padding:16px}
  .pd-delivery-nationwide{font-size:14px;line-height:21px}
  .pd-zalo-btn{font-size:10px;border-radius:8px}
  .pd-feature-title{line-height:21px}
  .pd-feature-desc{line-height:1.375}

  .pd-phone-cta{padding:16px}
  .pd-phone-kicker{font-size:10px;line-height:15px}
  .pd-phone-number{font-size:20px!important;line-height:28px}

  .pd-promo-box{padding:20px}
  .pd-promo-title{font-size:15px}
  .pd-promo-content p{font-size:14px;font-weight:400;line-height:1.6;color:#1e293b;margin:0 0 12px}
  .pd-promo-content p:last-child{margin-bottom:0}

  .pd-commit-box{padding:20px}
  .pd-commit-title{font-size:14px;letter-spacing:.05em}
  .pd-commit-item{padding:12px;border-radius:12px}
  .pd-commit-item p{font-size:14px;line-height:1.6;margin:0}
}
/* ---------- Khung "Giao hàng toàn quốc" (PC, tablet, mobile) ---------- */
  .pd-delivery-box{gap:16px}
  .pd-delivery-box .pd-delivery-top{flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0;row-gap:0}
  .pd-delivery-box .pd-delivery-nationwide{font-size:14px;font-weight:400;line-height:21px;letter-spacing:.05em;text-transform:uppercase;}
  .pd-delivery-box .pd-zalo-btn{font-size:10px;line-height:15px;padding:4px 12px;border-radius:8px;letter-spacing:.05em}
  .pd-delivery-box .pd-feature-grid{padding-top:8px;gap:14px}
  .pd-delivery-box .pd-feature-item{gap:10px}
  .pd-delivery-box .pd-feature-icon{width:28px;height:28px;padding:6px}
  .pd-delivery-box .pd-feature-icon img{width:16px;height:16px}
  .pd-delivery-box .pd-feature-title{font-size:14px;line-height:21px}
  .pd-delivery-box .pd-feature-desc{margin-top:2px;line-height:1.375}


/* ---------- Điện thoại nhỏ (≤400px): ô số lượng + nút giỏ hàng vừa một hàng ---------- */
@media (max-width:400px){
  .pd-info-col form.cart{gap:10px!important}
  .pd-info-col form.cart .single_add_to_cart_button{flex:1 1 auto;padding:0 14px!important}
}
/* =================== HẾT SOLIKA PD TUNE v2 =================== */
