/* ==========================================================================
   Product Detail Page Styles (Figma 03_Sanpham_Ct - 1920px Canvas)
   ========================================================================== */

:root {
    --pd-primary: #3D7CA7;
    --pd-primary-hover: #2e6083;
    --pd-secondary: #4CC2B4;
    --pd-secondary-hover: #3aa89b;
    --pd-bg-tint: rgba(76, 194, 180, 0.08);
    --pd-red: #E30E00;
    --pd-dark: #292929;
    --pd-gray: #818181;
    --pd-border: #DCDCDC;
    --pd-light-gray: #F6F6F6;
    --pd-white: #FFFFFF;
}

.product-detail-page-wrapper {
    background: var(--pd-white);
    color: var(--pd-dark);
    font-family: 'Inter Tight', sans-serif;
    overflow-x: hidden;
}

/* ==========================================================================
   1. Breadcrumbs Bar
   ========================================================================== */
.pd-breadcrumb-bar {
    background: var(--pd-light-gray);
    padding: 14px 0;
    font-size: 16px;
    line-height: 1.4;
}

.pd-breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pd-breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.pd-breadcrumb-link {
    color: var(--pd-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pd-breadcrumb-link:hover {
    color: var(--pd-primary);
}

.pd-breadcrumb-separator {
    color: var(--pd-gray);
    user-select: none;
}

.pd-breadcrumb-current {
    color: var(--pd-primary);
    font-weight: 700;
}

/* ==========================================================================
   2. Hero / Main Section (Gallery + Info)
   ========================================================================== */
.pd-hero-section {
    padding: 44px 0 60px;
}

.pd-hero-container {
    display: grid;
    grid-template-columns: 680px 1fr;
    gap: 64px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Gallery */
.pd-gallery {
    width: 100%;
}

.pd-gallery__main {
    width: 100%;
    border: 1px solid var(--pd-light-gray);
    border-radius: 8px;
    overflow: hidden;
    background: var(--pd-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.pd-gallery__main-inner {
    width: 100%;
    aspect-ratio: 680 / 454;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF;
}

.pd-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

.pd-gallery-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding: 0;
}

.pd-gallery-nav__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--pd-border);
    background: var(--pd-white);
    color: var(--pd-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pd-gallery-nav__btn:hover {
    background: var(--pd-primary);
    color: var(--pd-white);
    border-color: var(--pd-primary);
}

.pd-gallery-nav__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pd-gallery-nav__track {
    flex: 1;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 4px 0;
}

.pd-gallery-nav__track::-webkit-scrollbar {
    display: none;
}

.pd-gallery-thumb {
    flex: 0 0 calc((100% - 32px) / 3);
    aspect-ratio: 200 / 133;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--pd-white);
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.pd-gallery-thumb.is-active {
    border-color: var(--pd-secondary);
    box-shadow: 0 0 0 1px var(--pd-secondary);
}

.pd-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Info */
.pd-info {
    display: flex;
    flex-direction: column;
}

.pd-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pd-badge {
    font-family: 'Inter Tight', sans-serif;
    font-size: 12px;
    font-weight: 700;
    height: 28px;
    padding: 0 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pd-badge--hot {
    background: var(--pd-red);
    color: var(--pd-white);
    text-transform: uppercase;
}

.pd-badge--new {
    background: var(--pd-secondary);
    color: var(--pd-white);
}

.pd-badge--discount {
    background: transparent;
    border: 1px solid var(--pd-secondary);
    color: var(--pd-secondary);
    font-size: 14px;
    font-weight: 700;
}

.pd-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--pd-dark);
    margin: 0 0 20px;
}

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

.pd-price-current {
    font-family: 'Inter Tight', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pd-red);
}

.pd-price-current--contact {
    font-size: 28px;
    color: var(--pd-primary);
}

.pd-price-old {
    font-family: 'Inter Tight', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    color: #BDBDBD;
    text-decoration: line-through;
}

.pd-variants {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pd-variants__label {
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #272727;
    flex-shrink: 0;
}

.pd-variants__group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pd-variant-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 400px;
    border: 1px solid var(--pd-gray);
    background: var(--pd-white);
    color: var(--pd-gray);
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.pd-variant-pill__check {
    display: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E3FBF4;
    color: var(--pd-secondary);
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-left: -4px;
}

.pd-variant-pill.is-active {
    background: var(--pd-secondary);
    border-color: var(--pd-secondary);
    color: var(--pd-white);
}

.pd-variant-pill.is-active .pd-variant-pill__check {
    display: inline-flex;
}

.pd-variant-pill:hover:not(.is-active) {
    border-color: var(--pd-secondary);
    color: var(--pd-secondary);
}

/* Actions */
.pd-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pd-qty {
    display: inline-flex;
    align-items: center;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
}

.pd-qty__btn {
    width: 50px;
    height: 50px;
    background: var(--pd-border);
    border: none;
    color: #464646;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
}

.pd-qty__btn:hover {
    background: #cfcfcf;
}

.pd-qty__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pd-qty__btn--minus {
    border-radius: 4px 0 0 4px;
}

.pd-qty__btn--plus {
    border-radius: 0 4px 4px 0;
}

.pd-qty__input {
    width: 96px;
    height: 50px;
    border-top: 1px solid var(--pd-border);
    border-bottom: 1px solid var(--pd-border);
    border-left: none;
    border-right: none;
    background: var(--pd-white);
    text-align: center;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--pd-dark);
    -moz-appearance: textfield;
    outline: none;
    padding: 0;
}

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

.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 28px;
    border-radius: 80px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.pd-btn--add-cart {
    background: var(--pd-white);
    border: 2px solid var(--pd-primary);
    color: var(--pd-primary);
}

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

.pd-btn--buy-now {
    background: var(--pd-primary);
    border: 2px solid var(--pd-primary);
    color: var(--pd-white);
}

.pd-btn--buy-now:hover {
    background: var(--pd-primary-hover);
    border-color: var(--pd-primary-hover);
}

.pd-btn.is-out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
}

.pd-out-of-stock-msg {
    color: var(--pd-red);
    font-size: 14px;
    margin-top: 8px;
    font-style: italic;
}

/* Specs Summary Box */
.pd-specs-box {
    background: var(--pd-bg-tint);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-specs-row {
    display: flex;
    gap: 16px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--pd-dark);
    border-bottom: 1px solid var(--pd-border);
    padding-bottom: 14px;
    align-items: baseline;
}

.pd-specs-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pd-specs-label {
    font-weight: 700;
    width: 170px;
    flex-shrink: 0;
    color: var(--pd-dark);
}

.pd-specs-value {
    font-weight: 400;
    flex: 1;
    color: var(--pd-dark);
}

/* Social Share */
.pd-social-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--pd-border);
}

