/* ============================================
   GADGETIZE — MAIN STYLESHEET
   style.css
   ============================================ */

/* ============================================
   1. RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #006736;
  --green-dark: #004f28;
  --green-light: #f0f7f3;
  --red: #e63946;
  --gray-bg: #e4e4e6;
  --gray-light: #f7f7f7;
  --border: #ececec;
  --text: #222;
  --text-muted: #888;
  --white: #fff;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.13);
}

@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@300;400;500;600;700&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Bai Jamjuree", sans-serif;
  background: var(--gray-bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================
   2. ANIMATIONS
   ============================================ */

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   3. SMOOTH TRANSITIONS (global)
   ============================================ */

*,
*::before,
*::after {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* ============================================
   4. TOP BAR
   ============================================ */

.top-bar {
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  padding: 9px 0;
  position: relative;
  z-index: 200;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-welcome {
  opacity: 0.92;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tb-sep {
  opacity: 0.35;
  margin: 0 4px;
}

/* Dropdown wrapper */
.tb-dropdown {
  position: relative;
}

.tb-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 13px;
  padding: 5px 9px;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}

.tb-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.tb-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-block;
  background-size: cover;
}

.tb-arrow {
  font-size: 9px;
  opacity: 0.8;
  transition: transform 0.2s;
}

.tb-dropdown.open .tb-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.tb-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 185px;
  padding: 6px 0;
  z-index: 9999;
  box-shadow: var(--shadow-hover);
  animation: fadeDown 0.15s ease;
}

.tb-menu.open {
  display: block;
}

.tb-menu-right {
  left: auto;
  right: 0;
  min-width: 215px;
  max-height: 270px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f5f5f5;
}

.tb-menu-right::-webkit-scrollbar {
  width: 4px;
}
.tb-menu-right::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.tb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 13.5px;
  color: #333;
  cursor: pointer;
  border-radius: 6px;
  margin: 2px 5px;
  transition:
    background 0.15s,
    color 0.15s;
}

.tb-item:hover {
  background: var(--green-light);
  color: var(--green);
}

.tb-item.active {
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
}

/* ============================================
   5. DARK MODE TOGGLE BUTTON
   ============================================ */

.dark-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 5px 12px 5px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  letter-spacing: 0.3px;
  margin-right: 5px;
}

.dark-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dark-toggle-track {
  width: 30px;
  height: 16px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s;
}

.dark-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
}

.dark-toggle-thumb::before {
  content: "☀️";
  font-size: 7px;
  line-height: 1;
}

.dark-toggle-label {
  font-size: 12px;
}

/* ============================================
   6. HEADER
   ============================================ */

.site-header {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner .logo {
  flex-shrink: 0;
}
.header-inner .search-bar {
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
}
.header-inner .user-controls {
  flex-shrink: 0;
  margin-left: 0;
}

.logo img {
  width: 150px;
}

/* Logo light/dark toggle */
.light-logo {
  display: block;
}
.dark-logo {
  display: none;
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  overflow: hidden;
  flex: 1;
  transition: border-color 0.2s;
}

.search-bar:focus-within {
  border-color: var(--green);
}

.search-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 14px;
  border-right: 1px solid #ddd;
  background: #f9f9f9;
  cursor: pointer;
}

.search-select select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #444;
  font-family: inherit;
  appearance: none;
  padding: 10px 0;
  cursor: pointer;
}

.search-select i {
  font-size: 10px;
  color: #888;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
}

.search-btn {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.search-btn:hover {
  background: var(--green-dark);
}

/* User Controls */
.user-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.uc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  transition: color 0.2s;
}

.uc-item:hover {
  color: var(--green);
}

.uc-icon {
  font-size: 22px;
}

.uc-icon-wrap {
  position: relative;
}

.uc-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.uc-text small {
  font-size: 11px;
  color: #aaa;
}
.uc-text span {
  font-size: 13px;
  font-weight: 500;
}

/* ============================================
   7. NAVBAR
   ============================================ */

