/*
 * Oyklane platform pages — product, collection, search, cart, checkout,
 * account, order status, blog and content pages. The layout is the same
 * on every store; each theme only changes the tokens below (injected per
 * store from its theme settings, see storefront/platform.js):
 *
 *   --oy-bg, --oy-text, --oy-muted, --oy-line, --oy-surface
 *   --oy-primary, --oy-on-primary, --oy-accent, --oy-on-accent
 *   --oy-font-heading, --oy-font-body
 *   --oy-radius-button, --oy-radius, --oy-container
 *
 * Everything is scoped under .sys so a theme's own stylesheet can't
 * reshape these pages, and these styles never leak into the theme's
 * header, footer or home page.
 */

.sys {
  --oy-success: #15803d;
  --oy-success-bg: #ecfdf3;
  --oy-danger: #b42318;
  --oy-danger-bg: #fef3f2;
  --oy-warning: #b54708;
  --oy-warning-bg: #fffaeb;
  --oy-info: #1d4ed8;
  --oy-info-bg: #eff4ff;
  --oy-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  --oy-shadow-lg: 0 12px 32px -12px rgba(16, 24, 40, 0.18);

  font-family: var(--oy-font-body);
  color: var(--oy-text);
  background: var(--oy-bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.sys *,
.sys *::before,
.sys *::after {
  box-sizing: border-box;
}
/* Base element styles are written `.sys :where(el)` — exactly one class
   of specificity. That beats a theme's bare element rules (`p { … }`), yet
   loses to every .sys-* class declared later in this file (a button link's
   colour, an alert's margin). */
.sys :where(img) {
  max-width: 100%;
  display: block;
}
.sys :where(a) {
  color: inherit;
}
.sys :where(h1, h2, h3, h4) {
  font-family: var(--oy-font-heading);
  color: var(--oy-text);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.sys :where(p) {
  margin: 0;
}
.sys :where(button) {
  font: inherit;
}
.sys :focus-visible {
  outline: 2px solid var(--oy-primary);
  outline-offset: 2px;
}

/* ── Layout ─────────────────────────────────────────────── */
.sys-container {
  width: 100%;
  max-width: var(--oy-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.sys-container--narrow {
  max-width: 760px;
}
.sys-container--mid {
  max-width: 1080px;
}
.sys-section {
  padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 88px);
}
.sys-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sys-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sys-row--between {
  justify-content: space-between;
}
.sys-row--wrap {
  flex-wrap: wrap;
}
.sys-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Type ───────────────────────────────────────────────── */
.sys-h1 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
}
.sys-h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
}
.sys-h3 {
  font-size: 17px;
  font-weight: 600;
}
.sys-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oy-muted);
}
.sys-muted {
  color: var(--oy-muted);
}
.sys-small {
  font-size: 13px;
}
.sys-num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sys-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.sys-link:hover {
  text-decoration-thickness: 2px;
}
.sys-prose {
  font-size: 16px;
  line-height: 1.75;
}
.sys-prose > * + * {
  margin-top: 1em;
}
.sys-prose h2 {
  font-size: 24px;
  margin-top: 1.6em;
}
.sys-prose h3 {
  font-size: 19px;
  margin-top: 1.4em;
}
.sys-prose ul,
.sys-prose ol {
  padding-left: 1.3em;
}
.sys-prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sys-prose img {
  border-radius: var(--oy-radius);
  margin: 1.4em 0;
}
.sys-prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--oy-primary);
  color: var(--oy-muted);
  font-style: italic;
}

/* ── Buttons ────────────────────────────────────────────── */
.sys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--oy-radius-button);
  border: 1px solid var(--oy-primary);
  background: var(--oy-primary);
  color: var(--oy-on-primary);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.sys-btn:hover {
  box-shadow: var(--oy-shadow-lg);
  transform: translateY(-1px);
}
.sys-btn:active {
  transform: translateY(0);
}
.sys-btn[disabled],
.sys-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.sys-btn--secondary {
  background: transparent;
  color: var(--oy-text);
  border-color: var(--oy-line-strong);
}
.sys-btn--secondary:hover {
  border-color: var(--oy-text);
  box-shadow: none;
}
.sys-btn--block {
  width: 100%;
}
.sys-btn--lg {
  min-height: 54px;
  font-size: 16px;
}
.sys-btn--sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 14px;
}
.sys-btn .sys-icon {
  width: 18px;
  height: 18px;
}
.sys-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Forms ──────────────────────────────────────────────── */
.sys-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.sys-label {
  font-size: 13px;
  font-weight: 600;
}
.sys-input,
.sys-select,
.sys-textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--oy-text);
  background: var(--oy-bg);
  border: 1px solid var(--oy-line-strong);
  border-radius: min(var(--oy-radius), 10px);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.sys-select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.sys-textarea {
  min-height: 100px;
  resize: vertical;
}
.sys-input:focus,
.sys-select:focus,
.sys-textarea:focus {
  outline: none;
  border-color: var(--oy-primary);
  box-shadow: 0 0 0 3px var(--oy-primary-ring);
}
.sys-input::placeholder,
.sys-textarea::placeholder {
  color: var(--oy-muted);
  opacity: 0.8;
}
.sys-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}
.sys-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--oy-primary);
  flex-shrink: 0;
}
.sys-fields {
  display: grid;
  gap: 14px;
}
.sys-fields--2 {
  grid-template-columns: 1fr 1fr;
}
.sys-fields--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.sys-inline-form {
  display: flex;
  gap: 8px;
}
.sys-disclose summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.sys-disclose summary::-webkit-details-marker {
  display: none;
}
.sys-disclose summary .sys-icon {
  width: 16px;
  height: 16px;
}
.sys-disclose summary .sys-icon:last-child {
  color: var(--oy-muted);
  transition: transform 0.2s ease;
}
.sys-disclose[open] summary .sys-icon:last-child {
  transform: rotate(180deg);
}
.sys-inline-form .sys-input {
  flex: 1;
}

