/* ==========================================================================
   product-view.css - single product page (product-view.html)
   ========================================================================== */
body.pv-page {
    --pv-brand: #0A4D68; --pv-teal: #1a7f8e; --pv-navy: #0c3a47; --pv-ink: #1E293B; --pv-muted: #5c7680;
    --pv-line: #e2ecec; --pv-soft: #e7f2f3; --pv-accent: #FF6B38;
    background: linear-gradient(180deg, #f4f9fa 0%, #ffffff 520px);
}
.pv { max-width: 1280px; margin: 0 auto; padding: 0 var(--sjp-gutter, 24px) 56px; }

/* ---------- breadcrumb ---------- */
.pv-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 18px; font-size: .82rem; color: var(--pv-muted); }
.pv-crumb a { color: var(--pv-muted); text-decoration: none; }
.pv-crumb a:hover { color: var(--pv-brand); }
.pv-crumb b { color: var(--pv-navy); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.pv-back { display: none; align-items: center; gap: 6px; margin: 14px 0 4px; padding: 6px 0; border: 0; background: none; color: var(--pv-brand); font-family: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; text-decoration: none; }

/* ---------- top: gallery | info | buy box ---------- */
.pv-top { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.pv-gallery { min-width: 0; }
.pv-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--pv-line); box-shadow: 0 14px 34px rgba(10, 77, 104, .08); display: grid; place-items: center; }
.pv-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pv-ph { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--pv-muted); font-weight: 700; font-size: .85rem; background: linear-gradient(135deg, #eaf4f6, #dcecef); width: 100%; height: 100%; justify-content: center; }
.pv-ph svg { width: 22%; max-width: 120px; opacity: .55; }
.pv-badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: var(--pv-brand); color: #fff; font-size: .76rem; font-weight: 800; }
.pv-stagebtns { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; gap: 8px; }
.pv-round { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--pv-brand); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); cursor: pointer; font-size: 1.1rem; }
.pv-round.on { color: #EF4444; }
.pv-count { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(12, 58, 71, .75); color: #fff; font-size: .74rem; font-weight: 700; display: none; }
.pv-thumbs { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.pv-thumbs .scroller { flex: 1; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 3px; }
.pv-thumbs .scroller::-webkit-scrollbar { display: none; }
.pv-thumb { flex: 0 0 74px; height: 56px; padding: 0; border: 2px solid var(--pv-line); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-thumb.on { border-color: var(--pv-brand); }
.pv-arrow { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--pv-line); border-radius: 50%; background: #fff; color: var(--pv-brand); cursor: pointer; font-size: 1.1rem; }
.pv-arrow:hover { background: var(--pv-soft); }

/* info column */
.pv-info { min-width: 0; }
.pv-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--pv-soft); color: var(--pv-teal); font-size: .76rem; font-weight: 800; }
.pv-info h1 { margin: 12px 0 8px; font-family: 'Manrope', sans-serif; font-size: clamp(1.5rem, 2.4vw, 2.05rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--pv-brand); overflow-wrap: anywhere; }
.pv-rate { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .88rem; color: var(--pv-muted); font-weight: 600; }
.pv-stars { color: #F59E0B; letter-spacing: 2px; font-size: 1rem; }
.pv-share { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--pv-muted); font-family: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.pv-share:hover { color: var(--pv-brand); }
.pv-desc { margin: 0 0 20px; color: #475569; font-size: .98rem; line-height: 1.75; }
.pv-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.pv-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; text-align: center; font-size: .76rem; font-weight: 700; line-height: 1.3; color: var(--pv-navy); border-radius: 14px; background: #fff; border: 1px solid var(--pv-line); }
.pv-tile .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pv-soft); color: var(--pv-brand); }
.pv-tile .ico svg { width: 20px; height: 20px; }
.pv-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pv-trust > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 12px 8px; border-radius: 14px; min-width: 0; background: rgba(231, 242, 243, .6); border: 1px solid var(--pv-line); font-size: .72rem; color: var(--pv-muted); line-height: 1.35; }
.pv-trust strong { display: block; color: var(--pv-navy); font-size: .78rem; margin-bottom: 2px; }
.pv-trust .ico { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--pv-brand); }
.pv-trust .ico svg { width: 17px; height: 17px; }

