/* The approved storefront shares the existing account and checkout controllers. */
.legacy-commerce-hooks[hidden], #storefront[hidden], #account-page[hidden], #review-page[hidden] { display:none!important; }
.j-page { --sans:var(--j-font); --paper:#fff; --ink:#151515; --subtle:#666; --line:#e7e2de; --gutter:5vw; }
.j-page h1,.j-page h2,.j-page h3 { font-family:var(--j-font); letter-spacing:normal; }
.site-header button,.site-footer button,.j-product-card button,#home-content button,#collection-content button { min-height:0; }
.site-icon-button { text-decoration:none!important; }
.site-nav,.site-desktop-nav,.site-nav-scroll { line-height:1.5; }
.site-bag { position:relative; }
.site-bag-count { position:absolute; inset-inline-end:-5px; top:0; min-width:16px; padding:1px 3px; border-radius:50%; background:var(--j-burgundy); color:#fff; font-size:10px; line-height:1.4; direction:ltr; }
.site-header-home .site-bag-count { background:#fff; color:var(--j-burgundy); }
.site-bag-count[hidden] { display:none; }
.j-product-favorite { padding:0; border:0; }
.j-product-favorite[aria-pressed="true"] { color:var(--j-burgundy); }
.j-product-favorite[aria-pressed="true"] .site-icon { fill:currentColor; }
.site-dialog { background:#fff; }
.site-dialog .site-icon-button { min-height:34px; }
.site-dialog nav { align-items:stretch; gap:0; }
.site-dialog nav a:hover { color:var(--j-burgundy); }
.j-page .account-page { padding-top:52px; padding-bottom:64px; min-height:55vh; }
.j-page .account-heading h2,.j-page #review-title { font-size:34px; line-height:1.25; }
.j-page .account-page h3 { font-size:23px; }
.j-page .info-dialog,.j-page .bag-dialog { font-family:var(--j-font); }
.j-page #toast { z-index:100; }
@media(max-width:760px) {
  .j-page .account-page { padding-inline:20px; padding-top:32px; }
  .j-page .account-heading h2,.j-page #review-title { font-size:28px; }
  .j-page .info-dialog { padding:54px 24px 28px; }
  .j-page .bag-dialog { padding:64px 24px 28px; }
}

/* Device-to-account selection stays within the existing warm white / burgundy dialog. */
.guest-merge-panel { margin-block:20px; padding:18px; background:#faf4ef; border:1px solid #ead6ce; border-radius:8px; }
.guest-merge-panel h3 { font:700 20px/1.3 Mulish,Arial,sans-serif; margin:0 0 8px; color:#722626; }
.guest-merge-panel p { line-height:1.6; }
.guest-merge-item { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 16px; padding-block:10px; border-bottom:1px solid #ead6ce; }
.guest-merge-item span:first-child { font-weight:700; }
.guest-merge-actions { display:grid; gap:10px; margin-block-start:16px; }
.guest-merge-panel .eyebrow { margin-block:18px 6px; }
#guest-merge-message { color:#722626; }
.bag-item code { overflow-wrap:anywhere; }
@media(max-width:480px) { .guest-merge-panel { padding:14px; } .guest-merge-item { display:grid; } }
.j-page dialog .button.solid { background:#722626; border-color:#722626; color:#fff; }
.j-page #account-dialog h2 { font-size:clamp(28px,4vw,34px); line-height:1.2; letter-spacing:-.02em; }
.guest-merge-actions .button { margin:0; }
.guest-merge-panel > p { margin:0 0 12px; }
.guest-merge-panel .eyebrow { margin-block:12px 4px; }
#account-email-display { overflow-wrap:anywhere; }
/* Confirm the original account-bag request before another quantity action. */
#bag-message.account-bag-status{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-block:22px;color:#503a36;font-size:14px;line-height:1.6}
#bag-message.account-bag-status:empty{display:none}
#bag-message.account-bag-status>span{flex-basis:100%;overflow-wrap:anywhere}
#bag-message.account-bag-status .text-button{margin:0;padding:10px 14px;border:1px solid #702d2b;background:#fff;color:#702d2b;text-decoration:none;font:inherit;line-height:1.4;text-align:center;min-height:44px;max-width:100%}
#bag-message.account-bag-status .account-bag-retry{background:#702d2b;color:#fff}
#bag-message.account-bag-status .text-button:disabled{opacity:.5;cursor:wait}
#bag-message.account-bag-status>.account-bag-status-note{display:block;color:#666;font-size:12px;line-height:1.6}
