/* Generated by scripts/build-catalog-css.mjs — do not edit.
   Source: src/styles/catalog-v2-sitio-web-legacy-quick-list/index.css */

/* src/styles/catalog-v2-sitio-web-legacy/tokens.css */
:root {
  color-scheme: light;
  --catalog-primary: #7d8f4a;
  --catalog-secondary: #0f172a;
  --catalog-bg: #f8f8f6;
  --catalog-surface: #ffffff;
  --catalog-text: #202513;
  --catalog-text-muted: #5b6350;
  --catalog-border: #e4e6dc;
  --catalog-font: 'Nunito', ui-sans-serif, system-ui, sans-serif;
  --catalog-heading-font: 'Fraunces', Georgia, 'Times New Roman', serif;
  --catalog-accent: #7d8f4a;
  --catalog-accent-contrast: #0f172a;
  --catalog-whatsapp: #25d366;
  --sw-space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --sw-space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --sw-space-md: clamp(1.25rem, 2.5vw, 2rem);
  --sw-space-lg: clamp(2rem, 5vw, 4rem);
  --sw-radius-sm: 10px;
  --sw-radius-md: 14px;
  --sw-radius-lg: 20px;
  --sw-radius-full: 9999px;
  --catalog-radius-sm: var(--sw-radius-sm);
  --catalog-radius-md: var(--sw-radius-md);
  --catalog-radius-full: var(--sw-radius-full);
  --catalog-btn-radius: var(--sw-radius-full);
  --catalog-on-primary: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--catalog-bg);
  color: var(--catalog-text);
  font-family: var(--catalog-font);
  line-height: 1.5;
  /* Full-bleed pieces (hero video) span 100vw, which includes the scrollbar. */
  overflow-x: clip;
}

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

button,
input {
  font-family: inherit;
}

.catalog-page {
  margin: 0 auto;
  max-width: 72rem;
  padding: 0 clamp(1rem, 4vw, 2rem) var(--sw-space-lg);
  position: relative;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.error-not-found,
.error-server {
  padding: 48px 24px;
  text-align: center;
  color: var(--catalog-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* src/styles/catalog-v2-sitio-web-legacy/layout.css */
.sw-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem));
  padding: var(--sw-space-sm) clamp(1rem, 4vw, 2rem);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--catalog-border);
  /* `.catalog-page` caps the width; the outset paints the bar edge to edge without adding scroll. */
  border-image: linear-gradient(
      to top,
      var(--catalog-border) 1px,
      color-mix(in srgb, var(--catalog-surface) 92%, transparent) 1px
    )
    fill 0 / 0 / 0 100vmax;
}

.sw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sw-space-md);
}

.sw-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.sw-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--sw-radius-full);
  object-fit: cover;
  border: 1px solid var(--catalog-border);
}

.sw-brand-name {
  font-family: var(--catalog-heading-font);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--catalog-store-name-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The cart button stays on mobile; search and contact move to the hero there. */
.sw-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sw-header-actions .sw-search,
.sw-header-actions .sw-contact-link {
  display: none;
}

.sw-search input,
.sw-search-mobile input {
  width: min(18rem, 100%);
  border: 1px solid var(--catalog-border);
  border-radius: var(--sw-radius-md);
  background: var(--catalog-surface);
  color: var(--catalog-text);
  padding: 0.65rem 1rem;
}

.sw-search input:focus,
.sw-search-mobile input:focus,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--catalog-primary);
  outline-offset: 2px;
}

.sw-contact-link,
.sw-detail-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: var(--sw-radius-full);
  background: var(--catalog-primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/*
 * Full bleed (the inline padding gives the width back to the content), so the preview frame
 * always wraps the whole background area, with or without an asset.
 */
.sw-hero {
  display: grid;
  gap: var(--sw-space-md);
  margin-inline: calc(50% - 50vw);
  padding: var(--sw-space-lg) calc(50vw - 50%) var(--sw-space-md);
  align-items: center;
  position: relative;
  isolation: isolate;
}

.sw-hero-copy {
  max-width: 34rem;
}

.sw-hero-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--sw-radius-full);
  background: color-mix(in srgb, var(--catalog-primary) 14%, transparent);
  color: var(--catalog-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sw-hero-title {
  margin: 0;
  font-family: var(--catalog-heading-font);
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--catalog-store-name-color);
  letter-spacing: -0.02em;
}

