/* ============================================================
   ELMADY DESIGN TOKENS + CONSOLIDATED OVERRIDES
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --color-primary: #0c72ba;
  --color-primary-hover: #0a62a0;
  --color-primary-light: rgba(12, 114, 186, 0.1);
  --color-primary-dark: #084e85;
  --color-accent: #f0934d;
  --color-success: #18d26e;
  --color-error: #e74c3c;
  --color-text: #333;
  --color-text-muted: #666;
  --color-text-light: #999;
  --color-bg: #fff;
  --color-surface: #f8f9fa;
  --color-border: #e9ecef;
  --color-dark: #1b233d;

  /* Typography */
  --font-body: 'Cairo', sans-serif;
  --font-heading: 'Poppins', sans-serif;

  /* Spacing */
  --section-gap: 3rem;
  --container-padding: 0 15px;

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-dropdown: 0 4px 20px rgba(0, 0, 0, 0.1);

  /* Icon Sizes */
  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 24px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 600ms ease;
}

/* --- Body Reset --- */
body {
  font-family: var(--font-body) !important;
}

.custom-product-card .product-list-img .framed-product,
.product-list-img .framed-product {
  display: block;
}

.product-list-img .framed-product .main-product-image {
  width: 100%;
  height: auto;
}

/* Frame inside product cards (grid / small) */
.custom-product-card .custom-product-img .framed-product {
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-product-card .custom-product-img .framed-product .main-product-image {
  width: 100%;
  height: auto;
}

/* --- Product Card Overrides --- */
.custom-product-card .custom-product-img .product-category {
  position: absolute !important;
  top: -5rem !important;
}

.custom-product-card:hover .custom-product-img .product-category {
  position: absolute !important;
  top: 0.5rem !important;
}

.custom-product-card:hover .card-actions {
  visibility: visible;
}

.card-actions {
  visibility: hidden;
}

/* Product card image hover */
.main-product-image {
  transition: transform var(--transition-slow);
}

/* Color swatch */
.color-swatch {
  border-radius: var(--radius-full);
  height: 30px;
  width: 30px;
}

/* No product image placeholder */
.no-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: var(--color-surface);
  color: var(--color-text-light);
  font-family: var(--font-body);
}

/* --- Grid Overrides --- */
.col-5 {
  width: 20%;
}

.main-menu.main-menu-lh-1 > nav > ul > li {
  line-height: 40px !important;
}

/* --- Active Nav Link --- */
[data-nav] a.active {
  color: var(--color-primary-hover) !important;
}

/* --- Profile Dropdown --- */
.profile-container {
  position: relative;
}

.profile-container ul {
  position: absolute;
  display: grid;
  padding-top: 15px;
  border-radius: var(--radius-md);
  gap: 5px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg);
  z-index: 99;
  overflow: hidden;
  display: none;
  transition: var(--transition-fast);
}

.profile-container ul li {
  border-bottom: 2px solid var(--color-border);
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
  text-align: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.profile-container:hover ul {
  display: grid;
  transition: var(--transition-fast);
}

.profile-container:hover li {
  color: var(--color-primary);
  transition: var(--transition-fast);
}

/* --- Sidebar Navigation --- */
.sidebar-nav-active {
  position: fixed;
  top: 0;
  width: 420px;
  padding: 104px 50px 50px;
  min-height: 100vh;
  bottom: 0;
  z-index: 9999;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition: all 250ms ease-in;
  transform: translate(-200px, 0);
  box-shadow: 0 0 87px 0 rgba(0, 0, 0, 0.09);
  background-color: #fff;
}

.sidebar-nav-active.inside {
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0);
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .sidebar-nav-active {
    width: 350px;
    padding: 104px 30px 50px;
  }
}

@media only screen and (max-width: 767px) {
  .sidebar-nav-active {
    padding: 60px 15px 50px;
    width: 280px;
  }
}

.sidebar-nav-active .sidebar-nav-all {
  text-align: right;
}

.sidebar-nav-active .sidebar-nav-all .nav-close {
  display: block;
  position: absolute;
  top: 37px;
  left: 50px;
  font-size: 36px;
  line-height: 30px;
  color: #6D6D6D;
  transition: all 250ms ease-out;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .sidebar-nav-active .sidebar-nav-all .nav-close {
    right: 10px;
    top: 50px;
    font-size: 25px;
  }
}