.pd-social-share__label {
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    color: var(--pd-dark);
    font-weight: 500;
}

.pd-social-share__links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pd-social-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.pd-social-share__btn:hover {
    transform: translateY(-2px);
}

.pd-social-share__btn--zalo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.pd-social-share__btn--fb {
    background: #1877F2;
    color: #FFF;
    font-size: 16px;
}

/* ==========================================================================
   3. Features Banner (Teal)
   ========================================================================== */
.pd-features-banner {
    width: 100%;
    background: var(--pd-secondary);
    padding: 48px 0;
    margin-top: 40px;
}

.pd-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.pd-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.pd-feature-item__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-feature-item__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pd-feature-item__title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--pd-white);
    margin: 0;
}

/* ==========================================================================
   4. Tabs & Content Section
   ========================================================================== */
.pd-tabs-section {
    padding: 80px 0 60px;
}

.pd-tabs-card {
    background: var(--pd-bg-tint);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.pd-tabs-nav {
    width: 280px;
    flex-shrink: 0;
    background: var(--pd-white);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-tab-btn {
    width: 100%;
    padding: 12px 24px;
    border-radius: 80px;
    border: 1px solid var(--pd-primary);
    background: var(--pd-white);
    color: var(--pd-primary);
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pd-tab-btn:hover:not(.is-active) {
    background: rgba(61, 124, 167, 0.08);
}

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

.pd-tabs-content {
    flex: 1;
    min-width: 0;
}

.pd-tab-pane {
    display: none;
}

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

.pd-tab-pane__title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--pd-dark);
    margin: 0 0 24px;
}

.pd-tab-pane__body {
    font-family: 'Inter Tight', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--pd-dark);
}