/* buy box */
.pv-buy { position: sticky; top: 92px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--pv-line); box-shadow: 0 14px 34px rgba(10, 77, 104, .1); }
.pv-from { font-size: .82rem; color: var(--pv-muted); font-weight: 600; }
.pv-price { margin: 2px 0 2px; font-size: 2rem; font-weight: 800; color: var(--pv-navy); letter-spacing: -.02em; }
.pv-price small { font-size: .9rem; font-weight: 600; color: var(--pv-muted); letter-spacing: 0; }
.pv-note { margin: 0 0 16px; font-size: .78rem; color: var(--pv-muted); }
.pv-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--pv-line); border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.pv-qty button { width: 42px; height: 42px; border: 0; background: #f8fafc; font-size: 1.2rem; color: var(--pv-brand); cursor: pointer; }
.pv-qty input { width: 64px; height: 42px; border: 0; border-left: 1.5px solid var(--pv-line); border-right: 1.5px solid var(--pv-line); text-align: center; font-family: inherit; font-weight: 800; font-size: 1rem; color: var(--pv-navy); -moz-appearance: textfield; }
.pv-qty input::-webkit-outer-spin-button, .pv-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pv-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; box-sizing: border-box; padding: 15px 18px; border-radius: 12px; font-family: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s; }
.pv-btn.primary { border: 0; background: linear-gradient(135deg, #0c5a78, #0A4D68); color: #fff; box-shadow: 0 10px 22px rgba(10, 77, 104, .3); }
.pv-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(10, 77, 104, .38); }
.pv-btn.primary[disabled] { opacity: .65; cursor: wait; transform: none; }
.pv-btn.wa { margin-top: 10px; border: 1.5px solid #1fa855; color: #168a46; background: #fff; }
.pv-btn.wa:hover { background: #f0fdf4; }
.pv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 16px; }
.pv-link { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 6px; white-space: nowrap; border: 1px solid var(--pv-line); border-radius: 12px; background: #fff; color: var(--pv-navy); font-family: inherit; font-weight: 700; font-size: .8rem; cursor: pointer; }
.pv-link:hover { background: var(--pv-soft); }
.pv-link.on { color: var(--pv-brand); border-color: #9cc4cf; background: var(--pv-soft); }
.pv-custom { padding: 14px; border-radius: 14px; background: var(--pv-soft); }
.pv-custom strong { display: block; color: var(--pv-navy); font-size: .88rem; margin-bottom: 4px; }
.pv-custom p { margin: 0 0 8px; font-size: .78rem; line-height: 1.5; color: var(--pv-muted); }
.pv-custom textarea { width: 100%; box-sizing: border-box; min-height: 64px; padding: 9px 11px; border: 1.5px solid #cfe0e3; border-radius: 10px; font-family: inherit; font-size: .84rem; resize: vertical; background: #fff; }
.pv-custom textarea:focus { outline: none; border-color: var(--pv-teal); box-shadow: 0 0 0 3px rgba(26, 127, 142, .15); }

/* ---------- tabs ---------- */
.pv-tabs { position: sticky; top: 72px; z-index: 50; display: flex; gap: 6px; margin: 34px 0 28px; padding: 0 4px; overflow-x: auto; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--pv-line); scrollbar-width: none; }
.pv-tabs::-webkit-scrollbar { display: none; }
.pv-tab { flex: 0 0 auto; padding: 16px 20px; border: 0; border-bottom: 3px solid transparent; background: none; font-family: inherit; font-size: .9rem; font-weight: 700; color: var(--pv-muted); cursor: pointer; white-space: nowrap; }
.pv-tab:hover { color: var(--pv-brand); }
.pv-tab.on { color: var(--pv-brand); border-bottom-color: var(--pv-brand); }

/* ---------- sections ---------- */
.pv-sec { margin-bottom: 38px; scroll-margin-top: 140px; }
.pv-sec > h2 { margin: 0 0 18px; font-family: 'Manrope', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--pv-navy); }
.pv-card { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--pv-line); box-shadow: 0 8px 22px rgba(10, 77, 104, .05); }
.pv-card h3 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 800; color: var(--pv-navy); }
.pv-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pv-overview.has-video { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.pv-eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pv-teal); }
.pv-overview h2 { margin: 6px 0 12px; font-family: 'Manrope', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--pv-navy); }
.pv-overview p.lead { margin: 0 0 18px; color: #475569; line-height: 1.8; font-size: .97rem; }
.pv-note-box { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--pv-soft); }
.pv-note-box .ico { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--pv-brand); }
.pv-note-box .ico svg { width: 20px; height: 20px; }
.pv-note-box strong { display: block; color: var(--pv-navy); font-size: .9rem; }
.pv-note-box span { font-size: .8rem; color: var(--pv-muted); line-height: 1.5; }
.pv-video { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #0c3a47; }
.pv-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.pv-video .play { position: absolute; inset: 0; display: grid; place-items: center; }
.pv-video .play i { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--pv-brand); font-style: normal; font-size: 1.4rem; padding-left: 4px; }
.pv-video .cap { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 700; font-size: .85rem; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.pv-checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.pv-checks li { position: relative; padding-left: 28px; font-size: .92rem; line-height: 1.5; color: #334155; }
.pv-checks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--pv-brand); }
.pv-checks li::after { content: ''; position: absolute; left: 6px; top: 6px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pv-cfgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--pv-line); }
.pv-cfg { padding: 12px; border-radius: 12px; background: var(--pv-soft); text-align: center; font-size: .8rem; font-weight: 700; color: var(--pv-navy); }
.pv-cfg small { display: block; margin-top: 3px; font-weight: 600; color: var(--pv-muted); }