/* ── Cards, alerts, badges ──────────────────────────────── */
.sys-card {
  background: var(--oy-bg);
  border: 1px solid var(--oy-line);
  border-radius: var(--oy-radius);
  padding: clamp(18px, 3vw, 28px);
}
.sys-card--flat {
  background: var(--oy-surface);
  border-color: transparent;
}
.sys-card + .sys-card {
  margin-top: 16px;
}
.sys-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
}
.sys-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: min(var(--oy-radius), 10px);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}
.sys-alert--error {
  background: var(--oy-danger-bg);
  color: var(--oy-danger);
}
.sys-alert--success {
  background: var(--oy-success-bg);
  color: var(--oy-success);
}
.sys-alert--info {
  background: var(--oy-surface);
  color: var(--oy-text);
}
.sys-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--oy-surface);
  color: var(--oy-text);
  white-space: nowrap;
}
.sys-badge--sale {
  background: var(--oy-accent);
  color: var(--oy-on-accent);
}
.sys-badge--soldout {
  background: var(--oy-text);
  color: var(--oy-bg);
}
.sys-badge--success {
  background: var(--oy-success-bg);
  color: var(--oy-success);
}
.sys-badge--info {
  background: var(--oy-info-bg);
  color: var(--oy-info);
}
.sys-badge--warning {
  background: var(--oy-warning-bg);
  color: var(--oy-warning);
}
.sys-badge--danger {
  background: var(--oy-danger-bg);
  color: var(--oy-danger);
}

/* ── Breadcrumbs ────────────────────────────────────────── */
.sys-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--oy-muted);
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.sys-crumbs a {
  text-decoration: none;
  color: var(--oy-muted);
}
.sys-crumbs a:hover {
  color: var(--oy-text);
}
.sys-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.5;
}

/* ── Price ──────────────────────────────────────────────── */
.sys-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-variant-numeric: tabular-nums;
}
.sys-price__now {
  font-weight: 600;
}
.sys-price__now--sale {
  color: var(--oy-accent-text);
}
.sys-price__was {
  color: var(--oy-muted);
  text-decoration: line-through;
  font-size: 0.9em;
}
.sys-price__save {
  font-size: 12px;
  font-weight: 700;
  color: var(--oy-accent-text);
  letter-spacing: 0.02em;
}

/* ── Product grid & card ────────────────────────────────── */
.sys-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px) clamp(12px, 1.6vw, 22px);
}
.sys-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sys-pcard-wrap {
  position: relative;
  min-width: 0;
}
/* Quick add: a round + over the photo's corner — on hover with a mouse,
   always on touch screens. */
.sys-pcard__quick {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--oy-bg);
  color: var(--oy-text);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.sys-pcard__quick .sys-icon {
  width: 18px;
  height: 18px;
}
/* Shown only by the "Full-width button" card setting. */
.sys-pcard__quick-text {
  display: none;
}
.sys-pcard-wrap:hover .sys-pcard__quick,
.sys-pcard__quick:focus-visible {
  opacity: 1;
  transform: none;
}
.sys-pcard__quick:hover {
  background: var(--oy-text);
  color: var(--oy-bg);
}
@media (hover: none) {
  .sys-pcard__quick {
    opacity: 1;
    transform: none;
  }
}
.sys-pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.sys-pcard__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--oy-radius);
  overflow: hidden;
  background: var(--oy-surface);
}
.sys-pcard__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s ease;
}
.sys-pcard__media img + img {
  opacity: 0;
}
.sys-pcard:hover .sys-pcard__media img:first-child {
  transform: scale(1.03);
}
.sys-pcard:hover .sys-pcard__media img + img {
  opacity: 1;
}
.sys-pcard__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 1;
}
.sys-pcard__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sys-pcard__vendor {
  font-size: 12px;
  color: var(--oy-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sys-pcard__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sys-pcard:hover .sys-pcard__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sys-pcard .sys-price {
  font-size: 15px;
}
.sys-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oy-muted);
  background:
    radial-gradient(circle at 30% 20%, var(--oy-line) 0 1px, transparent 1.5px) 0 0 / 18px 18px,
    var(--oy-surface);
}
.sys-placeholder .sys-icon {
  width: 40px;
  height: 40px;
  opacity: 0.35;
}

/* ── Empty state ────────────────────────────────────────── */
.sys-empty {
  text-align: center;
  padding: clamp(36px, 8vw, 80px) 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.sys-empty__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--oy-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oy-muted);
  margin-bottom: 4px;
}
.sys-empty__icon .sys-icon {
  width: 28px;
  height: 28px;
}
.sys-empty p {
  max-width: 440px;
  color: var(--oy-muted);
}

/* ── Product page ───────────────────────────────────────── */
.sys-product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.sys-gallery {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  position: sticky;
  top: 24px;
}
.sys-gallery--single {
  grid-template-columns: minmax(0, 1fr);
}
.sys-gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--oy-radius);
  overflow: hidden;
  background: var(--oy-surface);
  grid-column: 2;
  grid-row: 1;
}
.sys-gallery--single .sys-gallery__main {
  grid-column: 1;
}
.sys-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sys-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-column: 1;
  grid-row: 1;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}
