/* =========================================================
   LIXU · Dialogs, cart, toast, responsive
   ========================================================= */

/* ---------- Dialog base ---------- */

dialog {
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(11, 26, 20, 0.58);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.dialog-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(251, 248, 241, 0.92);
  color: var(--ink-soft);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease);
}

.dialog-close:hover {
  background: var(--forest);
  color: var(--paper-2);
  transform: rotate(90deg);
}

/* ---------- Product dialog ---------- */

.product-dialog[open] {
  animation: dialogPop 0.4s var(--ease) both;
}

.product-dialog-shell {
  position: relative;
  width: min(1040px, calc(100vw - 48px));
  max-height: 90vh;
  border-radius: 4px;
  background: var(--paper-2);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}

.product-dialog-rail {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  height: 0;
  justify-content: flex-end;
  padding: 14px 14px 0 0;
  pointer-events: none;
}

.product-dialog-rail .dialog-close {
  pointer-events: auto;
  box-shadow: 0 5px 18px rgba(20, 44, 35, 0.1);
}

.product-dialog-content {
  min-height: 540px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: 540px;
}

.product-detail-art {
  position: relative;
  display: flex;
  min-height: 540px;
  align-items: center;
  justify-content: center;
  padding: 46px 28px;
  overflow: hidden;
}

.product-detail-art::after {
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(27, 53, 42, 0.08);
  content: "";
  pointer-events: none;
}

.product-detail-art img {
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 26px 30px rgba(20, 44, 35, 0.07));
}