@media only screen and (max-width: 767px) {
  .sidebar-nav-active .sidebar-nav-all .nav-close {
    right: 10px;
    top: 10px;
    left: auto;
    font-size: 23px;
  }
}

.sidebar-nav-active .sidebar-nav-all .nav-close:hover {
  transform: rotate(90deg);
  color: var(--color-primary);
}

.sidebar-nav-active .sidebar-nav-all .nav-content > h3 {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.sidebar-nav-active .sidebar-nav-all .nav-content ul li a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 6px 0;
}

.sidebar-nav-active .sidebar-nav-all .nav-content ul li a:hover {
  color: var(--color-primary);
}

nav a {
  color: var(--color-primary);
}

/* --- Swiper Carousel Shared --- */
.swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
}

.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
  font-size: var(--icon-md);
  font-weight: 700;
}

/* --- Brand Logos Slider --- */
.brand-logos-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.brand-logos-slider .swiper-wrapper {
  align-items: center;
}

.brand-logos-slider .swiper-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
}

.brand-logos-slider .swiper-slide img {
  max-width: 110px;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
}

.brand-logos-slider .no-product-image {
  height: 64px;
  min-width: 110px;
  padding: 0 10px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.brand-logos-slider .swiper-slide a:hover img,
.brand-logos-slider .swiper-slide a:focus-visible img {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}

/* --- Infinite Scroll Loader --- */
.infinite-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 48px;
}

.infinite-loader::before {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  animation: infinite-spin 0.8s linear infinite;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.infinite-loader.is-loading::before {
  opacity: 1;
}

.infinite-loader.done,
.infinite-loader.error {
  display: none;
}

@keyframes infinite-spin {
  to { transform: rotate(360deg); }
}

/* --- Chatwoot Widget --- */
.woot-widget-bubble.woot-elements--left {
  margin-bottom: 3rem !important;
}

/* ==========================================================
   FOOTER — Dark Luxury
   ========================================================== */
footer.site-footer,
.site-footer {
  margin-top: 0;
  background: #1a1a2e !important;
  color: #c9c9d4 !important;
  border: none;
}

/* --- Trust bar at top --- */
.site-footer .footer-trust {
  background: #12121f !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-footer .footer-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 0.85rem 1rem;
  flex-wrap: wrap;
}

.site-footer .trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer .trust-badge i {
  font-size: 1.1rem;
  color: #f0934d !important;
  flex-shrink: 0;
}

.site-footer .trust-badge span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #c9c9d4 !important;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Main grid --- */
.site-footer .footer-main {
  padding: 3rem 0 2.5rem;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1fr 0.8fr;
  gap: 2.5rem;
}

/* --- Column headings --- */
.site-footer .footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff !important;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #f0934d;
  display: inline-block;
}

/* --- Brand / logo --- */
.site-footer .footer-brand {
  margin-bottom: 1rem;
}

.site-footer .footer-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* --- Social icons --- */
.site-footer .footer-social {
  display: flex;
  gap: 0.5rem;
}

.site-footer .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: #c9c9d4 !important;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.site-footer .footer-social a:hover {
  background: #f0934d !important;
  border-color: #f0934d;
  color: #fff !important;
  transform: translateY(-2px);
}

.site-footer .footer-social a svg {
  width: 14px;
  height: 14px;
}

/* --- Contact list --- */
.site-footer .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  color: #c9c9d4 !important;
  line-height: 1.5;
}

.site-footer .footer-contact li i {
  color: #f0934d !important;
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.site-footer .footer-contact li a {
  color: #c9c9d4 !important;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .footer-contact li a:hover {
  color: #fff !important;
}

/* --- Links list --- */
.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-links li {
  margin-bottom: 0.45rem;
}

.site-footer .footer-links li a {
  font-size: 0.82rem;
  color: #c9c9d4 !important;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .footer-links li a:hover {
  color: #f0934d !important;
}

/* --- App download --- */
.site-footer .footer-app-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer .footer-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: #f0934d !important;
  color: #fff !important;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer .footer-app-btn:hover {
  background: #d97d3a !important;
  transform: translateY(-2px);
}

.site-footer .footer-app-btn i {
  font-size: 0.9rem;
}

/* --- Copyright bar --- */
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 0;
  background: #12121f !important;
}

