/* ==================== Main ==================== */
.pd-main {
    background: #f5f7fa;
    padding: 28px 0 60px;
}

/* ==================== Summary card ==================== */
.pd-summary {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 28px 32px;
    margin-bottom: 24px;
}
.pd-info {
    min-width: 0;
}

/* Gallery */
.pd-gallery-main {
    width: 100%;
    height: 360px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pd-gallery-main img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
}
.pd-gallery-thumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}
.pd-thumb-arrow {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #1d78bd;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.pd-thumb-arrow:hover {
    background: #1668a5;
}
.pd-thumb-arrow.disabled {
    opacity: 0.35;
    cursor: default;
}
.pd-thumbs-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.pd-thumbs-track {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
}
.pd-thumb-button {
    flex: 0 0 calc((100% - 24px) / 3);
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    background: #fafafa;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}
.pd-thumb-button.active,
.pd-thumb-button:hover {
    border-color: #1d78bd;
}
.pd-thumb-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Info */
.pd-title {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
    margin-bottom: 16px;
}
.pd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}
.pd-tags span {
    display: inline-block;
    padding: 4px 14px;
    font-size: 13px;
    color: #1d78bd;
    border: 1px solid #1d78bd;
    border-radius: 2px;
    background: #fff;
    line-height: 1.4;
}
.pd-highlights {
    margin-bottom: 28px;
}
.pd-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    font-size: 14px;
    color: #555;
    line-height: 1.9;
}
.pd-highlights .label {
    color: #333;
    display: block;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pd-highlights .value {
    color: #333;
}

.pd-consult {
    display: inline-block;
    min-width: 160px;
    padding: 12px 36px;
    background: #1d78bd;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.pd-consult:hover {
    background: #1668a5;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(29, 120, 189, 0.3);
}

.pd-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 13px;
    color: #1d78bd;
}
.pd-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1d78bd;
}
.pd-action:hover {
    opacity: 0.8;
}
.pd-action-sep {
    color: #ccc;
}

.pd-manual {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 13px;
    color: #666;
    transition: var(--transition);
}
.pd-manual i {
    color: #e74c3c;
    font-size: 18px;
}
.pd-manual em {
    font-style: normal;
    color: #1d78bd;
    margin-left: 4px;
}
.pd-manual:hover {
    color: #1d78bd;
}
