﻿/* ═══════════════════════════════════════════════
   SON EPOXY THEME – MAIN CSS
   Author: Custom | Version: 1.0
═══════════════════════════════════════════════ */

/* ──────────────── CSS VARIABLES ──────────────── */
:root {
  --se-blue:    #1E63FF;
  --se-dark:    #061742;
  --se-navy:    #0A2255;
  --se-light:   #F5F9FF;
  --se-border:  #E6ECF5;
  --se-red:     #E63946;
  --se-green:   #22C55E;
  --se-yellow:  #F59E0B;
  --se-text:    #334066;
  --se-muted:   #7A8BA6;
  --se-white:   #ffffff;
  --se-r:       12px;
  --se-r-sm:    8px;
  --se-shadow:  0 2px 16px rgba(30,99,255,0.09);
  --se-shadow-lg: 0 8px 32px rgba(30,99,255,0.15);
  --se-header-h: 68px;
  --se-font:    'Be Vietnam Pro', system-ui, sans-serif;
  --se-max-w:   1280px;
}

/* ──────────────── RESET / BASE ──────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 15px;
  overflow-x: hidden; /* prevent horizontal scroll on all pages */
}
body {
  font-family: var(--se-font);
  color: var(--se-text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ──────────────── LAYOUT UTILITIES ──────────────── */
.se-container {
  max-width: var(--se-max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.se-section { padding: 64px 0; }
.se-section-header { text-align: center; margin-bottom: 48px; }
.se-section-header h2 {
  font-size: 1.75rem; font-weight: 800; color: var(--se-dark);
  letter-spacing: 0.03em; margin-bottom: 12px;
}
.se-section-header p { color: var(--se-muted); font-size: 0.95rem; max-width: 600px; margin: 0 auto; }
.se-section-title { font-size: 1.5rem; font-weight: 800; color: var(--se-dark); margin-bottom: 32px; }
.se-section-cta { text-align: center; margin-top: 40px; }

/* ──────────────── BUTTONS ──────────────── */
.se-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--se-r-sm);
  font-weight: 700; font-size: 0.88rem; white-space: nowrap;
  transition: all 0.18s; line-height: 1;
}
.se-btn-primary { background: var(--se-blue); color: #fff; }
.se-btn-primary:hover { background: #1550d4; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30,99,255,0.3); }
.se-btn-outline-primary { background: transparent; color: var(--se-blue); border: 1.5px solid var(--se-blue); }
.se-btn-outline-primary:hover { background: var(--se-blue); color: #fff; }
.se-btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); }
.se-btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.se-btn-lg { padding: 13px 28px; font-size: 0.95rem; border-radius: var(--se-r); }
.se-btn-sm { padding: 7px 14px; font-size: 0.82rem; border-radius: 6px; }
.se-btn-block { width: 100%; justify-content: center; }

/* ──────────────── HEADER ──────────────── */
.se-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; box-shadow: 0 1px 0 var(--se-border);
  transition: box-shadow 0.2s;
}
.se-header.scrolled { box-shadow: 0 2px 20px rgba(30,99,255,0.1); }
.se-header-inner {
  max-width: var(--se-max-w); margin: 0 auto; padding: 0 20px;
  height: var(--se-header-h);
  display: flex; align-items: center; gap: 24px;
}

/* Logo */
.se-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; max-width: 220px; }
.se-logo-img {
  height: 52px;
  max-height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  /* Prevent layout shift while image loads */
  contain: layout;
}
.se-logo-text { display: flex; align-items: center; gap: 10px; }
.se-logo-icon { flex-shrink: 0; }
.se-logo-words { display: flex; flex-direction: column; line-height: 1.1; }
.se-logo-words strong { font-size: 1.35rem; font-weight: 900; color: var(--se-dark); letter-spacing: 0.05em; }
.se-logo-words small { font-size: 0.6rem; font-weight: 600; color: var(--se-blue); letter-spacing: 0.1em; text-transform: uppercase; }

/* Navigation */
.se-nav { flex: 1; display: flex; justify-content: center; }
.se-nav-list { display: flex; align-items: center; gap: 2px; }
.se-nav-list li { position: relative; }
.se-nav-list > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 6px;
  font-weight: 600; font-size: 0.88rem; color: var(--se-dark);
  transition: all 0.15s; white-space: nowrap;
}
.se-nav-list > li > a:hover,
.se-nav-list > li.current-menu-item > a { color: var(--se-blue); background: var(--se-light); }
.se-nav-list > li.current-menu-ancestor > a { color: var(--se-blue); }

/* Dropdown */
.se-nav-list .sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 220px; background: #fff;
  border: 1px solid var(--se-border); border-radius: var(--se-r);
  box-shadow: var(--se-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.18s; pointer-events: none;
  z-index: 100;
}
.se-nav-list li:hover > .sub-menu,
.se-nav-list li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.se-nav-list .sub-menu li a {
  display: block; padding: 10px 18px;
  font-size: 0.86rem; font-weight: 500; color: var(--se-text);
  transition: all 0.12s; border-bottom: 1px solid var(--se-border);
}
.se-nav-list .sub-menu li:last-child a { border-bottom: none; }
.se-nav-list .sub-menu li a:hover { color: var(--se-blue); background: var(--se-light); padding-left: 24px; }

/* Header Actions */
.se-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.se-action-btn {
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--se-dark); transition: all 0.15s; position: relative;
}
.se-action-btn:hover { background: var(--se-light); color: var(--se-blue); }
.se-cart-btn { position: relative; }
.se-cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--se-red); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 18px;
  text-align: center; padding: 0 4px;
}
.se-cart-count.hidden { display: none; }
.se-phone-link {
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.88rem; color: var(--se-dark);
  padding: 6px 10px; border-radius: 8px;
  transition: all 0.15s; white-space: nowrap;
}
.se-phone-link:hover { color: var(--se-blue); background: var(--se-light); }
.se-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--se-r-sm);
  background: var(--se-blue); color: #fff;
  font-weight: 700; font-size: 0.86rem;
  transition: all 0.18s; white-space: nowrap;
}
.se-cta-btn:hover { background: #1550d4; transform: translateY(-1px); }
.se-cta-expand { width: 100%; justify-content: center; margin-top: 12px; }

/* Hamburger */
.se-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: 8px; transition: background 0.15s;
}
.se-hamburger:hover { background: var(--se-light); }
.se-hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--se-dark); border-radius: 2px; transition: all 0.2s;
}
.se-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.se-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.se-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search Bar */
.se-search-bar {
  border-top: 1px solid var(--se-border);
  padding: 12px 0; background: var(--se-light);
}
.se-search-form {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--se-border);
  border-radius: var(--se-r); padding: 8px 16px;
}
.se-search-form svg { color: var(--se-muted); flex-shrink: 0; }
.se-search-input {
  flex: 1; border: none; outline: none; background: none;
  font-size: 0.9rem; color: var(--se-dark);
}
.se-search-close { color: var(--se-muted); transition: color 0.15s; }
.se-search-close:hover { color: var(--se-dark); }

/* Mobile Nav */
.se-mobile-nav {
  position: fixed; top: 0; right: 0; height: 100vh; width: 300px;
  background: #fff; z-index: 1100;
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.se-mobile-nav.open { transform: translateX(0); }
.se-nav-overlay {
  position: fixed; inset: 0; background: rgba(6,23,66,0.5);
  z-index: 1090; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.se-nav-overlay.active { opacity: 1; visibility: visible; }
.se-mobile-nav-inner { padding: 0 0 40px; }
.se-mobile-nav-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--se-border);
}
.se-mobile-close {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--se-dark); transition: background 0.15s;
}
.se-mobile-close:hover { background: var(--se-light); }
.se-mobile-nav-list { padding: 8px 0; }
.se-mobile-nav-list li { border-bottom: 1px solid var(--se-border); }
.se-mobile-nav-list li a {
  display: block; padding: 14px 20px;
  font-weight: 600; font-size: 0.9rem; color: var(--se-dark);
  transition: all 0.15s;
}
.se-mobile-nav-list li a:hover { color: var(--se-blue); background: var(--se-light); }
.se-mobile-nav-list .sub-menu { display: none; background: var(--se-light); }
.se-mobile-nav-list .sub-menu.open { display: block; }
.se-mobile-nav-list .sub-menu a { padding-left: 36px; font-weight: 500; font-size: 0.86rem; }
.se-mobile-phone {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; font-weight: 700; color: var(--se-dark);
  border-top: 1px solid var(--se-border);
}
.se-mobile-phone a { color: var(--se-blue); }
.se-mobile-nav-inner .se-cta-btn { margin: 0 20px; }

/* ──────────────── FOOTER ──────────────── */
.se-footer { background: var(--se-dark); color: rgba(255,255,255,0.75); }

.se-footer-newsletter {
  background: #0d2b5e; padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.se-newsletter-inner {
  display: flex; align-items: center; gap: 40px;
  flex-wrap: wrap;
}
.se-newsletter-text { flex: 1; min-width: 260px; }
.se-newsletter-text h3 {
  font-size: 1.15rem; font-weight: 800; color: #fff;
  letter-spacing: 0.05em; margin-bottom: 4px;
}
.se-newsletter-text p { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.se-newsletter-form { display: flex; gap: 10px; flex: 1; min-width: 280px; }
.se-newsletter-form input {
  flex: 1; padding: 11px 18px; border-radius: var(--se-r-sm);
  border: 1.5px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 0.88rem; outline: none;
  transition: border-color 0.15s;
}
.se-newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.se-newsletter-form input:focus { border-color: var(--se-blue); }
.se-newsletter-form button {
  padding: 11px 24px; background: var(--se-blue); color: #fff;
  border-radius: var(--se-r-sm); font-weight: 700; font-size: 0.88rem;
  white-space: nowrap; transition: background 0.18s;
}
.se-newsletter-form button:hover { background: #1550d4; }

.se-footer-main { padding: 56px 0 40px; }
.se-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.se-footer-logo-img { height: 52px; max-height: 52px; width: auto; max-width: 200px; object-fit: contain; margin-bottom: 16px; display: block; }
.se-footer-logo-text { display: flex; flex-direction: column; margin-bottom: 16px; }
.se-footer-logo-text strong { font-size: 1.3rem; font-weight: 900; color: #fff; letter-spacing: 0.05em; }
.se-footer-logo-text small { font-size: 0.6rem; color: var(--se-blue); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.se-footer-desc { font-size: 0.84rem; line-height: 1.75; color: rgba(255,255,255,0.6); margin-bottom: 20px; }

.se-social-links { display: flex; gap: 10px; }
.se-social {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all 0.18s;
}
.se-social-fb { background: #1877F2; }
.se-social-yt { background: #FF0000; }
.se-social-tt { background: #010101; }
.se-social-zalo { background: #0078D4; }
.se-social:hover { transform: translateY(-2px); opacity: 0.9; }

.se-footer-heading {
  font-size: 0.82rem; font-weight: 800; color: #fff;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.se-footer-menu { display: flex; flex-direction: column; gap: 4px; }
.se-footer-menu li a {
  font-size: 0.86rem; color: rgba(255,255,255,0.65);
  padding: 5px 0; display: block; transition: all 0.15s;
}
.se-footer-menu li a:hover { color: var(--se-blue); padding-left: 6px; }

.se-contact-list { display: flex; flex-direction: column; gap: 14px; }
.se-contact-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.86rem; color: rgba(255,255,255,0.65);
}
.se-contact-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--se-blue); }
.se-contact-list li a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.se-contact-list li a:hover { color: var(--se-blue); }

.se-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.se-footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.se-copyright { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.se-footer-bottom-links { display: flex; gap: 20px; }
.se-footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: color 0.15s; }
.se-footer-bottom-links a:hover { color: var(--se-blue); }

/* ──────────────── FLOATING BUTTONS ──────────────── */
.se-float-btns {
  position: fixed; bottom: 24px; right: 20px;
  z-index: 500; display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.se-float-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 40px;
  color: #fff; font-weight: 700; font-size: 0.84rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.2s; white-space: nowrap;
}
.se-float-call { background: var(--se-blue); }
.se-float-zalo { background: #0078D4; }
.se-float-btn:hover { transform: translateX(-4px); }
.se-float-btn span { display: none; }
.se-float-btn:hover span { display: inline; }

/* ──────────────── BREADCRUMB ──────────────── */
.se-breadcrumb { margin-bottom: 12px; }
.se-breadcrumb ul { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.se-breadcrumb li { font-size: 0.8rem; color: var(--se-muted); }
.se-breadcrumb li::after { content: '/'; margin-left: 6px; }
.se-breadcrumb li:last-child::after { display: none; }
.se-breadcrumb a { color: var(--se-blue); font-weight: 600; }
.se-breadcrumb a:hover { text-decoration: underline; }
.se-breadcrumb .current { color: var(--se-muted); }

/* ──────────────── PAGE HERO ──────────────── */
.se-page-hero {
  background: var(--se-dark); padding: 40px 0 30px;
  border-bottom: 3px solid var(--se-blue);
}
.se-page-hero .se-breadcrumb li, .se-page-hero .se-breadcrumb a { color: rgba(255,255,255,0.6); }
.se-page-hero .se-breadcrumb a:hover { color: #fff; }
.se-page-hero-title {
  font-size: 2rem; font-weight: 900; color: #fff;
  letter-spacing: 0.03em; margin-bottom: 10px;
}
.se-page-hero-desc { font-size: 0.95rem; color: rgba(255,255,255,0.7); max-width: 640px; margin-bottom: 20px; }

/* ──────────────── HOMEPAGE: HERO ──────────────── */
.se-hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  background: var(--se-dark) var(--hero-bg, '') center/cover no-repeat;
  overflow: hidden;
}
.se-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,23,66,0.92) 0%, rgba(6,23,66,0.7) 60%, rgba(6,23,66,0.4) 100%);
}
.se-hero-inner { position: relative; z-index: 2; padding: 80px 20px; }
.se-hero-content { max-width: 600px; }
.se-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff;
  line-height: 1.2; margin-bottom: 18px; letter-spacing: 0.02em;
}
.se-hero-desc { font-size: 1rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; line-height: 1.7; }
.se-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ──────────────── HOMEPAGE: STATS ──────────────── */
.se-stats-bar {
  background: var(--se-blue);
  padding: 24px 0;
}
.se-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.2);
}
.se-stat-item {
  background: var(--se-blue); padding: 24px 20px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.se-stat-num { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.se-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.75); margin-top: 6px; font-weight: 500; }

/* ──────────────── HOMEPAGE: SERVICES ──────────────── */
.se-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.se-service-card {
  background: var(--se-light); border: 1px solid var(--se-border);
  border-radius: var(--se-r); padding: 28px 24px;
  transition: all 0.22s; position: relative; overflow: hidden;
}
.se-service-card:hover { transform: translateY(-4px); box-shadow: var(--se-shadow-lg); border-color: var(--se-blue); }
.se-service-icon {
  width: 52px; height: 52px; background: var(--se-blue); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.se-service-icon svg { width: 26px; height: 26px; stroke: #fff; }
.se-service-card h3 { font-size: 1rem; font-weight: 700; color: var(--se-dark); margin-bottom: 10px; }
.se-service-card p { font-size: 0.86rem; color: var(--se-muted); line-height: 1.65; }

/* ──────────────── PRODUCT CARDS ──────────────── */
.se-products-grid { display: grid; gap: 20px; }
.se-products-grid--4 { grid-template-columns: repeat(4, 1fr); }
.se-products-grid--3 { grid-template-columns: repeat(3, 1fr); }

.se-product-card {
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r); overflow: hidden;
  box-shadow: var(--se-shadow); position: relative;
  transition: all 0.22s;
}
.se-product-card:hover { transform: translateY(-4px); box-shadow: var(--se-shadow-lg); }
.se-badge-sale {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--se-red); color: #fff;
  border-radius: 6px; font-size: 11px; font-weight: 700;
  padding: 3px 8px; line-height: 1.4;
}
.se-product-img-link { display: block; background: var(--se-light); height: 200px; overflow: hidden; }
.se-product-img-link img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s; }
.se-product-card:hover .se-product-img-link img { transform: scale(1.05); }
.se-product-body { padding: 14px 14px 16px; }
.se-product-cat {
  font-size: 0.72rem; font-weight: 700; color: var(--se-blue);
  text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 6px;
}
.se-product-name { font-size: 0.88rem; font-weight: 700; color: var(--se-dark); margin-bottom: 8px; line-height: 1.45; }
.se-product-name a:hover { color: var(--se-blue); }
.se-product-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.se-product-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.se-rating-count { font-size: 0.76rem; color: var(--se-muted); }
.se-product-price { margin-bottom: 12px; }
.se-product-price .price { font-size: 0.95rem; }
.se-product-price ins, .se-product-price .woocommerce-Price-amount { color: var(--se-red) !important; font-weight: 800 !important; text-decoration: none !important; }
.se-product-price del { color: var(--se-muted) !important; font-size: 0.82em !important; display: block; }

/* Stars */
.se-stars { display: inline-flex; gap: 1px; }
.se-star { font-size: 0.88rem; color: #ddd; }
.se-star.se-star--filled { color: #FBBF24; }
.se-star.se-star--half { color: #FBBF24; }

/* ──────────────── PARTNERS ──────────────── */
.se-partners { padding: 48px 0; }
.se-partners-row {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: center;
  margin-top: 32px;
}
.se-partner-item {
  padding: 16px 28px; background: var(--se-light);
  border: 1px solid var(--se-border); border-radius: var(--se-r);
  font-weight: 800; font-size: 1.1rem; color: var(--se-muted);
  transition: all 0.18s;
}
.se-partner-item:hover { border-color: var(--se-blue); color: var(--se-blue); background: #fff; }

/* ──────────────── CTA BANNER ──────────────── */
.se-cta-banner {
  background: linear-gradient(135deg, var(--se-dark) 0%, #0d2b5e 100%);
  padding: 64px 0;
}
.se-cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.se-cta-banner-text { flex: 1; min-width: 280px; }
.se-cta-banner-text h2 {
  font-size: 1.6rem; font-weight: 900; color: #fff;
  letter-spacing: 0.03em; margin-bottom: 10px;
}
.se-cta-banner-text p { font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.se-cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ──────────────── BLOG ──────────────── */
.se-cat-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.se-cat-pill {
  padding: 7px 16px; border-radius: 30px;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.82rem; font-weight: 600;
  transition: all 0.15s; white-space: nowrap;
}
.se-cat-pill.active { background: var(--se-blue); border-color: var(--se-blue); color: #fff; }
.se-cat-pill:hover:not(.active) { background: rgba(255,255,255,0.2); }
.se-cat-pills-scroll { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.se-cat-pills-scroll::-webkit-scrollbar { display: none; }

/* ═══════════════════════════════════════════
   BLOG / ARCHIVE PAGE  (se-blog-*)
═══════════════════════════════════════════ */

/* ── Hero ── */
.se-blog-hero {
  background: var(--se-light);
  border-bottom: 1px solid var(--se-border);
  padding: 32px 0 0;
  overflow: hidden;
}
.se-blog-hero-inner {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}
.se-blog-hero-content {
  flex: 1;
  padding-bottom: 32px;
}
.se-blog-hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--se-dark);
  letter-spacing: .03em;
  margin: 10px 0 12px;
  line-height: 1.1;
}
.se-blog-hero-desc {
  font-size: .94rem;
  color: var(--se-muted);
  line-height: 1.65;
  max-width: 520px;
}
.se-blog-hero-visual {
  width: 340px;
  flex-shrink: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  align-self: flex-end;
}
.se-blog-hero-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ── Filter bar ── */
.se-blog-filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--se-border);
  padding: 20px 0;
  position: sticky;
  top: var(--se-header-h);
  z-index: 90;
}
.se-blog-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--se-border);
  border-radius: var(--se-r);
  padding: 0 16px;
  gap: 10px;
  margin-bottom: 16px;
  transition: border-color .18s, box-shadow .18s;
}
.se-blog-search:focus-within {
  border-color: var(--se-blue);
  box-shadow: 0 0 0 3px rgba(30,99,255,.1);
}
.se-blog-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  padding: 12px 0;
  font-size: .92rem;
  color: var(--se-dark);
}
.se-blog-search-input::placeholder { color: var(--se-muted); }
.se-blog-search-btn {
  color: var(--se-muted);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color .15s;
}
.se-blog-search-btn:hover { color: var(--se-blue); }

/* ── Category tabs ── */
.se-blog-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: wrap;
}
.se-blog-tabs::-webkit-scrollbar { display: none; }
.se-blog-tab {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--se-text);
  background: var(--se-light);
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: all .15s;
  text-decoration: none;
}
.se-blog-tab:hover { border-color: var(--se-blue); color: var(--se-blue); }
.se-blog-tab.active {
  background: var(--se-blue);
  color: #fff;
  border-color: var(--se-blue);
}