.site-footer .footer-bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.site-footer .footer-bottom p {
  font-size: 0.72rem;
  color: #777 !important;
  margin: 0;
  letter-spacing: 0.03em;
}

.site-footer .footer-bottom a {
  color: #777 !important;
  text-decoration: none;
}

.site-footer .footer-bottom a span {
  color: #f0934d !important;
}

.site-footer .footer-bottom a:hover {
  color: #f0934d !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 575px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .site-footer .footer-trust-badges {
    gap: 1rem;
  }

  .site-footer .trust-badge span {
    font-size: 0.65rem;
  }
}

/* ==========================================================
   END FOOTER
   ========================================================== */

/* --- Custom Navbar --- */
.custom-container {
  width: 1170px;
  position: relative;
  margin: 0 auto;
  padding: 0 15px;
}

.custom-navbar,
.custom-navbar > .custom-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 1rem 1.15rem;
  margin: 10px 0;
}

.custom-navbar .custom-container {
  max-width: 90%;
  margin: 0 auto;
}

.custom-navbar-header {
  display: flex;
  align-items: center;
}

.custom-navbar-header > a {
  font-weight: 500;
  color: #3c4250;
  text-decoration: none;
}

.custom-navbar-toggler {
  display: none;
}

.custom-navbar-toggler span {
  height: 2px;
  width: 22px;
  background-color: rgba(60, 66, 80, 0.65);
  display: block;
  margin-bottom: 0.2rem;
}

.custom-navbar-menu {
  display: flex;
  align-items: center;
  flex-basis: auto;
  flex-grow: 1;
}

.custom-navbar-nav {
  display: flex;
  margin-left: auto;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.custom-navbar-nav > li {
  position: relative;
  margin-left: 1rem;
}

.custom-navbar-nav > li > a {
  text-decoration: none;
  display: inline-block;
  padding: 0.5rem 1rem;
  color: #000;
}

.custom-navbar-nav > li.custom-active > a {
  color: #66f;
}

/* ---------- Multi-level navbar dropdowns ----------
   Uses logical properties (inset-inline-*) so the fly-out
   direction flips automatically for RTL (ar) and LTR (en).
   Panels open on hover (desktop) and via .is-open (touch/click).
-------------------------------------------------- */
.custom-navbar-dropdown,
.custom-sub-navbar-dropdown {
  position: relative;
}

/* Level 1: drops down under the bar */
.custom-navbar-dropdown > .custom-dropdown,
.custom-sub-navbar-dropdown > .custom-sub-dropdown {
  display: none;
  position: absolute;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  min-width: 170px;
  white-space: nowrap;
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0px 1px 6px 0px rgba(27, 127, 204, 0.8);
  z-index: 1000;
}

/* Level 1: drops down under the bar.
   The bar is flush to its inline-end edge (`.custom-navbar-nav` carries
   `margin-left: auto`), so anchoring the panel to the item's *inline-end*
   keeps it on screen: it grows inward over the page content. */
.custom-navbar-dropdown > .custom-dropdown {
  top: 100%;
  inset-inline-end: 0;
}

/* Level 2 and deeper: fly out sideways, away from the bar, aligned with the
   top of the parent item. The negative margin + padding bridges the hover gap
   so the panel does not close while the pointer travels across it. */
.custom-sub-navbar-dropdown > .custom-sub-dropdown {
  top: 0;
  inset-inline-end: 100%;
  padding-top: 8px;
  margin-top: -8px;
}

/* open on hover ... */
.custom-navbar-dropdown:hover > .custom-dropdown,
.custom-sub-navbar-dropdown:hover > .custom-sub-dropdown,
/* ... or when opened by click / keyboard (touch devices have no hover) */
.custom-navbar-dropdown.is-open > .custom-dropdown,
.custom-sub-navbar-dropdown.is-open > .custom-sub-dropdown {
  display: block;
}

.custom-dropdown li,
.custom-sub-dropdown li {
  list-style: none;
  position: relative;
}

/* Only style direct item links; the nested <ul> handles its own children. */
.custom-dropdown > li > a,
.custom-sub-dropdown > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

.custom-dropdown > li > a:hover,
.custom-sub-dropdown > li > a:hover {
  background-color: #f0f0f0;
}

/* caret */
.custom-caret {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-inline-start: auto;
  transition: transform 0.18s ease;
}

.custom-navbar-dropdown > .custom-dropdown-toggler .custom-caret {
  width: 20px;
  height: 20px;
}

.custom-navbar-dropdown.is-open > .custom-dropdown-toggler .custom-caret,
.custom-sub-navbar-dropdown.is-open > .custom-sub-dropdown-toggler .custom-caret {
  transform: rotate(180deg);
}

/* --- Custom Navbar Mobile --- */
@media (max-width: 768px) {
  .custom-navbar,
  .custom-navbar > .custom-container {
    display: block;
    padding: 1rem 0;
  }

  .custom-navbar-header {
    width: 100%;
    justify-content: space-between;
    flex-direction: row-reverse;
  }

  .custom-navbar-toggler {
    display: block;
    cursor: pointer;
    border: none;
    outline: none;
  }

  .custom-navbar-menu {
    display: none;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
  }

  .custom-navbar-menu.active {
    display: flex !important;
    flex-direction: column;
  }

  .custom-navbar-nav {
    width: 100%;
    display: block;
    margin-top: 1rem;
    border-top: 1px solid #eee;
  }

  .custom-navbar-nav > li {
    margin-left: 0;
  }

  .custom-navbar-nav > li > a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #eceef3;
  }

  /* Panels stack inline instead of flying out, and only open on .is-open */
  .custom-navbar-dropdown > .custom-dropdown,
  .custom-sub-navbar-dropdown > .custom-sub-dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding-top: 0.5rem;
    box-shadow: none;
    border-radius: 0;
  }

  /* hover must not open them on touch/narrow screens */
  .custom-navbar-dropdown:hover > .custom-dropdown,
  .custom-sub-navbar-dropdown:hover > .custom-sub-dropdown {
    display: none;
  }

  .custom-navbar-dropdown.is-open > .custom-dropdown,
  .custom-sub-navbar-dropdown.is-open > .custom-sub-dropdown {
    display: block;
  }
}

