/* Shared product detail components; product media is supplied by each page. */
.pd-detail {
    --pd-navy: #182843;
    --pd-burgundy: #861e44;
    --pd-ink: #233149;
    --pd-muted: #566278;
    color: var(--pd-ink);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 17px;
    line-height: 1.8;
}
.pd-detail *, .pd-detail *::before, .pd-detail *::after {
    box-sizing: border-box;
}
.pd-detail h1, .pd-detail h2, .pd-detail h3 {
    font-family: inherit;
    letter-spacing: -.035em;
    text-transform: none;
}
.pd-detail h2 {
    font-size: clamp(28px, 3.1vw, 42px);
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 24px;
}
.pd-detail h3 {
    font-size: 22px;
    font-weight: 750;
    line-height: 1.4;
    margin: 26px 0 12px;
}
.pd-detail p {
    color: var(--pd-muted);
    margin-bottom: 20px;
}
.pd-detail p a {
    color: #76213e;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pd-detail a:focus-visible, .pd-detail button:focus-visible,
.pd-detail summary:focus-visible {
    outline: 3px solid #16a3c5;
    outline-offset: 5px;
}
.pd-skip {
    position: fixed;
    left: 12px;
    top: -120px;
    background: white;
    color: #182843;
    padding: 14px;
    z-index: 100001;
}
.pd-skip:focus { top: 12px; }
.pd-detail .pd-section { padding: 76px 0; }
.pd-detail .pd-soft { background: #f5f7fa; }
.pd-detail .pd-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    color: #852144;
    line-height: 1.6;
    margin-bottom: 16px;
}
.pd-detail .pd-hero {
    position: relative;
    padding: 34px 0 58px;
    background: #182843;
    overflow: hidden;
    isolation: isolate;
}
.pd-detail .pd-hero::after { display: none; }
.pd-detail .pd-hero::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(20,36,61,.96) 0%, rgba(83,22,51,.90) 43%, rgba(132,27,63,.73) 75%, rgba(127,23,56,.64) 100%);
    pointer-events: none;
}
.pd-detail .pd-hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    z-index: 0;
    pointer-events: none;
}
.pd-detail .pd-hero > .container { position: relative; z-index: 2; }
.pd-detail .pd-hero h1 {
    max-width: 850px;
    font-size: clamp(36px, 4.4vw, 62px);
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
}
.pd-detail .pd-hero h1 span { color: #fff; }
.pd-detail .pd-hero .pd-eyebrow { color: #f4dbe4; }
.pd-detail .pd-hero-lead {
    color: #fff;
    font-size: 22px;
    line-height: 1.5;
}
.pd-breadcrumb {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 38px;
    font-size: 13px;
    color: #fff;
}
.pd-breadcrumb a { color: #f5e8ee; }
.pd-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    opacity: .6;
}
.pd-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-tags span {
    color: #fff;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 13px;
}
.pd-detail .product-gallery, .pd-detail .product-action-card {
    position: static;
    border-radius: 22px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.pd-main-figure {
    background: #fff;
    border: 1px solid #e0e5ed;
    border-radius: 22px;
    overflow: hidden;
    margin: 0 0 16px;
}
.pd-zoom {
    display: block;
    position: relative;
    width: 100%;
    background: #fff;
    border: 0;
    padding: 18px;
    cursor: zoom-in;
}
.pd-zoom img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: contain;
}
.pd-zoom span {
    position: absolute;
    right: 18px;
    bottom: 12px;
    color: #33435c;
    font-size: 12px;
    padding: 6px 12px;
    background: #f2f5f9;
    border-radius: 20px;
}
.pd-main-figure figcaption {
    text-align: center;
    background: #f6f8fb;
    color: #526078;
    font-size: 13px;
    padding: 14px 18px;
    min-height: 52px;
}
.pd-thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.pd-thumbs button {
    border: 1px solid #dce2eb;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    color: #233149;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.pd-thumbs button[aria-pressed="true"] {
    border: 2px solid #862044;
    background: #fff8fa;
}
.pd-thumbs img {
    display: block;
    height: 74px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 7px;
    border-radius: 6px;
}
.pd-product-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.pd-product-meta a, .pd-brand { color: #852144; font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.pd-product-meta span { color: #68748a; font-size: 12px; }
.pd-detail .pd-action h2 { font-size: 34px; }
.pd-checks { list-style: none; padding: 0; margin: 24px 0; }
.pd-checks li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 15px;
}
.pd-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #842043;
    font-weight: 800;
}
.pd-contact-actions { display: grid; gap: 12px; margin: 24px 0 18px; }
.pd-detail .pd-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #182843;
    border: 1px solid #182843;
    color: #fff;
    padding: 16px 22px;
    min-height: 56px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.pd-button span:last-child { flex: 0 0 auto; font-size: 21px; }
.pd-detail .pd-button:hover { background: #822043; border-color: #822043; color: #fff; }
.pd-detail .pd-button-light { background: #fff; color: #182843; border-color: #d5dce7; }
.pd-detail .pd-text-link { color: #7c2041; font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 5px; }
.pd-detail .pd-small { font-size: 13px; line-height: 1.7; }
.pd-action .pd-small { margin: 18px 0 0; }
.pd-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 48px;
    border: 1px solid #e1e6ed;
    border-radius: 16px;
    background: #f7f8fb;
}
.pd-stats div { padding: 25px; }
.pd-stats div + div { border-left: 1px solid #e1e6ed; }
.pd-stats strong { display: block; color: #182843; font-size: 29px; line-height: 1.3; font-weight: 800; }
.pd-stats span { font-size: 13px; color: #5a667c; }
.pd-subnav {
    border-block: 1px solid #56304a;
    background: linear-gradient(105deg, #243957 0%, #4b2b46 55%, #73213f 100%);
}
.pd-subnav .container { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 18px; }
.pd-subnav a {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    padding-block: 5px;
    text-decoration: none;
}
.pd-subnav a:hover, .pd-subnav a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}
.pd-subnav a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.pd-detail section[id] { scroll-margin-top: 120px; }
.pd-note-card { background: #f5f7fa; border-radius: 18px; padding: 36px; border-top: 4px solid #852144; }
.pd-note-card h3 { margin-top: 12px; }
.pd-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 28px; }
.pd-section-heading > p { max-width: 360px; font-size: 15px; }
.pd-section-heading h2 { margin-bottom: 0; }
.pd-table-wrap { border: 1px solid #e1e6ed; border-radius: 16px; overflow: hidden; background: white; }
.pd-spec-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.pd-spec-table caption { caption-side: top; padding: 18px 24px; color: #182843; font-weight: 700; background: white; }
.pd-spec-table th, .pd-spec-table td { padding: 14px 24px; border-bottom: 1px solid #e8ecf2; text-align: left; vertical-align: top; }
.pd-spec-table thead { background: #182843; color: #fff; }
.pd-spec-table tbody th { width: 38%; font-weight: 600; }
.pd-spec-table tbody tr:nth-child(even) { background: #f7f9fc; }
.pd-detail .pd-spec-note { margin-top: 18px; }
.pd-use-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 36px; }
.pd-use-grid article { padding: 28px; border: 1px solid #e1e6ed; border-radius: 16px; }
.pd-number { color: #89264a; font-size: 15px; font-weight: 800; }
.pd-detail .pd-use-grid h3 { font-size: 20px; }
.pd-use-grid p { font-size: 15px; margin-bottom: 0; }
.pd-detail .pd-dark { background: #182843; }
.pd-detail .pd-dark h2, .pd-detail .pd-dark p { color: #fff; }
.pd-detail .pd-dark .pd-eyebrow { color: #efb4ca; }
.pd-detail .pd-dark .pd-small { color: #c6d0de; }
.pd-document {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #516078;
    color: #fff;
    margin-bottom: 18px;
    background: rgba(255,255,255,.04);
}
.pd-document:hover { color: white; background: #79304c; }
.pd-document strong { display: block; font-size: 21px; }
.pd-document small { color: #dde5f0; font-size: 15px; }
.pd-document > span:last-child { margin-left: auto; font-size: 24px; }
.pd-pdf { border: 1px solid #d794ae; border-radius: 6px; padding: 12px; font-size: 13px; font-weight: 800; color: #f6cbdb; }
.pd-detail .pd-button-outline { background: transparent; border-color: #7d889c; width: 100%; }
.pd-process { list-style: decimal-leading-zero; padding-left: 32px; }
.pd-process li { padding: 0 0 14px 12px; border-bottom: 1px solid #e1e6ed; color: #852144; }
.pd-process h3 { margin-top: 12px; color: #182843; }
.pd-process p { font-size: 15px; }
.pd-privacy { padding: 24px 30px; background: #f6f8fb; border-left: 3px solid #852144; border-radius: 8px; margin-top: 36px; }
.pd-detail .pd-privacy h3 { font-size: 19px; margin-top: 0; }
.pd-privacy p { font-size: 14px; margin-bottom: 0; }
.pd-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pd-related-card { border: 1px solid #e1e6ed; border-radius: 18px; overflow: hidden; background: #fff; transition: background .2s; }
.pd-related-card > a { display: block; background: #fff; }
.pd-related-card img { width: 100%; height: 230px; object-fit: contain; padding: 25px; }
.pd-related-card > div { padding: 26px; }
.pd-detail .pd-related-card h3 { font-size: 21px; margin: 12px 0; }
.pd-related-card p { font-size: 14px; }
.pd-related-card:hover, .pd-related-card:focus-within { background: #182843; }
.pd-detail .pd-related-card:hover :is(h3,p,a), .pd-detail .pd-related-card:focus-within :is(h3,p,a) { color: white; }
.pd-faq { margin-top: 30px; }
.pd-faq details { border-bottom: 1px solid #dce3ec; }
.pd-faq summary { padding: 24px 36px 24px 0; font-size: 18px; font-weight: 700; cursor: pointer; color: #182843; }
.pd-faq details[open] summary { color: #852144; }
.pd-faq details p { max-width: 1000px; padding-bottom: 16px; font-size: 16px; }
.pd-final { padding: 56px 0; background: linear-gradient(110deg,#192943 0%,#742040 55%,#902347 100%); }
.pd-final .container { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.pd-detail .pd-final h2 { color: #fff; font-size: 34px; max-width: 730px; }
.pd-detail .pd-final p { color: #f2dee6; }
.pd-detail .pd-button-white { background: #fff; border-color: #fff; color: #182843; flex-shrink: 0; }
#pd-lightbox {
    border: 0;
    border-radius: 14px;
    padding: 20px;
    width: min(960px,94vw);
    max-height: 94dvh;
    background: #fff;
}
#pd-lightbox::backdrop { background: rgba(9,19,36,.85); }
#pd-lightbox form { display: flex; justify-content: end; }
#pd-lightbox button { border: 0; background: #182843; color: white; border-radius: 6px; padding: 10px 16px; }
#pd-lightbox img { display: block; width: 100%; height: 68dvh; object-fit: contain; }
#pd-lightbox p { text-align: center; color: #182843; margin: 12px 0 0; font-size: 14px; }
@media (max-width: 991px) {
    .pd-detail .pd-section { padding: 52px 0; }
    .pd-use-grid { grid-template-columns: repeat(2,1fr); }
    .pd-section-heading, .pd-final .container { align-items: start; flex-direction: column; gap: 20px; }
    .pd-section-heading > p { max-width: none; }
    .pd-related-grid { gap: 14px; }
    .pd-related-card > div { padding: 18px; }
    .pd-detail .pd-related-card h3 { font-size: 18px; }
}
@media (max-width: 575px) {
    .pd-detail { font-size: 16px; }
    .pd-detail .pd-hero { padding: 26px 0 38px; background-position: 65% center; }
    .pd-breadcrumb { font-size: 11px; gap: 6px; margin-bottom: 26px; }
    .pd-detail .pd-hero-lead { font-size: 19px; }
    .pd-tags { gap: 6px; }
    .pd-tags span { font-size: 11px; padding: 5px 10px; }
    .pd-zoom { padding: 10px; }
    .pd-zoom img { height: 300px; }
    .pd-thumbs { gap: 8px; }
    .pd-thumbs button { font-size: 10px; }
    .pd-detail .pd-action h2 { font-size: 29px; }
    .pd-stats { grid-template-columns: repeat(2,1fr); }
    .pd-stats div { padding: 18px; }
    .pd-stats div:nth-child(3) { border-left: 0; }
    .pd-stats div:nth-child(n+3) { border-top: 1px solid #e1e6ed; }
    .pd-stats strong { font-size: 25px; }
    .pd-stats span { font-size: 11px; }
    .pd-subnav .container { gap: 12px 20px; }
    .pd-subnav a { font-size: 12px; }
    .pd-note-card { padding: 26px; }
    .pd-use-grid, .pd-related-grid { grid-template-columns: 1fr; }
    .pd-spec-table { font-size: 13px; }
    .pd-spec-table th, .pd-spec-table td { padding: 12px; overflow-wrap: anywhere; }
    .pd-spec-table caption { font-size: 14px; padding: 16px; }
    .pd-document { padding: 20px; gap: 14px; }
    .pd-document strong { font-size: 19px; }
    .pd-pdf { padding: 10px; }
    .pd-faq summary { font-size: 16px; }
    .pd-detail .pd-final h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .pd-detail * { transition: none !important; scroll-behavior: auto !important; }
}

/* Quote and document actions shared by all product pages. */
.pd-detail .pd-quote-button {
    background: #176b4d;
    border-color: #176b4d;
    gap: 14px;
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(23,107,77,.13);
}
.pd-detail .pd-quote-button:hover { background: #105039; border-color: #105039; }
.pd-quote-button > i { font-size: 30px; flex: 0 0 auto; }
.pd-quote-button .pd-quote-label { flex: 1; }
.pd-quote-label strong { display: block; font-size: 17px; line-height: 1.4; }
.pd-quote-label small { display: block; font-size: 22px; font-weight: 500; margin-top: 5px; line-height: 1.5; }
.pd-pdf-icon { font-size: 24px; color: #ac2745; vertical-align: middle; margin-right: 8px; }
.pd-pdf i { font-size: 28px; }
.pd-detail .pd-brochure-link { font-size: 16px; }
.pd-detail .pd-phone-button {
    gap: 16px;
    border: 1px solid #861e44;
    background: #861e44;
    color: #fff;
    padding: 17px 20px;
}
.pd-phone-icon { width: 30px; height: 30px; flex: 0 0 30px; }
.pd-detail .pd-phone-button:hover, .pd-detail .pd-phone-button:focus-visible { background: #691534; border-color: #691534; color: #fff; }
.pd-phone-label { flex: 1; }
.pd-phone-label small { display: block; font-size: 12px; line-height: 1.5; margin-bottom: 4px; }
.pd-phone-label strong { display: block; font-size: clamp(18px, 2vw, 23px); font-weight: 800; line-height: 1.35; }
.pd-stats strong { font-size: clamp(19px,2.2vw,29px); }
.pd-system-figure { margin: 32px 0; padding: 32px; background: white; border: 1px solid #dce4ee; border-radius: 20px; }
.pd-system-flow { display: grid; grid-template-columns: 1fr 36px 1.2fr 36px 1.8fr; align-items: center; gap: 12px; }
.pd-system-node { text-align: center; padding: 24px 12px; }
.pd-system-node > i { font-size: 46px; color: #812042; }
.pd-detail .pd-system-node h3 { font-size: 19px; margin: 18px 0 10px; }
.pd-system-node p { font-size: 14px; line-height: 1.8; margin-bottom: 0; }
.pd-system-device { background: #f4f7fb; border: 1px solid #e0e6ef; border-radius: 16px; }
.pd-system-device img { width: 100%; height: 140px; object-fit: contain; mix-blend-mode: multiply; }
.pd-flow-arrow { color: #92264b; font-size: 32px; text-align: center; }
.pd-system-branches { display: grid; gap: 20px; }
.pd-system-branch { display: flex; gap: 16px; align-items: center; border: 1px solid #dfe5ef; border-left: 4px solid #822343; border-radius: 12px; padding: 22px; }
.pd-system-branch > i { font-size: 27px; color: #243957; }
.pd-system-branch span { color: #842043; font-size: 11px; font-weight: 750; }
.pd-detail .pd-system-branch h3 { font-size: 20px; margin: 5px 0 8px; }
.pd-system-branch p { font-size: 13px; line-height: 1.7; margin: 0; }
.pd-system-figure figcaption { border-top: 1px solid #e2e7ef; margin-top: 24px; padding-top: 18px; color: #59687b; font-size: 12px; }
.pd-record-example { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding: 36px; background: linear-gradient(120deg,#192b46,#50263f); border-radius: 18px; }
.pd-detail .pd-record-example h3 { color: #fff; margin-top: 0; }
.pd-detail .pd-record-example .pd-eyebrow { color: #f0b9cc; }
.pd-detail .pd-record-example p { color: #dce3ed; font-size: 14px; }
.pd-record-example ol { display: grid; grid-template-columns: repeat(3,1fr); list-style: none; gap: 18px; padding: 0; margin: 0; }
.pd-record-example li { border-top: 2px solid #dba1b5; padding-top: 16px; }
.pd-record-example li span { color: #f0b9cc; font-size: 13px; font-weight: 800; }
.pd-record-example li strong { color: #fff; display: block; font-size: 16px; margin: 12px 0; line-height: 1.5; }
.pd-record-example li small { color: #dce3ed; font-size: 12px; }
@media (max-width: 991px) {
    .pd-system-flow { grid-template-columns: 1fr; }
    .pd-flow-arrow { transform: rotate(90deg); }
    .pd-system-node { padding: 16px; }
    .pd-system-branches { grid-template-columns: repeat(2,1fr); }
    .pd-record-example { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 575px) {
    .pd-system-figure, .pd-record-example { padding: 22px; }
    .pd-system-branches, .pd-record-example ol { grid-template-columns: 1fr; }
    .pd-system-branch { padding: 18px; }
    .pd-stats strong { font-size: 19px; }
    .pd-quote-label strong { font-size: 16px; }
}

/* Product media: frameless, maximum-size image aligned to top.
   The image itself remains clickable for the existing lightbox. */
.pd-detail .product-gallery {
    align-self: flex-start;
}

.pd-detail .pd-main-figure {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    margin: 0;
    width: 100%;
}

.pd-detail .pd-zoom {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: 0;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: zoom-in;
}

.pd-detail .pd-zoom img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    object-position: center top;
    margin: 0;
}

.pd-detail .pd-zoom span,
.pd-detail .pd-main-figure figcaption {
    display: none !important;
}

@media (max-width: 991px) {
    .pd-detail .pd-zoom img {
        max-height: 560px;
    }
}

@media (max-width: 575px) {
    .pd-detail .pd-zoom {
        padding: 0;
    }

    .pd-detail .pd-zoom img {
        width: 100%;
        height: auto;
        max-height: 440px;
    }
}

/* Keep the entire left product-media column pinned to the top of the row. */
.pd-detail .row:has(.product-gallery) {
    align-items: flex-start !important;
}

.pd-detail .row:has(.product-gallery) > [class*="col-"] {
    align-self: flex-start !important;
}

.pd-detail .product-gallery,
.pd-detail .pd-main-figure,
.pd-detail .pd-zoom {
    align-self: flex-start !important;
    margin-top: 0 !important;
}

.pd-detail .pd-zoom {
    align-items: flex-start !important;
}

.pd-detail .pd-zoom img {
    object-position: center top !important;
    margin-top: 0 !important;
}


/* FINAL FIX: product image and technical column must start on the same top line.
   Product pages use Bootstrap .align-items-center on #genel-bakis; override it here. */
.pd-detail #genel-bakis .row,
.pd-detail section#genel-bakis .row {
    align-items: flex-start !important;
}

.pd-detail #genel-bakis .row > [class*="col-"],
.pd-detail section#genel-bakis .row > [class*="col-"] {
    align-self: flex-start !important;
}

.pd-detail #genel-bakis .face-product-media,
.pd-detail #genel-bakis .qr-main-media,
.pd-detail #genel-bakis .product-gallery,
.pd-detail #genel-bakis .pd-main-figure,
.pd-detail #genel-bakis .pd-zoom {
    margin-top: 0 !important;
    align-self: flex-start !important;
}

.pd-detail #genel-bakis .pd-zoom {
    align-items: flex-start !important;
}

.pd-detail #genel-bakis .pd-zoom img {
    object-position: center top !important;
    margin-top: 0 !important;
}

