.gs-shop-top {
  padding-top: 120px;
  padding-bottom: 64px;
}

.gs-shop-top .container-page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.gs-shop-intro {
  display: flex;
  max-width: 42rem;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.gs-shop-intro .gs-shop-breadcrumb {
  margin-bottom: 12px;
}

.gs-shop-intro h1 {
  margin-top: 12px;
  font-size: clamp(36px, 5vw, 52px);
}

.gs-shop-intro p {
  margin-top: 16px;
  color: var(--muted-foreground);
}

.gs-shop-pills {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gs-shop-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  background: var(--background);
}

.gs-shop-pill:hover {
  background: var(--muted);
}

.gs-shop-pill.active {
  border-color: var(--foreground);
  background: var(--foreground);
  color: var(--background);
}

.gs-shop-grid {
  margin-top: 40px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.gs-shop-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  text-decoration: none;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.gs-shop-card:hover {
  box-shadow: var(--shadow-card);
}

.gs-shop-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--muted);
}

.gs-shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: white;
}

.gs-shop-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  padding: 20px;
  aspect-ratio: 4 / 3;
  height: 50%;
}

.gs-shop-card-body-home{
  height: 42% !important;
}

.gs-shop-card-body > *:not(:first-child):not(:last-child) {
  border-bottom: 1px solid var(--border);
  margin-top: 5px;
  margin-bottom: 10px;
}

.gs-shop-product-title{
  height: auto !important;
}

.gs-shop-product-desc{
  height: 33% !important;
  color: var(--card-foreground);
  overflow: hidden;
}

.gs-shop-category {
  margin: 0;
  font-size: 11px;
  color: var(--muted-foreground);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gs-shop-card-body h3 {
  margin: 0;
  color: var(--foreground);
  font-size: 20px;
  height: 45%;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

.gs-shop-price {
  margin: 8px 0 0;
  color: black;
  font-size: 24px;
  font-weight: 700;
}

.gs-shop-price span {
  font-size: 14px;
  color: var(--muted-foreground);
  font-weight: 500;
}

.gs-shop-empty {
  margin-top: 40px;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .gs-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gs-shop-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gs-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .gs-shop-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* —— Category page (aligned with shop layout) —— */

.gs-category-no-hero {
  min-height: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  pointer-events: none;
}

.gs-shop-breadcrumb {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-foreground);
}

.gs-shop-breadcrumb a {
  color: var(--foreground);
  text-decoration: none;
}

.gs-shop-breadcrumb a:hover {
  text-decoration: underline;
}

.gs-shop-breadcrumb-sep {
  opacity: 0.45;
  user-select: none;
}

@media (max-width: 767px) {
  .gs-shop-top {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .gs-shop-top .container-page {
    padding-inline: 1rem;
  }

  .gs-shop-intro {
    max-width: 100%;
  }

  .gs-shop-intro .gs-shop-breadcrumb {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    justify-content: flex-start;
    overflow: hidden;
  }

  .gs-shop-intro .gs-shop-breadcrumb a,
  .gs-shop-intro .gs-shop-breadcrumb > span {
    flex-shrink: 0;
  }

  .gs-shop-intro .gs-shop-breadcrumb > span:last-child {
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
  }

  .gs-shop-intro .eyebrow {
    display: block;
    width: 100%;
  }

  .gs-shop-intro h1 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.15;
  }

  .gs-shop-intro p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .gs-shop-cat-layout {
    margin-top: 24px;
    gap: 16px;
  }
}

.gs-shop-cat-layout {
  margin-top: 40px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .gs-shop-cat-layout {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 32px;
  }

  .gs-shop-filters {
    position: sticky;
    top: 88px;
  }
}

/* —— Shop filter panel (category + shop) —— */

.gs-shop-filters .filterWrapper,
.gs-shop-filters .gs-filters-panel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card, 0 12px 40px rgba(15, 23, 42, 0.08));
  overflow: hidden;
}

.gs-filters-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--muted) 45%, var(--card));
}

.gs-filters-panel__head .material-symbols-outlined {
  font-size: 22px;
  color: var(--primary);
}

.gs-filters-panel__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--foreground);
}

.gs-filters-panel__body {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.gs-filters-panel__foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--muted) 25%, var(--card));
}

.gs-filters-group {
  margin: 0;
  padding: 0;
  border: none;
  border-bottom: 1px solid var(--border);
}

.gs-filters-group:last-of-type {
  border-bottom: none;
}

.gs-shop-filters .gs-filters-group.filterSection {
  padding-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.gs-shop-filters .filterSection * {
  color: inherit !important;
}

.gs-filters-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 10px;
}

.gs-filters-group__title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
}

.gs-filters-group__body {
  padding: 0 20px 16px;
}

.gs-filters-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.gs-filters-clear:hover {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
}

.gs-filters-clear .material-symbols-outlined {
  font-size: 18px;
}

.gs-filters-select {
  position: relative;
  display: block;
}

.gs-filters-select__native {
  appearance: none;
  width: 100%;
  height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--background);
  color: var(--foreground) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gs-filters-select__native:hover {
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
}

.gs-filters-select__native:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 18%, transparent);
}

.gs-filters-select__icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--muted-foreground);
  pointer-events: none;
}

.gs-filters-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.gs-filters-checklist li {
  margin: 0;
}

.gs-filters-empty-hint {
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted-foreground);
  background: color-mix(in oklab, var(--muted) 55%, transparent);
  border-radius: 8px;
}

.gs-filters-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}

.gs-filters-check:hover {
  background: color-mix(in oklab, var(--muted) 70%, transparent);
}

.gs-filters-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.gs-filters-check__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  background: var(--background);
  transition: border-color 0.15s ease, background-color 0.15s ease;
  position: relative;
}