/* --- Brand Logos Mobile --- */
@media (max-width: 767px) {
  #clients {
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-block: 12px !important;
    background: transparent !important;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }

  .brand-logos-slider .swiper-slide img {
    max-height: 46px;
    max-width: 84px;
    filter: none;
    opacity: 1;
  }

  .brand-logos-slider .no-product-image {
    height: 46px;
    min-width: 0;
  }

  .main-wrapper {
    margin-inline: 10px;
  }

  .custom-product-card .custom-product-img .product-category {
    font-size: 13px;
  }
}

/* --- Section Spacing Rhythm --- */
.section-gap {
  margin-block: var(--section-gap);
}

/* --- Brands Page --- */
.brands-page-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.brands-page-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--transition-base);
}

.brand-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.brand-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.brand-card-img img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  transition: transform var(--transition-base);
}

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

.brand-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary, #1d4ed8);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md, 8px);
}

.brand-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  gap: 0.4rem;
}

.brand-card-info h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
}

.brand-card:hover .brand-card-info h3 {
  color: var(--color-primary);
}

.brand-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.brand-card:hover .brand-card-link {
  color: var(--color-primary);
}

.brand-card-link svg {
  transition: transform var(--transition-fast);
}

.brand-card:hover .brand-card-link svg {
  transform: translateX(-3px);
}

@media (max-width: 576px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .brand-card-img {
    padding: 1.25rem 1rem;
  }
  .brand-card-img img {
    max-height: 70px;
  }
}

/* ==========================================================
   CATEGORIES BAR (redesigned)
   ========================================================== */
.cat-bar {
  margin: 1.75rem 0 2rem;
}

.cat-bar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.05));
  padding: 0.6rem;
}

/* viewport is natively scrollable too (no arrows needed) */
.cat-bar-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.cat-bar-viewport:active {
  cursor: grabbing;
}
.cat-bar-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
  -webkit-user-select: none;
}
.cat-bar-viewport.is-dragging .cat-pill {
  pointer-events: none;
}
.cat-bar-viewport::-webkit-scrollbar {
  height: 0;
  display: none;
}

/* drag-to-scroll: arrows animate via JS, the wheel scrolls instantly */

.cat-bar-track {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  min-width: 100%;
  padding: 0.15rem 0;
}

/* Bigger pill (category + image) */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1.2;
  min-height: 46px;
}

.cat-pill-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs, 0 1px 3px rgba(0,0,0,.06));
}

.cat-pill:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(12, 114, 186, 0.16);
  transform: translateY(-1px);
}

