/* Unified configuration v4, based on the approved doctor layout. */
.pzh-v4-shell{margin:18px 0;background:#f1f7ff;border:1px solid #b8d5ff;border-radius:18px;padding:12px;box-shadow:0 8px 27px #0c4d9c13}
.pzh-v4-hero{background:linear-gradient(115deg,#2b97fa,#0653bc 67%,#083d94);color:#fff;border-radius:16px;padding:19px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.pzh-v4-hero h2{margin:0 0 4px;font-size:clamp(22px,2.3vw,32px);line-height:1.15;color:#fff;font-weight:900}
.pzh-v4-hero p{margin:0;color:#eff7ff;font-size:14px}
.pzh-v4-trust{white-space:nowrap;border:1px solid #d4eaff;border-radius:30px;padding:10px 16px;font-weight:800;font-size:13px;background:#ffffff13}
.pzh-v4-info{border:1px solid #b6d7ff;color:#164996;background:#eaf4ff;border-radius:12px;padding:11px 14px;margin:10px 0;font-size:13px;line-height:1.45}
.pzh-v4-shell .pzh-choice-grid{display:grid!important;grid-template-columns:minmax(0,2.4fr) minmax(225px,.83fr) minmax(190px,.75fr)!important;gap:10px!important;align-items:stretch!important;margin:12px 0!important}
.pzh-v4-shell .pzh-choice-grid>.pzh-imprint-choice{grid-column:1!important;grid-row:1!important}
.pzh-v4-shell .pzh-choice-grid>.pzh-time-choice{grid-column:2!important;grid-row:1!important}
.pzh-v4-gallery{grid-column:3;grid-row:1;border-radius:15px;border:1px solid #c4dcfa;background:linear-gradient(160deg,#fff,#eff6ff);padding:12px;min-width:0;display:flex;flex-direction:column;gap:8px}
.pzh-v4-gallery h3{font-size:16px;color:#173e78;margin:0;font-weight:800}
.pzh-v4-gallery img{height:175px;width:100%;object-fit:contain;cursor:zoom-in;background:#fff;border-radius:12px;padding:8px}
.pzh-v4-gallery p{margin:0;font-size:12px;line-height:1.3;color:#415c82}
.pzh-v4-shell .pzh-choice-grid > fieldset{padding:12px!important;border:1px solid #bfd9fa!important;border-radius:15px!important;min-width:0;background:linear-gradient(160deg,#fff,#f6faff)!important}
.pzh-v4-shell .pzh-choice-grid .imprint_container{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;max-height:395px!important;overflow:auto!important;scrollbar-width:thin;align-content:start}
.pzh-v4-shell .pzh-choice-grid .item_wrapper.imprint{display:grid!important;grid-template-columns:clamp(42px,5vw,74px) minmax(0,1fr)!important;align-items:center;gap:5px!important;min-width:0!important;padding:8px!important;min-height:106px!important;overflow:hidden}
.pzh-v4-shell .pzh-choice-grid .item_wrapper.imprint>.img_wrap{grid-column:1;grid-row:1;width:100%;height:68px!important}
.pzh-v4-shell .pzh-choice-grid .item_wrapper.imprint>.img_wrap img{width:100%!important;height:66px!important;max-width:100%!important;object-fit:contain}
.pzh-v4-shell .pzh-choice-grid .item_wrapper.imprint>div:not(.img_wrap){grid-column:2;grid-row:1;min-width:0!important;overflow-wrap:anywhere}
.pzh-v4-shell .pzh-choice-grid .item_wrapper.imprint .item_title{font-size:12px!important;line-height:1.25!important;text-align:left!important;font-weight:850!important}
.pzh-v4-shell .pzh-choice-grid .item_wrapper.imprint .item_price{font-weight:900!important;font-size:15px!important;text-align:left!important;background:none!important;border-radius:0!important;padding:0!important;display:block!important}
.pzh-v4-shell .pzh-choice-grid .item_wrapper.imprint .item_quantity_wrap{justify-content:flex-start!important}
.pzh-v4-shell .pzh-choice-grid .item_wrapper.imprint .pzh-view-image{grid-column:1/3;grid-row:2;justify-self:start;margin:0!important;padding:3px 9px!important;font-size:11px!important;white-space:nowrap}
.pzh-v4-shell .pzh-choice-grid .item_wrapper.imprint.pzh-v4-selected{border:2px solid #1268e5!important;background:#e7f1ff!important;box-shadow:0 0 0 1px #5696f7!important}
.pzh-v4-shell .pzh-choice-grid .item_wrapper.imprint.pzh-v4-selected:after{content:'✓';position:absolute;right:4px;top:4px;font-weight:900;color:white;background:#1268e5;border-radius:99px;width:20px;height:20px;line-height:20px;text-align:center}
.pzh-v4-shell .pzh-choice-grid .pzh-time-choice .main_table{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%)!important;overflow:hidden!important}
.pzh-v4-shell .pzh-choice-grid .pzh-term-list{display:grid!important;grid-template-columns:1fr!important;gap:8px}
.pzh-v4-shell .pzh-choice-grid .pzh-term-button{padding:10px!important;min-height:69px!important;border-radius:12px!important}
.pzh-v4-shell .pzh-choice-grid .pzh-term-button__text{font-size:14px!important}.pzh-v4-shell .pzh-choice-grid .pzh-term-button__text small{font-size:13px!important}
.pzh-v4-shell .pzh-choice-grid .pzh-term-button:first-child{color:#047949;background:#e0f8ed;border-color:#9dddbd}
.pzh-v4-shell .pzh-choice-grid .pzh-term-button:nth-child(2){color:#115cbf;background:#e8f2ff;border-color:#a6ceff}
.pzh-v4-shell .pzh-choice-grid .pzh-term-button:nth-child(3){color:#c9332a;background:#ffe9e8;border-color:#ffb0ac}
.pzh-v4-shell .pzh-choice-grid .pzh-term-button.is-selected{box-shadow:0 0 0 2px currentColor inset!important}
.pzh-v4-shell .osnastka_container{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;max-height:430px!important;overflow:auto!important;align-content:start;scrollbar-width:thin}
.pzh-v4-shell .osnastka_container .item_wrapper{min-width:0!important;min-height:170px!important;width:auto!important;display:grid!important;grid-template-columns:70px minmax(0,1fr);grid-auto-rows:min-content;align-items:center;gap:5px!important;padding:9px!important;overflow:visible!important}
.pzh-v4-shell .osnastka_container .item_wrapper .img_wrap{grid-column:1;grid-row:1;height:85px!important;max-width:70px!important;min-width:0!important}
.pzh-v4-shell .osnastka_container .item_wrapper .img_wrap img{height:80px!important;max-width:100%!important;object-fit:contain}
.pzh-v4-shell .osnastka_container .item_wrapper>div:not(.img_wrap):not(.pzh-model-note){grid-column:2;grid-row:1;min-width:0}
.pzh-v4-shell .osnastka_container .item_wrapper .item_title{font-size:12px!important;font-weight:850!important;line-height:1.25!important;overflow-wrap:anywhere}
.pzh-v4-shell .osnastka_container .item_wrapper .item_price{font-size:17px!important;font-weight:900!important;color:#0d4294!important;background:none!important;white-space:normal!important}
.pzh-v4-shell .osnastka_container .item_wrapper .item_quantity_wrap{margin:4px 0!important}
.pzh-v4-shell .osnastka_container .item_wrapper .pzh-view-image{grid-column:1;grid-row:2;white-space:normal;font-size:10px!important;padding:4px!important;margin:0!important}
.pzh-v4-shell .osnastka_container .item_wrapper .pzh-model-note{grid-column:2;grid-row:2;font-size:11px!important;line-height:1.3!important;min-width:0;text-align:left}
.pzh-v4-shell .osnastka_container .item_wrapper.pzh-v4-selected{border:2px solid #1268e5!important;background:#e7f1ff!important}
.pzh-v4-shell .osnastka_container .item_wrapper.pzh-v4-selected:after{content:'✓';position:absolute;right:4px;top:4px;background:#1268e5;color:white;border-radius:50%;font-size:15px;line-height:20px;text-align:center;width:20px;height:20px}
.pzh-v4-shell .pz_kit{background:linear-gradient(100deg,#eef5ff,#fff)!important;border:1px solid #a5c9ff!important;border-radius:16px!important}
.pzh-v4-shell .pz_kit_total b{color:#7424d4!important;font-size:clamp(25px,3vw,38px)!important}
.pzh-v4-shell .pz_kit_add{background:linear-gradient(100deg,#9140e3,#5c20c6)!important;border-radius:12px!important}
@media(max-width:1130px){.pzh-v4-shell .pzh-choice-grid{grid-template-columns:minmax(0,2.5fr) minmax(205px,1fr)!important}.pzh-v4-gallery{grid-column:1/3;grid-row:2;flex-direction:row;align-items:center}.pzh-v4-gallery img{width:135px;height:120px}.pzh-v4-shell .osnastka_container{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.pzh-v4-shell .pzh-choice-grid{grid-template-columns:1fr!important}.pzh-v4-shell .pzh-choice-grid>.pzh-imprint-choice,.pzh-v4-shell .pzh-choice-grid>.pzh-time-choice,.pzh-v4-gallery{grid-column:1!important;grid-row:auto!important}.pzh-v4-shell .pzh-choice-grid .pzh-term-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pzh-v4-shell .osnastka_container{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pzh-v4-trust{display:none}.pzh-v4-gallery{flex-direction:row}.pzh-v4-gallery img{width:110px;height:100px}}
@media(max-width:480px){.pzh-v4-shell{padding:7px}.pzh-v4-hero{padding:15px}.pzh-v4-shell .pzh-choice-grid .imprint_container{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pzh-v4-shell .pzh-choice-grid .pzh-term-list{grid-template-columns:1fr!important}.pzh-v4-shell .osnastka_container{grid-template-columns:1fr!important}.pzh-v4-gallery img{width:85px}.pzh-v4-shell .osnastka_container .item_wrapper{min-height:120px!important}}
