:root[data-storefront] > body.antialiased { background: transparent; }

.sf-live {
  font:
    400 16px/1.55 Pretendard,
    Arial,
    sans-serif;
  color: #1c2023;
  min-width: 0;
  display: grid;
  gap: 24px;
}
.sf-live * {
  box-sizing: border-box;
}
.sf-live a {
  color: inherit;
}
.sf-live h1,
.sf-live h2,
.sf-live h3,
.sf-live p,
.sf-live dl {
  margin: 0;
}
.sf-live h1 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.15;
}
.sf-live h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}
.sf-live h3 {
  font-size: 19px;
  line-height: 1.35;
}
.sf-live small,
.sf-stock-notice {
  font-size: 14px;
  color: #444d4b;
}
.sf-stock-notice,
.sf-tools,
.sf-categories,
.sf-actions,
.sf-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.sf-stock-notice,
.sf-tools {
  justify-content: space-between;
}
.sf-stock-notice {
  border-bottom: 1px solid #c5cac7;
  padding: 8px 0;
}
.sf-categories a,
.sf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  min-height: 44px;
  text-decoration: none;
  border: 1px solid #383e39;
  border-radius: 5px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}
.sf-categories a {
  gap: 9px;
  background: #fff;
}
.sf-button {
  background: #232923;
  color: white;
  cursor: pointer;
}
.sf-button.sf-outline {
  background: #fff;
  color: #232923;
}
.sf-button:disabled {
  background: #dddeda;
  color: #5a605c;
  border-color: #dddeda;
  cursor: default;
}
.sf-filter label,
.sf-actions label {
  display: grid;
  gap: 4px;
  font-size: 14px;
}
.sf-filter .sf-check {
  display: flex;
  align-items: center;
  gap: 7px;
}
.sf-filter input,
.sf-filter select,
.sf-actions input {
  font: inherit;
  padding: 9px;
  border: 1px solid #a2a8a3;
  border-radius: 4px;
  background: #fff;
  max-width: 100%;
}
.sf-check input {
  width: 18px;
  height: 18px;
}
.sf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.sf-card {
  border: 1px solid #d3d6d2;
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sf-card > a {
  display: block;
}
.sf-card img,
.sf-no-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.sf-no-photo {
  display: grid;
  place-items: center;
  color: #69716b;
  background: #e5e8e4;
}
.sf-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
}
.sf-card h3 a {
  text-decoration: none;
}
.sf-card button {
  margin-top: auto;
}
.sf-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 60px);
}
.sf-detail > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sf-detail-media video,
.sf-detail-media img,
.sf-detail-media iframe {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #151714;
  border: 0;
}
.sf-detail-media iframe {
  aspect-ratio: 16/9;
}
.sf-detail-media a {
  font-size: 14px;
}
.sf-detail dl > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #d2d5d0;
  gap: 16px;
  padding: 9px 0;
}
.sf-detail dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}
.sf-actions {
  align-items: end;
}
.sf-actions input {
  width: 80px;
}
.sf-toast {
  position: fixed;
  bottom: calc(82px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: #172319;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  z-index: 120;
  text-align: center;
}
.sf-live :focus-visible {
  outline: 3px solid #456d51;
  outline-offset: 2px;
}
@media (max-width: 920px) {
  .sf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 690px) {
  .sf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .sf-card > div {
    padding: 10px;
  }
  .sf-card h3 {
    font-size: 16px;
  }
  .sf-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .sf-live {
    gap: 18px;
  }
  .sf-filter input[type="search"] {
    width: 155px;
  }
  .sf-stock-notice {
    align-items: start;
    gap: 3px;
    flex-direction: column;
  }
}
.sf-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.875rem;
}
.sf-warning,
.sf-quote .stock-warning {
  padding: 12px 16px;
  border: 1px solid #b16720;
  border-left: 4px solid #995314;
  background: #fff2d9;
  color: #56320e;
}
.sf-live .sf-reason {
  font-size: 0.875rem;
  color: #784216;
}
.sf-detail {
  grid-template-areas: "media identity" "media specs";
  align-items: start;
  row-gap: 20px;
}
.sf-identity {
  grid-area: identity;
}
.sf-specs {
  grid-area: specs;
}
.sf-detail-media {
  grid-area: media;
}
.sf-detail-price {
  font-size: 1.4rem;
}
.sf-badge {
  display: inline-block;
  border: 1px solid #8d9b91;
  border-radius: 12px;
  padding: 2px 9px;
  font-size: 0.875rem;
  background: #f0f4f0;
}
.sf-related {
  display: grid;
  gap: 14px;
}
.sf-actions input[aria-invalid="true"] {
  border-color: #a04d16;
}
.sf-category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 0 0 100%;
}
.sf-category-buttons button {
  font: inherit;
  background: white;
  color: inherit;
  border: 1px solid #a2a8a3;
  border-radius: 6px;
  padding: 8px 12px;
  min-height: 44px;
  cursor: pointer;
}
.sf-category-buttons button[aria-pressed="true"] {
  background: #253528;
  color: white;
}
.sf-check input[role="switch"] {
  width: 36px;
  height: 22px;
  appearance: none;
  padding: 2px;
  border-radius: 20px;
  background: #757c76;
  cursor: pointer;
}
.sf-check input[role="switch"]::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
}
.sf-check input[role="switch"]:checked {
  background: #304c37;
}
.sf-check input[role="switch"]:checked::after {
  margin-left: auto;
}
.sf-quote {
  --border: #c8cdc7;
  --muted-foreground: #525c54;
  --foreground: #202820;
  --background: white;
  --primary: #243426;
  --primary-foreground: white;
}
.sf-quote .quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(230px, 1fr);
  gap: 24px;
  align-items: start;
}
.sf-quote .quote-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #d3d8d1;
  padding: 12px 0;
}
.sf-quote .quote-item img {
  width: 82px;
  height: 94px;
  object-fit: cover;
  border-radius: 4px;
}
.sf-quote .quote-summary,
.sf-quote .empty {
  display: grid;
  gap: 12px;
  background: white;
  border: 1px solid #ced3cc;
  border-radius: 8px;
  padding: 20px;
}
.sf-quote .quote-summary p:has(b),
.sf-quote .summary-total,
.sf-quote .stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sf-quote .stepper button,
.sf-quote .remove,
.sf-quote .button,
.sf-quote .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  padding: 5px 10px;
  border-radius: 5px;
  background: white;
  color: #28342a;
  border: 1px solid #b4bcb4;
  cursor: pointer;
  font: inherit;
}
.sf-quote .button.dark {
  background: #253528;
  color: white;
}
.sf-quote .stepper button:disabled {
  opacity: 0.45;
}
.sf-quote h1 span {
  color: #5d675c;
  font-size: 0.65em;
}
@media (max-width: 899px) {
  .sf-detail {
    grid-template-columns: 1fr;
    grid-template-areas: "identity" "media" "specs";
  }
  .sf-detail > .sf-identity {
    gap: 8px;
  }
  .sf-quote .quote-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 520px) {
  .sf-quote .quote-item {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .sf-quote .quote-item img {
    width: 60px;
    height: 72px;
  }
  .sf-quote .stepper {
    grid-column: 2;
    justify-content: flex-start;
  }
}

.sf-stock-search-input {
  box-sizing: border-box;
  min-width: 0;
  width: 8.5rem;
  max-width: 100%;
  height: 1.5rem;
  padding: 0 .65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font: inherit;
  font-size: .875rem;
  color: var(--color-text-primary);
  background: var(--color-background-surface);
}
@media (max-width: 480px) {
  .sf-stock-search-input { flex: 0 0 100%; width: 100%; }
}

.astryx-badge[data-variant="success"] {
  background-color: var(--color-success);
  color: var(--color-on-success);
}