.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 50px;
  gap: 20px;
  position: relative;
}

.nav-inner .nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Browse button */
.browse-wrap {
  position: relative;
}

.browse-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
  padding: 0;
}

/* Mega Menu */
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  transition: width 0.2s ease;
}

.mega-menu.open {
  display: flex;
  animation: fadeDown 0.15s ease;
}

.mega-menu.open.expanded {
  width: 680px;
}

.mega-left {
  width: 230px;
  border-right: 1px solid var(--border);
  padding: 8px 0;
  flex-shrink: 0;
  max-height: 400px;
  overflow-y: auto;
}

.mega-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 13.5px;
  color: #333;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}

.mega-cat:hover,
.mega-cat.active {
  background: var(--green-light);
  color: var(--green);
}

.mega-cat i {
  font-size: 10px;
  opacity: 0.5;
}

.mega-right {
  flex: 1;
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}

.mega-right.visible {
  display: block;
  animation: fadeDown 0.15s ease;
}

.mega-panel {
  display: none;
}
.mega-panel.active {
  display: block;
}

.mega-panel h4 {
  font-size: 12px;
  font-weight: 700;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 10px;
}

.mega-panel ul {
  margin: 0 0 20px;
}

.mega-panel ul li a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: #555;
  transition: color 0.15s;
}

.mega-panel ul li a:hover {
  color: var(--green);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 14px;
  color: #333;
  border-radius: 6px;
  transition: color 0.2s;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--green);
}

.nav-links > li > a.active {
  font-weight: 600;
}
.nav-links > li > a i {
  font-size: 9px;
}

/* Sub Menus */
.has-sub {
  position: relative;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 185px;
  padding: 14px 0 6px;
  z-index: 9999;
  box-shadow: var(--shadow-hover);
}

.sub-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}

.has-sub:hover .sub-menu {
  display: block;
  animation: fadeDown 0.15s ease;
}

.sub-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  border-radius: 6px;
  margin: 2px 5px;
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}

.sub-menu li a:hover {
  background: var(--green-light);
  color: var(--green);
}

/* Sale tag */
.nav-sale {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
}

/* Mobile Nav */
.mobile-nav {
  background: var(--green);
  display: none;
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 999;
}

.mobile-nav ul {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.mobile-nav ul i {
  font-size: 20px;
  color: var(--white);
}

.mob-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   8. MAIN WRAPPER
   ============================================ */

.site-main {
  padding: 30px 0 0;
}

/* ============================================
   9. SECTION 1 — HERO
   ============================================ */

.hero-section {
  margin-bottom: 30px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-img-desk {
  width: 100%;
  border-radius: var(--radius);
}

.hero-img-mob {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero-side {
  overflow: hidden;
}

.hero-side img {
  transition: transform 0.4s;
}

.hero-side:hover img {
  transform: scale(1.06);
}

.hero-info {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 24px;
  color: var(--white);
}

.hero-tag {
  display: block;
  color: #ffd700;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 6px;
}

.hero-info h1 {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-info h5 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.hero-info p {
  font-size: 14px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius);
  transition:
    background 0.2s,
    color 0.2s;
}

.hero-btn:hover {
  background: var(--green);
  color: var(--white);
}

/* ============================================
   10. SECTION 2 — CATEGORIES
   ============================================ */

.cat-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 0;
  margin-bottom: 30px;
}

.cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 110px;
  cursor: pointer;
}

.cat-circle {
  width: 90px;
  height: 90px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.cat-circle:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 20px rgba(0, 103, 54, 0.15);
}

.cat-circle img {
  width: 60%;
  object-fit: contain;
}

.cat-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}
.cat-card p {
  font-size: 11px;
  color: #999;
}

/* ============================================
   11. SECTION 3 — FEATURED PRODUCTS
   ============================================ */

.featured-section {
  margin-bottom: 30px;
}

/* Special Offer Sidebar */
.special-offer {
  background: var(--green);
  background-image: url("../imgs/mmmm.webp");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  color: var(--white);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.special-offer h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.special-offer p {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff !important;
}
.special-offer strong {
  font-size: 20px;
  color: #fff !important;
}

.offer-img img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 14px;
  transition: transform 0.4s;
}