/* ── Layout ── */
.se-blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 64px;
}

/* ── Featured post ── */
.se-blog-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  border: 1px solid var(--se-border);
  border-radius: var(--se-r);
  overflow: hidden;
  margin-bottom: 36px;
  background: #fff;
  box-shadow: var(--se-shadow);
  transition: box-shadow .2s, transform .2s;
}
.se-blog-featured:hover { box-shadow: var(--se-shadow-lg); transform: translateY(-2px); }
.se-blog-featured-thumb {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--se-light);
}
.se-blog-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.se-blog-featured:hover .se-blog-featured-thumb img { transform: scale(1.04); }
.se-blog-featured-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.se-blog-featured-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--se-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.se-blog-featured-title a:hover { color: var(--se-blue); }
.se-blog-featured-excerpt {
  font-size: .87rem;
  color: var(--se-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.se-blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .8rem;
  color: var(--se-muted);
}
.se-meta-author, .se-meta-date {
  display: flex; align-items: center; gap: 5px;
}

/* ── Category label badge ── */
.se-cat-label {
  display: inline-block;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--se-blue);
  background: rgba(30,99,255,.08);
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s;
}
.se-cat-label:hover { background: rgba(30,99,255,.15); }
.se-cat-label--overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--se-blue);
  color: #fff;
}
.se-cat-label--overlay:hover { background: #1550d4; color: #fff; }

/* ── Posts grid ── */
.se-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Post card ── */
.se-blog-card {
  background: #fff;
  border: 1px solid var(--se-border);
  border-radius: var(--se-r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.se-blog-card:hover { box-shadow: var(--se-shadow-lg); transform: translateY(-3px); }
.se-blog-card-thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--se-light);
  position: relative;
}
.se-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.se-blog-card:hover .se-blog-card-thumb img { transform: scale(1.05); }
.se-no-thumb {
  background: linear-gradient(135deg, var(--se-light), var(--se-border));
  height: 100%;
}
.se-blog-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.se-blog-card-title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--se-dark);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.se-blog-card-title a:hover { color: var(--se-blue); }
.se-blog-card-excerpt {
  font-size: .82rem;
  color: var(--se-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.se-blog-card-meta {
  font-size: .78rem;
  color: var(--se-muted);
  display: flex;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--se-border);
}

/* ── Read more link ── */
.se-blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .83rem;
  font-weight: 700;
  color: var(--se-blue);
  text-decoration: none;
  transition: gap .15s;
}
.se-blog-readmore:hover { gap: 8px; }

/* ── No posts ── */
.se-no-posts { color: var(--se-muted); padding: 40px 0; text-align: center; }

/* ── Pagination ── */
.se-pagination { margin-top: 40px; }
.se-pagination ul { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.se-pagination li a,
.se-pagination li span {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1.5px solid var(--se-border); border-radius: 8px;
  font-size: .85rem; font-weight: 600; color: var(--se-text);
  text-decoration: none; transition: all .15s;
}
.se-pagination li a:hover { border-color: var(--se-blue); color: var(--se-blue); }
.se-pagination li span.current { background: var(--se-blue); border-color: var(--se-blue); color: #fff; }
.se-pagination li .dots { border: none; color: var(--se-muted); }

/* ── Sidebar widgets (se-swidget-*) ── */
.se-blog-sidebar { display: flex; flex-direction: column; gap: 24px; }

.se-swidget {
  background: #fff;
  border: 1px solid var(--se-border);
  border-radius: var(--se-r);
  padding: 20px;
}
.se-swidget-title {
  font-size: .82rem;
  font-weight: 800;
  color: var(--se-dark);
  letter-spacing: .06em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--se-blue);
  display: inline-block;
}

/* Featured posts widget */
.se-swidget-posts { display: flex; flex-direction: column; gap: 14px; }
.se-swidget-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.se-swidget-post-thumb {
  flex-shrink: 0;
  width: 76px;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}
.se-swidget-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s;
}
.se-swidget-post-item:hover .se-swidget-post-thumb img { transform: scale(1.05); }
.se-swidget-post-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.se-swidget-post-title {
  font-size: .83rem;
  font-weight: 700;
  color: var(--se-dark);
  line-height: 1.4;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.se-swidget-post-title:hover { color: var(--se-blue); }
.se-swidget-post-date { font-size: .74rem; color: var(--se-muted); }

/* Tags widget */
.se-swidget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.se-swidget-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--se-light);
  border: 1px solid var(--se-border);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--se-text);
  text-decoration: none;
  transition: all .15s;
}
.se-swidget-tag:hover { background: var(--se-blue); color: #fff; border-color: var(--se-blue); }

/* Downloads widget */
.se-swidget-downloads { display: flex; flex-direction: column; gap: 12px; }
.se-swidget-dl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--se-light);
  border-radius: var(--se-r-sm);
  transition: background .15s;
}
.se-swidget-dl-item:hover { background: #e8efff; }
.se-swidget-dl-icon {
  width: 36px;
  height: 36px;
  background: rgba(30,99,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--se-blue);
  flex-shrink: 0;
}
.se-swidget-dl-info { flex: 1; min-width: 0; }
.se-swidget-dl-name {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--se-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.se-swidget-dl-meta { font-size: .73rem; color: var(--se-muted); }
.se-swidget-dl-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--se-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.se-swidget-dl-btn:hover { background: #1550d4; }

/* Newsletter widget */
.se-swidget--newsletter {
  background: var(--se-dark);
  border-color: transparent;
}
.se-swidget--newsletter .se-swidget-title {
  color: #fff;
  border-color: var(--se-blue);
}
.se-swidget-newsletter-desc {
  font-size: .84rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 16px;
}
.se-swidget-nl-form { display: flex; flex-direction: column; gap: 8px; }
.se-swidget-nl-row {
  display: flex;
  gap: 0;
  border-radius: var(--se-r-sm);
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.2);
}
.se-swidget-nl-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,.08);
  border: none;
  outline: none;
  color: #fff;
  font-size: .84rem;
  font-family: inherit;
}
.se-swidget-nl-input::placeholder { color: rgba(255,255,255,.45); }
.se-swidget-nl-btn {
  padding: 10px 14px;
  background: var(--se-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background .15s;
}
.se-swidget-nl-btn:hover { background: #1550d4; }
.se-swidget-nl-note { font-size: .72rem; color: rgba(255,255,255,.45); }
.se-swidget-socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.se-swidget-social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .15s;
}
.se-swidget-social:hover { background: var(--se-blue); }

/* ── Blog responsive ── */
@media (max-width: 1024px) {
  .se-blog-layout { grid-template-columns: 1fr 260px; gap: 28px; }
  .se-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .se-blog-layout { grid-template-columns: 1fr; }
  .se-blog-sidebar { display: none; } /* hide sidebar on mobile */
  .se-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .se-blog-hero-visual { display: none; }
}
@media (max-width: 600px) {
  .se-blog-hero { padding: 20px 0 0; }
  .se-blog-hero-title { font-size: 1.6rem; }
  .se-blog-featured { grid-template-columns: 1fr; }
  .se-blog-featured-thumb { aspect-ratio: 16/9; }
  .se-blog-featured-body { padding: 20px 18px; }
  .se-blog-grid { grid-template-columns: 1fr; }
  .se-blog-filter-bar { position: static; }
  .se-blog-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .se-blog-tab { flex-shrink: 0; }
}

/* ── Blog feature bar ── */
.se-blog-features {
  background: #fff;
  border-top: 1px solid var(--se-border);
  border-bottom: 1px solid var(--se-border);
  padding: 32px 0;
  margin-top: 0;
}
.se-blog-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.se-blog-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.se-blog-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--se-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.se-blog-feature-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.se-blog-feature-text strong {
  font-size: .92rem;
  font-weight: 800;
  color: var(--se-dark);
  line-height: 1.3;
}
.se-blog-feature-text span {
  font-size: .78rem;
  color: var(--se-muted);
  line-height: 1.4;
}
@media (max-width: 860px) {
  .se-blog-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .se-blog-features-grid { grid-template-columns: 1fr; }
}

/* Keeping old se-posts-grid for other uses */
.se-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.se-post-card {
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r); overflow: hidden;
  box-shadow: var(--se-shadow); transition: all 0.22s;
}
.se-post-card:hover { transform: translateY(-4px); box-shadow: var(--se-shadow-lg); }
.se-post-img-link { display: block; aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--se-light); }
.se-post-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.se-post-card:hover .se-post-img-link img { transform: scale(1.05); }
.se-post-no-img { background: linear-gradient(135deg, var(--se-light), var(--se-border)); height: 100%; }
.se-post-badge {
  position: absolute; bottom: 12px; left: 12px;
  color: #fff; padding: 4px 10px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700;
}
.se-post-body { padding: 18px 18px 20px; }
.se-post-title { font-size: 0.95rem; font-weight: 700; color: var(--se-dark); margin-bottom: 10px; line-height: 1.45; }
.se-post-title a:hover { color: var(--se-blue); }
.se-post-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.se-post-excerpt { font-size: 0.82rem; color: var(--se-muted); line-height: 1.6; margin-bottom: 14px; }
.se-post-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.se-post-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--se-muted); padding-top: 12px; border-top: 1px solid var(--se-border); }
.se-post-meta span { display: flex; align-items: center; gap: 5px; }
.se-post-readmore { color: var(--se-blue); font-weight: 600; }
.se-post-readmore:hover { text-decoration: underline; }
.se-no-posts { color: var(--se-muted); padding: 40px 0; text-align: center; }

/* Pagination */
.se-pagination { margin-top: 40px; }
.se-pagination ul { display: flex; gap: 6px; justify-content: center; }
.se-pagination li a, .se-pagination li span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--se-r-sm);
  border: 1.5px solid var(--se-border); background: #fff;
  font-size: 0.86rem; font-weight: 600; color: var(--se-dark);
  transition: all 0.15s;
}
.se-pagination li a:hover { border-color: var(--se-blue); color: var(--se-blue); }
.se-pagination li span.current { background: var(--se-blue); border-color: var(--se-blue); color: #fff; }

/* ──────────────── BLOG SIDEBAR ──────────────── */
.se-widget {
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r); padding: 22px;
  margin-bottom: 24px; box-shadow: var(--se-shadow);
}
.se-widget-title {
  font-size: 0.9rem; font-weight: 800; color: var(--se-dark);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--se-blue);
}
.se-widget-newsletter { background: var(--se-dark); border-color: transparent; }
.se-widget-newsletter .se-widget-title { color: #fff; border-color: var(--se-blue); }
.se-widget-newsletter p { font-size: 0.84rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.se-widget-newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.se-widget-newsletter-form input {
  padding: 10px 14px; border-radius: var(--se-r-sm);
  border: 1.5px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 0.86rem; outline: none;
}
.se-widget-newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }

.se-recent-posts { display: flex; flex-direction: column; gap: 14px; }
.se-recent-item { display: flex; gap: 12px; align-items: flex-start; }
.se-recent-img { width: 70px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.se-recent-img img { width: 100%; height: 55px; object-fit: cover; }
.se-recent-info strong { font-size: 0.84rem; color: var(--se-dark); font-weight: 600; display: block; margin-bottom: 4px; line-height: 1.4; }
.se-recent-info strong:hover { color: var(--se-blue); }
.se-recent-info span { font-size: 0.76rem; color: var(--se-muted); }

.se-widget-cat-list { display: flex; flex-direction: column; }
.se-widget-cat-list li {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--se-border);
}
.se-widget-cat-list li:last-child { border-bottom: none; }
.se-widget-cat-list li a {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 8px 0; font-size: 0.86rem; font-weight: 500; color: var(--se-text);
  transition: all 0.15s;
}
.se-widget-cat-list li a:hover { color: var(--se-blue); padding-left: 4px; }
.se-widget-cat-list li a svg { color: var(--se-blue); flex-shrink: 0; }
.se-widget-cat-list .count {
  flex-shrink: 0; background: var(--se-light); color: var(--se-blue);
  font-size: 0.75rem; font-weight: 700; padding: 2px 7px; border-radius: 20px;
}
.se-widget-cat-list li.active .count { background: var(--se-blue); color: #fff; }

.se-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.se-tag {
  padding: 5px 12px; border-radius: 20px;
  background: var(--se-light); border: 1px solid var(--se-border);
  color: var(--se-text); font-size: 0.8rem; font-weight: 600;
  transition: all 0.15s;
}
.se-tag:hover { background: var(--se-blue); border-color: var(--se-blue); color: #fff; }

/* ──────────────── SINGLE POST ──────────────── */
.se-single-post { padding: 30px 0 60px; }
.se-single-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; margin-top: 24px; }
.se-single-title { font-size: 1.7rem; font-weight: 900; color: var(--se-dark); line-height: 1.3; margin-bottom: 20px; }
.se-single-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--se-border); flex-wrap: wrap; }
.se-meta-avatar { border-radius: 50%; }
.se-meta-info strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--se-dark); margin-bottom: 2px; }
.se-meta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.se-meta-row span { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--se-muted); }
.se-meta-share { margin-left: auto; display: flex; gap: 6px; }
.se-share-btn {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #1877F2; color: #fff; transition: all 0.15s;
}
.se-share-btn:hover { transform: translateY(-2px); }
.se-single-featured-img { margin-bottom: 28px; border-radius: var(--se-r); overflow: hidden; }
.se-single-featured-img img { width: 100%; }
.se-single-thumb { width: 100%; height: 400px; object-fit: cover; }
.se-single-content { font-size: 0.95rem; line-height: 1.8; color: var(--se-text); }
.se-single-content h2 { font-size: 1.3rem; font-weight: 800; color: var(--se-dark); margin: 28px 0 14px; }
.se-single-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--se-dark); margin: 20px 0 10px; }
.se-single-content p { margin-bottom: 16px; }
.se-single-content img { border-radius: var(--se-r); margin: 16px 0; }
.se-single-content ul, .se-single-content ol { margin: 0 0 16px 20px; }
.se-single-content li { margin-bottom: 6px; }

