/* ---------------------------------------------------------------------------
   Product detail page (new design). Classic layout: add ?design=classic to the URL.
   Theme palette: navy #1d2864, teal #2ad2c1, gradient #24b7d3 -> #30efad.
--------------------------------------------------------------------------- */
.pv-pd { padding: 80px 0 110px; font-family: "Heebo", sans-serif; color: #6f7f90; }
.pv-pd h2, .pv-pd h3, .pv-pd h4, .pv-pd h5, .pv-pd h6 { font-family: "Playfair Display", "Heebo", sans-serif; color: #1d2864; }
.pv-pd-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; margin-bottom: 80px; }

/* gallery */
.pv-pd-gallery { position: sticky; top: 110px; }
.pv-pd-stage { position: relative; border-radius: 24px; background: linear-gradient(180deg, #f4f8fb 0%, #e9f1f6 100%); overflow: hidden; }
.pv-pd-main { display: block; aspect-ratio: 1 / 1; padding: 40px; cursor: zoom-in; }
.pv-pd-main img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pv-pd-stage:hover .pv-pd-main img { transform: scale(1.04); }
.pv-pd-zoom { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(29, 40, 100, .12); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.pv-pd-zoom svg { width: 20px; height: 20px; fill: #1d2864; }
.pv-pd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px; margin-top: 16px; }
.pv-pd-thumbs button { aspect-ratio: 1 / 1; padding: 8px; border: 2px solid transparent; border-radius: 14px; background: #f4f8fb; cursor: pointer; transition: border-color .2s; }
.pv-pd-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.pv-pd-thumbs button:hover { border-color: #cfe6ea; }
.pv-pd-thumbs button.is-active { border-color: #2ad2c1; background: #fff; }

/* info column */
.pv-pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pv-pd-chips .pv-cat-count { text-decoration: none; }
.pv-pd-brand { padding: 5px 12px; border-radius: 20px; background: #eef1f9; color: #1d2864; font-size: 13px; font-weight: 500; line-height: 1.3; text-decoration: none; }
.pv-pd-name { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 600; }
.pv-pd-sub { margin: 10px 0 0; font-size: 19px; font-weight: 500; color: #14a99a; }
.pv-pd-summary { margin-top: 22px; }
.pv-pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 54px; font-family: "Playfair Display", "Heebo", sans-serif; font-size: 17px; font-weight: 600; text-decoration: none !important; border: 0; cursor: pointer; transition: box-shadow .3s, gap .3s, background .3s, color .3s; }
.pv-btn svg { width: 18px; height: 18px; fill: currentColor; }
.pv-btn-primary { background: linear-gradient(90deg, #24b7d3 0%, #30efad 100%); color: #141c4a; box-shadow: 0 10px 26px rgba(36, 183, 211, .25); }
.pv-btn-primary:hover { gap: 14px; box-shadow: 0 14px 30px rgba(48, 239, 173, .35); color: #141c4a; }
.pv-btn-wa { background: #fff; color: #128c4a; border: 2px solid #25d366; }
.pv-btn-wa svg { width: 22px; height: 22px; }
.pv-btn-wa:hover { background: #25d366; color: #fff; }
.pv-pd-call { margin: 14px 0 0; font-size: 15px; }
.pv-pd-call a { font-weight: 600; color: #1d2864; }
.pv-pd-facts { margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid #e6edf3; display: grid; gap: 12px; }
.pv-pd-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; }
.pv-pd-facts dt { font-size: 13px; font-weight: 500; letter-spacing: .8px; text-transform: uppercase; color: #8a97a6; }
.pv-pd-facts dd { margin: 0; font-size: 16px; color: #1d2864; }
.pv-pd-facts dd a { color: #1d2864; text-decoration: none; border-bottom: 1px solid #b8e9e2; }
.pv-pd-facts dd a:hover { color: #0f8f82; }
.pv-pd-share { display: flex; gap: 8px; }
.pv-pd-share a { width: 36px; height: 36px; border: 0 !important; border-radius: 50%; background: #f1f5f8; display: inline-flex !important; align-items: center; justify-content: center; font-size: 14px; transition: background .2s, color .2s; }
.pv-pd-share a:hover { background: #1d2864; color: #fff !important; }

/* rich text from the product editor: theme typography; colours from the old editor are neutralised */
.pv-pd-content { font-size: 17px; line-height: 1.8; color: #6f7f90; }
.pv-pd-content [style*="color"] { color: inherit !important; }
.pv-pd-content h1, .pv-pd-content h2, .pv-pd-content h3, .pv-pd-content h4 { margin: 34px 0 14px; font-size: 26px; line-height: 1.25; font-weight: 600; color: #1d2864; }
.pv-pd-content h5 { margin: 30px 0 12px; font-size: 21px; font-weight: 600; color: #1d2864; }
.pv-pd-content h6 { margin: 22px 0 6px; font-size: 18px; font-weight: 600; color: #1d2864; }
.pv-pd-content > :first-child { margin-top: 0; }
.pv-pd-content p { margin: 0 0 16px; }
.pv-pd-content strong { color: #1d2864; font-weight: 600; }
.pv-pd-content ul { list-style: none; margin: 0 0 20px; padding: 0; }
.pv-pd-content ul li { position: relative; padding: 6px 0 6px 32px; }
.pv-pd-content ul li::before, .pv-pd-checks li::before {
    content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(42, 210, 193, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230f8f82' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.pv-pd-content ol { margin: 0 0 20px; padding-left: 22px; }
.pv-pd-content img { max-width: 100%; height: auto; border-radius: 14px; margin: 6px 6px 6px 0; }
.pv-pd-content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.pv-pd-content th, .pv-pd-content td { padding: 10px 14px; border-bottom: 1px solid #e6edf3; text-align: left; }

/* tabs */
.pv-pd-tabs { border: 1px solid #e6edf3; border-radius: 24px; background: #fff; overflow: hidden; }
.pv-pd-tabnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 14px 18px 0; list-style: none; background: #f6f9fb; border-bottom: 1px solid #e6edf3; }
.pv-pd-tabnav li { margin: 0; }
.pv-pd-tabnav li a { display: block; position: relative; padding: 14px 22px; border-radius: 14px 14px 0 0; font-family: "Playfair Display", "Heebo", sans-serif; font-size: 17px; font-weight: 600; color: #6f7f90; text-decoration: none; transition: color .2s, background .2s; }
.pv-pd-tabnav li a:hover { color: #1d2864; }
.pv-pd-tabnav li.active a { background: #fff; color: #1d2864; box-shadow: 0 -1px 0 #e6edf3, 1px 0 0 #e6edf3, -1px 0 0 #e6edf3; }
.pv-pd-tabnav li.active a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #24b7d3 0%, #30efad 100%); }
.pv-pd-panel { padding: 44px 48px 48px; }
.pv-pd-panel[hidden] { display: none; }
.pv-pd-description { max-width: 900px; }
.pv-pd-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; }
.pv-pd-checks li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.6; color: #1d2864; }
.pv-pd-checks li::before { top: 3px; }
.pv-pd-specs { width: 100%; max-width: 820px; border-collapse: collapse; }
.pv-pd-specs th, .pv-pd-specs td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #e6edf3; font-size: 16px; }
.pv-pd-specs th { width: 36%; color: #1d2864; font-weight: 600; background: #f8fbfc; }
.pv-pd-docs { margin: 22px 0 0; display: grid; gap: 10px; }
.pv-pd-doc { display: flex; align-items: center; gap: 14px; max-width: 460px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid #e3e9f1; border-radius: 14px; text-decoration: none !important; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pv-pd-doc:hover { border-color: #2ad2c1; box-shadow: 0 12px 26px rgba(29, 40, 100, .09); transform: translateY(-1px); }
.pv-pd-doc-icon { flex: none; width: 48px; height: 48px; border-radius: 11px; background: #fdeeee; display: flex; align-items: center; justify-content: center; }
.pv-pd-doc-icon svg { width: 30px; height: 30px; fill: #e0453a; }
.pv-pd-doc-icon text { fill: #fff; font: 700 5.6px/1 Heebo, Arial, sans-serif; letter-spacing: .2px; }
.pv-pd-doc-text { flex: 1; min-width: 0; }
.pv-pd-doc-text strong { display: block; color: #1d2864; font-family: "Playfair Display", serif; font-size: 17px; font-weight: 600; line-height: 1.3; }
.pv-pd-doc-text small { display: block; margin-top: 2px; color: #7d8a9a; font-size: 13px; }
.pv-pd-doc-dl { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #eef8f8; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.pv-pd-doc-dl svg { width: 18px; height: 18px; fill: #1d2864; }
.pv-pd-doc:hover .pv-pd-doc-dl { background: linear-gradient(90deg, #24b7d3, #30efad); }
.pv-pd-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; padding-top: 26px; border-top: 1px solid #e6edf3; }
.pv-pd-tags-label { margin-right: 6px; font-size: 13px; font-weight: 500; letter-spacing: .8px; text-transform: uppercase; color: #8a97a6; }
.pv-pd-tags a, .pv-pd-tags-more { padding: 6px 12px; border: 1px solid #e0e8ee; border-radius: 20px; background: #fff; color: #6f7f90; font-size: 13px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s; }
.pv-pd-tags a:hover, .pv-pd-tags-more:hover { border-color: #2ad2c1; color: #0f8f82; }
.pv-pd-tags a[hidden] { display: none; }

/* enquiry form */
.pv-pd-enquiry { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 50px; }
.pv-pd-enquiry-intro h3 { margin: 0 0 12px; font-size: 28px; line-height: 1.25; }
.pv-pd-enquiry-intro p { margin: 0; font-size: 16px; line-height: 1.7; }
.pv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.pv-form-grid label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; color: #1d2864; }
.pv-form-grid input, .pv-form-grid textarea { width: 100%; padding: 13px 16px; border: 1px solid #dfe7ee; border-radius: 12px; background: #f8fbfc; font: 400 16px "Heebo", sans-serif; color: #1d2864; transition: border-color .2s, box-shadow .2s, background .2s; }
.pv-form-grid input:focus, .pv-form-grid textarea:focus { outline: none; background: #fff; border-color: #2ad2c1; box-shadow: 0 0 0 4px rgba(42, 210, 193, .15); }
.pv-form-grid .pv-form-full { grid-column: 1 / -1; }

/* related products */
.pv-pd-related { margin-top: 90px; }
.pv-pd-related-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 30px; margin-bottom: 30px; }
.pv-pd-related-head h2 { margin: 0; font-size: 36px; font-weight: 600; }
.pv-pd-related-head .pv-cat-link { text-decoration: none; }
.pv-prod-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

@media (max-width: 1199px) {
    .pv-pd-top { gap: 40px; }
    .pv-pd-name { font-size: 34px; }
    .pv-prod-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pv-prod-grid--4 > :nth-child(4) { display: none; }
}
@media (max-width: 991px) {
    .pv-pd { padding: 60px 0 80px; }
    .pv-pd-top { grid-template-columns: 1fr; margin-bottom: 56px; }
    .pv-pd-gallery { position: static; max-width: 560px; }
    .pv-pd-panel { padding: 34px 30px 36px; }
    .pv-pd-enquiry { grid-template-columns: 1fr; gap: 26px; }
    .pv-prod-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-prod-grid--4 > :nth-child(4) { display: flex; }
}
@media (max-width: 767px) {
    .pv-pd { padding: 40px 0 64px; }
    .pv-pd-main { padding: 22px; }
    .pv-pd-name { font-size: 28px; }
    .pv-pd-sub { font-size: 17px; }
    .pv-pd-content { font-size: 16px; }
    .pv-btn { width: 100%; }
    .pv-pd-facts > div { grid-template-columns: 90px 1fr; }
    .pv-pd-tabs { border-radius: 18px; }
    .pv-pd-tabnav { flex-wrap: nowrap; overflow-x: auto; padding: 10px 10px 0; scrollbar-width: none; }
    .pv-pd-tabnav::-webkit-scrollbar { display: none; }
    .pv-pd-tabnav li a { padding: 12px 16px; font-size: 15px; white-space: nowrap; }
    .pv-pd-panel { padding: 26px 18px 30px; }
    .pv-pd-checks, .pv-form-grid { grid-template-columns: 1fr; }
    .pv-pd-related { margin-top: 60px; }
    .pv-pd-related-head h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .pv-pd-main img, .pv-btn { transition: none; } }
