body.shop-page {
  background: var(--bg-light);
}

.shop-hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-12) 0 var(--space-10);
  background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-light) 55%, var(--primary-light) 100%);
}

.shop-hero::before,
.shop-hero::after {
  content: "";
  position: absolute;
  border-radius: var(--radius-circle);
  background: var(--primary-100);
  pointer-events: none;
}

.shop-hero::before {
  width: 360px;
  height: 360px;
  top: -160px;
  right: -120px;
}

.shop-hero::after {
  width: 260px;
  height: 260px;
  bottom: -140px;
  left: -80px;
}

.shop-hero .container,
.shop-main .container {
  position: relative;
  z-index: 1;
}

.shop-hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.shop-brand img.logo {
  width: 200px;
  max-width: 100%;
}

.shop-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.shop-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: var(--space-6);
  align-items: stretch;
}

.shop-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-hero__copy h1 {
  max-width: 12ch;
  margin-bottom: var(--space-4);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.shop-hero__copy p {
  max-width: 60ch;
  margin-bottom: var(--space-6);
  font-size: 1.05rem;
}

.shop-hero__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.shop-summary-card {
  padding: var(--space-5);
}

.shop-summary-card__label {
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.shop-summary-card__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.shop-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 100%;
  background: var(--bg-white);
}

.shop-overview-list {
  display: grid;
  gap: var(--space-3);
}

.shop-overview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-light);
}

.shop-overview-item span {
  color: var(--text-secondary);
}

.shop-overview-item strong {
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.shop-overview-cta {
  width: 100%;
}

.shop-main {
  padding-bottom: var(--space-12);
}

.ds-section {
  padding-top: var(--space-10);
  padding-bottom: 0;
}

.ds-section-alt {
  background: var(--bg-section);
  margin-top: var(--space-10);
  padding-bottom: var(--space-10);
}

.cart-shell {
  padding: var(--space-6);
}

.cart-table-wrap {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead th {
  padding: 0 0 var(--space-4);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
}

.cart-table tbody td {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-width: 280px;
}

.cart-item-image {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.cart-remove-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--danger-light);
  color: var(--danger);
}

.cart-remove-link:hover {
  background: var(--danger);
  color: var(--text-inverse);
}

.cart-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.cart-discount {
  flex: 1 1 420px;
  margin-bottom: 0;
}

.cart-total {
  min-width: 280px;
  display: grid;
  gap: var(--space-3);
  justify-items: end;
}

.cart-total__meta {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  color: var(--text-secondary);
}

.cart-total__price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.empty-cart-state,
.empty-section-state {
  padding: var(--space-8);
  text-align: center;
}

.empty-cart-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-circle);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.75rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-section);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-card__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  height: 100%;
}

.product-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.product-card h5 {
  margin-bottom: 0;
}

.product-card__footer {
  margin-top: auto;
  display: grid;
  gap: var(--space-4);
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
}

.product-card__price span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.product-card__form {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: var(--space-3);
}

.product-card__form .form-input {
  text-align: center;
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.product-card__form .btn-modern {
  width: 100%;
}

.product-card--secondary .product-card__image {
  aspect-ratio: 16 / 10;
}

@media (max-width: 1199.98px) {

  .shop-hero__content,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 991.98px) {
  .shop-hero {
    padding-top: var(--space-8);
  }

  .shop-hero__bar,
  .cart-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-hero__actions {
    justify-content: flex-start;
  }

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

  .cart-total {
    min-width: 0;
    justify-items: stretch;
  }

  .cart-total .btn-modern {
    width: 100%;
  }
}

@media (max-width: 767.98px) {

  .shop-hero__bar,
  .cart-shell,
  .empty-cart-state,
  .empty-section-state {
    padding: var(--space-5);
  }

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

  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-light);
  }

  .cart-table tbody td {
    border-bottom: none;
    padding: var(--space-2) 0;
  }

  .cart-product {
    min-width: 0;
  }

  .cart-total__meta {
    justify-content: space-between;
  }
}

/* sssssss */
.shopping-cart-modern {
  max-width: 100%;
}

.legacy-cart-table {
  width: 100%;
  border-collapse: collapse;
}

