/* Home hero only: keep the original image out of the grid and pin the original content positions. */
.storefront-hero > .storefront-image { position:absolute; inset:0; z-index:-3; width:100%; height:100%; object-fit:cover; }
@media (min-width: 721px) {
  .storefront-hero > .storefront-copy { grid-column:1; grid-row:1; min-width:0; }
  .storefront-hero > .storefront-visit { grid-column:2; grid-row:1; justify-self:end; align-self:end; }
}
@media (max-width: 720px) {
  .storefront-hero > .storefront-copy { grid-column:1; grid-row:1; }
  .storefront-hero > .storefront-visit { grid-column:1; grid-row:2; }
}

/* Phone-only arrangement. No desktop/tablet changes above 720px. */
@media (max-width: 720px) {
  .storefront-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: clamp(18px, 4.8vw, 28px);
  }
  .storefront-hero > .storefront-copy { min-width: 0; }
  .storefront-copy .eyebrow {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 15px;
    padding: 7px 10px;
    font-size: clamp(.73rem, 3.2vw, .9rem);
    line-height: 1.3;
  }
  .storefront-copy .hero-location { display: inline; padding-inline-start: 0; }
  .storefront-copy .hero-location::before { content: "· "; }
  html[lang="bg"] .storefront-copy h1,
  html[lang="en"] .storefront-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 4.15rem);
    line-height: .98;
  }
  .storefront-actions { margin-top: 14px; }
  .storefront-copy .lead {
    font-size: clamp(.95rem, 3.95vw, 1.12rem);
    line-height: 1.48;
  }
  .storefront-copy .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    margin-top: 16px;
  }
  .storefront-copy .actions .button {
    min-width: 0;
    min-height: 46px;
    font-size: clamp(.8rem, 3.5vw, .95rem);
    line-height: 1.2;
    padding: 10px 8px;
  }
  .storefront-hero > .storefront-visit {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 3px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .storefront-visit span {
    grid-column: 1; grid-row: 1;
    font-size: .8rem;
    line-height: 1.2;
  }
  .storefront-visit strong {
    grid-column: 1; grid-row: 2;
    font-size: 1.02rem;
    line-height: 1.2;
  }
  .storefront-visit a {
    grid-column: 2; grid-row: 1 / 3;
    justify-self: end;
    justify-content: flex-end;
    min-height: 44px;
    font-size: .82rem;
    text-align: right;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 350px) {
  .storefront-copy .actions { grid-template-columns: minmax(0, 1fr); }
  .storefront-copy .actions .button { font-size: .875rem; }
}
 
/* Taller phone hero: build one coherent typographic block instead of
   spreading three separate items across a tall empty grid. */
@media (max-width: 720px) {
  .storefront-hero {
    min-height: min(620px, max(0px, calc(100vh - 172px)));
    min-height: min(620px, max(0px, calc(100svh - 172px)));
    grid-template-rows: minmax(min-content, 1fr) auto;
    gap: clamp(18px, 4.7vw, 24px);
    padding: clamp(20px, 5.15vw, 30px);
  }
  .storefront-hero > .storefront-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
  }
  .storefront-copy .eyebrow {
    align-self: flex-start;
    margin-bottom: clamp(18px, 4.8vw, 26px);
  }
  html[lang="bg"] .storefront-copy h1,
  html[lang="en"] .storefront-copy h1 {
    font-size: clamp(2rem, 11vw, 4.25rem);
    line-height: .98;
  }
  .storefront-copy h1 .brand-accent {
    font-size: 1.58em;
    line-height: .9;
    letter-spacing: -.054em;
    margin-top: 5px;
  }
  .storefront-actions { margin-top: clamp(17px, 4.7vw, 23px); }
  .storefront-copy .lead {
    font-size: clamp(1rem, 4.5vw, 1.16rem);
    line-height: 1.45;
    max-width: 42ch;
  }
  .storefront-copy .hero-lead-intro {
    display: block;
    margin-bottom: 8px;
    font-size: 1.22em;
    font-weight: 650;
    line-height: 1.22;
    color: #fff;
  }
  .storefront-copy .hero-lead-detail { display: block; }
  .storefront-copy .actions { margin-top: 18px; }
  .storefront-copy .actions .button { min-height: 48px; }
}
