@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../assets/fonts/fa-solid-900.woff2") format("woff2"),
       url("../assets/fonts/fa-solid-900.woff") format("woff");
}

.shop-page .safa-footer {
  margin-top: 0;
}

.shop-shell {
  width: min(var(--safa-container), calc(100% - 40px));
  margin-inline: auto;
}

.shop-hero {
  position: relative;
  overflow: hidden;
  background: var(--safa-navy-950);
  color: #fff;
}

.shop-hero::before,
.shop-hero::after {
  position: absolute;
  width: 310px;
  height: 24px;
  background: var(--safa-brand-cyan);
  content: "";
  opacity: 0.12;
  transform: rotate(-43deg);
}

.shop-hero::before {
  top: 52px;
  right: -105px;
}

.shop-hero::after {
  right: 32px;
  bottom: -30px;
  background: #fff;
}

.shop-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 310px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: end;
  padding-block: 55px;
}

.shop-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 36px;
  color: #94a9b2;
  font-size: 0.76rem;
}

.shop-breadcrumbs a {
  color: #d4e0e4;
  text-decoration: none;
}

.shop-breadcrumbs a:hover {
  color: var(--safa-brand-cyan);
}

.shop-eyebrow {
  margin: 0;
  color: var(--safa-blue-700);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-hero .shop-eyebrow {
  color: var(--safa-brand-cyan);
}

.shop-hero h1 {
  margin: 5px 0 0;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.shop-hero__grid > div:first-child > p:last-child {
  max-width: 700px;
  margin: 19px 0 0;
  color: #bdcbd1;
  font-size: 1rem;
}

.shop-hero__stat {
  display: flex;
  min-width: 190px;
  flex-direction: column;
  padding: 22px 0 4px 25px;
  border-left: 4px solid var(--safa-brand-cyan);
}

.shop-hero__stat strong {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 880;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.shop-hero__stat span {
  margin-top: 9px;
  color: #9fb0b7;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-catalog {
  padding: clamp(52px, 7vw, 90px) 0 clamp(70px, 9vw, 120px);
  background: #fff;
}

.shop-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.shop-mobile-controls {
  display: none;
}

.shop-filters {
  position: static;
  border: 1px solid var(--safa-border);
  border-top: 4px solid var(--safa-brand-cyan);
  border-radius: 18px;
  background: #f3f7f8;
  box-shadow: 0 18px 48px rgba(23, 36, 43, 0.1);
}

.shop-filters form {
  min-width: 0;
}

.shop-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 18px;
  background: var(--safa-navy-950);
}

.shop-filters__title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.shop-filters__title > span {
  position: relative;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border: 3px solid var(--safa-brand-cyan);
  transform: rotate(45deg);
}

.shop-filters__title > span::after {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 13px;
  height: 13px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  content: "";
}

.shop-filters__head p,
.shop-filters__head h2 {
  margin: 0;
}

.shop-filters__head p {
  color: #83d9ec;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-filters__head h2 {
  margin-top: 2px;
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.shop-filters__count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(131, 217, 236, 0.36);
  border-radius: 999px;
  background: rgba(37, 181, 216, 0.12);
  color: #dff6fb;
  font-size: 0.62rem;
  font-weight: 800;
}

.shop-filters__count strong {
  color: #fff;
  font-size: 0.7rem;
}

.shop-filters__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #d9e3e6;
  background: #eaf4f6;
}

.shop-filters__intro p {
  margin: 0;
  color: #53656d;
  font-size: 0.68rem;
  line-height: 1.45;
}

.shop-filters__intro a {
  flex: 0 0 auto;
  color: var(--safa-blue-700);
  font-size: 0.65rem;
  font-weight: 850;
  white-space: nowrap;
}

.shop-filter-group {
  min-width: 0;
  max-width: calc(100% - 24px);
  margin: 10px 12px 0;
  padding: 16px;
  border: 1px solid #dbe4e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(23, 36, 43, 0.035);
}

.shop-filter-heading {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  padding: 0;
  border: 0;
}

.shop-filter-heading > span:first-child {
  display: inline-grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 7px 2px 7px 2px;
  background: var(--safa-cyan-100);
  color: var(--safa-blue-700);
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.shop-filter-heading label,
.shop-filter-heading__label {
  display: block;
  margin: 0;
  color: var(--safa-navy-950);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.25;
}

.shop-filter-heading p {
  display: block;
  margin: 2px 0 0;
  color: #78878e;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.35;
}

.shop-filter-control + .shop-filter-control {
  margin-top: 11px;
}

.shop-filter-control > label {
  display: block;
  margin: 0 0 5px;
  color: var(--safa-muted);
  font-size: 0.64rem;
  font-weight: 750;
}

.shop-select,
.shop-search-field {
  position: relative;
}

.shop-select::after {
  position: absolute;
  top: 16px;
  right: 13px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #607179;
  border-bottom: 2px solid #607179;
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.shop-filter-group input[type="search"],
.shop-filter-group input[type="number"],
.shop-filter-group select,
.shop-sort select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #ccd8dc;
  border-radius: 9px;
  background: #fbfdfe;
  color: var(--safa-ink);
  font-size: 0.8rem;
  transition: border-color var(--safa-transition), box-shadow var(--safa-transition), background-color var(--safa-transition);
}

.shop-filter-group select {
  padding-right: 36px;
  appearance: none;
}

.shop-filter-group input[type="search"]:focus,
.shop-filter-group input[type="number"]:focus,
.shop-filter-group select:focus {
  border-color: var(--safa-blue-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 181, 216, 0.12);
  outline: 0;
}

.shop-filter-group--search input {
  padding-right: 48px;
}

.shop-search-field button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 7px;
  background: var(--safa-brand-cyan);
  color: var(--safa-navy-950);
  font-weight: 900;
  cursor: pointer;
  transition: background-color var(--safa-transition), color var(--safa-transition);
}

.shop-search-field button:hover {
  background: var(--safa-navy-950);
  color: #fff;
}

.shop-radio-list {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.shop-radio {
  position: relative;
  display: flex;
  min-height: 49px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #e1e8ea;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  transition: border-color var(--safa-transition), background-color var(--safa-transition), transform var(--safa-transition);
}

.shop-radio:hover {
  border-color: #9edce9;
  transform: translateX(2px);
}

.shop-radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.shop-radio__indicator {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 2px solid #adbbc0;
  border-radius: 50%;
  background: #fff;
}

.shop-radio input:checked + .shop-radio__indicator {
  border-color: var(--safa-blue-700);
}

.shop-radio input:checked + .shop-radio__indicator::after {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--safa-brand-cyan);
  content: "";
}

.shop-radio input:focus-visible + .shop-radio__indicator {
  outline: 3px solid var(--safa-blue-500);
  outline-offset: 2px;
}

.shop-radio:has(input:checked) {
  border-color: #83d3e5;
  background: var(--safa-cyan-50);
}

.shop-radio__copy strong,
.shop-radio__copy small {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

.shop-radio__copy strong {
  color: var(--safa-navy-950);
  font-size: 0.7rem;
  font-weight: 750;
}

.shop-radio__copy small {
  margin-top: 2px;
  color: #7b888e;
  font-size: 0.59rem;
  font-weight: 600;
}

.shop-price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.shop-price-presets a {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #d8e2e5;
  border-radius: 999px;
  background: #f8fafb;
  color: #53656d;
  font-size: 0.59rem;
  font-weight: 750;
  text-decoration: none;
}

.shop-price-presets a:hover,
.shop-price-presets a[aria-current="true"] {
  border-color: var(--safa-brand-cyan);
  background: var(--safa-cyan-100);
  color: var(--safa-navy-950);
}

.shop-price-fields {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.shop-price-fields > label {
  min-width: 0;
  margin: 0;
}

.shop-price-fields > label > span:first-child {
  display: block;
  margin-bottom: 5px;
  color: var(--safa-muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.shop-price-input {
  position: relative;
  display: block;
}

.shop-price-input b {
  position: absolute;
  top: 12px;
  left: 10px;
  color: var(--safa-muted);
  font-size: 0.76rem;
}

.shop-price-input input {
  padding-left: 23px !important;
}

.shop-filters__actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 16px 12px 14px;
  border-top: 1px solid #d9e3e6;
  background: #fff;
}

.shop-filters__actions button,
.shop-filters__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.shop-filters__actions button {
  border: 1px solid var(--safa-brand-cyan);
  background: var(--safa-brand-cyan);
  color: var(--safa-navy-950);
  cursor: pointer;
}

.shop-filters__actions button span {
  margin-left: 6px;
  font-size: 1rem;
}

.shop-filters__actions button:hover {
  border-color: var(--safa-navy-950);
  background: var(--safa-navy-950);
  color: #fff;
}

.shop-filters__actions a {
  border: 1px solid var(--safa-border);
  color: var(--safa-muted);
}

.shop-filters__actions a:hover {
  border-color: #b5c3c8;
  background: var(--safa-surface-soft);
  color: var(--safa-navy-950);
}

.shop-results {
  min-width: 0;
}

.shop-results__toolbar {
  display: flex;
  min-height: 72px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--safa-border);
}

.shop-results__toolbar h2 {
  margin: 4px 0 0;
  color: var(--safa-navy-950);
  font-size: 1.25rem;
}

.shop-sort {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.shop-sort label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--safa-muted);
  font-size: 0.62rem;
  font-weight: 750;
  text-transform: uppercase;
}

.shop-sort label:first-of-type select {
  min-width: 180px;
}

.shop-sort label:last-of-type select {
  min-width: 74px;
}

.shop-sort select {
  height: 40px;
  text-transform: none;
}

.shop-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--safa-border);
}

