/* ══════════════════════════════════════════════════
   LOCATIONS PAGE
   Hardcoded values for cross-browser reliability
   (Safari @layer compat)
   ══════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.tc-locations-page {
  background: #FAF8F0;
  min-height: 100vh;
  font-family: 'Satoshi', 'DM Sans', system-ui, sans-serif;
  color: #2C2C2C;
  padding-bottom: 64px;
}


/* ── Hero ── */
.tc-locations-page .tc-locations-hero {
  text-align: center;
  padding: 80px 20px 48px;
  max-width: 680px;
  margin: 0 auto;
}

.tc-locations-page .tc-locations-hero__badge {
  display: inline-block;
  font-family: 'DM Sans', 'Satoshi', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2E7D32;
  background: rgba(46, 125, 50, 0.08);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.tc-locations-page h1.tc-locations-hero__title {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: #1A1A1A;
  margin: 0 0 12px;
}

.tc-locations-page .tc-locations-hero__subtitle {
  font-size: 15px;
  color: #6B6B6B;
  line-height: 1.7;
  margin: 0;
}


/* ── Region sections ── */
.tc-locations-page .tc-locations-region {
  max-width: 1080px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.tc-locations-page h2.tc-locations-region__heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.25;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tc-locations-page .tc-locations-region__count {
  font-family: 'DM Sans', 'Satoshi', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2E7D32;
  background: rgba(46, 125, 50, 0.08);
  padding: 3px 10px;
  border-radius: 9999px;
}


/* ── Grid ── */
.tc-locations-page ul.tc-locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .tc-locations-page ul.tc-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tc-locations-page ul.tc-locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ── Card ── */
li.tc-location-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(42, 40, 30, 0.06), 0 1px 2px rgba(42, 40, 30, 0.04);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  -webkit-transition: box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1),
                      transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

li.tc-location-card:hover {
  box-shadow: 0 4px 12px rgba(42, 40, 30, 0.08), 0 2px 4px rgba(42, 40, 30, 0.04);
  transform: translateY(-2px);
}

.tc-location-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #EDE8D0;
}

.tc-location-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

li.tc-location-card:hover .tc-location-card__media img {
  transform: scale(1.04);
}

.tc-location-card__noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 22px;
  color: #2E7D32;
  background: linear-gradient(135deg, #EFEAD6 0%, #F7F3E3 100%);
}

.tc-location-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px 24px;
  flex: 1;
}

.tc-location-card__body h3.tc-location-card__name {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  /* reserve two lines so addresses align across the row */
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
}

.tc-location-card__body h3.tc-location-card__name a {
  color: #1A1A1A;
  text-decoration: none;
}

.tc-location-card__body h3.tc-location-card__name a:hover {
  color: #2E7D32;
}

.tc-location-card__body address.tc-location-card__address {
  font-style: normal;
  font-size: 13px;
  color: #6B6B6B;
  line-height: 1.5;
  margin: 0;
}

.tc-location-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #2C2C2C;
  margin: 0;
}

.tc-location-card__meta svg {
  flex-shrink: 0;
  color: #2E7D32;
}

.tc-location-card__meta a {
  color: #2C2C2C;
  text-decoration: none;
  border-bottom: 1px dotted rgba(46, 125, 50, 0.5);
}

.tc-location-card__meta a:hover {
  color: #2E7D32;
}

/* Amenity tags */
ul.tc-location-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
}

ul.tc-location-card__tags li {
  font-family: 'DM Sans', 'Satoshi', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #2E7D32;
  background: rgba(46, 125, 50, 0.07);
  border: 1px solid rgba(46, 125, 50, 0.14);
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Actions row */
.tc-location-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.tc-location-card__link,
.tc-location-card__directions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', 'Satoshi', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2E7D32;
  text-decoration: none;
  min-height: 44px;
  -webkit-transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1),
                      gap 180ms cubic-bezier(0.16, 1, 0.3, 1);
  transition: color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              gap 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tc-location-card__link:hover,
.tc-location-card__directions:hover {
  color: #1B5E20;
  gap: 10px;
}

.tc-location-card__link:focus-visible,
.tc-location-card__directions:focus-visible,
.tc-location-card__name a:focus-visible,
.tc-location-card__meta a:focus-visible {
  outline: 2px solid #2E7D32;
  outline-offset: 2px;
  border-radius: 4px;
}


