:root {
    --primary: #ff6600;
    --bg-light: #f8f9fa;
    --text: #333;
    --radius: 12px;
    --shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    --font: "Inter", "Nunito", sans-serif;
}

/* =============================
   BODY
============================= */
body.single-store {
    background: var(--bg-light);
    font-family: var(--font);
    color: var(--text);
    line-height: 1.8;
    margin: 0;
}

/* =============================
   HERO (ẢNH BÌA)
============================= */
.store-hero {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 1200px;
    margin: 24px auto;
}

.store-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(85%);
}

.store-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 70%);
    color: #fff;
}

.store-hero-overlay h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.store-hero-overlay .rating {
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
}

/* =============================
   KHỐI NỘI DUNG
============================= */
.store-detail {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.ui-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 26px;
    margin: 20px 0;
}

/* =============================
   INFO BOX (CÁC NÚT + ẢNH NHỎ)
============================= */
.store-info.ui-card {
    background: #fffaf5;
    border: 1px solid #ffd7b5;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
    margin-bottom: 24px;
}

.store-info-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-info-thumb img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.store-info-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-info {
    background: linear-gradient(90deg, #ff7b00, #ff9d33);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.btn-info:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Mobile chỉnh lại nút */
@media (max-width: 768px) {
    .store-info-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .store-info-thumb img {
        width: 100%;
        max-width: 280px;
        height: auto;
        margin: 0 auto 10px;
    }

    .store-info-buttons {
        justify-content: center;
    }

    .btn-info {
        width: 100%;
    }
}

/* =============================
   MAP + ADS
============================= */
.store-map {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.store-map h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.store-map iframe {
    width: 100%;
    height: 320px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.store-ads {
    text-align: center;
    margin: 20px 0 40px;
}

/* =============================
   NỘI DUNG BÀI VIẾT
============================= */
.store-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: var(--shadow);
    max-height: 100%;
}

.store-content p {
    margin-bottom: 14px;
    color: #333;
    font-size: 16px;
}

.store-content p:has(img) {
    text-align: center;
}

@media (max-width: 768px) {
    .store-content img {
        max-height: 300px;
        border-radius: 8px;
    }
}

/* =============================
   LIÊN QUAN
============================= */
.store-related h3 {
    color: var(--primary);
    margin-bottom: 18px;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.related-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-4px);
}

.related-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-item p {
    text-align: center;
    padding: 10px;
    font-weight: 600;
    color: var(--primary);
}

/* =============================
   BACK TO HOME BUTTON
============================= */
.back-home-wrap {
    text-align: center;
    margin: 32px 0 16px;
}

.back-home-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff6600, #ff8c1a);
    color: #fff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.back-home-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* =============================
   RESPONSIVE FIX
============================= */
@media (max-width: 992px) {
    .store-hero {
        aspect-ratio: 4/3;
        border-radius: 0;
    }

    .store-hero-overlay h1 {
        font-size: 1.8rem;
    }

    .related-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .related-list {
        grid-template-columns: 1fr;
    }
}
/* ==============================
   MOBILE FIX FOR STORE DETAIL
============================== */
@media (max-width: 768px) {

    .store-hero {
        aspect-ratio: auto !important;
        height: auto !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    .store-hero img {
        height: 220px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }

    .store-hero-overlay {
        padding: 16px !important;
    }

    .store-hero-overlay h1 {
        font-size: 1.5rem !important;
    }

    .store-detail,
    .ui-card {
        padding: 16px !important;
        margin: 10px 0 !important;
        box-shadow: none !important;
    }

    .store-info-buttons {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .btn-info {
        width: 100% !important;
        text-align: center !important;
        font-size: 0.95rem !important;
    }

    .store-map iframe {
        height: 260px !important;
    }

    .related-list {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .related-item img {
        height: 120px !important;
    }

    .store-content img {
        max-height: 240px !important;
        border-radius: 6px !important;
    }

    .back-home-btn {
        display: block !important;
        width: 90% !important;
        margin: 12px auto !important;
        font-size: 0.95rem !important;
    }
}
/* ==============================
   HEADER CƠ BẢN
============================== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-inner .logo img {
  height: 38px;
  width: auto;
  display: block;
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.main-nav .nav-list li a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: color 0.25s ease;
}

.main-nav .nav-list li a:hover {
  color: #ff6600;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .main-nav .nav-list {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ==============================
   FOOTER CĂN GIỮA & ĐẸP
============================== */
.site-footer {
  background: #fffaf4;
  border-top: 1px solid #eee;
  text-align: center;
  padding: 28px 20px;
  margin-top: 40px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  color: #444;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}

.footer-inner p {
  margin: 6px 0;
}

.footer-inner strong {
  color: #ff6600;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #ff6600;
}

/* Responsive Footer */
@media (max-width: 600px) {
  .footer-inner {
    font-size: 14px;
    padding: 0 10px;
  }
}
/* =====================================================
   📍 ĐỊA ĐIỂM LIÊN QUAN (Store Related Section)
===================================================== */
.store-related {
  background: #fffaf5;
  padding: 36px 24px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  margin-top: 50px;
}

.store-related h3.section-title,
.store-related h3 {
  color: var(--primary, #ff6600);
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.5rem;
  font-weight: 700;
  border-left: none;
  padding-left: 0;
}

/* GRID LAYOUT */
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

/* CARD ITEM */
.related-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.related-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* INFO */
.related-item p {
  padding: 12px 14px 16px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary, #ff6600);
  text-align: center;
  margin: 0;
  transition: color 0.2s ease;
}

.related-item a {
  text-decoration: none;
  display: block;
  height: 100%;
}

.related-item:hover p {
  color: #ff4400;
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
  .store-related {
    padding: 28px 16px;
  }

  .related-list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }

  .related-item img {
    height: 150px;
  }

  .related-item p {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .related-list {
    grid-template-columns: 1fr;
  }

  .store-related h3 {
    font-size: 1.3rem;
  }
}
/* ============================================
   📍 LIÊN QUAN - CARD GIỐNG TRANG CHỦ
============================================ */
.store-related {
  background: #fffaf5;
  padding: 36px 24px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  margin-top: 50px;
}

.store-related h3 {
  color: var(--primary, #ff6600);
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.5rem;
  font-weight: 700;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.store-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.store-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.store-info {
  padding: 12px 16px 18px;
  text-align: center;
}
.store-title a {
  text-decoration: none;
  color: var(--primary, #ff6600);
  font-weight: 600;
}
.store-title a:hover { color: #ff4400; }

.store-rating {
  color: #ffaa00;
  font-size: 0.95rem;
  margin-top: 6px;
}

/* MOBILE */
@media (max-width: 768px) {
  .related-list {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
  }
  .store-thumb img {
    height: 140px;
  }
}
/* ============================================
   📍 ĐỊA ĐIỂM LIÊN QUAN (Store Related Section)
   Giao diện giống trang chủ
============================================ */
.store-related {
  background: #fffaf4;
  padding: 40px 24px 60px;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  margin-top: 50px;
}

.store-related .section-title {
  color: var(--primary, #ff6600);
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
}

/* GRID giống trang chủ */
.store-related .store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  justify-items: center;
}

/* CARD */
.store-related .store-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.25s ease;
  width: 100%;
  max-width: 320px;
}

.store-related .store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Ảnh */
.store-related .store-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #f2f2f2;
}

/* Thông tin */
.store-related .store-info {
  padding: 14px 16px 18px;
  text-align: center;
}

.store-related .store-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.store-related .store-title a {
  color: var(--primary, #ff6600);
  text-decoration: none;
}

.store-related .store-title a:hover {
  color: #ff4400;
}

.store-related .store-address {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* Nút xem chi tiết */
.store-related .store-more {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--primary, #ff6600);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.25s ease;
}

.store-related .store-more:hover {
  background: #ff4400;
}

/* MOBILE */
@media (max-width: 768px) {
  .store-related {
    padding: 30px 16px 50px;
  }
  .store-related .store-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
  }
  .store-related .store-thumb img {
    height: 140px;
  }
}
