/* ========================================
   Greenlife - Modern H5 Template
   Leather-inspired deep brown & gold palette
   ======================================== */

:root {
  /* Primary Browns */
  --gl-primary: #5C3D2E;
  --gl-primary-dark: #3E2723;
  --gl-primary-light: #8D6E63;
  --gl-accent: #D4AF37;
  --gl-accent-light: #F5E7C8;
  --gl-success: #A67C52;

  /* Neutrals */
  --gl-bg: #F8F5F0;
  --gl-bg-alt: #EFEBE3;
  --gl-surface: #FFFFFF;
  --gl-text: #222222;
  --gl-text-secondary: #6B5B4F;
  --gl-text-muted: #9B8B7A;
  --gl-border: #E0D8CC;
  --gl-border-light: #EDE7DA;

  /* Accents */
  --gl-warm: #D4AF37;
  --gl-danger: #C0392B;

  /* Spacing */
  --gl-section-margin: 50px;
  --gl-section-padding: 80px;
  --gl-section-padding-50: 50px;
  --gl-card-radius: 12px;
  --gl-btn-radius: 8px;
  --gl-shadow-sm: 0 2px 8px rgba(92,61,46,0.06);
  --gl-shadow: 0 4px 20px rgba(92,61,46,0.08);
  --gl-shadow-lg: 0 8px 40px rgba(92,61,46,0.12);
  --gl-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Base & Reset
   ======================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gl-text);
  background: var(--gl-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--gl-primary);
  text-decoration: none;
  transition: color var(--gl-transition);
}
a:hover { color: var(--gl-primary-dark); }

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

ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--gl-text);
  line-height: 1.3;
  margin-bottom: 0.5em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--gl-text-secondary); }

.container {
  max-width: 1280px;
  padding-left: 20px;
  padding-right: 20px;
}

/* ========================================
   Section Spacing
   ======================================== */
.section-padding-top { padding-top: var(--gl-section-padding); }
.section-padding-top-50 { padding-top: var(--gl-section-padding-50); }
.section-margin-top { margin-top: var(--gl-section-margin); }
.section-padding-bottom { padding-bottom: var(--gl-section-padding); }
.section-padding-bottom-50 { padding-bottom: var(--gl-section-padding-50); }
.section-margin-bottom { margin-bottom: var(--gl-section-margin); }
.section-padding { padding: var(--gl-section-padding) 0; }
.section-padding-50 { padding: 50px 0; }
.section-padding-top-50 { padding-top: 50px; }
.section-padding-bottom-50 { padding-bottom: 50px; }
.section-padding-top-20 { padding-top: 20px; }
.section-padding-bottom-20 { padding-bottom: 20px; }

/* ========================================
   Section Title
   ======================================== */