.se-single-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--se-border); font-size: 0.86rem; font-weight: 600; }
.se-author-box { display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: var(--se-light); border-radius: var(--se-r); border: 1px solid var(--se-border); margin-top: 32px; }
.se-author-avatar { border-radius: 50%; flex-shrink: 0; }
.se-author-info h4 { font-size: 1rem; font-weight: 700; color: var(--se-dark); margin-bottom: 6px; }
.se-author-info p { font-size: 0.84rem; color: var(--se-muted); line-height: 1.6; margin-bottom: 10px; }
.se-author-posts-link { font-size: 0.84rem; font-weight: 700; color: var(--se-blue); }

/* Related posts in sidebar */
.se-related-posts { display: flex; flex-direction: column; gap: 16px; }
.se-related-item { display: flex; gap: 12px; }
.se-related-img { width: 80px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.se-related-img img { width: 100%; height: 60px; object-fit: cover; }
.se-related-info { flex: 1; }
.se-related-cat { font-size: 0.72rem; font-weight: 700; color: var(--se-blue); text-transform: uppercase; display: block; margin-bottom: 4px; }
.se-related-info a strong { font-size: 0.84rem; color: var(--se-dark); font-weight: 600; line-height: 1.4; display: block; }
.se-related-info a:hover strong { color: var(--se-blue); }
.se-related-date { font-size: 0.76rem; color: var(--se-muted); }

/* ──────────────── PRODUCT DETAIL ──────────────── */
.se-single-product-breadcrumb { padding-top: 16px; }
.se-product-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; padding-top: 24px; padding-bottom: 40px;
}

.se-gallery-main {
  position: relative; background: var(--se-light);
  border-radius: var(--se-r); overflow: hidden;
  border: 1px solid var(--se-border); aspect-ratio: 1;
}
.se-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.se-gallery-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--se-red); color: #fff;
  border-radius: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px;
}
.se-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.se-gallery-thumb {
  width: 74px; height: 74px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--se-border); cursor: pointer;
  transition: border-color 0.15s; background: var(--se-light);
}
.se-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.se-gallery-thumb.active, .se-gallery-thumb:hover { border-color: var(--se-blue); }

.se-product-cat-badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  background: var(--se-light); color: var(--se-blue);
  font-size: 0.78rem; font-weight: 700; margin-bottom: 10px;
  border: 1px solid var(--se-border);
}
.se-product-detail-title { font-size: 1.5rem; font-weight: 800; color: var(--se-dark); line-height: 1.35; margin-bottom: 12px; }
.se-product-detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.se-rating-score { font-weight: 700; color: var(--se-yellow); }
.se-product-detail-rating a { font-size: 0.82rem; color: var(--se-blue); }

.se-product-detail-price { margin-bottom: 16px; padding: 16px; background: var(--se-light); border-radius: var(--se-r-sm); }
.se-product-detail-price .price del { color: var(--se-muted) !important; font-size: 0.9em !important; display: block; }
.se-product-detail-price .price ins,
.se-product-detail-price .price .woocommerce-Price-amount { color: var(--se-red) !important; font-weight: 900 !important; font-size: 1.4rem !important; text-decoration: none !important; }

.se-product-short-desc { font-size: 0.88rem; line-height: 1.7; color: var(--se-text); margin-bottom: 20px; }
.se-product-short-desc ul { margin-left: 18px; }
.se-product-short-desc li { margin-bottom: 4px; list-style: disc; }

.se-attr-row { margin-bottom: 18px; }
.se-attr-label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--se-dark); margin-bottom: 10px; }
.se-color-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.se-color-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid transparent; outline: 3px solid transparent; outline-offset: 2px;
  cursor: pointer; transition: all 0.15s;
}
.se-color-btn:hover, .se-color-btn.active { outline-color: var(--se-blue); transform: scale(1.15); }
.se-attr-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.se-attr-pill {
  padding: 6px 14px; border: 1.5px solid var(--se-border);
  border-radius: 6px; font-size: 0.84rem; font-weight: 600;
  color: var(--se-text); background: #fff; cursor: pointer;
  transition: all 0.15s;
}
.se-attr-pill:hover, .se-attr-pill.active { border-color: var(--se-blue); color: var(--se-blue); background: var(--se-light); }

.se-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.se-qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--se-border); border-radius: var(--se-r-sm); overflow: hidden; }
.se-qty-btn { width: 38px; height: 38px; font-size: 1.1rem; color: var(--se-dark); transition: background 0.15s; }
.se-qty-btn:hover { background: var(--se-light); }
.se-qty-input { width: 50px; height: 38px; border: none; outline: none; text-align: center; font-size: 0.95rem; font-weight: 700; color: var(--se-dark); }

.se-add-to-cart-row { display: flex; gap: 12px; margin-bottom: 20px; }
.se-add-to-cart-row .se-btn-lg { flex: 1; }

.se-guarantee-row { display: flex; gap: 12px; flex-wrap: wrap; padding: 14px; background: var(--se-light); border-radius: var(--se-r-sm); }
.se-guarantee-item { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 120px; }
.se-guarantee-item span { font-size: 0.78rem; font-weight: 600; color: var(--se-dark); }

/* Tabs */
.se-product-tabs-wrap { padding: 40px 0 20px; }
.se-product-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--se-border); margin-bottom: 24px; flex-wrap: wrap; }
.se-tab-btn {
  padding: 12px 22px; font-size: 0.88rem; font-weight: 700; color: var(--se-muted);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all 0.15s; cursor: pointer; border-radius: 0;
}
.se-tab-btn.active, .se-tab-btn:hover { color: var(--se-blue); border-bottom-color: var(--se-blue); }
.se-tab-content { display: none; }
.se-tab-content.active { display: block; }
.se-description { font-size: 0.92rem; line-height: 1.8; }
.se-description h2 { font-size: 1.2rem; font-weight: 800; margin: 24px 0 12px; }
.se-description h3 { font-size: 1rem; font-weight: 700; margin: 18px 0 10px; }
.se-description p { margin-bottom: 14px; }
.se-description ul { margin-left: 20px; margin-bottom: 14px; list-style: disc; }

.se-specs-table { width: 100%; border-collapse: collapse; }
.se-specs-table tr { border-bottom: 1px solid var(--se-border); }
.se-spec-label { width: 40%; padding: 12px 16px; background: var(--se-light); font-weight: 700; font-size: 0.86rem; color: var(--se-dark); }
.se-spec-value { padding: 12px 16px; font-size: 0.86rem; color: var(--se-text); }

/* Reviews */
.se-reviews-title { font-size: 1.1rem; font-weight: 800; color: var(--se-dark); margin-bottom: 20px; }
.se-review-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.se-review-item { padding: 20px; background: var(--se-light); border-radius: var(--se-r); border: 1px solid var(--se-border); }
.se-review-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.se-review-avatar { border-radius: 50%; }
.se-review-meta { flex: 1; }
.se-review-meta strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--se-dark); }
.se-review-stars { display: flex; gap: 2px; margin: 4px 0; }
.se-review-stars span { font-size: 0.9rem; color: #ddd; }
.se-review-stars span.filled { color: #FBBF24; }
.se-review-date { font-size: 0.76rem; color: var(--se-muted); }
.se-review-content { font-size: 0.86rem; line-height: 1.65; }
.se-no-reviews { color: var(--se-muted); font-size: 0.9rem; }

/* Rating input */
.se-rating-field { margin-bottom: 14px; }
.se-rating-field label { font-size: 0.86rem; font-weight: 700; display: block; margin-bottom: 8px; }
.se-stars-input { display: flex; flex-direction: row-reverse; gap: 4px; }
.se-stars-input input { display: none; }
.se-stars-input label { font-size: 1.5rem; color: #ddd; cursor: pointer; transition: color 0.15s; }
.se-stars-input label:hover, .se-stars-input label:hover ~ label,
.se-stars-input input:checked ~ label { color: #FBBF24; }

/* Related products */
.se-related-products { padding: 40px 0 60px; }

/* ══════════════════════════════════════════════
   SHOP PAGE – REDESIGN
══════════════════════════════════════════════ */

/* Shop Hero (light) */
.se-shop-hero {
  background: linear-gradient(135deg, #EAF2FF 0%, #F5F9FF 60%, #ffffff 100%);
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--se-border);
  overflow: hidden;
}
.se-shop-hero-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.se-shop-hero-text { flex: 1; }
.se-shop-hero-title {
  font-size: 2.4rem; font-weight: 900; color: var(--se-dark);
  letter-spacing: 0.03em; margin-bottom: 10px; line-height: 1.15;
}
.se-shop-hero-desc { font-size: 0.95rem; color: var(--se-muted); margin-bottom: 16px; }
.se-shop-hero-visual {
  flex-shrink: 0; width: 320px; position: relative; display: flex; align-items: center; justify-content: center;
}
.se-shop-hero-img { max-width: 100%; max-height: 200px; object-fit: contain; position: relative; z-index: 2; }
.se-shop-hero-deco {
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,99,255,0.08) 0%, transparent 70%);
  z-index: 1;
}

/* Category tabs bar */
.se-shop-cat-bar {
  background: #fff; border-bottom: 1px solid var(--se-border);
  padding: 0; position: sticky; top: var(--se-header-h); z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.se-shop-cat-tabs {
  display: flex; gap: 4px; overflow-x: auto; padding: 10px 0;
  scrollbar-width: none;
}
.se-shop-cat-tabs::-webkit-scrollbar { display: none; }
.se-cat-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 30px; white-space: nowrap;
  font-size: 0.84rem; font-weight: 600; color: var(--se-text);
  border: 1.5px solid var(--se-border); background: #fff;
  transition: all 0.15s; flex-shrink: 0;
}
.se-cat-tab:hover { border-color: var(--se-blue); color: var(--se-blue); }
.se-cat-tab.active { background: var(--se-blue); border-color: var(--se-blue); color: #fff; }
.se-cat-tab-icon { display: flex; align-items: center; }
.se-cat-tab-icon svg { display: block; }
.se-cat-tab-img { width: 18px; height: 18px; object-fit: cover; border-radius: 50%; }

/* Shop layout — 4 columns */
.se-shop-layout {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 28px; padding-top: 28px; padding-bottom: 40px;
}
.se-shop-layout > * { min-width: 0; }

/* Filter sidebar redesign */
.se-filter-sidebar {
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r); padding: 18px;
  box-shadow: var(--se-shadow); position: sticky;
  top: calc(var(--se-header-h) + 58px);
  max-height: calc(100vh - var(--se-header-h) - 80px);
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--se-border) transparent;
}
.se-filter-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--se-border);
}
.se-filter-main-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 800; color: var(--se-dark); text-transform: uppercase; letter-spacing: 0.06em;
}
.se-filter-clear-all { font-size: 0.78rem; color: var(--se-blue); font-weight: 700; white-space: nowrap; }
.se-filter-clear-all:hover { text-decoration: underline; }
.se-filter-section { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--se-border); }
.se-filter-title {
  font-size: 0.78rem; font-weight: 800; color: var(--se-dark);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}

/* Checkbox items */
.se-check-list { display: flex; flex-direction: column; gap: 4px; }
.se-check-item { display: flex; align-items: center; }
.se-check-label {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 0.84rem; padding: 3px 0; width: 100%;
}
.se-check-label input { display: none; }
.se-checkbox {
  width: 16px; height: 16px; flex-shrink: 0; border-radius: 4px;
  border: 1.5px solid #c0cce0; background: #fff;
  transition: all 0.15s; position: relative;
}
.se-check-label input:checked ~ .se-checkbox { background: var(--se-blue); border-color: var(--se-blue); }
.se-check-label input:checked ~ .se-checkbox::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px; border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
}
.se-check-name { flex: 1; color: var(--se-text); }
.se-check-count {
  flex-shrink: 0; font-size: 0.72rem; color: var(--se-muted); font-weight: 600;
}

/* Color filter */
.se-color-filter-list { display: flex; flex-direction: column; gap: 6px; }
.se-color-filter-item {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 0.84rem; padding: 2px 0;
}
.se-color-filter-item input { display: none; }
.se-color-dot {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  transition: transform 0.15s; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.se-color-filter-item input:checked ~ .se-color-dot { outline: 2.5px solid var(--se-blue); outline-offset: 2px; transform: scale(1.15); }
.se-color-name { color: var(--se-text); font-size: 0.84rem; }

/* Price quick buttons */
.se-price-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.se-price-btn-label { cursor: pointer; }
.se-price-btn-label input { display: none; }
.se-price-btn {
  display: block; padding: 7px 8px; text-align: center;
  border: 1.5px solid var(--se-border); border-radius: 6px;
  font-size: 0.76rem; font-weight: 600; color: var(--se-text);
  transition: all 0.15s; line-height: 1.3;
}
.se-price-btn-label input:checked ~ .se-price-btn { border-color: var(--se-blue); color: var(--se-blue); background: #EAF2FF; }
.se-price-btn:hover { border-color: var(--se-blue); color: var(--se-blue); }

/* Show more button */
.se-show-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.78rem; font-weight: 700; color: var(--se-blue);
  margin-top: 6px; cursor: pointer; background: none; border: none; padding: 0;
}
.se-show-more svg { transition: transform 0.2s; }
.se-show-more.expanded svg { transform: rotate(180deg); }
.se-item-hidden { display: none !important; }
.se-check-list.is-expanded .se-item-hidden,
.se-color-filter-list.is-expanded .se-item-hidden { display: flex !important; }

/* Filter actions */
.se-filter-actions { display: flex; gap: 8px; margin-top: 16px; }
.se-btn-clear {
  flex: 1; padding: 9px 0; border: 1.5px solid var(--se-border);
  border-radius: var(--se-r-sm); font-size: 0.84rem; font-weight: 700;
  color: var(--se-muted); text-align: center; transition: all 0.15s; display: block;
}
.se-btn-clear:hover { border-color: var(--se-red); color: var(--se-red); }
.se-btn-apply {
  flex: 1.4; padding: 9px 0; background: var(--se-blue); color: #fff;
  border-radius: var(--se-r-sm); font-size: 0.84rem; font-weight: 700;
  text-align: center; transition: all 0.15s; border: none; cursor: pointer;
}
.se-btn-apply:hover { background: #1550d4; }

/* Shop toolbar */
.se-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--se-border);
}
.se-result-count { font-size: 0.84rem; color: var(--se-muted); }
.se-ordering select {
  padding: 7px 14px; border: 1.5px solid var(--se-border); border-radius: var(--se-r-sm);
  font-size: 0.84rem; font-weight: 600; color: var(--se-dark);
  background: #fff; cursor: pointer; outline: none; transition: border-color 0.15s;
}
.se-ordering select:focus { border-color: var(--se-blue); }

/* ── Product Card (new design) ── */
.woocommerce ul.products { list-style: none !important; }
.se-pcard {
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r); overflow: hidden; position: relative;
  box-shadow: 0 1px 8px rgba(30,99,255,0.06); transition: all 0.22s;
  display: flex; flex-direction: column;
  float: none !important; width: auto !important; margin: 0 !important;
}
.se-pcard:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(30,99,255,0.13); }

/* Card image */
.se-pcard-img-wrap { position: relative; background: var(--se-light); }
.se-pcard-img-link { display: block; overflow: hidden; }
.se-pcard-img {
  width: 100%; height: 190px;
  object-fit: contain; background: var(--se-light);
  display: block; transition: transform 0.3s;
}
.se-pcard:hover .se-pcard-img { transform: scale(1.04); }