.pd-tab-pane__body p {
    margin-bottom: 16px;
}

.pd-tab-pane__body strong {
    font-weight: 700;
    color: var(--pd-dark);
}

.pd-tab-pane__body ol,
.pd-tab-pane__body ul {
    padding-left: 28px;
    margin: 16px 0;
}

.pd-tab-pane__body li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.pd-tab-pane__body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 24px;
}

/* ==========================================================================
   5. Related Products Section
   ========================================================================== */
.pd-related-section {
    padding: 80px 0;
}

.pd-related-title {
    font-family: 'Phudu', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--pd-primary);
    text-align: center;
    margin: 0 0 48px;
    text-transform: uppercase;
}

.pd-related-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.pd-related-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E5E7EB;
    border: 1px solid var(--pd-border);
    color: #4B5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    z-index: 2;
}

.pd-related-nav:hover {
    background: var(--pd-primary);
    border-color: var(--pd-primary);
    color: var(--pd-white);
}

.pd-related-carousel {
    flex: 1;
    min-width: 0;
    touch-action: pan-y;
}

.pd-related-carousel .owl-stage-outer {
    padding-block: 20px;
    margin-block: -20px;
    padding-inline: 6px;
    margin-inline: -6px;
    overflow: hidden;
}

.pd-related-carousel .owl-stage {
    display: flex;
    touch-action: pan-y;
    padding: 4px 0;
}

.pd-related-carousel .owl-item {
    display: flex;
    flex-direction: column;
    touch-action: pan-y;
}

.pd-related-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.pd-related-item .product-card-f {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   6. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1400px) {
    .pd-hero-container {
        grid-template-columns: 580px 1fr;
        gap: 48px;
    }
}