.section-title { margin-bottom: 40px; }
.section-title .subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gl-primary);
  background: var(--gl-accent-light);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title .title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gl-text);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-title .title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gl-primary), var(--gl-accent));
  border-radius: 2px;
  margin: 12px auto 0;
  transition: width var(--gl-transition);
}
.section-title:hover .title::after { width: 80px; }
.section-title.text-start .title::after { margin-left: 0; }
.section-title p {
  color: var(--gl-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--gl-btn-radius);
  transition: all var(--gl-transition);
  border: none;
  cursor: pointer;
  line-height: 1.4;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gl-primary), var(--gl-primary-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(92,61,46,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(92,61,46,0.4);
  color: #fff;
}
.btn-outline-primary {
  border: 2px solid var(--gl-primary);
  color: var(--gl-primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--gl-primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--gl-text);
  color: #fff;
}
.btn-dark:hover {
  background: var(--gl-primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light {
  background: var(--gl-surface);
  color: var(--gl-text);
  border: 1px solid var(--gl-border);
}
.btn-light:hover {
  border-color: var(--gl-primary);
  color: var(--gl-primary);
}
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ========================================
   Cards
   ======================================== */
.card {
  background: var(--gl-surface);
  border-radius: var(--gl-card-radius);
  box-shadow: var(--gl-shadow-sm);
  border: 1px solid var(--gl-border-light);
  transition: all var(--gl-transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--gl-shadow);
  transform: translateY(-4px);
}

/* ========================================
   Badge / Tag
   ======================================== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-success { background: var(--gl-accent-light); color: var(--gl-primary-dark); }
.badge-warning { background: #FFF3E0; color: var(--gl-warm); }
.badge-info { background: #E3F2FD; color: #1976D2; }
.badge-danger { background: #FFEBEE; color: var(--gl-danger); }

/* ========================================
   Header
   ======================================== */
.header {
  background: var(--gl-surface);
  border-bottom: 1px solid var(--gl-border-light);
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: var(--gl-shadow-sm);
  transition: box-shadow var(--gl-transition);
}
.header.scrolled { box-shadow: var(--gl-shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.header-logo{width: 140px;}
.header-logo img {max-width: 100%; }

/* Main Nav */
.main-nav { display: flex; align-items: center; }
.main-nav .main-menu-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav .main-menu-list > li { position: relative; }
.main-nav .main-menu-list > li > a {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gl-text-secondary);
  border-radius: var(--gl-btn-radius);
  transition: all var(--gl-transition);
  white-space: nowrap;
}
.main-nav .main-menu-list > li > a:hover,
.main-nav .main-menu-list > li > a.active {
  color: var(--gl-primary);
  background: var(--gl-accent-light);
}

/* Submenu */
.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--gl-surface);
  border-radius: var(--gl-card-radius);
  box-shadow: var(--gl-shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--gl-transition);
  border: 1px solid var(--gl-border-light);
  width: fit-content;  /* 宽度跟随内容自动适配 */
  white-space: nowrap;  /* 英文不自动换行，一行展示 */
}
.main-nav li:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--gl-text-secondary);
  transition: all var(--gl-transition);
}
.submenu li a:hover {
  background: var(--gl-bg-alt);
  color: var(--gl-primary);
  padding-left: 24px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: var(--gl-bg-alt);
  color: var(--gl-text-secondary);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--gl-transition);
}
.header-action-btn:hover {
  background: var(--gl-primary);
  color: #fff;
}

