:root {
  --ink: #17212b;
  --muted: #5d6978;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dfe5e8;
  --brand: #d73592;
  --brand-dark: #9f1f67;
  --accent: #d9a441;
  --blue: #d73592;
  --danger: #b42318;
  --shadow: 0 20px 60px rgba(23, 33, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

body.cart-open {
  overflow: hidden;
}

body.terms-open {
  overflow: hidden;
}

body.has-cart-bar {
  padding-bottom: 94px;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: var(--brand);
  border-radius: 8px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 72px);
  align-items: end;
  background: linear-gradient(135deg, #d73592 0%, #8f4b78 48%, #f3b7cb 115%);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero picture {
  position: absolute;
  inset: 0;
}

.hero-image {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.hero-image.is-loaded {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 22, 26, 0.46), rgba(6, 22, 26, 0.04) 55%);
}

.hero-content {
  position: relative;
  width: min(680px, calc(100% - 36px));
  margin-inline: auto;
  padding: 0 0 34px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd08a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4.2rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.hero-actions,
.form-actions,
.summary-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(215, 53, 146, 0.28);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary,
.button.soft {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.button.whatsapp {
  color: #fff;
  background: #128c7e;
}

.button.instagram {
  color: #fff;
  background: #c13584;
}

.button.instagram:hover {
  background: #9f1f67;
}

.button.facebook {
  color: #fff;
  background: #1877f2;
}

.button.facebook:hover {
  background: #1264ce;
}

.button.tiktok {
  color: #fff;
  background: #161616;
}

.button.tiktok:hover {
  background: #000;
}

.button-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  margin-right: 8px;
  fill: currentColor;
}

.instagram-icon {
  width: 20px;
  height: 20px;
}

.button.disabled {
  pointer-events: none;
  opacity: 0.46;
}

.button.compact {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 0.9rem;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.intro-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px clamp(18px, 4vw, 44px);
  background: #fff;
}

.intro-item strong {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
}

.order-section,
.payments-section,
.contact-section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 30px;
}

.section-heading h2,
.contact-section h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.contact-section p {
  color: var(--muted);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
}

.order-form,
.summary-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.08);
}

.order-form {
  padding: clamp(18px, 3vw, 30px);
}

fieldset {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 16px;
  font-size: 1.08rem;
  font-weight: 800;
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #344050;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #cfd8dd;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.terms-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7fb;
  font-weight: 700;
}

.terms-consent input {
  width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin: 2px 0 0;
  accent-color: var(--brand);
}

