/* ============================================================
   CUSTOM — Per-store overrides for Template TF
   Add store-specific tweaks here. Loaded last so it wins
   over theme.css and style.css.
   ============================================================ */

/* ------------------------------------------------------------
   DISH PAGES (tags/dishes) — Bangkok Thai Restaurant
   Highlight cards, inline FAQ block and the location/map box.
   Built from the existing design tokens so the dish pages keep
   the same look as the rest of the site.
   ------------------------------------------------------------ */

/* keep dish photos in their natural aspect ratio on every screen
   (width/height attributes stay for layout stability) */
.dish-hero-image img,
.related-dish-card img {
  height: auto;
}

/* dish copy reads as one left-aligned editorial column */
.dish-description-content .section__description {
  text-align: left;
  margin-inline: 0;
}

/* highlight cards inside the dish copy */
.dish-highlights {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.25rem;
}

@media (min-width: 700px) {
  .dish-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

.dish-highlight-card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.6rem;
}

.dish-highlight-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.65rem;
  margin-bottom: 0.9rem;
}

.dish-highlight-card ul {
  list-style: none;
  padding: 0;
}

.dish-highlight-card li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.dish-highlight-card li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.95em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chili);
}

.dish-highlight-card + .dish-highlight-card li::before {
  background: var(--basil);
}

/* inline FAQ copy */
.dish-faq h4 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.35rem;
}

.dish-faq p {
  margin-bottom: 0.5rem;
}

/* location box — map left, address + contact right */
.dish-location-container {
  padding-top: 0;
}