/* Search form */
.header-search {
  position: relative;
}
.header-search-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  width: 320px;
  background: var(--gl-surface);
  border-radius: var(--gl-card-radius);
  box-shadow: var(--gl-shadow-lg);
  padding: 16px;
  display: none;
  border: 1px solid var(--gl-border-light);
}
.header-search-dropdown.active { display: block; }
.header-lang-dropdown {
  width: auto;
  white-space: nowrap;
  min-width: 100px;
  padding: 12px 8px;
}
.header-search-form {
  display: flex;
  gap: 0;
}
.header-search-dropdown input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--gl-border);
  border-right: none;
  border-radius: var(--gl-btn-radius) 0 0 var(--gl-btn-radius);
  font-size: 14px;
  transition: border-color var(--gl-transition);
}
.header-search-dropdown input:focus {
  outline: none;
  border-color: var(--gl-primary);
}
.header-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--gl-border);
  border-left: none;
  border-radius: 0 var(--gl-btn-radius) var(--gl-btn-radius) 0;
  background: var(--gl-bg-alt, #f5f5f5);
  color: var(--gl-text-muted, #666);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.header-search-submit:hover {
  background: var(--gl-primary);
  color: #fff;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  font-size: 24px;
  color: var(--gl-text);
  cursor: pointer;
}

/* Mobile Offcanvas */
.offcanvas {
  background: var(--gl-surface);
}
.offcanvas-header {
  border-bottom: 1px solid var(--gl-border-light);
}
.offcanvas-body { padding: 16px; }
.offcanvas-nav li a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--gl-text-secondary);
  border-bottom: 1px solid var(--gl-border-light);
  transition: color var(--gl-transition);
}
.offcanvas-nav li a:hover, .offcanvas-nav li a.active { color: var(--gl-primary); }

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #2E1C14;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gl-primary), var(--gl-accent), var(--gl-primary-light));
}
.footer-widget { margin-bottom: 30px; }
.footer-brand{max-width: 140px;}
.footer-brand img {margin-bottom: 16px;  max-width: 60%;}
.footer-widget h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gl-primary);
  border-radius: 1px;
}
.footer-widget p, .footer-widget a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 2;
  transition: all var(--gl-transition);
}
.footer-widget a:hover { color: var(--gl-accent); padding-left: 4px; }
.footer-menu li { margin-bottom: 4px; }
.footer-menu li a { display: inline-block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 30px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ========================================
   Hero / Banner
   ======================================== */
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-slide {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(73, 73, 73, 0.35), rgba(71, 71, 71, 0.1));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width:750px;
}
.hero-content .hero-tag {
  display: inline-block;
  background: #5C3D2E ;
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.7;
}
.hero-content .btn {
  background: #fff;
  color: var(--gl-primary-dark);
  font-weight: 700;
  padding: 14px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-content .btn:hover {
  background: var(--gl-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb-section {
  background: linear-gradient(135deg, #3E2723, var(--gl-primary-dark));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.breadcrumb-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.bread-crumb-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
}
.breadcrumb-nav a { color: var(--gl-accent-light); }
.breadcrumb-nav a:hover { color: #fff; }

/* ========================================
   Product Card
   ======================================== */
.product-card {
  background: var(--gl-surface);
  border-radius: var(--gl-card-radius);
  overflow: hidden;
  box-shadow: var(--gl-shadow-sm);
  border: 1px solid var(--gl-border-light);
  transition: all var(--gl-transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--gl-shadow);
  transform: translateY(-4px);
  border-color: var(--gl-accent-light);
}

.product-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gl-bg-alt);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.08); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-actions {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: all var(--gl-transition);
}
.product-card:hover .product-actions { opacity: 1; right: 16px; }
.product-actions a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gl-surface);
  border-radius: 50%;
  color: var(--gl-text-secondary);
  box-shadow: var(--gl-shadow-sm);
  font-size: 16px;
  transition: all var(--gl-transition);
}
.product-actions a:hover {
  background: var(--gl-primary);
  color: #fff;
  transform: scale(1.1);
}

.product-content { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-content h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.product-content h5 a {
  color: var(--gl-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-content h5 a:hover { color: var(--gl-primary); }
.product-meta {
  font-size: 12px;
  color: var(--gl-text-muted);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--gl-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.product-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-meta-left font {
  font-size: 16px;
}
.product-meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.product-meta-right a {
  font-size: 18px;
  color:#fff4e7;
  transition: color var(--gl-transition);
  line-height: 1;
}
.product-meta-right a i {
  color:#4d3110;
  font-size: 22px;
}
.product-meta-right a:hover { color:#fda130; }
.product-meta-right a i:hover {
  color:#fda130;
}
.product-meta-right a.btn { font-size: 12px; }

/* Product List View */
.product-list-item {
  display: flex;
  gap: 20px;
  background: var(--gl-surface);
  border-radius: var(--gl-card-radius);
  box-shadow: var(--gl-shadow-sm);
  border: 1px solid var(--gl-border-light);
  padding: 16px;
  transition: all var(--gl-transition);
  margin-bottom: 16px;
}
.product-list-item:hover {
  box-shadow: var(--gl-shadow);
  transform: translateY(-2px);
}
.product-list-item .product-thumb {
  width: 200px;
  min-width: 200px;
  aspect-ratio: auto;
  height: 180px;
  border-radius: 8px;
}
.product-list-item .product-content { padding: 0; flex: 1; }
.product-list-item .product-content h5 { font-size: 18px; }
.product-list-item .product-content p {
  font-size: 14px;
  color: var(--gl-text-secondary);
  margin: 8px 0;
}

/* ========================================
   Blog / News Card
   ======================================== */
.blog-card {
  background: var(--gl-surface);
  border-radius: var(--gl-card-radius);
  overflow: hidden;
  box-shadow: var(--gl-shadow-sm);
  border: 1px solid var(--gl-border-light);
  transition: all var(--gl-transition);
  height: 100%;
}
.blog-card:hover {
  box-shadow: var(--gl-shadow);
  transform: translateY(-4px);
}
.blog-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gl-bg-alt);
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-content { padding: 20px; }
.blog-content .blog-date {
  font-size: 12px;
  color: var(--gl-text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-content .blog-date::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gl-primary);
  border-radius: 50%;
}
.blog-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-content h4 a { color: var(--gl-text); }
.blog-content h4 a:hover { color: var(--gl-primary); }
.blog-content p {
  font-size: 14px;
  color: var(--gl-text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog List View */
.blog-list-item {
  display: flex;
  gap: 24px;
  background: var(--gl-surface);
  border-radius: var(--gl-card-radius);
  box-shadow: var(--gl-shadow-sm);
  border: 1px solid var(--gl-border-light);
  overflow: hidden;
  transition: all var(--gl-transition);
  margin-bottom: 20px;
}
.blog-list-item:hover {
  box-shadow: var(--gl-shadow);
  transform: translateY(-2px);
}
.blog-list-thumb {
  width: 280px;
  min-width: 280px;
  overflow: hidden;
  background: var(--gl-bg-alt);
}
.blog-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-list-item:hover .blog-list-thumb img { transform: scale(1.06); }
.blog-list-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }

/* ========================================
   Product Tabs
   ======================================== */
.tab-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
  padding: 14px;
  background: var(--gl-bg-alt);
  border-radius: var(--gl-btn-radius);
}
.tab-nav .nav-link {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gl-text-secondary);
  border-radius: 6px;
  transition: all var(--gl-transition);
  border: none;
  background: none;
  cursor: pointer;
}
.tab-nav .nav-link:hover { color: var(--gl-primary); }
.tab-nav .nav-link.active {
  background: var(--gl-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(92,61,46,0.3);
}

/* ========================================
   Category Cards
   ======================================== */
.category-card {
  position: relative;
  border-radius: var(--gl-card-radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--gl-bg-alt);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(transparent, rgba(62,39,35,0.85));
  color: #fff;
}
.category-card-overlay h5 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* ========================================
   Contact / About Sections
   ======================================== */
.about-section { background: var(--gl-surface); }
.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-content p {
  font-size: 15px;
  color: var(--gl-text-secondary);
  line-height: 1.8;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.stat-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--gl-bg-alt);
  border-radius: var(--gl-card-radius);
}
.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gl-primary);
  display: block;
}
.stat-item .stat-label {
  font-size: 12px;
  color: var(--gl-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--gl-bg-alt);
  border-radius: var(--gl-card-radius);
  transition: all var(--gl-transition);
}
.contact-info-item:hover { background: var(--gl-accent-light); }
.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gl-primary);
  color: #fff;
  border-radius: 12px;
  font-size: 20px;
}
.contact-info-text h6 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a {
  font-size: 13px;
  color: var(--gl-text-secondary);
}

