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

:root {
  font-family:
    "Noto Sans KR",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #191f28;
  background: #fff;
  font-synthesis: none;
  --blue: #3182f6;
  --text: #191f28;
  --muted: #6b7684;
  --line: #eef0f3;
  --soft: #f5f6f8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #69a6ff;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
button,
select,
a {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 30;
  padding: 14px 20px;
  background: var(--blue);
  color: white;
  border-radius: 12px;
}
.skip-link:focus {
  top: 16px;
}
.header {
  border-bottom: 1px solid var(--line);
  background: #ffffffed;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}
.header-inner {
  max-width: 1120px;
  margin: auto;
  height: 86px;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 0 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -1.1px;
  white-space: nowrap;
}
.brand-mark {
  background: var(--blue);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font:
    800 29px/35px Arial,
    sans-serif;
  text-align: center;
  letter-spacing: -2px;
  padding-right: 3px;
}
.desktop-nav {
  align-self: stretch;
  display: flex;
  gap: 30px;
}
.nav-link {
  font-weight: 600;
  color: #8b95a1;
  position: relative;
  padding: 0 4px;
}
.nav-link.active {
  color: var(--text);
}
.nav-link.active:after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: -1px;
  left: 0;
  right: 0;
  background: var(--text);
  border-radius: 2px;
}
.favorite-count {
  color: var(--blue);
  margin-left: 3px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  gap: 20px;
  align-items: center;
}
.preview-label {
  color: #6b7684;
  border: 1px solid #e5e8eb;
  padding: 4px 9px;
  border-radius: 6px;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: relative;
}
.icon-button:hover {
  background: #f2f4f6;
}
.cart-count {
  position: absolute;
  background: var(--blue);
  color: white;
  font:
    700 11px/18px Arial,
    sans-serif;
  min-width: 18px;
  right: 0;
  top: 0;
  padding: 0 4px;
  border-radius: 10px;
}
.main {
  max-width: 1120px;
  padding: 44px 32px 0;
  margin: auto;
}
.intro-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.eyebrow {
  color: #6b7684;
  font-weight: 500;
}
.intro-row h1 {
  letter-spacing: -1.3px;
  margin: 6px 0 0;
  line-height: 1.4;
  font-weight: 800;
}
.intro-note {
  color: #8b95a1;
  line-height: 1.7;
  margin: 0;
  text-align: right;
}
.search-form {
  height: 56px;
  background: var(--soft);
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 0 18px;
  gap: 12px;
  margin-bottom: 28px;
}
.search-form:focus-within {
  border-color: var(--blue);
  background: #fff;
}
.search-form > span {
  color: #8b95a1;
}
.search-form input {
  min-width: 0;
  flex: 1;
  outline: none !important;
  border: 0;
  background: transparent;
  height: 100%;
  color: var(--text);
}
.search-form input::placeholder {
  color: #8b95a1;
}
.search-form button {
  color: #6b7684;
  font-weight: 600;
  padding: 10px 4px;
}
.feature-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e9f2ff;
  border-radius: 24px;
  overflow: hidden;
  min-height: 300px;
  margin-bottom: 32px;
}
.feature-copy {
  padding: 36px 42px;
  z-index: 1;
  width: 58%;
}
.feature-tag {
  display: inline-block;
  letter-spacing: 1.7px;
  color: #2875dc;
  font-weight: 700;
  margin-bottom: 13px;
}
.feature-copy h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.5;
}
.feature-copy p {
  margin: 12px 0 24px;
  color: #60758e;
}
.feature-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-weight: 600;
  color: #286dc7;
}
.feature-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s;
}
.feature-link:hover svg {
  transform: translateX(4px);
}
.feature-image-wrap {
  align-self: stretch;
  width: 42%;
  position: relative;
  background: #dbe9fa;
  overflow: hidden;
}
.feature-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.feature-caption {
  position: absolute;
  bottom: 22px;
  left: 20px;
  right: 20px;
  text-align: center;
  color: white;
  background: #191f2855;
  padding: 7px 10px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}