.sys-gallery__thumb {
  display: block;
  width: 76px;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 1px solid var(--oy-line);
  border-radius: min(var(--oy-radius), 10px);
  overflow: hidden;
  background: var(--oy-surface);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.sys-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sys-gallery__thumb[aria-current="true"],
.sys-gallery__thumb:hover {
  opacity: 1;
  border-color: var(--oy-text);
}
.sys-pinfo {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* Arranged by the seller (theme editor ▸ Product page). */
.sys-product--media-half {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.sys-product--media-narrow {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}
.sys-product:not(.sys-product--sticky) .sys-gallery {
  position: static;
}
.sys-gallery--below {
  grid-template-columns: minmax(0, 1fr);
}
.sys-gallery--below .sys-gallery__main {
  grid-column: 1;
}
.sys-gallery--below .sys-gallery__thumbs {
  grid-column: 1;
  grid-row: 2;
  flex-direction: row;
  overflow-x: auto;
}
.sys-gallery--below .sys-gallery__thumb {
  flex-shrink: 0;
}
.sys-gallery--stacked {
  position: static;
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
}
.sys-gallery--stacked .sys-gallery__main {
  grid-column: auto;
  grid-row: auto;
}
.sys-product--sticky .sys-gallery--stacked + .sys-pinfo {
  position: sticky;
  top: 24px;
}
.sys-gallery__main--contain img {
  object-fit: contain;
}
.sys-gallery__main--contain {
  background: var(--oy-bg, #fff);
  border: 1px solid var(--oy-line);
}
.sys-gallery__thumb img {
  object-fit: contain;
  background: var(--oy-bg, #fff);
}
.sys-pinfo__title--small {
  font-size: clamp(20px, 2vw, 24px);
}
.sys-pinfo__title--large {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.01em;
}
.sys-pinfo__pricebox {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sys-pinfo__pricebox .sys-pinfo__taxnote {
  margin-top: 0;
}
.sys-pinfo__pricebox--small .sys-price {
  font-size: 17px;
}
.sys-pinfo__pricebox--large .sys-price {
  font-size: 30px;
}
.sys-swatches--pills .sys-swatch span {
  border-radius: 999px;
}
.sys-sizechart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}
.sys-sizechart .sys-icon {
  width: 15px;
  height: 15px;
}
.sys-buy--noqty {
  grid-template-columns: minmax(0, 1fr);
}
.sys-pinfo__desc {
  font-size: 15px;
}
.sys-ptext p {
  margin: 0;
}
.sys-ptext--highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--oy-radius);
  background: var(--oy-surface);
  font-size: 14px;
}
.sys-ptext--highlight .sys-icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}
.sys-ptext--body {
  font-size: 15px;
}
.sys-ptext--small {
  font-size: 12.5px;
  color: var(--oy-muted);
}
.sys-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: inherit;
  text-decoration: none;
  font-size: 13.5px;
}
.sys-rating:hover .sys-rating__text {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sys-rating__text {
  color: var(--oy-muted);
}
.sys-stars {
  position: relative;
  display: inline-block;
  width: 84px;
  height: 16px;
  flex: none;
  background: var(--oy-line-strong);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 16'%3E%3Cg%3E%3Cpath id='s' d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.1l5-.7z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 84px 16px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 16'%3E%3Cg%3E%3Cpath id='s' d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.1l5-.7z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") no-repeat 0 0 / 84px 16px;
}
.sys-stars__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--sys-stars, 0%);
  background: #f5a524;
}
.sys-section--flush {
  padding-top: 0;
}
.sys-pinfo__title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
}
.sys-pinfo .sys-price {
  font-size: 22px;
}
.sys-pinfo__taxnote {
  font-size: 13px;
  color: var(--oy-muted);
  margin-top: -10px;
}
.sys-options {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sys-options legend {
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 10px;
}
.sys-options legend span {
  font-weight: 400;
  color: var(--oy-muted);
}
.sys-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sys-swatch {
  position: relative;
}
.sys-swatch input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.sys-swatch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--oy-line-strong);
  border-radius: min(var(--oy-radius-button), 12px);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}
.sys-swatch input:checked + span {
  border-color: var(--oy-text);
  background: var(--oy-text);
  color: var(--oy-bg);
}
.sys-swatch input:focus-visible + span {
  outline: 2px solid var(--oy-primary);
  outline-offset: 2px;
}
.sys-swatch--unavailable span {
  color: var(--oy-muted);
  text-decoration: line-through;
  border-style: dashed;
}
.sys-swatch--colour span {
  gap: 8px;
  padding-left: 12px;
}
.sys-swatch__dot {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
.sys-buy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
}
.sys-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--oy-line-strong);
  border-radius: min(var(--oy-radius-button), 12px);
  overflow: hidden;
  height: 48px;
}
.sys-qty button {
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--oy-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sys-qty button:hover {
  background: var(--oy-surface);
}
.sys-qty button .sys-icon {
  width: 16px;
  height: 16px;
}
.sys-qty input {
  width: 44px;
  height: 100%;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 600;
  background: transparent;
  color: var(--oy-text);
  -moz-appearance: textfield;
}
.sys-qty input::-webkit-outer-spin-button,
.sys-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sys-qty--sm {
  height: 38px;
}
.sys-qty--sm button {
  width: 34px;
}
.sys-qty--sm input {
  width: 36px;
  font-size: 14px;
}
.sys-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.sys-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oy-success);
  box-shadow: 0 0 0 4px var(--oy-success-bg);
}
.sys-stock--low::before {
  background: var(--oy-warning);
  box-shadow: 0 0 0 4px var(--oy-warning-bg);
}
.sys-stock--out::before {
  background: var(--oy-danger);
  box-shadow: 0 0 0 4px var(--oy-danger-bg);
}
.sys-trust {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--oy-line);
  display: grid;
  gap: 12px;
}
.sys-trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.sys-trust .sys-icon {
  color: var(--oy-muted);
}
.sys-accordion {
  border-top: 1px solid var(--oy-line);
}
.sys-accordion:last-child {
  border-bottom: 1px solid var(--oy-line);
}
.sys-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.sys-accordion summary::-webkit-details-marker {
  display: none;
}
.sys-accordion summary .sys-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.sys-accordion[open] summary .sys-icon {
  transform: rotate(45deg);
}
.sys-accordion__body {
  padding: 0 0 18px;
  color: var(--oy-text);
  font-size: 15px;
}
.sys-accordion__body dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  margin: 0;
}
.sys-accordion__body dt {
  color: var(--oy-muted);
}
.sys-accordion__body dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.sys-spec-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--oy-line-strong);
  vertical-align: -2px;
  margin-right: 8px;
}
.sys-spec-image {
  display: block;
  max-width: min(100%, 320px);
  height: auto;
  border-radius: var(--oy-radius);
  border: 1px solid var(--oy-line);
}
.sys-related {
  margin-top: clamp(48px, 7vw, 96px);
}
.sys-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