.sw-hero-location {
  margin: 0.75rem 0 0;
  color: var(--catalog-text-muted);
}

.sw-hero-location:empty {
  display: none;
}

.sw-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--sw-radius-full);
  background: var(--catalog-primary);
  color: #fff;
  font-weight: 700;
}

.sw-hero-description {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  line-height: 1.5;
}

.sw-hero-description:empty {
  display: none;
}

/*
 * Two independent pieces:
 * - background (`hero:media`): image or video behind the whole hero, full bleed like the header,
 *   only for its variant and when the asset exists (`data-tv-media-ready`). `cover` crops the
 *   edges that do not fit the hero's ratio, as any background does.
 * - side image (`hero:sideImage`): beside the copy, only when it has a `src`.
 */
.sw-hero-background,
.sw-hero-background-image,
.sw-hero-background-video,
.sw-hero-visual {
  display: none;
}

.sw-hero[data-tv-media-ready] {
  min-height: clamp(22rem, 55vh, 34rem);
  color: #fff;
}

.sw-hero[data-tv-media-ready] .sw-hero-background {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #000;
}

.sw-hero[data-tv-media-variant='image'][data-tv-media-ready] .sw-hero-background-image,
.sw-hero[data-tv-media-variant='video'][data-tv-media-ready] .sw-hero-background-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.sw-hero[data-tv-media-ready] .sw-hero-title,
.sw-hero[data-tv-media-ready] .sw-hero-location {
  color: #fff;
}

.sw-hero[data-tv-media-ready] .sw-hero-eyebrow {
  background: rgb(255 255 255 / 18%);
  color: #fff;
}

.sw-hero-visual {
  position: relative;
}

.sw-hero-visual:has(.sw-hero-image[src]) {
  display: block;
}

.sw-hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--sw-radius-lg);
  border: 1px solid var(--catalog-border);
}

/* Without a side image (and outside select mode): center the copy over the background or on its own. */
html:not([data-tv-select]) .sw-hero:not(:has(.sw-hero-image[src])):is([data-tv-media-variant='text'], [data-tv-media-ready]) {
  justify-items: center;
  text-align: center;
}

/* Select mode only: empty hero slots stay visible so the merchant can find and click them. */
html[data-tv-select] .sw-hero-description:empty,
html[data-tv-select] .catalog-heading:empty {
  display: block;
}

html[data-tv-select] .sw-hero-description:empty::before,
html[data-tv-select] .catalog-heading:empty::before {
  content: attr(data-tv-placeholder);
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px dashed var(--catalog-border);
  border-radius: var(--sw-radius-full);
  color: var(--catalog-text-muted);
  font-size: 0.95rem;
}

html[data-tv-select] .sw-hero[data-tv-media-ready] .sw-hero-description:empty::before {
  border-color: rgb(255 255 255 / 60%);
  color: rgb(255 255 255 / 85%);
}

html[data-tv-select] .sw-hero-visual:not(:has(.sw-hero-image[src])) {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: var(--sw-space-md);
  border: 2px dashed color-mix(in srgb, var(--catalog-primary) 45%, var(--catalog-border));
  border-radius: var(--sw-radius-lg);
  background: color-mix(in srgb, var(--catalog-primary) 6%, var(--catalog-surface));
  color: var(--catalog-text-muted);
  text-align: center;
  font-weight: 600;
}

html[data-tv-select] .sw-hero-visual:not(:has(.sw-hero-image[src]))::before {
  content: '+ ' attr(data-tv-placeholder);
}

/* The empty <img> covers the placeholder so a click on it selects `hero:sideImage`, not the background. */
html[data-tv-select] .sw-hero-image:not([src]) {
  position: absolute;
  inset: 0;
  height: 100%;
  border: 0;
}

.sw-search-mobile {
  display: block;
  margin-bottom: var(--sw-space-md);
}

/* The media paints the hero's padding, so the gap has to live on the search. */
.sw-hero[data-tv-media-ready] + .sw-search-mobile {
  margin-top: var(--sw-space-md);
}

.sw-search-mobile input {
  width: 100%;
}

@media (min-width: 860px) {
  .sw-header-actions .sw-search {
    display: block;
  }

  .sw-header-actions .sw-contact-link {
    display: inline-flex;
  }

  .sw-search-mobile {
    display: none;
  }

  .sw-hero:has(.sw-hero-image[src]),
  html[data-tv-select] .sw-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  }
}

