/* ─── TKR Connector — PDP + Related products styles ─── */
/* Loaded via layout XML to bypass LESS compilation chain  */

/* ── Related products block ── */
.block.related {
    clear: both;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}

.block.related .block-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c33;
    position: static;
    background: transparent;
    width: auto;
    padding-left: 0;
    padding-right: 0;
    left: auto;
}

.block.related .block-title strong {
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    line-height: 150%;
    color: #c33;
    text-transform: uppercase;
}

/* ── Slider wrapper ── */
.tkr-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tkr-slider-viewport {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

/* Slide track — nowrap so items line up horizontally */
.block.related .tkr-related-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Fixed card width — JS reads this to compute slide unit */
.block.related .tkr-related-list .item.product.product-item {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
}

/* ── Slider arrow buttons — !important to override Luma global button base styles ── */
.tkr-slider-btn {
    flex-shrink: 0 !important;
    width: 36px !important;
    height: auto !important;
    min-width: 0 !important;
    max-width: 36px !important;
    background: #c33 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    align-self: center !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background 0.15s !important;
    padding-bottom: 6px !important;
}

.tkr-slider-btn:hover:not(:disabled) {
    background: #a00 !important;
}

.tkr-slider-btn:disabled {
    background: #ccc !important;
    cursor: default !important;
    color: #fff !important;
}

.block.related .item.product.product-item .product-item-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: none;
    box-shadow: none;
}

.block.related .product-top {
    width: 100%;
}

/* Image container: fixed height since cards are fixed 200px wide */
.block.related .item.product.product-item .product-item-photo {
    display: block !important;
    width: 100% !important;
    height: 160px !important;
    padding-bottom: 0 !important;
    position: relative !important;
    background: #f5f5f5 !important;
    overflow: hidden !important;
}

.block.related .item.product.product-item .product-item-photo img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: white !important;

}

.block.related .item.product.product-item .product-item-name {
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #171717;
}

.block.related .item.product.product-item .product-item-name a {
    color: #171717;
    text-decoration: none;
}

.block.related .item.product.product-item .product-item-name a:hover {
    color: #c33;
}

.block.related .item.product.product-item .price-box .price {
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #c33;
}

.block.related .item.product.product-item .product-item-actions {
    margin-top: 10px;
}

.block.related .item.product.product-item .product-item-actions button.action.tocart.primary {
    width: 100%;
    background: #666666;
    border: none;
    padding: 10px 15px;
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
}

.block.related .item.product.product-item .product-item-actions button.action.tocart.primary:hover {
    background: #b01717;
}

.block.related .item.product.product-item .product-item-actions a.action.view.details {
    display: block;
    width: 100%;
    background: #999999;
    border: none;
    padding: 10px 15px;
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.block.related .item.product.product-item .product-item-actions a.action.view.details:hover {
    background: #666666;
}

.block.related .action.towishlist,
.block.related .action.tocompare {
    display: none;
}

/* ── PDP: Info table ── */
.pdp-info-section {
    clear: both;
    width: 100%;
    margin-top: 32px;
    margin-bottom: 32px;
}

/* Table is now full-width — no side-by-side flex needed */

.pdp-attrs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.pdp-attrs-table tbody tr:nth-child(even) { background: #fafafa; }
.pdp-attrs-table tbody tr:nth-child(odd)  { background: #fff; }

.pdp-attrs-table td {
    padding: 7px 14px;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}

.pdp-attrs-table .pdp-attr-label {
    color: #555;
    width: 42%;
    font-size: 14px;
}

.pdp-attrs-table .pdp-attr-value {
    color: #171717;
    font-size: 14px;
}

.pdp-attrs-table .pdp-pdf-row {
    background: #fff8f8 !important;
}

.pdp-attrs-table .pdp-pdf-row .pdp-pdf-label {
    color: #c33;
    font-weight: 700;
}

.pdp-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #c33;
    font-family: "Barlow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pdp-pdf-link .pdp-pdf-icon {
    flex-shrink: 0;
    color: #c33;
}

.pdp-pdf-link:hover {
    color: #a00;
}

.pdp-pdf-link:hover .pdp-pdf-icon {
    color: #a00;
}

/* ── PDP: Video table row ── */
.pdp-attrs-table .pdp-video-row .pdp-video-label {
    color: #c33;
    font-weight: 700;
    vertical-align: top;
    padding-top: 10px;
}

.pdp-attrs-table .pdp-video-row .pdp-video-embed {
    display: block;
    width: 100%;
    max-width: 480px;
    background: #111;
}

/* ── Multi-value collapsible ── */
.pdp-mv__visible {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 6px;
}


.pdp-val-item {
    white-space: nowrap;
}

.pdp-val-item:not(:last-child)::after {
    content: " \00B7";
    color: #bbb;
    margin-left: 1px;
}

.pdp-val-link {
    white-space: nowrap;
    color: #c33;
    text-decoration: none;
}

.pdp-val-link:hover {
    text-decoration: underline;
}

.pdp-val-link:not(:last-child)::after {
    content: " \00B7";
    color: #bbb;
    margin-left: 1px;
}


.attr-val-empty {
    color: #bbb;
}

/* ── PDP: Tabs ── */
.pdp-tabs {
    width: 100%;
}

.pdp-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 2px solid #c33;
    margin-bottom: 0;
    padding-bottom: 2px;
}

.pdp-tab-btn {
    background: #f0f0f0;
    border: none;
    padding: 9px 20px;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #555;
    cursor: pointer;
    letter-spacing: 0.4px;
    transition: background 0.15s, color 0.15s;
    position: relative;
    bottom: -2px;
}

.pdp-tab-btn:hover {
    background: #e0e0e0;
    color: #333;
    border : 0;
}

.pdp-tab-btn.active {
    background: #c33;
    color: #fff;
    border : 0;
    box-shadow: unset;
    border : 0 !important;
}

.pdp-tab-panel {
    display: none;
}

.pdp-tab-panel.active {
    display: block;
}

/* Porsche Händler Number field — product page */
.porsche-haendler-field {
    margin-bottom: 16px;
}

.porsche-haendler-field label {
    display: block;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.porsche-haendler-field input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    color: #171717;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 14px;
}

.porsche-haendler-field input[type="text"]:focus {
    border-color: #c33;
    outline: none;
    box-shadow: 0 0 3px rgba(204, 51, 51, 0.2);
}
