.pd-web,
.pd-web *,
.pd-m,
.pd-m * {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.container {
    margin: 90px 0;
}

.pd-web button,
.pd-m button {
    font: inherit;
}

.pd-initials {
    font-weight: 600;
    color: #b0b8c5;
    letter-spacing: 1px;
}

.pd-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.pd-price strong {
    color: #1c2430;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.pd-price s {
    color: #9aa2af;
    font-size: 14px;
}

.pd-save {
    padding: 3px 9px;
    background: #e9f7ef;
    color: #1c7a43;
    font-size: 12px;
    font-weight: 600;
}

.pd-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-features li {
    position: relative;
    padding: 6px 0 6px 24px;
    color: #3c4554;
    font-size: 14px;
}

.pd-features li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 12px;
    width: 6px;
    height: 11px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0.8);
    transform-origin: center;
    color: #2f6fed;
}

.pd-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 0;
    margin: 0;
    padding: 0;
}

.pd-sizes legend {
    padding: 0;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 400;
    color: #1c2430;
}

.pd-size {
    position: relative;
}

.pd-size input {
    position: absolute;
    opacity: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.pd-size span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #dfe3ea;
    background: #fff;
    color: #1c2430;
    font-size: 16px;
    font-weight: 400;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    margin-top: 15px;
}

.pd-size input:checked+span {
    border-color: #2f6fed;
    background: transparent;
    color: #0875ad;
}

.pd-size input:focus-visible+span {
    box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.25);
}

.pd-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dfe3ea;
    background: #fff;
}

.pd-qty button {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #1c2430;
    font-size: 20px;
    cursor: pointer;
}

.pd-qty button:hover {
    color: #2f6fed;
}

.pd-qty output {
    min-width: 38px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.pd-add {
    border: 2px solid #2f6fed;
    background: #2f6fed;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pd-add:hover:not(:disabled) {
    background: #1f57c7;
    border-color: #1f57c7;
}

.pd-add:disabled {
    background: #1c7a43;
    border-color: #1c7a43;
    cursor: default;
}

.pd-web {
    width: 100%;
    max-width: 1280px;
    margin: 100px auto;
    padding: 40px 30px 80px;
}

.pd-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    font-size: 13px;
    color: #7a8291;
}

.pd-crumbs a {
    color: #5b6472;
    text-decoration: none;
}

.pd-crumbs a:hover {
    color: #2f6fed;
}

.pd-crumbs [aria-current] {
    color: #1c2430;
    font-weight: 400;
}

.pd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.pd-media {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pd-gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border: 1px solid #e6e9ee;
    background: #fff;
    padding: 16px;
    overflow: hidden;
    min-width: 0;
}

.pd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-media .pd-initials {
    font-size: 110px;
}

.pd-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 6px 13px;
    background: #2f6fed;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.pd-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pd-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-brand {
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.8px;
    color: #000;
}

.pd-tag {
    padding: 3px 10px;
    color: #5b6472;
    font-size: 14px;
    font-weight: 400;
}

.pd-title {
    margin: 0;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    color: #1c2430;
    margin-bottom: 15px;
}

.pd-type {
    margin: -14px 0 0;
    font-size: 14px;
    font-weight: 300;
    color: #7a8291;
}

.pd-web .pd-price strong {
    font-size: 30px;
}

.pd-desc {
    margin: 0;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: #3c4554;
}

.pd-buy {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid #e6e9ee;
}

.pd-web .pd-add {
    flex: 1;
    height: 46px;
}

.pd-related {
    margin-top: 80px;
}

.pd-related h2 {
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 400;
    color: #1c2430;
}

.pd-m {
    padding: 0 0 130px;
    background: #fff;
}

.pd-m-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
}

.pd-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 6px 4px;
    color: #252525;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.pd-m-media {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 12px;
}

.pd-m-media .pd-gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 0.9;
    border: 1px solid #e6e9ee;
    background: #fff;
    padding: 12px;
    overflow: hidden;
    min-width: 0;
}

.pd-m-media .pd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-m-media .pd-initials {
    font-size: 72px;
}

.pd-m .pd-badge {
    top: 12px;
    left: 12px;
    background: var(--red, #e30613);
    font-size: 12px;
    padding: 4px 10px;
}

.pd-m-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px 14px 0;
}

