/*
Theme Name: Seamou Shop Luxury Theme
Theme URI: https://shop.seamou.studio
Author: CÔNG TY TNHH CÔNG NGHỆ VÀ KỸ THUẬT SEAMOU
Author URI: https://seamou.studio
Description: Giao diện Thương Mại Điện Tử chuẩn Doanh Nghiệp cho Seamou Store. Thiết kế tối giản, tinh tế, Zero-Emoji, bảo mật chuẩn Blackbox và tương thích hoàn hảo với WooCommerce.
Version: 2.1.0
License: Proprietary
Text Domain: seamou-shop-theme
*/

:root {
  /* Surface Tokens */
  --bg-main: #07040d;
  --bg-surface: #0f091c;
  --bg-card: #140c26;
  --bg-card-hover: #1b1033;
  --bg-input: #110920;

  /* Accent Tokens */
  --accent-cyan: #00f0ff;
  --accent-cyan-rgb: 0, 240, 255;
  --accent-magenta: #f43f5e;
  --accent-magenta-rgb: 244, 63, 94;
  --accent-violet: #8b5cf6;
  --accent-violet-rgb: 139, 92, 246;

  /* Semantic Status Tokens */
  --status-active: #22c55e;
  --status-indeterminate: #f59e0b;
  --status-expired: #ef4444;

  /* Typography Contrast */
  --text-pure: #ffffff;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  /* Fonts */
  --font-main: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Shadows & Glow */
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.25);
  --glow-cyan-sm: 0 0 10px rgba(0, 240, 255, 0.2);
  --card-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 240, 255, 0.06);

  /* Border Radius */
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-pill: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-sub);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Cyber Grid Accent */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 500px;
  background: radial-gradient(circle at 50% -20%, rgba(139, 92, 246, 0.15) 0%, rgba(0, 240, 255, 0.05) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: #67e8f9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Container */
.seamou-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* TOP BANNER MUA SAM THANH LICH */
.seamou-top-banner {
  background: rgba(15, 9, 28, 0.95);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  font-size: 13px;
  color: var(--text-sub);
  padding: 9px 0;
  text-align: center;
  position: relative;
  z-index: 50;
}

.seamou-top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.banner-item {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.01em;
}

.banner-divider {
  color: var(--text-faint);
  margin: 0 4px;
}

/* NAVBAR (GLASSMORPHISM) */
.seamou-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15, 9, 28, 0.88);
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.seamou-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.seamou-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.seamou-brand-logo {
  width: 38px;
  height: 38px;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.seamou-brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-pure);
  line-height: 1.1;
}

.brand-title span {
  color: var(--accent-cyan);
}

.brand-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-violet);
}

/* Main Nav */
.seamou-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.seamou-nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-sub);
  position: relative;
  padding: 6px 0;
}

.seamou-nav-links a:hover,
.seamou-nav-links .active a {
  color: var(--text-pure);
}

.seamou-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.25s ease;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.seamou-nav-links a:hover::after,
.seamou-nav-links .active a::after {
  width: 100%;
}

/* Navbar Actions */
.seamou-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.seamou-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
  position: relative;
  transition: all 0.2s ease;
}

.seamou-cart-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.cart-icon {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, var(--accent-magenta), #e11d48);
  color: var(--text-pure);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
  border: 2px solid var(--bg-surface);
  line-height: 1;
  min-width: 18px;
  text-align: center;
}

/* NUT TAI KHOAN THANH LICH */
.btn-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-pure);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.btn-account:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan-sm);
  transform: translateY(-1px);
}

.btn-account svg {
  width: 17px;
  height: 17px;
}

/* HERO SECTION (CORPORATE STANDARD) */
.seamou-hero {
  padding: 56px 0 36px;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-pure);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* CATALOG FILTER TABS */
.catalog-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main);
}

.filter-tab:hover {
  background: rgba(0, 240, 255, 0.06);
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
}

.filter-tab.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--text-pure);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

/* PRODUCT CARDS GRID */
.products-grid,
ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
  list-style: none;
  padding: 0;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.product-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: var(--card-shadow);
}

.product-media {
  height: 180px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}

.product-thumbnail img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}

.product-thumbnail-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-thumbnail-fallback svg {
  width: 48px;
  height: 48px;
  color: var(--accent-violet);
  opacity: 0.7;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.product-price,
.product-price .woocommerce-Price-amount {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.price-vat {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 500;
}

.btn-product-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: var(--radius-btn);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
  font-size: 13.5px;
  font-weight: 700;
  margin-top: auto;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-product-detail:hover {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  color: #040813;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.category-empty-message {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

/* EMPTY STATE TOI GIAN & TRANG NHA */
.seamou-empty-state-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 56px 28px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  position: relative;
}

.empty-icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.empty-icon-box svg {
  width: 32px;
  height: 32px;
}

.empty-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.empty-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.empty-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-btn);
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  color: #040813;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.5);
  color: #020617;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-pure);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* WOOCOMMERCE ARCHIVE & LAYOUT */
.woocommerce-page-wrapper {
  padding: 48px 0 80px;
}

.woocommerce-products-header {
  margin-bottom: 32px;
}

.woocommerce-page-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  border-left: 4px solid var(--accent-cyan);
  padding-left: 16px;
}

.woocommerce-products-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* WooCommerce Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg-card) !important;
  border: 1px solid rgba(0, 240, 255, 0.25) !important;
  border-left: 4px solid var(--accent-cyan) !important;
  color: var(--text-pure) !important;
  border-radius: 8px !important;
  padding: 14px 20px !important;
  margin-bottom: 24px !important;
  list-style: none !important;
}

.woocommerce-error {
  border-color: rgba(244, 63, 94, 0.3) !important;
  border-left-color: var(--accent-magenta) !important;
}

.woocommerce-message a,
.woocommerce-info a {
  color: var(--accent-cyan) !important;
  font-weight: 700;
  text-decoration: underline;
}

/* Cart & Checkout Forms */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 32px;
}

.woocommerce table.shop_table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-pure);
  font-weight: 700;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.woocommerce table.shop_table td {
  padding: 16px;
  color: var(--text-sub);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.woocommerce table.shop_table tr:last-child td {
  border-bottom: none;
}

/* Inputs & Form Controls */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-pure);
  font-family: var(--font-main);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14.5px;
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 6px;
}

/* UNIVERSAL FOOTER STANDARD (2 TANG CHUAN MUC) */
.sm-footer {
  margin-top: auto;
  background: #05020a;
  border-top: 1px solid rgba(139, 92, 246, 0.18);
  padding: 40px 0 28px;
  position: relative;
  z-index: 10;
}

.sm-footer-tier1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sm-footer-brand {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-pure);
  text-transform: uppercase;
}

.sm-footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.sm-footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.sm-footer-links a:hover {
  color: var(--accent-cyan);
}

.sm-footer-tier2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-faint);
}

.sm-footer-copyright {
  color: var(--text-muted);
}

.sm-footer-platform {
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  .seamou-navbar-inner {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 14px;
  }
  .seamou-nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .sm-footer-tier1,
  .sm-footer-tier2 {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 14px;
  }
  .sm-footer-links {
    justify-content: center;
    gap: 16px;
  }
  .seamou-empty-state-box {
    padding: 40px 20px;
  }
}
