:root {
  --catalog-accent: #ef6c59;
  --catalog-accent-hover: #d75443;
}

.shop-page {
  background: linear-gradient(180deg, #fffdfa 0%, #fff4ec 100%);
}

.shop-container {
  max-width: min(1320px, 100%);
  padding-left: clamp(0.25rem, 2vw, 1rem);
  padding-right: clamp(0.25rem, 2vw, 1rem);
}

@media (max-width: 640px) {
  .shop-container {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
    max-width: calc(100% - 0.3rem);
  }
}

.shop-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
}

.shop-hero__panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 242, 0.95));
  border-radius: 36px;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: 0 40px 80px rgba(201, 122, 102, 0.15);
  border: 1px solid rgba(226, 87, 69, 0.08);
  position: relative;
  overflow: hidden;
}

.shop-hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 219, 200, 0.4), transparent 55%);
  pointer-events: none;
}

.shop-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
}

.shop-hero__breadcrumbs {
  font-size: 0.9rem;
  color: #7a6f69;
  margin-bottom: 0.35rem;
}

.shop-hero__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.shop-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(226, 87, 69, 0.12);
  color: #c74332;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: fit-content;
}

.shop-hero__title {
  font-size: clamp(2.2rem, 2rem + 1.5vw, 3rem);
  font-weight: 800;
  color: #231b17;
  margin: 0;
}

.shop-hero__lead {
  font-size: 1.1rem;
  color: #534d47;
  max-width: 42ch;
  margin: 0;
}

.shop-hero__badges {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.shop-hero__badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 16px;
  background: rgba(226, 87, 69, 0.08);
  border: 1px solid rgba(226, 87, 69, 0.15);
  color: #3c2a24;
  font-weight: 600;
  line-height: 1.3;
  max-width: 100%;
}

.shop-hero__badge-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #e25745;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
}

.shop-hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.shop-hero__cta .btn-primary {
  background: #e96a5a;
  border-color: #e96a5a;
  color: #fff;
  box-shadow: 0 10px 25px rgba(233, 106, 90, 0.35);
}

.shop-hero__cta .btn-primary:hover,
.shop-hero__cta .btn-primary:focus-visible {
  background: #d95645;
  border-color: #d95645;
  color: #fff;
}

.shop-hero__cta .btn-primary:active {
  background: #c44737;
  border-color: #c44737;
}

.shop-hero__cta .btn-outline-primary {
  border-color: #e96a5a;
  color: #e96a5a;
  background: transparent;
}

.shop-hero__cta .btn-outline-primary:hover,
.shop-hero__cta .btn-outline-primary:focus-visible {
  background: rgba(233, 106, 90, 0.1);
  color: #d95645;
  border-color: #d95645;
}