/* src/styles/catalog-v2-sitio-web-legacy/catalog.css */
.sw-catalog-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: var(--sw-space-md);
  border-top: 1px solid var(--catalog-border);
  padding-top: var(--sw-space-md);
}

.catalog-heading {
  margin: 0;
  font-family: var(--catalog-heading-font);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 600;
}

.catalog-heading:empty {
  display: none;
}

.sw-catalog-count {
  margin: 0 0 var(--sw-space-sm);
  color: var(--catalog-text-muted);
  font-size: 0.95rem;
}

/* Desktop: a filters sidebar next to the product grid. Mobile: filters
   stacked in a horizontal toolbar above the grid. */
.sw-layout {
  display: block;
}

.catalog-toolbar {
  display: grid;
  gap: var(--sw-space-sm);
  margin-bottom: var(--sw-space-md);
}

.sw-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.category-pill {
  flex: 0 0 auto;
  border: 1px solid var(--catalog-border);
  background: var(--catalog-surface);
  color: var(--catalog-text);
  padding: 0.55rem 1rem;
  border-radius: var(--sw-radius-full);
  cursor: pointer;
  white-space: nowrap;
}

.category-pill[data-active='true'] {
  background: var(--catalog-primary);
  border-color: var(--catalog-primary);
  color: #fff;
}

.sw-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.sort-dropdown {
  position: relative;
}

.sort-toggle,
.view-toggle-button {
  border: 1px solid var(--catalog-border);
  background: var(--catalog-surface);
  color: var(--catalog-text);
  padding: 0.55rem 0.9rem;
  border-radius: var(--sw-radius-md);
  cursor: pointer;
}

.sw-grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: var(--sw-space-sm);
}

.sw-grid-head .sw-catalog-count {
  margin: 0;
}

.sort-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  border-radius: var(--sw-radius-full);
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
}

.sort-toggle-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.sort-toggle-prefix {
  color: var(--catalog-text-muted);
}

.sort-toggle-icon,
.sort-toggle-chevron {
  flex: 0 0 auto;
  color: var(--catalog-primary);
}

.sort-toggle[aria-expanded='true'] {
  border-color: var(--catalog-primary);
}

.sort-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  box-sizing: border-box;
  background: var(--catalog-surface);
  border: 1px solid var(--catalog-border);
  border-radius: var(--sw-radius-md);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--catalog-text) 12%, transparent);
}

.sort-dropdown[data-open='false'] .sort-menu {
  display: none;
}

.sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--catalog-text);
  border-radius: var(--sw-radius-sm);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.sort-option-check {
  visibility: hidden;
  color: var(--catalog-primary);
}

.sort-option[data-selected='true'] .sort-option-check {
  visibility: visible;
}

.sort-option[data-selected='true'] {
  color: var(--catalog-primary);
  font-weight: 600;
}

.sort-option[data-selected='true'],
.sort-option:hover {
  background: color-mix(in srgb, var(--catalog-primary) 10%, transparent);
}

.view-toggle {
  display: inline-flex;
  border: 1px solid var(--catalog-border);
  border-radius: var(--sw-radius-md);
  overflow: hidden;
}

.view-toggle-button {
  border: 0;
  border-right: 1px solid var(--catalog-border);
  border-radius: 0;
}

.view-toggle-button:last-child {
  border-right: 0;
}

.view-toggle-button[data-active='true'] {
  background: var(--catalog-primary);
  color: #fff;
}

@media (min-width: 860px) and (max-width: 959px) {
  .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .sw-layout {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    align-items: start;
    gap: var(--sw-space-lg);
  }

  .catalog-toolbar {
    position: sticky;
    top: calc(4.5rem + var(--sw-space-sm));
    margin-bottom: 0;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    min-width: 0;
    gap: var(--sw-space-md);
  }

  .sw-pills {
    flex-direction: column;
    overflow-x: visible;
    align-items: stretch;
    gap: 0.5rem;
  }

  .category-pill {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    border-radius: var(--sw-radius-md);
  }

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

  .view-toggle {
    align-self: flex-start;
  }
}

/* src/styles/catalog-v2-sitio-web-legacy/product-grid.css */
.catalog-grid-wrap {
  min-width: 0;
}

.product-grid,
.sw-product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sw-space-md);
}

.product-grid[hidden],
.sw-product-grid[hidden],
.catalog-empty-state[hidden],
[data-catalog-skeleton][hidden] {
  display: none !important;
}