/* QR Code */
.qr-code-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.qr-code-item {
  text-align: center;
}
.qr-code-img {
  max-width: 130px;
  border: 1px solid #eee;
  padding: 5px;
  border-radius: 4px;
  background: #fff;
}
.qr-code-label {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--gl-text-muted, #666);
}

/* ========================================
   Forms
   ======================================== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gl-text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid var(--gl-border);
  border-radius: var(--gl-btn-radius);
  background: var(--gl-surface);
  color: var(--gl-text);
  transition: all var(--gl-transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--gl-primary);
  box-shadow: 0 0 0 3px rgba(92,61,46,0.1);
}
textarea.form-control { min-height: 120px; resize: vertical; }

/* ========================================
   FAQ Accordion
   ======================================== */
.faq-item {
  background: var(--gl-surface);
  border-radius: var(--gl-card-radius);
  border: 1px solid var(--gl-border-light);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gl-text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: all var(--gl-transition);
}
.faq-question:hover { color: var(--gl-primary); }
.faq-question.active {
  color: var(--gl-primary);
  background: var(--gl-bg-alt);
}
.faq-question .faq-icon {
  font-size: 20px;
  transition: transform var(--gl-transition);
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--gl-text-secondary);
  line-height: 1.8;
  display: none;
}
.faq-question.active + .faq-answer { display: block; }