.shop-active-filters > span {
  margin-right: 3px;
  color: var(--safa-muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.shop-active-filters a {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 8px;
  padding: 4px 9px;
  border: 1px solid #bfe5ed;
  border-radius: 7px;
  background: var(--safa-cyan-50);
  color: var(--safa-navy-950);
  font-size: 0.7rem;
  font-weight: 750;
  text-decoration: none;
}

.shop-active-filters a span {
  color: var(--safa-blue-700);
  font-size: 1rem;
}

.shop-active-filters .shop-active-filters__clear {
  border-color: transparent;
  background: transparent;
  color: var(--safa-muted);
  text-decoration: underline;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
}

.shop-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--safa-border);
  border-radius: 14px;
  background: #fff;
  transition: border-color var(--safa-transition), box-shadow var(--safa-transition), transform var(--safa-transition);
}

.shop-product-card:hover {
  border-color: #b8dce4;
  box-shadow: 0 14px 38px rgba(23, 36, 43, 0.09);
  transform: translateY(-3px);
}

.shop-product-card__media {
  position: relative;
  min-height: 210px;
  padding: 20px;
  overflow: hidden;
  border-bottom: 1px solid var(--safa-border);
  background: #f8fafb;
}

.shop-product-card__media > a {
  display: grid;
  height: 190px;
  place-items: center;
}

