/* ============================================================
   HEADER — Inter font, fully class-based
   ============================================================ */

/* CSS variables scoped to header */
:root {
  --hd-font: 'Inter', sans-serif;
  --hd-blue: #3749BB;
  --hd-blue-dk: #2A379A;
  --hd-blue-lt: #ECEEFF;
  --hd-border: #E5E7EB;
  --hd-text: #111827;
  --hd-muted: #6B7280;
  --hd-red: #DC2626;
}

/* ── TOP BAR ──────────────────────────────────────────────── */
.hd-topbar {
  background: #222222;
  color: rgba(255,255,255,.75);
  font-family: var(--hd-font);
  font-size: 12.5px;
  font-weight: 400;
  text-align: center;
  padding: 7px 0;
  letter-spacing: .15px;
}
.hd-topbar a {
  color: #FA308B;
  font-weight: 600;
  text-decoration: none;
  display: inline;
  transition: color .15s;
}
.hd-topbar a:hover { color: #FC5CA0; }
.hd-topbar .hd-topbar-divider {
  display: inline-block;
  width: 1px;
  height: 11px;
  background: rgba(255,255,255,.25);
  vertical-align: middle;
  margin: 0 14px;
}

/* ── MAIN HEADER ──────────────────────────────────────────── */
.hd-main {
  background: #222222;
  border-bottom: 1px solid var(--hd-border);
  padding: 14px 0;
  font-family: var(--hd-font);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.hd-main .hd-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.hd-logo {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.hd-logo__img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
.hd-mobile-logo__img {
  height: 34px;
}

/* Search */
.hd-search {
  flex: 1 1 0%;
  min-width: 0;
  position: relative;
}
.hd-search form { position: relative; }
.hd-search__wrap {
  display: flex;
  align-items: center;
  background: #F9FAFB;
  border: 1.5px solid var(--hd-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  height: 46px;
}
.hd-search__wrap:focus-within {
  border-color: var(--hd-blue);
  box-shadow: 0 0 0 3px rgba(55,73,187,.1);
  background: #fff;
}
.hd-search__input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 16px;
  font-family: var(--hd-font);
  font-size: 14px;
  font-weight: 400;
  color: var(--hd-text);
  height: 100%;
}
.hd-search__input::placeholder { color: #9CA3AF; }
.hd-search__btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--hd-blue), var(--hd-blue-dk));
  border: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s;
}
.hd-search__btn:hover { background: linear-gradient(135deg,#4558CC,#3041AF); }

/* Phone block */
.hd-phone {
  flex-shrink: 0;
  text-align: right;
  font-family: var(--hd-font);
}
.hd-phone__icon {
  color: var(--hd-blue);
  font-size: 20px;
  line-height: 1;
  margin-bottom: 2px;
}
.hd-phone__number {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  display: block;
  white-space: nowrap;
}
.hd-phone__label {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  display: block;
}

/* Action icons (account, wishlist) */
.hd-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.hd-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: rgba(255,255,255,.75);
  font-family: var(--hd-font);
  transition: color .15s;
}
.hd-action-btn:hover { color: var(--hd-blue); }
.hd-action-btn i { font-size: 22px; line-height: 1; }
.hd-action-btn span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2px;
  color: inherit;
}

/* Cart button */
.hd-cart {
  position: relative;
}
.hd-cart__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--hd-blue);
  border: 1.5px solid var(--hd-blue);
  border-radius: 10px;
  padding: 8px 14px;
  text-decoration: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
  font-family: var(--hd-font);
}
.hd-cart__btn:hover {
  background: var(--hd-blue-dk);
  border-color: var(--hd-blue-dk);
  box-shadow: 0 2px 8px rgba(55,73,187,.35);
}
.hd-cart__icon-wrap {
  position: relative;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.hd-cart__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--hd-red);
  color: #fff;
  font-family: var(--hd-font);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 10px;
  line-height: 1.5;
  min-width: 18px;
  text-align: center;
}
.hd-cart__text { line-height: 1.25; }
.hd-cart__label {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
}
.hd-cart__total {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* ── NAV BAR ──────────────────────────────────────────────── */
.hd-nav {
  background: #fff;
  border-bottom: 1px solid var(--hd-border);
  font-family: var(--hd-font);
}
.hd-nav .hd-nav-inner {
  display: flex;
  align-items: stretch;
  height: 48px;
  overflow: visible;
}

/* Category button */
.hd-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--hd-blue), var(--hd-blue-dk));
  color: #fff;
  font-family: var(--hd-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  border: none;
  padding: 0 20px;
  border-radius: 0;
  cursor: pointer;
  height: 100%;
  white-space: nowrap;
  transition: background .2s;
  text-transform: uppercase;
}
.hd-cat-btn:hover { background: linear-gradient(135deg, #4558CC, #3041AF); }
.hd-cat-btn i { font-size: 18px; }

/* Primary nav links */
.hd-primary-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 4px;
  gap: 0;
  height: 100%;
  flex: 1;
}
.hd-primary-nav > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.hd-primary-nav > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 15px;
  font-family: var(--hd-font);
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  position: relative;
}
.hd-primary-nav > li > a:hover,
.hd-primary-nav > li > a.is-active {
  color: var(--hd-blue);
  border-bottom-color: var(--hd-blue);
}
.hd-primary-nav > li > a.hd-hot {
  color: var(--hd-red);
  font-weight: 700;
}
.hd-primary-nav > li > a.hd-hot:hover { color: #b91c1c; border-bottom-color: #b91c1c; }

/* Dropdown */
.hd-primary-nav > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--hd-border);
  border-top: 2px solid var(--hd-blue);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.hd-primary-nav > li:hover > ul,
