/* Only the external summary. No selector reaches the Personalize dialog. */
.summary #alam-summary-compact{font-family:'Alam DM Sans',Arial,sans-serif;color:#192937;text-align:left;width:100%;margin:20px 0 0;container-type:inline-size}
.summary #alam-summary-compact *{box-sizing:border-box}
.summary #alam-summary-compact .ab-price-panel{background:#f0f7fb;border:0;border-radius:18px;padding:20px;margin:0;box-shadow:none}
.summary #alam-summary-compact .ab-price-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px}
.summary #alam-summary-compact .ab-price{font-size:32px;font-weight:500;line-height:1.2;letter-spacing:-.025em;font-variant-numeric:tabular-nums;color:#192937}
.summary #alam-summary-compact .ab-price :is(span,bdi){font:inherit;color:inherit}
.summary #alam-summary-compact .ab-unit{font-size:13px;color:#536674}
.summary #alam-summary-compact .ab-included{display:flex;align-items:center;gap:6px;font-size:13px;line-height:1.5;margin:8px 0 0;color:#536674}
.summary #alam-summary-compact svg{width:18px;height:18px;flex:none}
.summary #alam-summary-compact .ab-included svg{width:15px;height:15px;color:#007caa}
.summary #alam-summary-compact .ab-color-source{display:none}
.summary #alam-summary-compact .ab-selection{border-top:1px solid #d4e3ed;margin-top:18px;padding-top:16px}
.summary #alam-summary-compact .ab-color-line{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;line-height:1.5;color:#536674;margin-bottom:16px}
.summary #alam-summary-compact .ab-color-value{display:flex;align-items:center;gap:7px;color:#192937;font-weight:500}
.summary #alam-summary-compact .ab-color-dot{height:14px;width:14px;border-radius:50%;background:#2d3152;border:1px solid #b6c2cb}
.summary #alam-summary-compact .ab-fields{display:grid;grid-template-columns:156px minmax(0,1fr);gap:14px;align-items:start}
.summary #alam-summary-compact .ab-label{display:block;font-size:13px;font-weight:400;line-height:1.5;color:#536674;margin:0 0 8px;padding:0;text-align:left}
.summary #alam-summary-compact .ab-stepper{display:flex;width:156px;height:46px;border:1px solid #cbd9e2;border-radius:99px;overflow:hidden;background:#fff}
.summary #alam-summary-compact .ab-stepper button{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;padding:0;margin:0;border:0;border-radius:0;line-height:1;background:transparent;box-shadow:none;color:#192937;cursor:pointer}
.summary #alam-summary-compact .ab-stepper button:disabled{color:#a4b3bd;cursor:default;opacity:1}
.summary #alam-summary-compact .ab-stepper svg{width:16px;height:16px}
.summary #alam-summary-compact .ab-stepper input{width:66px;min-width:0;max-width:66px;height:44px;min-height:44px;padding:0 2px;margin:0;border:0;border-radius:0;background:#fff;box-shadow:none;text-align:center;font:500 16px/1.2 'Alam DM Sans',Arial,sans-serif;color:#192937;appearance:textfield;-moz-appearance:textfield}
.summary #alam-summary-compact .ab-stepper input::-webkit-inner-spin-button,.summary #alam-summary-compact .ab-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.summary #alam-summary-compact .ab-subtotal{text-align:right}
.summary #alam-summary-compact .ab-subtotal .ab-label{text-align:right}
.summary #alam-summary-compact output{display:flex;align-items:center;justify-content:flex-end;min-height:46px;font-size:23px;line-height:1.25;font-weight:500;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:normal;color:#192937}
.summary #alam-summary-compact output.ab-long-total{font-size:16px}
.summary #alam-summary-compact .ab-add{width:100%;min-height:50px;margin:16px 0 0;padding:12px 14px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:99px;background:#007caa;color:#fff;font:500 15px/1.4 'Alam DM Sans',Arial,sans-serif;box-shadow:none;text-transform:none;letter-spacing:0;cursor:pointer}
.summary #alam-summary-compact .ab-add:hover{background:#006d96}
.summary #alam-summary-compact .ab-price-panel .alq-product-status:empty{display:none}
.summary #alam-summary-compact .ab-price-panel .alq-product-status:not(:empty){margin:12px 0 0;font-size:13px;line-height:1.6;color:#007caa}
.summary #alam-summary-compact .ab-minimum{display:flex;align-items:flex-start;gap:8px;margin-top:16px;color:#536674;font-size:12px;line-height:1.6}
.summary #alam-summary-compact .ab-minimum svg{width:16px;height:16px;margin-top:2px}
.summary #alam-summary-compact .ab-minimum p{margin:0;font:inherit;color:inherit}
.summary #alam-summary-compact .ab-minimum strong{font-weight:500;color:#192937}
.summary #alam-summary-compact .ab-links{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 14px;margin-top:14px}
.summary #alam-summary-compact .ab-links a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 0;font-size:13px;line-height:1.5;font-weight:500;color:#007caa;text-decoration:none}
.summary #alam-summary-compact .ab-links svg{width:16px;height:16px}
.summary #alam-summary-compact .ab-links .ab-support{color:#536674}
.summary #alam-summary-compact .ab-details{margin-top:16px;border-top:1px solid #dce5eb;border-bottom:1px solid #dce5eb}
.summary #alam-summary-compact .ab-details summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:10px 0;font-size:14px;line-height:1.5;font-weight:500;list-style:none;cursor:pointer}
.summary #alam-summary-compact .ab-details summary::-webkit-details-marker{display:none}
.summary #alam-summary-compact .ab-details summary svg{color:#536674}
.summary #alam-summary-compact .ab-details[open] summary svg{transform:rotate(180deg)}
.summary #alam-summary-compact .ab-detail-body{padding:0 0 16px;font-size:13px;line-height:1.65;color:#536674}
.summary #alam-summary-compact .ab-detail-body p{font:inherit;color:inherit;margin:0 0 12px}
.summary #alam-summary-compact .ab-detail-body .product_meta{margin:0;padding:0;border:0;font:inherit;color:inherit}
.summary #alam-summary-compact .ab-detail-body .product_meta>span{display:block;margin:0 0 5px}
@container(max-width:310px){.summary #alam-summary-compact .ab-price-panel{padding:16px}.summary #alam-summary-compact .ab-fields{grid-template-columns:1fr;gap:12px}.summary #alam-summary-compact .ab-subtotal{display:flex;align-items:center;justify-content:space-between;gap:12px}.summary #alam-summary-compact .ab-subtotal .ab-label{margin:0;text-align:left}.summary #alam-summary-compact .ab-links{justify-content:center}}
@media(prefers-reduced-motion:reduce){.summary #alam-summary-compact *{transition:none!important}}

/* Astra may re-register the default summary hooks after wp. Hide only these direct siblings in the single-product pilot. */
body.alam-compact-pilot .summary > :is(.price,.ast-shipping-text,.woocommerce-product-details__short-description,.product_meta){display:none!important}
/* Global rollout: preserve selectors when the product has no equivalent gallery controls. */
body.alam-compact-summary .summary > :is(.price,.ast-shipping-text,.woocommerce-product-details__short-description,.product_meta){display:none!important}
.summary #alam-summary-compact [hidden]{display:none!important}
.summary #alam-summary-compact .ab-color-source{display:block;margin:16px 0 0}
.summary #alam-summary-compact .ab-color-source label{display:block;margin:0;font-size:13px;line-height:1.5;color:#536674}
.summary #alam-summary-compact .ab-color-source select{width:100%;height:auto;min-height:44px;border:1px solid #cbd9e2;border-radius:12px;padding:10px 12px;background:#fff;font-size:16px;line-height:1.4;color:#192937;margin-top:8px}
