#all-stores {
  scroll-margin-top: 100px;
}

/* ===== HERO BG ===== */
.stores-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 40px var(--page-padding) 0;
}

.stores-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stores-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stores-hero .container {
  position: relative;
  z-index: 1;
}

/* ===== NAV (desktop only) ===== */
@media (min-width: 1025px) {
  .stores-hero {
    padding-top: 0;
    padding-bottom: 40px;
  }
  .stores-hero .nav {
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
  }
}

/* ===== HERO STORE CARDS ===== */
.stores-hero .draft-store {
  background: var(--white);
}

.stores-hero .draft-hero__grid {
  align-items: stretch;
}

.stores-hero .draft-hero__right {
  display: flex;
  flex-direction: column;
}

.stores-hero .draft-hero__right-header {
  flex-shrink: 0;
}

.stores-hero .draft-stores {
  flex: 1;
}

.stores-hero .draft-hero__branches-btn img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== ALL STORES ===== */
.all-stores {
  padding: 60px 0;
}

.all-stores__city {
  font-family: 'Exo 2', sans-serif;
  font-size: 35px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 24px;
}

.all-stores__city + .all-stores__city {
  margin-top: 50px;
}

.all-stores__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.5vw, 45px);
  margin-bottom: 40px;
}

/* Store Item Card */
.store-item {
  border: 0.79px solid var(--orange);
  border-radius: 19.74px;
  padding: 18px 24px;
  box-sizing: border-box;
  min-height: 150px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  transition: transform 0.2s;
}

.store-item:hover {
  transform: translateY(-3px);
}

.store-item--accent {
  background: var(--orange);
  color: var(--white);
}

.store-item--accent .tag {
  background: var(--white);
  border: 1px solid var(--orange);
  color: rgba(51, 51, 51, 0.5);
}

.store-item--accent .store-item__address {
  color: var(--white);
}

.store-item--accent .store-item__phone {
  color: rgba(255,255,255,0.7);
}

.store-item--accent .store-item__order {
  color: var(--orange);
  background: var(--white);
  border-color: var(--white);
}

.store-item--accent .store-item__order svg path {
  stroke: #EF7F1A;
}

.store-item--accent .store-item__icon:last-child {
  background: var(--white);
}

.store-item .tag {
  margin-bottom: 12px;
  justify-self: start;
}

.store-item__address {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(16px, 1.1vw, 20px);
  font-weight: 700;
  color: #333333;
  margin-bottom: 3px;
}

.store-item__phone {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  color: #333333;
  margin-bottom: 10px;
}

.store-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.store-item__order {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 11.89px;
  padding: 4.87px 13px;
  flex: 1;
  margin-right: 8px;
  transition: all 0.2s;
}

.store-item__order:hover {
  background: var(--orange);
  color: var(--white);
}

.store-item__order:hover svg path {
  stroke: white;
}

.store-item__icons {
  display: flex;
  gap: 6px;
}

.store-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  object-fit: cover;
}

picture:has(.store-item__icon--2gis) {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
  border: 1px solid var(--orange);
}

picture:has(.store-item__icon--2gis) img {
  width: 125%;
  height: 125%;
  max-width: none;
  margin: -12.5%;
  object-fit: cover;
  border: none;
}

.store-item__icon:last-child {
  object-fit: contain;
  padding: 3px;
}

/* ===== PROMOS ===== */
.promos {
  padding: 80px 0;
}

.promos__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.promos__left .section-title {
  margin-bottom: 20px;
  font-size: 32px;
  color: #323232;
}

.promos__desc {
  font-family: 'Exo 2', sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.6;
  color: #323232;
}

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

.promo-card {
  background: var(--orange);
  border-radius: 25px;
  padding: 40px;
  position: relative;
  width: 100%;
  text-decoration: none;
  transition: transform 0.2s;
}

.promo-card:hover {
  transform: translateY(-3px);
}

.promo-card__title {
  font-family: 'Exo 2', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #F2F3F8;
  margin-bottom: 10px;
  line-height: 67.1px;
}

.promo-card__text {
  max-width: 423px;
}

.promo-card__desc {
  font-family: 'Exo 2', sans-serif;
  font-size: 25px;
  font-weight: 400;
  color: #F2F3F8;
  line-height: 1.5;
}

.promo-card--birthday { min-height: 182px; }
.promo-card--loyalty { min-height: 190px; }
.promo-card--activity { min-height: 308px; }

.promo-card__arrow {
  position: absolute;
  top: 40px;
  right: 42px;
  width: 61px;
  height: 61px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1600px) and (max-width: 1919px) {
  .all-stores__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1025px) and (max-width: 1599px) {
  .all-stores__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .stores-hero { margin: 80px 30px 0; padding-bottom: 30px; }
  .draft-hero__branches-btn { width: 100%; }
  .all-stores__grid { grid-template-columns: repeat(3, 1fr); }
  .store-item__address { font-size: 15px; min-height: 2em; }
  .promos__grid { grid-template-columns: 1fr; }
  .promo-card { width: auto; padding: 24px; }
  .promo-card--birthday,
  .promo-card--loyalty,
  .promo-card--activity { height: auto; min-height: 0; }
  .promo-card__title { font-size: 28px; line-height: 1.2; }
}

@media (max-width: 768px) {
  .stores-hero {
    margin: 0;
    padding-top: 70px;
    border-radius: 0;
    overflow: visible;
  }
  .stores-hero .draft-hero__grid {
    margin-top: 16px;
  }
  .stores-hero__bg { display: none; }
  .stores-hero .container { padding: 0 16px; }
  .all-stores__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .all-stores__city { font-size: 28px; }
  .promos__grid { gap: 30px; }
  .promos__desc { font-size: 20px; }
  .promo-card__title { font-size: 24px; }
  .promo-card__desc { font-size: 16px; }
  .promo-card__arrow { width: 40px; height: 40px; top: 24px; right: 24px; }
}

@media (max-width: 480px) {
  .all-stores { padding: 40px 0; }
  .all-stores__grid { grid-template-columns: 1fr; }
  .all-stores__city { font-size: 24px; }
  .promos { padding: 40px 0; }
  .promos__desc { font-size: 18px; }
  .promo-card { padding: 20px; }
  .promo-card__title { font-size: 22px; }
  .promo-card__desc { font-size: 13px; }
  .promo-card__arrow { width: 32px; height: 32px; top: 20px; right: 20px; }
  .store-item__order { font-size: 11px; padding: 5px 10px; }
}

@media (max-width: 360px) {
  .stores-hero .container { padding: 0 12px; }
  .all-stores__city { font-size: 22px; }
  .store-item { padding: 14px; }
  .promo-card { padding: 16px; }
  .promo-card__title { font-size: 20px; }
}