.shop-hero__cta .btn-whatsapp {
  background: #25d366;
  border: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.shop-hero__cta .btn-whatsapp:hover,
.shop-hero__cta .btn-whatsapp:focus-visible {
  background: #1ebe5d;
  color: #fff;
  box-shadow: 0 14px 30px rgba(30, 190, 93, 0.35);
}

.shop-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.shop-section__header h2 {
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #231b17;
}

.shop-section__sub {
  color: #655b55;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.shop-catalog__heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.shop-catalog__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c74332;
  margin-bottom: 0.35rem;
  display: inline-block;
}

.shop-catalog__title {
  margin: 0;
  font-size: clamp(1.9rem, 1.6rem + 1vw, 2.3rem);
  color: #231b17;
}

.shop-catalog__sub {
  margin: 0.5rem 0 0;
  color: #6a5e57;
}

.catalog-filter-bar {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-chip {
  border: 1px solid rgba(35, 27, 23, 0.1);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-chip:focus-visible,
.filter-chip:hover {
  border-color: rgba(226, 87, 69, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  outline: none;
}

.filter-chip__label {
  color: #463b35;
  font-weight: 600;
}

.filter-chip__value {
  color: #150f0c;
  font-weight: 600;
}

.filter-chip__icon {
  font-size: 0.85rem;
  color: #7d6d66;
}

.catalog-applied {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.catalog-applied__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.applied-pill {
  border: 1px solid rgba(35, 27, 23, 0.15);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: #fff;
  font-size: 0.9rem;
  color: #291f1a;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.catalog-reset {
  border: 1px solid rgba(35, 27, 23, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: #fff;
  color: #c74332;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-reset:hover,
.catalog-reset:focus-visible {
  border-color: rgba(226, 87, 69, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  outline: none;
}

.catalog-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(0.45rem, 1.1vw, 0.75rem);
  justify-content: center;
}

@media (min-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: clamp(0.6rem, 1vw, 1rem);
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }
}

.catalog-grid--single {
  max-width: min(440px, 100%);
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(0, 1fr);
}

.catalog-grid--single .catalog-card {
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.catalog-card {
  background: #fef9f3;
  border-radius: 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  box-shadow: 0 18px 35px rgba(180, 120, 90, 0.05);
  overflow: hidden;
}

.catalog-card__media {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.catalog-card__media-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffdfa 0%, #ffeede 100%);
  aspect-ratio: 4 / 5;
}

.catalog-card__media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.catalog-card:hover .catalog-card__media-frame img {
  transform: scale(1.02);
}

.catalog-slider {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  gap: 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.catalog-slider::-webkit-scrollbar {
  display: none;
}

.catalog-slider__slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
}

.catalog-slider__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.catalog-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.1rem;
}

.catalog-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(35, 27, 23, 0.25);
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
  cursor: pointer;
}

.catalog-slider__dot.is-active {
  background: #ff8c7a;
  width: 18px;
}

.catalog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0 0 1.15rem;
}

.catalog-card__title,
.catalog-card__markers,
.catalog-card__origin,
.catalog-card__meta,
.catalog-card__price-line {
  padding-right: 0.5rem;
  padding-left: 0.6rem;
}

.catalog-card__title {
  font-size: 1.05rem;
  margin: 0;
  color: #1f1b16;
  line-height: 1.35;
}

.catalog-card__markers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.15rem 0 0.1rem;
}

.catalog-card__origin {
  align-self: flex-start;
  display: inline-flex;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7a6d62;
  background: #edf0e7;
  letter-spacing: 0.01em;
}

.catalog-card__origin.badge-grown,
.catalog-card__origin.badge-fresh {
  background: #edf0e7 !important;
  color: #67715d;
}

.catalog-card__meta {
  color: #6d625b;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

.catalog-card__price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #17894e;
  margin: 0.15rem 0 0.25rem;
}

.catalog-card__price-old {
  font-size: 0.95rem;
  font-weight: 600;
  color: #b8ada4;
  text-decoration: line-through;
}

.catalog-card__discount {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c64333;
  background: rgba(198, 67, 51, 0.12);
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
}

.catalog-card__price-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: #7a6d62;
  background: rgba(23, 137, 78, 0.08);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.catalog-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
}

.catalog-card__actions form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.catalog-card__actions .btn {
  width: 100%;
  border-radius: 14px;
  font-weight: 600;
  padding: 0.75rem;
}

.catalog-card .btn-add {
  background: var(--catalog-accent);
  border-color: var(--catalog-accent);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.catalog-card .btn-add:hover,
.catalog-card .btn-add:focus-visible {
  background: var(--catalog-accent-hover);
  border-color: var(--catalog-accent-hover);
  color: #fff;
  box-shadow: 0 6px 15px rgba(239, 108, 89, 0.4);
  transform: translateY(-1px);
}

.catalog-card__actions .btn-outline-secondary {
  border-color: rgba(35, 27, 23, 0.2);
  color: #1f1b16;
  background: transparent;
}

.catalog-card__actions .btn-outline-secondary:hover {
  border-color: rgba(35, 27, 23, 0.5);
  color: #1f1b16;
  background: rgba(35, 27, 23, 0.05);
}

.cart-stepper {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--catalog-accent);
  color: #fff;
  border-radius: 14px;
  padding: 0.5rem 0.65rem;
}

.cart-stepper__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.cart-stepper__btn {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.15rem 0.35rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.cart-stepper__btn:disabled {
  opacity: 0.35;
}

.cart-stepper__btn:not(:disabled):hover,
.cart-stepper__btn:not(:disabled):focus-visible {
  opacity: 0.85;
}

.cart-stepper__value {
  min-width: 2rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.catalog-empty {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #7d6d66;
}

.filter-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 999;
}

.filter-sheet {
  position: fixed;
  left: 50%;
  bottom: min(2vh, 20px);
  transform: translate(-50%, 0);
  width: min(560px, calc(100% - 2rem));
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
  padding: 1.5rem 1.5rem 1.75rem;
  z-index: 1000;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.filter-sheet__handle {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  margin: 0 auto 1rem;
}

.filter-sheet__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.filter-sheet__body {
  margin-top: 1rem;
  overflow-y: auto;
  flex: 1;
  display: grid;
  gap: 0.5rem;
}

.sheet-option {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sheet-option input {
  width: 1rem;
  height: 1rem;
}

.filter-sheet__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.filter-sheet__actions .btn-primary {
  background: #ff8c7a;
  border-color: #ff8c7a;
  color: #fff;
  box-shadow: 0 6px 15px rgba(255, 140, 122, 0.35);
}

.shop-seo-links {
  background: transparent;
  border-radius: 0;
}

.seo-links-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.seo-links-card {
  padding: 1rem;
  border: 1px solid rgba(35, 27, 23, 0.08);
  border-radius: 20px;
  background: #fff;
}

.seo-links-card__title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #231b17;
}

.seo-links-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.seo-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 87, 69, 0.25);
  text-decoration: none;
  color: #c74332;
  font-weight: 600;
  font-size: 0.9rem;
}

.seo-link:hover,
.seo-link:focus-visible {
  background: rgba(226, 87, 69, 0.08);
  outline: none;
}

@media (max-width: 768px) {
  .catalog-card__actions {
    flex-direction: column;
  }
}

.shop-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.shop-chip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 1.4rem;
  border-radius: 14px;
  border: 1px solid rgba(226, 87, 69, 0.35);
  color: #e25745;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.shop-chip-button:hover,
.shop-chip-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(226, 87, 69, 0.18);
  outline: none;
}

.shop-chip-button.is-active {
  background: rgba(226, 87, 69, 0.12);
  border-color: rgba(226, 87, 69, 0.6);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}
.shop-filter-form {
  display: grid;
  gap: 1rem;
}

.shop-filter-group {
  display: grid;
  gap: 0.35rem;
}

.shop-filter-group legend {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c74332;
  display: none;
}


.shop-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.shop-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 16px;
  background: rgba(226, 87, 69, 0.12);
  color: #cf4f3e;
  font-weight: 600;
  font-size: 0.9rem;
}