/* ── Collection & search ────────────────────────────────── */
.sys-collection-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.sys-collection-head p {
  max-width: 720px;
  color: var(--oy-muted);
}
.sys-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--oy-line);
  border-bottom: 1px solid var(--oy-line);
  font-size: 14px;
}
.sys-toolbar form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.sys-toolbar .sys-select {
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: auto;
}
.sys-searchbar {
  display: flex;
  gap: 8px;
  max-width: 640px;
  margin: 18px 0 8px;
}
.sys-searchbar .sys-input {
  flex: 1;
}

/* ── Cart ───────────────────────────────────────────────── */
.sys-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.sys-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--oy-line);
}
.sys-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--oy-line);
}
.sys-line__media {
  position: relative;
  width: 96px;
  aspect-ratio: 4 / 5;
  border-radius: min(var(--oy-radius), 10px);
  overflow: hidden;
  background: var(--oy-surface);
}
.sys-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sys-line__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.sys-line__title {
  font-weight: 500;
  text-decoration: none;
}
.sys-line__title:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sys-line__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.sys-line__total {
  font-weight: 600;
  text-align: right;
}
.sys-summary {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sys-sumrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.sys-sumrow span:first-child {
  color: var(--oy-muted);
}
.sys-sumrow--total {
  font-size: 18px;
  font-weight: 700;
  padding-top: 14px;
  border-top: 1px solid var(--oy-line);
}
.sys-sumrow--total span:first-child {
  color: var(--oy-text);
}
.sys-sumrow--saving span {
  color: var(--oy-success) !important;
}
.sys-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.sys-progress__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--oy-surface);
  overflow: hidden;
}
.sys-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--oy-primary);
  transition: width 0.4s ease;
}
.sys-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--oy-muted);
}
.sys-note .sys-icon {
  width: 16px;
  height: 16px;
}
.sys-applied {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  background: var(--oy-surface);
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
}
.sys-applied button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 2px;
  display: flex;
  color: var(--oy-muted);
}
.sys-applied .sys-icon {
  width: 14px;
  height: 14px;
}

/* ── Checkout ───────────────────────────────────────────── */
.sys-checkout-page {
  min-height: 100vh;
  background: var(--oy-bg);
}
.sys-checkout-top {
  border-bottom: 1px solid var(--oy-line);
}
.sys-checkout-top .sys-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.sys-checkout-top__brand {
  font-family: var(--oy-font-heading);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.sys-checkout-top__brand img {
  max-height: 40px;
  width: auto;
}
.sys-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.sys-checkout__main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(24px, 4vw, 40px) 0 64px;
}
/* Two-tone page: form on the page colour, summary on a tinted panel that
   runs to the right edge of the screen. */
.sys-checkout-wrap {
  background: linear-gradient(to right, var(--oy-bg) 55%, var(--oy-surface) 55%);
  min-height: calc(100vh - 73px);
}
.sys-checkout__aside {
  background: var(--oy-surface);
  border-left: 1px solid var(--oy-line);
  padding: clamp(24px, 4vw, 40px) 0 40px clamp(20px, 3vw, 40px);
  align-self: stretch;
}
.sys-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sys-step__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.sys-step__head h2 {
  font-size: 19px;
  font-weight: 600;
}
.sys-pay {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--oy-line-strong);
  border-radius: min(var(--oy-radius), 12px);
  overflow: hidden;
}
.sys-pay__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  position: relative;
}
.sys-pay__opt + .sys-pay__opt {
  border-top: 1px solid var(--oy-line);
}
.sys-pay__opt input {
  width: 18px;
  height: 18px;
  accent-color: var(--oy-primary);
  margin: 0;
}
.sys-pay__opt:has(input:checked) {
  background: var(--oy-surface);
}
.sys-pay__label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sys-pay__label strong {
  font-weight: 600;
}
.sys-pay__label span {
  font-size: 13px;
  color: var(--oy-muted);
}
.sys-pay__icons {
  display: flex;
  gap: 4px;
}
.sys-pay__icons span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid var(--oy-line);
  background: var(--oy-bg);
  color: var(--oy-muted);
}
.sys-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sys-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  font-size: 14px;
}
.sys-item__media {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 1px solid var(--oy-line);
  background: var(--oy-bg);
}
.sys-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}
.sys-item__qty {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--oy-muted);
  color: var(--oy-bg);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sys-mobile-summary {
  display: none;
}
.sys-mobile-summary summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px clamp(16px, 4vw, 40px);
  background: var(--oy-surface);
  border-bottom: 1px solid var(--oy-line);
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}
.sys-mobile-summary summary::-webkit-details-marker {
  display: none;
}
.sys-mobile-summary[open] summary .sys-icon {
  transform: rotate(180deg);
}
.sys-mobile-summary__body {
  padding: 20px clamp(16px, 4vw, 40px);
  background: var(--oy-surface);
  border-bottom: 1px solid var(--oy-line);
}
.sys-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--oy-muted);
}
.sys-secure .sys-icon {
  width: 16px;
  height: 16px;
}

/* ── Account, orders, status ────────────────────────────── */
.sys-auth {
  max-width: 460px;
  margin: 0 auto;
}
.sys-rule {
  border: 0;
  border-top: 1px solid var(--oy-line);
  margin: 24px 0;
}
.sys-hint {
  font-size: 12.5px;
  color: var(--oy-muted);
}
.sys-password {
  position: relative;
  display: block;
}
.sys-password .sys-input {
  padding-right: 64px;
}
.sys-password__toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: calc(var(--oy-radius) * 0.6);
  background: transparent;
  color: var(--oy-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.sys-password__toggle:hover,
.sys-password__toggle:focus-visible {
  color: var(--oy-text);
  background: var(--oy-surface);
}
.sys-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--oy-muted);
}
.sys-or::before,
.sys-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--oy-line);
}
.sys-code {
  letter-spacing: 0.5em;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.sys-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}