.banner-page {
  position: absolute;
  bottom: 21px;
  right: 20px;
  padding: 4px 10px;
  background: #191f2899;
  color: white;
  border-radius: 20px;
  display: none;
}
.banner-page span {
  opacity: 0.65;
}
.category-list {
  display: flex;
  gap: 10px;
  padding: 0 0 31px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-list::-webkit-scrollbar {
  display: none;
}
.category {
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 23px;
  background: #f5f6f8;
  white-space: nowrap;
  font-weight: 500;
  color: #6b7684;
  transition:
    background 0.2s,
    color 0.2s;
}
.category svg {
  width: 19px;
  height: 19px;
}
.category.active {
  background: var(--text);
  color: white;
}
.category:hover:not(.active) {
  background: #e8edf3;
}
.products-section {
  scroll-margin-top: 110px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 23px;
}
.section-heading h2 {
  margin: 0;
  line-height: 1.45;
  letter-spacing: -0.7px;
  font-weight: 800;
}
.section-heading p {
  color: #8b95a1;
  margin: 7px 0 0;
}
.sort-control {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.sort-control select {
  appearance: none;
  border: 0;
  background: white;
  padding: 10px 25px 10px 8px;
  color: #6b7684;
  cursor: pointer;
  max-width: 145px;
}
.sort-control svg {
  width: 15px;
  height: 15px;
  pointer-events: none;
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}
.product-card {
  min-width: 0;
  position: relative;
}
.product-image-wrap {
  position: relative;
  aspect-ratio: 1.07;
  background: #f2f4f6;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 15px;
}
.product-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.product-open:hover .product-image {
  transform: scale(1.045);
}
.product-label {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #fffffff0;
  font-weight: 600;
  color: #4e5968;
  pointer-events: none;
}
.favorite-button {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fffffff2;
  box-shadow: 0 2px 6px #191f2808;
  color: #8b95a1;
  transition: transform 0.2s;
}
.favorite-button:hover {
  transform: scale(1.1);
}
.favorite-button svg {
  width: 21px;
  height: 21px;
}
.favorite-button[aria-pressed="true"] {
  color: #f06575;
}
.favorite-button[aria-pressed="true"] svg {
  fill: #f06575;
  stroke: #f06575;
}
.product-brand {
  color: #8b95a1;
  margin: 0 0 6px;
}
.product-name {
  display: block;
  padding: 0;
  text-align: left;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.3px;
}
.product-name:hover {
  color: var(--blue);
}
.original-price {
  color: #9da5b0;
  display: block;
  margin-top: 12px;
}
.product-price {
  font-weight: 800;
  letter-spacing: -0.7px;
  margin-top: 1px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.discount {
  color: var(--blue);
}
.shipping-label {
  display: inline-block;
  margin-top: 10px;
  font-weight: 500;
  color: #6b7684;
  background: #f2f4f6;
  border-radius: 4px;
  padding: 3px 6px;
}
.shop-note {
  margin-top: 54px;
  padding: 25px 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  background: #f8f9fb;
  border-radius: 18px;
}
.note-icon {
  color: var(--blue);
  padding: 13px;
  background: #eaf2ff;
  border-radius: 15px;
}
.note-icon svg {
  width: 25px;
  height: 25px;
}
.shop-note strong {
  font-weight: 700;
}
.shop-note p {
  color: #8b95a1;
  margin: 5px 0 0;
}
.note-brand {
  margin-left: auto;
  font:
    bold 45px Arial,
    sans-serif;
  color: #dbe3ed;
}
.footer {
  padding: 42px 0 32px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.footer-brand {
  font-weight: 800;
  color: #6b7684;
  letter-spacing: -0.5px;
}
.footer p {
  color: #8b95a1;
  line-height: 1.9;
  margin: 13px 0 20px;
}
.footer > span {
  color: #a3abb5;
  letter-spacing: 0.6px;
}
.mobile-nav {
  display: none;
}
.empty-state {
  padding: 70px 20px;
  text-align: center;
}
.empty-state > span {
  display: grid;
  place-items: center;
  color: #adb5c0;
  margin-bottom: 20px;
}
.empty-state > span svg {
  width: 40px;
  height: 40px;
}
.empty-state h3 {
  margin: 0 0 10px;
}
.empty-state p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 25px;
}
.secondary-button {
  background: #f2f4f6;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 12px;
}
.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  padding: 17px 20px;
  width: 100%;
  border-radius: 13px;
  transition: background 0.2s;
}
.primary-button:hover {
  background: #1b6dea;
}
dialog {
  padding: 0;
  border: 0;
  color: var(--text);
  border-radius: 24px;
  box-shadow: 0 25px 100px #101a3033;
  max-height: 90dvh;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #131d30a6;
  backdrop-filter: blur(4px);
}
dialog[open] {
  animation: appear 0.18s ease-out;
}
.dialog-close {
  z-index: 2;
  background: #fffffff0;
}
.product-dialog {
  width: 820px;
  max-width: calc(100% - 40px);
}
.product-dialog > .dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.detail-image {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  background: #f2f4f6;
}
.detail-info {
  padding: 52px 30px 28px;
}
.detail-info .product-brand {
}
.detail-info h2 {
  line-height: 1.5;
  letter-spacing: -0.8px;
  margin: 8px 0 16px;
}
.detail-info .product-price {
}
.detail-description {
  line-height: 1.9;
  color: #6b7684;
  margin: 22px 0;
}
.detail-specs {
  margin: 0 0 24px;
}
.detail-specs > div {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 12px;
  padding: 7px 0;
}
.detail-specs dt {
  color: #8b95a1;
}
.detail-specs dd {
  margin: 0;
  color: #4e5968;
}
.demo-note {
  color: #8b95a1;
  text-align: center;
  line-height: 1.6;
  margin: 12px 0 0;
}
.detail-actions {
  display: flex;
  gap: 10px;
}
.detail-actions > .favorite-button {
  position: static;
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  background: #f2f4f6;
  border-radius: 13px;
  box-shadow: none;
}
.cart-dialog {
  width: 500px;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border-radius: 24px 0 0 24px;
}
.cart-header {
  padding: 32px 28px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.cart-header h2 {
  letter-spacing: -1px;
  margin: 5px 0 0;
}
.cart-header h2 span {
  color: var(--blue);
  margin-left: 3px;
}
.cart-items {
  padding: 8px 28px;
}
.cart-row {
  padding: 24px 0;
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.cart-row > img {
  width: 88px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.cart-row-info {
  flex: 1;
  min-width: 0;
}
.cart-row-top {
  display: flex;
  align-items: start;
  gap: 6px;
}
.cart-row-name {
  line-height: 1.6;
  flex: 1;
}
.remove-item {
  padding: 0 0 8px 8px;
  color: #8b95a1;
}
.remove-item svg {
  width: 18px;
  height: 18px;
}
.cart-row-price {
  font-weight: 700;
  margin-top: 5px;
}
.quantity-control {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  margin-top: 10px;
  height: 33px;
}
.quantity-control button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}
.quantity-control svg {
  width: 14px;
  height: 14px;
}
.quantity-control span {
  min-width: 14px;
  text-align: center;
}
.cart-summary {
  padding: 24px 28px 30px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: var(--muted);
}
.summary-row.total {
  font-weight: 800;
  color: var(--text);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
  margin-bottom: 25px;
}
.summary-row.total span:last-child {
  color: var(--blue);
}
.cart-empty {
  padding: 95px 20px;
  text-align: center;
}
.cart-empty > span {
  display: grid;
  place-items: center;
  color: #b0b8c1;
  margin-bottom: 20px;
}
.cart-empty > span svg {
  width: 48px;
  height: 48px;
}
.cart-empty h3 {
}
.cart-empty p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.order-dialog {
  width: 410px;
  max-width: calc(100% - 36px);
  padding: 46px 30px 30px;
  text-align: center;
}
.order-dialog > .dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f2ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  margin: auto;
}
.success-icon svg {
  width: 32px;
  height: 32px;
}
.order-dialog h2 {
  letter-spacing: -0.7px;
  margin: 24px 0 15px;
}
.order-dialog p {
  line-height: 1.8;
  color: #6b7684;
}
.order-dialog .order-note {
  color: #8b95a1;
  margin: 20px 0 26px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #222b3beb;
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: 0 5px 25px #191f2820;
  z-index: 50;
  max-width: calc(100% - 32px);
  width: max-content;
  text-align: center;
  pointer-events: none;
  line-height: 1.6;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1400px) {
  .main {
    padding-top: 48px;
  }
  .feature-banner {
    min-height: 316px;
  }
  .feature-copy h2 {
  }
}
@media (max-width: 760px) {
  .header-inner {
    height: 68px;
    padding: 0 22px;
    gap: 24px;
  }
  .brand {
  }
  .brand-mark {
    width: 32px;
    height: 32px;
    line-height: 31px;
    border-radius: 10px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .nav-link {
  }
  .header-actions {
    gap: 10px;
  }
  .main {
    padding: 30px 22px 0;
  }
  .intro-row h1 {
  }
  .intro-note {
  }
  .feature-copy {
    padding: 28px;
  }
  .feature-copy h2 {
  }
  .feature-copy p {
    margin-bottom: 20px;
  }
  .feature-banner {
    min-height: 270px;
    border-radius: 20px;
  }
  .feature-tag {
  }
  .category {
    padding: 12px 19px;
  }
  .category-list {
    gap: 8px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }
  .product-name {
  }
  .product-price {
  }
  .section-heading h2 {
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .product-dialog {
    max-width: 500px;
    width: calc(100% - 32px);
  }
  .detail-image {
    height: 290px;
    min-height: 0;
  }
  .detail-info {
    padding: 26px;
  }
  .detail-info h2 {
  }
  .detail-description {
    margin: 17px 0;
  }
  .detail-info .product-price {
  }
}
@media (max-width: 520px) {
  .header-inner {
    height: 64px;
    padding: 0 20px;
  }
  .desktop-nav {
    display: none;
  }
  .header-actions {
    gap: 8px;
  }
  .main {
    padding: 27px 20px 70px;
  }
  .intro-row {
    margin-bottom: 22px;
  }
  .intro-row h1 {
  }
  .eyebrow {
  }
  .intro-note {
    display: none;
  }
  .search-form {
    height: 52px;
    padding: 0 14px;
    gap: 10px;
    margin-bottom: 22px;
    border-radius: 13px;
  }
  .search-form input {
  }
  .search-form button {
  }
  .search-form svg {
    width: 21px;
    height: 21px;
  }
  .feature-banner {
    min-height: 230px;
    margin-bottom: 24px;
    border-radius: 19px;
  }
  .feature-copy {
    width: 61%;
    padding: 25px 0 25px 23px;
  }
  .feature-copy h2 {
    line-height: 1.55;
    letter-spacing: -1px;
  }
  .feature-tag {
    letter-spacing: 1.2px;
    margin-bottom: 12px;
  }
  .feature-copy p {
    max-width: 150px;
    line-height: 1.7;
    margin-top: 10px;
    margin-bottom: 18px;
  }
  .feature-link {
    gap: 4px;
  }
  .feature-link svg {
    width: 14px;
    height: 14px;
  }
  .feature-image-wrap {
    width: 39%;
  }
  .feature-caption {
    display: none;
  }
  .category-list {
    margin: 0 -20px 27px;
    padding: 0 20px 25px;
    gap: 8px;
  }
  .category {
    padding: 11px 17px;
    gap: 6px;
  }
  .category svg {
    width: 17px;
    height: 17px;
  }
  .section-heading {
    margin-bottom: 18px;
    gap: 6px;
  }
  .section-heading h2 {
    letter-spacing: -0.7px;
  }
  .section-heading p {
  }
  .sort-control select {
    padding-right: 18px;
    max-width: 113px;
  }
  .product-grid {
    gap: 27px 13px;
  }
  .product-image-wrap {
    border-radius: 13px;
    aspect-ratio: 0.96;
    margin-bottom: 12px;
  }
  .product-label {
    top: 9px;
    left: 9px;
    padding: 4px 6px;
  }
  .favorite-button {
    width: 33px;
    height: 33px;
    right: 8px;
    bottom: 8px;
  }
  .favorite-button svg {
    width: 19px;
    height: 19px;
  }
  .product-brand {
  }
  .product-name {
    line-height: 1.6;
    letter-spacing: -0.35px;
  }
  .original-price {
    margin-top: 8px;
  }
  .product-price {
    letter-spacing: -0.7px;
    gap: 5px;
  }
  .shipping-label {
    margin-top: 8px;
  }
  .shop-note {
    margin-top: 36px;
    border-radius: 15px;
    padding: 20px 18px;
    gap: 12px;
  }
  .note-icon {
    padding: 10px;
    border-radius: 12px;
  }
  .note-icon svg {
    width: 22px;
    height: 22px;
  }
  .shop-note strong {
  }
  .shop-note p {
    line-height: 1.7;
  }
  .note-brand {
    display: none;
  }
  .footer {
    margin-top: 25px;
    padding-top: 28px;
  }
  .footer p {
  }
  .footer > span {
  }
  .mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #f0f1f3;
    background: #ffffffed;
    backdrop-filter: blur(14px);
    padding: 8px 10px max(10px, env(safe-area-inset-bottom));
    z-index: 11;
  }
  .mobile-nav button {
    min-width: 75px;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-direction: column;
    position: relative;
    font-weight: 500;
    color: #8b95a1;
  }
  .mobile-nav button.active {
    color: var(--blue);
  }
  .mobile-nav svg {
    width: 23px;
    height: 23px;
  }
  .mobile-cart-count {
    position: absolute;
    top: -3px;
    right: 17px;
    color: var(--blue);
    font-weight: 800;
  }
  .toast {
    bottom: 86px;
  }
  .cart-dialog {
    width: 100%;
    border-radius: 0;
  }
  .cart-header {
    padding: 28px 22px 22px;
  }
  .cart-items {
    padding: 8px 22px;
  }
  .cart-summary {
    padding: 24px 22px 30px;
  }
  .product-dialog {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    max-height: 94dvh;
    border-radius: 22px 22px 0 0;
  }
  .detail-image {
    height: 280px;
  }
  .detail-info {
    padding: 24px;
  }
  .detail-actions {
    position: sticky;
    bottom: -24px;
    background: white;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .detail-info .demo-note {
    text-align: left;
  }
  .preview-label {
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Shared type scale follows the browser's text-size preference. */
.brand {
  font-size: 1.4375rem;
}
.nav-link,
.search-form input,
.product-name,
.shop-note strong,
.primary-button,
.detail-description,
.cart-row-price,
.order-dialog p,
.empty-state p,
.cart-empty p {
  font-size: 1rem;
}
.favorite-count,
.section-heading p,
.original-price,
.order-dialog .order-note {
  font-size: 0.8125rem;
}
.preview-label,
.feature-tag,
.feature-caption,
.banner-page,
.product-label,
.product-brand,
.shipping-label,
.footer p,
.footer > span,
.demo-note,
.cart-count {
  font-size: 0.75rem;
}
.eyebrow,
.intro-note,
.search-form button,
.feature-link,
.sort-control select,
.shop-note p,
.detail-info .product-brand,
.detail-specs > div,
.cart-row-name,
.quantity-control span,
.toast {
  font-size: 0.875rem;
}
.category,
.secondary-button,
.summary-row {
  font-size: 0.9375rem;
}
.intro-row h1,
.feature-copy h2 {
  font-size: 2rem;
}
.feature-copy p {
  font-size: 1rem;
}
.section-heading h2,
.order-dialog h2 {
  font-size: 1.4375rem;
}
.product-price {
  font-size: 1.375rem;
}
.footer-brand {
  font-size: 1.0625rem;
}
.empty-state h3,
.cart-empty h3 {
  font-size: 1.25rem;
}
.detail-info h2 {
  font-size: 1.5rem;
}
.detail-info .product-price {
  font-size: 1.6875rem;
}
.cart-header h2 {
  font-size: 1.625rem;
}
.summary-row.total {
  font-size: 1.3125rem;
}
.product-image[src$="lamp.jpg"],
.detail-image[src$="lamp.jpg"] {
  object-position: 50% 100%;
}
.product-image[src$="chair.jpg"],
.detail-image[src$="chair.jpg"] {
  object-position: 50% 95%;
}
.product-image[src$="mug.jpg"],
.detail-image[src$="mug.jpg"] {
  object-position: 0% 50%;
}
.product-image[src$="skincare.jpg"],
.detail-image[src$="skincare.jpg"] {
  object-position: 50% 80%;
}
@media (min-width: 1400px) {
  .feature-copy h2 {
    font-size: 2.1875rem;
  }
}
@media (max-width: 760px) {
  .brand {
    font-size: 1.3125rem;
  }
  .brand-mark {
    font-size: 1.625rem;
  }
  .nav-link,
  .category {
    font-size: 0.875rem;
  }
  .intro-row h1 {
    font-size: 1.75rem;
  }
  .intro-note {
    font-size: 0.75rem;
  }
  .feature-copy h2 {
    font-size: 1.6875rem;
  }
  .feature-copy p {
    font-size: 0.875rem;
  }
  .product-price {
    font-size: 1.3125rem;
  }
  .section-heading h2,
  .detail-info h2 {
    font-size: 1.375rem;
  }
  .detail-info .product-price {
    font-size: 1.5625rem;
  }
}
@media (max-width: 520px) {
  .intro-row h1 {
    font-size: 1.6875rem;
  }
  .eyebrow {
    font-size: 0.8125rem;
  }
  .search-form button {
    font-size: 0.875rem;
  }
  .feature-copy h2 {
    font-size: 1.5rem;
  }
  .feature-tag {
    font-size: 0.75rem;
    letter-spacing: 0.6px;
  }
  .feature-copy p {
    font-size: 0.875rem;
  }
  .feature-link {
    font-size: 0.875rem;
    max-width: 150px;
    line-height: 1.7;
  }
  .section-heading h2 {
    font-size: 1.25rem;
  }
  .section-heading p {
    font-size: 0.75rem;
  }
  .sort-control select {
    font-size: 0.875rem;
  }
  .product-price {
    font-size: 1.25rem;
  }
  .product-label {
    font-size: 0.75rem;
  }
  .shop-note strong {
    font-size: 0.875rem;
  }
  .shop-note p,
  .mobile-nav button,
  .mobile-cart-count {
    font-size: 0.75rem;
  }
  .feature-copy {
    padding-left: 20px;
  }
  .feature-copy h2 {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  .main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .feature-banner {
    min-height: 255px;
  }
  .feature-copy {
    width: 65%;
    padding-left: 16px;
  }
  .feature-image-wrap {
    width: 35%;
  }
  .feature-copy h2 {
    font-size: 1.375rem;
  }
  .category-list {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 1.125rem;
  }
  .sort-control select {
    max-width: 104px;
  }
  .product-grid {
    gap: 25px 12px;
  }
  .product-price {
    font-size: 1.125rem;
  }
}
