/* One purchase surface: action at the left, final retail price at the right. */
.pdp .ring-buy-row.mirea-buy-row{display:block;margin-top:24px}
.pdp .mirea-buy-row .pdp-availability{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:11px}
.pdp .mirea-buy-row .pdp-order,.mirea-sticky-purchase .pdp-order{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:56px;padding:16px 20px;border:1px solid #493a29;border-radius:0;background:#493a29;color:#fff9f0;font-family:var(--sans);font-size:13px;line-height:1.4;letter-spacing:0;text-align:left}
.mirea-buy-row .pdp-order-label{min-width:0}
.mirea-buy-row .pdp-order-price{flex:none;white-space:nowrap;font-size:17px;font-weight:500;font-variant-numeric:tabular-nums}
.mirea-buy-row .pdp-order-price--pending{flex:0 1 auto;max-width:48%;white-space:normal;text-align:right;font-size:12px}
.pdp .mirea-buy-row .pdp-order:hover:not(:disabled),.mirea-sticky-purchase .pdp-order:hover:not(:disabled){background:var(--ink);border-color:var(--ink)}
.pdp .mirea-buy-row .pdp-order:active:not(:disabled),.mirea-sticky-purchase .pdp-order:active:not(:disabled){background:#382c20;border-color:#382c20}
.pdp .mirea-buy-row .pdp-order:focus-visible,.mirea-sticky-purchase .pdp-order:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.pdp .mirea-buy-row .pdp-order:disabled,.mirea-sticky-purchase .pdp-order:disabled{background:#493a29;border-color:#493a29;color:#fff9f0;opacity:1;cursor:not-allowed}
@media(max-width:760px){.pdp .mirea-buy-row .pdp-order{padding-inline:16px;gap:16px}.mirea-buy-row .pdp-order-price{font-size:16px}}

/* Keep the purchase action within reach after its original position scrolls away. */
.mirea-sticky-purchase[hidden]{display:none!important}
.mirea-sticky-purchase{position:fixed;inset:auto 0 0;z-index:90;background:var(--paper,#faf8f4);color:var(--ink,#30271f);border-top:1px solid var(--line,#d8cec0);padding:12px max(22px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left))}
.mirea-sticky-purchase-inner{display:flex;align-items:center;gap:32px;max-width:1328px;margin-inline:auto}
.mirea-sticky-purchase-name{margin:0;min-width:0;font:400 15px/1.4 var(--sans);overflow-wrap:anywhere}
.mirea-sticky-purchase-controls{display:flex;align-items:center;gap:12px;margin-left:auto;flex:0 0 auto}
.mirea-sticky-purchase .pdp-order{min-width:300px;width:auto;cursor:pointer}
.mirea-sticky-size{height:56px;min-width:110px;max-width:150px;padding:10px 28px 10px 12px;border:1px solid var(--line,#d8cec0);border-radius:6px;background:var(--paper,#faf8f4);color:var(--ink,#30271f);font:400 12px/1.4 var(--sans);cursor:pointer}
.mirea-sticky-size:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
@media(max-width:760px){.mirea-sticky-purchase{padding-top:10px;padding-inline:max(16px,env(safe-area-inset-left));padding-bottom:max(10px,env(safe-area-inset-bottom))}.mirea-sticky-purchase-name{display:none}.mirea-sticky-purchase-controls{width:100%;gap:10px;margin:0}.mirea-sticky-purchase .pdp-order{min-width:0;width:100%;min-height:52px;padding:12px 14px;gap:10px;flex:1 1 0}.mirea-sticky-size{height:52px;min-width:84px;max-width:96px;padding-left:10px;padding-right:24px;font-size:12px}.mirea-sticky-purchase .pdp-order-label{font-size:12px}.mirea-sticky-purchase .pdp-order-price{font-size:15px}}
@media print{.mirea-sticky-purchase,.mirea-sticky-purchase-space{display:none!important}}

/* Maison Miréa product actions: antique gold and restrained light. */
body .pdp .mirea-buy-row .pdp-order,
body .mirea-sticky-purchase .pdp-order{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid #624b2d;
  border-radius:3px!important;
  background:linear-gradient(110deg,#3b2c1c 0%,#5a4228 18%,#8d7042 33%,#6b5130 45%,#3a291a 70%,#2f2319 100%);
  background-size:180% 100%;
  background-position:0% 50%;
  color:#fffdf8;
  transition:background-position .45s cubic-bezier(.22,1,.36,1),border-color .25s ease;
}
body .pdp .mirea-buy-row .pdp-order::after,
body .mirea-sticky-purchase .pdp-order::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(105deg,transparent 36%,rgba(255,241,204,.05) 45%,rgba(255,241,204,.26) 50%,rgba(255,241,204,.05) 55%,transparent 64%);
  transform:translateX(-110%);
  transition:transform .72s cubic-bezier(.2,.7,.2,1);
}
body .pdp .mirea-buy-row .pdp-order>*,
body .mirea-sticky-purchase .pdp-order>*{position:relative;z-index:1}
body .pdp .mirea-buy-row .pdp-order:hover:not(:disabled),
body .mirea-sticky-purchase .pdp-order:hover:not(:disabled){
  border-color:#392b1d;
  background-position:100% 50%;
}
body .pdp .mirea-buy-row .pdp-order:hover:not(:disabled)::after,
body .mirea-sticky-purchase .pdp-order:hover:not(:disabled)::after{
  transform:translateX(110%);
}
body .pdp .mirea-buy-row .pdp-order:active:not(:disabled),
body .mirea-sticky-purchase .pdp-order:active:not(:disabled){
  border-color:#382c20;
  background:#382c20;
}
body .pdp .mirea-buy-row .pdp-order:disabled,
body .mirea-sticky-purchase .pdp-order:disabled{
  border-color:#a99a82;
  background:#a99a82;
  color:#fff9f0;
}
body .pdp .mirea-buy-row .pdp-order:focus-visible,
body .mirea-sticky-purchase .pdp-order:focus-visible{
  outline:2px solid #715b39;
  outline-offset:3px;
}

/* Quiet messenger actions: a clean outline and a slight shade on hover. */
body .mirea-product-contact-links>a{
  border-radius:3px;
  background:transparent;
  transition:background-color .22s ease,border-color .22s ease;
}
body .mirea-product-contact-links>a:hover{
  border-color:#8d7042;
  background-color:#f0eae1;
}
@media(prefers-reduced-motion:reduce){body .mirea-product-contact-links>a{transition:none}}

@media(prefers-reduced-motion:reduce){
  body .pdp .mirea-buy-row .pdp-order,
  body .mirea-sticky-purchase .pdp-order{transition:none}
  body .pdp .mirea-buy-row .pdp-order::after,
  body .mirea-sticky-purchase .pdp-order::after{display:none}
}

/* Inset size chevron: keep it clear of the field border. */
.mirea-sticky-size{appearance:none;-webkit-appearance:none;min-width:96px;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2359452d' stroke-width='1.2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:14px 14px}
@media(max-width:760px){.mirea-sticky-size{min-width:84px;padding-right:30px;background-position:right 12px center}}