.terms-link {
  padding: 0;
  color: var(--brand-dark);
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.field-message {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

[hidden] {
  display: none !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(215, 53, 146, 0.16);
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(180px, 280px);
  gap: 14px;
}

.catalog-message {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.product-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-photo-frame,
.product-photo-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e8f3ef;
}

.product-photo-frame {
  position: relative;
  overflow: hidden;
}

.product-photo-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-photo-frame.image-error img {
  display: none;
}

.product-photo-frame .product-photo-fallback {
  height: 100%;
}

.product-photo-fallback {
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  font-size: 2rem;
  font-weight: 800;
}

.product-card-body {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-price {
  color: var(--brand-dark);
  font-weight: 800;
}

.card-actions {
  gap: 8px;
}

.card-actions .button {
  flex: 1 1 110px;
}

.selected-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 10px;
}

.selected-heading span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.empty-selection {
  margin: 0;
  padding: 14px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px 44px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.item-info {
  display: grid;
  gap: 4px;
}

.item-info strong {
  line-height: 1.2;
}

.item-info span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.remove-item {
  width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--danger);
  border: 1px solid #f0b8b2;
  background: #fff7f6;
}

.form-message {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--danger);
  font-weight: 700;
}

.form-message.ok {
  color: var(--brand-dark);
}

.summary-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.summary-header,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.summary-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.summary-header span,
.summary-total span {
  color: var(--muted);
  font-weight: 800;
}

.summary-content {
  min-height: 210px;
  padding: 18px 0;
  color: var(--muted);
}

.summary-content ul {
  padding-left: 20px;
}

.summary-total {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
}

.summary-actions .button {
  flex: 1 1 170px;
}

.summary-actions {
  display: grid;
  gap: 10px;
}

.order-flow-message {
  margin: 0;
  padding: 12px;
  color: #344050;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7fb;
  font-size: 0.9rem;
  font-weight: 700;
}

.order-status {
  padding: 8px 10px;
  color: var(--brand-dark);
  border-radius: 8px;
  background: #fff3f9;
}

.button.wompi {
  color: #fff;
  background: #5a2ca0;
}

.button.wompi:hover {
  background: #47217f;
}

.button.wompi:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.wompi-secure-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.payments-section {
  background: #eef6f3;
}

.payment-method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.payment-method {
  display: flex;
  min-height: 58px;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.82rem;
  line-height: 1.15;
}

.payment-method-icon {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: contain;
}

.payment-method > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.payment-method small {
  color: var(--muted);
  font-size: 0.7rem;
}

.payment-card-brands {
  width: 78px;
  height: 30px;
  flex: 0 0 auto;
  margin-left: auto;
  object-fit: contain;
}

.payment-availability {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 12px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.cart-bar {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px clamp(14px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 36px rgba(23, 33, 43, 0.14);
  backdrop-filter: blur(12px);
}

.cart-bar-button {
  display: flex;
  width: min(720px, 100%);
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 10px 18px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(215, 53, 146, 0.26);
}

.cart-bar-button > span {
  display: grid;
  gap: 1px;
}

.cart-bar-button small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
}

.cart-bar-button > strong {
  white-space: nowrap;
  font-size: 1.08rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.cart-drawer.is-open {
  display: block;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 24, 0.58);
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(480px, 100%);
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cart-drawer-header,
.cart-drawer-total,
.cart-drawer-content li,
.cart-delivery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-drawer-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-header p,
.cart-drawer-header h2,
.cart-drawer-content h3 {
  margin: 0;
}

.cart-drawer-header p {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-drawer-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.cart-drawer-content {
  overflow-y: auto;
  padding: 18px 2px;
}

.cart-drawer-content h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.cart-drawer-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.cart-drawer-content li,
.cart-delivery {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.cart-drawer-content li > div {
  display: grid;
  gap: 2px;
}

.cart-drawer-content li span,
.cart-delivery span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.cart-drawer-total {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
}

.terms-modal.is-open {
  display: grid;
  place-items: center;
  padding: 18px;
}

.terms-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 24, 0.62);
}

.payment-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(24px, 5vw, 76px);
  color: #17212b;
  border-bottom: 1px solid #f0c7dc;
  background: #fff1f8;
}

.payment-result[hidden] {
  display: none;
}

.payment-result.is-approved {
  border-color: #b9ddcf;
  background: #eefaf5;
}

.payment-result.is-error {
  border-color: #efc0c0;
  background: #fff1f1;
}

.payment-result strong,
.payment-result p {
  margin: 0;
}

.payment-result strong {
  font-size: 1.1rem;
}

.payment-result p {
  margin-top: 5px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .payment-result {
    align-items: stretch;
    flex-direction: column;
  }
}

.terms-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(680px, 100%);
  max-height: calc(100vh - 36px);
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 24px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.terms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.terms-modal-header p,
.terms-modal-header h2 {
  margin: 0;
}

.terms-modal-header p {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.terms-modal-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.terms-modal-content {
  overflow-y: auto;
  padding: 20px 2px;
  color: #344050;
}

.terms-modal-content p {
  margin: 0 0 16px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.modal.is-open {
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 24, 0.62);
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(920px, 100%);
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  font-weight: 900;
  cursor: pointer;
}

.modal-photo {
  min-height: 420px;
  background: #e8f3ef;
}

.modal-photo > img,
.modal-photo .product-photo-fallback {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.modal-gallery {
  display: grid;
  height: 100%;
  min-height: inherit;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #e8f3ef;
}

.modal-main-photo {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.modal-thumbnails {
  display: grid;
  grid-auto-columns: 74px;
  grid-auto-flow: column;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.modal-thumbnail {
  width: 74px;
  height: 74px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.modal-thumbnail.is-active {
  border-color: var(--brand);
}

.modal-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 5vw, 42px);
}

.modal-content h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.modal-content p {
  margin: 0;
  color: #344050;
}

.modal-price {
  color: var(--brand-dark);
  font-size: 1.35rem;
}

.modal-color-section {
  display: grid;
  gap: 10px;
  padding-block: 4px;
}

.modal-color-section[hidden] {
  display: none;
}

.color-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.color-option {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.color-option:hover,
.color-option.is-selected {
  border-color: var(--brand);
}

.color-option.is-selected {
  background: #fff3f9;
  box-shadow: 0 0 0 2px rgba(217, 29, 131, 0.16);
}

.color-swatch {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(18, 28, 38, 0.2);
}

.color-pink {
  background: #ec8fba;
}

.color-red {
  background: #d72b3f;
}

.color-blue {
  background: #2677c9;
}

.color-green {
  background: #8bcf3f;
}

.color-yellow {
  background: #f5ca3e;
}

.color-lilac {
  background: #b58ad9;
}

.color-black-silver {
  background: linear-gradient(135deg, #171717 50%, #c7cbd1 50%);
}

.color-black-gold {
  background: linear-gradient(135deg, #171717 50%, #d5a62e 50%);
}

.modal-content .color-message {
  color: #667080;
  font-size: 0.9rem;
}

.modal-add-product:disabled,
#modalAddProduct:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

@media (max-width: 900px) {
  .site-header,
  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    margin-inline: 18px;
  }

  .intro-band,
  .order-layout,
  .payment-method-list {
    grid-template-columns: 1fr;
  }

  .payment-method {
    min-height: 58px;
  }

  .payment-card-brands {
    width: 72px;
    height: 25px;
    margin-left: auto;
  }

  .summary-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 0;
    aspect-ratio: 2 / 3;
  }

  .hero img {
    object-position: center center;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(92, 34, 63, 0.34), transparent 36%);
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.84rem;
  }

  .field-grid,
  .catalog-tools,
  .item-row {
    grid-template-columns: 1fr;
  }

  .remove-item {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
    grid-template-columns: 1fr;
  }

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

  .product-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .product-photo-frame,
  .product-photo-fallback {
    height: 100%;
    aspect-ratio: auto;
  }

  .modal.is-open {
    align-items: end;
    padding: 10px;
  }

  .modal-panel {
    max-height: calc(100vh - 20px);
    grid-template-columns: 1fr;
  }

  .modal-photo {
    min-height: 280px;
  }

  .modal-main-photo {
    min-height: 250px;
  }

  .modal-content {
    padding: 22px;
  }

  .color-options {
    grid-template-columns: 1fr;
  }

  body.has-cart-bar {
    padding-bottom: 88px;
  }

  .cart-bar {
    padding: 10px;
  }

  .cart-bar-button {
    min-height: 58px;
    padding: 9px 14px;
  }

  .cart-drawer-panel {
    top: auto;
    bottom: 0;
    height: min(82vh, 720px);
    padding: 18px;
    border-radius: 8px 8px 0 0;
  }

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