.shop-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 260ms ease;
}

.shop-product-card:hover .shop-product-card__media img {
  transform: scale(1.025);
}

.shop-availability,
.shop-product-card__discount {
  position: absolute;
  top: 13px;
  z-index: 1;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 850;
  line-height: 1rem;
}

.shop-availability {
  left: 13px;
}

.shop-availability--available {
  background: var(--safa-success-soft);
  color: var(--safa-success);
}

.shop-availability--demand {
  background: var(--safa-warning-soft);
  color: var(--safa-warning);
}

.shop-availability--unavailable {
  background: #fde8e7;
  color: #a52a22;
  box-shadow: inset 0 0 0 1px #f5c9c6;
}

.shop-availability--coming {
  background: #eef1f2;
  color: #5e686d;
}

.shop-product-card__discount {
  right: 13px;
  background: var(--safa-navy-950);
  color: #fff;
}

.shop-product-card__wishlist {
  position: absolute;
  right: 13px;
  bottom: 13px;
}

.shop-product-card__wishlist .safa-wishlist-button {
  width: 39px;
  height: 39px;
  border: 1px solid var(--safa-border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--safa-navy-950);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(23, 36, 43, 0.08);
}

.shop-product-card__wishlist .safa-wishlist-button.is-saved {
  border-color: #b8e3ed;
  background: var(--safa-cyan-50);
  color: var(--safa-blue-700);
}

.shop-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px;
}

.shop-product-card__path {
  display: grid;
  min-width: 0;
  min-height: 25px;
  grid-template-columns: minmax(0, 0.95fr) 17px minmax(0, 1.05fr);
  align-items: center;
  gap: 5px;
  margin: 0;
}

