.product-card-details {
    margin: 20px 0 4px;
    border: 1px solid rgba(8, 169, 170, 0.2);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    color: #17272a;
}

.product-modal-content > .product-card-details {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

.pcd-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px 14px;
}

.pcd-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #617174;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pcd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pcd-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #eaf8f7;
    color: #087f80;
    font-size: 13px;
    font-weight: 700;
}
.pcd-chip--rx { background: #fff0f0; color: #b33434; }
.pcd-chip--otc { background: #edf8ee; color: #34753a; }

.pcd-sku-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0 22px 20px;
}
.pcd-sku-item {
    padding: 15px 16px;
    border: 1px solid #dbe5e5;
    border-radius: 14px;
    background: #f8fbfb;
}
.pcd-sku-item span {
    display: block;
    margin-bottom: 7px;
    color: #748285;
    font-size: 13px;
}
.pcd-sku-item strong {
    display: block;
    color: #1d3033;
    font-size: 16px;
    line-height: 1.35;
}

.pcd-properties {
    padding: 3px 22px 22px;
}
.pcd-properties h3 {
    margin: 0 0 14px;
    color: #1d3033;
    font-size: 21px;
}
.pcd-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.pcd-property-card {
    position: relative;
    min-height: 96px;
    padding: 16px 52px 16px 16px;
    border: 1px solid #d4dfdf;
    border-radius: 15px;
    background: #fff;
    box-sizing: border-box;
}
.pcd-property-label {
    display: block;
    margin-bottom: 7px;
    color: #7a898b;
    font-size: 13px;
}
.pcd-property-card strong {
    display: block;
    color: #1d3033;
    font-size: 16px;
    line-height: 1.35;
}
.pcd-property-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}
.pcd-property-icon--positive { background: #63d987; }
.pcd-property-icon--negative { background: #ff858f; }
.pcd-property-icon--warning { background: #ffba5a; }
.pcd-property-icon--info { background: #198de1; }

.pcd-tabs {
    display: flex;
    gap: 4px;
    padding: 0 14px;
    border-top: 1px solid #edf1f1;
    border-bottom: 1px solid #dfe7e7;
    overflow-x: auto;
}

.pcd-tab {
    flex: 0 0 auto;
    padding: 15px 12px 13px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #667679;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.pcd-tab:hover { color: #087f80; }
.pcd-tab.is-active { color: #087f80; border-bottom-color: #08a9aa; }

.pcd-panels { padding: 20px 22px 22px; }
.pcd-panel { display: none; }
.pcd-panel.is-active { display: block; }
.pcd-field + .pcd-field { margin-top: 20px; }
.pcd-field h4 {
    margin: 0 0 7px;
    color: #26383b;
    font-size: 15px;
    line-height: 1.35;
}
.pcd-field-value {
    color: #536568;
    font-size: 14px;
    line-height: 1.62;
    white-space: pre-line;
}

.pcd-document-row {
    display: grid;
    grid-template-columns: minmax(150px, .65fr) 1.35fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f1;
    font-size: 14px;
}
.pcd-document-row span { color: #748285; }
.pcd-document-row strong { color: #26383b; overflow-wrap: anywhere; }
.pcd-document-link {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #eaf8f7;
    color: #087f80;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.pcd-updating {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    background: #f7fbfb;
}
.pcd-updating-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e0f5f4;
    color: #087f80;
    font-size: 23px;
}
.pcd-updating h3 { margin: 1px 0 5px; font-size: 17px; }
.pcd-updating p, .pcd-empty-section { margin: 0; color: #68787b; font-size: 14px; line-height: 1.55; }

.pcd-skeleton { padding: 22px; }
.pcd-skeleton span {
    display: block;
    height: 13px;
    margin: 10px 0;
    border-radius: 7px;
    background: linear-gradient(90deg, #eef3f3 25%, #f8fafa 50%, #eef3f3 75%);
    background-size: 200% 100%;
    animation: pcd-shimmer 1.4s infinite;
}
.pcd-skeleton span:nth-child(1) { width: 36%; }
.pcd-skeleton span:nth-child(2) { width: 92%; }
.pcd-skeleton span:nth-child(3) { width: 70%; }
@keyframes pcd-shimmer { to { background-position: -200% 0; } }

@media (max-width: 640px) {
    .pcd-heading, .pcd-panels, .pcd-updating { padding-left: 16px; padding-right: 16px; }
    .pcd-sku-summary, .pcd-property-grid { grid-template-columns: 1fr; }
    .pcd-sku-summary, .pcd-properties { padding-left: 16px; padding-right: 16px; }
    .pcd-document-row { grid-template-columns: 1fr; gap: 5px; }
    .pcd-tab { padding-left: 10px; padding-right: 10px; font-size: 13px; }
}