.sys-two {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.sys-orders {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sys-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--oy-line);
  text-decoration: none;
  color: inherit;
}
.sys-orders li:last-child .sys-order {
  border-bottom: 0;
}
.sys-order:hover .sys-order__name {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sys-row-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--oy-line);
  font-size: 14px;
}
.sys-row-line:last-child {
  border-bottom: 0;
}
.sys-steps {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 4px 0 6px;
}
.sys-steps li {
  flex: 1;
  position: relative;
  padding-top: 24px;
  font-size: 13px;
  min-width: 0;
}
.sys-steps li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--oy-line);
}
.sys-steps li:first-child::before {
  left: 7px;
}
.sys-steps li:last-child::before {
  right: auto;
  width: 7px;
}
.sys-steps li::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--oy-bg);
  border: 2px solid var(--oy-line-strong);
}
.sys-steps li.is-done::before {
  background: var(--oy-primary);
}
.sys-steps li.is-done::after {
  background: var(--oy-primary);
  border-color: var(--oy-primary);
}
.sys-steps strong {
  display: block;
  font-size: 13px;
}
.sys-steps span {
  color: var(--oy-muted);
  font-size: 12px;
}
.sys-confirm-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--oy-success-bg);
  color: var(--oy-success);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sys-confirm-mark .sys-icon {
  width: 28px;
  height: 28px;
}
details.sys-disclose summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
details.sys-disclose summary::-webkit-details-marker {
  display: none;
}

/* ── Blog ───────────────────────────────────────────────── */
.sys-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.sys-post {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.sys-post__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--oy-radius);
  overflow: hidden;
  background: var(--oy-surface);
}
.sys-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.sys-post:hover .sys-post__media img {
  transform: scale(1.03);
}
.sys-post__title {
  font-size: 19px;
  font-weight: 600;
}
.sys-post:hover .sys-post__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sys-post--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.sys-post--lead .sys-post__title {
  font-size: clamp(22px, 2.6vw, 32px);
}
.sys-article__cover {
  border-radius: var(--oy-radius);
  overflow: hidden;
  margin: 28px 0 36px;
  aspect-ratio: 16 / 9;
  background: var(--oy-surface);
}
.sys-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sys-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .sys-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sys-cart {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
@media (max-width: 900px) {
  .sys-product {
    grid-template-columns: minmax(0, 1fr);
  }
  .sys-product--sticky .sys-gallery--stacked + .sys-pinfo {
    position: static;
  }
  /* Stacked photos swipe sideways on phones. */
  .sys-gallery--stacked {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 8px;
  }
  .sys-gallery--stacked .sys-gallery__main {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }
  .sys-gallery {
    position: static;
    grid-template-columns: minmax(0, 1fr);
  }
  .sys-gallery__main {
    grid-column: 1;
  }
  .sys-gallery__thumbs {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    overflow-x: auto;
  }
  .sys-gallery__thumb {
    width: 64px;
    flex-shrink: 0;
  }
  .sys-cart {
    grid-template-columns: minmax(0, 1fr);
  }
  .sys-summary {
    position: static;
  }
  .sys-checkout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sys-checkout__aside {
    display: none;
  }
  .sys-checkout-wrap {
    background: var(--oy-bg);
  }
  .sys-mobile-summary {
    display: block;
  }
  .sys-two {
    grid-template-columns: minmax(0, 1fr);
  }
  .sys-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sys-post--lead {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .sys-grid,
  .sys-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sys-fields--2,
  .sys-fields--3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .sys-line {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .sys-line__media {
    width: 76px;
  }
  .sys-line__total {
    grid-column: 2;
    text-align: left;
  }
  .sys-posts {
    grid-template-columns: minmax(0, 1fr);
  }
  .sys-steps span {
    display: none;
  }
  .sys-buy {
    grid-template-columns: minmax(0, 1fr);
  }
  .sys-qty {
    justify-self: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sys *,
  .sys *::before,
  .sys *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ── Shopper account ────────────────────────────────────── */
.sys-acct {
  max-width: 980px;
}
.sys-acct__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.sys-acct__who {
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.sys-acct__who .sys-small {
  overflow-wrap: anywhere;
}
.sys-acct__avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--oy-primary);
  color: var(--oy-on-primary);
  font-family: var(--oy-font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.sys-acct .sys-alert {
  margin-bottom: 16px;
}
.sys-acct__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.sys-acct__tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--oy-line);
  border-radius: var(--oy-radius);
  background: var(--oy-surface);
}
.sys-acct__tile-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--oy-bg);
  color: var(--oy-text);
}
.sys-acct__tile-icon .sys-icon {
  width: 18px;
  height: 18px;
}
.sys-acct__tile-value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.sys-acct__clip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sys-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--oy-line);
  overflow-x: auto;
  scrollbar-width: none;
}
.sys-tabs::-webkit-scrollbar {
  display: none;
}
.sys-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--oy-muted);
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.sys-tab:hover {
  color: var(--oy-text);
}
.sys-tab[aria-selected="true"] {
  color: var(--oy-text);
  border-bottom-color: var(--oy-text);
}
.sys-tab:focus-visible {
  outline: 2px solid var(--oy-primary);
  outline-offset: -2px;
}
.sys-tab__count {
  min-width: 20px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--oy-surface);
  color: var(--oy-text);
  font-size: 12px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.sys-acct__panel + .sys-acct__panel {
  margin-top: 36px;
}
.sys-tabs:not([hidden]) ~ .sys-acct__panel + .sys-acct__panel {
  margin-top: 0;
}
.sys-acct__panel-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 14px;
}
.sys-tabs:not([hidden]) ~ .sys-acct__panel .sys-acct__panel-title {
  /* The tab already names it. */
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.sys-acct__panel .sys-note {
  margin: -4px 0 14px;
}
.sys-acct__form {
  max-width: 620px;
}
.sys-acct__form > .sys-btn {
  align-self: flex-start;
  min-width: 180px;
}
.sys-ocards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sys-ocard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--oy-line);
  border-radius: var(--oy-radius);
}
.sys-ocard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.sys-ocard__items {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.sys-ocard__thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 64px;
  flex: none;
  overflow: hidden;
  border-radius: min(var(--oy-radius), 8px);
  background: var(--oy-surface);
  color: var(--oy-muted);
}
.sys-ocard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sys-ocard__qty {
  position: absolute;
  right: 3px;
  bottom: 3px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--oy-text);
  color: var(--oy-bg);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 16px;
}
.sys-ocard__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--oy-muted);
}
.sys-ocard__names {
  min-width: 0;
  margin-left: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sys-ocard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sys-acct__help {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 16px;
  border-radius: var(--oy-radius);
  background: var(--oy-surface);
  color: var(--oy-muted);
}
.sys-acct__help .sys-icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}
.sys-auth.sys-empty .sys-link {
  margin-top: 4px;
}
@media (max-width: 749px) {
  .sys-acct__tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .sys-acct__avatar {
    width: 46px;
    height: 46px;
    font-size: 17px;
  }
  .sys-ocard__names {
    display: none;
  }
}

