/* Product detail pages — Prima Decor */
.product-detail-v3 {
    background: #f6f3ee;
    color: #123847;
}

.product-detail-v3 main {
    overflow: hidden;
}

.pd-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.pd-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding-block: 26px 20px;
    color: #6c777b;
    font-size: .84rem;
    font-weight: 600;
}

.pd-breadcrumbs a {
    color: #123847;
    text-decoration: none;
}

.pd-breadcrumbs a:hover {
    color: #de3b27;
}

.pd-breadcrumbs span[aria-hidden="true"] {
    color: #c5bdb3;
}

.pd-hero {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(34px, 6vw, 82px);
    align-items: center;
    padding: clamp(18px, 3vw, 36px) 0 clamp(58px, 7vw, 92px);
}

.pd-visual {
    position: relative;
    min-height: 570px;
    display: grid;
    place-items: center;
    padding: 44px;
    border-radius: 34px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,.88), transparent 34%),
        linear-gradient(145deg, #e7efe8 0%, #d1ded4 43%, #92aa9c 100%);
    box-shadow: 0 30px 70px rgba(18,56,71,.14);
}

.pd-visual::before,
.pd-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.pd-visual::before {
    width: 310px;
    height: 310px;
    top: -130px;
    right: -100px;
    border: 1px solid rgba(255,255,255,.72);
    box-shadow: 0 0 0 35px rgba(255,255,255,.08), 0 0 0 70px rgba(255,255,255,.05);
}

.pd-visual::after {
    width: 230px;
    height: 230px;
    bottom: -120px;
    left: -80px;
    background: rgba(222,59,39,.16);
    filter: blur(3px);
}

.pd-visual img {
    display: block;
    width: 100%;
    max-width: 470px;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 25px 25px rgba(12,34,42,.22));
}

.pd-visual-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    color: #123847;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(18,56,71,.1);
}

.pd-eyebrow,
.pd-section-head > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #de3b27;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pd-copy h1 {
    margin: 0;
    color: #123847;
    font-size: clamp(2.35rem, 5.1vw, 4.9rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.pd-lead {
    max-width: 650px;
    margin: 25px 0 0;
    color: #53656c;
    font-size: clamp(1.02rem, 1.7vw, 1.2rem);
    line-height: 1.75;
}

.pd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 25px 0 0;
}

.pd-tags span {
    padding: 9px 13px;
    border: 1px solid #d8d2ca;
    border-radius: 999px;
    background: rgba(255,255,255,.64);
    color: #334f59;
    font-size: .78rem;
    font-weight: 700;
}

.pd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.pd-actions .btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pd-actions .pd-secondary {
    border: 1px solid #123847;
    background: transparent;
    color: #123847;
}

.pd-actions .pd-secondary:hover {
    background: #123847;
    color: #fff;
}

.pd-local-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 27px;
    padding-top: 22px;
    border-top: 1px solid #dcd6ce;
    color: #617177;
    font-size: .88rem;
    line-height: 1.65;
}

.pd-local-note strong {
    display: block;
    margin-bottom: 2px;
    color: #123847;
}

.pd-local-pin {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #de3b27;
    color: #fff;
    font-size: .9rem;
}

.pd-facts-wrap {
    padding: 0 0 clamp(72px, 8vw, 105px);
}

.pd-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid #dcd7d0;
    border-radius: 24px;
    background: #dcd7d0;
    box-shadow: 0 18px 45px rgba(18,56,71,.08);
}

.pd-fact {
    min-height: 150px;
    padding: 27px 24px;
    background: #fff;
}

.pd-fact span {
    display: block;
    margin-bottom: 12px;
    color: #de3b27;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pd-fact strong {
    display: block;
    color: #123847;
    font-size: 1.04rem;
    line-height: 1.45;
}

.pd-section {
    padding: clamp(72px, 9vw, 118px) 0;
}

.pd-section-white {
    background: #fff;
}

.pd-section-dark {
    position: relative;
    overflow: hidden;
    background: #123847;
    color: #fff;
}

.pd-section-dark::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -330px;
    right: -170px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}

.pd-section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.pd-section-head h2,
.pd-overview-copy h2,
.pd-system h2,
.pd-cta h2 {
    margin: 0;
    color: #123847;
    font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.pd-section-dark .pd-section-head h2,
.pd-section-dark .pd-section-head p {
    color: #fff;
}

.pd-section-head p {
    margin: 17px 0 0;
    color: #66767c;
    line-height: 1.75;
}

.pd-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    gap: clamp(38px, 7vw, 90px);
    align-items: start;
}

.pd-overview-copy p {
    color: #596b72;
    line-height: 1.82;
    margin: 20px 0 0;
}

.pd-checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.pd-checks li {
    position: relative;
    padding: 16px 16px 16px 45px;
    border-radius: 14px;
    background: #f6f3ee;
    color: #294752;
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.45;
}

.pd-checks li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 16px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #de3b27;
    color: #fff;
    font-size: .7rem;
    font-weight: 900;
}

.pd-system {
    padding: 34px;
    border-radius: 26px;
    background: #123847;
    color: #fff;
    box-shadow: 0 25px 55px rgba(18,56,71,.18);
}