.offer-img img:hover {
  transform: scale(0.88);
}

.offer-countdown {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px 12px;
  text-align: center;
  min-width: 52px;
}

.countdown-box .time-val {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #fff !important;
}

.countdown-box small {
  font-size: 10px;
  opacity: 0.8;
  color: #fff !important;
}

/* Featured Header + Tabs */
.featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.featured-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.featured-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.tab-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  border-radius: 20px;
  transition: color 0.2s;
  white-space: nowrap;
}

.tab-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
  transition: background 0.2s;
}

.tab-item.active {
  color: var(--green);
  font-weight: 600;
}
.tab-item.active::before,
.tab-item:hover::before {
  background: var(--green);
}
.tab-item:hover {
  color: var(--green);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Product Cards */
.pro-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}

.pro-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.pro-card.hidden {
  display: none;
}

.pro-card-img {
  position: relative;
  background: var(--gray-light);
  padding: 20px;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pro-card-img img {
  max-height: 140px;
  object-fit: contain;
  transition: transform 0.35s;
}

.pro-card:hover .pro-card-img img {
  transform: scale(1.08);
}

.pro-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.pro-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}

.pro-card:hover .pro-card-actions {
  opacity: 1;
  transform: translateX(0);
}

.pro-action-btn {
  width: 30px;
  height: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.pro-action-btn:hover {
  background: var(--white);
  border-color: var(--green);
}
.pro-action-btn:hover i {
  color: var(--green);
}
.pro-action-btn i {
  font-size: 13px;
  color: #555;
  transition: color 0.2s;
}

.pro-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 99;
}

.pro-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1a1a1a;
}

.pro-action-btn:hover .pro-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.pro-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pro-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 5px;
  line-height: 1.3;
}
.pro-desc {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
  line-height: 1.5;
  flex: 1;
}

.pro-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.price-old {
  font-size: 12px;
  color: #bbb;
  text-decoration: line-through;
}
.price-new {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.pro-cart-btn {
  width: 100%;
  padding: 8px 0;
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s;
}

.pro-card:hover .pro-cart-btn {
  background: var(--green);
  color: var(--white);
}

/* ============================================
   12. SECTIONS 4 & 6 — POPULAR / RECOMMENDED
   ============================================ */

.rec-section {
  padding: 10px 0 30px;
}

.rec-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius);
  padding: 13px 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.rec-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.rec-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.rec-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  font-size: 13px;
  color: #777;
  cursor: pointer;
  border-radius: 20px;
  transition: color 0.2s;
  white-space: nowrap;
}

.rec-tab::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
  transition: background 0.2s;
}

.rec-tab.active {
  color: var(--green);
  font-weight: 600;
}
.rec-tab.active::before,
.rec-tab:hover::before {
  background: var(--green);
}
.rec-tab:hover {
  color: var(--green);
}

.rec-show-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
  white-space: nowrap;
}

.rec-show-all:hover {
  color: var(--green);
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.rec-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  transition: box-shadow 0.25s;
}

.rec-card:hover {
  box-shadow: var(--shadow-hover);
}

.rec-img {
  position: relative;
  margin-bottom: 12px;
}
.rec-img a {
  display: block;
  position: relative;
}
.rec-img img {
  width: 100%;
  transition: opacity 0.4s;
  border-radius: 6px;
}
.rec-img a img:last-child {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.rec-img:hover a img:last-child {
  opacity: 1;
}
.rec-img:hover a img:first-child {
  opacity: 0;
}

.rec-info a h3 {
  font-size: 15px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 5px;
}
.rec-info p {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 8px;
  line-height: 1.5;
}

.rec-stars i {
  font-size: 11px;
  color: var(--red);
}
.rec-stars span {
  font-size: 11px;
  color: #aaa;
  margin-left: 4px;
}

.rec-price {
  display: flex;
  gap: 8px;
  margin: 8px 0 12px;
  font-size: 14px;
}
.rec-price span:first-child {
  color: #bbb;
  text-decoration: line-through;
}
.rec-price span:last-child {
  font-weight: 700;
  color: var(--text);
}

.rec-cart-btn {
  width: 100%;
  padding: 7px;
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s;
}

.rec-card:hover .rec-cart-btn {
  background: var(--green);
  color: var(--white);
}

.rec-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
}