/* Badges */
.se-pcard-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  padding: 3px 9px; border-radius: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.03em; line-height: 1.5;
}
.se-pcard-badge--sale { background: var(--se-red); color: #fff; }
.se-pcard-badge--best { background: #22C55E; color: #fff; }
.se-pcard-badge--new  { background: var(--se-blue); color: #fff; }

/* Card body */
.se-pcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.se-pcard-cat {
  font-size: 0.7rem; font-weight: 700; color: var(--se-blue);
  text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 5px;
}
.se-pcard-name {
  font-size: 0.88rem; font-weight: 700; color: var(--se-dark); margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.45;
}
.se-pcard-name a { color: inherit; }
.se-pcard-name a:hover { color: var(--se-blue); }
.se-pcard-desc {
  font-size: 0.76rem; color: var(--se-muted); margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}

/* Rating */
.se-pcard-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.se-pcard-stars { display: inline-flex; gap: 1px; }
.se-pcard-star { font-size: 0.82rem; color: #DDD; }
.se-pcard-star.filled { color: #FBBF24; }
.se-pcard-rating-score { font-size: 0.78rem; font-weight: 700; color: var(--se-yellow); }
.se-pcard-rating-count { font-size: 0.76rem; color: var(--se-muted); }

/* View detail button */
.se-pcard-view-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 9px 12px; margin-top: auto;
  background: transparent; color: var(--se-blue);
  border: 1.5px solid var(--se-blue);
  border-radius: var(--se-r-sm); font-size: 0.84rem; font-weight: 700;
  cursor: pointer; transition: all 0.18s; text-align: center;
}
.se-pcard-view-btn:hover { background: var(--se-blue); color: #fff; }

/* WC ul.products grid — 4 columns */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin: 0 !important; padding: 0 !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important; width: auto !important; margin: 0 !important;
  padding: 0 !important; list-style: none !important;
}

/* WC pagination */
.se-wc-pagination { margin-top: 32px; }
.woocommerce-pagination { margin: 0; }
.woocommerce-pagination ul {
  display: flex; justify-content: center; gap: 6px; list-style: none;
  margin: 0; padding: 0;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1.5px solid var(--se-border);
  border-radius: var(--se-r-sm); font-size: 0.86rem; font-weight: 600;
  color: var(--se-dark); background: #fff; text-decoration: none; transition: all 0.15s;
}
.woocommerce-pagination ul li a:hover { border-color: var(--se-blue); color: var(--se-blue); }
.woocommerce-pagination ul li span.current { background: var(--se-blue); border-color: var(--se-blue); color: #fff; }

/* No products */
.se-no-products { text-align: center; padding: 60px 20px; color: var(--se-muted); }

/* ── Enterprise CTA Banner ── */
.se-shop-cta-banner {
  background: linear-gradient(100deg, #0A2255 0%, var(--se-blue) 100%);
  padding: 40px 0; margin-top: 16px;
  position: relative; overflow: hidden;
}
.se-shop-cta-banner::before {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
  background: url('') center/cover no-repeat;
  opacity: 0.15;
}
.se-shop-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative; z-index: 2;
}
.se-shop-cta-left h3 { font-size: 1.3rem; font-weight: 900; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.03em; }
.se-shop-cta-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.se-shop-cta-list li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.85); }
.se-shop-cta-list li svg { color: #4ADE80; flex-shrink: 0; }

/* ── Trust Badges ── */
.se-trust-badges { padding: 28px 0; background: var(--se-light); border-top: 1px solid var(--se-border); border-bottom: 1px solid var(--se-border); }
.se-trust-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.se-trust-item { display: flex; align-items: center; gap: 12px; }
.se-trust-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
  background: #fff; border: 1px solid var(--se-border);
  display: flex; align-items: center; justify-content: center;
}
.se-trust-icon svg { width: 22px; height: 22px; stroke: var(--se-blue); }
.se-trust-text { display: flex; flex-direction: column; }
.se-trust-text strong { font-size: 0.84rem; font-weight: 700; color: var(--se-dark); }
.se-trust-text span { font-size: 0.76rem; color: var(--se-muted); }

/* Category sidebar */
.se-cat-sidebar {
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r); padding: 18px;
  box-shadow: var(--se-shadow);
  position: sticky; top: calc(var(--se-header-h) + 58px);
}
.se-cat-sidebar-title {
  font-size: 0.84rem; font-weight: 800; color: var(--se-dark);
  text-transform: uppercase; letter-spacing: 0.07em;
  padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 2px solid var(--se-blue);
}
.se-cat-sidebar-list { display: flex; flex-direction: column; }
.se-cat-sidebar-list li {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--se-border);
}
.se-cat-sidebar-list li:last-child { border-bottom: none; }
.se-cat-sidebar-list li a {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 9px 4px; font-size: 0.86rem; font-weight: 500; color: var(--se-text);
  transition: all 0.15s;
}
.se-cat-sidebar-list li a svg { color: var(--se-muted); flex-shrink: 0; }
.se-cat-sidebar-list li a:hover { color: var(--se-blue); padding-left: 8px; }
.se-cat-sidebar-list li a:hover svg { color: var(--se-blue); }
.se-cat-sidebar-list li.active a { color: var(--se-blue); font-weight: 700; }
.se-cat-sidebar-list li.active a svg { color: var(--se-blue); }
.se-cat-count {
  flex-shrink: 0; font-size: 0.72rem; font-weight: 700;
  color: var(--se-muted); background: var(--se-light);
  padding: 2px 7px; border-radius: 20px;
}
.se-cat-sidebar-list li.active .se-cat-count { background: var(--se-blue); color: #fff; }

/* ── Shop Responsive ── */
@media (max-width: 1200px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .se-trust-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .se-shop-layout { grid-template-columns: 1fr; }
  .se-shop-sidebar { display: none; }
  .se-shop-hero-visual { display: none; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .se-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .se-shop-cta-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .se-shop-hero-title { font-size: 1.7rem; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .se-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .se-pcard-img { height: 150px; }
}

/* ──────────────── SINGLE POST PAGE ──────────────── */
.se-post-hero { padding: 20px 0 0; }
.se-single-wrap { padding-top: 28px; padding-bottom: 64px; }
.se-single-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 48px; align-items: start;
}

/* Category badge (inline, NOT positioned absolute) */
.se-single-cat-badge {
  display: inline-block;
  padding: 5px 14px; border-radius: 20px;
  background: var(--se-blue); color: #fff;
  font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px;
  transition: opacity 0.15s;
}
.se-single-cat-badge:hover { opacity: 0.85; }

/* ──────────────── COMMENT FORM & LIST ──────────────── */
.se-comments-wrap { margin-top: 40px; padding-top: 36px; border-top: 2px solid var(--se-border); }

.se-comments-title,
.se-comment-form-title {
  font-size: 1.1rem; font-weight: 800; color: var(--se-dark);
  margin-bottom: 24px;
}
.se-comment-form-title { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--se-border); }

/* Comment list */
.se-comment-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 0; }
.se-comment-list ol { list-style: none; margin-top: 16px; margin-left: 56px; display: flex; flex-direction: column; gap: 16px; }
.se-comment-item { padding: 0; }
.se-comment-inner { display: flex; gap: 14px; }
.se-comment-avatar { flex-shrink: 0; }
.se-comment-av { border-radius: 50%; }
.se-comment-body {
  flex: 1; background: var(--se-light); border: 1px solid var(--se-border);
  border-radius: var(--se-r); padding: 16px 18px;
}
.se-comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.se-comment-author { font-size: 0.9rem; font-weight: 700; color: var(--se-dark); }
.se-comment-date { font-size: 0.76rem; color: var(--se-muted); margin-left: 2px; }
.se-comment-reply { margin-left: auto; }
.se-comment-reply a {
  font-size: 0.76rem; font-weight: 700; color: var(--se-blue);
  padding: 3px 10px; border: 1px solid var(--se-blue); border-radius: 20px;
  transition: all 0.15s;
}
.se-comment-reply a:hover { background: var(--se-blue); color: #fff; }
.se-comment-pending { font-size: 0.82rem; color: var(--se-yellow); font-style: italic; margin-bottom: 8px; }
.se-comment-text p { font-size: 0.88rem; line-height: 1.65; color: var(--se-text); margin: 0; }
.se-comments-closed { font-size: 0.88rem; color: var(--se-muted); padding: 16px; background: var(--se-light); border-radius: var(--se-r-sm); }
.se-comment-nav { display: flex; justify-content: space-between; margin-top: 20px; }
.se-comment-nav a { font-size: 0.86rem; font-weight: 700; color: var(--se-blue); }

/* Comment form */
#respond { margin-top: 0; }
#respond .comment-form { display: flex; flex-direction: column; gap: 16px; }
.se-cf-row { display: flex; gap: 16px; }
.se-cf-row--half .se-cf-field { flex: 1; }
.se-cf-field { display: flex; flex-direction: column; gap: 6px; }
.se-cf-field label {
  font-size: 0.84rem; font-weight: 700; color: var(--se-dark);
}
.se-cf-field .required { color: var(--se-red); }
.se-cf-field input,
.se-cf-field textarea,
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--se-border) !important;
  border-radius: var(--se-r-sm) !important;
  font-size: 0.88rem; font-family: var(--se-font);
  color: var(--se-dark); background: #fff;
  outline: none; width: 100%; transition: border-color 0.15s;
  box-shadow: none !important;
}
.se-cf-field input:focus,
.se-cf-field textarea:focus,
#respond input[type="text"]:focus,
#respond input[type="email"]:focus,
#respond textarea:focus { border-color: var(--se-blue) !important; }
.se-cf-field textarea, #respond textarea { resize: vertical; min-height: 120px; }
#respond .form-submit { margin: 0; }
#respond .form-submit input,
#respond .se-btn.se-btn-primary {
  background: var(--se-blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--se-r) !important;
  padding: 12px 28px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background 0.18s !important;
}
#respond .form-submit input:hover,
#respond .se-btn.se-btn-primary:hover { background: var(--se-dark) !important; }
#respond .logged-in-as {
  font-size: 0.84rem; color: var(--se-muted);
  margin-bottom: -8px;
}
#respond .logged-in-as a { color: var(--se-blue); }
#cancel-comment-reply-link {
  font-size: 0.8rem; color: var(--se-muted); margin-left: 10px;
}
#cancel-comment-reply-link:hover { color: var(--se-red); }

/* Sidebar sticky */
.se-single-sidebar { position: sticky; top: calc(var(--se-header-h) + 16px); }

/* ──────────────── RESPONSIVE ──────────────── */
@media (max-width: 1200px) {
  .se-services-grid { grid-template-columns: repeat(2, 1fr); }
  .se-products-grid--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .se-nav { display: none; }
  .se-hamburger { display: flex; }
  .se-phone-link { display: none; }
  /* Nav hidden → no flex:1 spacer → add space-between so logo stays left, actions stay right */
  .se-header-inner { justify-content: space-between; }
  .se-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .se-shop-layout { grid-template-columns: 1fr; }
  .se-shop-sidebar { display: none; }
  .se-product-layout { grid-template-columns: 1fr; }
  .se-woo-wrapper { grid-template-columns: 1fr; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .se-single-layout { grid-template-columns: 1fr; }
  .se-single-sidebar { position: static; }
}

@media (max-width: 768px) {
  .se-cf-row { flex-direction: column; }
  .se-hero { min-height: 420px; }
  .se-hero-inner { padding: 60px 20px; }
  .se-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .se-services-grid { grid-template-columns: 1fr; }
  .se-blog-layout { grid-template-columns: 1fr; }
  .se-blog-sidebar { display: none; }
  .se-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .se-products-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .se-products-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .se-single-layout { grid-template-columns: 1fr; }
  .se-footer-grid { grid-template-columns: 1fr; }
  .se-newsletter-inner { flex-direction: column; }
  .se-cta-banner-inner { flex-direction: column; text-align: center; }
  .se-cta-banner-actions { justify-content: center; }
  .se-page-hero-title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .se-posts-grid { grid-template-columns: 1fr; }
  .se-products-grid--4, .se-products-grid--3 { grid-template-columns: 1fr; }
  .se-section-header h2 { font-size: 1.35rem; }
  .se-hero-title { font-size: 1.5rem; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}

/* ═══════════════════════════════════════════════
   SINGLE PRODUCT DETAIL  (se-spd-*)
═══════════════════════════════════════════════ */

/* Breadcrumb */
.se-spd-breadcrumb { padding: 16px 0 0; }

/* ── Main layout: gallery | info ── */
.se-spd-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 32px 0 40px;
}

/* ── Gallery ── */
.se-spd-gallery {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: start;
  min-width: 0; /* prevent grid item from overflowing parent */
}
/* All direct children must not overflow */
.se-spd-gallery > * { min-width: 0; }

/* Vertical thumbs – height synced to main image via JS */
.se-spd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 520px; /* fallback before JS runs */
  scrollbar-width: thin;
  scrollbar-color: var(--se-border) transparent;
  padding-right: 2px;
}
.se-spd-thumbs::-webkit-scrollbar { width: 4px; }
.se-spd-thumbs::-webkit-scrollbar-track { background: transparent; }
.se-spd-thumbs::-webkit-scrollbar-thumb { background: var(--se-border); border-radius: 4px; }

.se-spd-thumb {
  width: 78px;
  height: 78px;
  border: 2px solid var(--se-border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #f8f9fc;
  position: relative;
  transition: border-color .2s, transform .15s, box-shadow .15s;
}
.se-spd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
  transition: transform .2s;
}
.se-spd-thumb:hover {
  border-color: var(--se-blue);
  transform: translateX(2px);
  box-shadow: 2px 0 8px rgba(30,99,255,.15);
}
.se-spd-thumb.active {
  border-color: var(--se-blue);
  box-shadow: 0 0 0 3px rgba(30,99,255,.15);
}
/* Active indicator bar on left edge */
.se-spd-thumb.active::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 20%;
  height: 60%;
  width: 3px;
  background: var(--se-blue);
  border-radius: 0 2px 2px 0;
}

/* Main image */
.se-spd-main-wrap {
  border: 1px solid var(--se-border);
  border-radius: var(--se-r);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
  box-shadow: 0 2px 16px rgba(6,23,66,.07);
  cursor: zoom-in;
}
.se-spd-main-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: opacity .22s ease, transform .3s ease;
  padding: 8px;
}
.se-spd-main-wrap img.se-img-fading { opacity: 0; transform: scale(.97); }
.se-spd-main-wrap:hover img:not(.se-img-fading) { transform: scale(1.03); }

/* Gallery nav arrows */
.se-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--se-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, background .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(6,23,66,.12);
  padding: 0;
}
.se-gallery-arrow svg { display: block; pointer-events: none; }
.se-gallery-prev { left: 10px; }
.se-gallery-next { right: 10px; }
.se-spd-main-wrap:hover .se-gallery-arrow { opacity: 1; }
.se-gallery-arrow:hover { background: #fff; box-shadow: 0 4px 16px rgba(6,23,66,.18); }

/* Gallery image counter */
.se-gallery-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(6,23,66,.55);
  color: #fff;
  font-size: .72rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 20px;
  pointer-events: none;
  line-height: 1.4;
  letter-spacing: .03em;
}

/* ── Info column ── */
.se-spd-info { display: flex; flex-direction: column; gap: 16px; }

.se-spd-cat-badge {
  display: inline-block;
  background: var(--se-light);
  color: var(--se-blue);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(30,99,255,.2);
  width: fit-content;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.se-spd-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--se-dark);
  line-height: 1.3;
}

.se-spd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .85rem;
  color: var(--se-muted);
}
.se-spd-meta-row strong { color: var(--se-text); }

.se-spd-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
}
.se-spd-rating-score { font-weight: 700; color: var(--se-dark); }
.se-spd-rating-count { color: var(--se-blue); }
.se-spd-sold { color: var(--se-muted); border-left: 1px solid var(--se-border); padding-left: 8px; }

.se-spd-short-desc {
  font-size: .9rem;
  color: var(--se-text);
  line-height: 1.7;
}
.se-spd-short-desc p:last-child { margin-bottom: 0; }

/* Feature icons */
.se-spd-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--se-border);
  border-bottom: 1px solid var(--se-border);
}
.se-spd-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--se-dark);
}
.se-spd-feat-icon {
  width: 36px;
  height: 36px;
  background: var(--se-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--se-blue);
  flex-shrink: 0;
}
.se-spd-feat-icon svg { width: 18px; height: 18px; }

/* Attribute rows */
.se-spd-attr-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.se-spd-attr-label { font-size: .85rem; font-weight: 600; color: var(--se-dark); min-width: 80px; }

