.chipak-pastry{--pastry-ink:#102235;--pastry-blue:#173f57;--pastry-blue-2:#225b75;--pastry-gold:#c89536;--pastry-gold-soft:#fbf4e6;--pastry-green:#246b4a;--pastry-line:#d9e2e8;--pastry-muted:#5b6d79;box-sizing:border-box;clear:both;float:none;width:100%;max-width:1220px;margin:42px auto 34px;padding:clamp(20px,3vw,38px);color:var(--pastry-ink);line-height:1.85;font-family:inherit;background:linear-gradient(145deg,#fff 0%,#fbfcfd 62%,#f5f8fa 100%);border:1px solid #e1e7eb;border-radius:24px;box-shadow:0 18px 55px rgba(16,34,53,.09)}
.chipak-pastry *{box-sizing:border-box;font-family:inherit}
.chipak-pastry :is(button,input,select){font-size:1rem;font-family:inherit}
.chipak-pastry :is(button,input,select):focus-visible{outline:3px solid rgba(200,149,54,.45);outline-offset:3px}
.cp-pastry-intro{max-width:830px;margin:0 0 24px}
.cp-pastry-eyebrow{display:inline-flex;align-items:center;gap:7px;margin-bottom:7px;color:#8a6525;font-size:.83rem;font-weight:800;letter-spacing:.02em}
.cp-pastry-eyebrow:before{content:"";width:23px;height:2px;background:var(--pastry-gold);border-radius:2px}
.chipak-pastry .cp-pastry-intro h2{margin:0 0 8px;color:var(--pastry-ink);font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.45;font-weight:900}
.cp-pastry-intro p{margin:0;color:var(--pastry-muted);font-size:1rem}
.cp-pastry-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 34px}
.cp-pastry-trust article{display:flex;align-items:flex-start;gap:11px;min-width:0;padding:15px 16px;background:#fff;border:1px solid var(--pastry-line);border-radius:16px;box-shadow:0 6px 18px rgba(16,34,53,.045)}
.cp-pastry-trust article>span{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;margin-top:1px;color:#fff;background:var(--pastry-green);border-radius:50%;font-weight:900}
.cp-pastry-trust strong,.cp-pastry-trust small{display:block}
.cp-pastry-trust strong{color:var(--pastry-ink);font-size:.94rem}
.cp-pastry-trust small{margin-top:2px;color:var(--pastry-muted);font-size:.78rem;line-height:1.7}
.cp-pastry-stage{margin-top:30px}
.cp-pastry-stage-heading{display:flex;align-items:flex-start;gap:12px;margin:0 0 16px}
.cp-pastry-stage-number{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;color:#fff;background:var(--pastry-blue);border-radius:11px;font-size:.95rem;font-weight:900;box-shadow:0 7px 17px rgba(23,63,87,.18)}
.cp-pastry-stage-heading h3{margin:0;color:var(--pastry-ink);font-size:1.22rem;line-height:1.5}
.cp-pastry-stage-heading p{margin:1px 0 0;color:var(--pastry-muted);font-size:.87rem}
.cp-pastry-row{min-width:0;margin:0 0 16px;padding:0;border:1px solid var(--pastry-line);border-radius:19px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(16,34,53,.055)}
.cp-pastry-row legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cp-pastry-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 17px;background:#f3f7f9;border-bottom:1px solid #e2e8ec}
.cp-pastry-row-title{display:flex;align-items:center;gap:9px;color:var(--pastry-blue);font-size:.91rem;font-weight:800}
.cp-pastry-row-title span{display:grid;place-items:center;width:27px;height:27px;color:#fff;background:var(--pastry-blue);border-radius:9px;font-size:.78rem}
.chipak-pastry button{min-height:46px;cursor:pointer;border:0;border-radius:11px;padding:10px 19px;background:var(--pastry-blue);color:#fff;line-height:1.5;font-weight:700;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.chipak-pastry button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(16,34,53,.15);background:var(--pastry-blue-2)}
.chipak-pastry button:disabled{cursor:default;opacity:.48}
.chipak-pastry .cp-pastry-remove{min-height:34px;padding:4px 9px;color:#88414a;background:transparent;border:1px solid transparent;font-size:.82rem;font-weight:600;box-shadow:none}
.chipak-pastry .cp-pastry-remove:not(:disabled):hover{color:#6f2f38;background:#fff;border-color:#e7cfd2;box-shadow:none;transform:none}
.cp-pastry-row-body{display:grid;grid-template-columns:minmax(210px,.62fr) minmax(0,1.7fr);gap:20px;padding:18px}
.cp-pastry-photo{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;margin:0;padding:11px;background:#f7f9fa;border:1px solid #e6ecef;border-radius:15px}
.cp-pastry-photo img{display:block;width:100%;height:175px;object-fit:contain;background:#fff;border-radius:11px}
.cp-pastry-photo figcaption{color:var(--pastry-muted);font-size:.82rem;line-height:1.7}
.cp-pastry-photo figcaption strong{display:block;color:var(--pastry-ink);font-size:.91rem}
.cp-pastry-no-image{display:grid;place-items:center;min-height:175px;padding:12px;color:#71828c;background:#fff;border-radius:11px;text-align:center;font-size:.83rem}
.cp-pastry-config{display:flex;flex-direction:column;gap:14px;min-width:0}
.cp-pastry-selects,.cp-pastry-amount{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.cp-pastry-field{display:block;min-width:0;color:#334b5a;font-size:.88rem;font-weight:700}
.cp-pastry-field small{display:block;margin-top:4px;color:var(--pastry-muted);font-weight:400}
.chipak-pastry input[type=number],.chipak-pastry select{display:block;width:100%;min-width:0;max-width:100%;min-height:48px;margin-top:5px;padding:8px 12px;border:1px solid #becbd3;border-radius:11px;background:#fff;color:var(--pastry-ink);box-shadow:0 1px 0 rgba(16,34,53,.02)}
.chipak-pastry input[type=checkbox],.chipak-pastry input[type=radio]{accent-color:var(--pastry-blue);width:18px;height:18px;flex:0 0 auto;vertical-align:middle;margin:0}
.cp-pastry-estimate{display:flex;align-items:center;min-height:50px;margin:0;padding:10px 13px;color:var(--pastry-green);background:#eef8f2;border:1px solid #cfe4d8;border-radius:11px;font-size:.9rem;font-weight:800}
.cp-pastry-plastic{padding:13px 14px;border:1px solid #d9d5c7;border-radius:12px;background:#fffcf5}
.cp-pastry-plastic label,.cp-pastry-edge{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.9rem;font-weight:800}
.cp-pastry-plastic small{display:block;margin-top:5px;color:var(--pastry-muted);font-size:.78rem}
.cp-pastry-plastic p{margin:7px 0 0;color:var(--pastry-green);font-size:.86rem;font-weight:800}
.cp-pastry-edge{margin-top:2px;padding:10px 12px;background:#f4f7f9;border-radius:10px}
.chipak-pastry .cp-pastry-secondary{display:inline-flex;align-items:center;justify-content:center;color:var(--pastry-blue);background:#fff;border:1px solid #9cb5c3;box-shadow:none}
.chipak-pastry .cp-pastry-secondary:not(:disabled):hover{color:#fff;background:var(--pastry-blue);border-color:var(--pastry-blue)}
.cp-pastry-confidence{display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;padding:13px 15px;color:#435d6c;background:#f4f7f9;border-radius:12px;font-size:.84rem}
.cp-pastry-confidence span{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;color:var(--pastry-blue);background:#fff;border:1px solid #cbd7de;border-radius:50%;font-weight:900}
.cp-pastry-services-wrap{margin-top:34px;padding-top:30px;border-top:1px solid var(--pastry-line)}
.cp-pastry-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cp-pastry-service-card{position:relative;display:grid;grid-template-columns:145px minmax(0,1fr);align-items:stretch;min-width:0;overflow:hidden;cursor:pointer;background:#fff;border:1px solid var(--pastry-line);border-radius:18px;box-shadow:0 8px 25px rgba(16,34,53,.055);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.cp-pastry-service-card:hover{transform:translateY(-2px);border-color:#b6c7d0;box-shadow:0 13px 30px rgba(16,34,53,.1)}
.cp-pastry-service-card.is-active{border-color:var(--pastry-gold);box-shadow:0 0 0 2px rgba(200,149,54,.13),0 13px 30px rgba(16,34,53,.09)}
.cp-pastry-service-card.is-disabled{cursor:not-allowed;opacity:.58}
.cp-pastry-service-card>input{position:absolute;z-index:2;top:12px;right:12px;opacity:1;pointer-events:auto}
.cp-pastry-service-card:focus-within{outline:3px solid rgba(200,149,54,.65);outline-offset:3px}
.cp-pastry-service-media{position:relative;display:grid;place-items:center;min-height:155px;background:linear-gradient(145deg,#edf2f5,#fff);overflow:hidden}
.cp-pastry-service-media img{width:100%;height:155px;object-fit:contain;padding:10px;filter:saturate(.92)}
.cp-pastry-service-media:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 42%,rgba(200,149,54,.11))}
.cp-pastry-service-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:18px}
.cp-pastry-service-copy strong{color:var(--pastry-ink);font-size:1.05rem}
.cp-pastry-service-copy small{margin-top:5px;color:var(--pastry-muted);font-size:.8rem;line-height:1.75}
.cp-pastry-service-check{display:inline-flex;align-items:center;gap:7px;margin-top:12px;color:var(--pastry-blue);font-size:.82rem;font-weight:800}
.cp-pastry-service-check:before{content:"";width:31px;height:18px;background:#cbd5db;border-radius:20px;box-shadow:inset 0 0 0 2px rgba(16,34,53,.06);transition:background .16s ease}
.cp-pastry-service-card.is-active .cp-pastry-service-check:before{background:var(--pastry-gold)}
.cp-pastry-print{min-width:0;margin:16px 0 0;padding:17px 18px;border:1px solid #d9d1bd;border-radius:15px;background:var(--pastry-gold-soft)}
.cp-pastry-print legend{padding-inline:8px;color:#795a21;font-weight:900}
.cp-pastry-print label{display:flex;align-items:center;gap:8px;margin:7px 0;cursor:pointer;color:#3b4f5c;font-size:.89rem}
.cp-pastry-print p{margin:10px 0 0;color:#6e644e;font-size:.8rem}
.cp-pastry-artwork{display:grid;grid-template-columns:minmax(0,.85fr) minmax(300px,1.15fr);gap:24px;align-items:center;margin-top:17px;padding:19px;background:#fff;border:1px solid var(--pastry-line);border-radius:18px}
.cp-pastry-artwork-copy h4{margin:0 0 5px;color:var(--pastry-ink);font-size:1.05rem}
.cp-pastry-artwork-copy p{margin:0 0 13px;color:var(--pastry-muted);font-size:.82rem}
.cp-pastry-upload{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;color:#fff;background:var(--pastry-blue);border-radius:10px;cursor:pointer;font-size:.86rem;font-weight:800}
.cp-pastry-upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}
.cp-pastry-file{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:9px;color:var(--pastry-green);font-size:.78rem}
.chipak-pastry .cp-pastry-clear-artwork{min-height:30px;padding:3px 8px;color:#88414a;background:#fff;border:1px solid #e6cfd2;font-size:.75rem;box-shadow:none}
.cp-pastry-artwork-note{margin-top:12px!important;color:#7b6640!important}
.cp-pastry-preview-shell{display:flex;align-items:center;justify-content:center;min-height:260px;padding:24px;background:radial-gradient(circle at 50% 40%,#fff 0,#edf2f5 72%);border-radius:15px;perspective:900px}
.cp-pastry-lid{position:relative;display:grid;place-items:center;width:min(88%,390px);max-height:235px;background:linear-gradient(145deg,#fff,#f6f3ec);border:8px solid #e7e0d3;border-radius:7px;box-shadow:0 22px 35px rgba(16,34,53,.2),inset 0 0 0 1px rgba(16,34,53,.08);transform:rotateX(55deg) rotateZ(-4deg);overflow:hidden}
.cp-pastry-lid:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.65) 48%,transparent 62%);transform:translateX(-120%)}
.cp-pastry-lid.is-gold:after{animation:cp-pastry-shine 3.5s ease-in-out infinite}
.cp-pastry-lid img{position:absolute;inset:13%;width:74%;height:74%;object-fit:contain;transform:rotateZ(4deg)}
.cp-pastry-lid-placeholder{position:relative;z-index:1;padding:12px;color:#7b8890;text-align:center;font-size:.82rem;transform:rotateZ(4deg)}
.cp-pastry-lid-badge{position:absolute;right:10px;bottom:8px;z-index:2;padding:3px 7px;color:#fff;background:rgba(16,34,53,.75);border-radius:7px;font-size:.65rem;transform:rotateZ(4deg)}
@keyframes cp-pastry-shine{0%,55%{transform:translateX(-120%)}85%,100%{transform:translateX(120%)}}
.cp-pastry-warning{margin:8px 0;padding:11px 13px;color:#744b10;background:#fff4df;border:1px solid #efd7ab;border-radius:10px;font-size:.86rem}
.cp-pastry-status{margin:14px 0;color:var(--pastry-green);font-weight:800}
.cp-pastry-order-end{margin-top:34px;padding-top:29px;border-top:1px solid var(--pastry-line)}
.cp-pastry-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:17px}
.cp-pastry-actions button{flex:1 1 230px;min-height:52px}
.chipak-pastry [data-buy]{color:#172c3b;background:var(--pastry-gold)}
.chipak-pastry [data-buy]:not(:disabled):hover{background:#d5a442}
.cp-pastry-note{margin:12px 0;color:var(--pastry-muted);font-size:.79rem}
.cp-pastry-review{margin-top:18px;padding:20px;border:1px solid #bbd6c7;background:#f2f9f5;border-radius:17px}
.cp-pastry-review h3{margin:0 0 12px;color:#194833}
.cp-pastry-review p{margin:12px 0;padding-bottom:12px;border-bottom:1px solid #d4e5db}
.cp-pastry-review ul{padding-inline-start:22px}
.cp-pastry-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:#143342;font-size:1.08rem}
.cp-pastry-total strong{font-size:1.25rem}
@media(max-width:900px){.cp-pastry-trust{grid-template-columns:1fr}.cp-pastry-services{grid-template-columns:1fr}.cp-pastry-artwork{grid-template-columns:1fr}.cp-pastry-row-body{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:680px){.chipak-pastry{width:auto;max-width:100%;margin:28px 0 24px;padding:18px 14px;border-radius:18px}.cp-pastry-row-body{grid-template-columns:1fr;padding:14px}.cp-pastry-photo{display:grid;grid-template-columns:120px 1fr;align-items:center}.cp-pastry-photo img{height:100px}.cp-pastry-no-image{min-height:100px}.cp-pastry-selects,.cp-pastry-amount{grid-template-columns:1fr}.cp-pastry-service-card{grid-template-columns:105px minmax(0,1fr)}.cp-pastry-service-media,.cp-pastry-service-media img{min-height:130px;height:130px}.cp-pastry-preview-shell{min-height:220px;padding:16px}.cp-pastry-lid{width:95%}.cp-pastry-actions button{flex-basis:100%}}
@media(max-width:420px){.cp-pastry-trust article{padding:12px}.cp-pastry-service-card{grid-template-columns:86px minmax(0,1fr)}.cp-pastry-service-copy{padding:13px}.cp-pastry-service-copy strong{font-size:.94rem}.cp-pastry-service-media,.cp-pastry-service-media img{height:120px;min-height:120px}.cp-pastry-photo{grid-template-columns:95px 1fr}.cp-pastry-photo img{height:85px}.cp-pastry-row-head{padding:10px 12px}}
.cp-pastry-rate{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;margin-top:16px;padding:14px 18px;background:var(--pastry-gold-soft);border:1px solid #e7d3ab;border-radius:14px}
.cp-pastry-rate strong{font-size:1.3rem;color:var(--pastry-blue)}
.cp-pastry-rate small{flex-basis:100%;color:var(--pastry-muted)}
.cp-pastry-entry-mode,.cp-pastry-plastic{min-width:0;margin:0}
.cp-pastry-entry-mode{display:flex;flex-wrap:wrap;gap:10px;padding:12px;border:1px solid var(--pastry-line);border-radius:12px}
.cp-pastry-entry-mode legend,.cp-pastry-plastic legend{padding:0 6px;color:var(--pastry-ink);font-size:.9rem;font-weight:800}
.cp-pastry-entry-mode label{display:flex;align-items:center;gap:8px;flex:1 1 150px;min-height:48px;padding:8px 10px;border:1px solid var(--pastry-line);border-radius:9px;cursor:pointer;font-size:.9rem}
.cp-pastry-entry-mode label:has(:checked){border-color:var(--pastry-gold);background:var(--pastry-gold-soft);font-weight:800}
.cp-pastry-plastic label{min-height:44px;margin:3px 0}
.cp-pastry-trust article>div,.cp-pastry-stage-heading>div,.cp-pastry-confidence>div{min-width:0;overflow-wrap:anywhere}
.chipak-pastry-product .summary #chipak-pastry .cp-pastry-row-body,.chipak-pastry-product .summary #chipak-pastry .cp-pastry-artwork{grid-template-columns:1fr}
body.single-product .woocommerce div.product.chipak-pastry-product>div.summary{position:static!important;grid-row:1!important}
body.single-product .woocommerce div.product.chipak-pastry-product>#chipak-pastry{box-sizing:border-box;width:100%;min-width:0;max-width:100%;grid-column:1/-1;grid-row:2;direction:rtl;margin:24px 0}
body.single-product .woocommerce div.product.chipak-pastry-product>.woocommerce-tabs{grid-column:1/-1;grid-row:3}
@media(max-width:960px){body.single-product .woocommerce div.product.chipak-pastry-product>div.summary,body.single-product .woocommerce div.product.chipak-pastry-product>#chipak-pastry,body.single-product .woocommerce div.product.chipak-pastry-product>.woocommerce-tabs{grid-row:auto!important;grid-column:1/-1}}