.rec-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.25s;
}

.rec-card:hover .rec-controls {
  opacity: 1;
}

.rec-icon {
  width: 28px;
  height: 28px;
  background: var(--white);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.rec-icon:hover {
  background: var(--green);
}
.rec-icon:hover i {
  color: var(--white);
}
.rec-icon i {
  font-size: 12px;
  color: #555;
  transition: color 0.2s;
}

.rec-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 99;
}

.rec-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1a1a1a;
}

.rec-icon:hover .rec-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ============================================
   13. SECTION 5 — SALE BANNER
   ============================================ */

.sale-banner-section {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.sale-banner {
  width: 1320px;
  max-width: 100%;
  background-image: url("../imgs/imgi_171_sale-banner.png");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 30px 50px;
  color: var(--white);
  overflow: hidden;
}

.sale-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sale-text p {
  font-size: 20px;
}
.sale-text span {
  color: #ffd700;
  font-weight: 700;
}

.sale-img img,
.sale-offer img {
  object-fit: contain;
  transition: transform 0.4s;
}
.sale-img img {
  height: 160px;
}
.sale-offer img {
  height: 120px;
}
.sale-img img:hover,
.sale-offer img:hover {
  transform: scale(0.9);
}

/* ============================================
   14. SECTION 7 — BRANDS
   ============================================ */

.brands-section {
  margin-bottom: 30px;
  background: var(--white);
  padding: 20px 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.brand-card {
  height: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
}

.brand-card:hover {
  background: #f9f9f9;
}

.brand-card img {
  max-width: 60%;
  max-height: 40%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition:
    filter 0.3s,
    opacity 0.3s;
}

.brand-card:hover img {
  filter: none;
  opacity: 1;
}

/* ============================================
   15. SECTION 8 — BLOGS
   ============================================ */

.blog-section {
  margin-bottom: 0;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 20px;
  margin-bottom: 16px;
}

.blog-header h2 {
  font-size: 18px;
  font-weight: 700;
}

.see-all {
  font-size: 14px;
  color: #555;
  font-weight: 500;
  transition: color 0.2s;
}
.see-all:hover {
  color: var(--green);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-img img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-img img {
  transform: scale(1.04);
}

.blog-body {
  padding: 16px;
}

.blog-date {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-body p {
  font-size: 13px;
  color: #888;
  margin-bottom: 14px;
  line-height: 1.6;
}

.blog-link {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  transition: color 0.2s;
}
.blog-link:hover {
  color: var(--green);
  text-decoration: underline;
}

/* ============================================
   16. OFFER BANNER
   ============================================ */

.offer-banner-section {
  display: flex;
  justify-content: center;
  padding: 20px 20px;
}

.offer-banner-inner {
  width: 1320px;
  max-width: 100%;
  background: url("../imgs/imgi_171_sale-banner.png") center/cover no-repeat;
  border-radius: var(--radius-lg);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 30px 50px;
  color: var(--white);
  overflow: hidden;
}

.offer-banner-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.offer-banner-text h2 {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 16px;
}

.offer-banner-text h2 span {
  color: #ffd700;
}

.offer-shop-btn {
  display: inline-block;
  background: #1a1a1a;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: var(--radius);
  transition:
    background 0.2s,
    transform 0.2s;
}

.offer-shop-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

.offer-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.offer-time-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 8px 14px;
  text-align: center;
  min-width: 65px;
}

.offer-time-box span {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1;
  margin-bottom: 4px;
}

.offer-time-box small {
  font-size: 10px;
  color: #ffffff !important;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.offer-time-sep {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff !important;
  opacity: 0.45;
  margin-bottom: 18px;
}

.offer-banner-img {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.offer-banner-img img {
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  transition: transform 0.4s;
}

.offer-banner-img img:hover {
  transform: scale(1.05);
}

/* ============================================
   17. FOOTER
   ============================================ */

.site-footer {
  background: var(--white);
  margin-top: 0;
}

/* Service pillars */
.footer-services {
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 20px;
  transition:
    background 0.2s,
    color 0.2s;
}

.service-item:hover .service-icon {
  background: var(--green);
  color: var(--white);
}

.service-item h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.service-item p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer main */
.footer-main {
  padding: 50px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 2fr;
  gap: 36px;
}

.footer-logo-img {
  width: 140px;
  margin-bottom: 14px;
}

.footer-col > p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.footer-follow {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px !important;
}

.footer img {
  width: 150px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--green);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 14px;
  transition:
    background 0.2s,
    color 0.2s;
}

.footer-socials a:hover {
  background: var(--green);
  color: var(--white);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 11px;
}
.footer-col ul li a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--green);
}

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-contact-item i {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--green);
  border-radius: 6px;
  color: var(--green);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s,
    color 0.2s;
}