.pd-m .pd-brand {
    color: var(--blue, #0875ad);
}

.pd-m .pd-title {
    font-size: 21px;
}

.pd-m .pd-type {
    margin: -12px 0 0;
}

.pd-m .pd-price strong {
    font-size: 24px;
}

.pd-m .pd-desc {
    font-size: 14px;
}

.pd-m .pd-features li::before {
    color: var(--blue, #0875ad);
}

.pd-m .pd-size input:checked+span {
    border-color: var(--blue, #0875ad);
    background: var(--blue, #0875ad);
}

.pd-m-bar {
    position: fixed;
    left: 50%;
    bottom: 72px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 480px;
    padding: 10px 12px;
    transform: translateX(-50%);
    background: #fff;
    border-top: 1px solid var(--border, #ddd);
}

.pd-m-bar .pd-add {
    flex: 1;
    height: 44px;
    border-color: var(--blue, #0875ad);
    background: var(--blue, #0875ad);
}

.pd-m-bar .pd-add:disabled {
    background: #1c7a43;
    border-color: #1c7a43;
}

.pd-m-related {
    padding: 26px 10px 0;
}

.pd-m-related h2 {
    margin: 0 2px 12px;
    font-size: 17px;
    font-weight: 400 !important;
}

:root {
    --red: #e30613;
    --blue: #0875ad;
    --border: #ddd;
}

html,
body {
    margin: 0;
    width: 100%;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    color: #252525;
}

.app {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    background: #fff;
}

.pd-m-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pd-m-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e6e9ee;
    background: #fff;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.pd-m-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: transparent;
}

.pd-m-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.pd-m-card-initials {
    font-size: 34px;
    font-weight: 500;
    color: #b0b8c5;
}

.pd-m-card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    background: transparent !important;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.pd-m-card-body {
    padding: 10px;
}

.pd-m-card-brand {
    margin: 0 0 2px;
    font-size: 10px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.6px;
    color: var(--blue);
}

.pd-m-card-name {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    color: #1c2430;
}

.pd-m-card-price {
    font-size: 14px;
    font-weight: 700;
    color: #1c2430;
}

.pd-m-card-price s {
    margin-left: 4px;
    font-size: 11px;
    font-weight: 400;
    color: #9aa2af;
}

.pd-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.pd-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e6e9ee;
    background: #fff;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.pd-card:hover {
    transform: translateY(-4px);
    border-color: #d5dae2;
}

.pd-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3.4;
    background: transparent;
    overflow: hidden;
}

.pd-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 22px;
}

.pd-card-initials {
    font-size: 48px;
    font-weight: 400;
    color: #b0b8c5;
}

.pd-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 11px;
    background: transparent !important;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.pd-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}

.pd-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.pd-card-brand {
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #2f6fed;
}

.pd-card-category {
    padding: 3px 9px;
    background: transparent !important;
    color: #5b6472;
    font-size: 13px;
    font-weight: 400;
}

.pd-card-name {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    color: #1c2430;
}

.pd-card-type {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 300;
    color: #7a8291;
}

.pd-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.pd-card-price strong {
    font-size: 20px;
    font-weight: 700;
    color: #1c2430;
}

.pd-card-price s {
    font-size: 13px;
    color: #9aa2af;
}

@media (max-width: 1200px) {
    .pd-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width: 900px) {
    .pd-layout {
        gap: 32px;
    }

    .pd-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 768px) {

    .app,
    .bottom {
        display: none;
    }
}

@media (max-width: 767px) {
    .web {
        display: none;
    }
}

.item-action-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 430px;
    gap: 10px;
}

.item-action-row .quick-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #000;
    color: #fff;
    border: none;
}

.pd-toast-wrap {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.pd-toast {
    background: #111;
    color: #fff;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}

.pd-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.pd-toast.error {
    background: #b3261e;
}

.pd-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-wrap: nowrap;
    width: 72px;
    flex-shrink: 0;
}

.pd-gallery-thumb {
    position: relative !important;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(128, 128, 128, .35) !important;
    background-color: rgba(128, 128, 128, .06) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    cursor: pointer !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    display: block !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    box-sizing: border-box !important;
    vertical-align: top !important;
    font-size: 0 !important;
}

.pd-gallery-thumb img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
}

.pd-gallery-thumb.active {
    border-color: #111 !important;
    box-shadow: 0 0 0 1px #111 inset !important;
}

.pd-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    margin: 10px 0 6px;
    color: #16a34a;
}

.pd-availability::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .18);
}

.pd-colors {
    margin-top: 18px;
    border: 0;
    padding: 0;
}

.pd-colors legend {
    font-size: 15px;
    text-transform: capitalize;
    letter-spacing: .12em;
    margin: 10px 0 15px;
    padding: 0;
    color: #252525;
}

.pd-color-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pd-color {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 6px;
    user-select: none;
}

.pd-color input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pd-color-swatch {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.pd-color:has(input:checked) {
    box-shadow: 0 0 0 1px currentColor inset;
}

.pd-branches,
.pd-size-stock,
.pd-color-stock,
.pd-price {
    display: none !important;
}

.pd-gallery-thumb.is-filtered-out {
    display: none !important;
}

.pd-web .pd-media.pd-gallery {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
}

.pd-web .pd-media.pd-gallery .pd-gallery-thumbs {
    order: -1 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-height: 520px;
    overflow-y: auto;
    padding: 0 !important;
    margin: 0 !important;
}

.pd-web .pd-media.pd-gallery .pd-gallery-main {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0;
}

.pd-web .pd-media.pd-gallery .pd-gallery-thumb {
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px !important;
}

@media (max-width: 900px) {
    .pd-web .pd-media.pd-gallery {
        flex-direction: column !important;
    }

    .pd-web .pd-media.pd-gallery .pd-gallery-thumbs {
        order: 1 !important;
        flex-direction: row !important;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100% !important;
    }

    .pd-web .pd-media.pd-gallery .pd-gallery-main {
        order: 0 !important;
    }
}