@media (min-width: 640px) {
  .sw-product-grid[data-view='grid'] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .sw-product-grid[data-view='grid'] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sw-product-grid[data-view='list'] {
  grid-template-columns: 1fr;
}

.product-card-item {
  min-width: 0;
}

.product-card,
.sw-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--catalog-surface);
  border: 1px solid var(--catalog-border);
  border-radius: var(--sw-radius-lg);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}

.sw-product-grid[data-view='list'] .product-card {
  flex-direction: row;
}

.sw-product-grid[data-view='list'] .product-card-media {
  width: 8rem;
  flex-shrink: 0;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--catalog-text) 10%, transparent);
}

.product-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card-media,
.sw-product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--catalog-primary) 12%, var(--catalog-surface));
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sw-product-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--catalog-heading-font);
  font-size: 2.25rem;
  color: var(--catalog-primary);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--catalog-primary) 18%, transparent), transparent),
    var(--catalog-surface);
}

.product-card-body,
.sw-product-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  padding: 1rem 1.1rem 1.1rem;
}

.sw-product-category {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--catalog-text-muted);
}

.product-card-title {
  margin: 0;
  font-family: var(--catalog-heading-font);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 600;
  line-height: 1.2;
}

.product-card-description {
  margin: 0;
  color: var(--catalog-text-muted);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-out-of-stock {
  margin: 0;
  color: var(--catalog-secondary);
  font-weight: 600;
  font-size: 0.85rem;
}

.product-card-footer,
.sw-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.sw-product-footer:has(.catalog-price-converted) {
  flex-wrap: wrap;
}

.sw-product-footer:has(.catalog-available-units) {
  flex-wrap: wrap;
}

.product-card-price {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.product-add-button,
.sw-add-button {
  position: relative;
  z-index: 2;
  border: 0;
  border-radius: var(--sw-radius-full);
  background: var(--catalog-primary);
  color: #fff;
  padding: 0.55rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.product-cart-control {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.product-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.6rem;
  border-radius: var(--sw-radius-full);
  border: 1px solid var(--catalog-border);
  background: #fff;
}

.product-qty-decrease,
.product-qty-increase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: var(--catalog-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

[data-cart-qty-stepper-value] {
  min-width: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* .product-qty-stepper sets its own `display`, which
   beats the UA [hidden] rule and left add/stepper visible at once. */
.product-add-button[hidden],
.product-qty-stepper[hidden] {
  display: none;
}

.catalog-empty-state {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--catalog-text-muted);
}

.catalog-empty-state-title {
  margin: 0 0 0.5rem;
  color: var(--catalog-text);
  font-weight: 700;
}

.catalog-empty-state-text {
  margin: 0;
}

.catalog-empty-reset {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--catalog-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--sw-space-md);
}

.catalog-next-page {
  display: inline-flex;
  padding: 0.8rem 1.4rem;
  border-radius: var(--sw-radius-full);
  background: var(--catalog-secondary);
  color: #fff;
  font-weight: 600;
}

.product-grid-skeleton .skeleton-block,
.product-grid-skeleton .skeleton-line {
  display: block;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--catalog-border) 70%, transparent),
    color-mix(in srgb, var(--catalog-surface) 80%, transparent),
    color-mix(in srgb, var(--catalog-border) 70%, transparent)
  );
  background-size: 200% 100%;
  animation: sw-skeleton 1.4s ease-in-out infinite;
}

.skeleton-line {
  height: 0.85rem;
  margin-bottom: 0.5rem;
}

.skeleton-line-title {
  width: 70%;
  height: 1.1rem;
}

.skeleton-line-price {
  width: 35%;
}

.skeleton-add-button {
  width: 4.5rem;
  height: 2rem;
}

@keyframes sw-skeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-grid-skeleton .skeleton-block,
  .product-grid-skeleton .skeleton-line {
    animation: none;
  }
}

/* src/styles/catalog-v2-sitio-web-legacy/detail.css */
.sw-detail-header,
.product-detail-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem));
  padding: var(--sw-space-sm) clamp(1rem, 4vw, 2rem);
  border-bottom: 1px solid var(--catalog-border);
  /* Same edge-to-edge bar as `.sw-header`. */
  border-image: linear-gradient(
      to top,
      var(--catalog-border) 1px,
      color-mix(in srgb, var(--catalog-surface) 92%, transparent) 1px
    )
    fill 0 / 0 / 0 100vmax;
}

