/* Favorites use their own fixed chartreuse accent and local SVG icons. */
.product-heading {display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:start;gap:8px;width:100%;min-width:0;}
.product-heading h3 {min-width:0;overflow-wrap:anywhere;margin:0;}
button.favorite-toggle,.favorite-mark {--favorite-color:#d5ff00;display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:7px;margin:0;border:0;border-radius:8px;background:transparent;color:var(--favorite-color);flex-shrink:0;cursor:pointer;box-shadow:none;}
button.favorite-toggle svg,.favorite-mark svg {display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
button.favorite-toggle.is-favorite svg,.favorite-mark svg {fill:currentColor;}
button.favorite-toggle:hover {background:rgba(213,255,0,.09);}
button.favorite-toggle:focus-visible {outline:2px solid #d5ff00;outline-offset:2px;}
button.favorite-toggle[disabled] {cursor:wait;opacity:.65;}
.favorite-mark {cursor:default;}
.favorite-status {margin:0;font-size:13px;line-height:1.5;color:#d5ff00;overflow-wrap:anywhere;}
.favorite-status[data-error="true"] {color:#ffb8b8;}
.favorite-status[hidden] {display:none!important;}
.favorite-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.favorite-item {min-width:0;overflow:hidden;border:1px solid rgba(148,163,184,.25);border-radius:12px;background:linear-gradient(180deg,var(--tpl-card-top,#0d1f2c),var(--tpl-card-bottom,#040e16));color:var(--tpl-text,#f5f7fb);}
.favorite-image {display:block;width:100%;height:auto;object-fit:contain;background:#050d13;}
.favorite-info {display:flex;flex-direction:column;gap:14px;padding:16px;}
.favorite-info h3 {font-size:23px;line-height:1.2;font-weight:800;}
.favorite-price-stock {display:flex;justify-content:space-between;align-items:center;gap:12px;}
.favorite-price-stock>strong {font-size:28px;color:var(--tpl-price,#d5ff00);overflow-wrap:anywhere;min-width:0;}
.favorite-price-stock>span {white-space:nowrap;color:var(--tpl-muted,#a3a8ae);}
.favorite-price-stock b {color:var(--tpl-price,#d5ff00);}
.favorite-buy {display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;align-items:end;}
.favorite-buy label {margin:0;}
.favorite-buy input {width:100%;box-sizing:border-box;height:44px;margin:4px 0 0;}
.favorite-buy button {width:100%;min-height:44px;font-weight:800;white-space:normal;}
.favorite-buy button:disabled {opacity:.55;cursor:not-allowed;}
.favorite-pagination {display:flex;gap:20px;flex-wrap:wrap;}
.favorite-summary {display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;}
.favorite-summary h2 {margin:0;}
.favorite-admin-link {display:inline-flex;white-space:nowrap;}
@media(max-width:768px){
 .product-heading {grid-template-columns:minmax(0,1fr) 44px;}
 button.favorite-toggle,.favorite-mark {width:44px;height:44px;min-width:44px;padding:8px;}
 .favorite-grid {grid-template-columns:minmax(0,1fr);}
 .favorite-info {padding:14px;}
 .favorite-info h3 {font-size:26px;}
 .account-header>.inline {flex-wrap:wrap;gap:10px;}
}
