/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: #333; background: #f5f5f5; line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --primary: #1a237e;
  --primary-light: #283593;
  --accent: #ff6d00;
  --accent-light: #ff9100;
  --white: #ffffff;
  --light-bg: #f5f5f5;
  --gray: #757575;
  --dark: #212121;
  --shadow: 0 2px 8px rgba(0,0,0,.12);
  --radius: 8px;
}

/* ===== SPONSOR BANNER ===== */
.sponsor-bar {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  color: var(--white); text-align: center; padding: 8px 16px;
  font-size: .85rem; font-weight: 600;
}
.sponsor-bar a { color: var(--white); text-decoration: underline; }

/* ===== HEADER ===== */
.site-header {
  background: var(--primary); color: var(--white);
  position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between;
  padding: 0 20px; height: 64px;
}
.logo { font-size: 1.35rem; font-weight: 800; letter-spacing: .5px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,.85); padding: 8px 14px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500; transition: .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,.15); color: var(--white);
}
.menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d47a1 100%);
  color: var(--white); text-align: center; padding: 80px 24px;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 16px; }
.hero p { font-size: 1.15rem; opacity: .9; max-width: 600px; margin: 0 auto 28px; }
.hero .btn { font-size: 1rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: var(--radius);
  font-weight: 600; transition: .2s; cursor: pointer; border: none; font-size: .9rem;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #e65100; }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-sm { padding: 8px 18px; font-size: .8rem; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page-body { display: flex; gap: 28px; padding: 32px 20px; max-width: 1200px; margin: 0 auto; }
.main-content { flex: 1; min-width: 0; }
.main-full { max-width: 1200px; margin: 0 auto; padding: 32px 20px; }

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 1.5rem; font-weight: 700; color: var(--primary);
  margin-bottom: 24px; padding-bottom: 10px;
  border-bottom: 3px solid var(--accent); display: inline-block;
}

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.card-img {
  width: 100%; height: 200px; object-fit: cover;
  background: linear-gradient(135deg, var(--primary-light), #0d47a1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 3rem;
}
.card-body { padding: 16px; }
.card-body h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--dark); }
.card-body p { font-size: .88rem; color: var(--gray); margin-bottom: 10px; }
.card-meta { font-size: .78rem; color: var(--gray); }
.card-price { font-size: 1.05rem; font-weight: 700; color: var(--accent); }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: .7rem; font-weight: 700; color: var(--white); margin-bottom: 6px;
}
.badge-hot { background: #d32f2f; }
.badge-new { background: #2e7d32; }
.badge-best { background: var(--accent); }
.badge-collab { background: var(--primary); }
.badge-premium { background: linear-gradient(135deg, #b8860b, #daa520); }
.badge-limited { background: linear-gradient(135deg, #6a1b9a, #9c27b0); }

/* ===== SIDEBAR ===== */
.sidebar { width: 300px; flex-shrink: 0; }
.sidebar-sticky { position: sticky; top: 80px; }
.sidebar-title {
  font-size: 1.1rem; font-weight: 700; color: var(--primary);
  margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent);
}
.sidebar-card {
  background: var(--white); border-radius: var(--radius); padding: 12px;
  margin-bottom: 12px; box-shadow: var(--shadow); transition: transform .2s;
}
.sidebar-card:hover { transform: translateY(-2px); }
.sidebar-card-img {
  width: 100%; height: 120px; object-fit: cover; border-radius: 6px;
  background: linear-gradient(135deg, #283593, #0d47a1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 2rem; margin-bottom: 8px;
}
.sidebar-card h4 { font-size: .88rem; margin-bottom: 4px; color: var(--dark); }
.sidebar-card .card-price { font-size: .95rem; }
.sidebar-card .btn { width: 100%; text-align: center; margin-top: 8px; }
.sidebar-sponsor {
  background: linear-gradient(135deg, var(--primary), #0d47a1);
  color: var(--white); border-radius: var(--radius); padding: 16px;
  text-align: center; margin-top: 16px;
}
.sidebar-sponsor h4 { font-size: .95rem; margin-bottom: 8px; }
.sidebar-sponsor .btn { margin-top: 8px; }

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary), #0d47a1);
  color: var(--white); padding: 48px 24px; text-align: center;
}
.page-banner h1 { font-size: 2rem; margin-bottom: 8px; }
.page-banner p { opacity: .85; }

/* ===== ARTICLE LIST ===== */
.article-item {
  display: flex; gap: 20px; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px; transition: transform .2s;
}
.article-item:hover { transform: translateY(-2px); }
.article-thumb {
  width: 260px; min-height: 180px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), #0d47a1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 2.5rem;
}
.article-info { padding: 20px; flex: 1; }
.article-info h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--dark); }
.article-info p { font-size: .88rem; color: var(--gray); margin-bottom: 12px; }
.article-tag {
  display: inline-block; background: var(--primary); color: var(--white);
  padding: 3px 10px; border-radius: 20px; font-size: .72rem; font-weight: 600; margin-right: 6px;
}

/* ===== FILTER TABS ===== */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-tabs button {
  padding: 8px 20px; border-radius: 20px; border: 2px solid var(--primary);
  background: transparent; color: var(--primary); font-weight: 600; font-size: .85rem;
  cursor: pointer; transition: .2s;
}
.filter-tabs button.active,
.filter-tabs button:hover {
  background: var(--primary); color: var(--white);
}

/* ===== REVIEW CARDS ===== */
.review-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 28px;
}
.review-card-inner { display: flex; gap: 24px; }
.review-img {
  width: 320px; min-height: 280px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-light), #0d47a1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 3rem;
}
.review-body { padding: 24px; flex: 1; }
.review-body h3 { font-size: 1.2rem; margin-bottom: 12px; }
.review-specs { margin: 12px 0; }
.review-specs dt { font-weight: 600; color: var(--primary); font-size: .85rem; }
.review-specs dd { margin-bottom: 8px; font-size: .88rem; color: var(--gray); }
.star { color: #ffc107; }
.review-rating { font-size: 1.1rem; margin: 8px 0; }

/* ===== COMMUNITY ===== */
.venue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
.venue-card {
  background: var(--white); border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow); border-left: 4px solid var(--accent);
}
.venue-card h4 { color: var(--primary); margin-bottom: 4px; }
.venue-card p { font-size: .85rem; color: var(--gray); }
.venue-card .venue-info { margin-top: 6px; font-size: .82rem; }