.shop-filter-tag button {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.shop-mobile-results {
  display: block;
}

.shop-desktop-results {
  display: none;
}

.mobile-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.45rem, 2.4vw, 0.75rem);
  max-height: clamp(360px, 60vh, 460px);
  overflow-y: auto;
  padding-left: clamp(0.15rem, 1.4vw, 0.35rem);
  padding-right: clamp(0.15rem, 1.4vw, 0.35rem);
  padding-bottom: clamp(0.25rem, 1.6vw, 0.5rem);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(226, 87, 69, 0.3) transparent;
}

.mobile-card-grid::-webkit-scrollbar {
  width: 6px;
}

.mobile-card-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
}

.mobile-card-grid::-webkit-scrollbar-thumb {
  background: rgba(226, 87, 69, 0.35);
  border-radius: 999px;
}

.mobile-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 24px 48px rgba(213, 98, 85, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-card__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #fff1e9;
  overflow: hidden;
}

.mobile-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(239, 107, 90, 0.9);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.mobile-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-card__body {
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem 1rem 1rem;
  min-height: 0;
}

.mobile-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2b1c1a;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mobile-card__price-line {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.mobile-card__price {
  font-weight: 700;
  color: #e25745;
  font-size: 1.1rem;
}

.mobile-card__unit {
  font-size: 0.8rem;
  color: rgba(43, 28, 26, 0.6);
}

.mobile-card__btn {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff795f, #ef6b5a);
  color: #fff;
  font-weight: 700;
  padding: 0.6rem;
  border: none;
  min-height: 44px;
  width: 100%;
}

.shop-constructor__loader {
  display: none;
  gap: 0.75rem;
  position: absolute;
  inset: 0;
  padding: 1rem;
  background: rgba(255, 252, 247, 0.85);
  backdrop-filter: blur(2px);
  align-content: center;
  justify-items: center;
  z-index: 3;
}

.shop-constructor.is-loading .shop-constructor__loader {
  display: grid;
}

.shop-constructor.is-loading .shop-mobile-results,
.shop-constructor.is-loading .shop-desktop-results {
  opacity: 0.35;
  pointer-events: none;
}

.shop-constructor__loader .skeleton-card {
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
  animation: skeleton-shimmer 1.4s infinite;
  min-height: 160px;
  width: clamp(140px, 45vw, 220px);
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}

.shop-filter-shell {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.shop-constructor {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 2.5vw, 2.5rem);
}

.shop-constructor__filters {
  display: grid;
  gap: 1.5rem;
  padding-inline: 0;
  align-items: start;
  justify-items: center;
  width: 100%;
}

.shop-filter-form {
  display: grid;
  gap: 1.35rem;
  width: 100%;
  max-width: clamp(320px, 96%, 540px);
  margin: 0 auto;
}

.shop-constructor .shop-filter-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  width: 100%;
  max-width: min(100%, 360px);
  margin: 0 auto;
  align-items: center;
}