/* ========================================
   Swiper Custom
   ======================================== */
.swiper { overflow:hidden !important; }
.swiper-arrow { margin-top: 30px; display: flex; justify-content: center; gap: 10px; }
.swiper-button-next, .swiper-button-prev {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gl-surface);
  border: 1px solid var(--gl-border);
  color: var(--gl-text-secondary);
  transition: all var(--gl-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: static;
  margin: 0;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--gl-primary);
  border-color: var(--gl-primary);
  color: #fff;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px; font-weight: 700; }
.swiper-pagination-bullet-active { background: var(--gl-primary) !important; }

/* ========================================
   Pagination
   ======================================== */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 6px;
}
.pagination-wrap a, .pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--gl-btn-radius);
  border: 1px solid var(--gl-border);
  color: var(--gl-text-secondary);
  transition: all var(--gl-transition);
}
.pagination-wrap a:hover, .pagination-wrap .active {
  background: var(--gl-primary);
  border-color: var(--gl-primary);
  color: #fff;
}

/* ========================================
   Newsletter / Subscribe
   ======================================== */
.subscribe-section {
  background: linear-gradient(135deg, var(--gl-primary-dark), var(--gl-primary));
  padding: 50px 0;
}
.subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
}
.subscribe-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--gl-btn-radius);
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.5); }
.subscribe-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
}
.subscribe-form .btn {
  background: #fff;
  color: var(--gl-primary-dark);
  font-weight: 700;
  white-space: nowrap;
}

.subscribe-form .btn:hover { transform: translateY(-2px); }

/* ========================================
   Brand Carousel
   ======================================== */
.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-item img {
  max-width: 100%;
  height: auto;
  transition: all var(--gl-transition);
  filter: grayscale(1);
}
.brand-item:hover img {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

/* ========================================
   Sidebar
   ======================================== */
.sidebar-widget {
  background: var(--gl-surface);
  border-radius: var(--gl-card-radius);
  border: 1px solid var(--gl-border-light);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gl-bg-alt);
}
.sidebar-search {
  display: flex;
  gap: 0;
}
.sidebar-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--gl-border);
  border-right: none;
  border-radius: var(--gl-btn-radius) 0 0 var(--gl-btn-radius);
  font-size: 13px;
  outline: none;
}
.sidebar-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--gl-border);
  border-left: none;
  border-radius: 0 var(--gl-btn-radius) var(--gl-btn-radius) 0;
  background: var(--gl-bg-alt, #f5f5f5);
  color: var(--gl-text-muted, #666);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sidebar-search-btn:hover {
  background: var(--gl-primary, #2e7d32);
  color: #fff;
}
.sidebar-categories li { margin-bottom: 2px; }
.sidebar-categories li a {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--gl-text-secondary);
  border-radius: 6px;
  transition: all var(--gl-transition);
}
.sidebar-categories li a:hover {
  background: var(--gl-bg-alt);
  color: var(--gl-primary);
}
.sidebar-categories .count {
  font-size: 12px;
  color: var(--gl-text-muted);
  background: var(--gl-bg-alt);
  padding: 2px 8px;
  border-radius: 10px;
}
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sidebar-tags a {
  padding: 6px 14px;
  font-size: 12px;
  color: var(--gl-text-secondary);
  background: var(--gl-bg-alt);
  border-radius: 20px;
  transition: all var(--gl-transition);
}
.sidebar-tags a:hover {
  background: var(--gl-primary);
  color: #fff;
}

/* ========================================
   Product Detail
   ======================================== */
.product-gallery-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--gl-card-radius);
  overflow: hidden;
  background: var(--gl-bg-alt);
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery-nav {
  margin-top: 12px;
}
.product-gallery-nav .swiper-slide {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color var(--gl-transition);
}
.product-gallery-nav .swiper-slide-thumb-active { border-color: var(--gl-primary); }
.product-gallery-nav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gl-border-light);
}
.product-detail-meta span {
  font-size: 13px;
  color: var(--gl-text-muted);
}

