/* ── Shop Page ── */

/* Intro */
.shop-intro {
  padding: 3.5rem 4.2%;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Catalogue wrapper */
.shop-catalogue {
  padding: 3rem 4.2% 5rem;
  max-width: 1680px;
  margin: 0 auto;
}

/* ── Sidebar layout ── */
.shop-catalogue__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* ── S&F Filter sidebar ── */
.shop-catalogue__filters {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: visible;
  position: sticky;
  top: 2rem;
  box-shadow: 0 1px 3px rgba(5, 24, 43, 0.06), 0 6px 20px rgba(5, 24, 43, 0.04);
  border: 1px solid rgba(130, 154, 173, 0.12);
}

.shop-catalogue__filters-heading {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0;
  padding: 1.15rem 1.5rem;
  background: #05182b;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.shop-catalogue__filters-heading::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  opacity: 0.8;
}

.shop-catalogue__filters-body {
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* Field containers */
.shop-catalogue__filters .search-filter-field {
  padding: 1.25rem 1.5rem;
  width: 100%;
  border-bottom: 1px solid rgba(130, 154, 173, 0.1);
}

.shop-catalogue__filters .search-filter-field:last-child {
  border-bottom: none;
}

.shop-catalogue__filters .search-filter-field--type-control {
  max-width: none;
  padding: 1.25rem 1.5rem;
  background: #f8fafb;
  border-radius: 0 0 12px 12px;
}

/* Labels */
.shop-catalogue__filters .search-filter-label {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #829aad;
  margin-bottom: 0.65rem;
}

/* Combobox / select dropdown */
.shop-catalogue__filters .search-filter-component-combobox {
  border: none;
  padding: 0;
}

.shop-catalogue__filters .search-filter-component-combobox__header {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  border: 1px solid rgba(130, 154, 173, 0.22);
  border-radius: 6px;
  background: #f4f7fa;
  color: #05182b;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  padding: 0 0.65rem;
  height: 36px;
  display: flex;
  align-items: center;
}

.shop-catalogue__filters .search-filter-component-combobox__header,
.shop-catalogue__filters .search-filter-component-combobox__header * {
  font-size: 0.85rem !important;
}

.shop-catalogue__filters .search-filter-component-combobox__header:hover {
  border-color: rgba(130, 154, 173, 0.45);
  background: #fff;
}

.shop-catalogue__filters .search-filter-component-combobox:focus-within .search-filter-component-combobox__header {
  border-color: #0090df;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 144, 223, 0.1);
}

.shop-catalogue__filters .search-filter-component-combobox__actions-input {
  font-family: var(--font-primary);
  font-size: 0.85rem !important;
  color: #05182b;
  border: none;
  outline: none;
  background: transparent;
}

.shop-catalogue__filters .search-filter-component-combobox__actions-input::placeholder {
  color: #99aab8;
  font-size: 0.85rem !important;
}

.shop-catalogue__filters .search-filter-component-combobox__selection-placeholder {
  font-size: 0.85rem !important;
}

.shop-catalogue__filters .search-filter-component-combobox__listbox-toggle .search-filter-icon__svg {
  width: 16px;
  height: 16px;
  color: #829aad;
}

.shop-catalogue__filters .search-filter-component-combobox__clear-button .search-filter-icon__svg {
  width: 14px;
  height: 14px;
  color: #829aad;
}

.shop-catalogue__filters .search-filter-component-combobox__input-divider {
  display: none;
}

.shop-catalogue__filters .search-filter-component-popover {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

/* Dropdown listbox */
.shop-catalogue__filters .search-filter-component-combobox-base__listbox {
  border: 1px solid rgba(130, 154, 173, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(5, 24, 43, 0.14);
  margin-top: 4px;
  overflow: hidden;
}

.shop-catalogue__filters .search-filter-component-combobox-base__listbox-list {
  list-style: none;
  padding: 0.35rem 0;
  margin: 0;
  max-height: 480px;
  overflow-y: auto;
}

.shop-catalogue__filters .search-filter-component-combobox-base__listbox-option {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  padding: 0.55rem 1rem;
  color: #05182b;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.shop-catalogue__filters .search-filter-component-combobox-base__listbox-option--depth-0 {
  font-weight: 700;
}

.shop-catalogue__filters .search-filter-component-combobox-base__listbox-option--depth-1 {
  padding-left: 1.75rem;
}

.shop-catalogue__filters .search-filter-component-combobox-base__listbox-option--depth-2 {
  padding-left: 2.5rem;
  display: none;
}

.shop-catalogue__filters .search-filter-component-combobox-base__listbox-option--depth-3 {
  padding-left: 3.25rem;
  display: none;
}

.shop-catalogue__filters .search-filter-component-combobox-base__listbox-option:hover {
  background: #f0f5fa;
}

.shop-catalogue__filters .search-filter-component-combobox-base__listbox-option--selected {
  background: #05182b;
  color: #fff;
}

.shop-catalogue__filters .search-filter-component-combobox-base__listbox-option--selected:hover {
  background: #0a2640;
}

/* Search text input */
.shop-catalogue__filters .search-filter-input-text {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  border: 1px solid rgba(130, 154, 173, 0.22);
  border-radius: 6px;
  background: #f4f7fa;
  color: #05182b;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  padding: 0 0.65rem;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.shop-catalogue__filters .search-filter-input-text:hover {
  border-color: rgba(130, 154, 173, 0.45);
  background: #fff;
}

.shop-catalogue__filters .search-filter-field--type-search:focus-within .search-filter-input-text {
  border-color: #0090df;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 144, 223, 0.1);
}

.shop-catalogue__filters .search-filter-input-text__icon .search-filter-icon__svg {
  width: 14px;
  height: 14px;
  color: #99aab8;
}

.shop-catalogue__filters .search-filter-input-text input {
  font-family: var(--font-primary);
  font-size: 0.85rem !important;
  color: #05182b;
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
}

.shop-catalogue__filters .search-filter-input-text input::placeholder {
  color: #99aab8;
  font-size: 0.85rem !important;
}

/* Submit button */
.shop-catalogue__filters .search-filter-field--control-type-submit .search-filter-input-button {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  min-height: 36px;
  width: 100%;
  background: #05365b;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  text-transform: uppercase;
  white-space: nowrap;
}

.shop-catalogue__filters .search-filter-field--control-type-submit .search-filter-input-button:hover {
  background: #05182b;
  box-shadow: 0 4px 12px rgba(5, 24, 43, 0.2);
  transform: translateY(-1px);
}

.shop-catalogue__filters .search-filter-field--control-type-submit .search-filter-input-button:active {
  background: #041224;
  transform: translateY(0);
  box-shadow: none;
}

/* ── Product grid ── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ── Product card ── */
.shop-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #05182b;
  background: #fff;
  border: 1px solid rgba(130, 154, 173, 0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}

.shop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(5, 24, 43, 0.1);
}

.shop-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-card__image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s;
}

.shop-card:hover .shop-card__image img {
  transform: scale(1.03);
}

.shop-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e9edf0 0%, #d1d8de 100%);
  border-radius: 6px;
}

.shop-card__content {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.shop-card__tag {
  display: inline-flex;
  align-self: flex-start;
  background: #155573;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
}

.shop-card__title {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #05182b;
}

.shop-card__desc {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: #555;
  letter-spacing: -0.01em;
}

/* ── Empty state ── */
.shop-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #555;
  font-size: 1.1rem;
}

/* ── Pagination ── */
.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  font-family: var(--font-primary);
}

.shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border: 1px solid rgba(130, 154, 173, 0.4);
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #155573;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.shop-pagination a.page-numbers:hover {
  background: #155573;
  color: #fff;
  border-color: #155573;
}

.shop-pagination .page-numbers.current {
  background: #155573;
  color: #fff;
  border-color: #155573;
}

.shop-pagination .page-numbers.dots {
  border: none;
  padding: 0 0.25rem;
  min-width: auto;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .shop-catalogue {
    padding: 2.5rem 1.25rem;
  }

  .shop-catalogue__layout {
    grid-template-columns: 1fr;
  }

  .shop-catalogue__filters {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    border-radius: 12px;
    overflow: hidden;
  }

  .shop-catalogue__filters-heading {
    width: 100%;
    border-radius: 0;
  }

  .shop-catalogue__filters .search-filter-field {
    flex: 1 1 240px;
    padding: 1rem 1.25rem;
    border-bottom: none;
    border-right: 1px solid rgba(130, 154, 173, 0.1);
  }

  .shop-catalogue__filters .search-filter-field:last-child {
    border-right: none;
  }

  .shop-catalogue__filters .search-filter-field--type-control {
    padding: 1rem 1.25rem;
  }

  .shop-catalogue__filters .search-filter-field--control-type-submit .search-filter-input-button {
    width: 100%;
  }

  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .shop-intro {
    padding: 2.5rem 1.25rem 1rem;
  }

  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .shop-card__content {
    padding: 1rem;
  }

  .shop-card__desc {
    display: none;
  }

  .shop-card__title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Featured Categories ── */
.shop-categories {
  padding: 4.5rem 4.2%;
  background: #f8f9fb;
}

.shop-categories__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.shop-categories__heading {
  font-size: clamp(1.75rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #05182b;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  text-align: center;
}

.shop-categories__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.shop-categories__grid[data-count="4"] {
  grid-template-columns: repeat(4, 1fr);
}

.shop-categories__grid[data-count="3"] {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.shop-categories__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
  border: 1px solid rgba(130, 154, 173, 0.15);
}

.shop-categories__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(5, 24, 43, 0.14);
}

.shop-categories__card-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #fff;
  height: 250px;
}

