:root {
  --brand-color: #de0025;
  --accent-color: #ef6644;
  --text-color: #242222;
  --muted-color: #6f6f6f;
  --bg-surface: #ffffff;
  --shadow-strong: 0 10px 25px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text-color);
  background: #f5f5f5;
}

/* Header base styles are in header-styles.ejs partial */

/* Search styles are in header-styles.ejs partial */

.catalog-container {
  max-width: 100%;
  margin: -1.5rem 0 3rem;
  padding: 2rem 3rem;
  background: transparent;
  overflow-x: hidden;
}

.catalog-panel {
  background: var(--bg-surface);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 15, 15, 0.08);
}

.catalog-section {
  margin-bottom: 2rem;
}

.catalog-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.catalog-section-title h2 {
  margin: 0;
  font-size: 1.25rem;
}

.home-blocks {
  margin-bottom: 1.5rem;
}

.home-blocks[v-cloak] {
  display: none;
}

.scenario-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 16px;
  background: #f0f3f7;
  border: 1px solid rgba(18, 43, 61, 0.08);
  margin-bottom: 1.5rem;
}

.scenario-bar__content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.scenario-bar__label {
  font-size: 0.85rem;
  color: #6a7682;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.scenario-bar__title {
  font-size: 1rem;
  font-weight: 700;
  color: #122b3d;
}

.scenario-bar__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.scenario-bar__btn {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  background: #122b3d;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

.scenario-bar__btn--ghost {
  background: transparent;
  border: 1px solid rgba(18, 43, 61, 0.2);
  color: #122b3d;
}

.categories {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.category-card {
  flex: 0 0 220px;
  background: var(--bg-surface);
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.category-card strong {
  display: block;
  font-size: 1rem;
  color: var(--brand-color);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--muted-color);
  margin: 0.3rem 0 0;
}

.products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-surface);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-strong);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #f9f9f9;
  padding: 8px;
}

.product-card h3 {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.1rem;
}

.product-card p {
  color: var(--muted-color);
  flex-grow: 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e80052;
}

.old-price {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: var(--muted-color);
}