.club-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.club-card {
  background: var(--white); padding: 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center;
}
.club-card h4 { color: var(--primary); margin-bottom: 4px; }
.club-card p { font-size: .82rem; color: var(--gray); }

/* ===== FORMS ===== */
.form-section {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); max-width: 640px;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 14px; border: 2px solid #e0e0e0; border-radius: var(--radius);
  font-size: .9rem; transition: .2s; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-info-card {
  background: var(--white); padding: 24px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-info-card h3 { color: var(--primary); margin-bottom: 16px; }
.contact-info-card p { margin-bottom: 10px; font-size: .9rem; }
.contact-info-card i { color: var(--accent); margin-right: 8px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 16px; }
.map-wrap iframe { width: 100%; height: 300px; border: none; }

/* ===== AD BANNER ===== */
.ad-banner {
  background: linear-gradient(135deg, var(--primary), #0d47a1);
  border-radius: var(--radius); padding: 32px; text-align: center;
  color: var(--white); margin: 40px 0;
}
.ad-banner h3 { font-size: 1.3rem; margin-bottom: 8px; }
.ad-banner p { opacity: .85; margin-bottom: 16px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,.8); padding: 48px 24px 24px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  max-width: 1200px; margin: 0 auto;
}
.footer-col h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-col p, .footer-col a { font-size: .85rem; color: rgba(255,255,255,.7); display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--accent); }
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input {
  flex: 1; padding: 10px 14px; border: none; border-radius: var(--radius);
  font-size: .85rem;
}
.newsletter-form button {
  padding: 10px 20px; background: var(--accent); color: var(--white);
  border: none; border-radius: var(--radius); font-weight: 600; cursor: pointer;
}
.footer-bottom {
  text-align: center; padding-top: 24px; margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15); font-size: .8rem;
}
.social-links { display: flex; gap: 12px; margin-top: 12px; }
.social-links a {
  width: 36px; height: 36px; background: rgba(255,255,255,.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: .2s;
}
.social-links a:hover { background: var(--accent); }

/* ===== BWF HERO ===== */
.bwf-hero {
  background: linear-gradient(135deg, #B71C1C 0%, #E53935 100%);
  min-height: 200px; padding: 40px 20px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.bwf-hero h1 {
  font-size: 42px; font-weight: 800; color: #fff;
  letter-spacing: 1px; margin: 0 0 10px;
}
.bwf-hero p {
  font-size: 14px; color: rgba(255,255,255,.7);
  margin: 0; font-weight: 500;
}

/* ===== BWF RANKING TABLE ===== */
.bwf-ranking {
  background: #f5f5f5; padding: 32px 20px 48px;
}
.bwf-ranking-inner {
  max-width: 900px; margin: 0 auto;
}
.bwf-tabs {
  display: flex; max-width: 900px; margin: 0 auto;
  gap: 0;
}
.bwf-tab {
  padding: 14px 40px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; border-radius: 0;
  background: #f0f0f0; color: #333; transition: .2s;
}
.bwf-tab:first-child { border-radius: 8px 0 0 0; }
.bwf-tab:last-child { border-radius: 0 8px 0 0; }
.bwf-tab:hover { background: #e0e0e0; }
.bwf-tab.active {
  background: #C62828; color: #fff;
  border-radius: 8px 8px 0 0;
}
.bwf-tab-content { display: none; }
.bwf-tab-content.active { display: block; }
.bwf-table-wrap {
  background: #fff; border-radius: 0 0 8px 8px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.bwf-table {
  width: 100%; border-collapse: collapse;
}
.bwf-table thead th {
  background: #333; color: #fff; padding: 12px 16px;
  text-align: left; font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.bwf-table thead th:first-child { width: 60px; text-align: center; }
.bwf-table thead th:last-child { text-align: right; }
.bwf-table tbody tr { transition: .15s; }
.bwf-table tbody tr:nth-child(odd) { background: #fff; }
.bwf-table tbody tr:nth-child(even) { background: #f9f9f9; }
.bwf-table tbody tr:hover { background: #fff3e0; }
.bwf-table td {
  padding: 12px 16px; border-bottom: 1px solid #eee;
  font-size: 14px; vertical-align: middle;
}
.bwf-rank {
  text-align: center; font-weight: 700; color: #555; width: 60px;
}
.bwf-name { font-weight: 600; color: #212121; }
.bwf-name .bwf-flag { font-size: 16px; margin-right: 8px; }
.bwf-pts {
  text-align: right; font-weight: 600; color: #C62828;
  font-variant-numeric: tabular-nums;
}
.rank-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  color: #fff; font-weight: 800; font-size: 13px;
}
.rank-gold { background: linear-gradient(135deg, #FFD700, #FFA000); box-shadow: 0 2px 6px rgba(255,160,0,.3); }
.rank-silver { background: linear-gradient(135deg, #B0BEC5, #78909C); }
.rank-bronze { background: linear-gradient(135deg, #CD7F32, #A0522D); }
.bwf-row-vn { background: #FFF8E1 !important; }
.bwf-row-vn:hover { background: #FFE082 !important; }
.bwf-row-vn .bwf-name { color: #C62828; }
.bwf-row-vn .bwf-rank { color: #C62828; }

/* ===== COMMENTS ===== */
.comment-section {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); margin-top: 32px;
}
.comment-section h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.comment-list { margin-bottom: 20px; }
.comment-item {
  display: flex; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid #eee;
}
.comment-item:last-child { border: none; }
.comment-avatar {
  width: 38px; height: 38px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.comment-body { flex: 1; }
.comment-body .comment-author { font-weight: 600; font-size: .88rem; color: var(--dark); }
.comment-body .comment-time { font-size: .75rem; color: var(--gray); margin-left: 8px; }
.comment-body .comment-text { font-size: .85rem; color: #555; margin-top: 4px; }
.comment-form { display: flex; flex-direction: column; gap: 10px; }
.comment-form input, .comment-form textarea {
  padding: 10px 14px; border: 2px solid #e0e0e0; border-radius: var(--radius);
  font-size: .88rem; font-family: inherit;
}
.comment-form textarea { min-height: 70px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--primary); }

/* ===== FEED CARDS ===== */
.feed-list { margin-bottom: 32px; }
.feed-card {
  display: flex; gap: 14px; background: var(--white); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); margin-bottom: 12px;
}
.feed-avatar {
  width: 44px; height: 44px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: .95rem; flex-shrink: 0;
}
.feed-body { flex: 1; }
.feed-body h4 { font-size: .92rem; color: var(--dark); margin-bottom: 4px; }
.feed-body .feed-meta { font-size: .78rem; color: var(--gray); margin-bottom: 6px; }
.feed-body .feed-msg { font-size: .85rem; color: #555; margin-bottom: 10px; }
.feed-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.feed-tags span {
  padding: 2px 10px; border-radius: 12px; font-size: .72rem; font-weight: 600;
}
.feed-tag-area { background: #e3f2fd; color: var(--primary); }
.feed-tag-level { background: #fff3e0; color: var(--accent); }
.feed-tag-time { background: #e8f5e9; color: #2e7d32; }

/* ===== SHOP ===== */
.shop-banner {
  background: linear-gradient(135deg, #C62828 0%, #E53935 100%);
  text-align: center; padding: 40px 20px; color: #fff;
}
.shop-banner h1 { font-size: 32px; font-weight: 800; margin: 0 0 8px; }
.shop-banner p { font-size: 14px; color: rgba(255,255,255,.75); margin: 0; }

.shop-filters {
  background: #f5f5f5; padding: 20px; border-radius: 8px;
  max-width: 1200px; margin: 20px auto;
}
.shop-filters-inner { max-width: 100%; }
.filter-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.filter-row:last-child { margin-bottom: 0; }
.filter-label { font-size: 13px; font-weight: 700; color: #555; min-width: 60px; }
.filter-btn {
  padding: 8px 20px; border: 1px solid #ddd; border-radius: 20px;
  background: #fff; font-size: 13px; cursor: pointer; transition: .2s; color: #333;
}
.filter-btn:hover { border-color: #C62828; color: #C62828; }
.filter-btn.active { background: #C62828; color: #fff; border-color: #C62828; }
.filter-select {
  padding: 8px 14px; border: 1px solid #ddd; border-radius: 6px;
  font-size: 13px; background: #fff; cursor: pointer;
}

.shop-container { max-width: 1200px; margin: 0 auto; padding: 24px 20px 48px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.shop-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.1); transition: transform .2s, box-shadow .2s;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.shop-card-img-wrap { position: relative; background: #f9f9f9; }
.shop-card-img { width: 100%; height: 250px; object-fit: contain; display: block; padding: 16px; }
.shop-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px;
  border-radius: 4px; font-size: 12px; font-weight: 700; color: #fff;
}
.shop-badge.badge-hot { background: #C62828; }
.shop-badge.badge-new { background: #FF6D00; }
.shop-badge.badge-collab, .shop-badge.badge-limited { background: #7B1FA2; }
.shop-badge.badge-premium { background: #1565C0; }
.shop-badge.badge-best { background: #C62828; }
.shop-discount {
  position: absolute; top: 12px; right: 12px;
  background: #C62828; color: #fff; padding: 4px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 700;
}
.shop-card-body { padding: 16px; }
.shop-card-title {
  font-size: 16px; font-weight: 600; color: #212121;
  margin: 0 0 6px; line-height: 1.4; min-height: 48px;
}
.shop-card-rating { margin-bottom: 8px; font-size: 13px; color: #FFA000; }
.shop-card-prices { margin-bottom: 12px; }
.shop-price-sale { font-size: 20px; font-weight: 700; color: #C62828; }
.shop-price-orig { font-size: 14px; color: #999; text-decoration: line-through; margin-left: 8px; }
.shop-card-actions { display: flex; gap: 0; }
.btn-add-cart {
  width: 50%; padding: 12px; background: #C62828; color: #fff;
  border: none; border-radius: 0 0 0 12px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: .2s;
}
.btn-add-cart:hover { background: #B71C1C; }
.btn-buy-now {
  width: 50%; padding: 12px; background: #fff; color: #C62828;
  border: 2px solid #C62828; border-radius: 0 0 12px 0; font-size: 13px;
  font-weight: 700; cursor: pointer; transition: .2s;
}
.btn-buy-now:hover { background: #C62828; color: #fff; }

/* Cart toggle */
.cart-toggle {
  background: none; border: none; font-size: 20px; cursor: pointer;
  position: relative; padding: 4px;
}
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: #FF6D00; color: #fff; width: 18px; height: 18px;
  border-radius: 50%; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Cart sidebar */
.cart-overlay, .checkout-overlay {
  position: fixed; inset: 0; z-index: 1000;
  visibility: hidden; opacity: 0; transition: .3s;
}
.cart-overlay.open, .checkout-overlay.open { visibility: visible; opacity: 1; }
.cart-backdrop, .checkout-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
}
.cart-panel {
  position: absolute; top: 0; right: -380px; width: 380px; height: 100%;
  background: #fff; display: flex; flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,.2); transition: right .3s;
}
.cart-overlay.open .cart-panel { right: 0; }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #eee;
}
.cart-header h3 { font-size: 16px; margin: 0; }
.cart-close { background: none; border: none; font-size: 20px; cursor: pointer; color: #888; }
.cart-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-item {
  display: flex; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid #f0f0f0; position: relative;
}
.cart-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.cart-item-price { font-size: 14px; font-weight: 700; color: #C62828; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.cart-item-qty button {
  width: 24px; height: 24px; border: 1px solid #ddd; border-radius: 4px;
  background: #f5f5f5; cursor: pointer; font-size: 14px;
}
.cart-item-qty span { font-size: 14px; font-weight: 600; }
.cart-item-remove {
  position: absolute; top: 10px; right: 0;
  background: none; border: none; color: #ccc; cursor: pointer; font-size: 14px;
}
.cart-item-remove:hover { color: #C62828; }
.cart-footer { padding: 16px 20px; border-top: 1px solid #eee; }
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.cart-total-row span:first-child { font-weight: 600; }
.cart-total-price { font-size: 20px; font-weight: 800; color: #C62828; }
.btn-checkout {
  width: 100%; padding: 12px; background: #C62828; color: #fff;
  border: none; border-radius: 8px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: .2s;
}
.btn-checkout:hover { background: #B71C1C; }

/* Checkout modal */
.checkout-panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%);
  width: 520px; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3); transition: transform .3s;
}
.checkout-overlay.open .checkout-panel { transform: translate(-50%,-50%); }
.checkout-form { padding: 20px; }
.checkout-summary {
  background: #f9f9f9; border-radius: 8px; padding: 14px; margin-top: 12px;
}

/* ===== FLOATING CTA BAR ===== */
.float-cta {
  position: fixed; z-index: 999;
  display: flex; gap: 8px;
}
.float-cta a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 28px; color: #fff;
  font-size: .82rem; font-weight: 700; box-shadow: 0 3px 12px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s; white-space: nowrap;
}
.float-cta a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.float-cta .cta-buy { background: #C62828; }
.float-cta .cta-zalo { background: #0068FF; }
.float-cta .cta-call { background: #2e7d32; }
.float-cta .cta-icon { font-size: 1rem; }

/* ===== ARTICLE CTA BANNER ===== */
.article-cta {
  background: linear-gradient(135deg, #C62828, #E53935);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 24px;
}
.article-cta p { color: #fff; font-size: .88rem; font-weight: 600; margin: 0; }
.article-cta .btn { background: #fff; color: #C62828; flex-shrink: 0; }
.article-cta .btn:hover { background: #f5f5f5; }

/* ===== REVIEW CTA BUTTONS ===== */
.review-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.btn-order {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; background: #C62828; color: #fff; border-radius: var(--radius);
  font-weight: 700; font-size: .9rem; transition: .2s;
}
.btn-order:hover { background: #B71C1C; }
.btn-zalo {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; background: #0068FF; color: #fff; border-radius: var(--radius);
  font-weight: 700; font-size: .9rem; transition: .2s;
}
.btn-zalo:hover { background: #0051cc; }

/* ===== CONSULTATION FORM ===== */
.consult-form-card {
  background: var(--white); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); margin-top: 16px; border-top: 3px solid #C62828;
}
.consult-form-card h4 {
  font-size: .95rem; color: #C62828; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid #eee;
}
.consult-form-card .form-group { margin-bottom: 10px; }
.consult-form-card .form-group label { font-size: .82rem; margin-bottom: 4px; }
.consult-form-card .form-group input,
.consult-form-card .form-group select,
.consult-form-card .form-group textarea {
  padding: 8px 12px; font-size: .82rem;
}
.consult-form-card .form-group textarea { min-height: 60px; }
.btn-submit-red {
  width: 100%; padding: 10px; background: #C62828; color: #fff;
  border: none; border-radius: var(--radius); font-weight: 700;
  font-size: .88rem; cursor: pointer; transition: .2s;
}
.btn-submit-red:hover { background: #B71C1C; }
.form-success {
  display: none; text-align: center; padding: 20px;
  color: #2e7d32; font-weight: 600; font-size: .9rem;
}

/* ===== RESPONSIVE ===== */

/* Desktop */
@media (min-width: 1025px) {
  .page-body { max-width: 1200px; margin: 0 auto; }
  .float-cta {
    right: 20px; bottom: 50%; transform: translateY(50%);
    flex-direction: column;
  }
  .float-cta a { padding: 10px 14px; font-size: .78rem; }
  body { padding-bottom: 0; }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-grid { grid-template-columns: 1fr; }
  .club-list { grid-template-columns: repeat(2, 1fr); }
  .review-card-inner { flex-direction: column; }
  .review-img { width: 100%; min-height: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-body { flex-direction: column; }
  .sidebar { width: 100%; }
  .bwf-ranking { padding: 20px; }
  .bwf-ranking-inner { max-width: 100%; }
  .nav-links a { padding: 8px 10px; font-size: .82rem; }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .float-cta {
    bottom: 0; left: 0; right: 0;
    flex-direction: row; justify-content: center;
    background: #fff; padding: 8px 12px;
    box-shadow: 0 -2px 12px rgba(0,0,0,.15);
    border-radius: 0;
  }
  .float-cta a { border-radius: 20px; }
  body { padding-bottom: 64px; }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--primary); flex-direction: column; padding: 16px; gap: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .page-body { flex-direction: column; padding: 20px 16px; }
  .sidebar { width: 100%; }
  .card-grid { grid-template-columns: 1fr; }
  .article-item { flex-direction: column; }
  .article-thumb { width: 100%; min-height: 160px; }
  .footer-grid { grid-template-columns: 1fr; }
  .club-list { grid-template-columns: 1fr; }
  .bwf-hero { height: 200px; }
  .bwf-hero h1 { font-size: 28px; }
  .bwf-tabs { gap: 4px; }
  .bwf-tab { padding: 10px 16px; font-size: 12px; }
  .bwf-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bwf-table { min-width: 540px; font-size: 13px; }
  .bwf-table td, .bwf-table th { padding: 0 10px; line-height: 40px; }
  .article-cta { flex-direction: column; text-align: center; }
  .review-cta { justify-content: center; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-banner h1 { font-size: 22px; }
  .cart-panel { width: 100%; right: -100%; }
  .checkout-panel { width: 95%; }
  .shop-card-img { height: 200px; }
  .float-cta {
    bottom: 0; left: 0; right: 0;
    flex-direction: row; justify-content: center;
    background: #fff; padding: 8px 12px;
    box-shadow: 0 -2px 12px rgba(0,0,0,.15);
    border-radius: 0;
  }
  .float-cta a { padding: 8px 12px; font-size: .75rem; border-radius: 20px; }
  .float-cta .cta-label { display: none; }
  body { padding-bottom: 64px; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb { background: #fff; border-bottom: 1px solid #eee; padding: 12px 20px; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; font-size: 13px; color: #888; }
.breadcrumb-inner a { color: #555; }
.breadcrumb-inner a:hover { color: #C62828; }

/* ===== PRODUCT DETAIL ===== */
.product-detail { max-width: 1200px; margin: 0 auto; padding: 32px 20px; }
.product-detail-inner { display: flex; gap: 40px; background: #fff; border-radius: 12px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.product-img-wrap { width: 45%; flex-shrink: 0; position: relative; }
.product-img-main { width: 100%; border-radius: 8px; background: #f9f9f9; }
.product-info { flex: 1; }
.product-title { font-size: 1.6rem; font-weight: 800; color: #212121; margin-bottom: 12px; line-height: 1.3; }
.product-rating { font-size: 1.1rem; margin-bottom: 16px; }
.product-rating .star { color: #ffc107; font-size: 1.2rem; }
.product-rating span:last-child { font-size: 14px; color: #888; margin-left: 4px; }
.product-prices { margin-bottom: 20px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.product-price-orig { font-size: 16px; color: #999; text-decoration: line-through; }
.product-price-sale { font-size: 28px; font-weight: 800; color: #C62828; }
.product-save { font-size: 13px; color: #2e7d32; font-weight: 600; background: #e8f5e9; padding: 4px 10px; border-radius: 4px; }
.product-desc { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 20px; }
.product-specs { margin-bottom: 20px; }
.product-specs h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td { padding: 8px 12px; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.specs-table td:first-child { font-weight: 600; color: #333; width: 140px; background: #fafafa; }
.specs-table td:last-child { color: #555; }
.product-actions { display: flex; gap: 12px; margin-bottom: 12px; }
.btn-product-cart {
  flex: 1; padding: 14px; background: #C62828; color: #fff; border: none; border-radius: 8px;
  font-size: 15px; font-weight: 700; cursor: pointer; transition: .2s;
}
.btn-product-cart:hover { background: #B71C1C; }
.btn-product-buy {
  flex: 1; padding: 14px; background: #FF6D00; color: #fff; border: none; border-radius: 8px;
  font-size: 15px; font-weight: 700; cursor: pointer; transition: .2s;
}
.btn-product-buy:hover { background: #e65100; }
.btn-product-zalo {
  display: block; width: 100%; text-align: center; padding: 12px; background: #0068FF; color: #fff;
  border-radius: 8px; font-weight: 700; font-size: 14px; margin-bottom: 16px; transition: .2s;
}
.btn-product-zalo:hover { background: #0051cc; }
.product-guarantee { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #555; }
.product-guarantee span { white-space: nowrap; }

/* Related products */
.related-section { max-width: 1200px; margin: 0 auto; padding: 0 20px 48px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Shop card link */
.shop-card-link { display: block; color: inherit; text-decoration: none; }
.shop-card { display: flex; flex-direction: column; }
.shop-card-link + .shop-card-actions { margin-top: auto; }

/* ===== TOAST NOTIFICATION ===== */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 8px; }
.toast-item {
  background: #2e7d32; color: #fff; padding: 14px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transform: translateX(120%); transition: transform .3s ease;
  max-width: 360px;
}
.toast-item.show { transform: translateX(0); }
.toast-icon { margin-right: 6px; }

/* ===== QUICK ORDER POPUP ===== */
.quick-order-overlay {
  position: fixed; inset: 0; z-index: 1000;
  visibility: hidden; opacity: 0; transition: .3s;
}
.quick-order-overlay.open { visibility: visible; opacity: 1; }
.quick-order-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.quick-order-panel {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%);
  width: 480px; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 12px; padding: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3); transition: transform .3s;
}
.quick-order-overlay.open .quick-order-panel { transform: translate(-50%,-50%); }
.quick-order-panel .cart-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: #888; }
.quick-order-item { display: flex; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #eee; }
.quick-order-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; background: #f9f9f9; }
.quick-order-item h4 { font-size: 15px; color: #212121; margin-bottom: 6px; }
.quick-order-prices { display: flex; align-items: baseline; gap: 8px; }
.quick-order-form .form-group { margin-bottom: 12px; }
.quick-order-form .form-group label { font-size: 13px; }
.quick-order-form .form-group input,
.quick-order-form .form-group textarea { font-size: 14px; }

/* Success animation */
.quick-order-success { text-align: center; padding: 20px 0; }
.quick-order-success h3 { color: #2e7d32; font-size: 1.3rem; margin: 16px 0 8px; }
.quick-order-success p { font-size: 15px; color: #333; }
.success-checkmark { width: 64px; height: 64px; margin: 0 auto; }
.success-checkmark svg { width: 64px; height: 64px; animation: checkmarkScale .4s ease-in-out; }
.success-checkmark svg circle { stroke-dasharray: 157; stroke-dashoffset: 157; animation: checkmarkCircle .6s ease-in-out forwards; }
.success-checkmark svg path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: checkmarkCheck .3s .6s ease-in-out forwards; }
@keyframes checkmarkScale { 0%{transform:scale(0)} 50%{transform:scale(1.1)} 100%{transform:scale(1)} }
@keyframes checkmarkCircle { to{stroke-dashoffset:0} }
@keyframes checkmarkCheck { to{stroke-dashoffset:0} }

/* ===== PRODUCT DETAIL RESPONSIVE ===== */
@media (max-width: 768px) {
  .product-detail-inner { flex-direction: column; padding: 16px; gap: 20px; }
  .product-img-wrap { width: 100%; }
  .product-title { font-size: 1.2rem; }
  .product-price-sale { font-size: 22px; }
  .product-actions { flex-direction: column; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-order-panel { width: 95%; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .product-detail-inner { gap: 24px; }
  .product-img-wrap { width: 40%; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
