/* Customer accounts (Storefront::AccountsController): the sign-in screens, measured from Shopify's
   (shopify.com/<shop>/account), and the signed-in orders and profile pages. */
:root {
  --ca-text: #000;
  --ca-subdued: rgba(0, 0, 0, 0.56);
  --ca-border: #dedede;
  --ca-surface: #fff;
  --ca-bg: #f5f5f5;
  --ca-accent: #1773b0;
  --ca-critical: #dd1d1d;
  --ca-focus: rgba(0, 91, 209, 0.3);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ca-text); background: var(--ca-surface);
  font: 14px/1.35 -apple-system, "system-ui", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
p, h1, h2 { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* --- Sign in --- */
.SignIn__Header { height: 84px; padding-top: 40px; text-align: center; }
.SignIn__Header h1 { font-size: 20px; line-height: 24px; font-weight: 600; }
.SignIn__Header a { text-decoration: none; border-radius: 2.4px; }
.SignIn__Main { width: min(379px, 100% - 32px); min-height: calc(100vh - 84px); margin: 0 auto; padding: 24px 0; box-sizing: border-box; display: grid; align-content: center; gap: 18px; } /* centered under the header, like Shopify's */
/* Shopify's email step has its 104px "Continue with Shop" block above the field; the form sits where it would. */
.SignIn__Main--email { padding-bottom: 128px; }
.SignIn__Heading { display: grid; gap: 6px; }
.SignIn__Heading h1 { font-size: 20px; line-height: 24px; font-weight: 600; }
.SignIn__Heading p { color: var(--ca-subdued); overflow-wrap: anywhere; }
.SignIn__Form { display: grid; gap: 12px; }
.SignIn__Field { position: relative; display: flex; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ca-border); background: var(--ca-surface); }
.SignIn__Field:focus-within { box-shadow: inset 0 0 0 2px #005bd3, 0 0 0 3px var(--ca-focus); }
.SignIn__Field--error { box-shadow: inset 0 0 0 1px var(--ca-critical); }
.SignIn__Field input {
  flex: 1; min-width: 0; height: 47px; padding: 13.55px 10px; border: 0; border-radius: 12px; background: transparent;
  font: inherit; color: inherit; outline: none;
}
.SignIn__Field label {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--ca-subdued); pointer-events: none;
  transition: top .1s ease, font-size .1s ease;
}
.SignIn__Field input:not(:placeholder-shown) { padding: 21px 10px 6px; }
.SignIn__Field input:not(:placeholder-shown) + label { top: 13px; font-size: 12px; }
.SignIn__Field button {
  display: grid; place-items: center; width: 34px; height: 35px; margin: 6px 6px 6px 0; padding: 0; border: 0; border-radius: 12px;
  background: var(--ca-surface); cursor: pointer;
}
.SignIn__Field button svg { width: 18px; height: 18px; }
.SignIn__Field button:hover { background: rgba(0, 0, 0, 0.05); }
.SignIn__Error { color: var(--ca-critical); font-size: 12px; margin-top: -4px; }
.SignIn__Notice { padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.04); }
.SignIn__Notice--error { color: var(--ca-critical); }
.SignIn__Checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.SignIn__Primary {
  height: 47px; border: 0; border-radius: 12px; background: #000; color: #fff; font-weight: 600; cursor: pointer;
}
.SignIn__Primary:hover { background: #262626; }
.SignIn__Links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.SignIn__Links form { display: contents; }
.SignIn__Hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.SignIn__Change { margin-left: 14px; color: #005bd3; text-decoration: none; }
.SignIn__Code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 0; padding: 0; border: 0; }
.SignIn__Code input {
  min-width: 0; height: 71px; padding: 0; border: 1px solid var(--ca-border); border-radius: 12px; background: #fff; text-align: center;
  font: inherit; font-size: 24px; color: inherit; outline: none;
}
.SignIn__Code input:focus { border-color: #005bd3; box-shadow: 0 0 0 1px #005bd3, 0 0 0 4px var(--ca-focus); }
.SignIn__Code--error input { border-color: var(--ca-critical); }
.SignIn__Resend { margin: 0 0 -37px; } /* not counted when centering, so the code boxes sit where Shopify's do */
.SignIn__Link { padding: 0; border: 0; background: none; color: var(--ca-accent); text-decoration: underline; cursor: pointer; }

/* --- Signed in: measured from Shopify's customer accounts (shopify.com/<shop>/account) --- */
.Account__Header { max-width: 1168px; height: 64px; margin: 0 auto; padding: 0 16px; box-sizing: content-box; display: flex; align-items: center; justify-content: space-between; }
.Account__Shop { font-size: 20px; line-height: 24px; font-weight: 600; }
.Account__Shop a { text-decoration: none; }
.Account__Avatar {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 100%; background: #f6f6f6; box-shadow: inset 0 0 0 1px #dfdfdf;
  font-size: 15.76px; line-height: 21.28px; text-decoration: none;
}
.Account__Layout { max-width: 1168px; margin: 0 auto; padding: 24px 16px 48px; box-sizing: content-box; display: grid; grid-template-columns: 330px minmax(0, 640px); align-items: start; }
.Account__Nav { display: grid; gap: 6px; justify-items: start; }
.Account__Nav a { font-size: 20px; line-height: 24px; font-weight: 600; color: var(--ca-subdued); text-decoration: none; }
.Account__Nav a[aria-current], .Account__Nav a:hover { color: var(--ca-text); }
.Account__Main { display: grid; gap: 20px; min-width: 0; }
@media (max-width: 900px) {
  .Account__Layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 8px; }
  .Account__Nav { display: flex; gap: 20px; }
}

.Subdued { color: var(--ca-subdued); }
.Small { font-size: 12px; line-height: 16.2px; }
.Banner { padding: 12px 16px; border-radius: 12px; background: #fee9e8; color: #8e1f0b; }
.Card {
  position: relative; background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 2px 12px rgba(0, 0, 0, .08);
}
.Card--padded { padding: 16px; }
.Card__Title, .Section__Title { font-size: 16px; line-height: 19.2px; font-weight: 600; }
.Icon { width: 18px; height: 18px; flex: none; stroke-width: 1.24px; }
.Button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 9.33px; box-sizing: border-box;
  border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #dfdfdf;
  font: inherit; font-weight: 600; color: #005bd3; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.Button:hover { background: #f6f6f6; }
.Button--icon { width: 37px; height: 37px; padding: 0; }
.Button--icon .Icon { stroke-width: 1.4px; }
.Button--large { height: 47px; padding: 14px; }
.Button--primary { background: #005bd3; color: #fff; box-shadow: none; height: 47px; padding: 14px; }
.Button--primary:hover { background: #004cb0; }
.Button--save { height: 47px; padding: 14px; background: #005bd3; color: #fff; box-shadow: none; }
.Button--save:disabled { background: #f6f6f6; color: rgba(0, 0, 0, .56); box-shadow: inset 0 0 0 1px #dfdfdf; cursor: default; }
.Link { padding: 0; border: 0; background: none; font: inherit; color: #005bd3; cursor: pointer; text-decoration: none; }
.Link:hover { text-decoration: underline; }
.Link--critical { color: #d91c1c; text-decoration: underline; margin-right: auto; }
.Dialog__Footer .Link:not(.Link--critical) { text-decoration: underline; }

/* Orders */
.Page__Header { display: flex; justify-content: flex-end; align-items: flex-start; min-height: 37px; margin-top: 1px; margin-bottom: -1px; }
.Orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.OrderCard { padding: 16px; display: grid; gap: 16px; }
.OrderCard__Link { position: absolute; inset: 0; border-radius: 16px; }
.OrderCard__Link:focus-visible { outline: 2px solid #005bd3; outline-offset: 2px; }
.OrderCard__Images { display: flex; flex-wrap: wrap; gap: 8px; }
.Tile { position: relative; display: grid; place-items: center; width: 69px; height: 69px; border-radius: 12px; overflow: hidden; background: #f6f6f6; color: rgba(0, 0, 0, .3); }
.Tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.Tile .Icon { width: 28px; height: 28px; stroke-width: 1px; }
.Tile--more > span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .6); color: #fff; font-weight: 600; }
.OrderCard--featured .Tile { width: 145px; height: 145px; }
.OrderCard__Footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.OrderCard__Footer > div { display: grid; gap: 6px; }
.OrderCard__Footer .Button { position: relative; z-index: 1; }
.Orders__Status { font-size: 16px; line-height: 19.2px; font-weight: 600; }
.OrderCard--featured .Orders__Status { font-size: 20px; line-height: 24px; }
.OrderCard__Meta span, .Details__Payment span, .Details p span { margin: 0 4px; }
.Orders__Empty { padding: 48px 16px; display: grid; gap: 6px; justify-items: center; text-align: center; }

/* Order */
.Order__Header { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: start; margin: 2px 0 2px; }
.Order__Back { display: grid; place-items: center; width: 18px; height: 24px; margin-top: 2px; text-decoration: none; }
.Order__Back .Icon { stroke-width: 1.4px; }
.Order__Title { display: grid; gap: 2px; }
.Order__Title h1 { font-size: 20px; line-height: 24px; font-weight: 600; }
.Order__Header .Button { margin-top: 4px; }
.Order__Status { padding: 16px; display: grid; gap: 2px; }
.Order__Status h3 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 600; }
.Order__Status .Small { margin-top: -1px; }
.Order__News { margin-top: 13px; }
.Checkbox { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.Checkbox input, .SignIn__Checkbox input {
  appearance: none; width: 20px; height: 20px; margin: 0; flex: none; border: 1px solid transparent; border-radius: 8px; background: #fff;
  box-shadow: inset 0 0 0 1px #dedede; cursor: pointer;
}
.Checkbox input:checked, .SignIn__Checkbox input:checked {
  background: #005bd3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m1.5 7.097 3.596 3.602c.104.105.156.157.216.175a.25.25 0 0 0 .16-.004c.059-.022.108-.077.206-.188L12.5 3'/%3E%3C/svg%3E") center/10px no-repeat;
  box-shadow: none;
}
.Summary { padding: 21px 16px 16px; }
.Summary__Lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.Summary__Lines li { display: grid; grid-template-columns: 64px 1fr auto; gap: 15px; align-items: center; }
.Summary__Image { position: relative; width: 64px; height: 64px; margin-left: 1px; }
.Summary__Thumb {
  display: grid; place-items: center; width: 64px; height: 64px; box-sizing: border-box; border: 2px solid #fff; border-radius: 16px; overflow: hidden; background: #f6f6f6;
  color: rgba(0, 0, 0, .3); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .05), 0 1px 3px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .06);
}
.Summary__Thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.Summary__Qty {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: #000; color: #fff;
  font-size: 12px; line-height: 20px; font-weight: 600; text-align: center;
}
.Summary__Name { display: grid; gap: 1px; }
.Summary__Totals { margin: 30px 0 0; display: grid; gap: 6px; }
.Summary__Totals div { display: flex; justify-content: space-between; }
.Summary__Totals dd { margin: 0; }
.Summary__Total { margin-top: 9px; align-items: center; }
.Summary__Total dt, .Summary__Total strong { font-size: 18px; line-height: 24.3px; font-weight: 600; }
.Summary__Total dd { display: flex; align-items: baseline; gap: 6px; }
.Summary > .Small { margin-top: 6px; }
.Details { display: grid; }
.Details__Row { display: grid; grid-template-columns: 96px 1fr; padding: 16px; border-top: 1px solid transparent; }
.Details__Row:first-child { border-top: 0; padding-bottom: 17px; }
.Details__Lines { display: grid; }
.Details__Payment { display: flex; align-items: center; }
.Details__Card { width: 33px; height: 21px; margin-left: 4px; }

/* Profile */
.Section__Header { display: flex; justify-content: space-between; align-items: center; margin-bottom: -5px; }
.Section__Header--spaced { margin-top: 4px; margin-bottom: -4px; }
.Section__Title--spaced { margin-top: 14px; margin-bottom: 5px; }
.Profile__Email { display: flex; justify-content: space-between; gap: 16px; padding: 16px; overflow-wrap: anywhere; }
.Addresses { display: grid; }
.Address {
  display: grid; grid-template-columns: 40px 1fr 14px; gap: 16px; align-items: center; width: 100%; min-height: 72px; padding: 16px; border: 0; border-top: 1px solid transparent;
  border-radius: 12px; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.Address:first-child { border-top: 0; }
.Address:hover { background: rgba(0, 0, 0, .02); }
.Address__Icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f6f6f6; }
.Address__Text { display: grid; }
.Address__Text strong { font-weight: 600; }
.Address > .Icon { width: 14px; height: 14px; color: var(--ca-subdued); stroke-width: 1.4px; }
.Pill { display: inline-block; margin-left: 4px; padding: 0 4px; border-radius: 36px; background: #f6f6f6; font-size: 12px; line-height: 16.2px; font-weight: 600; vertical-align: 1px; }
.Marketing { display: flex; align-items: center; gap: 10px; }
.Marketing > .Icon { color: var(--ca-subdued); }
.Marketing label { flex: 1; cursor: pointer; }
.Switch { position: relative; width: 40px; height: 24px; flex: none; }
.Switch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.Switch span { position: absolute; inset: 0; box-sizing: border-box; border: 1px solid #dedede; border-radius: 36px; background: #fff; transition: background .15s; }
.Switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 50%; background: #707070; transition: transform .15s, background .15s; }
.Switch input:checked + span { background: #005bd3; border-color: #005bd3; }
.Switch input:checked + span::after { background: #fff; transform: translateX(16px); }
.Switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--ca-focus); }
.SignOut { display: flex; align-items: center; gap: 20px; margin-top: 12px; }
.SignOut form { margin: 0; }

/* Dialogs */
.Dialog {
  width: min(640px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 16px; color: inherit; background: #fff;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .07), 0 4px 7px rgba(0, 0, 0, .04), 0 8px 32px rgba(0, 0, 0, .16);
}
.Dialog--filters { width: min(480px, 100% - 32px); }
.Dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
.Dialog__Header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 0; }
.Dialog__Header h2 { font-size: 20px; line-height: 24px; font-weight: 600; }
.Dialog__Close { display: grid; place-items: center; width: 26px; height: 26px; padding: 4px; border: 0; border-radius: 12px; background: #fff; color: var(--ca-subdued); cursor: pointer; }
.Dialog__Close:hover { background: #f6f6f6; }
.Dialog__Close .Icon { stroke-width: 1.4px; }
.Dialog__Body { padding: 14px 20px 0; display: grid; gap: 14px; }
.Dialog__Footer { display: flex; justify-content: flex-end; align-items: center; gap: 15px; padding: 14px 20px 12px; }
.Row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 14px; }
.Row > [hidden] { display: none; }
@media (max-width: 560px) { .Row { grid-template-columns: minmax(0, 1fr); } }
.Field { position: relative; }
.Field input, .Field select {
  width: 100%; height: 49px; box-sizing: border-box; padding: 21.05px 10px 6.05px; border: 1px solid #dedede; border-radius: 12px; background: #fff;
  font: inherit; color: inherit; outline: none; appearance: none;
}
.Field select { padding-right: 30px; }
.Field input:placeholder-shown { padding: 13.55px 10px; }
.Field input::placeholder { color: rgba(0, 0, 0, .56); }
.Field label { position: absolute; top: 7px; left: 11px; font-size: 12px; line-height: 16.2px; color: #707070; pointer-events: none; }
.Field input:placeholder-shown + label { opacity: 0; }
.Field input:focus, .Field select:focus { border-color: #005bd3; box-shadow: 0 0 0 .5px #005bd3; }
.Field input[readonly] { color: rgba(0, 0, 0, .56); }
.Field--select .Icon { position: absolute; right: 16px; top: 20px; width: 10px; height: 10px; stroke-width: 1.68px; color: var(--ca-subdued); pointer-events: none; }
.Filters { gap: 20px; }
.Filters fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 16px; }
.Filters legend { margin-bottom: 16px; padding: 0; font-weight: 600; line-height: 16.8px; }
.Radio { display: flex; align-items: center; gap: 10px; padding-left: 8px; cursor: pointer; }
.Radio input { appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid #dfdfdf; border-radius: 50%; background: #fff; cursor: pointer; }
.Radio input:checked { border: 6px solid #005bd3; }
.Filters__Custom { margin-top: 2px; }
.SignIn__PrimaryLink { display: grid; place-items: center; text-decoration: none; }