.cat-pill-all,
.cat-pill-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.cat-pill-all .cat-pill-icon,
.cat-pill-active .cat-pill-icon {
  border-color: rgba(255, 255, 255, 0.5);
}

.cat-pill-all:hover,
.cat-pill-active:hover {
  background: var(--color-primary-hover);
  color: #fff;
  border-color: var(--color-primary-hover);
  box-shadow: 0 2px 8px rgba(12, 114, 186, 0.25);
  transform: translateY(-1px);
}

/* nav arrows */
.cat-bar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: var(--shadow-xs, 0 1px 3px rgba(0,0,0,.06));
}

.cat-bar-nav:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.cat-bar-nav[disabled],
.cat-bar-nav.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 575px) {
  .cat-bar {
    margin: 1.25rem 0 1.5rem;
  }
  .cat-pill {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    min-height: 42px;
  }
  .cat-pill-icon {
    width: 28px;
    height: 28px;
  }
  .cat-bar-nav {
    width: 34px;
    height: 34px;
  }
}

/* ==========================================================
   END CATEGORIES BAR
   ========================================================== */

/* --- Shop Toolbar --- */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.shop-toolbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.shop-toolbar-results {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* --- View Mode Buttons --- */
.view-mode {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.view-mode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.view-mode-btn i {
  font-size: 18px;
}

.view-mode-btn:hover {
  color: var(--color-primary);
  background: var(--color-bg);
}

.view-mode-btn.active {
  color: var(--color-primary);
  background: var(--color-bg);
  box-shadow: var(--shadow-xs);
}

/* --- Sort Dropdown --- */
.shop-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shop-sort label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
  white-space: nowrap;
}

.shop-sort select {
  padding: 0.4rem 2rem 0.4rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  font-size: 0.875rem;
  color: var(--color-text);
  cursor: pointer;
  outline: none;
  appearance: auto;
}

.shop-sort select:focus {
  border-color: var(--color-primary);
}

/* --- Per Page --- */
.shop-perpage {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.perpage-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.perpage-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.perpage-btn.active {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* --- Toolbar Mobile --- */
@media (max-width: 767px) {
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .shop-toolbar-left,
  .shop-toolbar-right {
    justify-content: center;
  }

  .shop-toolbar-results {
    display: none;
  }
}

/* --- Product Details: Gallery --- */
.pd-gallery {
  position: relative;
}

.pd-main-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
}

.pd-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.pd-main-img:hover img {
  transform: scale(1.05);
}

.pd-main-img .pd-zoom-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition-fast);
  z-index: 999;
  cursor: pointer;
}

.pd-main-img:hover .pd-zoom-btn {
  opacity: 1;
  visibility: visible;
}

.pd-main-img .pd-zoom-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.pd-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.pd-badge-new {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--color-success);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
}

.pd-thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
}

.pd-thumbnails::-webkit-scrollbar {
  display: none;
}

.pd-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  background: var(--color-surface);
}

.pd-thumb.active,
.pd-thumb:hover {
  border-color: var(--color-primary);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Product Details: Info --- */
.pd-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pd-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  margin: 0;
}

.pd-barcode {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-family: monospace;
}

.pd-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pd-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pd-meta-item a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.pd-meta-item a:hover {
  text-decoration: underline;
}

.pd-brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-xs);
}