/* specs + documents */
.pv-two { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.pv-two.single { grid-template-columns: minmax(0, 1fr); }
.pv-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.pv-specs.one { grid-template-columns: minmax(0, 1fr); }
.pv-spec { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); border-bottom: 1px solid var(--pv-line); }
.pv-spec dt { margin: 0; padding: 12px 14px; background: #f6fafb; font-size: .85rem; color: var(--pv-muted); font-weight: 600; }
.pv-spec dd { margin: 0; padding: 12px 14px; font-size: .88rem; color: var(--pv-navy); font-weight: 700; overflow-wrap: anywhere; }
.pv-specnote { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--pv-soft); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: var(--pv-navy); }
.pv-specnote button { padding: 10px 18px; border: 0; border-radius: 10px; background: var(--pv-brand); color: #fff; font-family: inherit; font-weight: 800; font-size: .84rem; cursor: pointer; }
.pv-docs { display: grid; gap: 12px; }
.pv-doc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--pv-line); border-radius: 12px; }
.pv-doc .ico { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--pv-soft); color: var(--pv-brand); font-size: .7rem; font-weight: 800; }
.pv-doc div { flex: 1; min-width: 0; }
.pv-doc strong { display: block; font-size: .88rem; color: var(--pv-navy); }
.pv-doc small { color: var(--pv-muted); font-size: .76rem; }
.pv-doc a { padding: 8px 16px; border-radius: 9px; background: var(--pv-brand); color: #fff; font-weight: 800; font-size: .78rem; text-decoration: none; }
.pv-acc { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.pv-acc > div { padding: 16px; border: 1px solid var(--pv-line); border-radius: 14px; background: #fff; font-weight: 800; font-size: .9rem; color: var(--pv-navy); }
.pv-acc small { display: block; margin-top: 4px; font-weight: 600; color: var(--pv-muted); }
.pv-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.pv-gal button { padding: 0; border: 1px solid var(--pv-line); border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 4 / 3; }
.pv-gal img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* related */
.pv-relhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pv-relhead h2 { margin: 0; }
.pv-relhead a { font-size: .85rem; font-weight: 800; color: var(--pv-brand); text-decoration: none; }
.pv-rel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pv-rcard { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--pv-line); border-radius: 16px; background: #fff; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.pv-rcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(12, 58, 71, .13); }
.pv-rimg { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #eaf4f6, #dcecef); display: grid; place-items: center; overflow: hidden; }
.pv-rimg img { width: 100%; height: 100%; object-fit: cover; }
.pv-rimg svg { width: 30%; opacity: .5; }
.pv-rbody { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.pv-rbody .pill { align-self: flex-start; padding: 3px 9px; border: 1px solid var(--pv-line); border-radius: 999px; font-size: .68rem; font-weight: 600; color: var(--pv-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-rbody h3 { margin: 0; font-size: .95rem; font-weight: 800; line-height: 1.3; color: var(--pv-navy); overflow-wrap: anywhere; }
.pv-rbody .price { margin-top: auto; font-weight: 800; color: var(--pv-navy); font-size: 1.05rem; }
.pv-rbody .go { align-self: flex-start; padding: 9px 16px; border-radius: 999px; background: var(--pv-navy); color: #fff; font-size: .78rem; font-weight: 800; }

/* states */
.pv-state { max-width: 560px; margin: 90px auto; text-align: center; color: var(--pv-muted); }
.pv-state h1 { font-family: 'Manrope', sans-serif; color: var(--pv-brand); margin: 0 0 10px; }
.pv-state a { display: inline-block; margin-top: 16px; padding: 12px 24px; border-radius: 12px; background: var(--pv-brand); color: #fff; font-weight: 800; text-decoration: none; }
.pv-skel { height: 420px; border-radius: 20px; margin: 30px 0; background: linear-gradient(90deg, #eef4f5 25%, #f7fafb 50%, #eef4f5 75%); background-size: 200% 100%; animation: pvShim 1.4s infinite; }
@keyframes pvShim { to { background-position: -200% 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
    .pv-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pv-buy { position: static; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-items: start; }
    .pv-buy .col-a, .pv-buy .col-b { min-width: 0; }
    .pv-overview.has-video { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .pv-two { grid-template-columns: minmax(0, 1fr); }
    .pv-overview, .pv-overview.has-video { grid-template-columns: minmax(0, 1fr); }
    .pv-specs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .pv-crumb { display: none; }
    .pv-back { display: inline-flex; }
    .pv-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .pv-buy { display: block; padding: 18px; }
    .pv-stage { border-radius: 16px; }
    .pv-count { display: block; }
    .pv-thumb { flex-basis: 64px; height: 48px; }
    .pv-arrow { display: none; }
    .pv-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-trust { grid-template-columns: minmax(0, 1fr); }
    .pv-trust > div { flex-direction: row; text-align: left; padding: 11px 12px; gap: 12px; }
    .pv-tabs { top: 64px; margin: 24px calc(var(--sjp-gutter, 16px) * -1) 22px; padding: 0 var(--sjp-gutter, 16px); }
    .pv-tab { padding: 14px 14px; font-size: .84rem; }
    .pv-sec { scroll-margin-top: 126px; }
    .pv-card { padding: 18px; }
    .pv-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pv-relhead { flex-wrap: wrap; }
    .pv-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pv-rbody { padding: 10px 11px 12px; }
    .pv-rbody h3 { font-size: .84rem; }
    .pv-spec dt, .pv-spec dd { padding: 11px 12px; }
    .pv-price { font-size: 1.8rem; }
}

/* ---------- admin editing + custom configuration ---------- */
.pv-adminbar { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin:0 0 14px; padding:8px 0; }
.pv-adminbar > span { font-size:.72rem; font-weight:800; color:#0f766e; background:#ecfeff; border:1px solid #bae6fd; border-radius:999px; padding:6px 10px; }
.pv-admin-edit { display:inline-flex; align-items:center; gap:6px; padding:8px 13px; border-radius:10px; background:#0a4d68; color:#fff; text-decoration:none; font-size:.78rem; font-weight:800; box-shadow:0 7px 18px rgba(10,77,104,.16); }
.pv-admin-edit:hover { transform:translateY(-1px); background:#083f56; }
.pv-tile strong { display:block; color:var(--pv-navy); font-size:.82rem; line-height:1.3; }
.pv-tile small { display:block; margin-top:3px; color:var(--pv-muted); font-size:.72rem; line-height:1.35; }
.pv-custom-btn { width:100%; margin-top:10px; padding:11px 14px; border:0; border-radius:10px; background:var(--pv-brand); color:#fff; font:800 .82rem/1.2 inherit; cursor:pointer; }
.pv-custom-btn:hover { filter:brightness(.96); transform:translateY(-1px); }
.pv-custom-modal { position:fixed; inset:0; z-index:100000; display:grid; place-items:center; padding:20px; background:rgba(2,23,31,.64); backdrop-filter:blur(7px); opacity:0; transition:opacity .18s ease; }
.pv-custom-modal.show { opacity:1; }
.pv-custom-dialog { width:min(680px,100%); max-height:min(88vh,780px); overflow:auto; border-radius:22px; background:#fff; border:1px solid #dce9ec; box-shadow:0 30px 90px rgba(0,0,0,.25); transform:translateY(12px) scale(.99); transition:transform .18s ease; }
.pv-custom-modal.show .pv-custom-dialog { transform:none; }
.pv-custom-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:22px 22px 16px; border-bottom:1px solid var(--pv-line); }
.pv-custom-kicker { display:block; margin-bottom:4px; color:var(--pv-teal); font-size:.68rem; font-weight:900; letter-spacing:.08em; }
.pv-custom-head h2 { margin:0; color:var(--pv-navy); font-size:1.35rem; line-height:1.2; }
.pv-custom-close { flex:0 0 auto; width:36px; height:36px; border:1px solid var(--pv-line); border-radius:50%; background:#fff; color:var(--pv-muted); font-size:1.45rem; cursor:pointer; }
.pv-custom-intro { margin:0; padding:16px 22px 0; color:#64748b; font-size:.88rem; line-height:1.6; }
.pv-custom-form { padding:18px 22px 22px; }
.pv-custom-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.pv-custom-field { display:block; margin-top:12px; }
.pv-custom-field > span, .pv-custom-label { display:block; margin-bottom:6px; color:var(--pv-navy); font-size:.75rem; font-weight:800; }
.pv-custom-field input, .pv-custom-field textarea { width:100%; box-sizing:border-box; border:1.5px solid #d6e3e6; border-radius:10px; background:#fff; color:#163b49; padding:11px 12px; font:500 .84rem/1.4 inherit; }
.pv-custom-field input:focus, .pv-custom-field textarea:focus { outline:none; border-color:var(--pv-teal); box-shadow:0 0 0 3px rgba(26,127,142,.11); }
.pv-custom-options { margin-top:16px; padding:14px; border:1px solid var(--pv-line); border-radius:12px; background:#f8fbfc; }
.pv-option-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.pv-option { display:flex; align-items:center; gap:8px; min-width:0; padding:9px 10px; border:1px solid #dbe7e9; border-radius:9px; background:#fff; color:#334155; font-size:.76rem; font-weight:700; cursor:pointer; }
.pv-option input { accent-color:var(--pv-brand); }
.pv-custom-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:18px; }
.pv-custom-cancel, .pv-custom-submit { padding:11px 17px; border-radius:10px; font:800 .82rem/1 inherit; cursor:pointer; }
.pv-custom-cancel { border:1px solid var(--pv-line); background:#fff; color:#64748b; }
.pv-custom-submit { border:0; background:var(--pv-brand); color:#fff; }
@media (max-width:600px) {
    .pv-adminbar { justify-content:space-between; }
    .pv-custom-modal { padding:10px; }
    .pv-custom-dialog { max-height:94vh; border-radius:18px; }
    .pv-custom-head, .pv-custom-form { padding-left:16px; padding-right:16px; }
    .pv-custom-intro { padding-left:16px; padding-right:16px; }
    .pv-custom-grid, .pv-option-grid { grid-template-columns:1fr; }
    .pv-custom-actions { display:grid; grid-template-columns:1fr 1fr; }
}