@media (max-width: 1200px) {
    .pd-hero-container {
        grid-template-columns: 480px 1fr;
        gap: 40px;
    }

    .pd-tabs-card {
        flex-direction: column;
        gap: 24px;
        padding: 30px;
    }

    .pd-tabs-nav {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pd-tab-btn {
        width: auto;
    }
}

@media (max-width: 992px) {
    .pd-hero-container {
        grid-template-columns: 1fr;
    }

    .pd-gallery {
        max-width: 680px;
        margin: 0 auto;
    }

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

    .pd-related-title {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .pd-tabs-section {
        padding: 50px 0 40px;
    }

    .pd-related-section {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .pd-hero-section {
        padding: 20px 0 36px;
    }

    .pd-title {
        font-size: clamp(22px, 5.5vw, 30px);
        margin-bottom: 14px;
        line-height: 1.3;
    }

    .pd-price-current {
        font-size: clamp(24px, 5.5vw, 32px);
    }

    .pd-price-old {
        font-size: 18px;
    }

    .pd-variants {
        margin-bottom: 20px;
        gap: 8px;
    }

    .pd-variant-pill {
        padding: 6px 14px;
        font-size: 14px;
        min-height: 38px;
    }

    .pd-actions {
        display: grid;
        grid-template-columns: 130px 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .pd-qty {
        width: 100%;
        height: 48px;
        border-radius: 8px;
    }

    .pd-qty__btn {
        width: 40px;
        height: 48px;
    }

    .pd-qty__input {
        flex: 1;
        width: auto;
        height: 48px;
        font-size: 16px;
    }

    .pd-btn--add-cart {
        width: 100%;
        height: 48px;
        padding: 0 16px;
        font-size: 15px;
        border-radius: 80px;
    }

    .pd-btn--buy-now {
        grid-column: 1 / -1;
        width: 100%;
        height: 48px;
        font-size: 16px;
        border-radius: 80px;
    }

    .pd-specs-box {
        padding: 18px 20px;
        gap: 12px;
    }

    .pd-specs-label {
        width: 140px;
    }

    .pd-tabs-card {
        padding: 20px;
    }

    .pd-tab-pane__title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .pd-tab-pane__body {
        font-size: 16px;
    }

    .pd-features-banner {
        padding: 32px 0;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .pd-actions {
        grid-template-columns: 110px 1fr;
        gap: 10px;
    }

    .pd-qty__btn {
        width: 36px;
    }

    .pd-btn--add-cart {
        font-size: 14px;
        padding: 0 10px;
        gap: 6px;
    }
}

@media (max-width: 576px) {
    .pd-features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pd-related-nav {
        display: none;
    }

    .pd-specs-row {
        flex-direction: column;
        gap: 4px;
    }

    .pd-specs-label {
        width: 100%;
    }

    .pd-gallery-thumb {
        flex: 0 0 calc((100% - 16px) / 2);
    }
}

/* Gallery lightbox */
.pd-gallery__main-inner.is-zoomable {
    cursor: zoom-in;
}

body.pd-lightbox-open {
    overflow: hidden;
}

.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
}

.pd-lightbox.is-open {
    display: flex;
}

.pd-lightbox__img {
    max-width: min(92vw, 1400px);
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
}

.pd-lightbox__btn {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

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

.pd-lightbox__btn:hover,
.pd-lightbox__btn:focus-visible {
    background: rgba(255, 255, 255, 0.3);
}

.pd-lightbox__close {
    top: 16px;
    right: 16px;
}

.pd-lightbox__prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.pd-lightbox__next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.pd-lightbox__count {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
}

@media (max-width: 575.98px) {
    .pd-lightbox__btn {
        width: 38px;
        height: 38px;
    }

    .pd-lightbox__prev {
        left: 8px;
    }

    .pd-lightbox__next {
        right: 8px;
    }
}

/* Gallery video */
.pd-gallery__main-inner {
    position: relative;
}

.pd-gallery__video {
    position: absolute;
    inset: 0;
    background: #000;
}

.pd-gallery__video iframe,
.pd-gallery__video video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
}

.pd-gallery-thumb--video {
    position: relative;
    background: #111;
}

.pd-gallery-thumb__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.2s;
}

.pd-gallery-thumb--video:hover .pd-gallery-thumb__play {
    background: rgba(0, 0, 0, 0.1);
}

/* YouTube without native UI: poster, click shield, seek bar only */
.pd-yt {
    overflow: hidden;
}

/* iframe is taller than the box: YouTube's title / channel / "more videos" / logo sit on the
   iframe edges, so they land outside the clipped box while the video itself stays uncropped */
.pd-yt iframe {
    position: absolute;
    left: 0;
    top: -90px;
    width: 100%;
    height: calc(100% + 180px);
    pointer-events: none;
}

.pd-yt__poster {
    position: absolute;
    inset: 0;
    display: none;
    z-index: 1;
    background: #000 center / contain no-repeat;
}

.pd-yt.has-poster .pd-yt__poster {
    display: block;
}

.pd-yt__shield {
    position: absolute;
    inset: 0 0 44px 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #fff;
}

.pd-yt__shield i {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.2s;
}

.pd-yt.is-paused .pd-yt__shield i {
    opacity: 1;
}

.pd-yt__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 44px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

.pd-yt__bar input[type="range"] {
    width: 100%;
    height: 4px;
    margin: 0;
    border-radius: 2px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #fff var(--p, 0%), rgba(255, 255, 255, 0.3) var(--p, 0%));
}

.pd-yt__bar input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

.pd-yt__bar input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}