/* ── Responsive refinements ── */
@media (max-width: 480px) {
  .tc-locations-page .tc-locations-hero {
    padding: 48px 16px 32px;
  }
  .tc-locations-page .tc-locations-region {
    padding: 0 16px;
  }
  .tc-location-card__body {
    padding: 16px 18px 20px;
  }
}


/* ══════════════════════════════════════════════════
   LOCATION DETAIL PAGE (/locations/<store>)
   ══════════════════════════════════════════════════ */
.tc-locdetail{background:#FAF8F0;min-height:100vh;font-family:'Satoshi','DM Sans',system-ui,sans-serif;color:#2C2C2C;padding-bottom:72px}
.tc-locdetail__wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.tc-locdetail__badge{display:inline-block;font-family:'DM Sans','Satoshi',system-ui,sans-serif;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#2E7D32;background:rgba(46,125,50,.08);padding:4px 12px;border-radius:9999px}
.tc-locdetail__crumb{padding:24px 0 0;font-size:13px;color:#6B6B6B}
.tc-locdetail__crumb a{color:#2E7D32;text-decoration:none;font-weight:600}
.tc-locdetail__crumb span{margin:0 8px;color:#C9C4B0}

.tc-locdetail__hero{display:grid;gap:32px;padding:28px 0 40px;align-items:center}
@media(min-width:900px){.tc-locdetail__hero{grid-template-columns:1fr 1.1fr}}
.tc-locdetail__hero h1{font-family:'Noto Serif JP',Georgia,serif;font-size:clamp(30px,4.5vw,46px);line-height:1.12;color:#1A1A1A;margin:14px 0 14px;font-weight:700}
.tc-locdetail__hero h1 span,.tc-locdetail__hero h1 em{display:block}
.tc-locdetail__hero h1 em{font-style:normal;color:#2E7D32}
.tc-locdetail__lead{font-size:16px;color:#6B6B6B;max-width:46ch;margin:0;line-height:1.6}
.tc-locdetail__status{display:flex;align-items:center;gap:8px;margin:18px 0 22px;font-size:14px;font-weight:600}
.tc-locdetail__status b{color:#2E7D32}
.tc-locdetail__status span:last-child{color:#6B6B6B;font-weight:400}
.tc-locdetail__dot{width:9px;height:9px;border-radius:50%;background:#34A853;box-shadow:0 0 0 4px rgba(52,168,83,.15)}
.tc-locdetail__actions{display:flex;flex-wrap:wrap;gap:12px}
.tc-locdetail__btn{display:inline-flex;align-items:center;gap:9px;font-weight:600;font-size:14px;border-radius:9999px;padding:13px 24px;text-decoration:none;min-height:44px;border:1.5px solid rgba(0,0,0,.14);color:#2C2C2C;background:#fff;transition:all .2s cubic-bezier(.16,1,.3,1)}
.tc-locdetail__btn:hover{border-color:#2E7D32;color:#2E7D32}
.tc-locdetail__btn--primary{background:#2E7D32;color:#fff;border-color:#2E7D32}
.tc-locdetail__btn--primary:hover{background:#1B5E20;border-color:#1B5E20;color:#fff}
.tc-locdetail__btn--invert{background:#fff;color:#1B5E20;border-color:#fff}
.tc-locdetail__media img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:20px;box-shadow:0 10px 32px rgba(42,40,30,.10),0 2px 8px rgba(42,40,30,.05);display:block}

.tc-locdetail__info{display:grid;gap:20px;margin:8px 0 48px}
@media(min-width:900px){.tc-locdetail__info{grid-template-columns:repeat(3,1fr)}}
.tc-locdetail__card{background:#fff;border-radius:16px;box-shadow:0 1px 3px rgba(42,40,30,.06),0 1px 2px rgba(42,40,30,.04);border:1px solid rgba(0,0,0,.04);padding:24px}
.tc-locdetail__card h2{font-family:'Noto Serif JP',Georgia,serif;font-size:17px;color:#1A1A1A;display:flex;align-items:center;gap:10px;margin:0 0 14px;font-weight:700}
.tc-locdetail__card h2 svg{color:#2E7D32;flex-shrink:0}
.tc-locdetail__card p{font-size:14px;margin:0}
.tc-locdetail__card address{font-style:normal;font-size:14px;line-height:1.6}
.tc-locdetail__sub{font-size:12.5px;color:#6B6B6B;margin-top:10px !important;white-space:pre-line;line-height:1.55}
.tc-locdetail__phone{margin-top:10px !important}
.tc-locdetail__phone a{color:#2C2C2C;text-decoration:none;border-bottom:1px dotted rgba(46,125,50,.5);font-weight:600}
.tc-locdetail__maplink{display:flex;width:fit-content;align-items:center;gap:6px;color:#2E7D32;font-weight:600;font-size:13.5px;text-decoration:none;margin-top:12px}
.tc-locdetail__maplink:hover{color:#1B5E20}

/* In This Store checklist */
.tc-locdetail__checklist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.tc-locdetail__checklist li{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:#2C2C2C}
.tc-locdetail__checklist li svg{color:#2E7D32;flex-shrink:0}

.tc-locdetail__map{margin:0 0 48px}
.tc-locdetail__map iframe{width:100%;height:380px;border:0;border-radius:16px;box-shadow:0 1px 3px rgba(42,40,30,.06);display:block}

.tc-locdetail__cta{background:linear-gradient(120deg,#1B5E20,#2E7D32);border-radius:20px;color:#fff;padding:40px 36px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;margin-bottom:56px}
.tc-locdetail__cta h2{font-family:'Noto Serif JP',Georgia,serif;font-size:clamp(20px,2.6vw,27px);margin:0;font-weight:700}
.tc-locdetail__cta p{opacity:.85;font-size:14px;margin:6px 0 0}

/* Featured banners */
.tc-locdetail__highlights header{text-align:center;margin-bottom:28px}
.tc-locdetail__highlights header h2{font-family:'Noto Serif JP',Georgia,serif;font-size:clamp(22px,3vw,30px);color:#1A1A1A;margin:10px 0 0;font-weight:700}
.tc-locdetail__highlight{background:#fff;border-radius:16px;box-shadow:0 1px 3px rgba(42,40,30,.06);border:1px solid rgba(0,0,0,.04);padding:24px;margin-bottom:24px;text-align:center}
.tc-locdetail__highlight h3{font-family:'DM Sans','Satoshi',system-ui,sans-serif;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#1A1A1A;margin:0 0 16px;text-align:left}
.tc-locdetail__highlight img{width:100%;height:auto;border-radius:10px;display:block}
.tc-locdetail__highlight .tc-locdetail__btn{margin-top:18px}

.tc-locdetail a:focus-visible,.tc-locdetail__btn:focus-visible{outline:2px solid #2E7D32;outline-offset:2px}
@media(max-width:480px){.tc-locdetail__hero{padding-top:20px}.tc-locdetail__cta{padding:28px 22px}}


/* Floor map */
.tc-locdetail__floormap{margin-bottom:56px}
.tc-locdetail__floormap header{text-align:center;margin-bottom:28px}
.tc-locdetail__floormap header h2{font-family:'Noto Serif JP',Georgia,serif;font-size:clamp(22px,3vw,30px);color:#1A1A1A;margin:10px 0 0;font-weight:700}
.tc-locdetail__floormap-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px rgba(42,40,30,.06);border:1px solid rgba(0,0,0,.04);padding:24px}
.tc-locdetail__floormap-card img{width:100%;height:auto;border-radius:10px;display:block}


/* Highlight text + video */
.tc-locdetail__highlight-text{font-size:14.5px;color:#6B6B6B;line-height:1.65;text-align:left;margin:0 0 16px;max-width:70ch}
.tc-locdetail__highlight-video{position:relative;width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden}
.tc-locdetail__highlight-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}


/* Store notice */
.tc-locdetail__notice{background:#fff;border:1px solid rgba(0,0,0,.06);border-left:3px solid #2E7D32;border-radius:12px;padding:18px 22px;margin-bottom:48px}
.tc-locdetail__notice h2{font-family:'DM Sans','Satoshi',system-ui,sans-serif;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#1A1A1A;margin:0 0 8px}
.tc-locdetail__notice p{font-size:12.5px;color:#6B6B6B;line-height:1.7;margin:0;white-space:pre-line}
