.aabex-pd{margin:24px 0;--aabex-pd-accent:#c8102e}
.aabex-pd__heading{font-size:1.25rem;margin:0 0 14px}
.aabex-pd__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.aabex-pd__item a{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #e3e3e3;border-radius:8px;text-decoration:none;color:inherit;background:#fff;transition:border-color .2s,box-shadow .2s}
.aabex-pd__item a:hover{border-color:var(--aabex-pd-accent);box-shadow:0 2px 10px rgba(0,0,0,.06)}
.aabex-pd__item .aabex-pd-ico{color:var(--aabex-pd-accent);flex:none}
.aabex-pd__title{flex:1;font-weight:600}
.aabex-pd__btn{background:var(--aabex-pd-accent);color:#fff;padding:6px 14px;border-radius:6px;font-size:.85rem;font-weight:600}
.aabex-pd__item.is-global a{border-color:var(--aabex-pd-accent)}
.aabex-pd--cards .aabex-pd__list{flex-direction:row;flex-wrap:wrap}
.aabex-pd--cards .aabex-pd__item{flex:1 1 220px}
.aabex-pd--cards .aabex-pd__item a{flex-direction:column;align-items:flex-start;padding:18px}
.aabex-pd--buttons .aabex-pd__list{flex-direction:row;flex-wrap:wrap}
.aabex-pd--buttons .aabex-pd__item a{background:var(--aabex-pd-accent);color:#fff;border-color:var(--aabex-pd-accent)}
.aabex-pd--buttons .aabex-pd__item .aabex-pd-ico{color:#fff}
.aabex-pd--buttons .aabex-pd__btn{display:none}
.aabex-pd__empty{color:#777}

.aabex-pd--inline{margin:16px 0 8px;display:flex;flex-wrap:wrap;gap:10px}
.aabex-pd__button{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border:2px solid var(--aabex-pd-accent);border-radius:8px;color:var(--aabex-pd-accent);background:#fff;font-weight:700;font-size:.9rem;text-decoration:none;line-height:1.2;transition:background .2s,color .2s}
.aabex-pd__button:hover,.aabex-pd__button:focus{background:var(--aabex-pd-accent);color:#fff}
.aabex-pd__button .aabex-pd-ico{flex:none}

/* Product column uses flex + order: keep the button between the size options and Add to Cart */
.wp-block-column > .aabex-pd--inline{order:3!important;width:100%}
.wp-block-column > .aabex-pd-variant-groups{order:2!important}