/* ── Product reviews (Product Reviews app) ──────────────── */
.sys-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.sys-reviews {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--oy-line);
}
.sys-reviews__summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sys-reviews__score {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sys-reviews__avg {
  font-family: var(--oy-font-heading);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}
.sys-reviews__score .sys-stars {
  width: 105px;
  height: 20px;
  -webkit-mask-size: 105px 20px;
  mask-size: 105px 20px;
}
.sys-reviews__bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sys-reviews__bars li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
}
.sys-reviews__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--oy-surface);
  overflow: hidden;
}
.sys-reviews__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f5a524;
}
.sys-review-form > summary {
  list-style: none;
}
.sys-review-form > summary::-webkit-details-marker {
  display: none;
}
.sys-review-form[open] > summary {
  margin-bottom: 16px;
}
.sys-starpick {
  border: 0;
  margin: 0;
  padding: 0;
}
.sys-starpick legend {
  padding: 0;
  margin-bottom: 6px;
}
.sys-starpick__row {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}
.sys-starpick__row input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.sys-starpick__row label {
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: var(--oy-line-strong);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.1l5-.7z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.1l5-.7z'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: background 0.15s ease;
}
.sys-starpick__row input:checked ~ label,
.sys-starpick__row label:hover,
.sys-starpick__row label:hover ~ label {
  background: #f5a524;
}
.sys-starpick__row input:focus-visible + label {
  outline: 2px solid var(--oy-primary);
  outline-offset: 2px;
}
.sys-reviews__list {
  display: flex;
  flex-direction: column;
}
.sys-review {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--oy-line);
}
.sys-review:first-of-type {
  padding-top: 0;
}
.sys-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sys-review__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
}
.sys-review__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
.sys-review__author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.sys-review__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--oy-success, #15703a);
}
.sys-review__verified .sys-icon {
  width: 14px;
  height: 14px;
}
.sys-review__reply {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: var(--oy-radius);
  background: var(--oy-surface);
  font-size: 14px;
}
.sys-review__reply p {
  margin: 4px 0 0;
}
.sys-pcard__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--oy-muted);
}
.sys-pcard__rating .sys-stars {
  width: 68px;
  height: 13px;
  -webkit-mask-size: 68px 13px;
  mask-size: 68px 13px;
}
@media (max-width: 900px) {
  .sys-reviews {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Listing filters (snippets/sys-filters) ─────────────── */
.sys-listing {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.sys-listing__main {
  min-width: 0;
}
.sys-listing .sys-toolbar {
  margin-bottom: 16px;
  border-top: 0;
  padding-top: 0;
}
.sys-filters {
  position: sticky;
  top: 16px;
  font-size: 14px;
}
.sys-filters__toggle {
  display: none;
}
.sys-filters__panel > summary::-webkit-details-marker {
  display: none;
}
.sys-filters__body {
  display: flex;
  flex-direction: column;
}
.sys-facet {
  padding: 16px 0;
  border-bottom: 1px solid var(--oy-line);
}
.sys-facet:first-child {
  padding-top: 0;
}
.sys-facet__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--oy-text);
  list-style: none;
  cursor: default;
}
.sys-facet--list > summary {
  justify-content: space-between;
  margin: 0;
  cursor: pointer;
}
.sys-facet--list > summary::-webkit-details-marker {
  display: none;
}
.sys-facet--list > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.sys-facet--list[open] > summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.sys-facet--list[open] > summary {
  margin-bottom: 12px;
}
.sys-facet__values {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
}
.sys-facet__value {
  align-items: center;
}
.sys-facet__value input {
  margin: 0;
}
.sys-facet__value span {
  flex: 1;
  min-width: 0;
}
.sys-facet__value em {
  font-style: normal;
  font-size: 12px;
  color: var(--oy-muted);
}
.sys-facet__value.is-empty,
.sys-size-chip.is-empty {
  opacity: 0.45;
}
.sys-facet__dot {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.sys-facet__values--chips {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.sys-size-chip {
  cursor: pointer;
}
.sys-size-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sys-size-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 7px 10px;
  border: 1px solid var(--oy-line-strong, var(--oy-line));
  border-radius: 8px;
  font-size: 13px;
}
.sys-size-chip input:checked + span {
  border-color: var(--oy-text);
  background: var(--oy-text);
  color: var(--oy-bg);
}
.sys-size-chip input:focus-visible + span {
  outline: 2px solid var(--oy-primary);
  outline-offset: 2px;
}
.sys-price-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sys-price-range label {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.sys-price-range .sys-input {
  min-height: 38px;
  padding: 6px 8px;
}
.sys-price-apply {
  margin-top: 10px;
}
.sys-filters__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--oy-text);
  color: var(--oy-bg);
  font-size: 11px;
  font-weight: 600;
}
.sys-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.sys-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: var(--oy-surface, #f3f3f3);
  color: var(--oy-text);
  font-size: 13px;
  text-decoration: none;
}
.sys-chip .sys-icon {
  width: 14px;
  height: 14px;
}
.sys-chip:hover {
  background: var(--oy-line);
}
@media (max-width: 900px) {
  .sys-listing {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .sys-filters {
    position: static;
  }
  .sys-filters__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--oy-line-strong, var(--oy-line));
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }
  .sys-filters__toggle .sys-icon {
    width: 18px;
    height: 18px;
  }
  .sys-filters__panel[open] .sys-filters__body {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--oy-line);
    border-radius: 14px;
    background: var(--oy-bg);
  }
  .sys-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Checkout, numbered steps (sections/sys-checkout) ───── */