.product-info-meta { padding-top: 8px; }
.product-info-meta .info-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gl-text);
  min-width: 60px;
}
.product-info-meta .badge-primary {
  background: var(--gl-primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
}
.product-info-meta .badge-light {
  background: var(--gl-bg-alt);
  color: var(--gl-text-secondary);
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--gl-border-light);
}
.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gl-bg-alt);
  color: var(--gl-text-muted);
  font-size: 16px;
  transition: all var(--gl-transition);
  text-decoration: none;
}
.share-icon:hover {
  background: var(--gl-primary);
  color: #fff;
  transform: translateY(-2px);
}

.product-tabs { margin-top: 40px; }
.product-tabs .tab-nav { justify-content: flex-start; margin-bottom: 24px; }
.product-tab-pane {
  padding: 24px;
  background: var(--gl-surface);
  border-radius: var(--gl-card-radius);
  border: 1px solid var(--gl-border-light);
}

/* ========================================
   Back to Top
   ======================================== */
#scrollUp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--gl-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(92,61,46,0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--gl-transition);
  z-index: 999;
  border: none;
}
#scrollUp.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scrollUp:hover {
  background: var(--gl-primary-dark);
  transform: translateY(-3px);
}

/* ========================================
   Featured Product Grid
   ======================================== */

/* ========================================
   Product Grid/List Toggle
   ======================================== */
.view-toggle {
  display: flex;
  gap: 4px;
}
.view-toggle button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gl-bg-alt);
  border: 1px solid var(--gl-border);
  border-radius: 6px;
  color: var(--gl-text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: all var(--gl-transition);
}
.view-toggle button.active, .view-toggle button:hover {
  background: var(--gl-primary);
  border-color: var(--gl-primary);
  color: #fff;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1199px) {
  .hero-content h1 { font-size: 2.4rem; }
  .blog-list-thumb { width: 220px; min-width: 220px; }
}

@media (max-width: 991px) {
  :root { --gl-section-padding: 60px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section-title .title { font-size: 1.6rem; }

  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-actions .header-action-btn.d-none { display: flex !important; }

  .hero-content h1 { font-size: 2rem; }
  .hero-slide { min-height: 400px; }

  .blog-list-item { flex-direction: column; }
  .blog-list-thumb { width: 100%; min-width: 100%; aspect-ratio: 16 / 9; }

  .product-list-item { flex-direction: column; }
  .product-list-item .product-thumb { width: 100%; min-width: 100%; height: 220px; }

  .footer-widget h4 { margin-top: 20px; }
}

@media (max-width: 767px) {
  :root { --gl-section-padding: 50px; }
  .container { padding-left: 16px; padding-right: 16px; }

  .section-title .title { font-size: 1.4rem; }

  .hero-slide { min-height: 320px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.9rem; }

  .tab-nav .nav-link { padding: 8px 14px; font-size: 12px; }

  .subscribe-form { flex-direction: column; }
  .breadcrumb-section { padding: 40px 0; }
  .bread-crumb-title { font-size: 1.5rem; }

  .contact-info-item { padding: 14px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-item { padding: 14px 8px; }
  .stat-item .stat-number { font-size: 1.5rem; }
}

@media (max-width: 575px) {
  h1 { font-size: 1.6rem; }
  .hero-slide { min-height: 280px; }
  .hero-content h1 { font-size: 1.4rem; }
  .hero-content .btn { padding: 10px 24px; font-size: 13px; }

  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .header-inner { height: 60px; }
  .header-logo img { height: 32px; }
}