.sw-detail-header h1,
.product-detail-header h1 {
  margin: 0;
  font-family: var(--catalog-heading-font);
  font-size: 1.1rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--catalog-border);
  border-radius: var(--sw-radius-full);
  background: var(--catalog-surface);
  color: var(--catalog-text);
}

.sw-detail,
.product-detail {
  display: grid;
  gap: var(--sw-space-md);
  padding: var(--sw-space-md) 0 var(--sw-space-lg);
}

.sw-detail-image-wrap,
.product-detail-image-wrap {
  overflow: hidden;
  border: 1px solid var(--catalog-border);
  border-radius: var(--sw-radius-lg);
  background: var(--catalog-surface);
  aspect-ratio: 4 / 3;
}

.product-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sw-detail-placeholder {
  min-height: 16rem;
}

.sw-detail-copy {
  max-width: 36rem;
}

.product-detail-name {
  margin: 0;
  font-family: var(--catalog-heading-font);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
}

.product-detail-price {
  margin: 0.85rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--catalog-primary);
}

.product-detail-out-of-stock {
  margin: 0.75rem 0 0;
  color: var(--catalog-secondary);
  font-weight: 600;
}

.product-detail-description {
  margin: 1.25rem 0 0;
  color: var(--catalog-text-muted);
  font-size: 1.05rem;
}

.product-detail-qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.product-detail-qty [data-qty-value] {
  min-width: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.qty-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--catalog-border);
  border-radius: var(--catalog-btn-radius);
  background: var(--catalog-surface);
  color: var(--catalog-text);
  font-size: 1.1rem;
  cursor: pointer;
}

.sw-detail-cta,
.product-detail-add-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--sw-radius-full);
  background: var(--catalog-primary);
  color: #fff;
  font-weight: 600;
}

.product-detail-not-found {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--catalog-text-muted);
}

@media (min-width: 900px) {
  .sw-detail,
  .product-detail {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

/* src/styles/catalog-v2-sitio-web-legacy/chrome.css */
.whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--sw-radius-full);
  background: var(--catalog-whatsapp);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--catalog-whatsapp) 35%, transparent);
}

.store-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--sw-space-lg);
  padding-top: var(--sw-space-md);
  border-top: 1px solid var(--catalog-border);
  color: var(--catalog-text-muted);
  font-size: 0.9rem;
}

.store-footer-logo {
  height: 1.25rem;
  width: auto;
}

.store-footer-cookies {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.store-footer-cookies button {
  border: 0;
  background: transparent;
  color: var(--catalog-text-muted);
  text-decoration: underline;
  cursor: pointer;
}

/* packages/catalog-cart-island/cart.css */
/**
 * Shared cart-drawer styles for every catalog-v2 Liquid template.
 *
 * Consumed via `@import` from each template's `cart.css` (inlined by
 * `scripts/build-catalog-css.mjs`). Relies only on tokens every template's
 * `tokens.css` defines: `--catalog-primary`, `--catalog-secondary`,
 * `--catalog-bg`, `--catalog-surface`, `--catalog-text`,
 * `--catalog-text-muted`, `--catalog-border`, `--catalog-heading-font`,
 * `--catalog-radius-sm` / `--catalog-radius-md` / `--catalog-radius-full`,
 * and `--catalog-btn-radius` / `--catalog-on-primary` — the shape and
 * on-primary text color of the primary CTA, tuned per template's existing
 * button language (e.g. `default`'s 8px rounded/dark-on-gold vs.
 * `sitio-web-legacy`'s full pill/white-on-primary) rather than forced to
 * one look.
 * The markup contract (data attributes, class names) is emitted by
 * `src/lib/catalog-v2/customTags/cartDrawerTag.ts` and driven by
 * the runtime in `src/lib/catalog-v2/storefront-runtime/cart/` — keep those
 * two in sync with this file.
 *
 * Template-specific chrome (the header's cart-toggle button skin, product
 * detail option pickers) stays in each template's own `cart.css`, which
 * `@import`s this file first.
 */

/*
 * `.catalog-cart-badge` is NOT shared here: its text color is tuned per
 * template against the badge's `--catalog-primary` background (e.g. dark
 * text for `default`'s gold badge vs. white for the others), so each
 * template's own `cart.css` declares it after this import.
 */

.icon-button,
.cart-button {
  position: relative;
}

/* Lock on html only: overflow on body would make it the scroll container and unstick sticky headers. */
html.catalog-cart-open {
  overflow: hidden;
}

.catalog-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.catalog-cart-drawer[hidden] {
  display: none;
}

.catalog-cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
}

