/* Maison Miréa: one precise contour for form controls and actions. */
body :is(.button,button[type="submit"],input[type="submit"],.mirea-language-options a,.mirea-currency-options a,.ring-size-chip span,.rail-controls button,.mirea-sticky-size,.mirea-product-contact-links>a,.kauri-category .kauri-shapes button,.kauri-gallery-thumbs button,.mirea-legal-cookie-button,.mirea-cookie-actions button,.partner-map-button,.home-partners-contact a,.kauri-choose){border-radius:3px!important}
/* Keep truly circular affordances and joined search fields in their intended shape. */
body :is(.icon-button,.partner-pin-dot,.partner-cluster-dot,.kauri-palette button){border-radius:50%!important}

/* Apply the approved antique-gold light to filled primary actions only. */
body :is(.mirea-editorial .hero .button,.mirea-newsletter .mirea-newsletter-action .button,.about-closing .button,.mirea-search-page-form button,.mirea-legal-cookie-button,.mirea-cookie-actions .mirea-cookie-save,.partner-map-button,.home-partners-contact a,.kauri-choose,.mirea-checkout-page .woocommerce .checkout-button,.mirea-checkout-page .woocommerce #place_order,.mirea-checkout-page .woocommerce button[name="apply_coupon"],.mirea-checkout-page .woocommerce button[name="update_cart"]){
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-color:#624b2d;
  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 :is(.mirea-editorial .hero .button,.mirea-newsletter .mirea-newsletter-action .button,.about-closing .button,.mirea-search-page-form button,.mirea-legal-cookie-button,.mirea-cookie-actions .mirea-cookie-save,.partner-map-button,.home-partners-contact a,.kauri-choose,.mirea-checkout-page .woocommerce .checkout-button,.mirea-checkout-page .woocommerce #place_order,.mirea-checkout-page .woocommerce button[name="apply_coupon"],.mirea-checkout-page .woocommerce button[name="update_cart"]):hover:not(:disabled){
  border-color:#392b1d;
  background-position:100% 50%;
  color:#fffdf8;
}
body :is(.mirea-editorial .hero .button,.mirea-newsletter .mirea-newsletter-action .button,.about-closing .button,.mirea-search-page-form button,.mirea-legal-cookie-button,.mirea-cookie-actions .mirea-cookie-save,.partner-map-button,.home-partners-contact a,.kauri-choose,.mirea-checkout-page .woocommerce .checkout-button,.mirea-checkout-page .woocommerce #place_order,.mirea-checkout-page .woocommerce button[name="apply_coupon"],.mirea-checkout-page .woocommerce button[name="update_cart"]):active:not(:disabled){background:#382c20;border-color:#382c20}
body :is(.mirea-editorial .hero .button,.mirea-newsletter .mirea-newsletter-action .button,.about-closing .button,.mirea-search-page-form button,.mirea-legal-cookie-button,.mirea-cookie-actions .mirea-cookie-save,.partner-map-button,.home-partners-contact a,.kauri-choose,.mirea-checkout-page .woocommerce .checkout-button,.mirea-checkout-page .woocommerce #place_order,.mirea-checkout-page .woocommerce button[name="apply_coupon"],.mirea-checkout-page .woocommerce button[name="update_cart"]):focus-visible{outline:2px solid #715b39;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body :is(.mirea-editorial .hero .button,.mirea-newsletter .mirea-newsletter-action .button,.about-closing .button,.mirea-search-page-form button,.mirea-legal-cookie-button,.mirea-cookie-actions .mirea-cookie-save,.partner-map-button,.home-partners-contact a,.kauri-choose,.mirea-checkout-page .woocommerce .checkout-button,.mirea-checkout-page .woocommerce #place_order,.mirea-checkout-page .woocommerce button[name="apply_coupon"],.mirea-checkout-page .woocommerce button[name="update_cart"]){transition:none}}

/* Category flyout: the catalogue link becomes the primary action on hover. */
body .collection-nav-panel .collection-nav-intro .collection-nav-all{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-radius:3px;
  transition:color .28s ease,border-color .28s ease;
}
body .collection-nav-panel .collection-nav-intro .collection-nav-all::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(110deg,#3b2c1c 0%,#5a4228 18%,#8d7042 33%,#6b5130 45%,#3a291a 70%,#2f2319 100%);
  opacity:0;
  transition:opacity .32s ease;
}
body .collection-nav-panel .collection-nav-intro .collection-nav-all:hover,
body .collection-nav-panel .collection-nav-intro .collection-nav-all:focus-visible{
  color:#fffdf8;
  border-color:#624b2d;
}
body .collection-nav-panel .collection-nav-intro .collection-nav-all:hover::before,
body .collection-nav-panel .collection-nav-intro .collection-nav-all:focus-visible::before{opacity:1}
@media(prefers-reduced-motion:reduce){body .collection-nav-panel .collection-nav-intro .collection-nav-all,body .collection-nav-panel .collection-nav-intro .collection-nav-all::before{transition:none}}

/* Category and collection tiles reveal a soft champagne-gold surface. */
body :is(.mirea-editorial .categories .category,.mirea-shop .shop-category,.collection-nav-gallery .collection-nav-card,.category-complement-grid .category-complement-card){
  position:relative;
  isolation:isolate;
  overflow:hidden;
  transition:color .35s ease,background-color .35s ease;
}
body :is(.mirea-editorial .categories .category,.mirea-shop .shop-category,.collection-nav-gallery .collection-nav-card,.category-complement-grid .category-complement-card)::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(113deg,#e5d8c5 0%,#d1b991 27%,#f6ebd8 52%,#d8c09a 74%,#e9ddcb 100%);
  opacity:0;
  transition:opacity .48s cubic-bezier(.22,1,.36,1);
}
body :is(.mirea-editorial .categories .category,.mirea-shop .shop-category,.collection-nav-gallery .collection-nav-card,.category-complement-grid .category-complement-card)>*{position:relative;z-index:1}
body :is(.mirea-editorial .categories .category,.mirea-shop .shop-category,.collection-nav-gallery .collection-nav-card,.category-complement-grid .category-complement-card) img{transition:filter .4s ease,transform .5s cubic-bezier(.22,1,.36,1)}
body.home .mirea-editorial .categories .category .category-photo img{transition:filter .4s ease,transform .5s cubic-bezier(.22,1,.36,1)}
body :is(.mirea-editorial .categories .category,.mirea-shop .shop-category,.collection-nav-gallery .collection-nav-card,.category-complement-grid .category-complement-card):is(:hover,:focus-visible,:active)::before{opacity:1}
body :is(.mirea-editorial .categories .category,.mirea-shop .shop-category,.collection-nav-gallery .collection-nav-card,.category-complement-grid .category-complement-card):is(:hover,:focus-visible,:active) img{filter:brightness(1.02) drop-shadow(0 8px 15px rgba(68,47,22,.12));transform:scale(1.035)}
body.home .mirea-editorial .categories .category:is(:hover,:focus-visible,:active) .category-photo img{filter:brightness(1.02) drop-shadow(0 8px 15px rgba(68,47,22,.12));transform:scale(1.035)}
body.home .mirea-editorial .categories .category:is(:hover,:focus-visible,:active) h3,
body .mirea-shop .shop-category:is(:hover,:focus-visible,:active) h2,
body .collection-nav-gallery .collection-nav-card:is(:hover,:focus-visible,:active) .collection-nav-title{color:#34291e}
body .collection-nav-gallery .collection-nav-card:is(:hover,:focus-visible,:active) .collection-nav-label{color:#574733}
body .collection-nav-gallery .collection-nav-card:is(:hover,:focus-visible,:active)>small{color:#574733}
@media(prefers-reduced-motion:reduce){body :is(.mirea-editorial .categories .category,.mirea-shop .shop-category,.collection-nav-gallery .collection-nav-card,.category-complement-grid .category-complement-card),body :is(.mirea-editorial .categories .category,.mirea-shop .shop-category,.collection-nav-gallery .collection-nav-card,.category-complement-grid .category-complement-card)::before,body :is(.mirea-editorial .categories .category,.mirea-shop .shop-category,.collection-nav-gallery .collection-nav-card,.category-complement-grid .category-complement-card) img{transition:none}}

/* Complementary tiles keep their established mobile image scale. */
body .category-complement .category-complement-grid .category-complement-card:is(:hover,:focus-visible,:active) img{transform:scale(calc(var(--mr-complement-scale,1)*1.045))}
body .category-complement-grid .category-complement-card:is(:hover,:focus-visible,:active) span{color:#34291e}
@media(prefers-reduced-motion:reduce){body .category-complement .category-complement-grid .category-complement-card:is(:hover,:focus-visible,:active) img{transform:scale(var(--mr-complement-scale,1))}}

/* Product imagery shares a 4:5 frame across the home page and catalogue. */
body .mirea-editorial .selection-photo,
body .mirea-editorial .kauri-photo,
body .ring-grid .ring-image,
body.home .kauri-section .kauri-preview-link{aspect-ratio:4/5}
body .mirea-editorial .selection-photo img,
body .mirea-editorial .kauri-photo img,
body .ring-grid .ring-image img,
body.home .kauri-section .kauri-preview-link img{display:block;width:100%;height:100%;object-fit:contain}
body .ring-grid .ring-image--studio img{mix-blend-mode:normal}
@media(min-width:761px){body .kauri-category .kauri-preview-link{aspect-ratio:4/5}}
@media(max-width:760px){body .kauri-category .kauri-preview-link,
body .kauri-category .kauri-preview-link img{aspect-ratio:4/5}
body .kauri-category .kauri-preview-link img{height:100%}}

/* The catalogue action anchors the flyout and matches the primary buttons. */
body .collection-nav-panel .collection-nav-intro .collection-nav-all{
  width:100%;min-height:50px;padding:13px 18px;
  border:1px solid #624b2d;border-radius:3px;
  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;text-decoration:none;
  transition:background-position .45s cubic-bezier(.22,1,.36,1),border-color .25s ease;
}
body .collection-nav-panel .collection-nav-intro .collection-nav-all::before{display:none}
body .collection-nav-panel .collection-nav-intro .collection-nav-all:is(:hover,:focus-visible){
  color:#fffdf8;border-color:#392b1d;background-position:100% 50%;
}
@media(min-width:901px){
  body .collection-nav-panel .collection-nav-inner{align-items:stretch}
  body .collection-nav-panel .collection-nav-intro .collection-nav-all{
    margin-top:auto;margin-bottom:0;align-self:stretch;
  }
}

/* Quiet navigation feedback: a fine gold rule marks hover and the open collection. */
@media(min-width:901px){
  body .collection-nav-group>summary{
    position:relative;border-bottom-color:transparent;
    transition:color .22s ease;
  }
  body .collection-nav-group>summary::after{
    content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
    background:#a98a55;transform:scaleX(0);transform-origin:center;
    transition:transform .28s cubic-bezier(.16,1,.3,1);
  }
  body .collection-nav-group>summary:is(:hover,:focus-visible),
  body .collection-nav-group[open]>summary{color:#71562e}
  body .collection-nav-group>summary:is(:hover,:focus-visible)::after,
  body .collection-nav-group[open]>summary::after{transform:scaleX(1)}
}
@media(max-width:900px){
  body .collection-nav-group>summary{
    position:relative;transition:color .22s ease;
  }
  body .collection-nav-group>summary::after{
    content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
    background:#a98a55;transform:scaleX(0);transform-origin:left;
    transition:transform .28s cubic-bezier(.16,1,.3,1);
  }
  body .collection-nav-group>summary:focus-visible,
  body .collection-nav-group[open]>summary{color:#71562e}
  body .collection-nav-group>summary:focus-visible::after,
  body .collection-nav-group[open]>summary::after{transform:scaleX(1)}
}
@media(prefers-reduced-motion:reduce){
  body .collection-nav-group>summary,
  body .collection-nav-group>summary::after{transition:none}
}

/* Collection cutouts gain a restrained close look within their existing frame. */
#primary-nav.collection-nav .collection-nav-gallery .collection-nav-card picture{overflow:hidden}
#primary-nav.collection-nav .collection-nav-gallery .collection-nav-card picture img{
  transform:none;transform-origin:center;
  transition:transform .38s cubic-bezier(.16,1,.3,1),filter .38s ease;
}
@media(hover:hover) and (pointer:fine){
  #primary-nav.collection-nav .collection-nav-gallery .collection-nav-card:hover picture img{
    transform:scale(1.05);
  }
}
#primary-nav.collection-nav .collection-nav-gallery .collection-nav-card:focus-visible picture img,
#primary-nav.collection-nav .collection-nav-gallery .collection-nav-card:active picture img{
  transform:scale(1.04);
}
@media(prefers-reduced-motion:reduce){
  #primary-nav.collection-nav .collection-nav-gallery .collection-nav-card picture img{transition:none}
  #primary-nav.collection-nav .collection-nav-gallery .collection-nav-card:is(:hover,:focus-visible,:active) picture img{transform:none}
}

/* Collection navigation uses open arrows; touch targets remain generous. */
body .ring-product .ring-related-controls button.icon-button{border-radius:0!important;border:0;background:transparent;box-shadow:none;color:var(--ink);min-width:44px;min-height:44px;padding:10px;transition:color .18s ease-out}
body .ring-product .ring-related-controls button.icon-button:disabled{background:transparent;opacity:.3;cursor:default}
@media(hover:hover){body .ring-product .ring-related-controls button.icon-button:hover:not(:disabled){background:transparent;border-color:transparent;color:var(--gold)}}
body .ring-product .ring-related-controls button.icon-button:active:not(:disabled){background:transparent;color:var(--gold)}
body .ring-product .ring-related-controls button.icon-button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
/* On phones, the try-on row owns the single separator before the collection. */
@media(max-width:760px){
 body .ring-product .pdp-support>.pdp-try{border-bottom:1px solid var(--line)}
 body .ring-product:has(.pdp-support)>.ring-related{margin-top:24px;padding-top:0;border-top:0}
}
@media(prefers-reduced-motion:reduce){body .ring-product .ring-related-controls button.icon-button{transition:none}}