.shop-product-card__path a {
  display: flex;
  min-width: 0;
  min-height: 25px;
  align-items: center;
  padding: 4px 8px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.shop-product-card__path a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-product-card__path .shop-product-card__category {
  border-color: #c8eaf1;
  background: var(--safa-cyan-50);
  color: var(--safa-blue-700);
}

.shop-product-card__path .shop-product-card__subcategory {
  border-color: #dce3e6;
  background: #f4f7f8;
  color: #42565f;
}

.shop-product-card__path a:hover,
.shop-product-card__path a:focus-visible {
  border-color: var(--safa-blue-700);
  background: #fff;
  color: var(--safa-navy-950);
}

.shop-product-card__path-separator {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #e9eef0;
  color: #73848b;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.shop-product-card h2 {
  display: -webkit-box;
  min-height: 3.75em;
  margin: 10px 0 0;
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.shop-product-card h2 a {
  color: var(--safa-navy-950);
  text-decoration: none;
}

.shop-product-card__brand {
  margin: 6px 0 0;
  color: var(--safa-muted);
  font-size: 0.67rem;
  font-weight: 750;
}

.shop-product-card__price {
  display: flex;
  min-height: 35px;
  align-items: baseline;
  gap: 8px;
  margin-top: 13px;
}

.shop-product-card__price strong {
  color: var(--safa-blue-700);
  font-size: 1.12rem;
  font-weight: 880;
}

.shop-product-card__price del {
  color: #99a3a8;
  font-size: 0.75rem;
}

.shop-product-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  align-items: stretch;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--safa-border);
}

.shop-product-card__actions > div {
  display: flex;
  width: 100%;
  height: 46px;
  min-width: 0;
}