.catalog-cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(100%, 420px);
  height: 100%;
  background: var(--catalog-surface);
  color: var(--catalog-text);
  box-shadow: -8px 0 24px rgba(15, 23, 42, 0.14);
}

.catalog-cart-header,
.catalog-cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--catalog-border);
}

.catalog-cart-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  border-bottom: none;
  border-top: 1px solid var(--catalog-border);
  margin-top: auto;
}

.catalog-cart-footer[hidden] {
  display: none;
}

.catalog-cart-title {
  flex: 1;
  margin: 0;
  font-family: var(--catalog-heading-font);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.catalog-cart-close,
.catalog-cart-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--catalog-radius-full);
  background: transparent;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease;
}

.catalog-cart-close:hover,
.catalog-cart-back:hover {
  background: var(--catalog-bg);
}

.catalog-cart-back[hidden] {
  display: none;
}

.catalog-cart-body {
  flex: 1;
  overflow: auto;
  padding: 16px 20px;
}

.catalog-cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--catalog-text-muted);
}

.catalog-cart-empty-title {
  margin: 0 0 8px;
  font-family: var(--catalog-heading-font);
  font-weight: 600;
  color: var(--catalog-text);
}

.catalog-cart-empty-description {
  margin: 0;
}

.catalog-cart-clear {
  display: inline-flex;
  margin-bottom: 12px;
  border: none;
  background: transparent;
  color: var(--catalog-text-muted);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.catalog-cart-view[hidden] {
  display: none;
}

.catalog-cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-cart-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--catalog-border);
  border-radius: var(--catalog-radius-md);
  background: var(--catalog-bg);
}

.catalog-cart-line-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--catalog-radius-sm);
  overflow: hidden;
  background: color-mix(in srgb, var(--catalog-primary) 12%, var(--catalog-surface));
}

.catalog-cart-line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-cart-line-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.catalog-cart-line-title,
.catalog-cart-line-price {
  margin: 0;
}

.catalog-cart-line-title {
  font-family: var(--catalog-heading-font);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-cart-line-price {
  font-weight: 700;
}

.catalog-cart-line-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.catalog-cart-line-qty button,
.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--catalog-radius-full);
  border: 1px solid var(--catalog-border);
  background: transparent;
  color: var(--catalog-text);
  cursor: pointer;
}

.catalog-cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
}

.catalog-cart-total-row span {
  color: var(--catalog-text-muted);
  font-weight: 600;
}

.catalog-cart-total-row strong {
  font-size: 1.125rem;
}

.catalog-cart-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-radius: var(--catalog-btn-radius, var(--catalog-radius-full));
  padding: 14px 20px;
  background: var(--catalog-primary);
  color: var(--catalog-on-primary, #fff);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.catalog-cart-primary-btn:hover {
  filter: brightness(0.95);
}

.catalog-cart-primary-btn[hidden] {
  display: none;
}

.catalog-cart-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 4px;
}

.catalog-cart-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog-cart-field > span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--catalog-text-muted);
}

.catalog-cart-field input,
.catalog-cart-field textarea {
  font: inherit;
  color: var(--catalog-text);
  background: var(--catalog-bg);
  border: 1px solid var(--catalog-border);
  border-radius: var(--catalog-radius-sm);
  padding: 12px 14px;
  font-weight: 400;
}

.catalog-cart-field input {
  height: 46px;
}

.catalog-cart-field textarea {
  min-height: 96px;
  resize: vertical;
}

.catalog-cart-field input:focus,
.catalog-cart-field textarea:focus {
  background: var(--catalog-surface);
  outline: 2px solid var(--catalog-primary);
  outline-offset: 1px;
}

.catalog-cart-field input.is-invalid,
.catalog-cart-field textarea.is-invalid {
  border-color: #dc2626;
}

.catalog-cart-field-error,
.catalog-cart-field > .catalog-cart-field-error {
  color: #dc2626;
  font-size: 0.8125rem;
  font-weight: 600;
}

.catalog-cart-field-error[hidden] {
  display: none;
}

/* Order step (stores that create orders): delivery choice, field rows, alert, confirmation. */

.catalog-cart-primary-btn:disabled {
  opacity: 0.6;
  cursor: progress;
  filter: none;
}

