:root {
  --bg: #f5f5f5;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-sec: #444444;
  --muted: #777777;
  --primary: #ff6b00;
  --primary-dark: #e05800;
  --primary-light: #fff3eb;
  --nav-bg: #ffffff;
  --footer-bg: #1e1f23;
  --border: #e0e0e0;
  --radius: 14px;
  --max-width: 1160px;
  --header-height: 62px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body {
  padding-top: var(--header-height);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
video:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
input:focus-visible { outline: none; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

/* ======= HEADER ======= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid #e5e7eb;
}

.announcement-bar {
  background: var(--primary);
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.announcement-bar a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.header-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.header-inner .mobile-menu-toggle {
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-links {
  display: flex;
  gap: 0.1rem;
  align-items: center;
  margin-left: auto;
  margin-right: 12rem;
}

.nav-links a {
  font-size: 0.92rem;
  color: #444444;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}

.nav-links a:hover {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.05);
}

.nav-links a.active {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-dropdown {
  position: relative;
  padding-bottom: 6px;
}

.nav-dropdown-toggle {
  background: transparent;
  border: 0;
  font-size: 0.92rem;
  color: #444444;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.05);
}

.nav-arrow {
  font-size: 0.62rem;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #2a2b31;
  border: 1px solid #3a3b40;
  border-radius: 10px;
  padding: 0.35rem 0;
  display: none;
  z-index: 120;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  color: #d1d5db;
  font-size: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0;
}

.dropdown-menu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* ======= BUTTONS ======= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  font-size: 0.93rem;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
  border-color: var(--text);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  background: #eeeeee;
  color: var(--text);
  border-color: #bbbbbb;
}

.btn-secondary:hover { background: #e0e0e0; }

.btn-white {
  background: var(--white);
  color: var(--text);
  border-color: var(--text);
}

.btn-white:hover { background: #f0f0f0; }

.btn-nav {
  background: var(--primary);
  color: var(--text);
  border-color: var(--primary);
  font-size: 0.88rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-nav:hover { background: var(--primary-dark); }

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: #e9e9e9;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background: #2b2b2b;
  display: block;
}

.mobile-menu {
  display: none;
}

/* ======= MAIN ======= */
main { padding: 0; }

/* ======= BREADCRUMBS ======= */
.breadcrumb-wrapper {
  background: var(--bg);
  padding: 0.65rem 0 0;
}

.breadcrumbs {
  font-size: 0.87rem;
  color: var(--muted);
}

.breadcrumbs a { color: var(--primary); }

/* ======= HERO ======= */
.hero {
  background: linear-gradient(180deg, #fff8f2 0%, #f5f5f5 100%);
  text-align: center;
  padding: 5.5rem 1rem 2.5rem;
  position: relative;
}

.hero.hero-home {
  background: var(--bg) url('/assets/hero-bg.png') center top/100% auto no-repeat;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  color: var(--text);
  letter-spacing: -0.025em;
  text-shadow: 0 1px 8px rgba(255,255,255,0.9), 0 0 24px rgba(255,255,255,0.7);
}

.brand-highlight { color: var(--primary); }

.hero-sub {
  font-size: 0.97rem;
  color: var(--text-sec);
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: none;
}

.hero.hero-home .hero-sub {
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero:not(.hero-home) h1 {
  text-shadow: none;
}

.hero-search-wrap {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  padding: 0 0.25rem;
}

.hero-search-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hero-search-mag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
}

.hero-search-input-shell {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
  max-width: 420px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #9ca3af;
  border-radius: 4px;
  padding: 0 0.35rem 0 0.65rem;
  min-height: 44px;
}

.hero-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  font-size: 0.92rem;
  font-family: inherit;
  line-height: 1.35;
  color: var(--text);
  padding: 0.55rem 2.5rem 0.55rem 0;
  background: transparent;
}

.hero-search-input::placeholder {
  color: #b0b4bd;
}

.hero-search-infield-icon {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  text-decoration: none;
  opacity: 0.85;
}

.hero-search-infield-icon:hover {
  opacity: 1;
}

.hero-search-submit-lite {
  flex-shrink: 0;
  padding: 0.55rem 1.35rem;
  min-height: 44px;
  background: #fff;
  color: var(--text);
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.15s, border-color 0.15s;
}

.hero-search-submit-lite:hover {
  background: #f3f4f6;
}

.hero-search-submit-lite:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hero-steps-lite {
  max-width: 520px;
  margin: 0 auto 2rem;
  text-align: center;
}

.hero-step-block {
  margin-bottom: 1.35rem;
}

.hero-step-block:last-child {
  margin-bottom: 0;
}

.hero-step-block strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.hero-step-block p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.hero-step-link {
  margin-top: 0.15rem !important;
}

.hero-step-link a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-step-link a:hover {
  color: var(--text);
}

.hero > p:not(.hero-sub) {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ======= HERO SEARCH BAR V2 ======= */
.hero-search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  max-width: 720px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: 1px solid #e5e7eb;
}

.hero-search-bar:focus-within {
  border-color: #e5e7eb;
  box-shadow: none;
}

.hero-bar-mag {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.hero-bar-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 0.97rem;
  color: var(--text);
  background: transparent;
  font-family: inherit;
  line-height: 1.35;
}

.hero-bar-input::placeholder { color: #b0b4bd; }

.hero-bar-img-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.15s;
}

.hero-bar-img-btn:hover { opacity: 1; }

.hero-bar-submit {
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
  min-height: 46px;
}

.hero-bar-submit:hover { background: var(--primary-dark); }

/* ======= HERO STEPS ROW V2 ======= */
.hero-steps-row {
  display: flex;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto 2rem;
  position: relative;
}

.hero-steps-row::before {
  content: '';
  position: absolute;
  top: 5px;
  left: calc(16.67% + 8px);
  right: calc(16.67% + 8px);
  height: 1px;
  background: #d1d5db;
}

.hero-step-item {
  flex: 1;
  text-align: center;
  padding: 0 0.75rem;
}

.hero-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--primary);
  margin: 0 auto 0.65rem;
  position: relative;
  z-index: 1;
}

.hero-step-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-step-item p {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 0.2rem;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-step-link-v2 {
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-step-link-v2:hover { color: var(--primary); }

/* ======= SECTION BLOCKS ======= */
.section-block {
  padding: 4.5rem 1rem;
}

.section-block.bg-orange { background: var(--primary); }
.section-block.bg-white  { background: var(--white); }
.section-block.bg-gray   { background: var(--bg); }
.section-block.no-top    { padding-top: 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.section-subtitle {
  text-align: center;
  font-size: 0.96rem;
  margin-bottom: 2.5rem;
}

.bg-orange .section-title,
.bg-orange .section-subtitle { color: var(--text); }

.bg-gray .section-title  { color: var(--text); }
.bg-gray .section-subtitle { color: var(--muted); }

.bg-white .section-title  { color: var(--text); }
.bg-white .section-subtitle { color: var(--muted); }

/* ======= CATEGORY GRID ======= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cat-card {
  background: var(--white);
  border-radius: 18px;
  border: 1.5px solid #e5e7eb;
  padding: 1.6rem 0.6rem 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.2s;
  text-decoration: none;
}

.cat-card:hover {
  border-color: #7dd3fc;
  background: #f0f9ff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(125, 211, 252, 0.25);
}

.cat-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-icon svg {
  width: 56px;
  height: 56px;
}

.cat-card span {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

/* ======= TRENDING ITEMS ======= */
.trending-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.25rem;
  padding: 0 10%;
}

.tabs-arrow {
  display: none;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  font-family: inherit;
}
.tabs-arrow:hover { background: #f3f4f6; border-color: #9ca3af; }

.trending-tabs-all {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  justify-content: center;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.trending-tabs-all::-webkit-scrollbar { display: none; }

.trend-tab {
  flex-shrink: 0;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 0.83rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  font-family: inherit;
}

.trend-tab:hover { border-color: #9ca3af; color: #1a1a1a; }

.trend-tab.active {
  background: #1e293b;
  color: #fff;
  border-color: #1e293b;
  font-weight: 600;
}

.trending-grid-full {
  width: 100%;
  padding: 0 10%;
  margin-top: 0.5rem;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.5rem;
}

.product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  display: block;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  border-color: #d1d5db;
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f9fafb;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

/* View More */
.trend-more-wrap {
  text-align: center;
  padding: 2rem 0 2.5rem;
}

.trend-more-btn {
  display: inline-block;
  padding: 0.7rem 2.5rem;
  border-radius: 999px;
  border: 1.5px solid #d1d5db;
  background: #ffffff;
  color: #1e3a8a;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.trend-more-btn:hover {
  background: #f0f4ff;
  border-color: #93c5fd;
  box-shadow: 0 4px 18px rgba(30,58,138,0.12);
}

/* Loading skeleton */
.trend-loading {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 3rem 0;
}

.trend-loading span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  animation: trendDot 1.2s infinite ease-in-out;
}

.trend-loading span:nth-child(2) { animation-delay: 0.2s; }
.trend-loading span:nth-child(3) { animation-delay: 0.4s; }

@keyframes trendDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1; }
}

.product-info {
  padding: 0.45rem 0.55rem 0.55rem;
  border-top: 1px solid #f3f4f6;
}

.product-cat {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.18rem;
}

.product-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2em;
}

.product-price {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e3a8a;
}

@media (max-width: 960px)  { .trending-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .trending-grid { grid-template-columns: repeat(2, 1fr); } }

/* ======= ABOUT CARD ======= */
.about-card {
  background: #fff8f0;
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-card p {
  color: var(--text-sec);
  margin-bottom: 0.85rem;
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-card p strong { color: var(--text); font-weight: 700; }

.about-card ul {
  padding-left: 1.3rem;
  margin-bottom: 0.85rem;
}

.about-card li {
  color: var(--text-sec);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.about-card .button-row {
  margin-top: 1.25rem;
  justify-content: flex-start;
}

/* ======= WHY CHOOSE 3-COL ======= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-col h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  color: var(--text);
}

.feature-col > p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  line-height: 1.65;
}

.feature-col > p strong { color: var(--primary); }

.feature-col ul {
  padding-left: 1.1rem;
  list-style: disc;
}

.feature-col li {
  font-size: 0.9rem;
  color: var(--text-sec);
  margin-bottom: 0.32rem;
}

/* ======= DISCLAIMER BOX ======= */
.disclaimer-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: var(--max-width);
  margin: 0 auto;
}

.disclaimer-box strong { color: var(--text); }

/* ======= POPULAR GUIDES BAR ======= */
.guides-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  align-items: center;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: var(--max-width);
  margin: 1rem auto 0;
}

.guides-bar a {
  color: var(--primary);
  font-weight: 600;
  transition: opacity 0.2s;
}

.guides-bar a:hover { opacity: 0.75; }

/* ======= CTA BANNER ======= */
.cta-banner {
  background: var(--primary);
  text-align: center;
  padding: 5rem 1rem;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 0.65rem;
  color: var(--text);
  letter-spacing: -0.015em;
}

.cta-banner p {
  font-size: 1rem;
  color: var(--text-sec);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* ======= BLOG GRID ======= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: transform 0.2s;
}

.blog-card:hover { transform: translateY(-2px); }

.blog-meta {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.blog-card h3 a { color: var(--text); transition: color 0.2s; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }

/* ======= CARD (legacy compat) ======= */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #ffd5ba;
}

.card h3 { margin: 0 0 0.35rem; font-size: 1.02rem; }
.card p  { margin: 0; color: var(--muted); font-size: 0.92rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.content-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: var(--white);
}

.content-box + .content-box {
  margin-top: 1rem;
}

.content-box h1,
.content-box h2,
.content-box h3 {
  margin-bottom: 0.6rem;
}

.content-box h2:not(:first-child),
.content-box h3:not(:first-child) {
  margin-top: 1.15rem;
}

.content-box p {
  color: var(--text-sec);
  line-height: 1.7;
}

.content-box p + p,
.content-box .list,
.content-box .card-grid {
  margin-top: 0.8rem;
}

.list { padding-left: 1.2rem; }
.list li { margin-bottom: 0.45rem; color: var(--text-sec); }
.list a { color: var(--primary); }

/* ======= FAQ ======= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.65rem;
  transition: box-shadow 0.2s;
}

.faq-list details[open] { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.96rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 0.75rem;
}


.faq-list p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.faq-list details[open] summary::after {
  content: '-';
}

/* ======= SECTION HEAD (legacy compat) ======= */
.section-head { margin-bottom: 0.9rem; }
.section-head h2 { margin: 0 0 0.35rem; font-size: 1.5rem; font-weight: 800; }
.section-head p  { margin: 0; color: var(--muted); }

/* ======= FOOTER ======= */
.site-footer { background: var(--footer-bg); }

.footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
}

.footer-logo-wrap img {
  width: 72px;
  height: auto;
  border-radius: 12px;
}

.footer-about .footer-links {
  display: flex;
  gap: 0.4rem 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.footer-about .footer-links a {
  font-size: 0.86rem;
  color: #777777;
  transition: color 0.2s;
}

.footer-about .footer-links a:hover { color: #cccccc; }

.footer-about p {
  font-size: 0.86rem;
  color: #888888;
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 0.5rem;
}

.footer-about p .orange { color: var(--primary); }

.footer-social {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-direction: column;
  padding-top: 0.25rem;
}

.footer-social a {
  color: #888888;
  transition: color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #333333;
}

.footer-social a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-bottom {
  background: #111111;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #555555;
}

.footer-bottom a { color: var(--primary); }

/* ======= VIDEO WRAPPER ======= */
.video-wrapper {
  max-width: var(--max-width);
  margin: 2rem auto;
  padding: 0 1rem;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* ======= MUTED UTILITY ======= */
.muted { color: var(--muted); }

/* ======= RESPONSIVE ======= */
@media (max-width: 960px) {
  .category-grid  { grid-template-columns: repeat(4, 1fr); }
  .features-grid  { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-main    { grid-template-columns: 1fr; }
  .footer-social  { flex-direction: row; padding-top: 0; }
}

@media (max-width: 640px) {
  .category-grid  { grid-template-columns: repeat(3, 1fr); }
  .hero.hero-home { background-size: cover; background-position: center center; }
  .trending-tabs-wrap { padding: 0 0.5rem; gap: 0.25rem; }
  .tabs-arrow { display: flex; }
  .trending-tabs-all { justify-content: flex-start; }
  .hero           { padding: 3.5rem 1rem; }
  .hero h1        { font-size: 2.1rem; }
  .hero-search-wrap { max-width: 100%; margin-bottom: 1.25rem; }
  .hero-search-row { gap: 0.5rem; }
  .hero-search-input-shell { flex: 1 1 100%; max-width: none; }
  .hero-search-input { font-size: 0.85rem; }
  .hero-search-submit-lite { flex: 0 0 auto; min-width: 88px; }
  .section-block  { padding: 3rem 1rem; }
  .about-card     { padding: 1.5rem; }
  .cta-banner     { padding: 3.5rem 1rem; }

  .hero-search-bar { padding: 5px 5px 5px 14px; }
  .hero-bar-input  { font-size: 0.88rem; }
  .hero-bar-img-btn { padding: 0 8px; }
  .hero-bar-submit { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
  .hero-steps-row::before { display: none; }
  .hero-step-item { padding: 0 0.4rem; }
  .hero-step-item strong { font-size: 0.82rem; }
  .hero-step-item p { font-size: 0.78rem; }
}

@media (max-width: 860px) {
  .nav-links,
  .btn-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1f2128;
    border-top: 1px solid #323640;
    border-bottom: 1px solid #323640;
    padding: 0.4rem 0;
    z-index: 120;
  }

  .mobile-menu.open {
    display: block;
  }

  .mobile-menu > a,
  .mobile-submenu-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #d6d8de;
    padding: 0.68rem 1rem;
    font-size: 0.95rem;
    background: transparent;
    border: 0;
    text-align: left;
  }

  .mobile-submenu-toggle span {
    color: #8e94a3;
    font-size: 1rem;
  }

  .mobile-menu > a:hover,
  .mobile-submenu-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .mobile-submenu {
    display: none;
    background: #252833;
    border-top: 1px solid #313543;
    border-bottom: 1px solid #313543;
  }

  .mobile-nav-group.open .mobile-submenu {
    display: block;
  }

  .mobile-submenu a {
    display: block;
    color: #b9beca;
    padding: 0.58rem 1.4rem;
    font-size: 0.9rem;
  }

  .mobile-submenu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 380px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
