:root {
  --primary: #ff7b00;
  --accent: #ff9e32;
  --text: #333;
  --bg: #fff;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
}

body {
  font-family: 'Inter', 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

/* HERO */
.hero-section {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.hero-inner input {
  padding: 12px;
  border-radius: var(--radius);
  border: none;
  width: 300px;
}
.hero-inner button {
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: bold;
}

/* GRID CARD */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px;
}
.store-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s;
}
.store-card:hover { transform: translateY(-5px); }
.store-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.store-info {
  padding: 12px 16px;
}
.section-title {
  color: var(--primary);
  text-align: center;
  margin-top: 40px;
}

/* ADS */
.store-ads, .home-ads {
  text-align: center;
  margin: 20px 0;
}

/* FOOTER */
.site-footer {
  text-align: center;
  background: #fffaf4;
  padding: 20px;
  font-size: 14px;
  border-top: 1px solid #eee;
}
/* =========================
   STORE GRID & CARD STYLE
========================= */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 18px;
}

.store-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.store-info {
    padding: 14px 16px 16px;
}

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

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

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

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

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

.store-more {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--ui-primary, #ff6600);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s;
}

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

/* Mobile */
@media (max-width: 768px) {
    .store-thumb img {
        height: 150px;
    }
}
/* store */
.store-article {
  background: #fff;
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow);
  padding: 18px;
  margin-top: 16px;
  overflow: hidden;
}

.store-cover img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--ui-radius);
  margin-bottom: 16px;
}

.store-header {
  text-align: center;
  margin-bottom: 18px;
}

.store-title {
  font-size: 1.8rem;
  color: var(--ui-primary, #ff6600);
  margin-bottom: 6px;
  font-weight: 700;
}

.store-meta {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.store-map {
  margin: 18px 0;
}

.store-content img {
  max-width: 100%;
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow);
  margin: 12px 0;
}

.store-related {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 16px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.related-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: var(--ui-radius);
}

.related-item p {
  text-align: center;
  margin-top: 6px;
  font-size: 14px;
  color: #333;
}
/* ====== STORE DETAIL PREMIUM ====== */
.store-article {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  margin-bottom: 40px;
}

/* COVER */
.store-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.store-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.store-cover:hover img { transform: scale(1.05); }
.store-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 0 26px 30px;
}
.store-title-wrap {
  background: rgba(255, 102, 0, 0.85);
  padding: 14px 20px;
  border-radius: 12px;
  color: #fff;
}
.store-title {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  font-weight: 700;
}
.store-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}
.store-rating .star {
  width: 18px; height: 18px;
  fill: #fff3c0;
  opacity: .4;
}
.store-rating .star.active { opacity: 1; fill: #ffdd55; }
.store-rating span {
  font-weight: 600;
  margin-left: 4px;
  color: #fff;
}

/* INFO */
.store-info {
  padding: 20px 26px;
  background: #fffaf7;
  border-bottom: 1px solid #ffd7b5;
  line-height: 1.8;
  color: #444;
  font-size: 15px;
}
.store-info a {
  color: #ff6600;
  text-decoration: none;
  font-weight: 600;
}

/* MAP */
.store-map {
  padding: 24px;
  text-align: center;
}
.store-map h3 {
  color: #ff6600;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.btn-map {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(90deg, #ff6600, #ff8533);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
}
.btn-map:hover { transform: translateY(-2px); opacity: .9; }

/* ADS */
.store-ads { text-align: center; margin: 20px 0; }

/* CONTENT */
.store-content {
  padding: 0 26px 30px;
  color: #333;
  line-height: 1.8;
  font-size: 16px;
}
.store-content img {
  width: 100%;
  border-radius: 10px;
  margin: 10px 0;
}

/* SHARE */
.store-share {
  background: #fffaf7;
  padding: 20px 26px;
  border-top: 1px solid #ffd8b0;
  border-bottom: 1px solid #ffd8b0;
}
.store-share h3 { color: #ff6600; margin-bottom: 10px; }
.share-buttons {
  display: flex;
  gap: 10px;
}
.share-buttons a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.share-buttons .fb { background: #1877f2; }
.share-buttons .zalo { background: #0080ff; }
.share-buttons .tw { background: #1da1f2; }

/* RELATED */
.store-related {
  background: #fff7f0;
  padding: 24px;
  border-top: 1px solid #ffd7b5;
  border-radius: 0 0 14px 14px;
}
.store-related h3 {
  color: #ff6600;
  font-weight: 600;
  margin-bottom: 16px;
}
.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.related-item {
  flex: 1 1 calc(33.33% - 16px);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: all .25s ease;
}
.related-item:hover { transform: translateY(-4px); }
.related-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.related-item p {
  padding: 10px;
  text-align: center;
  color: #333;
  font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
  .store-cover { aspect-ratio: 4 / 3; }
  .store-title { font-size: 1.3rem; }
  .related-item { flex: 1 1 100%; }
}