.catalog-cart-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--catalog-border);
  border-radius: var(--catalog-btn-radius, var(--catalog-radius-full));
  padding: 13px 20px;
  background: transparent;
  color: var(--catalog-text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.catalog-cart-secondary-btn:hover {
  background: var(--catalog-bg);
}

.catalog-cart-secondary-btn[hidden] {
  display: none;
}

.catalog-cart-delivery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none;
}

/* `display: flex` would otherwise beat the [hidden] UA rule: with a single delivery option
   the fieldset is hidden and the "how do you want to receive it" question must go with it. */
.catalog-cart-delivery[hidden] {
  display: none;
}

.catalog-cart-delivery legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--catalog-text-muted);
}

.catalog-cart-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--catalog-border);
  border-radius: var(--catalog-radius-sm);
  background: var(--catalog-bg);
  font-weight: 600;
  cursor: pointer;
}

.catalog-cart-choice:has(input:checked) {
  border-color: var(--catalog-primary);
  background: var(--catalog-surface);
}

.catalog-cart-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--catalog-primary);
}

.catalog-cart-choice[hidden] {
  display: none;
}

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

.catalog-cart-phone-row {
  grid-template-columns: 6rem minmax(0, 1fr);
}

.catalog-cart-field-row .catalog-cart-field input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* The dial label wraps in 6rem. Pin both inputs to the bottom so they still line up. */
.catalog-cart-phone-row .catalog-cart-field input {
  margin-top: auto;
}

.catalog-cart-delivery-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-cart-delivery-fields[hidden] {
  display: none;
}

.catalog-cart-form-alert {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-cart-form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--catalog-radius-sm);
  background: color-mix(in srgb, #dc2626 10%, var(--catalog-surface));
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 600;
}

.catalog-cart-form-error[hidden] {
  display: none;
}

.catalog-cart-confirmation {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 32px 4px;
  text-align: center;
}

.catalog-cart-confirmation:focus {
  outline: none;
}

.catalog-cart-confirmation-title {
  margin: 0;
  font-family: var(--catalog-heading-font);
  font-size: 1.25rem;
  font-weight: 600;
}

.catalog-cart-confirmation-number {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--catalog-primary);
}

.catalog-cart-confirmation-description {
  margin: 0 0 12px;
  color: var(--catalog-text-muted);
}

/* src/styles/catalog-v2-sitio-web-legacy/cart.css */
.catalog-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--sw-radius-full);
  background: var(--catalog-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.sw-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--sw-radius-full);
  background: var(--catalog-surface);
  color: inherit;
  cursor: pointer;
}

.product-detail-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-detail-options-label,
.product-detail-attribute-name {
  margin: 0;
  font-weight: 700;
}

.product-detail-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.product-detail-option {
  border: 1px solid var(--catalog-border);
  background: transparent;
  color: var(--catalog-text);
  border-radius: var(--sw-radius-full);
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.product-detail-option.is-selected {
  border-color: var(--catalog-primary);
  background: var(--catalog-primary);
  color: #fff;
}

.product-detail-option.is-disabled,
.product-detail-option:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.product-detail-add-bar {
  border: none;
  cursor: pointer;
  width: 100%;
}

.product-detail-add-bar:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.sw-detail-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.catalog-price-converted {
  margin: 0.15em 0 0;
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.3;
  color: var(--catalog-text-muted);
}

.product-card-footer .catalog-price-converted {
  flex-basis: 100%;
  order: 1;
}

.catalog-cart-footer .catalog-price-converted {
  margin-top: 0;
  text-align: right;
}

.catalog-available-units {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: 0.15em 0 0;
  font-size: 0.8em;
  font-weight: 400;
  line-height: 1.3;
  color: var(--catalog-text-muted);
}

.catalog-available-units::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2e9e5b;
}

.catalog-available-units:empty {
  display: none;
}

html[data-tv-show-units="false"] .catalog-available-units {
  display: none;
}

.product-card-footer .catalog-available-units {
  flex-basis: 100%;
  order: 2;
}

.catalog-cart-required {
  margin-left: 0.2em;
  color: var(--catalog-primary);
  font-weight: 700;
}