/* Color picker */
.se-spd-color-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.se-spd-color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.se-spd-color-btn:hover { transform: scale(1.15); }
.se-spd-color-btn.active { outline: 2px solid var(--se-blue); }

/* Volume / attr pills */
.se-spd-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.se-spd-pill {
  padding: 5px 14px;
  border: 1.5px solid var(--se-border);
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--se-text);
  transition: border-color .2s, color .2s, background .2s;
}
.se-spd-pill:hover { border-color: var(--se-blue); color: var(--se-blue); }
.se-spd-pill.active { border-color: var(--se-blue); background: var(--se-blue); color: #fff; }

/* Quantity */
.se-spd-qty-row { display: flex; align-items: center; gap: 12px; }
.se-spd-qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--se-border);
  border-radius: var(--se-r-sm);
  overflow: hidden;
}
.se-spd-qty-btn {
  width: 36px;
  height: 36px;
  background: var(--se-light);
  color: var(--se-dark);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.se-spd-qty-btn:hover { background: var(--se-border); }
.se-spd-qty-input {
  width: 52px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--se-border);
  border-right: 1px solid var(--se-border);
  height: 36px;
  font-size: .9rem;
  font-weight: 600;
}
.se-spd-qty-input:focus { outline: none; }

/* CTA buttons */
.se-spd-cta-row {
  display: flex;
  gap: 12px;
}
.se-spd-cta-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 14px 20px;
  border-radius: var(--se-r-sm);
}
.se-spd-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: var(--se-r-sm);
  white-space: nowrap;
}

/* Guarantee strip */
.se-spd-guarantee {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 12px 0;
  border-top: 1px solid var(--se-border);
}
.se-spd-guarantee-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--se-text);
}

/* ── Trust badges strip ── */
.se-spd-trust-strip {
  background: var(--se-dark);
  padding: 24px 0;
  margin-top: 8px;
}
.se-spd-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.se-spd-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: #fff;
}
.se-spd-trust-icon { color: var(--se-yellow); }
.se-spd-trust-icon svg { width: 28px; height: 28px; }
.se-spd-trust-title { font-size: .78rem; font-weight: 700; letter-spacing: .05em; line-height: 1.3; }

/* ── Tabs section ── */
.se-spd-tabs-section { padding: 40px 0 48px; }

.se-spd-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--se-border);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 0;
}
.se-spd-tab-nav::-webkit-scrollbar { display: none; }

.se-spd-tab-btn {
  padding: 17px 26px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--se-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color .18s, border-color .18s, background .18s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
}
.se-spd-tab-btn:hover {
  color: var(--se-blue);
  background: rgba(30,99,205,.06);
}
.se-spd-tab-btn.active {
  color: var(--se-blue);
  border-bottom-color: var(--se-blue);
  background: rgba(30,99,205,.08);
}

.se-spd-tab-panel { display: none; padding: 32px 0; }
.se-spd-tab-panel.active { display: block; }

/* Panel 1 - Description */
.se-spd-description { font-size: .92rem; line-height: 1.75; color: var(--se-text); max-width: 860px; }
.se-spd-description h2,.se-spd-description h3 { color: var(--se-dark); margin: 24px 0 12px; font-weight: 700; }
.se-spd-description p { margin-bottom: 14px; }
.se-spd-description ul,.se-spd-description ol { padding-left: 20px; margin-bottom: 14px; list-style: disc; }
.se-no-content { color: var(--se-muted); font-style: italic; }

/* Panel 2 - Specs table */
.se-spd-specs-table { width: 100%; max-width: 720px; border-collapse: collapse; font-size: .9rem; }
.se-spd-specs-table tr { border-bottom: 1px solid var(--se-border); }
.se-spd-specs-table tr:nth-child(odd) { background: var(--se-light); }
.se-spec-label { padding: 10px 16px; font-weight: 600; color: var(--se-dark); width: 38%; vertical-align: top; }
.se-spec-value { padding: 10px 16px; color: var(--se-text); vertical-align: top; }
.se-spec-value br { display: block; margin-bottom: 3px; }
/* Inline table inside spec cell (e.g. consumption/coverage table) */
.se-spec-value table { width: 100%; border-collapse: collapse; font-size: .83rem; margin: 2px 0; }
.se-spec-value table th,
.se-spec-value table td { padding: 5px 10px; border: 1px solid var(--se-border); text-align: center; }
.se-spec-value table thead th { background: var(--se-light); font-weight: 700; font-size: .8rem; }
.se-spec-value table tbody tr:nth-child(even) { background: #f8fafc; }

/* Panel 3 - Steps */
.se-spd-steps { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.se-spd-step { display: flex; gap: 16px; align-items: flex-start; }
.se-spd-step-num {
  min-width: 44px;
  height: 44px;
  background: var(--se-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.se-spd-step-title { font-size: .95rem; font-weight: 700; color: var(--se-dark); margin-bottom: 4px; }
.se-spd-step-desc { font-size: .87rem; color: var(--se-text); line-height: 1.6; }

/* Panel 4 - Downloads */
.se-spd-downloads { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.se-spd-download-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--se-border);
  border-radius: var(--se-r-sm);
  transition: border-color .2s, background .2s;
}
.se-spd-download-card:hover { border-color: var(--se-blue); background: var(--se-light); }
.se-spd-dl-icon { color: var(--se-blue); flex-shrink: 0; }
.se-spd-dl-icon svg { width: 24px; height: 24px; }
.se-spd-dl-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.se-spd-dl-name { font-size: .88rem; font-weight: 600; color: var(--se-dark); }
.se-spd-dl-ext { font-size: .75rem; color: var(--se-muted); text-transform: uppercase; }
.se-spd-dl-arrow { color: var(--se-muted); flex-shrink: 0; }
.se-spd-dl-arrow svg { width: 16px; height: 16px; }

/* ── Related products ── */
.se-spd-related { padding-bottom: 56px; }
.se-spd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .se-spd-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
  .se-spd-related-grid { grid-template-columns: repeat(3, 1fr); }
  .se-spd-trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Single product: stack on tablet ── */
@media (max-width: 860px) {
  .se-spd-layout { grid-template-columns: 1fr; gap: 28px; }
  /* Still grid layout with smaller thumbs, but constrained to container */
  .se-spd-gallery { grid-template-columns: 70px 1fr; min-width: 0; }
  .se-spd-gallery > * { min-width: 0; }
  .se-spd-thumb { width: 66px; height: 66px; }
}

/* ── Single product: mobile gallery – thumbs below, horizontal scroll ── */
@media (max-width: 600px) {
  /* KEY: min-width:0 prevents flex children from overflowing their container */
  .se-spd-gallery {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }
  .se-spd-main-wrap {
    order: 1;
    width: 100%;
    min-width: 0;
    aspect-ratio: 4/3;
    border-radius: 10px;
  }
  /* Always show arrows on mobile (no hover needed on touch) */
  .se-spd-main-wrap .se-gallery-arrow {
    opacity: 1 !important;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.9);
  }
  .se-gallery-prev { left: 8px; }
  .se-gallery-next { right: 8px; }
  .se-spd-thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none !important;
    width: 100%;
    min-width: 0; /* crucial: prevent thumb row from expanding gallery */
    padding-right: 0;
    padding-bottom: 4px;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--se-border) transparent;
    /* Fade right edge – hints at scrollable content */
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
  }
  .se-spd-thumbs::-webkit-scrollbar { height: 3px; }
  .se-spd-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
  }
  /* Active indicator at bottom */
  .se-spd-thumb.active::before {
    left: 15%;
    top: auto;
    bottom: -2px;
    height: 3px;
    width: 70%;
    border-radius: 2px 2px 0 0;
  }
  .se-spd-thumb:hover { transform: translateY(-2px); box-shadow: 0 2px 8px rgba(30,99,255,.15); }
}

@media (max-width: 480px) {
  .se-spd-cta-row { flex-direction: column; }
  .se-spd-tab-btn { padding: 12px 14px; font-size: .78rem; }
  .se-spd-related-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .se-spd-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .se-spd-title { font-size: 1.25rem; }
}

/* ═══════════════════════════════════════════════
   CRAWLED PRODUCT DETAIL TABLE  (.spi-product-details)
   Dữ liệu crawl từ nhà sản xuất – cần style lại
═══════════════════════════════════════════════ */
.spi-product-details {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
}

/* Zebra rows */
.spi-product-details tbody tr:nth-child(odd) { background: var(--se-light); }
.spi-product-details tbody tr:nth-child(even) { background: #fff; }
.spi-product-details tbody tr { border-bottom: 1px solid var(--se-border); }
.spi-product-details tbody tr:last-child { border-bottom: none; }

/* TH – label column */
.spi-product-details th {
  width: 220px;
  min-width: 160px;
  padding: 12px 16px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--se-dark);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  border-right: 3px solid var(--se-blue);
  background: rgba(30,99,255,.04);
}

/* TD – value column */
.spi-product-details td {
  padding: 12px 16px;
  color: var(--se-text);
  vertical-align: top;
}

/* UL/LI inside TD – crawled data often lands in ul/li structure */
.spi-product-details td ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spi-product-details td ul li {
  position: relative;
  padding: 3px 0 3px 14px;
  color: var(--se-text);
  font-size: .86rem;
  line-height: 1.55;
}

.spi-product-details td ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--se-blue);
  font-weight: 700;
  line-height: 1.55;
}

/* Single-item lists – show plain, no bullet */
.spi-product-details td ul li:only-child {
  padding-left: 0;
}
.spi-product-details td ul li:only-child::before {
  display: none;
}

/* Responsive: stack th above td on narrow screens */
@media (max-width: 640px) {
  .spi-product-details th,
  .spi-product-details td {
    display: block;
    width: 100%;
    white-space: normal;
  }
  .spi-product-details th {
    border-right: none;
    border-bottom: 2px solid var(--se-blue);
    background: rgba(30,99,255,.06);
    padding-bottom: 8px;
  }
  .spi-product-details td {
    padding-top: 8px;
  }
}

/* ═══════════════════════════════════════════════
   GLOBAL RESPONSIVE OVERHAUL
   Covers: homepage, shop, single post, all pages
═══════════════════════════════════════════════ */

/* ── 1280px+ container fine ── */

/* ── 1024px: tablet landscape ── */
@media (max-width: 1024px) {
  .se-hero { min-height: 460px; }
  .se-hero-title { font-size: 2.1rem; }
  .se-section { padding: 48px 0; }
  .se-section-header { margin-bottom: 36px; }
  .se-section-header h2 { font-size: 1.5rem; }
  .se-section-title { font-size: 1.25rem; }
  .se-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  /* Shop hero */
  .se-shop-hero { padding: 40px 0; }
  .se-shop-hero-title { font-size: 1.8rem; }
}

/* ── 768px: tablet portrait / large phone ── */
@media (max-width: 768px) {
  /* Container padding */
  .se-container { padding: 0 16px; }

  /* Header: hide phone link on small tablet */
  .se-phone-link { display: none; }

  /* Hero */
  .se-hero { min-height: 380px; }
  .se-hero-inner { padding: 48px 16px; }
  .se-hero-title { font-size: 1.75rem; line-height: 1.25; }
  .se-hero-desc { font-size: .88rem; }
  .se-hero-actions { gap: 10px; }
  .se-hero-actions .se-btn-lg { padding: 11px 20px; font-size: .88rem; }

  /* Stats */
  .se-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .se-stat-num { font-size: 1.6rem; }

  /* Section headings */
  .se-section { padding: 40px 0; }
  .se-section-header { margin-bottom: 28px; }
  .se-section-header h2 { font-size: 1.35rem; }

  /* Services */
  .se-services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Products grid */
  .se-products-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .se-products-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Blog */
  .se-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* CTA banner */
  .se-cta-banner-inner { flex-direction: column; text-align: center; gap: 20px; }
  .se-cta-banner-actions { justify-content: center; flex-wrap: wrap; }

  /* Newsletter */
  .se-newsletter-inner { flex-direction: column; gap: 20px; }
  .se-newsletter-form { flex-direction: column; gap: 8px; }
  .se-newsletter-form button { width: 100%; }

  /* Footer */
  .se-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .se-footer-newsletter { padding: 28px 0; }

  /* Shop */
  .se-shop-hero-title { font-size: 1.5rem; }
  .se-shop-hero-desc { font-size: .88rem; }
  .se-shop-cat-tabs { gap: 6px; }
  .se-cat-tab { font-size: .82rem; padding: 7px 14px; }
  .se-shop-toolbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .se-shop-cta-inner { flex-direction: column; gap: 20px; text-align: center; }

  /* Single post */
  .se-single-layout { grid-template-columns: 1fr; gap: 32px; }
  .se-single-sidebar { display: none; }

  /* Page hero */
  .se-page-hero-title { font-size: 1.4rem; }
}