.footer-contact-item:hover i {
  background: var(--green);
  color: var(--white);
}

.footer-contact-item span {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Newsletter */
.newsletter {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 12px;
}

.newsletter input {
  flex: 1;
  padding: 11px 14px;
  border: none;
  outline: none;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
}

.newsletter input::placeholder {
  color: #bbb;
}

.newsletter button {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter button:hover {
  background: var(--green-dark);
}

/* Footer bottom */
.footer-bottom {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom p a {
  color: var(--green-dark);
  font-weight: 600;
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-icons img {
  height: 26px;
  width: auto;
  object-fit: contain;
  opacity: 1 !important;
  filter: brightness(1.2) contrast(1.1) !important;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
}

/* ============================================
   18. SCROLL TO TOP
   ============================================ */

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    background 0.2s;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 103, 54, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--green-dark);
}

/* ============================================
   19. CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #1a1a1a;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: #333;
}

/* ============================================
   20. RESPONSIVE
   ============================================ */

@media (max-width: 1199px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 991px) {
  .uc-text {
    display: none;
  }
  .top-bar-welcome {
    display: none;
  }
  .top-bar .container {
    justify-content: flex-end;
  }
  .rec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-sale {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .offer-banner-inner {
    padding: 30px 30px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 60px;
  }
  .search-bar {
    display: none;
  }
  .browse-wrap {
    display: none;
  }
  .nav-inner .nav-links {
    position: static;
    transform: none;
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sale-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 24px;
  }
  .mobile-nav {
    display: flex;
  }
  .scroll-top {
    bottom: 75px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .offer-banner-inner {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
    gap: 20px;
  }
  .offer-timer {
    justify-content: center;
  }
  .offer-banner-img img {
    height: 130px;
  }
  .hero-info {
    left: 14px;
  }
  .hero-info h1 {
    font-size: 20px;
  }
  .hero-btn {
    padding: 7px 14px;
    font-size: 13px;
  }
  .hero-section .col-xl-4 {
    display: none !important;
  }
  .hero-section .col-xl-8 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .rec-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-grid {
    gap: 12px;
  }
  .cat-card {
    width: 90px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sale-banner {
    padding: 20px;
  }
  .sale-text h2 {
    font-size: 22px;
  }
  .sale-text p {
    font-size: 15px;
  }
}

/* ============================================
   21. DARK MODE — Variables
   ============================================ */

body.dark-mode {
  --gray-bg: #0f0f1a;
  --gray-light: #252540;
  --border: #2e2e4a;
  --text: #e8e8f0;
  --text-muted: #9090b0;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.6);
  --green-light: #0d2b1e;
}

/* ============================================
   22. DARK MODE — Toggle Button States
   ============================================ */

body.dark-mode .dark-toggle-track {
  background: #4ade80;
}
body.dark-mode .dark-toggle-thumb {
  transform: translateX(14px);
}
body.dark-mode .dark-toggle-thumb::before {
  content: "🌙";
}

/* ============================================
   23. DARK MODE — Logo Switch
   ============================================ */

body.dark-mode .light-logo {
  display: none;
}
body.dark-mode .dark-logo {
  display: block;
}

/* ============================================
   24. DARK MODE — Top Bar
   ============================================ */

body.dark-mode .top-bar {
  background: #004f28;
  border-bottom: 1px solid #003d1e;
}

body.dark-mode .top-bar-welcome,
body.dark-mode .tb-label,
body.dark-mode .tb-arrow,
body.dark-mode .tb-sep,
body.dark-mode .tb-btn {
  color: #ffffff !important;
}

body.dark-mode .tb-arrow {
  opacity: 1 !important;
}

body.dark-mode .tb-menu {
  background: #1e1e38;
  border-color: #2e2e4a;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

body.dark-mode .tb-item {
  color: #c0c0d8;
}
body.dark-mode .tb-item:hover {
  background: #0d2b1e;
  color: #4ade80;
}
body.dark-mode .tb-item.active {
  background: #0d2b1e;
  color: #4ade80;
}

/* ============================================
   25. DARK MODE — Header
   ============================================ */

body.dark-mode .site-header {
  background: #1a1a2e;
  border-bottom-color: #2e2e4a;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .search-bar {
  border-color: #3aba0c;
}
body.dark-mode .search-bar:focus-within {
  border-color: var(--green);
}

body.dark-mode .search-select {
  background: #252540;
  border-right-color: #2e2e4a;
}

body.dark-mode .search-select select,
body.dark-mode .search-bar input {
  background: transparent;
  color: #e8e8f0;
}

body.dark-mode .search-select select option,
body.dark-mode .search-bar input {
  background: #1a1a2e;
  color: #fff;
}

body.dark-mode .search-bar input::placeholder {
  color: #5a5a7a;
}
body.dark-mode .search-btn {
  color: #ffffff !important;
}

/* ============================================
   26. DARK MODE — Navbar
   ============================================ */

body.dark-mode .main-nav {
  background: #1a1a2e;
  border-bottom-color: #2e2e4a;
}

body.dark-mode .nav-links > li > a {
  color: #c0c0d8;
}
body.dark-mode .nav-links > li > a:hover,
body.dark-mode .nav-links > li > a.active {
  color: #4ade80;
}

body.dark-mode .nav-sale {
  color: #9090b0;
}

body.dark-mode .browse-btn {
  color: #4ade80;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

body.dark-mode .sub-menu {
  background: #1e1e38;
  border-color: #2e2e4a;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

body.dark-mode .sub-menu li a {
  color: #c0c0d8;
}
body.dark-mode .sub-menu li a:hover {
  background: #0d2b1e;
  color: #4ade80;
}

body.dark-mode .mega-menu {
  background: #1a1a2e;
  border-color: #2e2e4a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

body.dark-mode .mega-left {
  border-right-color: #2e2e4a;
}
body.dark-mode .mega-cat {
  color: #c0c0d8;
}
body.dark-mode .mega-cat:hover,
body.dark-mode .mega-cat.active {
  background: #0d2b1e;
  color: #4ade80;
}
body.dark-mode .mega-panel h4 {
  color: #9090b0;
}
body.dark-mode .mega-panel ul li a {
  color: #b0b0cc;
}
body.dark-mode .mega-panel ul li a:hover {
  color: #4ade80;
}

body.dark-mode .mobile-nav {
  background: #141428;
  border-top: 1px solid #2e2e4a;
}

/* ============================================
   27. DARK MODE — Hero
   ============================================ */

body.dark-mode .hero-info .hero-tag,
body.dark-mode .hero-info h1,
body.dark-mode .hero-info p {
  color: #ffffff;
}
body.dark-mode .hero-side .hero-info h5,
body.dark-mode .hero-side .hero-info p {
  color: #ffffff;
}
body.dark-mode .hero-btn {
  color: black;
}

/* ============================================
   28. DARK MODE — Categories
   ============================================ */

body.dark-mode .cat-section {
  background: #1a1a2e;
}
body.dark-mode .cat-circle {
  background: #252540;
}
body.dark-mode .cat-circle:hover {
  box-shadow: 0 6px 20px rgba(74, 222, 128, 0.15);
}
body.dark-mode .cat-card h3 {
  color: #d0d0e8;
}

/* ============================================
   29. DARK MODE — Featured Products
   ============================================ */

body.dark-mode .featured-header {
  background: #1a1a2e;
}
body.dark-mode .featured-title {
  color: #e8e8f0;
}
body.dark-mode .tab-item {
  color: #9090b0;
}
body.dark-mode .tab-item.active,
body.dark-mode .tab-item:hover {
  color: #4ade80;
}

body.dark-mode .pro-card {
  background: #1a1a2e;
}
body.dark-mode .pro-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}
body.dark-mode .pro-card-img {
  background: #252540;
}
body.dark-mode .pro-name {
  color: #4ade80;
}
body.dark-mode .pro-desc {
  color: #c4c4dc;
}
body.dark-mode .price-old {
  color: #707090;
}
body.dark-mode .price-new {
  color: #e8e8f0;
}

body.dark-mode .pro-cart-btn {
  border-color: #4ade80;
  color: #4ade80;
}
body.dark-mode .pro-card:hover .pro-cart-btn {
  background: #4ade80;
  color: #0f0f1a;
}

body.dark-mode .pro-action-btn {
  background: #252540;
  border-color: #3a3a5a;
}
body.dark-mode .pro-action-btn:hover {
  border-color: #4ade80;
}
body.dark-mode .pro-action-btn i {
  color: #a0a0c0;
}
body.dark-mode .pro-action-btn:hover i {
  color: #4ade80;
}

body.dark-mode .special-offer {
  background-color: #004f28;
}
body.dark-mode .countdown-box {
  background: rgba(0, 0, 0, 0.3);
}

/* ============================================
   30. DARK MODE — Popular / Recommended
   ============================================ */

body.dark-mode .rec-section-header {
  background: #1a1a2e;
}
body.dark-mode .rec-section-title {
  color: #e8e8f0;
}
body.dark-mode .rec-tab {
  color: #9090b0;
}
body.dark-mode .rec-tab.active,
body.dark-mode .rec-tab:hover {
  color: #4ade80;
}
body.dark-mode .rec-tab.active::before,
body.dark-mode .rec-tab:hover::before {
  background: #4ade80;
}
body.dark-mode .rec-show-all {
  color: #c0c0d8;
}
body.dark-mode .rec-show-all:hover {
  color: #4ade80;
}

body.dark-mode .rec-card {
  background: #1a1a2e;
}
body.dark-mode .rec-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}
body.dark-mode .rec-info a h3 {
  color: #4ade80;
}
body.dark-mode .rec-info p {
  color: #70708a;
}
body.dark-mode .rec-price span:first-child {
  color: #555570;
}
body.dark-mode .rec-price span:last-child {
  color: #e8e8f0;
}

body.dark-mode .rec-cart-btn {
  border-color: #4ade80;
  color: #4ade80;
}
body.dark-mode .rec-card:hover .rec-cart-btn {
  background: #4ade80;
  color: #0f0f1a;
}

body.dark-mode .rec-icon {
  background: #252540;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
body.dark-mode .rec-icon:hover {
  background: #4ade80;
}
body.dark-mode .rec-icon:hover i {
  color: #0f0f1a;
}
body.dark-mode .rec-icon i {
  color: #9090b0;
}

/* ============================================
   31. DARK MODE — Brands
   ============================================ */

body.dark-mode .brands-section {
  background: #1a1a2e;
}
body.dark-mode .brand-card {
  background: #1a1a2e;
  border-color: #2e2e4a;
}
body.dark-mode .brand-card:hover {
  background: #252540;
}
body.dark-mode .brand-card img {
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.4;
}
body.dark-mode .brand-card:hover img {
  filter: brightness(1.2);
  opacity: 0.9;
}

/* ============================================
   32. DARK MODE — Blogs
   ============================================ */

body.dark-mode .blog-header {
  background: #1a1a2e;
}
body.dark-mode .blog-header h2 {
  color: #e8e8f0;
}
body.dark-mode .see-all {
  color: #9090b0;
}
body.dark-mode .see-all:hover {
  color: #4ade80;
}
body.dark-mode .blog-card {
  background: #1a1a2e;
}
body.dark-mode .blog-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}
body.dark-mode .blog-date {
  color: #4ade80;
}
body.dark-mode .blog-body h3 {
  color: #d0d0e8;
}
body.dark-mode .blog-body p {
  color: #70708a;
}
body.dark-mode .blog-link {
  color: #b0b0cc;
}
body.dark-mode .blog-link:hover {
  color: #4ade80;
}

/* ============================================
   33. DARK MODE — Footer
   ============================================ */

body.dark-mode .site-footer {
  background: #1a1a2e;
}
body.dark-mode .footer-services {
  border-bottom-color: #2e2e4a;
}

body.dark-mode .service-icon {
  border-color: #4ade80;
  color: #4ade80;
}
body.dark-mode .service-item:hover .service-icon {
  background: #4ade80;
  color: #0f0f1a;
}
body.dark-mode .service-item h4 {
  color: #d0d0e8;
}
body.dark-mode .service-item p {
  color: #70708a;
}

body.dark-mode .footer-logo-img {
  filter: brightness(1.5);
}
body.dark-mode .footer-col > p {
  color: #80809a;
}
body.dark-mode .footer-follow {
  color: #d0d0e8;
}
body.dark-mode .footer-col h4 {
  color: #e8e8f0;
}
body.dark-mode .footer-col ul li a {
  color: #80809a;
}
body.dark-mode .footer-col ul li a:hover {
  color: #4ade80;
}

body.dark-mode .footer-socials a {
  border-color: #4ade80;
  color: #4ade80;
}
body.dark-mode .footer-socials a:hover {
  background: #4ade80;
  color: #0f0f1a;
}

body.dark-mode .footer-contact-item i {
  border-color: #4ade80;
  color: #4ade80;
}
body.dark-mode .footer-contact-item:hover i {
  background: #4ade80;
  color: #0f0f1a;
}
body.dark-mode .footer-contact-item span {
  color: #80809a;
}

body.dark-mode .newsletter {
  border-color: #2e2e4a;
}
body.dark-mode .newsletter input {
  background: #252540;
  color: #e8e8f0;
}
body.dark-mode .newsletter input::placeholder {
  color: #555570;
}
body.dark-mode .newsletter button {
  background: #4ade80;
  color: #0f0f1a;
}
body.dark-mode .newsletter button:hover {
  background: #22c55e;
}

body.dark-mode .footer-bottom {
  background: #141428;
  border-top-color: #2e2e4a;
}
body.dark-mode .footer-bottom p {
  color: #fff;
}
body.dark-mode .footer-bottom p a {
  color: #4ade80;
  font-weight: 600;
}

body.dark-mode .payment-icons img {
  border-color: #2e2e4a;
  filter: brightness(0.8) contrast(0.9);
}

/* ============================================
   34. DARK MODE — Scroll To Top
   ============================================ */

body.dark-mode .scroll-top {
  background: #4ade80;
  color: #0f0f1a;
}
body.dark-mode .scroll-top:hover {
  background: #22c55e;
}

/* ============================================
   35. DARK MODE — Custom Scrollbar
   ============================================ */

body.dark-mode ::-webkit-scrollbar-track {
  background: #1a1a2e;
}
body.dark-mode ::-webkit-scrollbar-thumb {
  background: #3a3a5a;
}
body.dark-mode ::-webkit-scrollbar-thumb:hover {
  background: #4ade80;
}