.pd-system h2 {
    color: #fff;
    font-size: 1.65rem;
}

.pd-system ol {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: pd-system;
}

.pd-system li {
    position: relative;
    counter-increment: pd-system;
    padding: 0 0 24px 52px;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
}

.pd-system li:last-child {
    padding-bottom: 0;
}

.pd-system li::before {
    content: counter(pd-system, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: -2px;
    color: #ef8b78;
    font-weight: 800;
    letter-spacing: .06em;
}

.pd-system li strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
}

.pd-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.pd-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 23px;
    background: #e9e5df;
    box-shadow: 0 20px 45px rgba(0,0,0,.18);
}

.pd-gallery img {
    display: block;
    width: 100%;
    height: 410px;
    object-fit: cover;
    transition: transform .55s ease;
}

.pd-gallery figure:hover img {
    transform: scale(1.025);
}

.pd-gallery figcaption {
    padding: 17px 20px 19px;
    background: #fff;
    color: #294752;
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.5;
}

.pd-source-note {
    margin-top: 17px;
    color: rgba(255,255,255,.58);
    font-size: .76rem;
}

.pd-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pd-step {
    padding: 30px;
    border: 1px solid #ded8d1;
    border-radius: 22px;
    background: #fff;
}

.pd-step > span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #fbe8e4;
    color: #de3b27;
    font-weight: 850;
}

.pd-step h3 {
    margin: 0;
    color: #123847;
    font-size: 1.13rem;
}

.pd-step p {
    margin: 11px 0 0;
    color: #65757b;
    font-size: .9rem;
    line-height: 1.68;
}

.pd-advice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
    margin-top: 24px;
    padding: 25px 28px;
    border-radius: 20px;
    background: #edf2ee;
    color: #52656c;
    line-height: 1.7;
}

.pd-advice strong {
    display: block;
    margin-bottom: 3px;
    color: #123847;
}

.pd-advice-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #123847;
    color: #fff;
    font-weight: 800;
}

.pd-related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.pd-related a {
    position: relative;
    display: block;
    min-height: 210px;
    padding: 28px;
    border: 1px solid #ded8d1;
    border-radius: 22px;
    background: #fff;
    color: #123847;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pd-related a:hover {
    transform: translateY(-5px);
    border-color: #e9a294;
    box-shadow: 0 18px 38px rgba(18,56,71,.1);
}

.pd-related span {
    color: #de3b27;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pd-related h3 {
    margin: 17px 0 10px;
    font-size: 1.35rem;
}

.pd-related p {
    margin: 0;
    color: #65757b;
    font-size: .88rem;
    line-height: 1.6;
}

.pd-related em {
    position: absolute;
    right: 24px;
    bottom: 22px;
    color: #de3b27;
    font-style: normal;
    font-weight: 800;
}

.pd-cta-wrap {
    padding: 0 0 clamp(75px, 9vw, 120px);
}

.pd-cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: clamp(32px, 5vw, 58px);
    border-radius: 30px;
    background: linear-gradient(120deg, #e34931, #c92f22);
    color: #fff;
    box-shadow: 0 25px 60px rgba(190,48,33,.2);
}

.pd-cta::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -110px;
    top: -140px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: 0 0 0 40px rgba(255,255,255,.06), 0 0 0 80px rgba(255,255,255,.04);
}

.pd-cta h2 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: #fff;
}

.pd-cta p {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.85);
    line-height: 1.7;
}

.pd-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.pd-cta .btn {
    background: #fff;
    color: #c92f22;
}

.pd-cta .pd-cta-outline {
    border: 1px solid rgba(255,255,255,.75);
    background: transparent;
    color: #fff;
}

@media (max-width: 980px) {
    .pd-hero,
    .pd-overview {
        grid-template-columns: 1fr;
    }

    .pd-visual {
        min-height: 500px;
    }

    .pd-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .pd-cta {
        grid-template-columns: 1fr;
    }

    .pd-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .pd-shell {
        width: min(100% - 28px, 1180px);
    }

    .pd-breadcrumbs {
        padding-top: 18px;
        font-size: .75rem;
    }

    .pd-hero {
        gap: 32px;
        padding-top: 4px;
    }

    .pd-visual {
        min-height: 390px;
        padding: 45px 24px 24px;
        border-radius: 24px;
    }

    .pd-visual img {
        max-height: 340px;
    }

    .pd-copy h1 {
        font-size: clamp(2.3rem, 13vw, 3.7rem);
    }

    .pd-actions,
    .pd-actions .btn,
    .pd-cta-actions,
    .pd-cta-actions .btn {
        width: 100%;
    }

    .pd-facts {
        grid-template-columns: 1fr;
    }

    .pd-fact {
        min-height: auto;
    }

    .pd-checks,
    .pd-gallery,
    .pd-steps,
    .pd-related {
        grid-template-columns: 1fr;
    }

    .pd-gallery img {
        height: 310px;
    }

    .pd-system,
    .pd-step,
    .pd-cta {
        padding: 26px;
    }

    .pd-advice {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pd-gallery img,
    .pd-related a {
        transition: none;
    }
}