.hd-primary-nav > li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hd-primary-nav > li > ul > li > a {
  display: block;
  padding: 8px 18px;
  font-family: var(--hd-font);
  font-size: 13px;
  font-weight: 400;
  color: #374151;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.hd-primary-nav > li > ul > li > a:hover {
  background: var(--hd-blue-lt);
  color: var(--hd-blue);
}

/* ── CATEGORY SIDE MENU (left nav panel) ─────────────────── */
.hd-nav .nav-side-menu,
.hd-nav .nav-side-menu *:not(i),
.hd-nav .dropdown-category-menu,
.hd-nav .dropdown-category-menu *:not(i) {
  font-family: var(--hd-font) !important;
}
/* Restore bootstrap-icons font for icon elements */
.hd-nav .dropdown-category-menu i[class*="bi-"],
.hd-nav .nav-side-menu i[class*="bi-"] {
  font-family: bootstrap-icons !important;
}
.hd-nav .nav-side-menu {
  width: auto !important;    /* kill the 240px from style.css */
  flex-shrink: 0;
  border-radius: 0;
  height: 48px;
  line-height: 48px;
  box-shadow: none !important;
  transform: none !important;  /* kill hover translateY from style.css */
}
.hd-nav .nav-side-menu:hover { transform: none !important; box-shadow: none !important; }
.hd-nav .nav-side-menu .category-menu-toggle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  text-transform: uppercase;
  color: #fff;
  line-height: 48px;
  height: 48px;
  padding: 0 20px;
  gap: 8px;
  width: auto;
}
.hd-nav .nav-side-menu .category-menu-toggle i { font-size: 18px; }
.hd-nav .dropdown-main { top: 48px; left: 0; }
.hd-nav .nav-side-menu.is-open .dropdown-category-menu,
.hd-nav .nav-side-menu:focus-within .dropdown-category-menu {
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0;
}

