/* VasiliadisMobile reference layout — v166
   Exact presentation match to the approved 1920×1200 reference.
   Catalogue data, prices, filters, links and behaviour are untouched. */
:root {
  --ref-cream: #f4f1ec;
  --ref-cream-panel: #f2eee9;
  --ref-white: #ffffff;
  --ref-header: #fdfcfb;
  --ref-ink: #24211f;
  --ref-muted: #8f8580;
  --ref-red: #d71f2b;
  --ref-line: #e4ddd4;
  --ref-shadow: 0 14px 34px rgba(36, 33, 31, .08);
  --warm-cream: var(--ref-cream);
  --warm-paper: var(--ref-white);
  --warm-ink: var(--ref-ink);
  --warm-muted: var(--ref-muted);
  --warm-red: var(--ref-red);
  --warm-line: var(--ref-line);
}

html,
body,
body.storefront,
body.repair-landing {
  background: var(--ref-cream) !important;
  color: var(--ref-ink) !important;
}

body.storefront main,
body.repair-landing main {
  background: var(--ref-cream) !important;
  color: var(--ref-ink) !important;
  padding-top: 0 !important;
}

/* Exact dark announcement strip from the reference. */
body.storefront .store-topline,
body.repair-landing .store-topline {
  min-height: 45px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  background: #24211f !important;
  border: 0 !important;
  color: #f8f6f3 !important;
}

.store-topline .container {
  width: min(1570px, calc(100% - 80px)) !important;
  min-height: 45px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

/* White header, larger approved logo and the same desktop proportions. */
body.storefront .header,
body.repair-landing .header {
  height: 120px !important;
  background: var(--ref-header) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--ref-ink) !important;
  backdrop-filter: none !important;
}

body.storefront .header-inner,
body.repair-landing .header-inner {
  width: min(1690px, calc(100% - 96px)) !important;
  height: 120px !important;
  min-height: 120px !important;
  gap: 28px !important;
}

.header .brand {
  width: 380px !important;
  min-width: 380px !important;
  transform: none !important;
}

.header .brand .brand-art,
.header .brand .home-logo {
  display: none !important;
}

.header .brand::before {
  width: 100% !important;
  aspect-ratio: 3.35 / 1 !important;
  background: url("assets/vasiliadismobile-logo-expert.svg") left center / contain no-repeat !important;
  filter: none !important;
  transform: none !important;
}

.structure-nav {
  gap: 28px !important;
}