.legacy-cart-table th,
.legacy-cart-table td {
  padding: 14px 12px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.legacy-cart-table th {
  font-weight: 700;
  color: var(--text-dark);
  background: rgba(15, 23, 42, 0.03);
}

.legacy-cart-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legacy-cart-product .cart-item-image {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 16px;
  margin-right: 0;
}

.legacy-cart-remove img {
  width: 18px;
  height: 18px;
}

#product-grid.row {
  display: flex;
  flex-wrap: wrap;
}

#product-grid.row>.showInColumn {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 33.333333%;
  flex: 0 0 33.333333%;
}

#product-grid.row>.showInColumn>li {
  height: 100%;
}

#product-grid.row .showInColumn form {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

#product-grid.row .showInColumn .product-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 82, 141, 0.08), rgba(9, 82, 141, 0.02));
}

#product-grid.row .showInColumn .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#product-grid.row .showInColumn .product-tile-footer {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  gap: 14px;
}

#product-grid.row .showInColumn .product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  min-height: 3rem;
}

#product-grid.row .showInColumn .product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

#product-grid.row .showInColumn .cart-action {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}

#product-grid.row .showInColumn .product-quantity {
  width: 56px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 8px 6px;
  text-align: center;
}

.btnAddAction,
.checkout .btn {
  border: 0;
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #1f7ae0);
  color: #fff;
  box-shadow: 0 16px 32px rgba(31, 122, 224, 0.24);
}

.product-card-footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.product-card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  width: 100%;
}

.product-card-price .price-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.product-card-price .price-value {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: stretch;
  width: 100%;
}

.product-card-actions .product-quantity {
  width: 58px !important;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.product-card-actions .btnAddAction {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  justify-content: center;
}

.card-img-modern .product-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  line-height: 0;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 82, 141, 0.08), rgba(9, 82, 141, 0.02));
}

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

#shopping-cart>.txt-heading,
#product-grid>.txt-heading {
  display: none;
}