.shop-constructor .shop-filter-group > .d-flex {
  order: -1;
  width: 100%;
  display: flex !important;
  justify-content: flex-end !important;
  margin: 0 0 0.15rem;
  align-self: stretch;
}

.shop-constructor .shop-segment-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.65rem;
  width: 100%;
  max-width: min(100%, 360px);
  margin: 0 auto;
  padding: 0;
  border: none;
  background: transparent;
}

.shop-segment-group > div {
  width: 100%;
}

.shop-segment-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.shop-segment-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 87, 69, 0.3);
  font-weight: 700;
  color: #c74332;
  background: #fff5ef;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
  cursor: pointer;
}

.shop-segment-label:hover,
.shop-segment-label:focus-visible {
  background: rgba(226, 87, 69, 0.15);
  border-color: rgba(226, 87, 69, 0.5);
  color: #a63a2c;
  outline: none;
  box-shadow: 0 12px 26px rgba(226, 87, 69, 0.18);
}

.shop-segment-group input[type="radio"]:focus-visible + .shop-segment-label {
  outline: 2px solid rgba(226, 87, 69, 0.45);
  outline-offset: 3px;
}

.shop-segment-group input[type="radio"]:checked + .shop-segment-label {
  background: linear-gradient(135deg, #ff795f, #ef6b5a);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(226, 87, 69, 0.22);
}

.shop-budget-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.75rem;
  width: 100%;
  max-width: min(100%, 360px);
  margin: 0 auto;
}

.shop-budget-chip-wrapper {
  position: relative;
  display: inline-flex;
  width: 100%;
  cursor: pointer;
}

.shop-budget-chips input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.shop-budget-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 87, 69, 0.3);
  color: #c74332;
  font-weight: 700;
  background: #fff5ef;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.shop-budget-chip:hover,
.shop-budget-chip:focus-visible {
  background: rgba(226, 87, 69, 0.15);
  color: #a63a2c;
  border-color: rgba(226, 87, 69, 0.5);
  box-shadow: 0 12px 26px rgba(226, 87, 69, 0.18);
}

.shop-budget-chip:focus-visible {
  outline: 2px solid rgba(226, 87, 69, 0.45);
  outline-offset: 3px;
}

