@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --ink: #1f1c19;
  --muted: #5d5751;
  --accent: #b34b2e;
  --accent-soft: #f2d7cc;
  --surface: #faf7f2;
  --surface-2: #f1ece6;
  --border: rgba(31, 28, 25, 0.12);
  --shadow: 0 18px 40px rgba(31, 28, 25, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: #ffffff;
  min-height: 100vh;
}

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

.header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 16px 24px 8px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.h1div {
  margin: 0;
  cursor: pointer;
  justify-self: center;
}

.name {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin: 0;
  color: #003399;
  letter-spacing: 0.5px;
}

.divforlogo {
  display: flex;
  align-items: center;
  justify-self: end;
  position: relative;
}

.logo {
  width: 92px;
  border-radius: 16px;
  padding: 6px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 28, 25, 0.12);
  cursor: pointer;
}

.cart-badge {
  position: absolute;
  right: -4px;
  top: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  background: #d11f2a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(209, 31, 42, 0.25);
}

.gender-switch {
  display: flex;
  gap: 0;
  justify-content: flex-start;
  align-items: center;
  transform: translateY(12px);
}

.gender-switch .chip {
  border: none;
  background: transparent;
  color: #1f1c19;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.gender-switch .chip + .chip {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}

.gender-divider {
  display: inline-block;
  margin: 0 8px;
  color: rgba(31, 28, 25, 0.5);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.gender-switch .chip.is-active {
  background: transparent;
  color: #1f1c19;
}

.gender-switch .chip:hover,
.gender-switch .chip.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.headerlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin-top: -6px;
}

.headerlinks > div {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid transparent;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
}

.headerlinks > div p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.headerlinks > div:hover {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 12px 26px rgba(31, 28, 25, 0.08);
  transform: translateY(-1px);
}

.headerlinks > div:active {
  transform: translateY(0);
}

.headerlinks > div.is-current {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(179, 75, 46, 0.25);
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.category-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.photo-section {
  width: 100%;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.photo-grid .shoe-item {
  min-height: 240px;
}

.photo-grid--cover .shoe-item {
  background: transparent;
}

.photo-grid--cover .shoe-photo {
  object-fit: cover;
  border-radius: inherit;
}

.brands-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  transition: opacity 200ms ease, transform 200ms ease;
}

.brand-grid.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.brand-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(31, 28, 25, 0.08);
  padding: 16px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 28, 25, 0.12);
  border-color: rgba(31, 28, 25, 0.18);
}

.brand-logo {
  max-width: 160px;
  max-height: 80px;
  width: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.brand-card:hover .brand-name,
.brand-card:focus-within .brand-name {
  opacity: 1;
  transform: translateY(0);
}

.divforlogo {
  position: relative;
}

.divforlogo::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(31, 28, 25, 0.12);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(31, 28, 25, 0.12);
}

.divforlogo:hover::after,
.divforlogo:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.catalog-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.catalog-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(31, 28, 25, 0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 140px;
}

.catalog-card h4 {
  margin: 0;
  font-size: 16px;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.hero,
.category-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.category-hero {
  align-items: start;
}

.hero-copy h2,
.category-hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin: 6px 0 10px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted);
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
}

.hero-card,
.info-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 28, 25, 0.08);
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-stack [data-subcategory-group] {
  margin-top: 6px;
}

.hero-stack--bottom {
  height: auto;
  justify-content: flex-start;
}

.shoe-subcategories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.shoe-subcategories .chip-row {
  margin-bottom: 6px;
}

.photo-content-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.photo-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-row--top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-row--bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-row--single {
  grid-template-columns: 1fr;
}

.chip-row--plain .chip {
  border: none;
  background: transparent;
  color: #1f1c19;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.chip-row--plain .chip.is-active {
  background: transparent;
  color: #1f1c19;
  border: none;
}

.chip-row--plain .chip:hover,
.chip-row--plain .chip.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  transform: none;
  box-shadow: none;
}

.toggle {
  display: inline-flex;
  gap: 10px;
  margin-top: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.chip-row--plain {
  margin-bottom: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(31, 28, 25, 0.12);
}

.chip.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: rgba(179, 75, 46, 0.4);
  margin-left: 0px;
}

.content-panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 17px 20px 12px;
  border: 1px solid rgba(31, 28, 25, 0.08);
  transition: opacity 240ms ease, transform 240ms ease;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.category-hero > .content-panel {
  margin-top: 14px;
}

.content-panel.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.content-panel h3 {
  margin: 0;
  font-size: 18px;
}

.content-panel .lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  display: block;
}

.content-panel .bullet-list {
  margin: 0;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.4;
  display: block;
}

[data-gender-panel] {
  transition: opacity 240ms ease, transform 240ms ease;
}

[data-gender-panel].is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.bullet-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mini-grid {
  display: grid;
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat span:first-child {
  font-size: 22px;
  font-weight: 700;
}

.stat span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.brand-image {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

.shoe-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.shoe-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(31, 28, 25, 0.12);
  border: none;
  padding: 0;
  background: #ffffff;
  cursor: pointer;
  display: block;
}

.cart-add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(31, 28, 25, 0.2);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms ease, transform 200ms ease, background 200ms ease;
  cursor: pointer;
}

.cart-add svg {
  width: 16px;
  height: 16px;
  stroke: #1f1c19;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-add--active {
  background: #1f1c19;
}

.cart-add--active svg {
  stroke: #ffffff;
}

.cart-add--in-cart {
  background: #1f1c19;
  opacity: 1;
  transform: translateY(0);
}