.product-card button {
  margin-top: auto;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  border: none;
  background: var(--accent-color);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card button:hover {
  transform: translateY(-1px);
}

.product-card button:disabled {
  background: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.catalog-load-more {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.similar-products-more {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-color);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.similar-products-more:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.similar-products-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.tag {
  background: rgba(255, 239, 182, 0.9);
  color: #7a5600;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  font-size: 0.8rem;
  display: inline-block;
}

.filters {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filters select {
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
}

.filters input {
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  min-width: 220px;
}

.loader,
.error-message {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted-color);
}

.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.pagination button {
  border: none;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-weight: 600;
}

.pagination button.active {
  background: var(--brand-color);
  color: #fff;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination button.dots {
  background: transparent;
  cursor: default;
  opacity: 0.6;
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title > h3 {
  display: inline-block;
  position: relative;
  margin-bottom: 0.5rem;
}

.section-title > h3::before,
.section-title > h3::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--muted-color);
  position: absolute;
  bottom: -6px;
}

.section-title > h3::before {
  left: -45px;
}

.section-title > h3::after {
  right: -45px;
}

.catalog-banner {
  border-radius: 22px;
  background: linear-gradient(135deg, #0040dec9, #8a007e);
  padding: 2rem;
  color: #fff;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.catalog-banner h3 {
  margin: 0;
  font-size: 1.7rem;
}

.catalog-banner p {
  margin: 0.35rem 0 1rem;
  font-weight: 300;
}

.catalog-banner button {
  border-radius: 999px;
  background: #fff;
  color: var(--brand-color);
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== Home Scenario Blocks ===== */

.home-block {
  margin-bottom: 2.5rem;
}

.home-block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.home-block__head h2 {
  margin: 0.25rem 0 0;
  font-size: 1.6rem;
}

.home-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #6a7682;
  font-weight: 600;
}

.home-subtitle {
  margin: 0.4rem 0 0;
  color: #6a7682;
}

.home-carousel-controls {
  display: flex;
  gap: 0.6rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #122b3d;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(18, 43, 61, 0.15);
}

.home-carousel {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.home-carousel.is-loading {
  min-height: 220px;
}

.scenario-skeleton {
  min-width: 280px;
  height: 220px;
  border-radius: 18px;
  background: linear-gradient(90deg, #f0f3f7 0%, #e6ebf2 50%, #f0f3f7 100%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.2s ease-in-out infinite;
}

.home-empty {
  min-height: 180px;
  min-width: 280px;
  border-radius: 18px;
  background: #f3f5f8;
  color: #6a7682;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
  font-weight: 600;
}

@keyframes skeletonPulse {
  0% { background-position: 0% 0%; }
  100% { background-position: -200% 0%; }
}

.home-carousel::-webkit-scrollbar {
  height: 8px;
}

.home-carousel::-webkit-scrollbar-thumb {
  background: rgba(18, 43, 61, 0.2);
  border-radius: 999px;
}

@keyframes riseFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scenario-card,
.bestseller-card,
.deal-card,
.category-tile {
  animation: riseFade 0.6s ease forwards;
  opacity: 0;
}

.scenario-card {
  min-width: 280px;
  max-width: 320px;
  background: #fff;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(18, 43, 61, 0.12);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scenario-card__cover {
  height: 180px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}

.scenario-card__body h3 {
  margin: 0;
  font-size: 1.1rem;
}

.scenario-card__body p {
  margin: 0.4rem 0 0.8rem;
  color: #5e6c75;
}

.scenario-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-weight: 600;
}

.scenario-card__btn {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #122b3d;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.deal-card {
  border-radius: 18px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  color: #fff;
  min-height: 120px;
  box-shadow: 0 16px 30px rgba(10, 42, 72, 0.18);
}

.deal-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.deal-note {
  font-size: 0.9rem;
  opacity: 0.9;
}

.deal-300 {
  background: linear-gradient(135deg, #0f4c81, #1b7aa6);
}

.deal-500 {
  background: linear-gradient(135deg, #1d5a4d, #2c8b71);
}

.deal-999 {
  background: linear-gradient(135deg, #5a3b1e, #c07b3f);
}

.deal-113 {
  background: linear-gradient(135deg, #6a2f1c, #c05a2b);
}

.cashback-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cashback-offer-card {
  border-radius: 20px;
  min-height: 170px;
  padding: 1.4rem;
  color: #fff;
  box-shadow: 0 16px 30px rgba(10, 42, 72, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cashback-offer-card h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
}

.cashback-offer-card p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.95;
}

.cashback-offer-card--registration {
  background: linear-gradient(135deg, #0f4c81, #1b7aa6);
}

.cashback-offer-card--first-order {
  background: linear-gradient(135deg, #1d5a4d, #2c8b71);
}

.cashback-offer-btn {
  margin-top: auto;
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cashback-offer-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cashback-offer-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 29, 0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1400;
}

.cashback-offer-modal {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 24px 54px rgba(12, 30, 46, 0.35);
}

.cashback-offer-modal h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #122b3d;
}

.cashback-offer-modal__lead {
  margin: 0.65rem 0 0;
  color: #3c4f5d;
  line-height: 1.5;
}

.cashback-offer-modal__conditions {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #3c4f5d;
  display: grid;
  gap: 0.45rem;
}

.cashback-offer-modal__actions {
  margin-top: 1.3rem;
  display: flex;
  justify-content: flex-end;
}

.cashback-offer-modal__cta {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  background: #122b3d;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cashback-offer-modal__cta:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cashback-offer-modal__cta--ghost {
  background: #e9edf2;
  color: #122b3d;
}

.cashback-offer-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #f0f3f7;
  color: #122b3d;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.bestseller-card {
  min-width: 240px;
  max-width: 280px;
  background: #fff;
  border-radius: 18px;
  padding: 0.9rem;
  box-shadow: 0 16px 32px rgba(18, 43, 61, 0.12);
  scroll-snap-align: start;
  cursor: pointer;
}

.bestseller-card__image {
  height: 180px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: #f2f4f7;
}

.bestseller-card__body h3 {
  margin: 0.7rem 0 0.6rem;
  font-size: 1rem;
}

.bestseller-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.bestseller-card__cta {
  background: rgba(18, 43, 61, 0.08);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #122b3d;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.category-tile {
  border-radius: 18px;
  overflow: hidden;
  background: #f7f8fb;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 14px 30px rgba(18, 43, 61, 0.12);
}

.home-carousel .category-tile {
  min-width: 220px;
  max-width: 260px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.category-tile__cover {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.category-tile__cover.cat-cover-0 {
  background: linear-gradient(135deg, #123b52, #2a6a7e);
}

.category-tile__cover.cat-cover-1 {
  background: linear-gradient(135deg, #2c5c46, #5b8a61);
}

.category-tile__cover.cat-cover-2 {
  background: linear-gradient(135deg, #5a3f2a, #9a6b3d);
}

.category-tile__cover.cat-cover-3 {
  background: linear-gradient(135deg, #5d2f2f, #9a4a4a);
}

.category-tile__cover.cat-cover-4 {
  background: linear-gradient(135deg, #243b6b, #4a6ea8);
}

.category-tile__cover.cat-cover-5 {
  background: linear-gradient(135deg, #3f2d5c, #6f4b9a);
}

.category-tile__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.category-tile__body strong {
  font-size: 1rem;
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.category-tile__body span {
  color: #6a7682;
  font-size: 0.85rem;
}

.home-value {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  border-radius: 26px;
  padding: 2.2rem;
  background: linear-gradient(135deg, #0b3a6a, #1465a7);
  color: #fff;
  box-shadow: 0 22px 50px rgba(13, 53, 94, 0.35);
}

.home-value__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(11, 58, 106, 0.6);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.home-value__close:hover {
  background: rgba(11, 58, 106, 0.85);
}

.home-value__content h2 {
  margin: 0.4rem 0 1.2rem;
  font-size: 2rem;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.value-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.value-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.value-item p {
  margin: 0;
  opacity: 0.85;
}

.value-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.home-value__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* ===== RESPONSIVE STYLES ===== */

/* Large tablets and small desktops */
@media (min-width: 1201px) and (max-width: 1600px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1200px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
  }

  .catalog-container {
    padding: 2rem 2rem;
  }
}

/* Mobile and small tablets */
@media (max-width: 768px) {
  .scenario-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .scenario-bar__actions {
    width: 100%;
  }

  .scenario-bar__btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .home-block__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-carousel-controls {
    align-self: flex-end;
  }

  .scenario-card,
  .bestseller-card {
    min-width: 220px;
  }

  .deal-grid,
  .category-grid,
  .cashback-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cashback-offer-card {
    min-height: 155px;
  }

  .home-value {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .home-value__content h2 {
    font-size: 1.6rem;
  }

  .value-image {
    max-width: 100%;
  }

  /* Categories mobile */
  .categories {
    gap: 0.75rem;
  }
  
  .category-card {
    flex: 0 0 160px;
    padding: 0.75rem;
  }
  
  .category-card strong {
    font-size: 0.9rem;
  }
  
  .category-card p {
    font-size: 0.8rem;
  }

  /* Products grid mobile */
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .product-card {
    padding: 0.75rem;
    min-height: 280px;
    border-radius: 14px;
  }
  
  .product-card img {
    height: 100%;
    border-radius: 10px;
    padding: 4px;
  }
  
  .product-card h3 {
    font-size: 0.9rem;
    margin: 0.5rem 0 0.2rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .product-card p {
    font-size: 0.8rem;
    margin: 2px 0;
  }
  
  .price-row {
    margin-top: 0.3rem;
  }
  
  .price {
    font-size: 1.1rem;
  }
  
  .old-price {
    font-size: 0.8rem;
  }
  
  .product-card button {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  /* Filters mobile */
  .filters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .filters select,
  .filters input {
    width: 100%;
    min-width: unset;
    padding: 0.75rem;
  }

  /* Banner mobile */
  .catalog-banner {
    padding: 1.25rem;
    border-radius: 16px;
  }
  
  .catalog-banner h3 {
    font-size: 1.3rem;
  }
  
  .catalog-banner p {
    font-size: 0.9rem;
  }
  
  .catalog-banner button {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Container mobile */
  .catalog-container {
    padding: 1rem 0.5rem;
    margin-top: -0.5rem;
  }
  
  .catalog-panel {
    padding: 0.75rem;
    border-radius: 16px;
  }
  
  .catalog-section {
    margin-bottom: 1.5rem;
  }
  
  .catalog-section-title h2 {
    font-size: 1.1rem;
  }

  /* Pagination mobile */
  .pagination {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  
  .pagination button {
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
  }

  /* Tags mobile */
  .tag {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
  }
}

/* Small mobile phones */
@media (max-width: 480px) {
  .deal-grid,
  .category-grid,
  .cashback-offer-grid {
    grid-template-columns: 1fr;
  }

  .cashback-offer-modal {
    padding: 1.2rem;
  }

  .cashback-offer-modal h3 {
    font-size: 1.25rem;
    padding-right: 1.6rem;
  }

  .home-block__head h2 {
    font-size: 1.35rem;
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .product-card {
    padding: 0.6rem;
    min-height: 260px;
    border-radius: 12px;
  }

  .product-card img {
    height: 100%;
    padding: 4px;
    border-radius: 8px;
  }

  .product-card h3 {
    font-size: 0.82rem;
    margin: 0.4rem 0 0.2rem;
    -webkit-line-clamp: 2;
    line-height: 1.3;
  }

  .product-card p {
    font-size: 0.72rem;
    margin: 2px 0;
  }

  .price {
    font-size: 1rem;
  }

  .old-price {
    font-size: 0.75rem;
  }

  .product-card button {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  .category-card {
    flex: 0 0 140px;
  }

  .catalog-banner h3 {
    font-size: 1.1rem;
  }

  .catalog-banner p {
    font-size: 0.85rem;
    margin: 0.35rem 0 0rem;
  }
}