.shop-budget-chips input[type="radio"]:checked + .shop-budget-chip {
  background: linear-gradient(135deg, #ff795f, #ef6b5a);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(226, 87, 69, 0.22);
}

.shop-reset-btn {
  background: transparent;
  border: none;
  color: #c74332;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0;
}

.shop-reset-btn:hover,
.shop-reset-btn:focus-visible {
  color: #a63a2c;
  text-decoration: none;
}

.shop-reset-btn:focus-visible {
  outline: 2px solid rgba(226, 87, 69, 0.45);
  outline-offset: 3px;
}

.shop-constructor__results {
  display: grid;
  gap: 1.4rem;
  position: relative;
}

@media (min-width: 992px) {
  .shop-constructor {
    padding: 0;
    gap: clamp(1.8rem, 2.4vw, 2.8rem);
  }

  .shop-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
    max-width: none;
    margin: 0;
  }

  .shop-constructor .shop-filter-group {
    max-width: none;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .shop-constructor .shop-filter-group > .d-flex {
    max-width: none;
    margin: 0 0 0 auto;
    padding-right: 0;
  }

  .shop-constructor .shop-segment-group {
    max-width: none;
    margin: 0;
    justify-content: flex-start;
    padding: 0.4rem;
  }

  .shop-constructor__filters {
    padding-inline: 0;
  }

  .shop-filter-form .shop-filter-group {
    grid-column: 1 / -1;
  }

  .shop-budget-chips {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: clamp(0.85rem, 1.4vw, 1.2rem);
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .shop-budget-chip-wrapper {
    width: auto;
  }

  .shop-budget-chip {
    width: auto;
  }

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

  .shop-desktop-results {
    display: block;
    --constructor-card-min: 220px;
    --constructor-card-gap: clamp(1rem, 1.8vw, 1.35rem);
  }

  .shop-desktop-results [data-desktop-container] {
    width: 100%;
    max-height: clamp(640px, 70vh, 860px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 var(--constructor-card-gap) var(--constructor-card-gap);
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 87, 69, 0.35) transparent;
  }

  .shop-desktop-results [data-desktop-container]::-webkit-scrollbar {
    width: 8px;
  }

  .shop-desktop-results [data-desktop-container]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
  }

  .shop-desktop-results [data-desktop-container]::-webkit-scrollbar-thumb {
    background: rgba(226, 87, 69, 0.35);
    border-radius: 999px;
  }

  .shop-desktop-results [data-desktop-container] .delivery-products {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .shop-desktop-results [data-desktop-container] .delivery-product-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(var(--constructor-card-min), 1fr));
    gap: var(--constructor-card-gap);
    padding: 0;
    min-width: 0;
    align-content: start;
    justify-items: stretch;
  }

  .shop-desktop-results [data-desktop-container] .delivery-product-card {
    width: 100%;
    height: 100%;
    min-width: 0;
  }
}

.shop-filter-block__title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c74332;
  margin-bottom: 0.75rem;
}

.delivery-products {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.delivery-product-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0 0 0.75rem;
  min-width: max-content;
}

.delivery-product-list::-webkit-scrollbar {
  display: none;
}

.delivery-product-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 24px 48px rgba(213, 98, 85, 0.16);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  flex: 0 0 clamp(210px, 60vw, 240px);
  scroll-snap-align: start;
}

.delivery-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(213, 98, 85, 0.2);
}

.delivery-product-thumb {
  aspect-ratio: 4 / 5;
  background: #fff1e9;
  overflow: hidden;
  position: relative;
}

.delivery-product-thumb picture,
.delivery-product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
}

.delivery-product-thumb img {
  object-fit: cover;
}

.delivery-product-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.delivery-product-badge {
  background: rgba(239, 107, 90, 0.9);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.delivery-product-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 0 1.2rem;
}

.delivery-product-title {
  color: #2b1c1a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.delivery-product-price-line {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.delivery-product-price-old {
  color: rgba(43, 28, 26, 0.45);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: line-through;
}