.detail-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  padding: 6px 10px;
  background: rgba(251, 248, 241, 0.86);
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.detail-number {
  position: absolute;
  right: 26px;
  bottom: 25px;
  z-index: 2;
  color: rgba(27, 53, 42, 0.45);
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.product-detail-info {
  display: flex;
  padding: 50px 44px 38px;
  flex-direction: column;
  justify-content: center;
}

.detail-eyebrow {
  color: var(--coral-deep);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-detail-info h2 {
  margin-top: 11px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.42;
}

.detail-desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 23px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-specs div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-specs span {
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

.detail-specs strong {
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.55;
}

.detail-custom {
  margin-top: 17px;
}

.detail-label {
  display: block;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.custom-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.custom-chips span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

.detail-buy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.detail-price > span {
  display: block;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.detail-price > strong {
  display: flex;
  align-items: baseline;
  margin-top: 3px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.detail-price small {
  margin-right: 3px;
  font-size: 14px;
}

.detail-price em {
  margin-left: 5px;
  color: var(--muted-2);
  font-family: var(--font-sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.detail-market {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.detail-qty > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #f8f2e7;
  overflow: hidden;
}

.qty-stepper button {
  display: grid;
  width: 30px;
  height: 32px;
  place-items: center;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1;
  transition: background-color 0.2s ease;
}

.qty-stepper button:hover {
  background: var(--sand);
}

.qty-stepper input {
  width: 42px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 12px;
  text-align: center;
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 9px;
  margin-top: 20px;
}

.detail-actions .btn {
  min-height: 46px;
  padding: 0 15px;
  font-size: 10.5px;
}

.detail-note {
  margin-top: 11px;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ---------- Cart drawer ---------- */

.cart-dialog {
  width: min(460px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
}

.cart-dialog[open] {
  animation: drawerIn 0.45s var(--ease) both;
}

.cart-shell {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: var(--paper-2);
  box-shadow: var(--shadow-lg);
}

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 28px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-eyebrow {
  color: var(--coral-deep);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cart-head h2 {
  margin-top: 5px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.cart-head h2 span {
  margin-left: 4px;
  color: var(--coral);
  font-family: var(--font-serif);
  font-size: 13px;
  vertical-align: 5px;
}

.cart-body {
  flex: 1;
  padding: 4px 28px;
  overflow-y: auto;
}

.cart-empty {
  display: flex;
  height: 100%;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.cart-empty-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-2);
}

.cart-empty h3 {
  margin-top: 21px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}

.cart-empty p {
  max-width: 250px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.cart-empty .btn {
  margin-top: 23px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-art {
  width: 80px;
  height: 66px;
  flex: 0 0 auto;
  border-radius: 2px;
  overflow: hidden;
}

.cart-item-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.cart-item-info h3 {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-info > p {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
}

.cart-item-controls .qty-stepper button {
  width: 25px;
  height: 26px;
  font-size: 13px;
}

.cart-item-controls .qty-stepper input {
  width: 32px;
  height: 26px;
  font-size: 10.5px;
}

.cart-remove {
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.cart-remove:hover {
  color: var(--coral-deep);
}

.cart-item-total {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.cart-foot {
  padding: 20px 28px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.cart-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
}

.cart-subtotal > span {
  color: var(--muted);
  font-size: 10px;
}

.cart-subtotal strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.cart-foot > p {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 8.5px;
  line-height: 1.6;
}

.cart-foot .btn {
  width: 100%;
  margin-top: 14px;
  min-height: 46px;
  font-size: 11px;
}

.cart-continue {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-align: center;
  transition: color 0.2s ease;
}

.cart-continue:hover {
  color: var(--ink);
}

/* ---------- Cart FAB ---------- */

.cart-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(246, 241, 231, 0.18);
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 14px 34px rgba(20, 44, 35, 0.28);
  color: var(--paper-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.94);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s,
    background-color 0.25s ease;
}

.cart-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cart-fab:hover {
  background: var(--coral);
}

.cart-fab-count {
  position: absolute;
  top: 1px;
  right: 0;
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--coral);
  color: #fff8ed;
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  z-index: 300;
  max-width: min(380px, calc(100vw - 40px));
  padding: 12px 19px;
  border: 1px solid rgba(246, 241, 231, 0.14);
  border-radius: 3px;
  background: var(--forest-deep);
  box-shadow: var(--shadow-md);
  color: var(--paper-2);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Keyframes ---------- */

@keyframes dialogPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drawerIn {
  from {
    opacity: 0.4;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1240px) {
  .container {
    width: min(var(--container), calc(100% - 64px));
  }

  .main-nav {
    gap: 21px;
    margin-left: 4px;
  }

  .header-inner {
    gap: 24px;
  }

  .hero-title {
    font-size: clamp(54px, 6.3vw, 80px);
  }

  .hero-vertical {
    right: -16px;
  }
}

@media (max-width: 1120px) {
  .header-phone {
    display: none;
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 11.5px;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    gap: 10px;
  }

  .scene-grid {
    gap: 16px;
  }

  .scene-body {
    padding: 22px 18px 25px;
  }

  .circle-arrow {
    right: 16px;
    bottom: 20px;
  }

  .budget-grid {
    gap: 50px;
  }
}

@media (max-width: 1024px) {
  .container {
    width: calc(100% - 48px);
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    min-height: 76px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-cta {
    display: inline-flex;
    min-height: 38px;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
    padding-top: 28px;
  }

  .hero-copy {
    max-width: 760px;
    padding: 20px 0 8px;
  }

  .hero-title {
    font-size: clamp(56px, 8.6vw, 82px);
  }

  .hero-lede {
    max-width: 590px;
  }

  .hero-visual {
    min-height: 590px;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-art-wrap {
    width: min(100%, 610px);
  }

  .hero-stamp {
    right: 5%;
  }

  .hero-vertical {
    display: none;
  }

  .hero-bottom {
    margin-top: 10px;
  }

  .section {
    padding: 104px 0;
  }

  .section-heading {
    max-width: 680px;
  }

  .catalog-tools {
    min-width: 100%;
    align-items: flex-start;
    padding-top: 0;
  }

  .filter-list {
    justify-content: flex-start;
  }

  .filter-count {
    padding-left: 2px;
  }

  .budget-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .budget-copy {
    max-width: 640px;
  }

  .budget-lede,
  .budget-points {
    max-width: 550px;
  }

  .budget-card {
    max-width: 780px;
  }

  .budget-seal {
    position: absolute;
    right: 40px;
    bottom: 12px;
    margin-top: 0;
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .process-line {
    display: none;
  }

  .case-card {
    aspect-ratio: 3 / 4.2;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .why-media {
    order: 2;
    aspect-ratio: 4 / 3.4;
    max-height: 560px;
  }

  .why-copy {
    order: 1;
    max-width: 780px;
  }

  .why-features {
    max-width: 700px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-intro {
    max-width: 650px;
  }

  .faq-intro > p {
    max-width: 560px;
  }

  .faq-contact {
    max-width: 260px;
  }

  .accordion {
    max-width: 780px;
  }

  .warehouse-shell {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .warehouse-copy {
    max-width: 720px;
  }

  .warehouse-card {
    max-width: 680px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding: 52px;
  }

  .contact-form-wrap {
    padding: 44px 52px 48px;
  }

  .footer-top {
    grid-template-columns: 1fr 1.5fr;
  }

  .footer-stamp {
    display: none;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 92px 0;
  }

  .section-head {
    gap: 26px;
    margin-bottom: 46px;
  }

  .section-heading {
    padding-top: 10px;
  }

  .section-heading h2,
  .section h2 {
    font-size: clamp(38px, 6vw, 50px);
  }

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

  .scene-body h3 {
    font-size: 22px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .product-info h3 {
    font-size: 17px;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-aside {
    width: 100%;
    max-width: 420px;
    padding-top: 14px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 0;
    padding: 26px 0;
  }

  .metric {
    padding-left: 24px;
  }

  .metric:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .metric:nth-child(n + 3) {
    padding-top: 18px;
    border-top: 1px solid var(--line-light);
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-card {
    aspect-ratio: 3 / 2.45;
  }

  .case-content {
    padding: 26px 24px;
  }

  .case-content h3 {
    font-size: 28px;
  }

  .quote-panel {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    margin-top: 34px;
    padding-top: 28px;
  }

  .quote-mark {
    font-size: 58px;
  }

  .quote-controls {
    grid-column: 2;
    padding-top: 2px;
  }

  .quote-slide p {
    font-size: 19px;
  }

  .why-media {
    aspect-ratio: 4 / 3.1;
  }

  .why-features {
    gap: 24px;
  }

  .contact-copy,
  .contact-form-wrap {
    padding: 42px 38px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-nav {
    max-width: 560px;
  }

  .footer-stamp {
    display: block;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 92px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .announcement {
    font-size: 9.5px;
  }

  .announcement-inner {
    min-height: 34px;
    gap: 12px;
  }

  .announcement p {
    gap: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .announcement a {
    display: none;
  }

  .header-inner {
    min-height: 70px;
    gap: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    font-size: 20px;
  }

  .brand-type strong {
    font-size: 19px;
  }

  .brand-type em {
    font-size: 6.5px;
  }

  .header-cta {
    display: none;
  }

  .cart-button {
    min-height: 34px;
    padding: 0 9px;
  }

  .cart-button-label {
    display: none;
  }

  .hero {
    padding-top: 8px;
  }

  .hero-grid {
    padding-top: 18px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero-title {
    margin-top: 20px;
    font-size: clamp(48px, 9.5vw, 64px);
  }

  .hero-lede {
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .hero-proof {
    margin-top: 36px;
  }

  .hero-visual {
    min-height: 500px;
    max-width: 500px;
  }

  .hero-chip {
    top: 6%;
    left: 0;
  }

  .hero-float {
    bottom: 7%;
    width: 164px;
    min-height: 112px;
    padding: 16px;
  }

  .hero-float strong {
    font-size: 16px;
  }

  .hero-float-arrow {
    width: 25px;
    height: 25px;
    right: 13px;
    bottom: 13px;
  }

  .hero-stamp {
    top: 8%;
    right: 0;
    width: 82px;
    height: 82px;
  }

  .hero-bottom {
    padding-bottom: 20px;
  }

  .hero-side-note {
    font-size: 8.5px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading p {
    margin-top: 17px;
    font-size: 13.5px;
  }

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

  .scene-art {
    aspect-ratio: 4 / 2.85;
  }

  .scene-body h3 {
    font-size: 23px;
  }

  .product-grid {
    gap: 30px 15px;
  }

  .product-info h3 {
    font-size: 16px;
  }

  .product-foot {
    flex-wrap: wrap;
    gap: 8px;
  }

  .price {
    font-size: 20px;
  }

  .catalog-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 40px;
  }

  .budget-card {
    padding: 25px 21px;
  }

  .budget-card-head {
    flex-direction: column;
    gap: 16px;
  }

  .budget-card-head h3 {
    font-size: 42px;
  }

  .scenario-tabs {
    align-self: flex-start;
  }

  .budget-result {
    padding: 18px 16px;
  }

  .budget-actions {
    flex-wrap: wrap;
  }

  .budget-actions .btn-primary {
    flex: 1 1 100%;
  }

  .budget-actions .btn-ghost {
    flex: 1 1 100%;
  }

  .budget-seal {
    display: none;
  }

  .metrics {
    margin-bottom: 34px;
  }

  .metric strong {
    font-size: 42px;
  }

  .case-card {
    aspect-ratio: 3 / 2.7;
  }

  .quote-panel {
    grid-template-columns: 1fr;
  }

  .quote-mark {
    display: none;
  }

  .quote-controls {
    grid-column: 1;
  }

  .quote-slide footer {
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .why-media {
    aspect-ratio: 4 / 3.2;
  }

  .why-features {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .warehouse-map {
    height: 164px;
  }

  .warehouse-card-body {
    padding: 24px 24px 26px;
  }

  .warehouse-card-body h3 {
    font-size: 34px;
  }

  .faq-question {
    padding: 21px 0;
  }

  .faq-question > span:first-child {
    font-size: 16px;
  }

  .contact-copy,
  .contact-form-wrap {
    padding: 34px 27px 38px;
  }

  .contact-copy h2 {
    font-size: clamp(38px, 8vw, 48px);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field-full {
    grid-column: auto;
  }

  .footer-nav {
    gap: 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom > div {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }

  .footer-word {
    margin-top: 20px;
    font-size: 27vw;
  }

  .product-dialog-shell {
    width: calc(100vw - 28px);
    max-height: 92vh;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-art {
    min-height: 300px;
    padding: 36px 22px;
  }

  .product-detail-art::after {
    inset: 16px;
  }

  .product-detail-art img {
    max-width: 400px;
  }

  .product-detail-info {
    padding: 30px 24px 28px;
  }

  .product-detail-info h2 {
    font-size: 27px;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }

  .cart-head {
    padding: 24px 20px 18px;
  }

  .cart-body {
    padding: 4px 20px;
  }

  .cart-foot {
    padding: 17px 20px 20px;
  }

  .cart-fab {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(44px, 10.5vw, 56px);
  }

  .hero-visual {
    min-height: 430px;
    max-width: 420px;
  }

  .hero-chip {
    padding: 7px 11px;
    font-size: 9px;
  }

  .hero-float {
    width: 148px;
    min-height: 102px;
    padding: 14px;
  }

  .hero-float strong {
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-float-label {
    font-size: 7px;
  }

  .hero-stamp {
    width: 70px;
    height: 70px;
  }

  .hero-vertical {
    display: none;
  }

  .scroll-cue {
    font-size: 8px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .section h2 {
    font-size: clamp(34px, 8.5vw, 44px);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-art {
    aspect-ratio: 4 / 2.9;
  }

  .product-info h3 {
    font-size: 19px;
  }

  .quick-add {
    opacity: 1;
    transform: none;
  }

  .product-view {
    opacity: 1;
    transform: none;
  }

  .catalog-tools {
    width: 100%;
  }

  .filter-list {
    gap: 5px;
  }

  .filter-btn {
    padding: 8px 11px;
    font-size: 10px;
  }

  .budget-card-head h3 {
    font-size: 38px;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-step {
    padding: 0 0 0 58px;
  }

  .step-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .step-time {
    font-size: 8px;
  }

  .process-step h3 {
    margin-top: 0;
    font-size: 19px;
  }

  .process-step::before {
    position: absolute;
    top: 54px;
    bottom: -28px;
    left: 21px;
    width: 1px;
    background: var(--line);
    content: "";
  }

  .process-step:last-child::before {
    display: none;
  }

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

  .metric strong {
    font-size: 38px;
  }

  .case-card {
    aspect-ratio: 3 / 3.2;
  }

  .why-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-media-card {
    padding: 14px 17px;
  }

  .why-media-card strong {
    font-size: 39px;
  }

  .faq-question > span:first-child {
    font-size: 15px;
  }

  .warehouse-notes > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .warehouse-notes strong {
    text-align: left;
  }

  .warehouse-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .warehouse-actions .btn {
    width: 100%;
  }

  .warehouse-actions .link-arrow {
    align-self: flex-start;
  }

  .warehouse-card-head {
    padding: 17px 20px;
  }

  .warehouse-card-body {
    padding: 22px 20px 24px;
  }

  .warehouse-card-body h3 {
    font-size: 31px;
  }

  .faq-panel p {
    padding-right: 10px;
    font-size: 12px;
  }

  .form-success h3 {
    font-size: 29px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-stamp {
    display: none;
  }

  .product-dialog-art {
    min-height: 250px;
  }

  .detail-specs {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .detail-buy {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .cart-dialog {
    width: 100vw;
  }

  .toast {
    bottom: 82px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand-mark {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .brand-type strong {
    font-size: 17px;
  }

  .brand-type em {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .cart-button {
    padding: 0 8px;
  }

  .hero-title {
    font-size: clamp(40px, 11.2vw, 49px);
    letter-spacing: -0.03em;
  }

  .hero-lede br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 11px;
  }

  .proof-avatars span {
    width: 33px;
    height: 33px;
  }

  .hero-visual {
    min-height: 385px;
  }

  .hero-float {
    bottom: 1%;
  }

  .hero-stamp {
    display: none;
  }

  .hero-bottom {
    display: none;
  }

  .marquee {
    padding: 14px 0;
  }

  .marquee-track span {
    padding: 0 18px;
    font-size: 12px;
  }

  .product-art {
    aspect-ratio: 4 / 3;
  }

  .budget-card {
    padding: 22px 16px;
  }

  .budget-card-head h3 {
    font-size: 34px;
  }

  .budget-result {
    padding: 15px 13px;
  }

  .budget-item-copy strong {
    font-size: 11.5px;
  }

  .budget-total strong {
    font-size: 25px;
  }

  .quote-slide p {
    font-size: 17px;
  }

  .case-card {
    aspect-ratio: 3 / 3.6;
  }

  .case-content {
    padding: 20px;
  }

  .case-content h3 {
    font-size: 24px;
  }

  .section-index {
    gap: 9px;
    font-size: 8.5px;
  }

  .index-line {
    width: 24px;
  }

  .contact-copy {
    padding: 30px 22px;
  }

  .contact-form-wrap {
    padding: 28px 20px 32px;
  }

  .form-head h3 {
    font-size: 23px;
  }

  .contact-channels strong {
    font-size: 11.5px;
  }

  .footer-brand > p,
  .footer-nav a {
    font-size: 10px;
  }

  .footer-bottom > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .product-detail-info {
    padding: 26px 19px 24px;
  }

  .product-detail-info h2 {
    font-size: 24px;
  }

  .cart-item-art {
    width: 68px;
    height: 58px;
  }
}

/* ---------- Hover capability & motion ---------- */

@media (hover: none) {
  .quick-add,
  .product-view {
    opacity: 1;
    transform: none;
  }

  .scene-card:hover {
    transform: none;
  }

  .case-card:hover > img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }

  .hero-stamp {
    animation: none;
  }
}