.shop-product-card__actions .button,
.shop-card-action {
  display: inline-flex;
  width: 100%;
  height: 46px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 14px;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.shop-card-action__icon {
  position: relative;
  display: inline-grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border-radius: 7px 2px 7px 2px;
  background: rgba(255, 255, 255, 0.18);
  color: currentColor;
}

.shop-card-action__icon .fas {
  display: block;
  font-family: "Font Awesome 5 Free";
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-rendering: auto;
}

.shop-card-action__icon .fa-cart-plus::before {
  content: "\f217";
}

.shop-card-action__icon .fa-sliders-h::before {
  content: "\f1de";
}

.shop-card-action__icon .fa-eye::before {
  content: "\f06e";
}

.shop-card-action__icon .fa-comment-dots::before {
  content: "\f4ad";
}

.shop-card-action__icon .fa-times::before {
  content: "\f00d";
}

.shop-card-action--add {
  border-color: var(--safa-blue-700);
  background: var(--safa-blue-700);
  color: #fff;
}

.shop-card-action--add:hover {
  border-color: var(--safa-navy-950);
  background: var(--safa-navy-950);
  color: #fff;
}

.shop-card-action--options {
  border-color: #465860;
  background: #465860;
  color: #fff;
}

.shop-card-action--options .shop-card-action__icon {
  background: rgba(37, 181, 216, 0.2);
  color: #8be0f1;
}

.shop-card-action--options:hover {
  border-color: var(--safa-navy-950);
  background: var(--safa-navy-950);
  color: #fff;
}

.shop-card-action--view {
  border-color: #bdcbd0;
  background: #edf2f4;
  color: #33464e;
}

.shop-card-action--view .shop-card-action__icon {
  background: #fff;
  color: var(--safa-blue-700);
}

.shop-card-action--view:hover {
  border-color: #465860;
  background: #465860;
  color: #fff;
}

.shop-card-action--request {
  border-color: #e5c989;
  background: var(--safa-warning-soft);
  color: #714708;
}

.shop-card-action--request .shop-card-action__icon {
  background: #fff;
}

.shop-card-action--request:hover {
  border-color: var(--safa-warning);
  background: var(--safa-warning);
  color: #fff;
}

.shop-card-action--remove .shop-card-action__icon {
  background: rgba(180, 35, 24, 0.1);
}

.shop-product-card__details {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 7px;
  color: var(--safa-muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
}

.shop-product-card__details:hover {
  background: var(--safa-surface-soft);
  color: var(--safa-blue-700);
}

.shop-empty {
  position: relative;
  display: flex;
  min-height: 470px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 24px;
  padding: 50px;
  overflow: hidden;
  border: 1px solid var(--safa-border);
  border-radius: 16px;
  background: var(--safa-surface-soft);
  text-align: center;
}

.shop-empty > span {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border: 10px solid var(--safa-brand-cyan);
  border-right-color: var(--safa-brand-charcoal);
  transform: rotate(45deg);
}

.shop-empty h2 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.shop-empty > p:not(.shop-eyebrow) {
  max-width: 500px;
  margin: 13px 0 0;
}

.shop-empty > div {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.shop-pagination {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--safa-border);
}

.shop-pagination > div,
.shop-pagination ol {
  display: flex;
  align-items: center;
}

.shop-pagination > div {
  justify-content: space-between;
  gap: 15px;
}

.shop-pagination ol {
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-pagination a,
.shop-pagination__ellipsis {
  display: inline-flex;
  min-width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--safa-border);
  border-radius: 8px;
  color: var(--safa-navy-950);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.shop-pagination a:hover,
.shop-pagination a[aria-current="page"] {
  border-color: var(--safa-brand-cyan);
  background: var(--safa-brand-cyan);
  color: var(--safa-navy-950);
}

.shop-pagination .shop-pagination__control {
  gap: 8px;
  min-width: 104px;
  padding: 0 13px;
}

.shop-pagination__control.is-disabled {
  display: inline-flex;
  min-width: 104px;
  height: 39px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--safa-border);
  border-radius: 8px;
  color: #a1abad;
  font-size: 0.74rem;
  font-weight: 800;
}

.shop-pagination > p {
  margin: 12px 0 0;
  color: var(--safa-muted);
  font-size: 0.7rem;
  text-align: center;
}

@media (max-width: 1180px) {
  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .shop-hero__grid {
    min-height: 275px;
  }

  .shop-mobile-controls {
    display: flex;
    min-height: 55px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 10px 12px;
    border: 1px solid var(--safa-border);
    border-radius: 11px;
    background: var(--safa-surface-soft);
  }

  .shop-mobile-controls p {
    margin: 0;
    color: var(--safa-muted);
    font-size: 0.75rem;
  }

  .shop-filter-toggle {
    display: none;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--safa-brand-cyan);
    border-radius: 8px;
    background: #fff;
    color: var(--safa-navy-950);
    font-size: 0.77rem;
    font-weight: 850;
    cursor: pointer;
  }

  .shop-js .shop-filter-toggle {
    display: inline-flex;
  }

  .shop-filter-toggle > span:last-child:not(.shop-filter-toggle__icon) {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 5px;
    background: var(--safa-brand-cyan);
    font-size: 0.65rem;
  }

  .shop-filter-toggle__icon {
    position: relative;
    width: 17px;
    height: 2px;
    background: var(--safa-navy-950);
    box-shadow: 0 -5px 0 var(--safa-navy-950), 0 5px 0 var(--safa-navy-950);
  }

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

  .shop-filters {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .shop-js .shop-filters {
    display: none;
  }

  .shop-js .shop-filters.is-open {
    display: block;
  }

  .shop-filters form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-filters__head,
  .shop-filters__intro,
  .shop-filter-group--search,
  .shop-filters__actions {
    grid-column: 1 / -1;
  }

  .shop-filter-group {
    align-self: start;
  }

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

  .shop-filters__actions a {
    padding-inline: 18px;
  }
}

@media (max-width: 700px) {
  .shop-shell {
    width: min(100% - 28px, var(--safa-container));
  }

  .shop-hero__grid {
    min-height: 300px;
    grid-template-columns: 1fr;
    gap: 25px;
    align-items: start;
    padding-block: 38px;
  }

  .shop-breadcrumbs {
    margin-bottom: 28px;
  }

  .shop-hero__stat {
    min-width: 0;
    flex-direction: row;
    gap: 12px;
    align-items: baseline;
    padding: 3px 0 3px 16px;
  }

  .shop-hero__stat strong {
    font-size: 2rem;
  }

  .shop-hero__stat span {
    margin: 0;
  }

  .shop-results__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-sort {
    width: 100%;
  }

  .shop-sort label {
    flex: 1;
  }

  .shop-sort label:first-of-type select,
  .shop-sort label:last-of-type select {
    width: 100%;
    min-width: 0;
  }

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

  .shop-product-card__media > a {
    height: 240px;
  }

  .shop-pagination > div {
    flex-wrap: wrap;
  }

  .shop-pagination ol {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .shop-pagination__control {
    flex: 1;
  }
}

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

  .shop-filters__head,
  .shop-filters__intro,
  .shop-filter-group--search,
  .shop-filter-group,
  .shop-filters__actions {
    grid-column: 1;
  }

  .shop-filter-group {
    border-right: 0;
  }

  .shop-empty {
    min-height: 410px;
    padding: 35px 20px;
  }

  .shop-empty > div {
    width: 100%;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-product-card,
  .shop-product-card__media img {
    transition: none;
  }
}
