@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Work+Sans:wght@400;500;600;700&display=swap");

:where(
  .navbar,
  .navbar-expand-lg,
  header .navbar,
  .web-footer,
  footer.web-footer,
  .footer-subscribe-section,
  .footer-powered,
  .website-footer,
  .page-footer
) {
  display: none !important;
}

:root {
  --checkout-bg: #fcf9f8;
  --checkout-panel: #ffffff;
  --checkout-soft: #f9f6f0;
  --checkout-line: #c3c6d1;
  --checkout-ink: #001e40;
  --checkout-muted: #43474f;
  --checkout-copy: #6b7280;
  --checkout-gold: #d4af37;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  background: var(--checkout-bg);
  color: var(--checkout-ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.hrstore-profile {
  position: relative;
}

.hrstore-profile__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  padding: 0;
  flex: 0 0 40px;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.hrstore-profile__trigger--topbar {
  width: 40px;
  height: 40px;
}

.hrstore-profile__trigger span[data-profile-avatar] {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: linear-gradient(145deg, #214a83, #163965);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 18px rgba(0, 30, 64, 0.18);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.hrstore-profile__trigger span[data-profile-avatar][data-guest="true"] {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: currentColor;
}

.hrstore-profile__trigger span[data-profile-avatar] svg {
  width: 19px;
  height: 19px;
}

.hrstore-profile__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(280px, calc(100vw - 24px));
  padding: 14px;
  border: 1px solid rgba(0, 30, 64, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 48px rgba(0, 30, 64, 0.16);
  z-index: 40;
}

.hrstore-profile__identity {
  padding: 4px 4px 14px;
  border-bottom: 1px solid #e8edf4;
}

.hrstore-profile__identity strong,
.hrstore-profile__identity span {
  display: block;
}

.hrstore-profile__identity strong {
  color: #183153;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hrstore-profile__identity span {
  margin-top: 6px;
  color: #6c7482;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hrstore-profile__action {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #f5f7fa;
  color: #183153;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.hrstore-checkout-page {
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--checkout-bg);
}

.checkout-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--checkout-line);
  background: rgba(252, 249, 248, 0.96);
  backdrop-filter: blur(10px);
}

.checkout-topbar__inner,
.checkout-main {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.checkout-topbar__inner {
  min-height: 80px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.checkout-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 600;
}

.checkout-brand img {
  width: 50px;
  height: 48px;
}

.checkout-topbar__links {
  display: flex;
  gap: 32px;
  color: var(--checkout-muted);
  font-size: 14px;
  font-weight: 600;
}

.checkout-topbar__cart {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.checkout-topbar__cart svg {
  width: 22px;
  height: 22px;
}

.checkout-topbar__cart span {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #735c00;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.checkout-main {
  padding: 32px 64px 96px;
}

.checkout-breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--checkout-muted);
  font-size: 12px;
  font-weight: 500;
}

.checkout-breadcrumbs strong {
  color: #1b1c1c;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.checkout-column {
  min-width: 0;
}

.checkout-progress {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--checkout-line);
}

.checkout-progress__step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
}

.checkout-progress__step.is-active {
  opacity: 1;
}

.checkout-progress__step span {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  border: 1px solid #737780;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.checkout-progress__step.is-active span {
  border-color: var(--checkout-ink);
  background: var(--checkout-ink);
  color: #fff;
}

.checkout-progress__line {
  flex: 1 1 auto;
  height: 1px;
  margin: 0 24px;
  background: var(--checkout-line);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-card {
  padding: 32px;
  border: 1px solid var(--checkout-line);
  border-radius: 4px;
  background: var(--checkout-panel);
}

.checkout-card__head h1,
.checkout-card__head h2 {
  margin: 0 0 24px;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout-grid__full {
  grid-column: 1 / -1;
}

.checkout-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-grid span {
  color: var(--checkout-muted);
  font-size: 12px;
  font-weight: 500;
}

.checkout-grid input {
  min-height: 50px;
  padding: 15px 12px;
  border: 1px solid var(--checkout-line);
  background: var(--checkout-bg);
}

.checkout-submit button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  background: var(--checkout-gold);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.checkout-submit p {
  margin: 12px 0 0;
  color: var(--checkout-muted);
  font-size: 14px;
}

.checkout-submit p[data-state="error"] {
  color: #ba1a1a;
}

.checkout-submit p[data-state="success"] {
  color: #1e6b38;
}

.checkout-payment {
  padding: 20px;
  border: 1px solid var(--checkout-line);
  border-radius: 12px;
  background: #fffdf8;
}

.checkout-payment__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.checkout-payment__brand strong {
  font-size: 18px;
  color: var(--checkout-ink);
}

.checkout-payment__brand span,
.checkout-payment p {
  color: var(--checkout-muted);
  font-size: 14px;
  line-height: 22px;
}

.checkout-payment p {
  margin: 0;
}

.checkout-summary {
  position: sticky;
  top: 108px;
  padding: 32px;
  border: 1px solid rgba(195, 198, 209, 0.3);
  border-radius: 16px;
  background: var(--checkout-soft);
}

.checkout-summary h2 {
  margin: 0 0 24px;
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 600;
}

.checkout-summary__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.checkout-line-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.checkout-line-item img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.checkout-line-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.checkout-line-item p {
  margin: 0;
  color: var(--checkout-copy);
  font-size: 12px;
}

.checkout-summary__totals {
  margin: 0;
}

.checkout-summary__totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  color: var(--checkout-muted);
}

.checkout-summary__totals dt,
.checkout-summary__totals dd {
  margin: 0;
}

.checkout-summary__grand {
  margin-top: 8px;
  padding-top: 16px !important;
  border-top: 1px solid var(--checkout-line);
  color: var(--checkout-ink) !important;
  font-size: 22px;
  font-weight: 700;
}

.checkout-empty-state {
  padding: 24px;
  border: 1px dashed var(--checkout-line);
  border-radius: 12px;
  background: #fff;
}

.checkout-empty-state h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
}

.checkout-empty-state p {
  margin: 0 0 16px;
  color: var(--checkout-muted);
}

.checkout-empty-state a {
  color: var(--checkout-ink);
  font-weight: 600;
}

@media (max-width: 960px) {
  .checkout-topbar__inner,
  .checkout-main {
    padding-left: 24px;
    padding-right: 24px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .checkout-topbar__inner,
  .checkout-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .checkout-brand span,
  .checkout-topbar__links {
    display: none;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    padding: 24px 16px;
  }
}

.is-embedded-store .checkout-topbar__inner,
.is-embedded-store .checkout-main {
  width: 100%;
  max-width: none;
  padding-left: 16px;
  padding-right: 16px;
}

.is-embedded-store .checkout-brand span,
.is-embedded-store .checkout-topbar__links {
  display: none;
}

.is-embedded-store .checkout-brand img {
  display: none;
}

.is-embedded-store .checkout-main {
  padding-top: 24px;
  padding-bottom: 32px;
}

.is-embedded-store .checkout-layout {
  grid-template-columns: 1fr;
}

.is-embedded-store .checkout-summary {
  position: static;
  padding: 24px;
}