/* --- Product Details: Price --- */
.pd-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pd-price-current {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.pd-price-original {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.pd-price-discount {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  background: var(--color-success);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-xs);
}

.pd-price-currency {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pd-price-instead {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* --- Product Details: Variants --- */
.pd-variants {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pd-variant-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pd-variant-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
}

.pd-variant-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pd-color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.pd-color-swatch:hover,
.pd-color-swatch.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-light);
  transform: scale(1.1);
}

.pd-option-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.pd-option-btn:hover,
.pd-option-btn.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* --- Product Details: Actions --- */
.pd-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.pd-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pd-qty input {
  width: 52px;
  height: 44px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  background: var(--color-bg);
}

.pd-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 2rem;
  background: var(--color-dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.pd-add-btn:hover {
  background: var(--color-primary);
}

.pd-fav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.pd-fav-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pd-fav-btn.is-fav {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.pd-share-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}

.pd-share-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pd-share-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  z-index: 100;
}

.pd-share-menu.show {
  display: flex;
}

.pd-share-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.pd-share-menu a:hover {
  transform: scale(1.1);
}

.pd-share-fb { background: #1877f2; }
.pd-share-tw { background: #1da1f2; }
.pd-share-wa { background: #25d366; }

/* --- Product Details: Description --- */
.pd-description {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* --- Product Details: Article --- */
.pd-article {
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.pd-article h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.pd-article p {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  word-wrap: break-word;
  margin: 0;
}

/* --- Product Details: Features --- */
.pd-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.pd-feature-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.pd-feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.pd-feature-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pd-feature-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pd-feature-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
}

.pd-feature-value {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --- Product Details: Variant Images --- */
.pd-var-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.pd-var-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}

.pd-var-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Product Details: Section Titles --- */
.pd-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.pd-section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}

.pd-section-nav {
  display: flex;
  gap: 0.5rem;
}

.pd-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 16px;
}

.pd-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.pd-nav-btn i {
  font-size: 14px;
}

/* --- Product Details: Viewed Section --- */
.pd-viewed-section {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 50%, #f5f0ff 100%);
  padding: 3rem 0;
  margin-top: 2rem;
}

.pd-viewed-section .pd-section-title {
  color: var(--color-primary-dark);
}

.pd-viewed-section .pd-nav-btn {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pd-viewed-section .pd-nav-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* --- Product Details: EasyZoom override --- */
.easyzoom {
  position: relative;
  display: block;
}

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

.easyzoom-flyout {
  transition: opacity 0.35s ease;
  z-index: 100;
}

.easyzoom-flyout img {
  transition: transform 0.4s ease;
}

.pro-dec-big-img-slider .slick-list {
  direction: ltr;
}

.product-dec-slider-small {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.5rem 0;
}

.product-dec-slider-small::-webkit-scrollbar {
  display: none;
}

.product-dec-small {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.product-dec-small.active,
.product-dec-small:hover {
  border-color: var(--color-primary);
}

.product-dec-small img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 991px) {
  .pd-gallery {
    margin-bottom: 2rem;
  }
  .pd-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .pd-main-img {
    aspect-ratio: 1 / 1;
  }
  .pd-thumb {
    width: 56px;
    height: 56px;
  }
  .pd-title {
    font-size: 1.2rem;
  }
  .pd-price-current {
    font-size: 1.4rem;
  }
  .pd-add-btn {
    width: 100%;
    justify-content: center;
  }
  .pd-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pd-actions > div {
    justify-content: center;
  }
  .pd-features {
    grid-template-columns: 1fr;
  }
  .pd-section-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .pd-nav-btn {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================
   CART + CHECKOUT (shared)
   ========================================================== */
.cart-remove a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(231, 76, 60, 0.1);
  color: var(--color-error) !important;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.cart-remove a:hover {
  background: var(--color-error);
  color: #fff !important;
}

/* normalize product-card action icons (heart / view / cart) */
.custom-product-card .card-actions a,
.custom-product-card .card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.custom-product-card .card-actions i {
  line-height: 1;
  font-size: 1.15rem !important;
  vertical-align: middle;
}
.custom-product-card .card-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
}

/* ==========================================================
   GLOBAL ICON CONSISTENCY
   ========================================================== */

/* 1. Favorite (heart) icon — consistent everywhere, accent color */
.fav-icon,
.fav-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fav-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs, 0 1px 3px rgba(0,0,0,.06));
}
.fav-icon i {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--color-accent);
  transition: color 0.2s ease;
}
.fav-icon:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 10px rgba(240, 147, 77, 0.28);
  transform: translateY(-2px);
}
.fav-icon:hover i,
.fav-icon.is-active i {
  color: var(--color-accent);
}
.fav-icon.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.fav-icon.is-active i {
  color: #fff;
}

/* 2. List-view action hearts use the same component, keep spacing */
._list .card-actions .fav-icon,
.custom-product-list .fav-icon {
  margin: 0;
}

/* 3. Make ANY inline SVG behave like an icon (react to hover, use accent) */
svg {
  transition: fill 0.25s ease, stroke 0.25s ease, color 0.25s ease;
}
a:hover > svg,
button:hover > svg,
.btn:hover > svg {
  opacity: 0.9;
  fill: var(--color-accent);
  stroke: var(--color-accent);
  color: var(--color-accent); /* for currentColor-based (feather) icons */
}

/* ==========================================================
   SITE-WIDE ICON CONSISTENCY  (scoped to storefront wrapper)
   ========================================================== */
.main-wrapper i[class*="icon_"],
.main-wrapper i[class^="lnr "] {
  vertical-align: middle;
}

/* Elegant icon-font in content areas -> uniform visual weight */
.main-wrapper i.icon_star,
.main-wrapper i.icon_cart,
.main-wrapper i.icon_close,
.main-wrapper i.icon_bag_alt,
.main-wrapper i.icon_document_alt {
  line-height: 1;
}

/* accent color on ALL interactive icon links / buttons */
.main-wrapper a[class*="icon-"]:hover,
.main-wrapper a[class^="icon_"]:hover,
.main-wrapper a[class*=" icon_"]:hover,
.main-wrapper button[class*="icon-"]:hover {
  color: var(--color-accent);
}

/* breadcrumb icons */
.main-wrapper .breadcrumb-content a i {
  transition: color 0.2s ease;
}
.main-wrapper .breadcrumb-content a:hover i {
  color: var(--color-accent);
}

/* header top social + contact icons */
.main-wrapper .header-top .social-style-1 a {
  transition: color 0.2s ease, opacity 0.2s ease;
}
.main-wrapper .header-top .social-style-1 a:hover i,
.main-wrapper .header-top .social-style-1 a:hover svg {
  color: var(--color-accent);
}
.main-wrapper .icon-phone,
.main-wrapper .icon-envelope-open,
.main-wrapper .header-quick-contect li i {
  color: var(--color-accent);
}

/* section feature / offer / education style icons */
.main-wrapper .feature-icon i,
.main-wrapper .single-feature i,
.main-wrapper h4 i,
.main-wrapper h5 i,
.main-wrapper .title-wrap i,
.main-wrapper .section-title i {
  color: var(--color-accent);
}

/* consistent size for decorative icon-font in content sections */
.main-wrapper .feature-icon i,
.main-wrapper .single-feature i {
  font-size: 1.35rem;
}

/* cart / checkout / info icons */
.main-wrapper .cart-icon i,
.main-wrapper .checkout-panel-header .panel-icon i,
.main-wrapper .checkout-panel-header .panel-icon svg {
  color: var(--color-accent);
}
.main-wrapper .cart-title-wrap h2 i {
  color: var(--color-accent);
}

/* alerts / info icons accent */
.main-wrapper .alert i,
.main-wrapper .alert svg {
  color: var(--color-accent);
}
.main-wrapper .alert .close svg {
  color: var(--color-text-muted);
}
/* ==========================================================
   END SITE-WIDE ICON CONSISTENCY
   ========================================================== */

/* 4. Star ratings use the accent (secondary) color */
.icon_star:not(.gray),
.custom-product-list .icon_star:not(.gray) {
  color: var(--color-accent);
}
.icon_star.gray {
  color: var(--color-text-light);
}

/* 5. Lighten hard-coded old fav blue on list views if any remain */
.custom-product-list a i[style*="font-size: 27px"],
.product-list-img a i[style*="font-size: 27px"] {
  font-size: 1.15rem !important;
}

/* 6. Card action view/cart icons get the accent on hover */
.custom-product-card .card-actions .view-product i,
.custom-product-card .card-actions .add-to-cart i,
.custom-product-list .product-list-action button i {
  transition: color 0.2s ease;
}
.custom-product-card .card-actions .view-product:hover i,
.custom-product-card .card-actions .add-to-cart:hover i,
.custom-product-list .product-list-action button:hover i {
  color: var(--color-accent);
}

/* 7. Header cart / utility icons use the accent color consistently */
.header-cart a,
.header-cart-wrapper a {
  transition: color 0.25s ease;
}
.header-cart a:hover,
.header-cart-wrapper a:hover {
  color: var(--color-accent);
}/* ==========================================================
   END GLOBAL ICON CONSISTENCY
   ========================================================== */
/* ==========================================================
   END CART + CHECKOUT
   ========================================================== */

/* Fallback shown when a brand category has no image. Mirrors the 50px circle
   the <img> used to occupy, so the sidepanel rows keep their spacing. */
.brand-thumb-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin-inline: 10px;
	border-radius: 50%;
	font-family: 'Cairo', sans-serif;
	font-weight: 700;
	color: var(--color-primary, #1d4ed8);
	background: var(--color-surface);
	border: 1px dashed var(--color-border);
}
