/* Original ITConnect Pro E-shop gradient and sweep. Public text buttons only. */
body :is(a.itc-btn,a.button,button.button,.elementor-button,.wp-block-button__link,.wc-block-components-button,button[type="submit"],a.itc-home60-checklink):not(.itc-shopbtn):not(.itccp-close):not(.disabled):not(:disabled):not([aria-disabled="true"]):not(.wc-block-components-payment-method-icons *) {
 position:relative;overflow:hidden;border-radius:999px;background:linear-gradient(120deg,var(--itc-accent,#3d9c04),var(--itc-accent2,#258b45));color:#fff;border-color:transparent;box-shadow:0 8px 22px rgba(61,156,4,.28);font-weight:700;transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;text-decoration:none;
}
body :is(a.itc-btn,a.button,button.button,.elementor-button,.wp-block-button__link,.wc-block-components-button,button[type="submit"],a.itc-home60-checklink):not(.itc-shopbtn):not(.itccp-close):not(.disabled):not(:disabled):not([aria-disabled="true"]):not(.wc-block-components-payment-method-icons *)::before {
 content:"";position:absolute;top:0;left:-60%;width:45%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-18deg);animation:itccp-shine 4.6s ease-in-out infinite;pointer-events:none;
}
body :is(a.itc-btn,a.button,button.button,.elementor-button,.wp-block-button__link,.wc-block-components-button,button[type="submit"],a.itc-home60-checklink):not(.itc-shopbtn):not(.itccp-close):not(.disabled):not(:disabled):not([aria-disabled="true"]):hover{color:#fff;box-shadow:0 14px 30px rgba(61,156,4,.36);filter:saturate(1.06)}
@keyframes itccp-shine{0%,72%{left:-60%}92%,100%{left:130%}}
@media(prefers-reduced-motion:reduce){body :is(a.itc-btn,a.button,button.button,.elementor-button,.wp-block-button__link,.wc-block-components-button,button[type="submit"],a.itc-home60-checklink)::before{animation:none!important}}
#itccp-inquiry{box-sizing:border-box;width:min(540px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:24px;border:0;border-radius:20px;background:#fff;color:#20262b;box-shadow:0 24px 80px #0004;margin:auto;}
#itccp-inquiry:not([open]){display:none}#itccp-inquiry::backdrop{background:rgba(15,23,20,.58)}
#itccp-inquiry .itccp-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}#itccp-inquiry h2{margin:0;font-size:1.3rem}#itccp-inquiry .itccp-close{font-size:26px;line-height:1;background:#eef2ef;color:#222;border:0;border-radius:50%;width:36px;height:36px;cursor:pointer;flex-shrink:0}
#itccp-inquiry .itccp-product{display:flex;gap:12px;align-items:center;padding:12px;background:#f5f7f5;border-radius:12px}#itccp-inquiry .itccp-product img{width:64px;height:64px;object-fit:contain}#itccp-inquiry small{display:block;font-size:.83rem;color:#58636b}
#itccp-inquiry form{display:grid;gap:11px;margin-top:12px}#itccp-inquiry form[hidden],#itccp-inquiry [hidden]{display:none!important}#itccp-inquiry label{display:grid;gap:4px;font-weight:600;font-size:.9rem}#itccp-inquiry :is(input:not([type=hidden]),select,textarea){box-sizing:border-box;width:100%;padding:9px 12px;border:1px solid #cbd5ce;border-radius:9px;background:#fff;color:#20262b;font:inherit}#itccp-inquiry .itccp-submit{width:100%;padding:12px 16px}#itccp-inquiry .itccp-status:not(:empty){padding:10px;background:#f0f7ee;border-radius:8px;margin:10px 0}#itccp-inquiry :focus-visible{outline:2px solid #258b45;outline-offset:3px}
@media(max-width:480px){#itccp-inquiry{padding:16px;max-height:94dvh}#itccp-inquiry :is(input,select,textarea){font-size:16px}}
/* 1.3.3: consistent public text-button dimensions; retain icon controls. */
body :is(a.itc-btn,a.button,button.button,.elementor-button,.wp-block-button__link,.wc-block-components-button,button[type="submit"],a.itc-home60-checklink):not(.itc-shopbtn):not(.itccp-close):not(.disabled):not(:disabled):not([aria-disabled="true"]):not(.wc-block-components-payment-method-icons *) {
 box-sizing:border-box;min-height:46px;max-width:100%;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;line-height:1.3;text-align:center;white-space:normal;overflow-wrap:anywhere;
}
.itc-pcard .itc-pcard__body{min-width:0}
body .itc-pcard__body :is(a.button,button.button,a.itccp-contact-price):not(.disabled):not(:disabled):not([aria-disabled="true"]){min-height:42px;width:100%;padding:8px 12px;margin-top:auto;}
body .itc-pcard__body .price:has(.itccp-contact-price){margin-top:auto;width:100%;}
body #itccp-inquiry .itccp-submit{min-height:46px;width:100%;}
@media(max-width:480px){body .itc-pcard__body :is(a.button,button.button,a.itccp-contact-price){font-size:13px;padding-inline:8px;}}
/* 1.3.4: independent phases, including the original header E-shop. */
body .itccp-shine-phase::before{animation-delay:var(--itccp-shine-delay,0s)!important;animation-duration:var(--itccp-shine-period,4.6s)!important;}
@media(prefers-reduced-motion:reduce){body .itccp-shine-phase::before{animation:none!important;}}

/* 1.3.5: bounded media boxes, no crop, scoped to known storefront markup. */
body .itc-pcard__media,body .itc-home60-product__media{box-sizing:border-box;min-width:0;min-height:0;height:clamp(130px,20vw,240px)!important;aspect-ratio:auto!important;overflow:hidden!important;background:#fff!important;display:grid!important;place-items:center!important;position:relative}
body .itc-pcard__media>a{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;min-height:0;min-width:0;overflow:hidden}
body .itc-pcard__media img,body .itc-home60-product__media img,body .woocommerce ul.products li.product .itc-pcard__media img{box-sizing:border-box;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;padding:14px!important;margin:0!important;transform:none!important;min-width:0;min-height:0}
/* Only the normal gallery image, not zoom overlays, thumbnails or lightbox. */
body .woocommerce div.product div.images .woocommerce-product-gallery__image>a>img:not(.zoomImg){display:block;max-width:100%!important;width:100%!important;height:auto!important;max-height:min(480px,65vh)!important;object-fit:contain!important;object-position:center;margin-inline:auto!important}
body .woocommerce div.product div.images .flex-control-thumbs img{width:100%!important;height:76px!important;object-fit:contain!important}
/* Service cards retain their links, prices, AJAX controls and original DOM. */
body .itc-related-services{padding:clamp(14px,2vw,24px);border-radius:16px;background:#f8faf7}
body .itc-related-services__grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));align-items:stretch;gap:14px}
body .itc-related-services__grid.is-single{grid-template-columns:minmax(0,1fr)}
body .itc-related-services .itc-service-card{display:flex;flex-direction:column;min-width:0;height:100%;box-shadow:0 4px 16px #18351b0c}
body .itc-related-services .itc-service-card__media{height:144px;min-width:0;min-height:0;background:#fff;overflow:hidden}
body .itc-related-services .itc-service-card__image{height:100%!important;min-height:0!important;width:100%;aspect-ratio:auto!important;display:grid;place-items:center;overflow:hidden;background:#fff}
body .itc-related-services .itc-service-card__image img{width:100%!important;height:100%!important;max-width:100%!important;max-height:144px!important;object-fit:contain!important;padding:12px!important;box-sizing:border-box;margin:0!important}
body .itc-related-services .itc-service-card__body{display:flex;flex:1;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:16px;gap:9px;min-width:0}
body .itc-service-card__badge{align-self:flex-start}
body .itc-service-card h3{font-size:1.03rem;line-height:1.35;margin:0;overflow-wrap:anywhere}
body .itc-service-card__excerpt{margin:0;font-size:.9rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;order:1}
body .itc-service-card__purchase{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:auto 0 0;padding:10px;border:0;background:#f1f7ed;order:2;max-width:none!important}
body .itc-service-card__price{font-size:1.25rem;color:#255e13;white-space:normal;margin:0}
body .itc-service-card__add.button{width:100%!important;min-height:42px!important;padding:8px 12px!important;font-size:14px!important;font-weight:700!important}
body .itc-service-card__cta{order:3;justify-content:center;font-size:.9rem;margin-top:auto;min-height:36px}
body .itc-related-services__grid.is-single .itc-service-card{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr);align-items:center}
body .itc-related-services__grid.is-single .itc-service-card__body{padding:16px}
body .itc-related-services__grid.is-single .itc-service-card__media{height:160px}
body .itc-addon-modal__dialog{width:min(960px,100%);box-sizing:border-box}
body .itc-addon-grid{align-items:stretch}
body .itc-addon-card{display:flex;flex-direction:column;min-width:0}
body .itc-addon-card__media{height:112px;min-height:0;overflow:hidden;background:#fff}
body .itc-addon-card__media img{height:100%!important;width:100%!important;max-height:112px!important;object-fit:contain!important;padding:10px!important;box-sizing:border-box}
body .itc-addon-card__body{display:flex;flex:1;flex-direction:column;gap:6px;min-width:0}
body .itc-addon-card__badge{align-self:flex-start}
body .itc-addon-card h4{margin:0;overflow-wrap:anywhere}
body .itc-addon-card__price{margin-top:auto;margin-bottom:0}
body .itc-addon-card__add.button{min-height:42px!important;border-radius:999px!important;font-size:14px!important;padding:8px 10px!important}
@media(max-width:640px){body .itc-pcard__media,body .itc-home60-product__media{height:clamp(115px,38vw,180px)!important}body .itc-pcard__media img,body .itc-home60-product__media img{padding:9px!important}body .itc-related-services__grid.is-single .itc-service-card{grid-template-columns:minmax(0,1fr)}body .itc-related-services__grid.is-single .itc-service-card__media{height:128px}body .itc-addon-card__media{height:90px}body .itc-addon-card__media img{max-height:90px!important}}

/* 1.3.6: scoped fallback for extra purchase blocks on inquiry pages. */
body.itccp-inquiry-product .itc-related-services,body.itccp-inquiry-product .itc-addon-reopen-wrap,body.itccp-inquiry-product .related.products,body.itccp-inquiry-product .upsells.products{display:none!important}
