/* hadjikyriakos-core — installation info (PDP panel, cart-line note, checkout acknowledgement). */

.hkc-install { --hkc-install-bg: var(--hk-accent-soft, #FFF6DB); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; padding: 1rem 1.1rem; border: 1px solid var(--hk-line, #E3E6EB); border-radius: var(--hk-radius, 16px); background: var(--hkc-install-bg); color: var(--hk-ink, #16181D); }
.hkc-install__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hk-bg, #fff); color: var(--hk-ink, #16181D); }
.hkc-install__icon .hk-icon { width: 20px; height: 20px; }
.hkc-install__body { min-width: 0; }
.hkc-install__title { margin: 0; font-size: var(--wp--preset--font-size--sm, .9375rem); font-weight: 650; line-height: 1.4; }
.hkc-install__price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hkc-install__price .woocommerce-Price-amount { font-weight: 700; }
.hkc-install__text { margin: .2rem 0 0; font-size: var(--wp--preset--font-size--xs, .8125rem); line-height: 1.5; color: var(--hk-ink-2, #3A3F48); }

.hkc-install__details { margin-top: .5rem; }
.hkc-install__summary { display: inline-flex; align-items: center; gap: .3rem; min-height: 32px; font-size: var(--wp--preset--font-size--xs, .8125rem); font-weight: 600; color: var(--hk-ink, #16181D); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; list-style: none; }
.hkc-install__summary::-webkit-details-marker { display: none; }
.hkc-install__summary .hk-icon { width: 16px; height: 16px; transition: transform var(--hk-ease-fast, .16s); }
.hkc-install__details[open] > .hkc-install__summary .hk-icon { transform: rotate(180deg); }
.hkc-install__desc { margin-top: .4rem; font-size: var(--wp--preset--font-size--xs, .8125rem); line-height: 1.55; color: var(--hk-ink-2, #3A3F48); }
.hkc-install__desc p { margin: 0 0 .5rem; }
.hkc-install__desc p:last-child { margin-bottom: 0; }
.hkc-install__desc a { color: var(--hk-ink, #16181D); font-weight: 600; }

/* Compact note under a cart line (mini-cart drawer, cart page, checkout review). */
.hkc-install--line { display: block; margin-top: .4rem; padding: .45rem .65rem; border: 0; border-radius: var(--hk-radius-sm, 8px); }
.hkc-install--line .hkc-install__title { display: flex; align-items: flex-start; gap: .4rem; font-size: 12px; font-weight: 600; line-height: 1.4; }
.hkc-install--line .hkc-install__title .hk-icon { flex: none; width: 15px; height: 15px; margin-top: 1px; }
.hkc-install--line .hkc-install__details { margin-top: .1rem; padding-left: calc(15px + .4rem); }
.hkc-install--line .hkc-install__summary { min-height: 24px; font-size: 12px; }
.hkc-install--line .hkc-install__desc { font-size: 12px; }
.hk-flow table.hk-review tbody tr.hkc-install-row td { padding: .75rem 0; }
.hkc-install-row .hkc-install--line { margin: 0; }
.hk-mini-item:has(.hkc-install__details[open]) { align-items: start; }

/* PDP spacing inside the summary column. */
.hk-pdp__summary .hkc-install { margin-block: .25rem; }
.hkc-install-ref { margin: 0; padding: 1rem 1.1rem; border-radius: var(--hk-radius, 16px); background: var(--hk-surface, #F5F6F8); font-size: var(--wp--preset--font-size--sm, .9375rem); }

/* Checkout acknowledgement — sits under the site terms checkbox. */
.hkc-install-accept { margin: .25rem 0 .5rem; }
.woocommerce .hkc-install-accept .woocommerce-form__label-for-checkbox { align-items: flex-start; font-size: var(--wp--preset--font-size--xs, .8125rem); line-height: 1.5; }
.woocommerce .hkc-install-accept .woocommerce-form__label-for-checkbox input { flex: none; margin-top: .15rem; }
.hkc-install-accept .required { color: var(--hk-sale, #C62828); text-decoration: none; visibility: visible; }
.hkc-install-accept.woocommerce-invalid .hkc-install-accept__text { color: var(--hk-sale, #C62828); }

@media (prefers-reduced-motion: reduce) { .hkc-install__summary .hk-icon { transition: none; } }
