/* Final product-card rhythm: reserved title space, footer flush to the card edge. */
:root{--cart-action-background:linear-gradient(120deg,#651332,#a70c63);--cart-action-hover:#651332;--cart-action-border:#651332;--cart-action-text:#fff}
.reference-product-card{height:auto;align-self:start;container:product-card / inline-size}
.reference-product-card .product-media{position:relative;overflow:hidden}
.reference-product-card .card-view-details{display:block;left:50%;right:auto;bottom:12px;width:auto;min-height:32px;padding:0 15px;border:1px solid rgba(113,17,63,.16);border-radius:18px;background:rgba(255,255,255,.96);color:#71113f;font-size:9px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;box-shadow:0 8px 22px rgba(58,24,41,.14);backdrop-filter:blur(8px);opacity:0;pointer-events:none;transform:translate(-50%,10px);transition:opacity .22s ease,transform .22s ease,box-shadow .22s ease}
.reference-product-card:hover .card-view-details,.reference-product-card .card-view-details:focus-visible{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.reference-product-card .card-view-details:hover{box-shadow:0 10px 26px rgba(113,17,63,.23)}
.reference-product-card .product-info,.product-page .recommendations .reference-product-card .product-info{flex:0 0 auto!important;min-height:132px!important;padding:10px 14px 8px!important;background:linear-gradient(to bottom,#fff 0,#fff 39px,#fff8fb 39px,#fdf4f8 100%)}
.reference-product-card .product-info h3{display:-webkit-box;min-height:45px!important;margin:0 0 7px!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:14px;font-weight:550;line-height:1.55}
.reference-product-card .product-card-footer{margin-top:0!important;margin-bottom:0;display:flex;flex-direction:column;align-items:stretch;gap:8px}
.reference-product-card .product-price-row{margin:0!important;gap:3px 8px}
/* All card sizes: sale + regular price in one row, centered purchase below. */
.reference-product-card .product-card-footer .product-price-row{display:flex;flex-wrap:nowrap;align-items:baseline;flex:0 0 auto;min-width:0;width:100%;max-width:100%;min-height:28px}
.reference-product-card .card-purchase-action{width:100%;min-width:0;align-self:stretch}
.reference-product-card .product-price-row del{color:#81777d!important;font-size:13px!important;font-weight:600;text-decoration-color:#b55b7f;text-decoration-thickness:1.5px;text-decoration-skip-ink:none}
/* Amazon-style full-width actions, using only Marvelle's brand palette. */
.reference-product-card .product-card-footer .card-purchase-action .quick-add{position:static;display:flex!important;align-items:center;justify-content:center;width:100%!important;max-width:none;height:36px!important;min-height:36px!important;margin:0;padding:0 12px!important;border:1px solid var(--cart-action-border);border-radius:999px!important;background:var(--cart-action-background)!important;color:var(--cart-action-text)!important;box-shadow:none;font-family:inherit;font-size:13px!important;font-weight:600!important;line-height:1;letter-spacing:0;text-transform:none;text-shadow:none;white-space:nowrap;opacity:1!important;transform:none!important;transition:background .15s,box-shadow .15s}
.reference-product-card .product-card-footer .card-purchase-action .quick-add::before{content:none!important;display:none!important}
.reference-product-card .product-card-footer .card-purchase-action .quick-add:hover{background:var(--cart-action-hover)!important;box-shadow:0 2px 6px rgba(113,17,63,.14)}
.reference-product-card .product-card-footer .card-purchase-action .card-see-options{border:1px solid #b985a0;background:#fff!important;color:var(--plum,#651332)!important}
.reference-product-card .product-card-footer .card-purchase-action .card-see-options:hover{background:#faf0f6!important}
.reference-product-card .card-quantity-control{box-sizing:border-box;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:minmax(0,1fr);align-items:stretch;width:100%;height:36px;border:2px solid var(--magenta,#bd0875);border-radius:999px;background:#fff;color:var(--plum,#651332)}
.reference-product-card .card-purchase-action .card-quantity-control button{box-sizing:border-box;display:grid;place-items:center;align-self:stretch;width:100%;height:100%;min-height:0;min-width:0;margin:0;padding:0;border:0;border-radius:999px;background:transparent;color:inherit;line-height:1;box-shadow:none;transform:none;cursor:pointer}
.reference-product-card .card-quantity-control button:hover:not(:disabled){background:#faeaf3}
.reference-product-card .card-quantity-control button:disabled{color:#a28c98;cursor:not-allowed;opacity:.5}
.reference-product-card .card-purchase-action .card-quantity-control button>svg{display:block;width:24px;height:24px;margin:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.reference-product-card .card-purchase-action .card-quantity-control output{display:grid;place-items:center;align-self:stretch;min-width:0;height:100%;margin:0;padding:0;text-align:center;font:700 20px/1 var(--sans,sans-serif);font-variant-numeric:tabular-nums}
.reference-product-card .card-purchase-action button:focus-visible{outline:2px solid var(--plum,#651332);outline-offset:3px}
.quick-view .quick-full-details{display:inline-flex;margin:10px 0 2px;color:#8b124a;font-size:11px;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.reference-product-card .card-purchase-status{margin:0;color:var(--plum);font:400 13px/1.5 var(--sans)}
.reference-product-card .card-purchase-status[hidden]{display:none!important}
/* All Add to cart entry points share the card's brand colors; secondary actions do not. */
body #add-cart,body [data-mobile-add],body [data-quick-purchase="cart"],body .mv-merch button[data-merch-add],body .mv-merch button[data-merch-bundle]{background:var(--cart-action-background)!important;color:var(--cart-action-text)!important;border-color:var(--cart-action-border)!important}
body #add-cart:hover:not(:disabled),body [data-mobile-add]:hover:not(:disabled),body [data-quick-purchase="cart"]:hover:not(:disabled),body .mv-merch button[data-merch-add]:hover:not(:disabled),body .mv-merch button[data-merch-bundle]:hover:not(:disabled){background:var(--cart-action-hover)!important}
@media(forced-colors:active){:root{--cart-action-background:ButtonFace;--cart-action-hover:Highlight;--cart-action-border:ButtonText;--cart-action-text:ButtonText}.reference-product-card .card-quantity-control{border-color:ButtonText;color:ButtonText}.reference-product-card .card-quantity-control button:disabled{color:GrayText;opacity:1}}
/* Keep both prices readable on a two-column phone card without changing its layout. */
@container product-card (max-width:220px){
  .reference-product-card .product-card-footer .product-price-row{gap:6px;min-height:24px}
  .reference-product-card .product-card-footer .product-price-row strong{font-size:13px!important}
  .reference-product-card .product-card-footer .product-price-row del{font-size:10px!important}
}
@media(max-width:600px){.reference-product-card .card-view-details{bottom:7px;min-height:27px;padding:0 10px;font-size:7px;opacity:1;pointer-events:auto;transform:translate(-50%,0)}.reference-product-card .product-info,.product-page .recommendations .reference-product-card .product-info{min-height:120px!important;padding:8px 8px 7px!important}.reference-product-card .product-info h3{min-height:39px!important;margin-bottom:6px!important;font-size:12px}.reference-product-card .product-price-row del{font-size:10px!important}.reference-product-card .product-card-footer .card-purchase-action .quick-add{height:40px!important;min-height:40px!important;font-size:12px!important}.reference-product-card .card-quantity-control{height:40px;grid-template-columns:40px minmax(0,1fr) 40px}}