.cart-add--in-cart svg {
  stroke: #ffffff;
}

.shoe-item:hover .cart-add,
.shoe-item:focus-within .cart-add {
  opacity: 1;
  transform: translateY(0);
}


.shoe-item--large {
  min-height: 420px;
}

.shoe-item--small {
  min-height: 200px;
}

.shoe-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.shoe-side {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
}

.shoe-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.shoe-item:hover .shoe-caption,
.shoe-item:focus-within .shoe-caption {
  opacity: 1;
  transform: translateY(0);
}

.watch-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.watch-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(31, 28, 25, 0.12);
  border: none;
  padding: 0;
  background: #ffffff;
  cursor: pointer;
  min-height: 220px;
}

.watch-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.watch-item:hover .shoe-caption,
.watch-item:focus-within .shoe-caption {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 999;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  background: transparent;
  border-radius: 18px;
  padding: 0;
  width: 96vw;
  height: 92vh;
  max-width: none;
  max-height: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  align-self: flex-end;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero,
  .category-hero {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

@media (max-width: 720px) {
  .header {
    padding: 14px 16px 6px;
    align-items: stretch;
  }

  .header-top {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
    gap: 10px 12px;
  }

  .h1div {
    grid-column: 2;
    grid-row: 1;
  }

  .gender-switch {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    transform: none;
    display: block;
    padding-left: 0;
    text-align: left;
  }

  .gender-switch .chip {
    display: block;
    padding: 0;
  }

  .gender-switch .chip[data-gender="him"] {
    display: inline-block;
  }

  .gender-switch .gender-divider {
    display: inline-block;
    margin-left: 6px;
    margin-right: 0;
  }

  .gender-switch .chip[data-gender="her"] {
    margin-top: 6px;
  }

  .divforlogo {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .logo {
    width: 78px;
  }

  .name {
    font-size: 32px;
  }

  .headerlinks {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-top: -4px;
  }

  .headerlinks > div {
    flex: 0 0 auto;
  }

  .shoe-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .shoe-item--large,
  .shoe-item--small {
    min-height: 220px;
  }

  .shoe-side {
    grid-template-rows: auto;
  }

  .photo-row,
  .photo-row--top,
  .photo-row--bottom,
  .photo-row--single {
    grid-template-columns: 1fr;
  }

  .photo-row--top {
    grid-template-columns: 1fr;
  }

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

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

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

  .page {
    padding: 20px 16px 56px;
  }

  .hero-copy h2,
  .category-hero h2 {
    font-size: 30px;
  }

  .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .chip-row::-webkit-scrollbar,
  .headerlinks::-webkit-scrollbar {
    height: 4px;
  }

  .chip-row::-webkit-scrollbar-thumb,
  .headerlinks::-webkit-scrollbar-thumb {
    background: rgba(31, 28, 25, 0.25);
    border-radius: 999px;
  }
}

@media (min-width: 721px) {
  .headerlinks {
    width: 100%;
    justify-content: space-between;
  }

  .headerlinks > div {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
  }
}

.chip--solid {
  background: #1f1c19;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.chip--solid:hover,
.chip--solid:focus-visible {
  background: #0f0c09;
  transform: translateY(-1px);
}

.buyer-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.buyer-cta {
  margin-top: 18px;
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: none;
  transform: none;
  text-decoration: none;
  letter-spacing: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  align-self: flex-start;
  word-break: break-word;
}

.buyer-cta:hover,
.buyer-cta:focus-visible {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 12px 26px rgba(31, 28, 25, 0.08);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .buyer-cta {
    width: 100%;
    justify-content: center;
  }
}

.buyer-form input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(31, 28, 25, 0.2);
  padding: 10px 12px;
  font-size: 14px;
}

.buyer-success {
  margin-top: 12px;
  color: var(--muted);
}

.cart-section {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(31, 28, 25, 0.08);
}

.cart-item-photo {
  width: 100%;
  height: 100px;
  object-fit: contain;
  border-radius: 14px;
  background: #f7f4f0;
}

.cart-item-info h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
}

.cart-item-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-remove {
  background: transparent;
  border: 1px solid rgba(31, 28, 25, 0.2);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-remove:hover,
.cart-remove:focus-visible {
  border-color: #1f1c19;
}

.cart-form {
  display: grid;
  gap: 12px;
}

.cart-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.cart-consent input {
  margin-top: 2px;
}

.cart-consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-form input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(31, 28, 25, 0.2);
  padding: 10px 12px;
  font-size: 14px;
}

.cart-empty {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(31, 28, 25, 0.08);
}

.cart-success {
  margin-top: 12px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(31, 28, 25, 0.08);
  margin-top: 32px;
  padding: 22px 0 28px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 10px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #003399;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-bottom-color: var(--ink);
}

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

.featured {
  margin-top: 16px;
}

.featured .mosaic-grid {
  margin-top: 0;
}

.mosaic-grid {
  column-count: 3;
  column-gap: 14px;
}

.mosaic-grid .shoe-item,
.mosaic-grid .info-card {
  min-height: 0;
  display: inline-block;
  width: 100%;
  margin-bottom: 14px;
  break-inside: avoid;
}

.mosaic-grid .shoe-item {
  height: auto;
}

.mosaic-grid .shoe-photo {
  height: auto;
  object-fit: contain;
}

.mosaic-grid .info-card {
  height: auto;
}

@media (max-width: 1180px) {
  .mosaic-grid {
    column-count: 2;
  }
}

@media (max-width: 960px) {
  .cart-section {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 90px 1fr;
  }

  .cart-remove {
    justify-self: start;
  }
}