.delivery-product-price {
  color: #ef6b5a;
  font-size: 1.15rem;
  font-weight: 700;
}

.delivery-product-discount {
  color: #c64333;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(198, 67, 51, 0.12);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}

.delivery-product-currency {
  color: rgba(43, 28, 26, 0.65);
  font-size: 0.95rem;
  font-weight: 600;
}

.delivery-product-unit {
  color: rgba(43, 28, 26, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
}

.delivery-product-desc {
  color: rgba(43, 28, 26, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.delivery-product-form {
  margin-top: auto;
}

.shop-card:hover,
.shop-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(213, 98, 85, 0.18);
  outline: none;
}

.shop-card__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e25745;
}

.shop-card__title {
  font-size: 1.25rem;
  font-weight: 700;
}

.shop-card__link {
  font-size: 0.95rem;
  color: #e25745;
  font-weight: 600;
}

.occasion-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.occasion-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-width: max(160px, 40%);
  box-shadow: 0 14px 30px rgba(35, 27, 23, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.occasion-chip:hover,
.occasion-chip:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(35, 27, 23, 0.25);
  outline: none;
}

.occasion-chip__emoji {
  font-size: 1.3rem;
}

.occasion-chip__label {
  font-size: 0.95rem;
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.occasion-grid .mobile-card {
  box-shadow: 0 16px 32px rgba(214, 103, 91, 0.14);
}

@media (max-width: 576px) {
  .occasion-chip {
    min-width: 100%;
  }
}

.shop-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.shop-pricing-pill {
  text-decoration: none;
  background: #fff;
  color: #e25745;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  text-align: center;
  border: 1px solid rgba(226, 87, 69, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.shop-pricing-pill:hover,
.shop-pricing-pill:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(221, 79, 58, 0.2);
  outline: none;
}

.shop-pricing-pill.is-active {
  background: rgba(226, 87, 69, 0.12);
  border-color: rgba(226, 87, 69, 0.65);
  color: #c74332;
}

@media (min-width: 992px) {
  .delivery-products {
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .delivery-product-list {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    padding: 0;
  }

  .delivery-product-card {
    flex: 1 1 auto;
    scroll-snap-align: unset;
  }
}

.shop-delivery-section {
  background: linear-gradient(135deg, rgba(255, 233, 220, 0.4), rgba(255, 247, 240, 0.9));
  border-radius: 36px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 24px 54px rgba(205, 118, 97, 0.15);
}

.shop-delivery-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 1.5rem;
}

.shop-delivery-card {
  padding: 1.1rem 1.25rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 36px rgba(205, 118, 97, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.shop-delivery-card__top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: #231b17;
}

.shop-delivery-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(205, 118, 97, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.shop-delivery-card__title {
  margin: 0;
}

.shop-delivery-card__desc {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(35, 27, 23, 0.75);
}

.shop-delivery-cta {
  margin-top: 1.5rem;
}

.shop-faq {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.faq-card {
  background: linear-gradient(180deg, #fffdf9 0%, #fff6ee 100%);
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(30, 11, 3, 0.08);
  padding: clamp(2rem, 1.6rem + 1.5vw, 2.8rem);
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.faq-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(239, 107, 90, 0.12), rgba(239, 107, 90, 0));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.faq-item.is-open ~ .faq-card::before {
  opacity: 1;
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(239, 107, 90, 0.12);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item.is-open {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(239, 107, 90, 0.2);
}

.faq-trigger {
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.6rem;
  width: 100%;
  font-size: 1.05rem;
  font-weight: 700;
  color: #23272e;
}

.faq-trigger:focus-visible {
  outline: 2px solid rgba(239, 107, 90, 0.4);
  outline-offset: 2px;
}

.faq-trigger-text {
  text-align: left;
  flex: 1 1 auto;
}

.faq-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  color: rgba(239, 107, 90, 0.85);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-trigger-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.6rem 1.5rem;
  color: rgba(35, 39, 46, 0.78);
  font-size: 0.97rem;
  line-height: 1.6;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  margin: 0;
}

.shop-faq-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