.shop-categories__card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s;
}

.shop-categories__card:hover .shop-categories__card-img {
  transform: scale(1.06);
}

.shop-categories__card-placeholder {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #0a4d7a 0%, #05365b 100%);
}

.shop-categories__card-label {
  padding: 1.25rem 1.25rem;
  background: #05365b;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: auto;
}

.shop-categories__card-count {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.65;
  letter-spacing: 0.01em;
}

.shop-categories__action {
  text-align: center;
  margin-top: 2.5rem;
}

.shop-categories__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.25rem;
  background: #0090df;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.25s, gap 0.3s, box-shadow 0.25s;
}

.shop-categories__btn:hover {
  background: #007bc2;
  gap: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 144, 223, 0.2);
}

/* ── Brand Logos Marquee ── */
.shop-brands {
  padding: 3rem 0;
  background: #fff;
  border-top: 1px solid rgba(130, 154, 173, 0.1);
  border-bottom: 1px solid rgba(130, 154, 173, 0.1);
  overflow: hidden;
}

.shop-brands__inner {
  text-align: center;
}

.shop-brands__heading {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  color: #829aad;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding: 0 4.2%;
}

.shop-brands__marquee {
  position: relative;
  overflow: hidden;
}

.shop-brands__marquee::before,
.shop-brands__marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8%;
  z-index: 1;
  pointer-events: none;
}

.shop-brands__marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.shop-brands__marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.shop-brands__marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.shop-brands__marquee-logos {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
}

.shop-brands__marquee-logos img {
  height: 60px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.shop-brands__marquee:hover .shop-brands__marquee-track {
  animation-play-state: paused;
}

/* ── Featured Products ── */
.shop-featured {
  padding: 4.5rem 4.2% 5rem;
  background: #fff;
}

.shop-featured__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.shop-featured__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.shop-featured__heading {
  font-size: clamp(1.75rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #05182b;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.shop-featured__arrows {
  display: flex;
  gap: 0.5rem;
}

.shop-featured__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(130, 154, 173, 0.3);
  background: #fff;
  color: #05182b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.shop-featured__arrow:hover:not(:disabled) {
  background: #05182b;
  color: #fff;
  border-color: #05182b;
}

.shop-featured__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.shop-featured__slider {
  overflow: hidden;
}

.shop-featured__track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-featured__track .shop-card--featured {
  flex: 0 0 calc(33.333% - 1.1667rem);
  min-width: 0;
}

.shop-card--featured .shop-card__content {
  padding-bottom: 1.75rem;
}

.shop-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0090df;
  letter-spacing: 0.01em;
  transition: gap 0.2s;
}

.shop-card--featured:hover .shop-card__link {
  gap: 0.6rem;
}

/* ── Value Propositions ── */
.shop-value-props {
  padding: 5rem 4.2%;
  background: #05182b;
}

.shop-value-props__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.shop-value-props__heading {
  font-size: clamp(1.75rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 3rem;
}

.shop-value-props__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.shop-value-props__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.25s, background 0.25s;
}

.shop-value-props__card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.shop-value-props__card-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.shop-value-props__card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.shop-value-props__card-desc {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.shop-value-props__card-btn {
  display: inline-block;
  margin-top: 0.75rem;
  background: #0090df;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 1.75rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.2s;
}

.shop-value-props__card-btn:hover {
  background: #007bc2;
}

/* ── Catalogue Header ── */
.shop-catalogue__header {
  padding-top: 1rem;
}

.shop-catalogue__heading {
  font-size: clamp(1.75rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #05182b;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-align: center;
}

/* ── Responsive: New Sections ── */
@media (max-width: 1024px) {
  .shop-categories {
    padding: 3.5rem 1.25rem;
  }

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

  .shop-categories__grid[data-count="3"] {
    max-width: none;
  }

  .shop-brands {
    padding: 2.5rem 0;
  }

  .shop-featured {
    padding: 3.5rem 1.25rem 4rem;
  }

  .shop-featured__track .shop-card--featured {
    flex: 0 0 calc(33.333% - 1.1667rem);
  }

  .shop-value-props {
    padding: 3.5rem 1.25rem 4rem;
  }

  .shop-value-props__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .shop-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-categories__card-img-wrap {
    padding: 1.5rem;
  }

  .shop-brands__marquee-logos {
    gap: 3rem;
    padding-right: 3rem;
  }

  .shop-featured__track .shop-card--featured {
    flex: 0 0 calc(50% - 0.875rem);
  }

  .shop-card__link {
    font-size: 0.85rem;
  }

  .shop-value-props__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .shop-value-props__card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .shop-categories__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .shop-categories__card-label {
    font-size: 0.95rem;
    padding: 1.25rem 1rem 1rem;
  }

  .shop-featured__track .shop-card--featured {
    flex: 0 0 calc(100% - 0rem);
  }
}