/* ── 600px: large phone ── */
@media (max-width: 600px) {
  /* Hero: stack buttons */
  .se-hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .se-hero-actions .se-btn { width: 100%; justify-content: center; max-width: 320px; }
  .se-hero-title { font-size: 1.55rem; }

  /* Services: single col */
  .se-services-grid { grid-template-columns: 1fr; }

  /* Trust badges: 2 col → already handled */
  .se-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Shop category tabs: scroll */
  .se-shop-cat-bar { overflow: hidden; }
  .se-shop-cat-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .se-shop-cat-tabs::-webkit-scrollbar { display: none; }
  .se-cat-tab { flex-shrink: 0; }

  /* Product cards */
  .se-pcard-name { font-size: .88rem; }
  .se-pcard-desc { display: none; } /* hide short desc on small screens */

  /* Shop CTA: full width button */
  .se-shop-cta-inner .se-btn { width: 100%; justify-content: center; }

  /* Single product breadcrumb smaller */
  .se-breadcrumb { font-size: .78rem; }
  .se-spd-title { font-size: 1.2rem; }
  .se-spd-meta-row { font-size: .8rem; gap: 10px; }
  .se-spd-features { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .se-spd-feat-item { font-size: .78rem; }
  .se-spd-feat-icon { width: 30px; height: 30px; }
  .se-spd-cta-main { font-size: .85rem; padding: 13px 16px; }
}

/* ── 480px: phone ── */
@media (max-width: 480px) {
  .se-container { padding: 0 12px; }
  .se-hero-title { font-size: 1.35rem; }
  .se-hero-desc { font-size: .84rem; }
  .se-stat-num { font-size: 1.4rem; }
  .se-stat-label { font-size: .75rem; }
  .se-section-header h2 { font-size: 1.2rem; }
  .se-section-title { font-size: 1.1rem; }

  /* Products: 2-col, tighter */
  .se-products-grid--4,
  .se-products-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .se-pcard-img { height: 140px; }

  /* Blog: 1 col */
  .se-posts-grid { grid-template-columns: 1fr; }

  /* Footer: 1 col */
  .se-footer-grid { grid-template-columns: 1fr; }

  /* Breadcrumb */
  .se-breadcrumb li:not(:first-child):not(.current)::before { display: none; }

  /* Shop trust */
  .se-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Single product */
  .se-spd-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .se-spd-trust-item { gap: 4px; }
  .se-spd-trust-title { font-size: .72rem; }
  .se-spd-guarantee { gap: 8px; }
  .se-spd-guarantee-item { font-size: .78rem; }

  /* Tabs */
  .se-spd-tab-btn { padding: 10px 10px; font-size: .75rem; letter-spacing: .02em; }
}

/* ── 375px: small phone ── */
@media (max-width: 375px) {
  .se-hero-title { font-size: 1.2rem; }
  .se-header-inner { gap: 12px; }
  .se-logo-words strong { font-size: 1.1rem; }
  .se-cta-btn { padding: 8px 12px; font-size: .8rem; }
  .se-spd-tab-btn { padding: 8px 8px; font-size: .72rem; }
  .se-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
}

/* ═══════════════════════════════════════════════
   MOBILE FINE-TUNING (patched on top of above)
═══════════════════════════════════════════════ */

/* ── Header mobile: compact layout, keep CTA button ── */
@media (max-width: 768px) {
  .se-header-inner { padding: 0 14px; gap: 8px; }
}

@media (max-width: 480px) {
  .se-header-inner { padding: 0 12px; gap: 6px; }
  /* CTA: compact but visible */
  .se-header-actions .se-cta-btn {
    padding: 8px 12px;
    font-size: .78rem;
    letter-spacing: 0;
  }
  /* Action icons slightly smaller */
  .se-action-btn { width: 34px; height: 34px; }
}

@media (max-width: 360px) {
  /* Very small phones: hide CTA, keep hamburger + icons */
  .se-header-actions .se-cta-btn { display: none; }
  .se-header-inner { gap: 6px; }
}

/* ── Hero: full-cover on mobile ── */
@media (max-width: 600px) {
  .se-hero {
    min-height: 340px;
    background-position: center center;
  }
  .se-hero-inner { padding: 36px 16px; }
  .se-hero-title { font-size: 1.5rem; line-height: 1.2; margin-bottom: 12px; }
  .se-hero-desc { font-size: .85rem; margin-bottom: 20px; }
  .se-hero-actions { flex-direction: column; gap: 10px; }
  .se-hero-actions .se-btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* ── Stats strip: 2x2 on small screens ── */
@media (max-width: 480px) {
  .se-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .se-stat-item { padding: 18px 12px; }
}

/* ── Services: single col on phones ── */
@media (max-width: 600px) {
  .se-services-grid { grid-template-columns: 1fr !important; }
  .se-service-card { padding: 20px 18px; }
}

/* ── Products grid: 2 col minimum on phones ── */
@media (max-width: 480px) {
  .se-products-grid--4,
  .se-products-grid--3 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
}

/* ── Product card tighter on phone ── */
@media (max-width: 480px) {
  .se-pcard-body { padding: 12px 14px; }
  .se-pcard-name { font-size: .85rem; }
  .se-pcard-view-btn { padding: 9px 14px; font-size: .8rem; }
}

/* ── Footer: single col on phones ── */
@media (max-width: 600px) {
  .se-footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .se-footer-main { padding: 36px 0 28px; }
  .se-footer-newsletter { padding: 24px 0; }
  .se-newsletter-inner { flex-direction: column; gap: 16px; }
  .se-newsletter-form { flex-direction: column; gap: 8px; }
  .se-newsletter-form button { width: 100%; }
}

/* ── Single product: tighter info on phone ── */
@media (max-width: 480px) {
  .se-spd-breadcrumb { padding-top: 8px; }
  .se-spd-layout { gap: 20px; }
  .se-spd-info { gap: 12px; }
  .se-spd-title { font-size: 1.15rem; }
  .se-spd-features { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .se-spd-qty-row { flex-wrap: wrap; gap: 8px; }
  .se-spd-cta-row { flex-direction: column; gap: 10px; }
  .se-spd-cta-main,
  .se-spd-cta-call { width: 100%; justify-content: center; }
  .se-spd-guarantee { flex-direction: column; gap: 10px; }
  .se-spd-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── Tabs: horizontal scroll on phone ── */
@media (max-width: 600px) {
  .se-spd-tab-nav {
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .se-spd-tab-nav::-webkit-scrollbar { display: none; }
  .se-spd-tab-btn { flex-shrink: 0; }
}

/* ── Blog grid: 1-col on phones ── */
@media (max-width: 480px) {
  .se-posts-grid { grid-template-columns: 1fr !important; gap: 16px; }
}

/* ── Shop page toolbar: stack ── */
@media (max-width: 600px) {
  .se-shop-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .se-sort-select { width: 100%; }
}

/* ── Ensure no element overflows viewport ── */
@media (max-width: 600px) {
  .se-container { max-width: 100%; padding: 0 14px; }
  table { width: 100%; }
  .spi-product-details { overflow-x: auto; }
}

/* ── Fix min-width overflow on newsletter / CTA banner ── */
@media (max-width: 600px) {
  .se-newsletter-text,
  .se-newsletter-form,
  .se-cta-banner-text { min-width: 0; width: 100%; }
  .se-cta-banner-inner { flex-direction: column; text-align: center; }
  .se-cta-banner-actions { justify-content: center; flex-wrap: wrap; }
}

/* ── Guarantee row: wrap on small phones ── */
@media (max-width: 480px) {
  .se-guarantee-row { flex-wrap: wrap; gap: 10px; }
  .se-guarantee-item { min-width: 0; flex: 1 1 calc(50% - 10px); }
}

/* ── Safe-area inset for notch phones ── */
@supports (padding: env(safe-area-inset-bottom)) {
  .se-header { padding-top: env(safe-area-inset-top); }
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ════════════════════════════════════════════════════════════
   TT-ARCHIVE  –  Blog / Category / Tag archive page layout
   (ported from thoitietvn theme, adapted for sonepoxy)
   Color bridge: --tt-blue      → var(--se-blue, #1E85E3)
                 --tt-blue-dark → var(--se-dark, #0d47a1)
                 --tt-bg        → #f5f8fd
                 --tt-border    → #d6e8fa
════════════════════════════════════════════════════════════ */

/* ── Container (sonepoxy native) ── */
.se-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ────────────────────────────────
   HERO
──────────────────────────────── */
.tt-archive-page { background: #f5f8fd; }

.tt-archive-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d2d5a 50%, #0a47a1 100%);
  padding: 32px 0 36px;
  position: relative;
  overflow: hidden;
}
.tt-archive-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(30,133,227,.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(0,212,255,.10) 0%, transparent 45%);
  pointer-events: none;
}

/* Breadcrumb */
.tt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tt-breadcrumb a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.tt-breadcrumb a:hover { color: #fff; }
.tt-breadcrumb-sep { color: rgba(255,255,255,.4); }
.tt-breadcrumb-current { color: #fff; font-weight: 500; }

/* Hero inner */
.tt-archive-hero-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.tt-archive-hero-icon {
  width: 60px;
  height: 60px;
  background: rgba(30,133,227,.25);
  border: 1px solid rgba(30,133,227,.45);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.tt-archive-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: .03em;
}
.tt-archive-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  margin: 0 0 8px;
  max-width: 600px;
  line-height: 1.5;
}
.tt-archive-desc p { margin: 0 0 4px; color: inherit; font-size: inherit; line-height: inherit; }
.tt-archive-desc p:last-child { margin-bottom: 0; }
.tt-archive-count {
  display: inline-block;
  background: rgba(30,133,227,.35);
  border: 1px solid rgba(30,133,227,.55);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 50px;
}

/* ────────────────────────────────
   BODY LAYOUT (main + sidebar)
──────────────────────────────── */
.tt-archive-body {
  padding: 36px 0 60px;
}
.tt-archive-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: start;
}

/* ────────────────────────────────
   FEATURED CARD  (first post)
──────────────────────────────── */
.tt-feat-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d6e8fa;
  box-shadow: 0 2px 12px rgba(13,71,161,.07);
  margin-bottom: 28px;
  transition: box-shadow .25s, transform .25s;
}
.tt-feat-card:hover {
  box-shadow: 0 8px 28px rgba(13,71,161,.13);
  transform: translateY(-2px);
}

/* Thumbnail side */
.tt-feat-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 280px;
  background: #f0f2f5;
}
.tt-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.tt-feat-card:hover .tt-feat-img { transform: scale(1.04); }
.tt-feat-no-thumb {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1E85E3 0%, #0d47a1 100%);
}
.tt-feat-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--se-blue, #1E85E3);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Body side */
.tt-feat-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.tt-feat-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  color: #6b84a0;
  flex-wrap: wrap;
}
.tt-meta-author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}
.tt-meta-author-link:hover { color: var(--se-blue, #1E85E3); }
.tt-arc-meta-avatar {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50%;
  object-fit: cover;
}
.tt-meta-dot { color: #c0d3e8; }
.tt-feat-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #0a1628;
}
.tt-feat-title a { color: inherit; text-decoration: none; }
.tt-feat-title a:hover { color: var(--se-blue, #1E85E3); }
.tt-feat-excerpt {
  font-size: .88rem;
  color: #4a6280;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tt-feat-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--se-blue, #1E85E3);
  color: #fff;
  font-size: .83rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 7px;
  text-decoration: none;
  align-self: flex-start;
  transition: background .2s, transform .2s;
}
.tt-feat-readmore:hover {
  background: #0d47a1;
  transform: translateX(2px);
}

/* ────────────────────────────────
   CARD GRID  (3 columns)
──────────────────────────────── */
.tt-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tt-arc-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d6e8fa;
  box-shadow: 0 2px 8px rgba(13,71,161,.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.tt-arc-card:hover {
  box-shadow: 0 6px 22px rgba(13,71,161,.12);
  transform: translateY(-3px);
}

.tt-arc-card-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #f0f2f5;
}
.tt-arc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.tt-arc-card:hover .tt-arc-card-img { transform: scale(1.05); }
.tt-arc-card-no-thumb {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1E85E3 0%, #0d47a1 100%);
}
.tt-arc-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--se-blue, #1E85E3);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 4px;
}

.tt-arc-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.tt-arc-card-title {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #0a1628;
}
.tt-arc-card-title a { color: inherit; text-decoration: none; }
.tt-arc-card-title a:hover { color: var(--se-blue, #1E85E3); }
.tt-arc-card-excerpt {
  font-size: .82rem;
  color: #5a7490;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.tt-arc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #eaf2fc;
  padding-top: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}
.tt-arc-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  color: #7a95b0;
  flex-wrap: wrap;
}
.tt-arc-meta-author { font-weight: 500; }
.tt-arc-meta-sep { color: #c0d3e8; }
.tt-arc-meta-date {}
.tt-arc-read-time { color: #a0b8d0; }
.tt-arc-read-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--se-blue, #1E85E3);
  text-decoration: none;
  white-space: nowrap;
  transition: gap .2s;
}
.tt-arc-read-more:hover { gap: 6px; }

/* ────────────────────────────────
   LOAD MORE
──────────────────────────────── */
.tt-loadmore-wrap {
  text-align: center;
  margin-top: 32px;
}
.tt-loadmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--se-blue, #1E85E3);
  color: var(--se-blue, #1E85E3);
  font-size: .9rem;
  font-weight: 600;
  padding: 11px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.tt-loadmore-btn:hover {
  background: var(--se-blue, #1E85E3);
  color: #fff;
  transform: translateY(-1px);
}
.tt-loadmore-btn:disabled {
  opacity: .55;
  cursor: default;
  transform: none;
}
.tt-loadmore-icon.spinning {
  animation: tt-spin .7s linear infinite;
}
@keyframes tt-spin { to { transform: rotate(360deg); } }
.tt-loadmore-status {
  font-size: .82rem;
  color: #7a95b0;
  margin-top: 10px;
}

/* Empty state */
.tt-archive-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6b84a0;
}
.tt-archive-empty p { font-size: .95rem; margin: 14px 0 20px; }
.tt-arc-btn-home {
  display: inline-block;
  background: var(--se-blue, #1E85E3);
  color: #fff;
  padding: 9px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s;
}
.tt-arc-btn-home:hover { background: #0d47a1; }

/* ────────────────────────────────
   SIDEBAR
──────────────────────────────── */
.tt-archive-sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Widget container */
.tt-sidebar-widget {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d6e8fa;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(13,71,161,.05);
}

/* Widget title */
.tt-sidebar-widget-title {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--se-blue, #1E85E3);
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid #eaf2fc;
}
.tt-sidebar-widget-title--white {
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

/* Search widget */
.tt-sb-search-row {
  display: flex;
  border: 1.5px solid #d6e8fa;
  border-radius: 7px;
  overflow: hidden;
}
.tt-sb-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 12px;
  font-size: .85rem;
  color: #2a3d54;
  background: #fff;
}
.tt-sb-search-btn {
  background: var(--se-blue, #1E85E3);
  border: none;
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background .2s;
}
.tt-sb-search-btn:hover { background: #0d47a1; }

/* Recent posts widget */
.tt-related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tt-related-item { display: flex; gap: 10px; align-items: flex-start; }
.tt-related-thumb {
  flex-shrink: 0;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 7px;
  overflow: hidden;
  background: #f0f2f5;
}
.tt-related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-related-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.tt-related-title {
  font-size: .82rem;
  font-weight: 600;
  color: #1a2f47;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tt-related-title:hover { color: var(--se-blue, #1E85E3); }
.tt-related-date { font-size: .72rem; color: #8fa9c4; }

/* Categories widget */
.tt-cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tt-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 7px;
  transition: background .15s;
}
.tt-cat-item:hover,
.tt-cat-item.tt-cat-active { background: #eaf2fc; }
.tt-cat-item a {
  font-size: .84rem;
  color: #2a3d54;
  text-decoration: none;
  font-weight: 500;
  flex: 1;
}
.tt-cat-item.tt-cat-active a { color: var(--se-blue, #1E85E3); font-weight: 700; }
.tt-cat-count {
  background: #d6e8fa;
  color: #3a6ea0;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}
.tt-cat-item.tt-cat-active .tt-cat-count {
  background: var(--se-blue, #1E85E3);
  color: #fff;
}

/* Tags widget */
.tt-sb-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tt-sb-tag {
  display: inline-block;
  background: #eaf2fc;
  border: 1px solid #d6e8fa;
  color: #3a6ea0;
  font-size: .78rem;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.tt-sb-tag:hover {
  background: var(--se-blue, #1E85E3);
  border-color: var(--se-blue, #1E85E3);
  color: #fff;
}

/* Downloads widget */
.tt-sb-downloads { display: flex; flex-direction: column; gap: 10px; }
.tt-sb-dl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #d6e8fa;
  border-radius: 8px;
  background: #f5f8fd;
}
.tt-sb-dl-icon {
  width: 34px;
  height: 34px;
  background: #daeeff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--se-blue, #1E85E3);
  flex-shrink: 0;
}
.tt-sb-dl-info { flex: 1; min-width: 0; }
.tt-sb-dl-name {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #1a2f47;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tt-sb-dl-meta { font-size: .7rem; color: #8fa9c4; }
.tt-sb-dl-btn {
  width: 30px;
  height: 30px;
  background: var(--se-blue, #1E85E3);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background .2s;
}
.tt-sb-dl-btn:hover { background: #0d47a1; }

/* Newsletter widget */
.tt-sidebar-newsletter {
  background: linear-gradient(135deg, #0d2d5a 0%, #0a47a1 100%);
  border-color: rgba(30,133,227,.4);
}
.tt-sb-nl-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.8);
  margin: 0 0 14px;
  line-height: 1.5;
}
.tt-sb-nl-row {
  display: flex;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 8px;
}
.tt-sb-nl-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 12px;
  font-size: .84rem;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.tt-sb-nl-input::placeholder { color: rgba(255,255,255,.5); }
.tt-sb-nl-btn {
  background: var(--se-blue, #1E85E3);
  border: none;
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background .2s;
}
.tt-sb-nl-btn:hover { background: #0b5fcc; }
.tt-sb-nl-note { font-size: .72rem; color: rgba(255,255,255,.5); margin: 0 0 16px; }

/* Social icons */
.tt-sb-socials { display: flex; gap: 8px; }
.tt-sb-social {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.tt-sb-social:hover { background: rgba(255,255,255,.25); color: #fff; }

/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */

/* Tablet: 2-col grid → 2-col, sidebar below main at ≤900px */
@media (max-width: 960px) {
  .tt-archive-layout {
    grid-template-columns: 1fr;
  }
  .tt-archive-sidebar-sticky {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tt-sidebar-newsletter { grid-column: span 2; }
}

/* Tablet: featured card stacks */
@media (max-width: 760px) {
  .tt-feat-card { grid-template-columns: 1fr; }
  .tt-feat-thumb { min-height: 220px; }
  .tt-feat-body { padding: 20px 22px; }
  .tt-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tt-archive-title { font-size: 1.35rem; }
  .tt-archive-hero { padding: 24px 0 28px; }
}

/* Mobile: full width */
@media (max-width: 520px) {
  .tt-archive-grid { grid-template-columns: 1fr; gap: 14px; }
  .tt-archive-hero-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tt-archive-hero-icon { width: 48px; height: 48px; }
  .tt-archive-title { font-size: 1.15rem; }
  .tt-feat-thumb { min-height: 180px; }
  .tt-archive-sidebar-sticky { grid-template-columns: 1fr; }
  .tt-sidebar-newsletter { grid-column: auto; }
}

/* ════════════════════════════════════════════════════════════
   TT-SINGLE  –  Single post detail page
════════════════════════════════════════════════════════════ */

/* ── Reading progress bar ── */
.tt-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(30,133,227,.18);
  z-index: 9999;
  pointer-events: none;
}
.tt-reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--se-blue, #1E85E3), #5bc4ff);
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Hero ── */
.tt-single-page { background: #f5f8fd; }

.tt-post-hero {
  position: relative;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1E85E3 100%);
  padding: 56px 0 48px;
  overflow: hidden;
}
.tt-post-hero.has-thumb {
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}
.tt-post-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.45) saturate(.8);
  z-index: 0;
}
.tt-post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,71,161,.55) 0%,
    rgba(13,71,161,.85) 60%,
    rgba(5,35,90,.96) 100%
  );
  z-index: 1;
}
.tt-post-hero .se-container { position: relative; z-index: 2; width: 100%; }
.tt-post-hero-inner { max-width: 820px; }

/* Hero breadcrumb – white text override */
.tt-post-hero .tt-breadcrumb { color: rgba(255,255,255,.72); margin-bottom: 18px; }
.tt-post-hero .tt-breadcrumb a { color: rgba(255,255,255,.72) !important; }
.tt-post-hero .tt-breadcrumb a:hover { color: #fff !important; }
.tt-post-hero .tt-breadcrumb-sep { opacity: .5; }
.tt-post-hero .tt-breadcrumb-current {
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

/* Category badge */
.tt-post-cat-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-decoration: none !important;
  backdrop-filter: blur(6px);
  transition: background .15s;
}
.tt-post-cat-badge:hover { background: rgba(255,255,255,.3) !important; }

/* Post title */
.tt-post-title {
  font-size: clamp(22px, 4vw, 36px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.25 !important;
  margin: 0 0 20px !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* Meta row */
.tt-post-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.tt-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.tt-meta-item svg { opacity: .8; flex-shrink: 0; }
.tt-meta-dot { opacity: .4; }
.tt-meta-author-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: inherit !important;
  text-decoration: none !important;
}
.tt-meta-author-link:hover { opacity: .85; }
.tt-meta-avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,.4) !important;
  object-fit: cover;
}

/* ── 2-col layout ── */
.tt-single-body {
  padding: 36px 0 48px;
  background: #f5f8fd;
}
.tt-single-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.tt-single-main { min-width: 0; }

/* Sticky sidebar */
.tt-sidebar-sticky-single {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tt-single-sidebar { min-width: 0; }

/* ── Article card ── */
.tt-article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(13,71,161,.07);
  padding: 32px 36px;
  margin-bottom: 20px;
  border: 1px solid #d6e8fa;
}

/* Article content typography */
.tt-article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #1a2f47;
}
.tt-article-content h2 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0d47a1 !important;
  margin: 32px 0 14px !important;
  padding-bottom: 8px;
  border-bottom: 2px solid #d6e8fa;
}
.tt-article-content h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0d47a1 !important;
  margin: 24px 0 10px !important;
}
.tt-article-content h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a2f47 !important;
  margin: 20px 0 8px !important;
}
.tt-article-content p { margin: 0 0 18px !important; }
.tt-article-content ul,
.tt-article-content ol { margin: 0 0 18px 20px !important; }
.tt-article-content li { margin-bottom: 6px !important; }
.tt-article-content a {
  color: var(--se-blue, #1E85E3) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tt-article-content a:hover { color: #0d47a1 !important; }
.tt-article-content blockquote {
  border-left: 4px solid var(--se-blue, #1E85E3);
  background: #f0f6ff;
  margin: 24px 0 !important;
  padding: 16px 20px !important;
  border-radius: 0 10px 10px 0;
  color: #5a7490 !important;
  font-style: italic;
}
.tt-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0;
}
.tt-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.tt-article-content th {
  background: var(--se-blue, #1E85E3) !important;
  color: #fff !important;
  padding: 10px 14px;
  text-align: left;
}
.tt-article-content td {
  padding: 9px 14px;
  border-bottom: 1px solid #d6e8fa;
}
.tt-article-content tr:nth-child(even) td { background: #f8fbff; }
.tt-article-content code {
  background: #f0f4f8;
  border: 1px solid #d6e8fa;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 13px;
  font-family: monospace;
}
.tt-article-content pre {
  background: #1a2332;
  color: #e8f0fe;
  padding: 18px 20px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 20px 0;
}
.tt-article-content pre code {
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  font-size: 14px;
}

/* Tags */
.tt-article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #d6e8fa;
}
.tt-tags-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #7a95b0;
}
.tt-tag-pill {
  display: inline-block;
  background: #f0f6ff;
  border: 1px solid #d6e8fa;
  color: var(--se-blue, #1E85E3) !important;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all .15s;
}
.tt-tag-pill:hover {
  background: var(--se-blue, #1E85E3) !important;
  color: #fff !important;
  border-color: var(--se-blue, #1E85E3);
}

/* Share section */
.tt-share-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #d6e8fa;
}
.tt-share-label {
  font-size: 13px;
  font-weight: 600;
  color: #7a95b0;
}
.tt-share-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.tt-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  padding: 0 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none !important;
  transition: all .15s;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}
.tt-share-fb { background: #1877f2; color: #fff !important; border-color: #1877f2; }
.tt-share-fb:hover { background: #0d65d9 !important; border-color: #0d65d9 !important; color: #fff !important; }
.tt-share-tw { background: #111; color: #fff !important; border-color: #111; }
.tt-share-tw:hover { background: #333 !important; border-color: #333 !important; color: #fff !important; }
.tt-share-copy {
  background: #fff;
  color: var(--se-blue, #1E85E3) !important;
  border-color: #c5d8f0 !important;
}
.tt-share-copy:hover { background: #eaf3ff !important; }
.tt-share-copied {
  background: #22c55e !important;
  color: #fff !important;
  border-color: #22c55e !important;
}

/* ── Author box ── */
.tt-author-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(13,71,161,.07);
  border: 1px solid #d6e8fa;
  border-left: 4px solid var(--se-blue, #1E85E3);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.tt-author-avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  border: 3px solid #d6e8fa !important;
  object-fit: cover;
  flex-shrink: 0;
}
.tt-author-info { flex: 1; min-width: 0; }
.tt-author-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--se-blue, #1E85E3);
  margin-bottom: 4px;
}
.tt-author-name {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0d47a1 !important;
  margin: 0 0 8px !important;
}
.tt-author-name a { color: inherit; text-decoration: none; }
.tt-author-name a:hover { color: var(--se-blue, #1E85E3); }
.tt-author-bio {
  font-size: 13px !important;
  color: #7a95b0 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* ── Post navigation ── */
.tt-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.tt-post-nav-item {
  background: #fff;
  border: 1px solid #d6e8fa;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none !important;
  transition: all .15s;
}
.tt-post-nav-item:hover {
  border-color: var(--se-blue, #1E85E3);
  box-shadow: 0 4px 16px rgba(30,133,227,.12);
  transform: translateY(-1px);
}
.tt-nav-next { text-align: right; }
.tt-nav-dir {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--se-blue, #1E85E3);
}
.tt-nav-next .tt-nav-dir { justify-content: flex-end; }
.tt-nav-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a2f47 !important;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tt-post-nav-item:only-child { grid-column: 1 / -1; }
.tt-nav-prev:only-child { max-width: 50%; }

/* ── Comments ── */
.tt-comments-wrap {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(13,71,161,.07);
  border: 1px solid #d6e8fa;
  padding: 28px 32px;
}
/* Neutralise double-spacing: se-comments-wrap bên trong tt-comments-wrap
   đã có padding riêng → xoá margin/padding/border-top trùng */
.tt-comments-wrap .se-comments-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}
/* Form title: chỉ thêm separator khi có danh sách bình luận phía trên */
.tt-comments-wrap .se-comment-form-title {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}
.tt-comments-wrap .se-comment-list ~ #respond .se-comment-form-title {
  margin-top: 28px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--se-border) !important;
}
.tt-comments-wrap .comment-reply-title,
.tt-comments-wrap #reply-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0d47a1 !important;
  margin-bottom: 16px !important;
}
.tt-comments-wrap .comment-list { list-style: none !important; padding: 0 !important; }
.tt-comments-wrap .comment-body {
  background: #f5f8fd;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.tt-comments-wrap textarea,
.tt-comments-wrap input[type="text"],
.tt-comments-wrap input[type="email"],
.tt-comments-wrap input[type="url"] {
  border: 1px solid #d6e8fa !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  font-size: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: #fff !important;
}
.tt-comments-wrap textarea:focus,
.tt-comments-wrap input:focus {
  border-color: var(--se-blue, #1E85E3) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(30,133,227,.12) !important;
}
.tt-comments-wrap input[type="submit"] {
  background: var(--se-blue, #1E85E3) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-size: 14px !important;
  transition: background .2s !important;
}
.tt-comments-wrap input[type="submit"]:hover { background: #0d47a1 !important; }

/* ── Related section (full width bottom) ── */
.tt-related-section {
  background: #eef5ff;
  padding: 44px 0 52px;
  border-top: 2px solid #d6e8fa;
}
.tt-related-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0d47a1 !important;
  margin: 0 0 28px !important;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--se-blue, #1E85E3);
}
.tt-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tt-related-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(13,71,161,.07);
  border: 1px solid #d6e8fa;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .2s;
}
.tt-related-card:hover {
  box-shadow: 0 8px 28px rgba(13,71,161,.14);
  transform: translateY(-3px);
}
.tt-related-card-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #1565c0, #1E85E3);
  text-decoration: none !important;
}
.tt-related-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .3s;
}
.tt-related-card:hover .tt-related-card-img { transform: scale(1.05); }
.tt-related-card-no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
}
.tt-related-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--se-blue, #1E85E3);
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 10px;
  border-radius: 12px;
}
.tt-related-card-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tt-related-card-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1a2f47 !important;
  line-height: 1.45;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}
.tt-related-card-title:hover { color: var(--se-blue, #1E85E3) !important; }
.tt-related-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #8fa9c4;
}
.tt-related-card-excerpt {
  font-size: 12px;
  color: #6b84a0;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Responsive single ── */
@media (max-width: 1100px) {
  .tt-single-grid { grid-template-columns: 1fr 280px; }
}
@media (max-width: 900px) {
  .tt-single-grid { grid-template-columns: 1fr; }
  .tt-sidebar-sticky-single { position: static; }
  .tt-related-grid { grid-template-columns: repeat(2, 1fr); }
  .tt-post-hero.has-thumb { min-height: 280px; }
  .tt-article { padding: 24px 22px; }
}
@media (max-width: 640px) {
  .tt-post-hero { padding: 36px 0 32px; }
  .tt-post-title { font-size: 22px !important; }
  .tt-post-meta-row { font-size: 12px; }
  .tt-single-body { padding: 20px 0 28px; }
  .tt-article { padding: 18px 16px; }
  .tt-article-content { font-size: 15px; }
  .tt-author-box { padding: 18px 16px; gap: 14px; flex-direction: column; align-items: center; text-align: center; }
  .tt-author-avatar { width: 60px !important; height: 60px !important; }
  .tt-post-nav { grid-template-columns: 1fr; }
  .tt-nav-prev:only-child { max-width: 100%; }
  .tt-related-grid { grid-template-columns: 1fr; gap: 14px; }
  .tt-related-section { padding: 28px 0 36px; }
  .tt-comments-wrap { padding: 18px 16px; }
  .tt-breadcrumb-current { max-width: 140px; }
}


/* ════════════════════════════════════════════════════════════
   SE-HOMEPAGE  –  front-page.php layout
════════════════════════════════════════════════════════════ */

/* ── 1. HERO ── */
.se-hp-hero {
  position: relative;
  background: var(--hp-hero-bg, linear-gradient(135deg,#071e3d 0%,#0d2d5a 50%,#0a47a1 100%)) center/cover no-repeat;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.se-hp-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg,rgba(5,15,40,.88) 0%,rgba(8,30,72,.72) 55%,rgba(10,60,140,.45) 100%);
  pointer-events: none; z-index: 0;
}
.se-hp-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 40px;
}
.se-hp-hero-text { display: flex; flex-direction: column; gap: 16px; }
.se-hp-hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.65); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.se-hp-eyebrow-line {
  display: block; width: 24px; height: 2px; background: #1E85E3; border-radius: 1px; flex-shrink: 0;
}
.se-hp-hero-title { display: flex; flex-direction: column; gap: 2px; }
.se-hp-title-white {
  font-size: 2.4rem; font-weight: 900; line-height: 1.1;
  color: #fff; letter-spacing: -.01em;
}
.se-hp-hero-desc {
  font-size: .88rem; line-height: 1.65; color: rgba(255,255,255,.72); max-width: 520px;
}
.se-hp-hero-feats { display: flex; gap: 16px; flex-wrap: wrap; }
.se-hp-hero-feats span {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,.8); font-size: .74rem; font-weight: 600;
}
.se-hp-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.se-hp-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1E85E3; color: #fff;
  padding: 13px 28px; border-radius: 6px;
  font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(30,133,227,.45);
}
.se-hp-btn-primary:hover { background: #1570C4; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,133,227,.55); color: #fff; }
.se-hp-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.9);
  padding: 13px 24px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25);
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-decoration: none;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(4px);
}
.se-hp-btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); color: #fff; }

/* Hero visual */
.se-hp-hero-visual {
  display: flex; justify-content: center; align-items: flex-end;
  position: relative; z-index: 1;
}
.se-hp-hero-prod-img {
  max-width: 100%; max-height: 380px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.45), 0 0 0 3px rgba(255,255,255,.12);
  animation: seHeroFloat 3.6s ease-in-out infinite;
}
.se-hp-hero-prod-svg {
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
  animation: seHeroFloat 3.6s ease-in-out infinite;
}
@keyframes seHeroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Feature strip within hero */
.se-hp-hero-feat-strip {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.07);
  border-top: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
}
.se-hp-hero-feats-row {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.se-hp-hero-feat {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.se-hp-hero-feat:last-child { border-right: none; }
.se-hp-hf-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(30,133,227,.25); border: 1px solid rgba(30,133,227,.4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: #7ec8ff;
}
.se-hp-hf-title { font-size: .71rem; font-weight: 800; color: #fff; letter-spacing: .06em; }
.se-hp-hf-sub   { font-size: .65rem; color: rgba(255,255,255,.55); margin-top: 2px; }

/* ── 2. SAN PHAM ── */
.se-hp-products { padding: 64px 0 72px; background: #f5f7fa; }
.se-hp-sec-head { text-align: center; margin-bottom: 44px; }
.se-hp-sec-title-row {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 10px;
}
.se-hp-sec-line {
  display: block; flex: 1; max-width: 80px; height: 2px;
  background: linear-gradient(90deg,transparent,#1E85E3);
}
.se-hp-sec-title-row .se-hp-sec-line:last-child {
  background: linear-gradient(90deg,#1E85E3,transparent);
}
.se-hp-sec-title {
  font-size: 1.5rem; font-weight: 900; color: #0a1628;
  letter-spacing: .06em; margin: 0; white-space: nowrap;
}
.se-hp-sec-sub { font-size: .85rem; color: #5e7a99; margin: 0; }

/* Category block: left info panel + right 4-col product grid */
.se-hp-cat-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(10,22,40,.07);
  margin-bottom: 24px;
}
.se-hp-cat-block:last-child { margin-bottom: 0; }

.se-hp-cat-panel {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 22px;
  position: relative; overflow: hidden;
  background-color: var(--cat-accent, #1565C0);
  background-size: cover; background-position: center;
  border-right: 2px solid rgba(255,255,255,.18);
}
/* Overlay màu mờ phủ lên ảnh nền */
.se-hp-cat-panel::before {
  content: ''; position: absolute; inset: 0;
  background: var(--cat-overlay, rgba(21,101,192,.87));
  z-index: 0;
}
/* Tất cả nội dung trực tiếp trong panel nổi lên trên overlay */
.se-hp-cat-panel > * { position: relative; z-index: 1; }

.se-hp-cat-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.se-hp-cat-name {
  font-size: .88rem; font-weight: 900; color: #fff;
  line-height: 1.25; letter-spacing: .02em;
  text-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.se-hp-cat-tagline {
  font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.82); letter-spacing: .02em;
}
.se-hp-cat-pdesc {
  font-size: .73rem; line-height: 1.55; color: rgba(255,255,255,.78); margin: 0; flex: 1;
}
.se-hp-cat-all-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 800; color: #fff;
  text-decoration: none; margin-top: auto; transition: gap .2s;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  padding: 5px 12px; border-radius: 20px;
}
.se-hp-cat-all-link:hover { gap: 8px; background: rgba(255,255,255,.28); }

.se-hp-cat-grid-wrap { padding: 16px 16px 16px 14px; }
.se-hp-vgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* Vertical product card */
.se-hp-vcard {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 8px;
  border: 1px solid #e8eef5;
  overflow: hidden; text-decoration: none;
  transition: box-shadow .2s, transform .15s, border-color .2s;
}
.se-hp-vcard:hover {
  box-shadow: 0 5px 18px rgba(30,133,227,.13);
  transform: translateY(-3px); border-color: #a8d0f5;
}
.se-hp-vcard-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;     /* portrait — phù hợp lon/can sơn */
  background: #f4f7fb;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.se-hp-vcard-img {
  width: 88%; height: 88%;
  object-fit: contain;
  transition: transform .3s;
}
.se-hp-vcard:hover .se-hp-vcard-img { transform: scale(1.06); }
.se-hp-vcard-name {
  padding: 8px 10px 10px;
  font-size: .92rem; font-weight: 700; color: #1a2f47;
  line-height: 1.38; text-align: center;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.76em;   /* giữ chiều cao đồng đều khi tên ngắn */
}

/* ── 3. STATS ── */
.se-hp-stats {
  position: relative; padding: 52px 0;
  background: var(--stats-bg, linear-gradient(135deg,#071e3d,#0d3472)) center/cover no-repeat;
}
.se-hp-stats-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(5,15,40,.88) 0%,rgba(5,15,40,.7) 100%);
}
.se-hp-stats-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.se-hp-stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 16px; border-right: 1px solid rgba(255,255,255,.1); text-align: center;
}
.se-hp-stat-item:last-child { border-right: none; }
.se-hp-stat-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(30,133,227,.2); border: 1px solid rgba(30,133,227,.35);
  display: flex; align-items: center; justify-content: center;
  color: #7ec8ff; margin-bottom: 10px;
}
.se-hp-stat-num { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.se-hp-stat-label {
  font-size: .64rem; font-weight: 700; color: rgba(255,255,255,.55);
  letter-spacing: .1em; margin-top: 5px;
}

/* ── 4. VE CHUNG TOI + TIN TUC ── */
.se-hp-about-news { padding: 64px 0 72px; background: #fff; }
.se-hp-about-news-inner {
  display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: stretch;
}
/* About col: card có nền gradient, kéo dài đều với news */
.se-hp-about-col {
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, #EBF5FF 0%, #dbeeff 100%);
  border: 1px solid #c5dcf7; border-radius: 16px; padding: 36px 30px;
}
.se-hp-about-img-wrap {
  width: 100%; border-radius: 10px; overflow: hidden;
  margin-bottom: 22px; box-shadow: 0 4px 20px rgba(10,22,40,.1); aspect-ratio: 4/3;
}
.se-hp-about-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.se-hp-about-title {
  font-size: 1.25rem; font-weight: 900; color: #0a1628; letter-spacing: .04em; margin: 0 0 12px;
}
.se-hp-about-desc { font-size: .84rem; line-height: 1.72; color: #3a5470; margin: 0 0 20px; flex: 1; }
.se-hp-about-checks {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.se-hp-about-checks li {
  display: flex; align-items: center; gap: 9px;
  font-size: .81rem; font-weight: 600; color: #1a2f47;
}
.se-hp-news-hdr {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px;
}
.se-hp-news-title-main {
  font-size: 1.1rem; font-weight: 900; color: #0a1628; letter-spacing: .04em; margin: 0;
}
.se-hp-news-all {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .73rem; font-weight: 700; color: #1E85E3;
  text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: gap .2s;
}
.se-hp-news-all:hover { gap: 8px; }
.se-hp-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* News card */
.se-hp-ncard {
  display: flex; flex-direction: column; border-radius: 10px; overflow: hidden;
  background: #fff; border: 1px solid #e8eef5; transition: box-shadow .2s, transform .2s;
}
.se-hp-ncard:hover { box-shadow: 0 6px 20px rgba(10,22,40,.1); transform: translateY(-2px); }
.se-hp-ncard-thumb {
  display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #f0f2f5;
}
.se-hp-ncard-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.se-hp-ncard:hover .se-hp-ncard-img { transform: scale(1.04); }
.se-hp-ncard-nothumb { width: 100%; height: 100%; background: linear-gradient(135deg,#1E85E3,#0a47a1); }
.se-hp-ncard-date {
  position: absolute; top: 8px; left: 8px; background: #1E85E3; color: #fff;
  display: flex; flex-direction: column; align-items: center;
  padding: 5px 8px; border-radius: 6px; line-height: 1; text-align: center;
}
.se-hp-ncard-day { font-size: .9rem; font-weight: 900; }
.se-hp-ncard-mon { font-size: .58rem; font-weight: 700; margin-top: 1px; opacity: .85; }
.se-hp-ncard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.se-hp-ncard-title {
  font-size: .78rem; font-weight: 700; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0;
}
.se-hp-ncard-title a { color: #1a2f47; text-decoration: none; }
.se-hp-ncard-title a:hover { color: #1E85E3; }
.se-hp-ncard-exc {
  font-size: .7rem; color: #6b7f96; line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.se-hp-ncard-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .68rem; font-weight: 700; color: #1E85E3;
  text-decoration: none; margin-top: auto; transition: gap .2s;
}
.se-hp-ncard-more:hover { gap: 7px; }

/* ── 5. PARTNERS ── */
.se-hp-partners { background: #f5f7fa; padding: 44px 0; border-top: 1px solid #e8eef5; }
.se-hp-partners-title {
  text-align: center; font-size: .75rem; font-weight: 800;
  color: #8a9db5; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 28px;
}
.se-hp-partners-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.se-hp-partner {
  height: 60px; min-width: 100px; max-width: 160px;
  display: flex; align-items: center; justify-content: center; padding: 0 20px;
  background: #fff; border: 1px solid #e4ecf5; border-radius: 8px;
  filter: grayscale(1) opacity(.65); transition: filter .25s, box-shadow .25s, transform .2s;
}
.se-hp-partner:hover {
  filter: grayscale(0) opacity(1); box-shadow: 0 4px 14px rgba(30,133,227,.15); transform: translateY(-2px);
}
.se-hp-partner img { max-height: 38px; max-width: 120px; object-fit: contain; display: block; }
.se-hp-partner span { font-size: .76rem; font-weight: 800; color: #2a4a6b; white-space: nowrap; }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1280px) {
  .se-hp-hero-inner { grid-template-columns: 1fr 360px; gap: 30px; }
}
@media (max-width: 1080px) {
  .se-hp-hero-inner { grid-template-columns: 1fr 300px; gap: 24px; }
  .se-hp-cat-block  { grid-template-columns: 190px 1fr; }
  .se-hp-about-news-inner { grid-template-columns: 280px 1fr; gap: 28px; }
}
/* 960px – hero stack, cat panel hẹp lại, vgrid vẫn 4 cột */
@media (max-width: 960px) {
  .se-hp-hero { min-height: auto; }
  .se-hp-hero-inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 28px; gap: 20px; }
  .se-hp-hero-visual { justify-content: flex-start; }
  .se-hp-hero-prod-img { max-height: 260px; }
  .se-hp-hero-feats-row { grid-template-columns: repeat(2,1fr); }
  /* Cat block: panel hẹp lại nhưng vẫn 2 cột – grid sản phẩm vẫn giữ 4 cột */
  .se-hp-cat-block { grid-template-columns: 160px 1fr; }
  .se-hp-cat-panel { padding: 22px 16px; }
  .se-hp-vgrid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .se-hp-cat-grid-wrap { padding: 12px; }
  .se-hp-stats-inner { grid-template-columns: repeat(4,1fr); }
  .se-hp-about-news-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .se-hp-about-col { padding: 28px 24px; }
  .se-hp-about-desc { flex: none; }
  .se-hp-news-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 760px – cat block stack dọc, panel thành strip ngang */
@media (max-width: 760px) {
  .se-hp-title-white { font-size: 1.9rem; }
  .se-hp-sec-title { font-size: 1.2rem; }
  /* Cat block: panel lên trên (1 cột), grid bên dưới full width */
  .se-hp-cat-block { grid-template-columns: 1fr; }
  .se-hp-cat-panel {
    border-right: none; border-bottom: 2px solid rgba(255,255,255,.2);
    flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: flex-start;
    padding: 14px 16px;
  }
  .se-hp-cat-icon-wrap { flex-shrink: 0; }
  .se-hp-cat-pdesc { width: 100%; display: none; } /* ẩn mô tả dài khi màn nhỏ */
  .se-hp-cat-all-link { margin-top: 0; }
  .se-hp-cat-grid-wrap { padding: 14px; }
  /* Full width → 4 cột vẫn dùng được */
  .se-hp-vgrid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .se-hp-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .se-hp-stat-item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .se-hp-stat-item:nth-child(2n) { border-right: none; }
  .se-hp-news-grid { grid-template-columns: 1fr; gap: 12px; }
  .se-hp-ncard { flex-direction: row; }
  .se-hp-ncard-thumb { width: 120px; min-width: 120px; aspect-ratio: auto; height: auto; }
  .se-hp-ncard-body { padding: 10px 12px; }
  .se-hp-hero-feat-strip { display: none; }
}

/* 600px – 4 cột quá chật → 2 cột × 4 hàng */
@media (max-width: 600px) {
  .se-hp-hero-inner { padding-top: 32px; padding-bottom: 20px; }
  .se-hp-title-white { font-size: 1.55rem; }
  .se-hp-hero-btns  { flex-direction: column; }
  .se-hp-btn-primary, .se-hp-btn-ghost { text-align: center; justify-content: center; }
  .se-hp-products   { padding: 44px 0 52px; }
  .se-hp-vgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .se-hp-cat-panel  { padding: 12px 14px; }
  .se-hp-about-news { padding: 44px 0 52px; }
  .se-hp-about-title { font-size: 1.1rem; }
  .se-hp-news-hdr { flex-direction: column; align-items: flex-start; }
  .se-hp-news-grid { grid-template-columns: repeat(2, 1fr); }
  .se-hp-ncard { flex-direction: column; }
  .se-hp-ncard-thumb { width: 100%; min-width: unset; aspect-ratio: 16/9; height: auto; }
}

/* 480px */
@media (max-width: 480px) {
  .se-hp-title-white { font-size: 1.35rem; }
  .se-hp-sec-title   { font-size: 1.05rem; letter-spacing: .04em; }
  .se-hp-vgrid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .se-hp-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .se-hp-news-grid   { grid-template-columns: 1fr; }
  .se-hp-hero-feats  { flex-direction: column; }
  .se-hp-partners-track { gap: 8px 10px; }
  .se-hp-partner { min-width: 80px; padding: 0 14px; height: 52px; }
}


/* ═══════════════════════════════════════════════
   TRANG LIÊN HỆ – page-lien-he.php
═══════════════════════════════════════════════ */

/* ── Hero ── */
.lh-hero {
  position: relative;
  background: linear-gradient(135deg, var(--se-dark) 0%, var(--se-navy) 60%, #0d3580 100%);
  padding: 72px 0 80px;
  overflow: hidden;
}
.lh-hero-inner {
  position: relative; z-index: 2;
  max-width: 640px;
}
.lh-hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(30,99,255,0.25); color: #93b8ff;
  border: 1px solid rgba(30,99,255,0.4);
  padding: 5px 14px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 20px;
}
.lh-hero-title {
  font-size: 2.8rem; font-weight: 900; color: #fff;
  line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.01em;
}
.lh-hero-title span { color: #6aa3ff; }
.lh-hero-desc {
  color: rgba(255,255,255,0.72); font-size: 1rem;
  line-height: 1.7; max-width: 520px; margin-bottom: 28px;
}
.lh-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.lh-breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.lh-breadcrumb a:hover { color: #fff; }
.lh-breadcrumb span { color: rgba(255,255,255,0.85); font-weight: 600; }

/* Decorative dots */
.lh-hero-dots {
  position: absolute; right: -60px; top: -60px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,99,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.lh-hero-dots::after {
  content: '';
  position: absolute; right: 80px; bottom: 60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(100,160,255,0.1) 0%, transparent 70%);
}

/* ── Contact Cards ── */
.lh-cards-section { padding: 64px 0; }
.lh-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.lh-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r); padding: 28px 24px;
  transition: all 0.22s; position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
}
.lh-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: var(--se-r) var(--se-r) 0 0;
  opacity: 0; transition: opacity 0.22s;
}
.lh-card:hover {
  box-shadow: var(--se-shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.lh-card:hover::before { opacity: 1; }

.lh-card--phone::before { background: linear-gradient(90deg, var(--se-blue), #6aa3ff); }
.lh-card--email::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.lh-card--address::before { background: linear-gradient(90deg, var(--se-green), #86efac); }
.lh-card--hours::before  { background: linear-gradient(90deg, var(--se-yellow), #fcd34d); }

.lh-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}
.lh-card--phone .lh-card-icon { background: rgba(30,99,255,0.1); color: var(--se-blue); }
.lh-card--email .lh-card-icon { background: rgba(124,58,237,0.1); color: #7c3aed; }
.lh-card--address .lh-card-icon { background: rgba(34,197,94,0.1); color: var(--se-green); }
.lh-card--hours .lh-card-icon  { background: rgba(245,158,11,0.1); color: var(--se-yellow); }

.lh-card-body { flex: 1; }
.lh-card-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--se-muted); margin-bottom: 6px;
}
.lh-card-value {
  font-size: 1.05rem; font-weight: 700; color: var(--se-dark);
  line-height: 1.4; margin-bottom: 8px;
}
.lh-card--phone .lh-card-value { font-size: 1.25rem; color: var(--se-blue); }
.lh-card-hint {
  font-size: 0.78rem; color: var(--se-muted);
}
.lh-card-arrow {
  position: absolute; bottom: 22px; right: 20px;
  color: var(--se-muted); opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.lh-card:hover .lh-card-arrow { opacity: 1; transform: translateX(3px); }

/* ── Map Section ── */
.lh-map-section {
  padding: 0 0 72px;
}
.lh-map-wrap {
  display: grid; grid-template-columns: 1fr 380px; gap: 28px;
  align-items: start;
}
.lh-map-block {
  border: 1px solid var(--se-border);
  border-radius: var(--se-r); overflow: hidden;
}
.lh-map-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: var(--se-light); border-bottom: 1px solid var(--se-border);
  font-size: 0.85rem; font-weight: 700; color: var(--se-dark);
}
.lh-map-embed {
  height: 440px; width: 100%;
}
.lh-map-embed iframe { display: block; }

/* Side panel */
.lh-map-side { display: flex; flex-direction: column; gap: 20px; }
.lh-side-block {
  background: #fff; border: 1px solid var(--se-border);
  border-radius: var(--se-r); padding: 24px;
}
.lh-side-title {
  font-size: 1rem; font-weight: 800; color: var(--se-dark);
  margin-bottom: 8px;
}
.lh-side-desc {
  font-size: 0.84rem; color: var(--se-muted); margin-bottom: 18px; line-height: 1.6;
}

/* Quick contact buttons */
.lh-quick-btns { display: flex; flex-direction: column; gap: 10px; }
.lh-quick-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: var(--se-r-sm);
  font-weight: 700; font-size: 0.88rem;
  transition: all 0.18s;
}
.lh-quick-btn--call  { background: var(--se-blue); color: #fff; }
.lh-quick-btn--call:hover  { background: #1550d4; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(30,99,255,0.35); }
.lh-quick-btn--zalo  { background: #0068ff; color: #fff; }
.lh-quick-btn--zalo:hover  { background: #0055d4; transform: translateY(-1px); }
.lh-quick-btn--email { background: var(--se-light); color: var(--se-dark); border: 1px solid var(--se-border); }
.lh-quick-btn--email:hover { background: #e8f0ff; border-color: var(--se-blue); color: var(--se-blue); }

/* Social list */
.lh-social-list { display: flex; flex-direction: column; gap: 2px; }
.lh-social-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--se-r-sm);
  transition: background 0.15s; text-decoration: none; color: inherit;
}
.lh-social-item:hover { background: var(--se-light); }
.lh-social-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lh-social-item--fb   .lh-social-icon { background: #e7f0ff; color: #1877f2; }
.lh-social-item--yt   .lh-social-icon { background: #fff0f0; color: #ff0000; }
.lh-social-item--tt   .lh-social-icon { background: #f0f0f0; color: #000; }
.lh-social-item--zalo .lh-social-icon { background: #e6f0ff; color: #0068ff; }
.lh-social-info { flex: 1; }
.lh-social-info strong { display: block; font-size: 0.86rem; font-weight: 700; color: var(--se-dark); }
.lh-social-info span   { font-size: 0.75rem; color: var(--se-muted); }
.lh-social-arrow { color: var(--se-muted); flex-shrink: 0; }

/* ── CTA Strip ── */
.lh-cta-strip {
  background: linear-gradient(135deg, var(--se-blue) 0%, #1550d4 100%);
  padding: 56px 0;
}
.lh-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.lh-cta-text h2 {
  font-size: 1.75rem; font-weight: 900; color: #fff; margin-bottom: 8px;
}
.lh-cta-text p { color: rgba(255,255,255,0.78); font-size: 0.95rem; }
.lh-cta-actions { display: flex; gap: 14px; flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .lh-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .lh-map-wrap { grid-template-columns: 1fr; }
  .lh-map-embed { height: 320px; }
  .lh-map-side { flex-direction: row; flex-wrap: wrap; }
  .lh-side-block { flex: 1 1 260px; }
}

@media (max-width: 768px) {
  .lh-hero { padding: 52px 0 60px; }
  .lh-hero-title { font-size: 2rem; }
  .lh-cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .lh-cta-actions { flex-direction: column; width: 100%; }
  .lh-cta-actions .se-btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .lh-cards-grid { grid-template-columns: 1fr; }
  .lh-map-side { flex-direction: column; }
  .lh-hero-title { font-size: 1.7rem; }
}