/* Product detail actions: keep Save with wishlist/compare; social links wrap as one group. */
.product-utility-actions .product-utility-primary,.product-utility-actions .product-utility-share{display:flex;align-items:center;gap:8px;flex:0 0 auto;min-width:0}
.product-utility-actions .product-utility-primary>form,.product-utility-actions .product-utility-share>form{display:block;margin:0;padding:0;flex:0 0 44px;width:44px;height:44px;line-height:0}
.product-utility-actions .ac-product-save-form{margin-inline-start:0}
.product-utility-actions .product-utility-primary button,.product-utility-actions .product-utility-share>a,.product-utility-actions .ac-product-save-form .ac-product-save-button{display:grid;place-items:center;box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #e9e3e5;border-radius:12px;line-height:1;background:var(--card,#fff);color:#655761;transform:none!important}
.product-utility-actions .ac-product-save-button{position:relative}
.product-utility-actions .ac-product-save-button [data-ac-save-label]{display:block;position:absolute;bottom:calc(100% + 8px);inset-inline-start:0;width:max-content;max-width:150px;padding:5px 10px;border-radius:8px;background:#6c2947;color:#fff;font-size:11px;line-height:1.7;opacity:0;pointer-events:none;z-index:8;transition:opacity .15s}
.product-utility-actions .ac-product-save-button:is(:hover,:focus-visible) [data-ac-save-label]{opacity:1}
.product-utility-actions .ac-product-save-button[aria-pressed=true]{background:#fce9f1;border-color:#e6b4cb;color:#ad285a}
.product-utility-actions .ac-product-save-button svg{width:21px;height:21px}
.product-utility-actions .product-utility-primary button:hover,.product-utility-actions .product-utility-share>a:hover{background:#fceaf2;color:#b5275b;border-color:#e6b4cb;box-shadow:0 3px 10px #a21c4912;transform:none!important}
.product-utility-actions .product-utility-separator{flex:0 0 1px}
@media(max-width:430px){.product-utility-actions{column-gap:8px;row-gap:10px}.product-utility-actions .product-utility-separator{display:none}.product-utility-actions .ac-product-save-form .ac-product-save-button{min-width:44px;padding:0}}
/* One owner for card toolbar geometry. Earlier theme rules used mixed 30/34/44px hitboxes. */
body.trast-modern .product-card--modern .product-card__visual{min-height:210px}
body.trast-modern .product-card--modern .product-card__tools{inset-block-start:8px;inset-inline-end:8px;display:grid!important;grid-template-columns:44px;grid-auto-rows:44px;gap:2px!important;width:54px!important;height:auto;padding:4px!important;border:1px solid #ede3e8;border-radius:14px;box-sizing:border-box;align-items:center;justify-items:center;transform:none!important}
body.trast-modern .product-card--modern .product-card__tools>form{position:static!important;inset:auto!important;display:block!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;line-height:0;transform:none!important}
body.trast-modern .product-card--modern .product-card__tools .product-card__tool,body.trast-modern .product-card--modern .product-card__tools .heart-container{position:relative!important;inset:auto!important;display:grid!important;place-items:center!important;box-sizing:border-box;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:transparent!important;line-height:1;box-shadow:none!important;transform:none!important;color:#655761!important}
body.trast-modern .product-card--modern .product-card__tools .product-card__tool>.ui-icon{position:static!important;display:block;width:21px!important;height:21px!important;margin:0!important;transform:none!important}
body.trast-modern .product-card--modern .product-card__tools .heart-container .svg-container{position:relative;display:block;width:21px;height:21px;margin:0;transform:none}
body.trast-modern .product-card--modern .product-card__tools .heart-container svg:not(.svg-celebrate){position:absolute;inset:0;width:21px;height:21px;margin:0}
body.trast-modern .product-card--modern .product-card__tools .heart-container .svg-celebrate{position:absolute;inset:-18px;width:57px;height:57px;pointer-events:none}
body.trast-modern .product-card--modern .product-card__tools .product-card__tool:hover,body.trast-modern .product-card--modern .product-card__tools .heart-container:hover{color:#b5275b!important;background:#fceaf2!important}
body.trast-modern .product-card--modern .product-card__tools .heart-container[aria-pressed=true]{color:#d6336c!important}
body.trast-modern .product-card--modern .product-card__tools :is(button,a):focus-visible{outline:2px solid #bc2e63!important;outline-offset:-2px}
@media(max-width:740px){body.trast-modern .product-card--modern .product-card__visual{min-height:0}body.trast-modern .product-card--modern .product-image{min-height:168px}body.trast-modern .product-card--modern .product-card__tools{opacity:1;visibility:visible}}
html[data-color-theme=dark] body.trast-modern .product-card--modern .product-card__tools{background:#302931;border-color:#654855}
html[data-color-theme=dark] body.trast-modern .product-card--modern .product-card__tools .product-card__tool,html[data-color-theme=dark] body.trast-modern .product-card--modern .product-card__tools .heart-container{color:#ded0d9!important}
html[data-color-theme=dark] body.trast-modern .product-card--modern .product-card__tools .product-card__tool:hover,html[data-color-theme=dark] body.trast-modern .product-card--modern .product-card__tools .heart-container:hover{color:#ffd0e3!important;background:#4e2b3a!important}
@media(prefers-reduced-motion:reduce){.product-utility-actions *,.product-card--modern .product-card__tools *{transition:none!important;animation:none!important}}
/* Keep icon contrast independent of older dark-theme overrides. */
body.trast-modern .product-card--modern .product-card__tools .product-card__tool>.ui-icon{color:inherit!important;opacity:1!important}
html[data-color-theme=dark] body .product-utility-actions .product-utility-primary button,html[data-color-theme=dark] body .product-utility-actions .product-utility-share>a{background:#302931!important;color:#ded0d9!important;border-color:#654855!important}
html[data-color-theme=dark] body .product-utility-actions .product-utility-primary button:hover,html[data-color-theme=dark] body .product-utility-actions .product-utility-share>a:hover,html[data-color-theme=dark] body .product-utility-actions .ac-product-save-button[aria-pressed=true]{background:#4e2b3a!important;color:#ffd0e3!important;border-color:#93617a!important}
.product-utility-actions .product-utility-share .ui-icon,.product-utility-actions .product-utility-primary .ui-icon{color:inherit;opacity:1}