.dish-location-box {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

@media (min-width: 900px) {
  .dish-location-box {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.dish-location-map {
  position: relative;
  min-height: 300px;
  background: var(--sand);
}

@media (min-width: 900px) {
  .dish-location-map {
    min-height: 460px;
  }
}

.dish-location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.dish-location-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.dish-location-details h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.dish-location-details h3 {
  font-size: 1.1rem;
}

.dish-location-details > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.dish-location-list {
  display: grid;
  gap: 0.85rem;
}

.dish-location-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.dish-location-list .ic {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--chili-soft);
  color: var(--chili-dark);
  font-size: 1rem;
}

.dish-location-list strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dish-location-list a:hover {
  text-decoration: underline;
}

.dish-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.6rem;
}

@media (max-width: 480px) {
  .dish-location-actions .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------
   CITY + CUISINE LANDING PAGE (winnipeg-thai-restaurant.html)
   "Visit us" box — Google map on the left, address, phone and
   hours on the right, with the action buttons pinned to the
   bottom corner. Built from the shared design tokens.
   ------------------------------------------------------------ */

.visit-box {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .visit-box {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.visit-map {
  position: relative;
  min-height: 300px;
  background: var(--sand);
}

@media (min-width: 900px) {
  .visit-map {
    min-height: 460px;
  }
}

.visit-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.visit-details h3 {
  font-size: 1.25rem;
}

.visit-details > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.visit-list {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.visit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.visit-list .ic {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--chili-soft);
  color: var(--chili-dark);
  font-size: 1rem;
}

.visit-list h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.visit-list address {
  font-style: normal;
}

.visit-list a {
  color: var(--chili);
  font-weight: 600;
}

.visit-list a:hover {
  text-decoration: underline;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 0.9rem;
}

@media (max-width: 480px) {
  .visit-actions .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------
   Takeout tag page (tags/thai-food-takeout-winnipeg.html)
   Pickup box: map on the left, address + contact on the right,
   action buttons anchored to the bottom-right corner.
   ------------------------------------------------------------ */

.tk-visit {
  display: grid;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .tk-visit {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.tk-visit__map {
  position: relative;
  min-height: 320px;
  background: var(--sand);
}

.tk-visit__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tk-visit__info {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.tk-visit__info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.tk-visit__tag {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.tk-visit__list {
  display: grid;
  gap: 1.1rem;
}

.tk-visit__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.tk-visit__list .ic {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--chili-soft);
  color: var(--chili-dark);
}

.tk-visit__list h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.tk-visit__list address,
.tk-visit__list a,
.tk-visit__hours {
  font-style: normal;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.5;
}

.tk-visit__list a:hover {
  color: var(--chili-dark);
}

.tk-visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 1.75rem;
}

@media (max-width: 560px) {
  .tk-visit__actions .btn {
    flex: 1 1 100%;
  }
}

/* FAQ group headings on the takeout tag page */
#takeout-faq .faq-group {
  font-size: 1.15rem;
  margin: 2rem 0 0.9rem;
}

#takeout-faq .faq-group:first-child {
  margin-top: 0;
}

/* ------------------------------------------------------------
   THAI DELIVERY LANDING PAGE (tags/thai-food-delivery-winnipeg.html)
   Neighbourhood links inside the "areas we deliver to" cards.
   The page reuses the shared .visit-* map box above.
   ------------------------------------------------------------ */

.delivery-area-card li a {
  color: var(--chili);
  font-weight: 600;
}

.delivery-area-card li a:hover {
  text-decoration: underline;
}

/* Internal links inside the takeout page cards */
#popular-takeout .related-dish-card h3 a:hover,
#pickup-location .delivery-area-card li a:hover {
  color: var(--chili-dark);
}

#popular-takeout .related-dish-card h3 a,
#pickup-location .delivery-area-card li a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--chili) 45%, transparent);
}

/* ------------------------------------------------------------
   HOME PAGE (index.html) — Bangkok Thai Restaurant
   Only small, structural helpers: the FAQ questions are real
   <h3> headings for SEO, the delivery-area list runs in two
   columns, dish names link to their tag pages, and the "Visit
   us" box reuses the shared .visit-* component above.
   ------------------------------------------------------------ */

/* FAQ questions are <h3> inside <summary> — keep the summary look */
.qa summary h3 {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
}

/* long delivery-area list reads as two short columns */
.qa .qa-body ul.qa-cols {
  columns: 2;
  column-gap: 1.6rem;
}

.qa .qa-body ul.qa-cols li {
  break-inside: avoid;
}

@media (max-width: 560px) {
  .qa .qa-body ul.qa-cols {
    columns: 1;
  }
}

/* ------------------------------------------------------------
   FAQ internal links -> dish, neighbourhood and service pages.
   The global rule is `a { color: inherit; text-decoration: none }`,
   so links inside an answer need to be made visible again:
   brand colour + a soft underline that firms up on hover.
   ------------------------------------------------------------ */
.qa .qa-body a {
  color: var(--chili);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--chili) 35%, transparent);
  text-underline-offset: 0.18em;
  border-radius: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease,
    background-color 0.2s ease;
}

.qa .qa-body a:hover,
.qa .qa-body a:focus-visible {
  color: var(--chili-dark);
  text-decoration-color: currentColor;
}

.qa .qa-body a:focus-visible {
  outline: 2px solid var(--chili);
  outline-offset: 2px;
}

/* delivery-area list: whole neighbourhood name is one comfortable tap target */
.qa .qa-body ul.qa-cols a {
  display: inline-block;
  padding: 0.1rem 0;
}

.qa .qa-body ul.qa-cols a:hover,
.qa .qa-body ul.qa-cols a:focus-visible {
  background: var(--chili-soft);
}

/* external ordering link keeps the same treatment but reads as off-site */
.qa .qa-body a[target="_blank"]::after {
  content: " \2197";
  font-size: 0.85em;
  line-height: 1;
  text-decoration: none;
}

/* signature plate titles link through to their dish pages */
.plate h3 a {
  color: inherit;
  text-decoration: none;
}

.plate h3 a:hover,
.plate h3 a:focus-visible {
  color: var(--chili);
}

/* "Visit us" band on the home page — map left, details right */
.home-visit {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--sand);
}

.home-visit .sec-head {
  margin-bottom: 0;
}

.home-visit .visit-box {
  margin-top: 1.75rem;
}
