/* Oyklane cart drawer — themed by the same --oy-* tokens as the platform
   pages (fonts, colours, radius come from the theme's settings). */
.oy-drawer-open,
.oy-drawer-open body {
  overflow: hidden;
}
.oy-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  font-family: var(--oy-font-body, system-ui, sans-serif);
  color: var(--oy-text, #1a1a1a);
}
.oy-drawer[hidden] {
  display: none;
}
.oy-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.42);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.oy-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--oy-bg, #fff);
  box-shadow: -24px 0 60px -30px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}
.oy-drawer.is-open .oy-drawer__scrim {
  opacity: 1;
}
.oy-drawer.is-open .oy-drawer__panel {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .oy-drawer__scrim,
  .oy-drawer__panel {
    transition: none;
  }
}

.oy-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--oy-line, #e5e5e5);
}
.oy-drawer__head h2 {
  margin: 0;
  font-family: var(--oy-font-heading, inherit);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.oy-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.oy-drawer__close:hover {
  background: var(--oy-surface, #f5f5f5);
}
.oy-drawer :focus-visible {
  outline: 2px solid var(--oy-primary, #111);
  outline-offset: 2px;
}

.oy-drawer__notice {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13.5px;
  background: var(--oy-success-bg, #e8f6ee);
  color: var(--oy-success, #15703a);
}
.oy-drawer__notice.is-shown {
  display: flex;
}
.oy-drawer__notice.is-error {
  background: #fdecec;
  color: #b42318;
}

.oy-drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 20px 20px;
}
.oy-drawer__body[aria-busy="true"] {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s;
}
.oy-drawer__body[aria-busy="true"]:empty {
  min-height: 200px;
  background:
    linear-gradient(var(--oy-surface, #f3f3f3) 0 0) 0 20px / 88px 110px no-repeat,
    linear-gradient(var(--oy-surface, #f3f3f3) 0 0) 104px 28px / 60% 14px no-repeat,
    linear-gradient(var(--oy-surface, #f3f3f3) 0 0) 104px 54px / 30% 12px no-repeat;
}

.oy-drawer__ship {
  margin: 16px 0 4px;
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.oy-drawer__bar {
  flex-basis: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--oy-surface, #f0f0f0);
  overflow: hidden;
  margin-top: 6px;
}
.oy-drawer__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--oy-primary, #111);
  transition: width 0.4s ease;
}

.oy-drawer__lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.oy-line {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--oy-line, #eee);
  align-items: start;
}
.oy-line:last-child {
  border-bottom: 0;
}
.oy-line__media {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--oy-radius, 12px) * 0.7);
  overflow: hidden;
  background: var(--oy-surface, #f5f5f5);
}
.oy-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.oy-line__ph {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--oy-muted, #888);
}
.oy-line__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.oy-line__title {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.oy-line__title:hover {
  text-decoration: underline;
}
.oy-line__price {
  font-size: 13px;
  color: var(--oy-muted, #777);
  font-variant-numeric: tabular-nums;
}
.oy-line__row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.oy-line__total {
  font-size: 14.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.oy-line__remove {
  border: 0;
  padding: 4px 0;
  background: none;
  color: var(--oy-muted, #777);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.oy-line__remove:hover {
  color: var(--oy-text, #111);
}
.oy-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--oy-line-strong, #d4d4d4);
  border-radius: var(--oy-radius-button, 999px);
  height: 36px;
}
.oy-qty button {
  width: 34px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  border-radius: inherit;
}
.oy-qty button:hover {
  background: var(--oy-surface, #f5f5f5);
}
.oy-qty span {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.oy-drawer__foot {
  padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--oy-line, #e5e5e5);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--oy-bg, #fff);
}
.oy-drawer__foot[hidden] {
  display: none;
}
.oy-sum {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.oy-sum--save {
  font-weight: 500;
  font-size: 14px;
  color: var(--oy-success, #15703a);
}
.oy-drawer__fine {
  margin: 0 0 4px;
  font-size: 12.5px;
  color: var(--oy-muted, #777);
}
.oy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--oy-primary, #111);
  border-radius: var(--oy-radius-button, 999px);
  background: var(--oy-primary, #111);
  color: var(--oy-on-primary, #fff);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
}
.oy-btn:hover {
  opacity: 0.9;
}
.oy-btn--block {
  width: 100%;
}
.oy-btn--ghost {
  background: transparent;
  color: var(--oy-text, #111);
  border-color: var(--oy-line-strong, #d4d4d4);
}
.oy-btn--ghost:hover {
  background: var(--oy-surface, #f5f5f5);
  opacity: 1;
}
.oy-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 64px 12px;
  color: var(--oy-muted, #777);
}
.oy-drawer__empty p {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--oy-text, #111);
  font-weight: 500;
}

/* Add-to-cart buttons while the item is being added. */
[aria-busy="true"].is-loading {
  cursor: progress;
  opacity: 0.7;
}

/* ── Quick add ────────────────────────────────────────── */
.oy-quick {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
}
.oy-quick--loading {
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.oy-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid var(--oy-line, #e5e5e5);
  border-top-color: var(--oy-text, #111);
  animation: oy-spin 0.8s linear infinite;
}
@keyframes oy-spin {
  to {
    transform: rotate(360deg);
  }
}
.oy-quick__top {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.oy-quick__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: calc(var(--oy-radius, 12px) * 0.7);
  background: var(--oy-surface, #f5f5f5);
}
.oy-quick__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oy-quick__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.oy-quick__brand {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oy-muted, #777);
}
.oy-quick__title {
  font-family: var(--oy-font-heading, inherit);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: inherit;
  text-decoration: none;
}
.oy-quick__title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.oy-quick__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.oy-quick__now {
  font-weight: 600;
}
.oy-quick__now.is-sale {
  color: var(--oy-accent-text, #b42318);
}
.oy-quick__price s {
  font-size: 13px;
  color: var(--oy-muted, #777);
}
.oy-quick__more {
  margin-top: 6px;
  font-size: 13px;
  color: var(--oy-muted, #666);
  text-underline-offset: 3px;
}
.oy-quick__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.oy-opt {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.oy-opt legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
}
.oy-opt legend span {
  font-weight: 400;
  color: var(--oy-muted, #777);
}
.oy-opt__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.oy-chip {
  position: relative;
}
.oy-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.oy-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 46px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--oy-line-strong, #d4d4d4);
  border-radius: min(var(--oy-radius-button, 10px), 10px);
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.oy-chip input:checked + span {
  border-color: var(--oy-text, #111);
  background: var(--oy-text, #111);
  color: var(--oy-bg, #fff);
}
.oy-chip input:focus-visible + span {
  outline: 2px solid var(--oy-primary, #111);
  outline-offset: 2px;
}
.oy-chip.is-out span {
  color: var(--oy-muted, #999);
  text-decoration: line-through;
  border-style: dashed;
}
.oy-chip__dot {
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15), 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
.oy-quick__stock {
  margin: 0;
  font-size: 13px;
  color: var(--oy-success, #15703a);
}
.oy-quick__stock.is-low {
  color: #b54708;
}
.oy-quick__stock.is-out {
  color: #b42318;
}
.oy-quick__form .oy-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── One-Click Checkout popup (app: one-click-checkout) ──
   Step by step — mobile, code, address, payment — in one sheet: centred
   on desktop, a bottom sheet on phones. Colours follow the theme's tokens. */
html.oy-1c-open {
  overflow: hidden;
}
.oy-1c {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: var(--oy-font-body, system-ui, sans-serif);
  color: var(--oy-text, #1a1a1a);
  -webkit-font-smoothing: antialiased;
}
.oy-1c__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.oy-1c__panel {
  position: relative;
  width: min(440px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--oy-bg, #fff);
  border-radius: 20px;
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}
.oy-1c.is-open .oy-1c__scrim {
  opacity: 1;
}
.oy-1c.is-open .oy-1c__panel {
  transform: none;
  opacity: 1;
}

/* Header: store name (or back), "Secure checkout", close. */
.oy-1c__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 12px 10px 16px;
}
.oy-1c__brand {
  font-family: var(--oy-font-heading, inherit);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.oy-1c__secure {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--oy-success, #15703a);
}
.oy-1c__icon {
  justify-self: end;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.oy-1c__head .oy-1c__icon:first-child {
  justify-self: start;
  margin-left: -8px;
}
.oy-1c__icon:hover {
  background: var(--oy-surface, #f3f3f3);
}

/* Order summary: a bar that opens the line items and totals. */
.oy-1c__sumbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 16px;
  padding: 11px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--oy-surface, #f5f5f7);
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
}
.oy-1c__sumbar span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--oy-muted, #555);
}
.oy-1c__sumbar strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.oy-1c__caret {
  display: inline-flex;
  transition: transform 0.2s ease;
}
.oy-1c__sumbar[aria-expanded="true"] .oy-1c__caret {
  transform: rotate(180deg);
}
.oy-1c__sum {
  margin: 0 0 14px;
  padding: 4px 14px 10px;
  border: 1px solid var(--oy-line, #ececec);
  border-radius: 12px;
  font-size: 13px;
}
.oy-1c__items {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
}
.oy-1c__item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--oy-line, #f0f0f0);
}
.oy-1c__thumb {
  position: relative;
  width: 44px;
  height: 54px;
  border-radius: 8px;
  background: var(--oy-surface, #f3f3f3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oy-muted, #999);
}
.oy-1c__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.oy-1c__thumb b {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--oy-text, #222);
  color: var(--oy-bg, #fff);
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.oy-1c__iname {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.oy-1c__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  color: var(--oy-muted, #555);
  font-variant-numeric: tabular-nums;
}
.oy-1c__row.is-save span:last-child {
  color: var(--oy-success, #15703a);
}
.oy-1c__row.is-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--oy-line, #ececec);
  color: var(--oy-text, #111);
  font-size: 15px;
  font-weight: 700;
}

/* Progress: Mobile · Address · Payment. */
.oy-1c__steps {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 12px;
  color: var(--oy-muted, #888);
}
.oy-1c__steps li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.oy-1c__steps li + li::before {
  content: "";
  flex: 0 0 14px;
  height: 1px;
  margin-right: 2px;
  background: var(--oy-line-strong, #d6d6d6);
}
.oy-1c__steps span {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--oy-line-strong, #d6d6d6);
  font-size: 11px;
  font-weight: 600;
}
.oy-1c__steps span svg {
  width: 12px;
  height: 12px;
}
.oy-1c__steps .is-now {
  color: var(--oy-text, #111);
  font-weight: 600;
}
.oy-1c__steps .is-now span {
  border-color: var(--oy-primary, #111);
  background: var(--oy-primary, #111);
  color: var(--oy-on-primary, #fff);
}
.oy-1c__steps .is-done span {
  border-color: var(--oy-success, #15703a);
  background: var(--oy-success, #15703a);
  color: #fff;
}

/* Body. */
.oy-1c__body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px 8px;
}
.oy-1c__title {
  margin: 0;
  font-family: var(--oy-font-heading, inherit);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.oy-1c__sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--oy-muted, #666);
}
.oy-1c__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--oy-muted, #666);
}
.oy-1c__label .oy-1c__link {
  text-transform: none;
  letter-spacing: 0;
}
.oy-1c__fine {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--oy-muted, #777);
}
.oy-1c__error {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  background: #fdecec;
  color: #a11b1b;
}
.oy-1c__link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--oy-primary, #111);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Mobile number. */
.oy-1c__phone {
  display: flex;
  align-items: stretch;
  margin-top: 16px;
  border: 1.5px solid var(--oy-line-strong, #d4d4d4);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.oy-1c__phone:focus-within {
  border-color: var(--oy-primary, #111);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--oy-primary, #111) 15%, transparent);
}
.oy-1c__cc {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 600;
  background: var(--oy-surface, #f5f5f5);
  border-right: 1px solid var(--oy-line, #e5e5e5);
  white-space: nowrap;
}
.oy-1c__phone .oy-1c__input {
  border: 0;
  border-radius: 0;
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: 14px 12px;
}
.oy-1c__phone .oy-1c__input:focus {
  outline: none;
  box-shadow: none;
}

/* One-time code. */
.oy-1c__otp {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.oy-1c__digit {
  width: 100%;
  min-width: 0;
  height: 54px;
  box-sizing: border-box;
  border: 1.5px solid var(--oy-line-strong, #d4d4d4);
  border-radius: 12px;
  background: var(--oy-bg, #fff);
  color: inherit;
  font: inherit;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}
.oy-1c__digit:focus {
  outline: none;
  border-color: var(--oy-primary, #111);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--oy-primary, #111) 15%, transparent);
}
.oy-1c__resend {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--oy-muted, #666);
}

/* Contact / address chips. */
.oy-1c__chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--oy-surface, #f5f5f7);
  font-size: 14px;
}
.oy-1c__chip > svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--oy-muted, #666);
}
.oy-1c__chip > span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
}
.oy-1c__chip--addr > span {
  flex-direction: column;
  align-items: flex-start;
}
.oy-1c__chip small {
  font-size: 13px;
  color: var(--oy-muted, #666);
}
.oy-1c__ok {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--oy-success, #15703a);
}
.oy-1c__ok svg {
  width: 13px;
  height: 13px;
}

/* Saved addresses. */
.oy-1c__addrs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.oy-1c__addr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1.5px solid var(--oy-line, #e2e2e2);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.oy-1c__addr:has(input:checked) {
  border-color: var(--oy-primary, #111);
  background: color-mix(in srgb, var(--oy-primary, #111) 3%, var(--oy-bg, #fff));
}
.oy-1c__addr input,
.oy-1c__opt input {
  margin: 3px 0 0;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--oy-primary, #111);
}
.oy-1c__addr-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13px;
  color: var(--oy-muted, #555);
}
.oy-1c__addr-body strong {
  font-size: 14px;
  color: var(--oy-text, #111);
  margin-bottom: 2px;
}
.oy-1c__net {
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  color: var(--oy-muted, #777);
}
.oy-1c__add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border: 1.5px dashed var(--oy-line-strong, #d0d0d0);
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.oy-1c__add:hover {
  border-color: var(--oy-primary, #111);
}

/* Address form. */
.oy-1c__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.oy-1c__grid--email {
  margin-top: 14px;
}
.oy-1c__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  font-size: 13px;
}
.oy-1c__field--full {
  grid-column: 1 / -1;
}
.oy-1c__field span {
  color: var(--oy-muted, #555);
}
.oy-1c__input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  font: inherit;
  font-size: 15px;
  color: inherit;
  background: var(--oy-bg, #fff);
  border: 1.5px solid var(--oy-line, #dcdcdc);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.oy-1c__input:focus {
  outline: none;
  border-color: var(--oy-primary, #111);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--oy-primary, #111) 15%, transparent);
}

/* Payment methods. */
.oy-1c__pay {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.oy-1c__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1.5px solid var(--oy-line, #e2e2e2);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.oy-1c__opt input {
  margin: 0;
}
.oy-1c__opt:has(input:checked) {
  border-color: var(--oy-primary, #111);
  background: color-mix(in srgb, var(--oy-primary, #111) 3%, var(--oy-bg, #fff));
}
.oy-1c__opt-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--oy-surface, #f3f3f5);
}
.oy-1c__opt-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.oy-1c__opt-text small {
  font-size: 12px;
  color: var(--oy-muted, #666);
}
.oy-1c__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}
.oy-1c__badges i {
  padding: 1px 6px;
  border: 1px solid var(--oy-line, #e4e4e4);
  border-radius: 5px;
  background: var(--oy-bg, #fff);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--oy-muted, #555);
}
.oy-1c__badges .oy-1c__test {
  border-color: transparent;
  background: #fff4e5;
  color: #8a4b0b;
}
.oy-1c__pick {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--oy-success-bg, #e8f6ee);
  color: var(--oy-success, #15703a);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 1px;
}
.oy-1c__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff4e5;
  color: #8a4b0b;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* Footer: the one action, and a trust line. */
.oy-1c__foot {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--oy-line, #eee);
  background: var(--oy-bg, #fff);
}
.oy-1c__cta {
  min-height: 50px;
  font-size: 16px;
  font-weight: 600;
  gap: 8px;
  border-radius: 12px;
}
.oy-1c__cta[disabled] {
  opacity: 0.75;
  cursor: progress;
}
.oy-1c__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--oy-muted, #777);
}
.oy-spinner--sm {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  border-width: 2px;
  border-color: color-mix(in srgb, currentColor 30%, transparent);
  border-top-color: currentColor;
}

@media (max-width: 560px) {
  .oy-1c {
    align-items: flex-end;
    padding: 0;
  }
  .oy-1c__panel {
    width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(40px);
  }
  .oy-1c__foot {
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .oy-1c__digit {
    height: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .oy-1c__scrim,
  .oy-1c__panel {
    transition: none;
  }
}

/* Payment brand marks */
.oy-1c__badges .oy-1c__brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px 2px 5px;
  border: 1px solid var(--oy-line, #e4e4e4);
  border-radius: 6px;
  background: var(--oy-bg, #fff);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--oy-muted, #555);
  white-space: nowrap;
}
.oy-1c__badges .oy-1c__brand-chip svg {
  flex: none;
}
.oy-mark {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.oy-mark--upi {
  color: #097939;
}
.oy-mark--upi::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 5px solid #ed752e;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  vertical-align: 0;
}
.oy-mark--rupay {
  color: #1c3a78;
}
.oy-1c__opt-icon .oy-mark {
  font-size: 13px;
}

.oy-line__detail {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--oy-muted, #6b7280);
}

/* "You may also like" — One-Click Checkout's cross-sell */
.oy-xs { margin: 18px 0 4px; padding-top: 16px; border-top: 1px solid var(--oy-line, #e5e5e5); }
.oy-xs__title { margin: 0 0 12px; font: 600 14px/1.3 var(--oy-font-heading, inherit); color: var(--oy-text, #1a1a1a); }
.oy-xs__list { display: grid; gap: 10px; }
.oy-xs--row .oy-xs__list { grid-auto-flow: column; grid-auto-columns: 150px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.oy-xs--grid .oy-xs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.oy-xs__card { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; scroll-snap-align: start; border-radius: var(--oy-radius, 10px); }
.oy-xs--bordered .oy-xs__card { border: 1px solid var(--oy-line, #e5e5e5); padding: 8px; }
.oy-xs--filled .oy-xs__card { background: var(--oy-surface, #f6f6f6); padding: 8px; }
.oy-xs__media { display: block; aspect-ratio: 1; border-radius: calc(var(--oy-radius, 10px) - 2px); overflow: hidden; background: var(--oy-surface, #f6f6f6); }
.oy-xs__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.oy-xs__media .oy-line__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--oy-muted, #888); }
.oy-xs__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oy-xs__name { font-size: 13px; line-height: 1.35; color: var(--oy-text, #1a1a1a); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oy-xs__price { font-size: 13px; font-weight: 600; color: var(--oy-text, #1a1a1a); }
.oy-xs__price s { font-weight: 400; color: var(--oy-muted, #888); margin-left: 4px; }
.oy-xs__card form { margin: 0; }
.oy-xs__add { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--oy-primary, #111); border-radius: var(--oy-radius-button, 8px); background: transparent; color: var(--oy-primary, #111); font: 600 13px/1 var(--oy-font-body, inherit); text-decoration: none; cursor: pointer; }
.oy-xs__add:hover { background: var(--oy-primary, #111); color: var(--oy-on-primary, #fff); }
.oy-xs__add svg { width: 14px; height: 14px; }
.oy-xs--list .oy-xs__card { flex-direction: row; align-items: center; }
.oy-xs--list .oy-xs__media { width: 64px; flex-shrink: 0; }
.oy-xs--list .oy-xs__info { flex: 1; }
.oy-xs--list .oy-xs__add { width: auto; }