.filter-card {
  position: sticky;
  top: 24px;
  padding: 24px !important;
  background:
    radial-gradient(circle at top left, rgba(31, 122, 224, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(31, 122, 224, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.filter-title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-dark);
}

.filter-subtitle {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(31, 122, 224, 0.1);
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.filter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-block {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.filter-block+.filter-block {
  margin-top: 0;
}

.filter-block-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4b5b73;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.filter-actions .btn-modern,
.filter-actions .btn-primary-modern {
  min-height: 46px;
  justify-content: center;
}

.catalog-mobile-toolbar {
  display: flex;
  gap: 12px;
}

.catalog-mobile-toolbar>* {
  flex: 1 1 0;
}

.catalog-filter-toggle,
.catalog-cart-shortcut {
  min-height: 48px;
  border-radius: 16px;
  font-weight: 700;
}

.catalog-toolbar-meta {
  min-width: 0;
}

.catalog-filter-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31, 122, 224, 0.08);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.offcanvas .offcanvas-header {
  padding: 20px 20px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.offcanvas .offcanvas-body {
  padding: 18px;
  background: var(--bg-light);
}

.filter-card-mobile {
  position: static;
  top: auto;
  margin-bottom: 0;
}

.floating-cart-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #1f7ae0);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(31, 122, 224, 0.28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-cart-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(31, 122, 224, 0.34);
  color: #fff;
}

.floating-cart-button.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.floating-cart-button.bump {
  animation: cart-bump .35s ease;
}

.floating-cart-button i {
  font-size: 1.25rem;
}

.floating-cart-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.floating-cart-label {
  font-size: 0.78rem;
  opacity: .88;
}

.floating-cart-total {
  font-weight: 700;
  font-size: 0.98rem;
}

.floating-cart-badge {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.floating-cart-preview {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 1039;
  width: min(440px, calc(100vw - 32px));
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.floating-cart-preview.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cart-preview .card-modern {
  padding: 22px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.mini-cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 380px;
  overflow: auto;
  margin-top: 16px;
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.mini-cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  background: var(--bg-light);
}

.mini-cart-name {
  font-weight: 600;
  line-height: 1.35;
  font-size: 1rem;
  color: var(--text-primary);
}

.mini-cart-meta {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.mini-cart-price {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  font-size: 0.98rem;
  align-self: start;
}

.mini-cart-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-cart-empty {
  padding: 20px 0 6px;
  color: var(--text-secondary);
}

.cart-toast {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 1041;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.fly-cart-image {
  position: fixed;
  z-index: 1042;
  pointer-events: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .7s ease;
}

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

@keyframes cart-bump {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 1199.98px) {
  .card-img-modern .product-image {
    aspect-ratio: 4 / 3;
  }

  .product-card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 991.98px) {
  main.py-4.py-md-5,
  main.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 7rem !important;
  }

  .card-modern.mb-4 .row.g-4.align-items-center {
    row-gap: 1rem !important;
  }

  .tabs-modern {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .tabs-modern .tab-item {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .catalog-toolbar {
    align-items: stretch !important;
  }

  .catalog-toolbar-meta {
    justify-content: space-between;
  }

  #product-grid-featured.row,
  #product-grid.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .card-img-modern .product-image {
    aspect-ratio: 16 / 11;
  }

  .card-body-modern {
    padding: 18px !important;
  }

  .filter-card {
    position: static;
  }

  .product-card-title {
    font-size: 1.12rem;
  }

  .product-card-price .price-value {
    font-size: 1.35rem;
  }

  .product-card-actions {
    grid-template-columns: 54px 1fr;
    gap: 8px;
  }

  .product-card-actions .product-quantity {
    width: 54px !important;
  }

  .floating-cart-preview {
    width: min(420px, calc(100vw - 32px));
  }
}

@media (max-width: 767.98px) {
  body {
    overflow-x: hidden;
  }

  .legacy-cart-table {
    display: block;
    overflow-x: auto;
  }

  main.py-4.py-md-5,
  main.py-5 {
    padding-top: 1.25rem !important;
    padding-bottom: 7.5rem !important;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .card-modern {
    border-radius: 24px;
  }

  .card-modern.mb-4 {
    padding: 20px;
  }

  .card-modern.mb-4 h1 {
    font-size: 2rem;
    line-height: 1.08;
  }

  .card-modern.mb-4 p.text-muted {
    font-size: 0.96rem;
  }

  .filter-card {
    padding: 18px !important;
    background:
      radial-gradient(circle at top left, rgba(31, 122, 224, 0.12), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 248, 255, 0.98));
  }

  .filter-head {
    align-items: center;
    margin-bottom: 16px;
  }

  .filter-title {
    font-size: 1.08rem;
  }

  .filter-subtitle {
    font-size: 0.88rem;
  }

  .filter-block {
    padding: 14px;
    border-radius: 16px;
    background: #fff;
  }

  .filter-chip {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-input,
  .form-select {
    min-height: 48px;
    font-size: 16px;
  }

  .form-label.filter-block-label {
    margin-bottom: 8px;
    font-size: 0.79rem;
  }

  .tabs-modern {
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .tabs-modern .tab-item {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
  }

  .catalog-mobile-toolbar {
    position: sticky;
    top: 12px;
    z-index: 1025;
  }

  .catalog-filter-toggle,
  .catalog-cart-shortcut {
    min-height: 46px;
    padding: 10px 14px;
  }

  .catalog-toolbar {
    gap: 12px;
  }

  .catalog-toolbar-meta {
    width: 100%;
  }

  .catalog-filter-state,
  .status-dot {
    justify-content: center;
  }

  .offcanvas.offcanvas-start {
    width: min(420px, calc(100vw - 24px));
  }

  .offcanvas .offcanvas-body {
    padding: 14px;
  }

  .status-dot {
    font-size: 0.82rem;
  }

  #product-grid.row>.showInColumn {
    max-width: 100%;
    flex-basis: 100%;
  }

  #product-grid-featured.row,
  #product-grid.row {
    --bs-gutter-x: .85rem;
    --bs-gutter-y: .85rem;
  }

  #product-grid-featured .col-md-6,
  #product-grid .col-md-6,
  #product-grid-featured .col-sm-6,
  #product-grid .col-sm-6,
  #product-grid-featured .col-lg-4,
  #product-grid .col-lg-4 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  #product-grid-featured>div,
  #product-grid>div {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .card-img-modern .product-image {
    aspect-ratio: auto;
    height: 240px;
    border-radius: 22px;
  }

  .card-img-modern .product-image img {
    border-radius: 22px;
  }

  .card-body-modern {
    padding: 16px !important;
  }

  .product-card-content {
    margin-bottom: 14px;
  }

  .product-card-title {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .card-modern.mb-4 h4 {
    font-size: 1.08rem;
    line-height: 1.32;
  }

  .product-card-desc {
    font-size: 0.92rem;
  }

  .product-card-footer {
    gap: 12px;
    padding-top: 14px;
  }

  .product-card-price .price-value {
    font-size: 1.26rem;
  }

  .product-card-actions {
    grid-template-columns: 52px 1fr;
    gap: 8px;
  }

  .product-card-actions .product-quantity,
  .product-card-actions .btnAddAction {
    height: 42px;
  }

  .product-card-actions .btnAddAction {
    font-size: 0.95rem;
    padding: 0 14px;
  }

  .filter-actions {
    grid-template-columns: 1fr;
  }

  .filter-actions .btn-modern,
  .filter-actions .btn-primary-modern {
    width: 100%;
    min-height: 48px;
  }

  .floating-cart-button {
    right: 16px;
    left: 16px;
    bottom: 16px;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 22px;
  }

  .floating-cart-preview {
    right: 16px;
    left: 16px;
    bottom: 78px;
    width: auto;
    display: none;
  }

  .floating-cart-preview .card-modern {
    padding: 18px;
  }

  .mini-cart-item {
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
  }

  .mini-cart-item img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .mini-cart-name {
    font-size: 0.95rem;
  }

  .cart-toast {
    right: 16px;
    left: 16px;
    bottom: 86px;
  }
}

@media (max-width: 575.98px) {
  .catalog-mobile-toolbar {
    top: 10px;
    gap: 10px;
  }

  .catalog-filter-toggle,
  .catalog-cart-shortcut {
    border-radius: 14px;
    font-size: 0.94rem;
  }

  .filter-card {
    padding: 16px !important;
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  }

  .filter-head {
    gap: 10px;
    margin-bottom: 14px;
  }

  .filter-title {
    font-size: 1rem;
  }

  .filter-subtitle {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .filter-form {
    gap: 12px;
  }

  .filter-block {
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  }

  .card-modern.mb-4 h1 {
    font-size: 1.72rem;
  }

  .badge-modern {
    font-size: 0.76rem;
  }

  .tabs-modern .tab-item {
    padding: 11px 14px;
    font-size: 0.9rem;
  }

  .card-body-modern {
    padding: 14px !important;
  }

  #product-grid-featured.row,
  #product-grid.row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.95rem;
  }

  .product-card-title {
    font-size: 1rem;
  }

  .filter-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .filter-actions .btn-modern,
  .filter-actions .btn-primary-modern {
    width: 100%;
    font-size: 0.94rem;
  }

  .product-card-price .price-value {
    font-size: 1.18rem;
  }

  .floating-cart-label {
    font-size: 0.74rem;
  }

  .floating-cart-total {
    font-size: 0.92rem;
  }

  .floating-cart-badge {
    min-width: 26px;
    height: 26px;
  }
}

@media (max-width: 420px) {
  #product-grid-featured.row,
  #product-grid.row {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.85rem;
  }

  .card-img-modern .product-image {
    aspect-ratio: auto;
    height: 220px;
    border-radius: 18px;
  }

  .card-img-modern .product-image img {
    border-radius: 18px;
  }

  .card-body-modern {
    padding: 13px !important;
  }

  .product-card-content {
    margin-bottom: 12px;
  }

  .product-card-title {
    font-size: 0.98rem;
    line-height: 1.32;
  }

  .product-card-desc {
    font-size: 0.88rem;
    margin-bottom: 0 !important;
  }

  .product-card-footer {
    gap: 10px;
    padding-top: 12px;
  }

  .product-card-price {
    align-items: flex-start;
  }

  .product-card-price .price-value {
    font-size: 1.12rem;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-card-actions .product-quantity,
  .product-card-actions .btnAddAction {
    width: 100% !important;
    height: 44px;
  }

  .product-card-actions .product-quantity {
    max-width: none;
  }

  .product-card-actions .btnAddAction {
    font-size: 0.92rem;
  }
}

@media (max-width: 360px) {
  .card-modern {
    border-radius: 20px;
  }

  .card-img-modern .product-image {
    height: 200px;
  }

  .card-body-modern {
    padding: 12px !important;
  }

  .product-card-title {
    font-size: 0.94rem;
  }

  .product-card-price .price-value {
    font-size: 1.05rem;
  }

  .product-card-actions .product-quantity,
  .product-card-actions .btnAddAction {
    height: 42px;
  }
}
