/* ECCO Shop Location — final clean migration stylesheet */
:root{
  --content-width:960px;
  --legacy-grey:#939393;
  --separator:#b9b9b9;
  --text:#111;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#fff;color:var(--text)}
body{
  font-family:Arial,"Helvetica Neue","Microsoft JhengHei","PingFang HK",sans-serif;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
a{color:inherit}

/* Exact legacy top geometry measured from the supplied original-page capture:
   black bar 79px + title area 100px + region tabs 54px + grey strip 18px. */
.brand-bar{
  width:100%;
  height:79px;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
}
.brand-bar a{
  height:79px;
  min-width:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.brand-bar img{
  width:168px;
  height:auto;
  max-height:58px;
  display:block;
}

.shell{
  width:min(var(--content-width), calc(100% - 32px));
  margin:0 auto;
}
.title-area{
  height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.title-area img{
  width:343px;
  max-width:82vw;
  height:auto;
  display:block;
}

.region-nav{
  width:100%;
  height:72px;
  background:var(--legacy-grey);
  display:flex;
  align-items:flex-start;
  padding-bottom:18px;
  margin:0;
}
.region-nav a{
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  overflow:hidden;
  background:#fff;
  color:#111;
  border:2px solid var(--legacy-grey);
  border-bottom:0;
  text-decoration:none;
  font-size:20px;
  line-height:1;
  font-weight:700;
  letter-spacing:-0.25px;
  padding:0 10px;
}
.region-nav a.active{
  background:var(--legacy-grey);
  color:#fff;
  border-color:var(--legacy-grey);
}
/* Legacy desktop tab proportions (960px total): 318 / 198 / 270 / 174 */
.region-nav .hk{width:33.125%}
.region-nav .kowloon{width:20.625%}
.region-nav .nt{width:28.125%}
.region-nav .macau{width:18.125%}

.store-list{padding-top:17px}
.store{
  min-height:124px;
  display:flex;
  align-items:center;
  gap:24px;
  padding:16px 14px 18px 6px;
  border-bottom:1px solid var(--separator);
}
.store-address{
  flex:1 1 auto;
  min-width:0;
  font-size:16px;
  line-height:1.38;
  font-weight:400;
}
.store-address .zh{margin-top:3px}
.store-meta{margin-top:11px;line-height:1.45}
.store-meta a{text-decoration:none}
.store-meta a:hover{text-decoration:underline}
.map-button{
  flex:0 0 60px;
  width:60px;
  height:60px;
  display:block;
  text-decoration:none;
}
.map-button img{display:block;width:60px;height:60px;border:0}

.footer{
  width:100%;
  min-height:118px;
  margin:15px 0 24px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  align-items:center;
}
.footer-item{
  min-height:100px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:0;
}
.footer-hotline{
  font-size:16px;
  line-height:1.08;
  font-weight:700;
}
.hotline-copy{display:block;text-align:left;line-height:1.08}
.footer a{display:flex;align-items:center;justify-content:center;text-decoration:none;border:0;outline:0}
.footer img{display:block;border:0;outline:0;height:auto}
.footer .web img{width:190px;max-width:90%}
.footer .facebook img{width:275px;max-width:96%}

/* Responsive fallback. Desktop (>= 980px) stays on the legacy 960px geometry above. */
@media (max-width:979px){
  .shell{width:calc(100% - 28px)}
  .region-nav a{font-size:clamp(13px,2vw,20px);padding:0 5px}
  .store{padding-left:4px;padding-right:8px}
}
@media (max-width:640px){
  .brand-bar{height:70px}
  .brand-bar a{height:70px}
  .brand-bar img{width:150px;max-height:52px}
  .title-area{height:84px}
  .title-area img{width:305px}
  .region-nav{
    height:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    padding-bottom:12px;
  }
  .region-nav a,
  .region-nav .hk,
  .region-nav .kowloon,
  .region-nav .nt,
  .region-nav .macau{
    width:100%;height:46px;font-size:14px;border-width:1px;
  }
  .store-list{padding-top:12px}
  .store{min-height:112px;gap:12px;padding:14px 2px 16px}
  .store-address{font-size:14px;line-height:1.36}
  .store-meta{margin-top:8px}
  .map-button,.map-button img{width:54px;height:54px;flex-basis:54px}
  .footer{grid-template-columns:1fr;margin-top:12px}
  .footer-item{min-height:70px}
  .footer .web img{width:185px}
  .footer .facebook img{width:270px}
}






/* Locked R4:
   Legacy alignment model:
   - every shop uses the SAME fixed-width text column
   - the column is centered inside the available store-info area
   - all lines inside the column are left-aligned
   This keeps one consistent vertical left edge across all shops. */
.store-address{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:left !important;
}
.store-address-inner{
  display:block;
  width:620px;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
  text-align:left !important;
}
.store-address-inner .en,
.store-address-inner .zh,
.store-address-inner .store-meta,
.store-address-inner .store-meta div{
  width:100%;
  text-align:left !important;
}
.store-address-inner .store-meta a{
  display:inline;
}

/* Keep the same left-edge logic on normal desktop/tablet widths. */
@media (max-width:979px){
  .store-address-inner{
    width:min(620px, 100%);
  }
}

/* On narrow phones there is not enough room for a fixed legacy column,
   so use the full available width while retaining left alignment. */
@media (max-width:640px){
  .store-address{
    justify-content:flex-start;
  }
  .store-address-inner{
    width:100%;
    margin:0;
  }
}


/* Locked R5 — typography normalization
   Hong Kong page is the master typography reference.
   Apply the exact same store-data typography to HK / Kowloon / NT / Macau. */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
.store-address,
.store-address-inner,
.store-address-inner .en,
.store-address-inner .zh,
.store-address-inner .store-meta,
.store-address-inner .store-meta div,
.store-address-inner .store-meta a{
  font-family:Arial,"Helvetica Neue","Microsoft JhengHei","PingFang HK",sans-serif !important;
  font-size:16px !important;
  font-weight:400 !important;
  font-style:normal !important;
  line-height:1.38 !important;
  letter-spacing:normal !important;
}
.store-address-inner .zh{
  margin-top:3px;
}
.store-address-inner .store-meta{
  margin-top:11px;
}
.store-address-inner .store-meta a{
  text-decoration:none;
}

@media (max-width:640px){
  .store-address,
  .store-address-inner,
  .store-address-inner .en,
  .store-address-inner .zh,
  .store-address-inner .store-meta,
  .store-address-inner .store-meta div,
  .store-address-inner .store-meta a{
    font-size:14px !important;
    line-height:1.36 !important;
  }
  .store-address-inner .store-meta{
    margin-top:8px;
  }
}
