.fc-catalog-page .site-product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.fc-catalog-page .site-product-card {
  padding: 0;
  gap: 0;
  border-radius: 9px;
  box-shadow: none;
}
.fc-catalog-page .site-product-card > img,
.fc-catalog-page .site-product-card > .site-placeholder {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f1f1f1;
  border-radius: 8px 8px 0 0;
}
.fc-catalog-page .site-product-card h3 {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
  padding: 10px 9px 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 54px;
}
.fc-catalog-page .site-product-card > strong {
  font-size: 16px;
  color: #191919;
  padding: 3px 9px 10px;
  margin-top: auto;
}
.fc-catalog-page .site-product-card > .site-muted {
  font-size: 12px;
  line-height: 1.4;
  padding: 0 9px 12px;
}
.fc-category-banner {
  position: relative;
  margin-bottom: 22px;
}
.fc-category-track {
  display: flex;
  gap: 16px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.fc-category-track::-webkit-scrollbar {
  display: none;
}
.fc-category-track > a {
  flex: 0 0 calc((100% - 16px) / 2);
  scroll-snap-align: start;
  display: block;
}
.fc-category-track img {
  width: 100%;
  aspect-ratio: 594/120;
  object-fit: cover;
  border-radius: 9px;
}
.fc-category-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 7px 0;
}
.fc-category-dots button {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: #bbbbbb;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.fc-category-dots button.active {
  background: #ed1d1d;
  width: 20px;
}
.fc-category-brands {
  display: flex;
  gap: 10px;
  overflow: auto;
  scrollbar-width: none;
  margin: 10px 0 24px;
  padding: 0 0 9px;
}
.fc-category-brands a {
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.fc-category-brands img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fc-category-brands a:hover {
  border-color: #ed1d1d;
}
.fc-catalog-toolbar {
  border-top: 1px solid #eeeeee;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.fc-catalog-toolbar h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  margin-right: auto;
}
.fc-catalog-sort {
  display: flex;
  align-items: center;
  border: 1px solid #e6e6e6;
  border-radius: 7px;
  overflow: hidden;
}
.fc-catalog-sort a {
  padding: 8px 14px;
  white-space: nowrap;
  font-size: 14px;
  color: #59616b;
}
.fc-catalog-sort a.active {
  border: 1px solid #ed1d1d;
  color: #ed1d1d;
  border-radius: 5px;
}
.fc-catalog-sort select {
  border: 0;
  border-left: 1px solid #eeeeee;
  background: white;
  min-height: 36px;
  padding: 6px 10px;
  font: inherit;
  font-size: 14px;
  max-width: 160px;
}
.fc-catalog-filters {
  position: relative;
}
.fc-catalog-filters summary {
  cursor: pointer;
  border: 1px solid #dddddd;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 14px;
  white-space: nowrap;
}
.fc-catalog-filters[open] {
  flex-basis: 100%;
  order: 10;
}
.fc-catalog-filters .site-filters {
  margin-top: 12px;
}
.fc-catalog-count {
  font-size: 12px;
  color: #777777;
  margin: 10px 0;
}
.fc-checkout-sheet {
  position: fixed;
  inset: auto 0 0;
  max-width: calc(100vw - 32px);
  width: 1100px;
  margin: 0 auto;
  border: 0;
  padding: 0;
  border-radius: 18px 18px 0 0;
  background: white;
  color: #252525;
  height: 90dvh;
  max-height: 90dvh;
  display: none;
  grid-template-rows: 68px minmax(0, 1fr) auto;
  overflow: hidden;
  font: inherit;
  animation: fc-sheet-up 0.3s ease;
}
.fc-checkout-sheet[open] {
  display: grid;
}
.fc-checkout-sheet::backdrop {
  background: #00000066;
}
.fc-checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eeeeee;
  padding: 14px 24px;
  background: white;
}
.fc-checkout-head h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.fc-checkout-body {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 16px 24px 24px;
}
.fc-checkout-progress p {
  font-size: 14px;
  color: #7f8790;
  margin: 0 0 8px;
}
.fc-checkout-progress > div {
  display: flex;
  gap: 7px;
}
.fc-checkout-progress span {
  height: 5px;
  flex: 1;
  background: #ededed;
  border-radius: 5px;
}
.fc-checkout-progress span:first-child,
.fc-checkout-progress .final span {
  background: #ed1d1d;
}
.fc-checkout-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px;
  margin-top: 22px;
  align-items: start;
}
.fc-checkout-form h3,
.fc-checkout-summary h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 10px;
}
.fc-checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fc-checkout-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  margin-bottom: 12px;
  min-width: 0;
}
.fc-checkout-field input,
.fc-checkout-field textarea,
.fc-checkout-stores > input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  border: 1px solid #e1e3e6;
  padding: 13px 14px;
  border-radius: 10px;
  box-sizing: border-box;
  outline: none;
  background: white;
  min-height: 48px;
  min-width: 0;
  color: #222222;
}
.fc-checkout-field input:focus,
.fc-checkout-field textarea:focus {
  border-color: #ed1d1d;
}
.fc-checkout-field textarea {
  height: 85px;
  resize: vertical;
}
.fc-checkout-fields .fc-checkout-field:last-child {
  grid-column: 1/-1;
}
.fc-checkout-fulfillment {
  margin: 18px 0;
}
.fc-checkout-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 12px;
  margin: 8px 0;
  cursor: pointer;
  min-width: 0;
}
.fc-checkout-choice > input {
  flex-shrink: 0;
  accent-color: #ed1d1d;
}
.fc-checkout-choice > div {
  min-width: 0;
}
.fc-checkout-choice strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
  line-height: 1.6;
}
.fc-checkout-choice small {
  font-size: 12px;
  color: #7b8391;
  display: block;
  margin-top: 4px;
}
.fc-checkout-choice:has(:checked) {
  border-color: #ed1d1d;
  background: #ffffff;
}
.fc-checkout-choice.unavailable {
  color: #7f8790;
  cursor: not-allowed;
  background: #f8f8f8;
}
.fc-checkout-stores {
  margin-top: 18px;
}
.fc-checkout-stores > input {
  margin: 0 0 10px;
}
.fc-checkout-store-list {
  max-height: 270px;
  overflow: auto;
  scrollbar-width: thin;
}
.fc-checkout-store-choice {
  background: #f6f6f6;
}
.fc-checkout-store-choice strong {
  font-size: 15px;
  font-weight: 400;
}
.fc-checkout-summary {
  border: 1px solid #e1e3e6;
  border-radius: 12px;
  padding: 18px;
  background: #fafafa;
  position: sticky;
  top: 0;
  min-width: 0;
}
.fc-checkout-products {
  max-height: 300px;
  overflow: auto;
  scrollbar-width: thin;
}
.fc-checkout-product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  background: #ffffff;
  min-width: 0;
}
.fc-checkout-product > img,
.fc-checkout-product > .site-placeholder {
  height: 64px;
  width: 64px;
  object-fit: contain;
  min-width: 0;
}
.fc-checkout-product p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
.fc-checkout-product small {
  font-size: 11px;
  color: #777777;
}
.fc-checkout-product > strong {
  font-size: 14px;
  white-space: nowrap;
}
.fc-checkout-breakdown {
  border-top: 1px solid #eeeeee;
  padding-top: 10px;
  margin-top: 10px;
}
.fc-checkout-breakdown p {
  font-size: 14px;
  margin: 8px 0;
}
.fc-checkout-grand {
  font-size: 25px;
  color: #ed1d1d;
  display: block;
  margin-top: 16px;
}
.fc-checkout-footer {
  background: white;
  border-top: 1px solid #eeeeee;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.fc-checkout-total-toggle {
  border: 0;
  background: none;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: #222222;
}
.fc-checkout-total-area small {
  display: block;
  font-size: 12px;
  color: #999999;
  margin-top: 4px;
}
.fc-checkout-footer .fc-primary {
  min-width: 240px;
  font-weight: 600;
}
.fc-checkout-message:not(:empty) {
  border: 1px solid #eeeeee;
  background: #ffffff;
  border-radius: 8px;
  padding: 12px;
  margin-top: 14px;
}
.fc-checkout-review {
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  background: #fafafa;
}
.fc-checkout-review p {
  font-size: 14px;
  line-height: 1.7;
  margin: 6px 0;
}
.fc-checkout-confirm > .fc-text-button {
  margin-bottom: 22px;
}
.fc-checkout-coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 20px;
}
.fc-checkout-coupon > .fc-checkout-field {
  margin: 0;
}
.fc-coupon-apply {
  height: 48px;
  min-width: 90px;
  font: inherit;
  font-size: 14px;
  color: #ed1d1d;
  border: 1px solid #ed1d1d;
  border-radius: 10px;
  background: white;
  cursor: pointer;
}
.fc-checkout-coupon > p {
  grid-column: 1/-1;
  font-size: 13px;
  margin: 0;
  color: #777777;
}
@media (max-width: 1279px) {
  .fc-catalog-page .site-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .fc-catalog-page .site-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .fc-checkout-content {
    gap: 20px;
  }
  .fc-checkout-product {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .fc-checkout-product > strong {
    grid-column: 2;
  }
  .fc-checkout-product > img {
    grid-row: span 2;
  }
}
@media (max-width: 760px) {
  .fc-catalog-page .site-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .fc-category-track > a {
    flex-basis: 100%;
  }
  .fc-category-track {
    gap: 10px;
  }
  .fc-category-banner {
    margin-bottom: 14px;
  }
  .fc-category-brands a {
    height: 48px;
    width: 48px;
  }
  .fc-category-brands {
    gap: 8px;
    margin: 8px 0 12px;
  }
  .fc-catalog-toolbar {
    gap: 10px;
    padding-top: 12px;
  }
  .fc-catalog-toolbar h2 {
    font-size: 16px;
    flex-basis: 100%;
  }
  .fc-catalog-sort {
    flex: 1;
  }
  .fc-catalog-sort a {
    padding: 7px 10px;
    font-size: 12px;
  }
  .fc-catalog-sort select {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    padding: 6px;
  }
  .fc-catalog-filters summary {
    font-size: 12px;
  }
  .fc-catalog-filters .site-filters {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }
  .fc-catalog-filters .site-filters .site-btn {
    grid-column: 1/-1;
  }
  .fc-catalog-count {
    font-size: 11px;
  }
  .fc-checkout-sheet {
    width: 100%;
    max-width: 100%;
    height: 90dvh;
    grid-template-rows: 56px minmax(0, 1fr) auto;
  }
  .fc-checkout-head {
    padding: 10px 14px;
  }
  .fc-checkout-head h2 {
    font-size: 17px;
  }
  .fc-checkout-head .fc-close {
    width: 32px;
    height: 32px;
  }
  .fc-checkout-body {
    padding: 10px 12px 16px;
  }
  .fc-checkout-content {
    display: flex;
    flex-direction: column-reverse;
    gap: 14px;
    margin-top: 12px;
  }
  .fc-checkout-form,
  .fc-checkout-summary {
    width: 100%;
    box-sizing: border-box;
  }
  .fc-checkout-summary {
    position: static;
    background: none;
    border: 0;
    padding: 0;
  }
  .fc-checkout-summary > h3 {
    display: none;
  }
  .fc-checkout-product {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    padding: 9px;
    gap: 8px;
  }
  .fc-checkout-product > img {
    grid-row: auto;
    height: 50px;
    width: 50px;
  }
  .fc-checkout-product > strong {
    grid-column: auto;
    font-size: 13px;
  }
  .fc-checkout-product p {
    font-size: 12px;
  }
  .fc-checkout-breakdown {
    display: none;
  }
  .fc-checkout-summary.expanded .fc-checkout-breakdown {
    display: block;
    padding: 10px;
    background: #fafafa;
    border-radius: 10px;
  }
  .fc-checkout-fields {
    display: block;
  }
  .fc-checkout-field {
    margin-bottom: 10px;
  }
  .fc-checkout-info h3,
  .fc-checkout-confirm h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .fc-checkout-field > span {
    font-size: 13px;
  }
  .fc-checkout-field input {
    min-height: 46px;
  }
  .fc-checkout-store-list {
    max-height: 220px;
  }
  .fc-checkout-footer {
    display: block;
    padding: 10px 12px max(12px, env(safe-area-inset-bottom));
  }
  .fc-checkout-total-area {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .fc-checkout-total-toggle {
    font-size: 15px;
  }
  .fc-checkout-total-area small {
    margin: 0;
  }
  .fc-checkout-footer .fc-primary {
    width: 100%;
    min-width: 0;
    height: 48px;
    min-height: 48px;
  }
  .fc-checkout-choice strong {
    font-size: 13px;
  }
  .fc-checkout-review p {
    font-size: 13px;
  }
  .fc-checkout-products {
    max-height: 190px;
  }
}
@media (max-width: 639px) {
  .fc-catalog-page .site-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .fc-catalog-page .site-product-card h3 {
    font-size: 13px;
    padding: 9px 7px 5px;
    min-height: 50px;
  }
  .fc-catalog-page .site-product-card > strong {
    font-size: 15px;
    padding: 2px 7px 8px;
  }
  .fc-catalog-page .site-product-card > .site-muted {
    font-size: 11px;
    padding: 0 7px 9px;
  }
  .fc-category-brands {
    margin-left: 0;
    margin-right: -2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fc-checkout-sheet {
    animation: none;
  }
}
.fc-checkout-stores > .fc-text-button {
  font-size: 13px;
  margin: 0 0 8px;
}
.fc-checkout-stores .fc-store-filters select {
  font-size: 14px;
  height: 44px;
}
.fc-category-dots button {
  min-height: 0;
  max-height: 6px;
  box-shadow: none;
}
@media (max-width: 639px) {
  .site-page.fc-catalog-page {
    width: calc(100% - 24px);
  }
  .site-page.fc-catalog-page > .site-breadcrumb {
    padding: 6px 0;
    font-size: 12px;
    line-height: 18px;
  }
  .fc-catalog-page .fc-category-banner {
    margin-bottom: 6px;
  }
  .site-page.fc-catalog-page > h1 {
    font-size: 17px;
  }
}
.fc-checkout-fields .fc-checkout-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .fc-checkout-content {
    gap: 8px;
  }
  .fc-checkout-product {
    margin-bottom: 4px;
  }
  .fc-checkout-fields .fc-checkout-field {
    margin-bottom: 9px;
  }
}
/* Route state overrides the homepage-only colours in the imported shell. */
.fc-route-nav .fc-route-nav-item > div {
  color: #3b3b3b !important;
  background: #f6f6f6 !important;
}
.fc-route-nav .fc-route-current > div {
  color: #ed1d1d !important;
  background: #f6f6f6 !important;
}
.fc-route-nav-item svg { color: inherit; }
.fc-route-nav-item svg [fill]:not([fill="none"]) { fill: currentColor !important; }
.fc-route-nav-item svg [stroke]:not([stroke="none"]) { stroke: currentColor !important; }