.sys-co {
  gap: 20px;
}
.sys-co__step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--oy-line);
  border-radius: min(var(--oy-radius), 16px);
  background: var(--oy-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.sys-co__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sys-co__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.sys-co__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--oy-primary);
  color: var(--oy-on-primary, #fff);
  font-size: 13px;
  font-weight: 700;
}
.sys-co__aside {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--oy-muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sys-co__aside .sys-icon {
  width: 15px;
  height: 15px;
  flex: none;
}
.sys-co__control {
  position: relative;
  display: block;
}
.sys-co__control > .sys-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: var(--oy-muted);
  pointer-events: none;
}
.sys-co__control > .sys-input {
  padding-left: 40px;
}
.sys-co__hint {
  margin: -6px 0 0;
  font-size: 12.5px;
  color: var(--oy-muted);
}
.sys-co__pays {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sys-co__pay {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--oy-line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.sys-co__pay:hover {
  border-color: var(--oy-line-strong);
}
.sys-co__pay:has(input:checked) {
  border-color: var(--oy-primary);
  background: color-mix(in srgb, var(--oy-primary) 4%, var(--oy-bg));
}
.sys-co__pay input {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 0;
  accent-color: var(--oy-primary);
}
.sys-co__pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--oy-surface);
  color: var(--oy-text);
}
.sys-co__pay-icon .sys-icon {
  width: 20px;
  height: 20px;
}
.sys-co__pay-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sys-co__pay-text strong {
  font-size: 15px;
  font-weight: 600;
}
.sys-co__pay-text small {
  font-size: 13px;
  color: var(--oy-muted);
}
.sys-co__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.sys-co__badges i {
  padding: 1px 7px;
  border: 1px solid var(--oy-line);
  border-radius: 5px;
  background: var(--oy-bg);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--oy-muted);
}
.sys-co__pick {
  margin-left: 6px;
  padding: 1px 8px;
  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;
}
.sys-co__free {
  color: var(--oy-success, #15703a);
  font-weight: 600;
}
.sys-co__submit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sys-co__cta {
  gap: 8px;
  min-height: 54px;
  font-size: 16px;
}
.sys-co__cta .sys-icon {
  width: 17px;
  height: 17px;
}
.sys-co__legal {
  margin: 0;
  font-size: 12.5px;
  text-align: center;
  color: var(--oy-muted);
}
.sys-co__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sys-co__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--oy-muted);
}
.sys-co__trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sys-co__trust .sys-icon {
  width: 15px;
  height: 15px;
}
.sys-co__aside-title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 650;
}
@media (max-width: 900px) {
  /* The pay button stays in reach on phones. */
  .sys-co__submit {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin: 0 calc(-1 * clamp(16px, 4vw, 40px));
    padding: 12px clamp(16px, 4vw, 40px) calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--oy-bg);
    border-top: 1px solid var(--oy-line);
    box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, 0.25);
  }
  .sys-co__trust {
    display: none;
  }
  .sys-co__legal {
    font-size: 11.5px;
  }
  .sys-co__step {
    padding: 16px;
  }
}
/* The stepped checkout sits on a light page with white cards, the summary a
   sticky card of its own. */
.sys-checkout-wrap:has(.sys-co) {
  background: var(--oy-surface);
}
.sys-checkout-wrap:has(.sys-co) .sys-checkout__aside {
  position: sticky;
  top: 24px;
  align-self: start;
  margin: clamp(24px, 4vw, 40px) 0;
  padding: 24px;
  border: 1px solid var(--oy-line);
  border-radius: min(var(--oy-radius), 16px);
  background: var(--oy-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.sys-co__badges .sys-co__test {
  border-color: transparent;
  background: #fff4e5;
  color: #8a4b0b;
}
@media (max-width: 640px) {
  .sys-checkout-top .sys-container {
    min-height: 60px;
  }
  .sys-checkout-top__brand {
    font-size: 18px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sys-checkout-top .sys-secure {
    display: none;
  }
  .sys-co__pay {
    gap: 12px;
    padding: 13px 14px;
  }
  .sys-co__pay-icon {
    width: 36px;
    height: 36px;
  }
}

/* Payment brand marks (snippets/sys-pay-logo) */
.sys-co__badges .sys-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px 2px 5px;
  border: 1px solid var(--oy-line);
  border-radius: 6px;
  background: var(--oy-bg);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--oy-muted);
  white-space: nowrap;
}
.sys-co__badges .sys-brand-chip svg {
  flex: none;
}
.sys-mark {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sys-mark--upi {
  color: #097939;
}
.sys-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;
}
.sys-mark--rupay {
  color: #1c3a78;
}
.sys-co__pay-icon .sys-mark {
  font-size: 13px;
}

/* ── Line details (a rental's dates under an item) ─────── */
.sys-line__detail {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--oy-muted);
}

