:root {
  --bg: #ffffff;
  --soft: #f6f6f7;
  --soft-2: #eeeeef;
  --text: #141414;
  --muted: #6d6d73;
  --line: #e7e7ea;
  --accent: #ff2b5f;
  --accent-dark: #e5164d;
  --cyan: #00c5d9;
  --star: #111111;
  --ok: #007a52;
  --shadow: 0 18px 50px rgba(16, 18, 24, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.cart-open {
  overflow: hidden;
  touch-action: none;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 260px minmax(260px, 560px) auto;
  gap: 22px;
  align-items: center;
  min-height: 74px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.search {
  display: flex;
  border: 1px solid #121212;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}

.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 12px 14px;
  outline: 0;
}

.search button {
  border: 0;
  background: #111;
  color: #fff;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
}

.trust-pill {
  justify-self: end;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--soft);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  font-weight: 700;
}

.cart-trigger {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}

.cart-trigger strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 13px;
}

.sidebar {
  position: fixed;
  top: 74px;
  bottom: 0;
  left: 0;
  z-index: 20;
  width: 214px;
  padding: 24px 18px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.side-link {
  display: block;
  padding: 13px 14px;
  border-radius: 8px;
  color: #34343a;
  font-weight: 700;
}

.side-link.active,
.side-link:hover {
  background: var(--soft);
}

.side-copy {
  position: absolute;
  bottom: 24px;
  left: 26px;
  color: #8a8a90;
  font-size: 13px;
}

.app {
  margin-left: 214px;
  padding: 32px clamp(20px, 5vw, 72px) 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #67676e;
  font-size: 14px;
  margin-bottom: 26px;
}

.breadcrumb a {
  color: #30303a;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 34px;
}

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.promo-banner strong {
  color: #fff;
  font-size: 18px;
}

.promo-banner span {
  color: #f1f1f3;
  font-weight: 700;
}

.hero-media {
  min-height: 310px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

.product-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card a {
  display: block;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--soft);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shipping-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--cyan);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 13px;
}

.card-actions {
  padding: 0 13px 13px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.add-cart-btn,
.buy-now-btn,
.add-to-cart-main {
  min-height: 42px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.add-cart-btn,
.add-to-cart-main {
  width: 100%;
  border: 1px solid #111;
  background: #fff;
  color: #111;
}

.buy-now-btn {
  border: 1px solid #111;
  background: #111;
  color: #fff;
}

.buy-now-btn:hover {
  background: #333;
  border-color: #333;
}

.add-cart-btn:hover,
.add-to-cart-main:hover {
  background: #f5f5f5;
}

.card-title {
  min-height: 42px;
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.rating-line,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  color: #19191d;
  font-size: 13px;
  font-weight: 700;
}

.muted {
  color: var(--muted);
  font-weight: 500;
}

.price {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
}

.price small {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 600;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.product-gallery,
.product-info {
  width: min(860px, 100%);
}

.gallery-main {
  display: grid;
  place-items: center;
  min-height: 560px;
  border-radius: 8px;
  background: #fafafa;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: contain;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.thumb {
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--soft);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.thumb.active {
  border-color: #111;
}

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

.product-info {
  position: static;
  width: min(760px, 100%);
  margin: 0 auto;
}

.product-price {
  margin-bottom: 12px;
  font-size: 42px;
  font-weight: 800;
}

.product-price span {
  font-size: 21px;
}

.freight {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
}

.product-info h1 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.22;
}

.seller,
.product-subline {
  margin: 8px 0;
  color: var(--muted);
}

.product-subline strong {
  color: #151515;
}

.option-block {
  margin-top: 24px;
}

.option-title {
  margin: 0 0 11px;
  font-size: 20px;
  font-weight: 800;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(66px, 1fr));
  gap: 10px;
}

.size-btn {
  min-height: 36px;
  border: 1px solid #cfcfd4;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.size-btn.active {
  border: 2px solid #111;
  font-weight: 800;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}

.qty {
  display: grid;
  grid-template-columns: 38px 46px 38px;
  height: 42px;
  overflow: hidden;
  border-radius: 5px;
  background: #f0f0f1;
}

.qty button {
  border: 0;
  background: transparent;
  color: #2d2d31;
  font-size: 21px;
  cursor: pointer;
}

.qty span {
  display: grid;
  place-items: center;
  font-weight: 800;
}

.buy-button {
  width: 100%;
  min-height: 56px;
  margin-top: 20px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.add-to-cart-main {
  min-height: 52px;
  margin-top: 20px;
}

.buy-button {
  margin-top: 10px;
}

.cart-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 180;
  max-width: 320px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  padding: 13px 16px;
  font-weight: 800;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

#cartDrawerRoot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}

#cartDrawerRoot.open {
  pointer-events: auto;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 16px;
  width: min(420px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  background: #fff;
  padding: 22px;
  box-shadow: -18px 0 44px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.cart-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.cart-head h2 {
  margin: 0;
}

.cart-head button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cart-promo-line,
.cart-hint,
.promo-saved {
  border-radius: 8px;
  background: #fff2d8;
  color: #5f3b00;
  padding: 12px;
  font-weight: 800;
}

.promo-saved span {
  display: inline-block;
  margin-top: 3px;
  color: #6a4500;
  font-size: 13px;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  overflow: auto;
  padding-right: 3px;
  -webkit-overflow-scrolling: touch;
}

.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.cart-item div {
  display: grid;
  gap: 5px;
}

.cart-item span,
.cart-empty {
  color: var(--muted);
  font-size: 13px;
}

.cart-item-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-item-actions button {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  padding: 0 10px;
  font-weight: 800;
  cursor: pointer;
}

.cart-totals {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.cart-totals > div:not(.promo-saved):not(.cart-hint) {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.discount,
.summary-line.discount {
  color: var(--ok);
}

.cart-total {
  font-size: 18px;
}

.cart-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-checkout {
  flex-shrink: 0;
}

.buy-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.assurance span {
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
  color: #3a3a40;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.reviews {
  max-width: 760px;
  margin-top: 50px;
}

.review-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 800;
}

.distribution {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.dist-row {
  display: grid;
  grid-template-columns: 35px 1fr 48px;
  gap: 12px;
  align-items: center;
  font-weight: 700;
}

.bar {
  height: 8px;
  border-radius: 99px;
  background: var(--soft-2);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #222;
}

.review-photos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 18px 0 24px;
}

.review-photos img {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 20px;
}

.filter-chip {
  border: 0;
  border-radius: 7px;
  background: var(--soft);
  padding: 9px 13px;
  font-weight: 700;
}

.review-list {
  display: grid;
  gap: 22px;
}

.review-item {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.review-person {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-weight: 800;
}

.verified {
  color: var(--muted);
  font-size: 13px;
}

.stars {
  color: var(--star);
  letter-spacing: 0;
  white-space: nowrap;
}

.review-text {
  margin: 8px 0 12px;
  line-height: 1.5;
}

.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-images img {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.46);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  font-size: 24px;
  cursor: pointer;
}

.checkout-summary {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.modal-buy {
  margin-top: 18px;
}

.checkout-shell {
  min-height: calc(100vh - 140px);
  margin: -32px calc(clamp(20px, 5vw, 72px) * -1) -64px;
  padding: 34px clamp(18px, 4vw, 56px) 70px;
  background: #f4f4f5;
}

.checkout-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(18px, 3vw, 34px);
  box-shadow: 0 16px 42px rgba(15, 16, 20, 0.07);
}

.checkout-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.checkout-back-link {
  color: var(--muted);
  font-weight: 700;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
}

.progress-step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d8d8dc;
  color: #fff;
  font-weight: 800;
}

.progress-step.active {
  color: var(--text);
}

.progress-step.active span {
  background: var(--accent);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.checkout-main h1,
.payment-box h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.checkout-form {
  display: grid;
  gap: 15px;
}

.order-bump {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  border: 1px solid #ffd48a;
  border-radius: 8px;
  background: #fffaf1;
  padding: 16px;
}

.order-bump > strong {
  color: #5f3b00;
  font-size: 17px;
}

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

.bump-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.bump-item img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
}

.bump-item div {
  display: grid;
  gap: 5px;
}

.bump-item span {
  color: var(--accent);
  font-weight: 800;
}

.bump-item button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.checkout-form label,
.payment-box label {
  display: grid;
  gap: 7px;
  color: #2e2e34;
  font-weight: 800;
}

.checkout-form input,
.payment-box textarea {
  width: 100%;
  border: 1px solid #d8d8dd;
  border-radius: 8px;
  background: #fff;
  padding: 13px 14px;
  color: var(--text);
  outline: 0;
}

.checkout-form input:focus,
.payment-box textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

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

.form-error,
.payment-error {
  min-height: 20px;
  margin: 0;
  color: #c0183a;
  font-weight: 800;
}

.cep-status {
  min-height: 20px;
  margin: -5px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.cep-status-error {
  color: #c0183a;
}

.payment-error {
  padding: 13px;
  border-radius: 8px;
  background: #fff0f3;
}

.checkout-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.checkout-primary,
.checkout-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.checkout-primary {
  background: var(--accent);
  color: #fff;
}

.checkout-secondary {
  background: var(--soft);
  color: #26262b;
}

.order-summary {
  position: sticky;
  top: 98px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.order-summary h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.summary-product {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.summary-items {
  display: grid;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.summary-items .summary-product {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-product img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.summary-product div {
  display: grid;
  gap: 5px;
}

.summary-product span,
.secure-note {
  color: var(--muted);
  font-size: 13px;
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.summary-total {
  border-bottom: 0;
  font-size: 18px;
}

.secure-note {
  margin: 10px 0 0;
  line-height: 1.45;
}

.payment-box {
  display: grid;
  gap: 16px;
}

.loading-box {
  display: grid;
  place-items: center;
  min-height: 170px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}

.pix-area {
  display: grid;
  gap: 14px;
}

.qr-code {
  width: 260px;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.status-pill,
.payment-approved {
  width: fit-content;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
}

.status-pill {
  background: #fff6db;
  color: #7c5700;
}

.payment-approved {
  background: #e8fff4;
  color: var(--ok);
}

@media (max-width: 1180px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .size-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 16px;
  }

  .trust-pill {
    display: none;
  }

  .cart-trigger {
    justify-self: stretch;
    justify-content: center;
  }

  .sidebar {
    display: none;
  }

  .app {
    margin-left: 0;
    padding: 22px 16px 92px;
  }

  .hero,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 220px;
  }

  .product-info {
    position: static;
  }

  .checkout-shell {
    margin: -22px -16px -92px;
    padding: 18px 14px 56px;
  }

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

  .order-summary {
    position: static;
    order: -1;
  }

  .gallery-main {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

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

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

@media (max-width: 560px) {
  .brand span {
    font-size: 18px;
  }

  .search button {
    padding: 0 13px;
  }

  .hero {
    gap: 18px;
  }

  .promo-banner {
    flex-direction: column;
    gap: 2px;
    padding: 12px;
  }

  .promo-banner strong {
    font-size: 16px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: 33px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

  .card-body {
    padding: 10px;
  }

  .card-title {
    font-size: 13px;
  }

  .card-actions {
    padding: 0 10px 10px;
  }

  .price {
    font-size: 19px;
  }

  .product-price {
    font-size: 36px;
  }

  .freight {
    font-size: 17px;
  }

  .product-info h1 {
    font-size: 20px;
  }

  .thumb-row {
    grid-template-columns: repeat(5, 1fr);
  }

  .size-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .review-photos {
    grid-template-columns: repeat(3, 1fr);
  }

  .checkout-card {
    padding: 16px;
  }

  .checkout-progress {
    gap: 6px;
  }

  .progress-step {
    align-items: start;
    flex-direction: column;
    min-height: 76px;
    font-size: 12px;
  }

  .form-row,
  .checkout-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .qr-code {
    width: 100%;
    max-width: 260px;
    height: auto;
  }

  .cart-drawer {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
    gap: 12px;
  }

  .cart-head {
    min-height: 48px;
  }

  .cart-head button {
    width: 48px;
    height: 48px;
  }

  .cart-items {
    max-height: none;
  }

  .bump-item {
    grid-template-columns: 64px 1fr;
  }

  .bump-item img {
    width: 64px;
    height: 64px;
  }
}