.structure-nav > a,
.nav-mega > summary,
.nav > a {
  color: var(--ref-ink) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.nav-mega.nav-repairs > summary,
.structure-nav > a:first-child {
  min-height: 54px !important;
  padding: 0 21px !important;
  display: inline-flex !important;
  align-items: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ref-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.nav-mega.nav-repairs > summary:hover,
.nav-mega.nav-repairs[open] > summary,
.structure-nav > a:first-child:hover {
  background: #151312 !important;
  color: #fff !important;
}

.header-phones {
  min-width: 150px !important;
  padding-left: 28px !important;
  gap: 8px !important;
  border-left: 1px solid #4a4643 !important;
  align-items: flex-start !important;
}

.header-phones .header-phone {
  padding: 2px 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ref-red) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

/* Search pill: white, soft and wide, with no red or black outline. */
body.storefront > .catalog-search,
body.repair-landing > .catalog-search {
  width: min(1000px, calc(100% - 80px)) !important;
  max-width: 1000px !important;
  margin: 28px auto 22px !important;
  padding: 0 !important;
  background: transparent !important;
}

body.storefront .catalog-search > div,
body.repair-landing .catalog-search > div {
  min-height: 78px !important;
  padding: 0 28px !important;
  border: 1px solid #ded7cf !important;
  border-radius: 999px !important;
  background: #fafaf9 !important;
  box-shadow: var(--ref-shadow) !important;
  color: var(--ref-ink) !important;
}

.catalog-search > div:focus-within {
  border-color: #b9aea6 !important;
  outline: 2px solid rgba(36, 33, 31, .09) !important;
  outline-offset: 2px !important;
}

.catalog-search input {
  height: 76px !important;
  color: var(--ref-ink) !important;
  font-size: 18px !important;
}

.catalog-search input::placeholder { color: #a99e97 !important; }

/* Finder block: sampled cream #f2eee9 and white controls from the reference. */
body.storefront .quick-finder,
body.storefront.home-page .quick-finder,
body.storefront:not(.mobile-page) .quick-finder,
body.repair-landing .quick-finder {
  width: calc(100% - 76px) !important;
  max-width: 1824px !important;
  margin: 0 auto !important;
  padding: 24px 0 !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 22px !important;
  background: var(--ref-cream-panel) !important;
  box-shadow: none !important;
  color: var(--ref-ink) !important;
}

body.storefront .finder-inner,
body.repair-landing .finder-inner {
  width: min(1500px, calc(100% - 80px)) !important;
  display: grid !important;
  grid-template-columns: 200px repeat(3, minmax(0, 1fr)) 156px !important;
  align-items: center !important;
  gap: 22px !important;
  padding: 0 !important;
}

body.storefront .finder-title,
body.storefront.home-page .finder-title,
body.storefront:not(.home-page) .finder-title,
body.repair-landing .finder-title {
  color: var(--ref-ink) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body.storefront .finder-inner select,
body.repair-landing .finder-inner select {
  width: 100% !important;
  height: 66px !important;
  padding-inline: 30px 52px !important;
  border: 1px solid #ddd5cd !important;
  border-radius: 16px !important;
  background-color: #fff !important;
  color: var(--ref-ink) !important;
  -webkit-text-fill-color: var(--ref-ink) !important;
  font-size: 18px !important;
  box-shadow: none !important;
}

body.storefront .finder-inner select:focus,
body.repair-landing .finder-inner select:focus {
  border-color: #b9aea6 !important;
  outline: 2px solid rgba(36, 33, 31, .09) !important;
  outline-offset: 2px !important;
}

body.storefront .finder-inner select:disabled,
body.repair-landing .finder-inner select:disabled {
  opacity: 1 !important;
  background-color: #f7f5f2 !important;
  color: #716a65 !important;
  -webkit-text-fill-color: #716a65 !important;
}

body.storefront .finder-inner button,
body.repair-landing .finder-inner button {
  height: 76px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 17px !important;
  background: var(--ref-ink) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

body.storefront .finder-inner button:hover,
body.repair-landing .finder-inner button:hover { background: #151312 !important; }

/* Approved repair image and the same airy two-column hero card. */
body.storefront.home-page .repair-hero {
  width: min(1550px, calc(100% - 160px)) !important;
  max-width: 1550px !important;
  min-height: 540px !important;
  margin: 46px auto 52px !important;
  padding: 68px !important;
  grid-template-columns: minmax(430px, .9fr) minmax(560px, 1.25fr) !important;
  gap: 78px !important;
  align-items: center !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 28px !important;
  background: var(--ref-white) !important;
  color: var(--ref-ink) !important;
  box-shadow: var(--ref-shadow) !important;
}

body.storefront.home-page .repair-hero-copy {
  max-width: 560px !important;
  align-self: center !important;
}

body.storefront.home-page .repair-hero .eyebrow {
  margin-bottom: 28px !important;
  color: var(--ref-ink) !important;
  font-size: 11px !important;
  letter-spacing: 1.6px !important;
}

body.storefront.home-page .repair-hero h1 {
  margin: 0 !important;
  color: var(--ref-ink) !important;
  font-size: 27px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: -.55px !important;
}

body.storefront.home-page .repair-hero-accent {
  width: 224px !important;
  height: 8px !important;
  margin: 24px 0 22px !important;
  border-radius: 999px !important;
  background: var(--ref-red) !important;
  transform: rotate(-4deg) !important;
}

body.storefront.home-page .repair-hero-copy > p:not(.eyebrow) {
  max-width: 560px !important;
  margin-bottom: 34px !important;
  color: #4f4945 !important;
  font-size: 20px !important;
  line-height: 1.65 !important;
}

body.storefront.home-page .repair-hero .button {
  min-width: 274px !important;
  min-height: 62px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  background: var(--ref-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
}

body.storefront.home-page .repair-hero-visual {
  position: relative !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-height: 470px !important;
  align-self: stretch !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #d8c3b2 !important;
  box-shadow: none !important;
}

body.storefront.home-page .repair-hero-visual img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
  filter: saturate(.78) sepia(.10) contrast(1.03) !important;
}

body.storefront.home-page .repair-hero-links {
  grid-column: 1 / -1 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 0 !important;
}

body.storefront.home-page .repair-hero-links a {
  min-height: 54px !important;
  border: 1px solid var(--ref-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--ref-ink) !important;
  box-shadow: none !important;
}

/* Light cards throughout the site use the same neutral reference palette. */
body.storefront .category-intro,
body.storefront .catalog-section,
body.storefront .category-tile,
body.storefront .product-card,
body.storefront .home-benefits,
body.storefront .benefit-card,
body.storefront .neighborhood-banner,
body.storefront dialog,
body.storefront #product-dialog {
  border-color: var(--ref-line) !important;
  background-color: #fff !important;
  color: var(--ref-ink) !important;
}

/* The "Γιατί να επιλέξεις τον Βασιλειάδη" block follows the wide,
   horizontal proportions of the approved desktop reference. */
body.storefront.home-page .home-benefits {
  width: min(1550px, calc(100% - 80px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding: 52px 60px 64px !important;
  border-radius: 30px !important;
  box-shadow: 0 18px 45px rgba(36, 33, 31, .055) !important;
}

/* Keep the two product-introduction panels on one exact horizontal grid,
   with matching top and bottom edges. */
body.storefront.home-page .shop-hero {
  width: min(1550px, calc(100% - 80px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr) !important;
  align-items: stretch !important;
}

body.storefront.home-page .shop-hero-copy,
body.storefront.home-page .shop-showcase {
  height: 100% !important;
  align-self: stretch !important;
}

body.storefront.home-page .benefits-heading {
  margin-bottom: 34px !important;
}

body.storefront.home-page .benefits-grid {
  gap: 20px !important;
}

body.storefront.home-page .benefit-card {
  min-height: 236px !important;
  padding: 30px !important;
}

/* Remove old black/red top accents that are not present in the reference. */
body.storefront .catalog-search > div,
body.storefront .quick-finder,
body.storefront .repair-hero,
body.storefront .category-intro,
body.storefront .catalog-section,
body.storefront .category-tile,
body.storefront .product-card,
body.storefront .benefit-card,
body.storefront .neighborhood-banner {
  border-top-color: var(--ref-line) !important;
  border-top-width: 1px !important;
}

@media (max-width: 1450px) {
  .header .brand {
    width: 330px !important;
    min-width: 330px !important;
  }

  .structure-nav { gap: 17px !important; }
  .structure-nav > a,
  .nav-mega > summary,
  .nav > a { font-size: 14px !important; }
  .header-phones { min-width: 132px !important; padding-left: 20px !important; }
  .header-phones .header-phone { font-size: 13px !important; }

  body.storefront.home-page .repair-hero {
    width: min(1240px, calc(100% - 80px)) !important;
    grid-template-columns: minmax(350px, .85fr) minmax(500px, 1.2fr) !important;
    gap: 48px !important;
    padding: 56px !important;
  }
}

/* Keep the nine home categories in three complete, aligned rows on desktop. */
@media (min-width: 761px) {
  body.storefront.home-page .category-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.storefront.home-page .category-tile {
    min-height: 176px !important;
  }
}

@media (max-width: 1100px) {
  .header .brand {
    width: 270px !important;
    min-width: 270px !important;
  }

  .structure-nav { gap: 10px !important; }
  .structure-nav > a,
  .nav-mega > summary,
  .nav > a { font-size: 12px !important; }

  body.storefront .finder-inner,
  body.repair-landing .finder-inner {
    width: calc(100% - 48px) !important;
    grid-template-columns: 170px repeat(3, minmax(0, 1fr)) 126px !important;
    gap: 12px !important;
  }

  body.storefront.home-page .repair-hero {
    grid-template-columns: 1fr 1.15fr !important;
    padding: 42px !important;
  }
}

@media (max-width: 760px) {
  body.storefront.home-page.mobile-banner-first .repair-hero {
    margin-bottom: 18px !important;
  }

  body.storefront.home-page.mobile-banner-first > .catalog-search {
    margin-top: 0 !important;
  }

  body.storefront.home-page .shop-hero {
    width: calc(100% - 28px) !important;
    grid-template-columns: 1fr !important;
  }

  body.storefront.home-page .home-benefits {
    width: calc(100% - 36px) !important;
    padding: 28px 20px 34px !important;
    border-radius: 24px !important;
  }

  body.storefront.home-page .benefit-card {
    min-height: 0 !important;
    padding: 24px !important;
  }
}

@media (max-width: 760px) {
  body.storefront .store-topline,
  body.repair-landing .store-topline { display: none !important; }

  body.storefront .header,
  body.repair-landing .header {
    height: 96px !important;
    background: var(--ref-header) !important;
  }

  body.storefront .header-inner,
  body.repair-landing .header-inner {
    width: calc(100% - 36px) !important;
    height: 96px !important;
    min-height: 96px !important;
  }

  .header .brand {
    width: min(300px, calc(100vw - 105px)) !important;
    min-width: 0 !important;
  }

  .header .brand::before { aspect-ratio: 3.35 / 1 !important; }
  .menu-toggle span { background: var(--ref-ink) !important; }

  .header .nav {
    top: 96px !important;
    background: #fff !important;
    color: var(--ref-ink) !important;
  }

  .structure-nav > a:first-child {
    min-height: 48px !important;
    padding: 0 16px !important;
    justify-content: center !important;
  }

  body.storefront > .catalog-search,
  body.repair-landing > .catalog-search {
    width: calc(100% - 36px) !important;
    margin: 20px auto 16px !important;
  }

  body.storefront .catalog-search > div,
  body.repair-landing .catalog-search > div {
    min-height: 60px !important;
    padding: 0 20px !important;
  }

  .catalog-search input {
    height: 58px !important;
    font-size: 15px !important;
  }

  body.storefront .quick-finder,
  body.storefront.home-page .quick-finder,
  body.storefront:not(.mobile-page) .quick-finder,
  body.repair-landing .quick-finder {
    width: calc(100% - 36px) !important;
    margin: 0 auto !important;
    padding: 22px 18px !important;
    border-radius: 20px !important;
  }

  body.storefront .finder-inner,
  body.repair-landing .finder-inner {
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.storefront .finder-title,
  body.repair-landing .finder-title {
    grid-column: 1 / -1 !important;
    font-size: 22px !important;
  }

  body.storefront .finder-inner select,
  body.repair-landing .finder-inner select {
    height: 56px !important;
    padding-inline: 14px 34px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }

  body.storefront .finder-inner button,
  body.repair-landing .finder-inner button {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 60px !important;
    border-radius: 15px !important;
    font-size: 17px !important;
  }

  body.storefront.home-page .repair-hero {
    width: calc(100% - 36px) !important;
    min-height: 0 !important;
    margin: 28px auto 34px !important;
    padding: 30px 24px 24px !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    border-radius: 24px !important;
  }

  body.storefront.home-page .repair-hero h1 {
    font-size: clamp(36px, 10.5vw, 48px) !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: -1.8px !important;
  }

  body.storefront.home-page .repair-hero-copy > p:not(.eyebrow) {
    margin-bottom: 26px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  body.storefront.home-page .repair-hero .button {
    min-width: 0 !important;
    min-height: 56px !important;
  }

  body.storefront.home-page .repair-hero-visual {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: 310px !important;
    border-radius: 20px !important;
  }

  body.storefront.home-page .repair-hero-links {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 2px !important;
  }

  body.storefront.home-page .repair-hero-links a {
    scroll-snap-align: start !important;
  }
}

@media (max-width: 430px) {
  .header .brand { width: min(270px, calc(100vw - 92px)) !important; }

  body.storefront .finder-inner,
  body.repair-landing .finder-inner {
    grid-template-columns: 1fr !important;
  }

  body.storefront .finder-inner > *,
  body.repair-landing .finder-inner > * {
    grid-column: 1 !important;
  }

  body.storefront.home-page .repair-hero-visual { min-height: 260px !important; }
}