/* ── Rentals app: daily rent and the booking calendar ──── */
.sys-rentprice__now {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.sys-rentprice__unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--oy-muted);
}
.sys-rentprice__tiers {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sys-rentprice__tiers li {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--oy-surface);
  border: 1px solid var(--oy-line);
}
.sys-rentprice__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--oy-muted);
}
.sys-rentprice__note .sys-icon {
  width: 16px;
  height: 16px;
}
.sys-rent {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--oy-line);
  border-radius: var(--oy-radius);
  background: var(--oy-bg);
}
.sys-rent__title {
  font-weight: 600;
  font-size: 16px;
}
.sys-rent__dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sys-rent__dates[hidden],
.sys-rent__cal[hidden] {
  display: none;
}
.sys-rent__rules {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--oy-muted);
}
.sys-rent__rules .sys-icon {
  width: 15px;
  height: 15px;
}
.sys-rent__opts {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sys-rent__opts legend {
  width: 100%;
  padding: 0;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}
.sys-rent__opt {
  position: relative;
  flex: 1 1 160px;
}
.sys-rent__opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.sys-rent__opt span {
  display: block;
  padding: 10px 12px;
  font-size: 13.5px;
  text-align: center;
  border: 1px solid var(--oy-line-strong);
  border-radius: min(var(--oy-radius), 10px);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.sys-rent__opt input:checked + span {
  border-color: var(--oy-primary);
  box-shadow: inset 0 0 0 1px var(--oy-primary);
  font-weight: 600;
}
.sys-rent__opt input:focus-visible + span {
  box-shadow: 0 0 0 3px var(--oy-primary-ring);
}
.sys-rent__contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sys-rent__wide {
  grid-column: 1 / -1;
}
.sys-rent__sum:empty {
  display: none;
}
.sys-rent__sum {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: min(var(--oy-radius), 10px);
  background: var(--oy-surface);
  font-size: 14px;
}
.sys-rent__sum div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.sys-rent__sum .sys-rent__total {
  padding-top: 6px;
  border-top: 1px solid var(--oy-line);
  font-weight: 700;
}
.sys-rent__sum .sys-rent__hint {
  color: var(--oy-muted);
  font-size: 13px;
}
.sys-rent__sum .sys-rent__error {
  color: var(--oy-danger);
}
/* The calendar (system.js) */
.sys-cal {
  user-select: none;
}
.sys-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.sys-cal__month {
  font-weight: 600;
  font-size: 15px;
}
.sys-cal__nav {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--oy-line);
  border-radius: 999px;
  background: var(--oy-bg);
  color: var(--oy-text);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  line-height: 1;
}
.sys-cal__nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.sys-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}
.sys-cal__dow {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--oy-muted);
  padding: 4px 0;
}
.sys-cal__day {
  aspect-ratio: 1 / 1;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--oy-text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.sys-cal__day:hover:not(:disabled) {
  background: var(--oy-surface);
}
.sys-cal__day:disabled {
  color: var(--oy-muted);
  opacity: 0.45;
  cursor: not-allowed;
}
.sys-cal__day--booked:disabled {
  text-decoration: line-through;
}
.sys-cal__day--in {
  background: color-mix(in srgb, var(--oy-primary) 12%, transparent);
  border-radius: 0;
}
.sys-cal__day--start,
.sys-cal__day--end {
  background: var(--oy-primary) !important;
  color: var(--oy-on-primary);
  font-weight: 700;
  border-radius: 8px;
}
.sys-cal__day:focus-visible {
  outline: 2px solid var(--oy-primary);
  outline-offset: 1px;
}
.sys-cal__legend {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--oy-muted);
}
@media (max-width: 480px) {
  .sys-rent {
    padding: 14px;
  }
  .sys-rent__contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .sys-rentprice__now {
    font-size: 23px;
  }
}

/* Contact page (sys-contact) */
.sys-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.sys-contact--stacked {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
  margin: 0 auto;
}
.sys-contact__intro,
.sys-contact__more {
  margin: 14px 0 0;
  color: var(--oy-muted);
  line-height: 1.65;
}
.sys-contact__list {
  margin: 28px 0 0;
  display: grid;
  gap: 18px;
}
.sys-contact__list dt {
  margin-bottom: 4px;
}
.sys-contact__list dd {
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.sys-contact__more {
  margin-top: 28px;
}
.sys-contact__form .sys-h3 {
  margin: 0 0 18px;
}
@media (max-width: 860px) {
  .sys-contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* UPI QR payment page (sys-upi-pay) */
.sys-upi {
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}
.sys-upi__card {
  margin-top: 22px;
  padding: 24px;
}
.sys-upi__qr {
  width: min(260px, 72vw);
  margin: 0 auto;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--oy-line);
  border-radius: 16px;
}
.sys-upi__qr svg {
  display: block;
  width: 100%;
  height: auto;
}
.sys-upi__timer {
  margin: 16px 0 8px;
  font-size: 14px;
}
.sys-upi__timer strong {
  font-variant-numeric: tabular-nums;
}
.sys-upi--late .sys-upi__timer strong {
  color: #c2410c;
}
.sys-upi__bar {
  height: 4px;
  border-radius: 99px;
  background: var(--oy-line);
  overflow: hidden;
}
.sys-upi__bar span {
  display: block;
  height: 100%;
  background: var(--oy-accent, #7c5cff);
  transform-origin: left;
  transition: transform 1s linear;
}
.sys-upi__app {
  margin-top: 16px;
}
@media (hover: hover) and (pointer: fine) {
  /* On a computer there's no UPI app to open — scan with the phone. */
  .sys-upi__app {
    display: none;
  }
}
.sys-upi__copy {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--oy-muted);
  overflow-wrap: anywhere;
}
.sys-upi__paid {
  margin-top: 16px;
  padding: 20px;
  text-align: left;
}
.sys-upi__by {
  margin: 22px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--oy-muted);
}

/* Offers (the store's discount codes) under the price */
.sys-offers { display: flex; flex-direction: column; gap: 8px; }
.sys-offer { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed color-mix(in srgb, var(--oy-success, #047857) 45%, transparent); border-radius: var(--oy-radius); background: color-mix(in srgb, var(--oy-success, #047857) 6%, var(--oy-bg, #fff)); }
.sys-offer__icon { display: inline-flex; width: 32px; height: 32px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--oy-bg, #fff); color: var(--oy-success, #047857); }
.sys-offer__icon .sys-icon { width: 16px; height: 16px; }
.sys-offer__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: 14px; line-height: 1.4; }
.sys-offer__text strong { color: var(--oy-text); font-weight: 600; }
.sys-offer__text span { color: var(--oy-text); }
.sys-offer__text small { color: var(--oy-muted); font-size: 12px; }
.sys-offer__code { flex-shrink: 0; padding: 7px 12px; border: 1px solid var(--oy-text); border-radius: var(--oy-radius-button, 8px); background: var(--oy-bg, #fff); color: var(--oy-text); font: 700 12.5px/1 var(--oy-font-body, inherit); letter-spacing: 0.06em; cursor: pointer; }
.sys-offer__code.is-copied { border-color: var(--oy-success, #047857); color: var(--oy-success, #047857); }