.catalog-cart-required-note {
  margin: 0;
  color: var(--catalog-text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* src/styles/catalog-v2-sitio-web-legacy/promotion.css */
/* Promotions: badge, promo price and struck list price (cards, detail and cart). */
.catalog-promo-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: #cc3e33;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.catalog-promo-badge[hidden],
.catalog-price-original[hidden] {
  display: none;
}

.product-card-media {
  position: relative;
}

.product-card-media > .catalog-promo-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1;
}

.catalog-cart-line-media {
  position: relative;
}

/* The cart thumbnail is 72px: a tighter badge keeps the image visible. */
.catalog-cart-line-media > .catalog-promo-badge {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  padding: 0 0.375rem;
  font-size: 0.6875rem;
}

.product-card-price.is-promo,
.product-detail-price.is-promo,
.catalog-cart-line-price.is-promo {
  color: #cc3e33;
}

.catalog-price-original {
  color: #6b7280;
  font-size: 0.85em;
  font-weight: 400;
  text-decoration: line-through;
}

/* Detail, apart from the title: badge and promo price on one line, struck list price below. */
.catalog-promo-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.125rem 0.5rem;
  margin-top: 0.75rem;
}

.catalog-promo-price-row > .catalog-price-original {
  flex-basis: 100%;
}

.catalog-promo-price-row > * {
  margin: 0;
}

/* packages/catalog-cookie-consent-island/cookie-consent.css */
.catalog-cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
}

/* display: flex above would otherwise beat the [hidden] UA rule */
.catalog-cookie-consent[hidden] {
  display: none;
}

.catalog-cookie-consent-panel {
  pointer-events: auto;
  margin: 16px;
  width: min(380px, calc(100% - 32px));
  background: var(--catalog-surface, #ffffff);
  color: var(--catalog-text);
  border-radius: var(--catalog-radius-md, 12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 20px;
  font-family: var(--catalog-font);
}

.catalog-cookie-consent-title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 800;
}

.catalog-cookie-consent-description {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: var(--catalog-text-muted);
  line-height: 1.4;
}

.catalog-cookie-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-cookie-consent-btn {
  border: 1px solid var(--catalog-border);
  border-radius: var(--catalog-btn-radius, var(--catalog-radius-sm, 8px));
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  background: transparent;
  color: var(--catalog-text);
}

.catalog-cookie-consent-btn-primary {
  border-color: var(--catalog-primary);
  background: var(--catalog-primary);
  color: var(--catalog-on-primary, var(--catalog-accent, var(--catalog-text)));
}

.catalog-cookie-consent-category {
  padding: 12px 0;
  border-top: 1px solid var(--catalog-border);
}

.catalog-cookie-consent-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.catalog-cookie-consent-category p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--catalog-text-muted);
}

@media (max-width: 480px) {
  .catalog-cookie-consent-panel {
    width: calc(100% - 24px);
    margin: 12px;
  }
}

/* src/styles/catalog-v2-sitio-web-legacy-quick-list/product-grid.css */
/* Lista rápida: una fila por producto, foto pequeña y botón grande para comprar fácil. */
.sw-product-grid[data-view] {
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.sw-product-grid[data-view] .product-card {
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem;
  border-radius: var(--sw-radius-lg);
}

.sw-product-grid[data-view] .product-card-media {
  width: 5.5rem;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: var(--sw-radius-md, 0.75rem);
}

.sw-product-grid[data-view] .product-card-body {
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0;
}

.sw-product-grid[data-view] .sw-product-meta {
  flex: 1;
  min-width: 0;
}

.sw-product-grid[data-view] .sw-product-category,
.sw-product-grid[data-view] .product-card-description {
  display: none;
}

.sw-product-grid[data-view] .product-card-title {
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sw-product-grid[data-view] .product-card-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding-top: 0;
  gap: 1rem;
}

@media (max-width: 639px) {
  .sw-product-grid[data-view] .product-card-body {
    flex-wrap: wrap;
  }

  .sw-product-grid[data-view] .sw-product-meta {
    flex-basis: 100%;
  }

  .sw-product-grid[data-view] .product-card-footer {
    flex: 1;
  }
}

.sw-product-grid[data-view] .product-add-button,
.sw-product-grid[data-view] .product-qty-stepper {
  min-height: 2.75rem;
  min-width: 2.75rem;
  justify-content: center;
}

.sw-product-grid[data-view] .product-qty-decrease,
.sw-product-grid[data-view] .product-qty-increase {
  width: 2rem;
  height: 2rem;
}

.product-card:hover {
  transform: none;
  box-shadow: none;
}

/* The skin fixes the layout, so the grid/list toggle would do nothing. */
.view-toggle {
  display: none;
}