/* ── MOBILE HEADER ────────────────────────────────────────── */
.hd-mobile {
  background: #fff;
  border-bottom: 1px solid var(--hd-border);
  padding: 10px 0;
  font-family: var(--hd-font);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.hd-mobile .hd-mobile-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.hd-mobile-hamburger {
  background: none;
  border: none;
  color: #374151;
  font-size: 26px;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
}
.hd-mobile-logo {
  font-family: var(--hd-font);
  font-size: 18px;
  font-weight: 800;
  color: var(--hd-blue);
  text-decoration: none;
  letter-spacing: -.3px;
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hd-mobile-cart {
  position: relative;
  color: var(--hd-blue);
  text-decoration: none;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.hd-mobile-cart .hd-cart__badge {
  font-family: var(--hd-font);
}
.hd-mobile-search {
  display: flex;
  align-items: center;
  background: #F9FAFB;
  border: 1.5px solid var(--hd-border);
  border-radius: 8px;
  overflow: visible;   /* allow suggest panel to escape the clipped area */
  height: 40px;
  transition: border-color .2s;
  position: relative;  /* anchor the suggest panel */
}
.hd-mobile-search:focus-within {
  border-color: var(--hd-blue);
  box-shadow: 0 0 0 2px rgba(55,73,187,.1);
  background: #fff;
}
.hd-mobile-search input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 14px;
  font-family: var(--hd-font);
  font-size: 13.5px;
  color: var(--hd-text);
  height: 100%;
}
.hd-mobile-search input::placeholder { color: #9CA3AF; }
.hd-mobile-search button {
  background: linear-gradient(135deg, var(--hd-blue), var(--hd-blue-dk));
  border: none;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── OFFCANVAS ────────────────────────────────────────────── */
.hd-offcanvas { font-family: var(--hd-font); }
.hd-offcanvas-head {
  background: linear-gradient(135deg, var(--hd-blue), var(--hd-blue-dk));
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hd-offcanvas-head .hd-offcanvas-title {
  font-family: var(--hd-font);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.2px;
}
.hd-offcanvas-head .btn-close-white { opacity: .8; }
.hd-offcanvas-nav { list-style: none; margin: 0; padding: 6px 0; }
.hd-offcanvas-nav li { border-bottom: 1px solid #F3F4F6; }
.hd-offcanvas-nav li a {
  display: block;
  padding: 11px 20px;
  font-family: var(--hd-font);
  font-size: 14px;
  font-weight: 500;
  color: #1F2937;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.hd-offcanvas-nav li a:hover { background: #F0F1FF; color: var(--hd-blue); }
.hd-offcanvas-nav li a.hd-hot { color: var(--hd-red); font-weight: 700; }
.hd-offcanvas-nav .hd-subnav { padding: 4px 0 4px 16px; }
.hd-offcanvas-nav .hd-subnav a {
  font-size: 13px;
  font-weight: 400;
  color: #6B7280;
  padding: 7px 20px;
}
.hd-offcanvas-section-title {
  font-family: var(--hd-font);
  font-size: 10px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 12px 20px 6px;
}
.hd-offcanvas-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--hd-blue), var(--hd-blue-dk));
  color: #fff;
  font-family: var(--hd-font);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin: 16px;
  transition: box-shadow .2s;
}
.hd-offcanvas-login-btn:hover { box-shadow: 0 4px 14px rgba(55,73,187,.35); color: #fff; }

/* ── PRIMARY NAV OVERFLOW GUARD ───────────────────────────── */
.hd-primary-nav {
  overflow: hidden;   /* clip links that don't fit; dropdown still escapes via z-index */
}

/* ── GLOBAL FONT OVERRIDE for whole header area ───────────── */
header, nav, .hd-topbar, .hd-offcanvas {
  font-family: var(--hd-font);
}

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

/* xl only (1200–1399px): tighten gaps, smaller nav padding */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .hd-main .hd-inner          { gap: 14px; }
  .hd-logo                    { min-width: 120px; }
  .hd-logo__name              { font-size: 19px; }
  .hd-actions                 { gap: 12px; }
  .hd-cart__btn               { padding: 7px 10px; gap: 7px; }
  .hd-cart__text              { display: none; }   /* hide "Your Cart / ৳XXX" text, keep icon+badge */
  .hd-action-btn span         { display: none; }   /* hide icon labels */
  .hd-primary-nav > li > a   { padding: 0 10px; font-size: 13px; }
  .hd-nav .nav-side-menu .category-menu-toggle { padding: 0 14px; font-size: 12px; }
}

/* xxl+ (1400px+): show phone, full spacing */
@media (min-width: 1400px) {
  .hd-main .hd-inner { gap: 24px; }
}

/* Mobile (< 576px): tighter search bar */
@media (max-width: 575.98px) {
  .hd-mobile { padding: 8px 0; }
  .hd-mobile .hd-mobile-row1 { margin-bottom: 8px; }
  .hd-mobile-logo { font-size: 16px; }
}

/* ============================================================
   TECHLINK PRODUCT CARD — Modern redesign
   ============================================================ */

.tl-product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  background: #fff;
}

.tl-product-col {
  position: relative;
  z-index: 1;
  transition: z-index 0s .25s;
}
.tl-product-col:hover {
  z-index: 10;
  transition: z-index 0s;
}

.tl-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(55,73,187,.18);
  border-color: #C5CAF0;
}

/* Badges row (top-left) */
.tl-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tl-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.4;
  text-transform: uppercase;
}
.tl-badge--new    { background: #16a34a; color: #fff; }
.tl-badge--hot    { background: #dc2626; color: #fff; }
.tl-badge--best   { background: #3749BB; color: #fff; }
.tl-badge--oos    { background: #6b7280; color: #fff; }

/* Discount badge (top-right) */
.tl-discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background: #3749BB;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: .3px;
}

/* Image area */
.tl-product-img-wrap {
  background: #f8f9fb;
  position: relative;
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-bottom: 1px solid #f3f4f6;
}
.tl-product-img-wrap > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.tl-product-img {
  max-height: 196px;
  max-width: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.tl-product-card:hover .tl-product-img {
  transform: scale(1.05);
}

/* Quick view overlay */
.tl-product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}

.tl-product-card:hover .tl-product-overlay {
  opacity: 1;
}

.tl-overlay-btn {
  background: #fff;
  color: #3749BB;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.tl-overlay-btn:hover {
  background: #3749BB;
  color: #fff;
}

/* Card body */
.tl-product-body {
  padding: 14px 16px 16px;
}

/* Product name */
.tl-product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.45;
  min-height: 42px;
  margin-bottom: 8px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.tl-product-name:hover { color: #3749BB; }

/* Stars */
.tl-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}
.tl-stars { color: #FA308B; font-size: 12px; }
.tl-rating-count { font-size: 11px; color: #9ca3af; }

/* Price block */
.tl-price-block {
  margin-bottom: 6px;
  line-height: 1.3;
}
.tl-price-current {
  font-size: 18px;
  font-weight: 700;
  color: #3749BB;
  font-family: 'Inter', sans-serif;
  margin-right: 6px;
}
.tl-price-original {
  font-size: 13px;
  color: #9ca3af;
  margin-right: 6px;
  text-decoration: line-through;
}
.tl-save-badge {
  font-size: 11px;
  font-weight: 600;
  color: #3749BB;
  background: #F0F1FF;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.tl-price-poa {
  font-size: 13px;
  color: #9ca3af;
  font-style: italic;
}

/* Low stock warning */
.tl-stock-warn {
  font-size: 11px;
  color: #dc2626;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Cart button wrapper */
.tl-cart-btn-wrap { margin-top: 10px; }

/* Primary gradient button */
.tl-btn-primary {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #3749BB, #2A379A);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  text-align: center;
  letter-spacing: .3px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.tl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(55,73,187,.35);
  background: linear-gradient(135deg, #4558CC, #3041AF);
  color: #fff;
}
.tl-btn-primary:active { transform: translateY(0); }

/* Outline button (out of stock) */
.tl-btn-outline {
  display: block;
  width: 100%;
  background: transparent;
  color: #3749BB;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border: 1.5px solid #3749BB;
  border-radius: 7px;
  cursor: pointer;
  text-align: center;
  letter-spacing: .3px;
  transition: background .2s, color .2s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.tl-btn-outline:hover {
  background: #3749BB;
  color: #fff;
}

/* ============================================================
   SECTION HEADINGS — "View All" link style
   ============================================================ */

.tl-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 24px;
}
.tl-section-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  position: relative;
  padding-left: 14px;
}
.tl-section-head h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, #3749BB, #2A379A);
  border-radius: 2px;
}
.tl-section-head .tl-view-all {
  font-size: 13px;
  font-weight: 600;
  color: #3749BB;
  text-decoration: none;
  border: 1.5px solid #3749BB;
  padding: 5px 14px;
  border-radius: 20px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.tl-section-head .tl-view-all:hover {
  background: #3749BB;
  color: #fff;
}

/* ============================================================
   TRUST STRIP & PROMO BANNER
   ============================================================ */

.tl-trust-strip {
  background: #F5F6FF;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
}
.tl-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tl-trust-item i {
  font-size: 22px;
  color: #3749BB;
}
.tl-trust-item h6 {
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1px;
}
.tl-trust-item p {
  font-size: 11px;
  color: #6b7280;
  margin: 0;
}

/* Promo inline banner */
.tl-promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
@media (max-width: 767px) {
  .tl-promo-row { grid-template-columns: 1fr; }
}
.tl-promo-banner {
  border-radius: 12px;
  overflow: hidden;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
}
.tl-promo-banner.tl-promo--blue {
  background: linear-gradient(135deg, #3749BB 0%, #2A379A 50%, #1E2B8A 100%);
  color: #fff;
}
.tl-promo-banner.tl-promo--purple {
  background: linear-gradient(135deg, #3749BB 0%, #FA308B 100%);
  color: #fff;
}
.tl-promo-banner .tl-promo-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.tl-promo-banner .tl-promo-text p {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  margin: 0;
}
.tl-promo-banner .tl-promo-cta {
  background: #fff;
  color: #3749BB;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 26px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .2s, transform .2s;
  display: inline-block;
}
.tl-promo-banner .tl-promo-cta:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  transform: translateY(-2px);
  color: #2A379A;
}

/* ============================================================
   CATEGORY CARDS — enhanced hover
   ============================================================ */

.tl-cat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  height: 100%;
}
.tl-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(55,73,187,.12);
  border-color: #9BA5E8;
  text-decoration: none;
}
.tl-cat-card .tl-cat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ECEEFF;
  border-radius: 50%;
}
.tl-cat-card .tl-cat-icon img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}
.tl-cat-card h6 {
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 3px;
}
.tl-cat-card small {
  font-size: 11px;
  color: #9ca3af;
}

/* ============================================================
   FOOTER ENHANCEMENTS
   ============================================================ */

.tl-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tl-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.tl-trust-badge i { color: #3749BB; }

.tl-footer-payment { margin-top: 12px; }
.tl-footer-payment small {
  display: block;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tl-payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tl-payment-icon {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.tl-newsletter-form { display: flex; gap: 6px; margin-top: 10px; }
.tl-newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
}
.tl-newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.tl-newsletter-form button {
  background: linear-gradient(135deg, #3749BB, #2A379A);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow .2s;
}
.tl-newsletter-form button:hover { box-shadow: 0 4px 12px rgba(55,73,187,.4); }

/* ============================================================
   SHOP PAGE ENHANCEMENTS
   ============================================================ */

.tl-sort-bar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.tl-sort-bar .tl-count { font-size: 14px; color: #4b5563; font-weight: 600; }
.tl-sort-bar select {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: #374151;
  outline: none;
  cursor: pointer;
}

/* ============================================================
   TOP ANNOUNCE BAR
   ============================================================ */
.tl-topbar {
  background: linear-gradient(90deg, #2A379A, #3749BB);
  color: #fff;
  font-size: 12.5px;
  text-align: center;
  padding: 6px 0;
  letter-spacing: .2px;
}
.tl-topbar a { color: #FA308B; text-decoration: underline; }

/* ============================================================
   PRICE COMPONENT (override)
   ============================================================ */
.storefront-price .storefront-price__value {
  font-size: 15px;
  font-weight: 700;
  color: #3749BB;
  font-family: 'Inter', sans-serif;
}
.storefront-price .storefront-price__compare {
  font-size: 12px;
  color: #9ca3af;
}

/* Main menu submenu: hide by default, show on hover as absolute dropdown */
.main-menu > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.main-menu > ul > li {
  position: relative;
  display: inline-block;
}

.main-menu > ul > li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  border-top: 2px solid #FA308B;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .15s linear, transform .15s linear, visibility .15s linear;
  z-index: 200;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
}

.main-menu > ul > li:hover > ul,
.main-menu > ul > li:focus-within > ul {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.main-menu > ul > li > ul > li {
  display: block;
  padding: 0;
}

.main-menu > ul > li > ul > li > a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  color: #222;
  white-space: nowrap;
  line-height: 1.4;
  margin: 0;
}

.main-menu > ul > li > ul > li > a:hover {
  color: #FA308B;
  background: #FFF0F7;
}

/* Cap menu item line-height so a 24px li doesn't crowd the next */
.main-menu > ul > li > a {
  display: inline-block;
  padding: 0 14px;
  line-height: 70px;
}

/* Category side menu: ensure dropdown panel doesn't push layout */
.nav-side-menu .dropdown-main {
  position: absolute;
  top: 50px;
  left: 0;
  width: 280px;
  z-index: 199;
}

/* Product card image cap */
.product-item img,
.product-card img {
  max-width: 100%;
  height: auto;
}

/* Footer link hover */
footer a:hover { color: #fff !important; }

/* Search suggest panel */
.search-suggest-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 2px solid #FA308B;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  z-index: 300;
  max-height: 70vh;
  overflow-y: auto;
}

.search-suggest-section {
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
}
.search-suggest-section:last-child { border-bottom: 0; }

.search-suggest-heading {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #6b7280;
  padding: 6px 14px 4px;
  margin: 0;
}

.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  text-decoration: none;
  color: #111827;
  cursor: pointer;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
}
.search-suggest-item:hover,
.search-suggest-item.is-active {
  background: #FFF0F7;
}

.search-suggest-item .ssi-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  background: #f3f4f6;
  flex-shrink: 0;
}

.search-suggest-item .ssi-meta {
  flex-grow: 1;
  min-width: 0;
}

.search-suggest-item .ssi-title {
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.search-suggest-item .ssi-sub {
  font-size: 12px;
  color: #6b7280;
}

.search-suggest-item .ssi-price {
  font-weight: 600;
  font-size: 13px;
  color: #111827;
  white-space: nowrap;
}
.search-suggest-item .ssi-price del {
  color: #9ca3af;
  font-weight: 400;
  margin-right: 4px;
}

.search-suggest-empty,
.search-suggest-loading {
  padding: 16px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

.search-suggest-footer {
  padding: 10px 14px;
  background: #f9fafb;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid #f3f4f6;
}
.search-suggest-footer a { color: #FA308B; font-weight: 600; text-decoration: none; }
.search-suggest-footer a:hover { text-decoration: underline; }

/* Minicart panel */
[data-minicart-root] { position: relative; }

.minicart-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 2px solid #FA308B;
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(0,0,0,.14);
  z-index: 280;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.minicart-panel .mc-header {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.minicart-panel .mc-list {
  overflow-y: auto;
  max-height: 340px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.minicart-panel .mc-item {
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #f3f4f6;
  align-items: flex-start;
}
.minicart-panel .mc-item:last-child { border-bottom: 0; }

.minicart-panel .mc-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  background: #f3f4f6;
  flex-shrink: 0;
}

.minicart-panel .mc-meta { flex-grow: 1; min-width: 0; }
.minicart-panel .mc-title {
  font-size: 13px;
  line-height: 1.3;
  color: #111827;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.minicart-panel .mc-title:hover { color: #FA308B; }

.minicart-panel .mc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6b7280;
  gap: 8px;
}

.minicart-panel .mc-qty {
  width: 60px;
  text-align: center;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 12px;
}

.minicart-panel .mc-line {
  font-weight: 600;
  font-size: 13px;
  color: #111827;
  white-space: nowrap;
}

.minicart-panel .mc-remove {
  background: transparent;
  border: 0;
  color: #c62828;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}
.minicart-panel .mc-remove:hover { text-decoration: underline; }

.minicart-panel .mc-footer {
  padding: 12px 16px;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}

.minicart-panel .mc-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.minicart-panel .mc-actions { display: flex; gap: 8px; }
.minicart-panel .mc-actions .btn { flex: 1; }

.minicart-panel .mc-empty {
  padding: 30px 16px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

/* Toast (shared with autocomplete) */
.minicart-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  z-index: 9999;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
}
.minicart-toast.is-shown { opacity: 1; transform: translateY(0); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.pd-section { padding: 36px 0 48px; }

/* ── Image panel ── */
.pd-img-wrap { position: sticky; top: 100px; }
.pd-img-main {
  border: 1px solid #e8eaf0;
  border-radius: 14px;
  overflow: hidden;
  background: #f8f9fe;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.pd-img-main img { object-fit: contain; max-height: 420px; padding: 12px; }
.pd-img-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pd-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid #e8eaf0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #f8f9fe;
  transition: border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-thumb img { object-fit: contain; width: 100%; height: 100%; padding: 4px; }
.pd-thumb:hover, .pd-thumb.active { border-color: var(--hd-blue); }

/* ── Info panel ── */
.pd-info { padding-left: 8px; }

.pd-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .3px;
}
.pd-badge--instock  { background: #dcfce7; color: #16a34a; }
.pd-badge--outstock { background: #fee2e2; color: #dc2626; }
.pd-badge--sale     { background: #fff0f7; color: #FA308B; }

.pd-title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  margin-bottom: 14px;
}
@media (min-width: 992px) { .pd-title { font-size: 28px; } }

.pd-price {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--hd-blue);
}
.pd-price .old-price, .pd-price del { font-size: 15px; font-weight: 400; color: #999; margin-right: 6px; }

.pd-countdown {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff5f5;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.pd-short-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  border-top: 1px solid #f0f1f7;
  padding-top: 16px;
}

/* meta rows */
.pd-meta { margin-bottom: 24px; }
.pd-meta-row {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #f0f1f7;
  font-size: 13.5px;
  align-items: baseline;
}
.pd-meta-label {
  min-width: 90px;
  font-weight: 600;
  color: #444;
  flex-shrink: 0;
}
.pd-meta-value { color: #555; }
.pd-meta-link { color: var(--hd-blue); text-decoration: none; }
.pd-meta-link:hover { text-decoration: underline; }

/* action buttons */
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.d-contents { display: contents; }

.pd-btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hd-blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 26px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
  font-family: var(--hd-font);
}
.pd-btn-cart:hover { background: var(--hd-blue-dk); box-shadow: 0 4px 14px rgba(55,73,187,.3); }

.pd-btn-wish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid #e0e2f0;
  border-radius: 10px;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  color: #666;
}
.pd-btn-wish:hover { border-color: #FA308B; color: #FA308B; }

.pd-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.pd-btn-wa:hover { background: #1ebe5a; color: #fff; }

.pd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: color .2s;
}
.pd-back-link:hover { color: var(--hd-blue); }

/* tab section */
.product-summery { padding: 40px 0 60px; }
.product-summery .nav-tabs .nav-link {
  color: #555;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
}
.product-summery .nav-tabs .nav-link.active {
  color: var(--hd-blue);
  border-bottom-color: #fff;
}

/* ============================================================
   MEGA MENU — All Categories
   ============================================================ */
.dropdown-category-menu.mega-menu {
  position: absolute;
  top: 48px;
  left: 0;
  width: 740px;
  background: #fff;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.14);
  border-top: 3px solid var(--hd-blue);
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s, visibility .2s;
  z-index: 9999;
  overflow: hidden;
}
.nav-side-menu.is-open .dropdown-category-menu.mega-menu {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Left category list */
.mega-left { width: 220px; flex-shrink: 0; background: #f8f9fe; border-right: 1px solid #eef0f8; }
.mega-cat-list { list-style: none; margin: 0; padding: 6px 0; }
.mega-cat-item { position: static; }

.mega-cat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 12px;
  text-decoration: none;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s;
  position: relative;
}
.mega-cat-link:hover,
.mega-cat-item.is-hovered .mega-cat-link {
  background: #fff;
  color: var(--hd-blue);
}
.mega-cat-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform .15s;
}
.mega-cat-link:hover .mega-cat-icon,
.mega-cat-item.is-hovered .mega-cat-icon { transform: scale(1.1); }
.mega-cat-name { flex: 1; line-height: 1.3; }
.mega-cat-arrow {
  font-size: 10px;
  color: #9ca3af;
  flex-shrink: 0;
  transition: transform .15s, color .15s;
}
.mega-cat-link:hover .mega-cat-arrow,
.mega-cat-item.is-hovered .mega-cat-arrow { color: var(--hd-blue); transform: translateX(2px); }

/* Sub panel */
.mega-sub-panel {
  position: absolute;
  top: 0;
  left: 220px;
  width: 520px;
  min-height: 100%;
  background: #fff;
  padding: 20px 24px 24px;
  display: none;
  z-index: 1;
}
.mega-cat-item.is-hovered .mega-sub-panel { display: block; }

.mega-sub-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f1f7;
}
.mega-sub-icon { font-size: 18px; }
.mega-sub-title { font-size: 15px; font-weight: 700; color: #111; flex: 1; }
.mega-sub-viewall {
  font-size: 12px;
  font-weight: 600;
  color: var(--hd-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.mega-sub-viewall:hover { text-decoration: underline; }

.mega-sub-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
}
.mega-sub-grid li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  border-radius: 6px;
  transition: color .15s, background .15s, padding-left .15s;
}
.mega-sub-grid li a:hover {
  color: var(--hd-blue);
  background: #f0f3ff;
  padding-left: 8px;
}
.mega-sub-grid li a i { font-size: 10px; color: #d1d5db; flex-shrink: 0; transition: color .15s; }
.mega-sub-grid li a:hover i { color: var(--hd-blue); }

/* ── MEGA MENU OVERRIDES (fix style.css conflicts) ─── */
.dropdown-category-menu.mega-menu {
  display: flex !important;
  flex-direction: row !important;
}
.mega-left {
  width: 220px !important;
  flex-shrink: 0 !important;
  min-height: 420px;
}
.dropdown-category-menu.mega-menu ul li a,
.mega-cat-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 14px 9px 12px !important;
  color: #374151 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: background .15s, color .15s !important;
  border-radius: 0 !important;
  white-space: nowrap !important;
}
.mega-cat-link:hover,
.mega-cat-item.is-hovered .mega-cat-link {
  background: #fff !important;
  color: var(--hd-blue) !important;
}
.mega-sub-grid li a {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 4px !important;
  font-size: 13px !important;
  color: #4b5563 !important;
  white-space: normal !important;
  border-radius: 6px !important;
}
.mega-sub-grid li a:hover {
  color: var(--hd-blue) !important;
  background: #f0f3ff !important;
  padding-left: 8px !important;
}
.mega-cat-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
}
.mega-cat-name {
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.mega-cat-arrow {
  font-size: 10px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}
/* Sub panel sits beside the left column inside the flex container */
.mega-cat-item { position: static !important; }
.mega-sub-panel {
  position: absolute !important;
  top: 0 !important;
  left: 220px !important;
  width: 520px !important;
  min-height: 100% !important;
  background: #fff !important;
  border-left: 1px solid #eef0f8 !important;
  padding: 20px 24px 24px !important;
  display: none !important;
  z-index: 2 !important;
}
.mega-cat-item.is-hovered > .mega-sub-panel { display: block !important; }
/* Fix: style.css gives ul li a { width:100%; line-height:36px } — override for viewall/header */
.mega-sub-viewall {
  width: auto !important;
  flex-shrink: 0 !important;
  line-height: normal !important;
  white-space: nowrap !important;
  padding: 0 !important;
}
.mega-sub-header span.mega-sub-title {
  width: auto !important;
  line-height: 1.3 !important;
}
.mega-sub-header span.mega-sub-icon {
  width: auto !important;
  line-height: normal !important;
  flex-shrink: 0 !important;
}

/* ── Storefront pagination ── */
.tl-pagination-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; margin-bottom: 8px; }
.tl-pagination-info { font-size: 13px; color: #888; }
.tl-pagination-nav .pagination { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.tl-pagination-nav .page-link { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 6px; font-size: 14px; font-weight: 500; border: 1.5px solid #e0e0e0; color: #444; background: #fff; text-decoration: none; transition: all .2s; line-height: 1; }
.tl-pagination-nav .page-item.active .page-link { background: var(--primary, #3749BB); border-color: var(--primary, #3749BB); color: #fff; box-shadow: 0 2px 8px rgba(55,73,187,.25); }
.tl-pagination-nav .page-item.disabled .page-link { color: #ccc; background: #f5f5f5; border-color: #e0e0e0; cursor: default; }
.tl-pagination-nav .page-item:not(.active):not(.disabled) .page-link:hover { background: #f0f2ff; border-color: var(--primary, #3749BB); color: var(--primary, #3749BB); }

/* ── Specification table ── */
.tl-spec-wrap { overflow-x: auto; }
.tl-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tl-spec-table tr { border-bottom: 1px solid #f0f0f0; }
.tl-spec-table tr:last-child { border-bottom: none; }
.tl-spec-table tr:nth-child(even) td,
.tl-spec-table tr:nth-child(even) th { background: #fafafa; }
.tl-spec-table th {
  width: 32%;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  background: #f5f6fa;
  white-space: nowrap;
  vertical-align: top;
  border-right: 2px solid #e8eaf0;
}
.tl-spec-table td {
  padding: 10px 16px;
  font-size: 13.5px;
  color: #222;
  vertical-align: top;
  line-height: 1.5;
}
.tl-spec-table tr:nth-child(even) th { background: #eef0f7; }

/* ── Rich content (product description) table styling ── */
.tl-rich-content { font-size: 14px; line-height: 1.7; color: #333; }
.tl-rich-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13.5px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  display: table;
}
.tl-rich-content table thead tr {
  background: linear-gradient(135deg, #3749BB, #2A379A);
  color: #fff;
}
.tl-rich-content table thead th,
.tl-rich-content table thead td {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  border: none;
  text-align: left;
}
.tl-rich-content table tbody tr { border-bottom: 1px solid #f0f0f0; }
.tl-rich-content table tbody tr:last-child { border-bottom: none; }
.tl-rich-content table tbody tr:nth-child(even) { background: #f8f9fc; }
.tl-rich-content table tbody td,
.tl-rich-content table tbody th {
  padding: 9px 14px;
  vertical-align: top;
  color: #333;
  border: none;
  border-right: 1px solid #f0f0f0;
  font-size: 13.5px;
  line-height: 1.5;
}
.tl-rich-content table tbody td:last-child,
.tl-rich-content table tbody th:last-child { border-right: none; }
.tl-rich-content table tbody th {
  font-weight: 600;
  color: #444;
  background: #f5f6fa;
  width: 32%;
  white-space: nowrap;
}
.tl-rich-content table tbody tr:nth-child(even) th { background: #eef0f7; }

/* ── Footer ── */
.tl-footer { background:#222; color:rgba(255,255,255,.7); margin-top:0; }
.tl-footer-trust-row { background:#222; border-bottom:1px solid rgba(255,255,255,.08); padding:20px 0; }
.tl-footer-trust-icon { font-size:20px; color:#3749BB; }
.tl-footer-trust-label { font-size:12px; font-weight:700; color:#fff; }
.tl-footer-trust-sub { font-size:11px; color:rgba(255,255,255,.5); }
.tl-footer-main { padding:48px 0 32px; }
.tl-footer-brand-name { color:#fff; font-size:20px; font-weight:700; margin-bottom:14px; font-family:'Inter',sans-serif; }
.tl-footer-tagline { color:rgba(255,255,255,.6); font-size:13.5px; margin-bottom:14px; line-height:1.7; }
.tl-footer-contact { color:rgba(255,255,255,.7); font-size:13.5px; margin-bottom:6px; }
.tl-footer-contact a { color:rgba(255,255,255,.7); text-decoration:none; }
.tl-footer-contact-icon { color:#3749BB; }
.tl-footer-branch { margin-bottom:12px; }
.tl-footer-branch-name { color:#fff; font-size:12px; font-weight:700; margin-bottom:2px; text-transform:uppercase; letter-spacing:.4px; }
.tl-footer-branch-name i { color:#FA308B; }
.tl-footer-branch-addr { color:rgba(255,255,255,.65); font-size:12.5px; margin:0 0 2px 18px; line-height:1.5; }
.tl-footer-branch-phone { color:rgba(255,255,255,.65); font-size:12.5px; margin:0 0 0 18px; }
.tl-footer-branch-phone i { color:#3749BB; }
.tl-footer-col-title { color:#fff; font-size:14px; font-weight:700; margin-bottom:14px; text-transform:uppercase; letter-spacing:.5px; }
.tl-footer-links { list-style:none; padding:0; margin:0; }
.tl-footer-links li { margin-bottom:9px; }
.tl-footer-links a { color:rgba(255,255,255,.6); text-decoration:none; font-size:13.5px; transition:color .2s; }
.tl-footer-links a:hover { color:#3749BB; }
.tl-footer-newsletter-desc { color:rgba(255,255,255,.55); font-size:13px; margin-bottom:10px; }
.tl-footer-newsletter-msg { font-size:12px; margin-top:6px; display:none; }
.tl-footer-social { margin-top:20px; }
.tl-footer-social-title { color:#fff; font-size:13px; font-weight:600; margin-bottom:10px; }
.tl-footer-social-link {
  width:34px; height:34px; background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15); border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  font-size:15px; text-decoration:none; transition:background .2s;
}
.tl-footer-social-link:hover { background:rgba(255,255,255,.2); }
.tl-footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding:14px 0; }
.tl-footer-copy { font-size:12px; color:rgba(255,255,255,.4); }
.tl-footer-trade { font-size:12px; color:rgba(255,255,255,.35); }
.tl-footer-powered { font-size:12px; color:rgba(255,255,255,.3); }

/* ── Shop page ── */
.tl-shop-hero { background-size:cover; background-position:center; min-height:160px; }
.tl-shop-hero-overlay { background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.2)); position:absolute; inset:0; }
.tl-shop-hero-content { z-index:2; position:relative; }
.tl-shop-hero-title { color:#fff; font-size:clamp(22px,3vw,34px); font-weight:700; margin-bottom:6px; }
.tl-shop-hero-desc { color:rgba(255,255,255,.8); margin:0; font-size:14px; }
.tl-shop-section { padding:24px 0 60px; }
.tl-cat-box { border-color:#e5e7eb !important; }
.tl-cat-header { background:linear-gradient(135deg,#3749BB,#2A379A); }
.tl-cat-header h6 { color:#fff; font-weight:700; font-size:12px; margin:0; text-transform:uppercase; letter-spacing:.5px; }
.tl-cat-list { list-style:none; margin:0; padding:4px 0; }
.tl-cat-link { color:#374151; font-size:12.5px; font-weight:500; padding-top:5px; padding-bottom:5px; transition:color .15s,background .15s; }
.tl-cat-link:hover { color:#3749BB; background:#F0F1FF; }
.tl-cat-count { background:#f3f4f6; color:#6b7280; font-size:10.5px; padding:1px 6px; border-radius:8px; font-weight:600; flex-shrink:0; }
.tl-promo-box { background:linear-gradient(135deg,#3749BB,#2A379A); color:#fff; }
.tl-promo-box i { font-size:28px; color:#FA308B; }
.tl-promo-box h6 { color:#fff; font-weight:700; margin:8px 0 4px; }
.tl-promo-box p { font-size:12.5px; color:rgba(255,255,255,.8); margin-bottom:12px; }
.tl-promo-btn { background:#fff; color:#3749BB; font-weight:700; font-size:13px; padding:7px 20px; border-radius:6px; text-decoration:none; display:inline-block; }
.tl-sort-select { border:1px solid #d1d5db; border-radius:6px; padding:6px 12px; font-size:13px; color:#374151; outline:none; cursor:pointer; }
.tl-about-section { padding:0 0 48px; }
.tl-about-box { border-color:#e5e7eb !important; }
.tl-about-title { font-size:18px; font-weight:700; color:#111827; margin-bottom:16px; }
.tl-about-desc { color:#374151; font-size:14.5px; line-height:1.8; }

/* ── Header wishlist badge ── */
.hd-wishlist-badge {
  position:absolute; top:-4px; right:-6px;
  background:#e53e3e; color:#fff; border-radius:50%;
  width:16px; height:16px; font-size:10px;
  display:flex; align-items:center; justify-content:center; font-weight:700;
}

/* ── Promotions ── */
.tl-flash-card {
  display:block; min-height:180px; height:100%; padding:22px;
  border-radius:12px; color:#fff; text-decoration:none;
  background:linear-gradient(135deg,#111827,#3749BB);
  box-shadow:0 10px 28px rgba(17,24,39,.16);
  transition:transform .2s, box-shadow .2s;
}
.tl-flash-card:hover { transform:translateY(-3px); box-shadow:0 16px 34px rgba(17,24,39,.22); color:#fff; }
.tl-flash-card span {
  display:inline-block; padding:4px 9px; border-radius:999px;
  background:#FA308B; color:#fff; font-size:11px; font-weight:800;
  margin-bottom:12px; text-transform:uppercase; letter-spacing:.4px;
}
.tl-flash-card h3 { color:#fff; font-size:19px; font-weight:800; margin:0 0 8px; line-height:1.25; }
.tl-flash-card p { color:rgba(255,255,255,.78); font-size:13px; line-height:1.55; margin:0 0 16px; }
.tl-flash-card strong { color:#fff; font-size:13px; }
.tl-promo-modal .modal-content { border-radius:14px; overflow:hidden; box-shadow:0 24px 80px rgba(17,24,39,.35); }
.tl-promo-close { position:absolute; top:14px; right:14px; z-index:4; background-color:#fff; opacity:1; border-radius:50%; padding:8px; }
.tl-promo-modal-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(220px,.9fr); min-height:390px; }
.tl-promo-modal-copy { padding:42px; background:linear-gradient(135deg,#3749BB,#111827); color:#fff; display:flex; flex-direction:column; justify-content:center; }
.tl-promo-modal-light .tl-promo-modal-copy { background:#f8fafc; color:#111827; }
.tl-promo-modal-dark .tl-promo-modal-copy { background:#111827; color:#fff; }
.tl-promo-modal-badge {
  align-self:flex-start; background:#FA308B; color:#fff; border-radius:999px;
  padding:5px 10px; font-size:11px; font-weight:800; text-transform:uppercase;
  letter-spacing:.5px; margin-bottom:14px;
}
.tl-promo-modal-copy h2 { color:inherit; font-size:clamp(24px,3vw,38px); font-weight:800; line-height:1.12; margin:0 0 10px; }
.tl-promo-modal-subtitle { font-size:15px; font-weight:700; opacity:.86; margin-bottom:10px; }
.tl-promo-modal-copy p { color:inherit; opacity:.78; font-size:14px; line-height:1.7; margin-bottom:20px; }
.tl-promo-modal-actions { display:flex; flex-wrap:wrap; gap:10px; }
.tl-promo-modal-btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:40px; padding:10px 18px; border-radius:8px;
  font-size:13px; font-weight:800; text-decoration:none;
}
.tl-promo-modal-btn-primary { background:#fff; color:#3749BB; }
.tl-promo-modal-btn-light { background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.22); }
.tl-promo-modal-light .tl-promo-modal-btn-primary { background:#3749BB; color:#fff; }
.tl-promo-modal-light .tl-promo-modal-btn-light { color:#111827; border-color:#d1d5db; background:#fff; }
.tl-promo-modal-media { background:#f3f4f6; display:flex; align-items:center; justify-content:center; padding:28px; }
.tl-promo-modal-media img { max-width:100%; max-height:330px; object-fit:contain; }
@media (max-width:767px) {
  .tl-promo-modal-grid { grid-template-columns:1fr; }
  .tl-promo-modal-copy { padding:30px 24px; }
  .tl-promo-modal-media { min-height:190px; }
}

/* ── Scrolling news ── */
.tl-breaking-news {
  display:flex; align-items:center; overflow:hidden;
  min-height:38px; background:#111827; color:#fff;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(0,0,0,.25);
}
.tl-breaking-track { flex:1; min-width:0; overflow:hidden; }
.tl-breaking-inner {
  display:inline-flex; align-items:center; gap:34px; white-space:nowrap;
  animation:tl-breaking-scroll 36s linear infinite;
}
.tl-breaking-track:hover .tl-breaking-inner { animation-play-state:paused; }
.tl-breaking-item {
  display:inline-flex; align-items:center; gap:8px;
  color:rgba(255,255,255,.92); font-size:13.5px; font-weight:600;
}
.tl-breaking-item::before {
  content:''; width:6px; height:6px; border-radius:50%; background:#FA308B; flex:0 0 auto;
}
.tl-breaking-item a { color:#fff; text-decoration:none; }
.tl-breaking-item a:hover { color:#c7d2fe; }
@keyframes tl-breaking-scroll {
  from { transform:translateX(100%); }
  to { transform:translateX(-50%); }
}
@media (max-width:575px) {
  .tl-breaking-news { min-height:34px; }
  .tl-breaking-inner { gap:24px; animation-duration:30s; }
  .tl-breaking-item { font-size:12px; }
}