.gs-filters-check input:checked + .gs-filters-check__box {
  border-color: var(--primary);
  background: var(--primary);
}

.gs-filters-check input:checked + .gs-filters-check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--primary-foreground);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.gs-filters-check__text {
  font-size: 14px;
  line-height: 1.4;
  color: var(--foreground) !important;
  font-weight: 500;
}

.gs-filters-range {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gs-filters-range__input {
  width: 100%;
  accent-color: var(--primary);
}

.gs-filters-range__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-foreground);
}

.gs-filters-range__sep {
  opacity: 0.5;
}

.gs-filters-panel__foot--actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gs-filters-reset,
.gs-filters-apply {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  margin: 0;
  padding: 0 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gs-filters-reset {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary) !important;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.gs-filters-reset:hover {
  background: var(--primary);
  color: var(--primary-foreground) !important;
}

.gs-filters-apply {
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.gs-filters-apply:hover {
  opacity: 0.92;
}

.filterSection.gs-filters-panel__foot--actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
}

.filterSection.gs-filters-panel__foot--actions .gs-filters-reset,
.filterSection.gs-filters-panel__foot--actions .gs-filters-apply {
  height: 42px;
  min-height: 42px;
  max-height: 42px;
}

.gs-filters-mobile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gs-filters-mobile-toggle .material-symbols-outlined:first-child {
  font-size: 20px;
  color: var(--primary);
}

.gs-filters-mobile-toggle__chevron {
  font-size: 22px;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}

.gs-filters-mobile-toggle[aria-expanded="true"] .gs-filters-mobile-toggle__chevron {
  transform: rotate(180deg);
}

@media (max-width: 1023px) {
  .gs-shop-filters .filterWrapper,
  .gs-shop-filters .gs-filters-panel {
    display: none;
  }

  .gs-shop-filters.is-open .filterWrapper,
  .gs-shop-filters.is-open .gs-filters-panel {
    display: flex !important;
    margin-bottom: 16px;
  }

  .gs-shop-filters > .gs-filters-mobile-toggle {
    display: inline-flex !important;
  }

  .gs-shop-cat-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gs-shop-cat-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .gs-shop-filters > .gs-filters-mobile-toggle {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 44px;
    margin: 0 0 12px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--foreground) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    font-family: inherit;
  }

  .gs-shop-filters > .gs-filters-mobile-toggle > span:nth-child(2) {
    flex: 1 1 auto;
    text-align: left;
    font-size: 14px !important;
    font-weight: 600;
    color: var(--foreground) !important;
  }

  .gs-shop-filters > .gs-filters-mobile-toggle .material-symbols-outlined {
    font-size: 20px !important;
    color: var(--muted-foreground) !important;
    flex-shrink: 0;
    pointer-events: none;
  }

  .gs-shop-filters > .gs-filters-mobile-toggle .material-symbols-outlined:first-child {
    color: var(--primary) !important;
  }

  .gs-shop-filters > .gs-filters-mobile-toggle[aria-expanded="true"] {
    border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
    background: color-mix(in oklab, var(--primary) 6%, var(--card));
  }

  .gs-shop-cat-main .gs-shop-grid {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .gs-shop-filters .filterWrapper,
  .gs-shop-filters .gs-filters-panel {
    display: flex !important;
  }
}

@media (min-width: 1024px) {
  .gs-shop-filters > .gs-filters-mobile-toggle,
  .gs-shop-cat-main .filter-wrapper-mobile-toggle {
    display: none !important;
  }
}

.gs-shop-card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.gs-shop-card--split {
  padding: 0;
}

.gs-shop-card--split .gs-shop-card-body {
  flex: 1;
}

/* Override legacy .modernProductCard grid when combined with shop cards */
.gs-shop-card.modernProductCard {
  display: flex;
  flex-direction: column;
  grid-template-rows: none;
  grid-row: auto;
  gap: 0;
  background: var(--card);
  height: 700px;
}

.gs-shop-card.modernProductCard .gs-shop-card-link {
  display: flex;
  flex-direction: column;
  grid-template-rows: none;
  grid-row: auto;
  height: auto;
  gap: 0;
}

.gs-shop-card-oldprice {
  margin: 0;
  font-size: 14px;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.gs-shop-card-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--muted) 35%, var(--card));
}

.gs-shop-card-toolbar .ctaSectionFlex {
  margin: 0;
}

.gs-shop-card-toolbar .gs-shop-card-tool {
  display: inline-flex;
  width: 80px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.gs-shop-card-toolbar .gs-shop-card-tool:hover {
  background: var(--muted);
}

.gs-shop-card-toolbar .addToCart,
.gs-shop-card-toolbar .addToFavBtn {
  display: inline-flex;
  width: 80px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--background);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gs-shop-cat-layout .gs-shop-card-toolbar .addToCart{
  width: 60px !important;
}

.gs-account-panel .gs-shop-card-toolbar,
.gs-shop-cat-layout .gs-shop-card-toolbar{
  justify-content: center !important;
}

.gs-shop-card-toolbar .addToCart:hover,
.gs-shop-card-toolbar .addToFavBtn:hover {
  background: var(--muted);
}

.gs-shop-card-toolbar .material-symbols-outlined {
  font-size: 22px;
  color: var(--foreground);
}

.gs-shop-card-toolbar .gs-shop-card-cta--cart {
  width: 120px;
  border-radius: 16px;
}

.gs-shop-card-toolbar .gs-shop-card-cta--fav {
  width: 72px;
  border-radius: 16px;
}

.gs-shop-card-toolbar .add_to_favorites {
  color: #e41f26;
}

.gs-shop-message-banner {
  margin-top: 48px;
  padding-block: 48px;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--muted) 40%, var(--background));
}