/*
 * La Guardia Ferretera — visual layer on top of the "flory" theme.
 *
 * Why a separate file: stylesheet.css is regenerated from scss/ when theme options are
 * saved in the admin, and the committed stylesheet.css already diverged from scss/.
 * Keeping our rules here means they survive a regeneration. Load order: after stylesheet.css.
 */

:root {
  --gf-blue: #1739c4;
  --gf-blue-600: #122fa6;
  --gf-blue-50: #eef2ff;
  --gf-amber: #ffb400;
  --gf-amber-600: #e09e00;
  --gf-red: #d92d20;
  --gf-green: #1fa855;
  --gf-ink: #1b1f2a;
  --gf-ink-2: #4a5160;
  --gf-muted: #6b7280;
  --gf-line: #e5e7eb;
  --gf-bg: #f5f6f8;
  --gf-surface: #ffffff;
  --gf-radius: 10px;
  --gf-radius-sm: 6px;
  --gf-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --gf-shadow: 0 8px 24px -8px rgba(16, 24, 40, .18);
  --gf-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gf-font-head: 'Montserrat', var(--gf-font);
}

/* ---------- Base ---------- */
body {
  font-family: var(--gf-font);
  color: var(--gf-ink);
  background: var(--gf-surface);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gf-blue); }
a:hover, a:focus { color: var(--gf-blue-600); }

:focus-visible {
  outline: 3px solid rgba(23, 57, 196, .45);
  outline-offset: 2px;
}

.gf-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 10px 16px;
  background: var(--gf-ink);
  color: #fff;
}
.gf-skip-link:focus { left: 8px; top: 8px; color: #fff; }

.btn-primary,
.btn-default.btn-primary {
  background: var(--gf-blue);
  border-color: var(--gf-blue);
  color: #fff;
  border-radius: var(--gf-radius-sm);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--gf-blue-600);
  border-color: var(--gf-blue-600);
}

.gf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.gf-btn:hover { transform: translateY(-1px); box-shadow: var(--gf-shadow); }
.gf-btn--primary { background: var(--gf-amber); color: var(--gf-ink); }
.gf-btn--primary:hover, .gf-btn--primary:focus { background: var(--gf-amber-600); color: var(--gf-ink); }
.gf-btn--whatsapp { background: var(--gf-green); color: #fff; }
.gf-btn--whatsapp:hover, .gf-btn--whatsapp:focus { background: #178a45; color: #fff; }

/* ---------- Header ---------- */
.header-top {
  padding: 14px 0;
  border-bottom: 1px solid var(--gf-line);
  box-shadow: 0 1px 0 rgba(16, 24, 40, .02);
}

#_desktop_logo #logo img { max-height: 58px; width: auto; }
.gf-logo-text { font: 700 20px/1.2 var(--gf-font-head); color: var(--gf-blue); }

/* Search: one clear, large field */
#search_widget #search,
.search-mobile-container #search {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 2px solid var(--gf-blue);
  border-radius: 999px;
  overflow: visible;
  background: #fff;
}
#search_widget #search .form-control,
.search-mobile-container #search .form-control {
  height: 46px;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 999px 0 0 999px;
  padding: 0 20px;
  font-size: 15px;
  color: var(--gf-ink);
}
#search_widget #search .form-control::placeholder,
.search-mobile-container #search .form-control::placeholder { color: var(--gf-muted); }
#search .ajax-search-btn {
  position: static;
  top: auto;
  right: auto;
  flex: 0 0 auto;
  margin: 3px;
  height: auto;
  border: 0;
  border-radius: 999px !important;
  padding: 0 24px;
  background: var(--gf-blue);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  text-transform: none;
}
#search .ajax-search-btn:hover, #search .ajax-search-btn:focus { background: var(--gf-blue-600); color: #fff; }

.ajaxishi-search {
  border-radius: var(--gf-radius);
  box-shadow: var(--gf-shadow);
  border: 1px solid var(--gf-line);
  overflow: hidden;
}
/* The theme keeps the results box displayed when it is empty: its border and shadow showed as a line under the search bar. */
.ajaxishi-search:not(:has(li)) { display: none !important; }

/* Account / cart buttons */
.desktop-custom-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
.desktop-custom-info .button-account-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--gf-radius-sm);
  background: transparent;
  border: 0;
  color: var(--gf-ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-custom-info .button-account-home:hover { background: var(--gf-blue-50); color: var(--gf-blue); }
.desktop-custom-info .button-account-home .fa-2x { font-size: 20px; color: var(--gf-blue); }

/* Blue navigation bar */
.nav-full-width {
  background: var(--gf-blue);
  padding: 0;
}
.nav-full-width .row { min-height: 52px; }

#_desktop_top_menu { margin-top: 0; }
#_desktop_top_menu .home-title {
  margin: 6px 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 600;
  letter-spacing: .6px;
  border-radius: var(--gf-radius-sm);
  transition: background-color .15s ease;
}
#_desktop_top_menu .home-title:hover { background: rgba(255, 255, 255, .2); }
#_desktop_top_menu .wrapper-menu .line-menu,
#_desktop_top_menu .wrapper-menu .line-menu:after { background-color: #fff; }

#top-menu {
  top: 58px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  box-shadow: var(--gf-shadow);
  overflow: visible;
}
#top-menu > li > a,
#top-menu > li.maintitle > a {
  font-size: 13px;
  color: var(--gf-ink);
  transition: color .12s ease, background-color .12s ease;
}
#top-menu > li:hover > a { color: var(--gf-blue); background: var(--gf-blue-50); }
#top-menu > li.maintitle:last-child > a {
  color: var(--gf-blue);
  font-weight: 600;
}

/* Quick links in the nav bar (desktop) */
.gf-quick-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 1 1 auto;
  padding-right: 15px;
}
.gf-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--gf-radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.gf-quick-links a:hover, .gf-quick-links a:focus { background: rgba(255, 255, 255, .14); color: #fff; }
.gf-quick-links a .fa { font-size: 15px; opacity: .9; }
.gf-quick-links .gf-quick-whatsapp { background: var(--gf-green); }
.gf-quick-links .gf-quick-whatsapp:hover, .gf-quick-links .gf-quick-whatsapp:focus { background: #178a45; }
.gf-quick-links .nav-lista-mayorista { background: var(--gf-amber); color: var(--gf-ink); }
.gf-quick-links .nav-lista-mayorista:hover { background: var(--gf-amber-600); color: var(--gf-ink); }

@media (max-width: 1199px) {
  .gf-quick-links a { padding: 9px 9px; font-size: 12px; }
}
@media (max-width: 991px) {
  .gf-quick-links { display: none; }
}

/* ---------- Home: hero / main slider ---------- */
#top_home { padding-top: 18px; background: var(--gf-bg); }

.gf-hero {
  float: right;
  margin-bottom: 18px;
  padding: 0;
}
.gf-hero__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--gf-radius);
  background: #dfe3ea;
  box-shadow: var(--gf-shadow-sm);
}
.gf-hero .owl-carousel,
.gf-hero .owl-stage-outer,
.gf-hero .owl-stage,
.gf-hero .owl-item,
.gf-hero .item,
.gf-hero .slideshow__link { height: 100%; }
.gf-hero .owl-carousel { display: block; } /* reserve space before owl initialises */
.gf-hero .item img.gf-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.gf-hero .slideshow__link { display: block; position: relative; color: inherit; }

.gf-hero__slide--text .slideshow__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 17, 40, .72) 0%, rgba(10, 17, 40, .35) 45%, rgba(10, 17, 40, 0) 70%);
  pointer-events: none;
}
.gf-hero__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  left: 6%;
  max-width: 52%;
  color: #fff;
}
.gf-hero__content--right { left: auto; right: 6%; }
.gf-hero__content--center { left: 50%; transform: translate(-50%, -50%); text-align: center; }
.gf-hero__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gf-amber);
  color: var(--gf-ink);
  font: 600 12px/1.2 var(--gf-font);
  letter-spacing: .8px;
  text-transform: uppercase;
}
.gf-hero__title {
  margin: 0 0 10px;
  color: #fff;
  font: 700 clamp(22px, 3.1vw, 44px)/1.1 var(--gf-font-head);
  letter-spacing: -.5px;
  text-transform: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.gf-hero__desc {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.5;
}
.gf-hero__cta.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--gf-amber);
  color: var(--gf-ink);
  font-weight: 600;
  font-size: 14px;
  transition: background-color .15s ease, transform .15s ease;
}
.gf-hero .slideshow__link:hover .gf-hero__cta { background: #fff; transform: translateX(3px); }

.gf-hero .owl-dots.gf-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.gf-hero .owl-dots.gf-hero__dots .owl-dot span {
  display: block;
  width: 9px;
  height: 9px;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  transition: width .25s ease, background-color .25s ease;
}
.gf-hero .owl-dots.gf-hero__dots .owl-dot.active span { width: 26px; background: #fff; }
.gf-hero .owl-nav .gf-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  margin: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9) !important;
  color: var(--gf-ink) !important;
  font-size: 22px;
  opacity: 0;
  transition: opacity .2s ease;
  box-shadow: var(--gf-shadow-sm);
}
.gf-hero .owl-nav .owl-prev.gf-hero__nav { left: 14px; }
.gf-hero .owl-nav .owl-next.gf-hero__nav { right: 14px; }
.gf-hero:hover .owl-nav .gf-hero__nav,
.gf-hero .owl-nav .gf-hero__nav:focus { opacity: 1; }

@media (max-width: 991px) {
  .gf-hero { float: none; width: 100%; }
  .gf-hero__content { max-width: 80%; left: 5%; }
  .gf-hero__desc { display: none; }
  .gf-hero .owl-nav { display: none; }
  .ishislider .owl-carousel .container { display: block; }
}
@media (max-width: 543px) {
  .gf-hero__frame { border-radius: var(--gf-radius-sm); }
  .gf-hero__cta.btn { padding: 9px 16px; font-size: 13px; }
  .gf-hero__eyebrow { margin-bottom: 8px; font-size: 10px; }
}

/* Side banners next to the slider */
.top_bottom_content .ishibannerblock img,
.top_home_content .ishibannerblock img {
  border-radius: var(--gf-radius);
  transition: transform .3s ease, box-shadow .3s ease;
}
.top_bottom_content .ishibannerblock a:hover img,
.top_home_content .ishibannerblock a:hover img { transform: translateY(-2px); box-shadow: var(--gf-shadow); }

/* ---------- Home: intro + trust strip ---------- */
.gf-intro {
  padding: 26px 0 8px;
  background: var(--gf-bg);
}
.gf-intro__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.gf-intro__title {
  margin: 0 0 6px;
  font: 700 clamp(20px, 2.2vw, 28px)/1.2 var(--gf-font-head);
  color: var(--gf-ink);
  letter-spacing: -.3px;
}
.gf-intro__text {
  margin: 0;
  max-width: 760px;
  color: var(--gf-ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.gf-intro__actions { display: flex; gap: 10px; flex-shrink: 0; }

.gf-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.gf-trust__item > a,
.gf-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gf-ink);
  text-decoration: none;
}
.gf-trust__item {
  padding: 16px 18px;
  background: var(--gf-surface);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gf-trust__item:hover { border-color: rgba(23, 57, 196, .35); box-shadow: var(--gf-shadow-sm); }
.gf-trust__item .fa {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gf-blue-50);
  color: var(--gf-blue);
  font-size: 20px;
}
.gf-trust__item .fa-whatsapp { background: #e7f7ee; color: var(--gf-green); }
.gf-trust__item strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.gf-trust__item span { display: block; color: var(--gf-muted); font-size: 12.5px; line-height: 1.4; }

@media (max-width: 991px) {
  .gf-intro__head { flex-direction: column; align-items: flex-start; }
  .gf-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 543px) {
  .gf-trust { grid-template-columns: 1fr; gap: 10px; }
  .gf-intro__actions { width: 100%; }
  .gf-intro__actions .gf-btn { flex: 1; justify-content: center; }
}

/* ---------- Section headings (shared) ---------- */
.gf-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.gf-section-title,
.section-header .home-title,
.ishiproductsblock .home-title {
  margin: 0;
  font: 700 clamp(20px, 2vw, 26px)/1.2 var(--gf-font-head);
  color: var(--gf-ink);
  text-transform: none;
  letter-spacing: -.3px;
}
.section-header { margin-bottom: 22px; }
.gf-link-more {
  font-weight: 600;
  font-size: 14px;
  color: var(--gf-blue);
  white-space: nowrap;
}

/* ---------- Home: shop by category ---------- */
.gf-categories { padding: 34px 0 10px; }
.gf-categories__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.gf-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 18px 10px 16px;
  text-align: center;
  background: var(--gf-surface);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  color: var(--gf-ink);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.gf-category-card:hover, .gf-category-card:focus {
  transform: translateY(-2px);
  border-color: rgba(23, 57, 196, .35);
  box-shadow: var(--gf-shadow);
  color: var(--gf-blue);
  text-decoration: none;
}
.gf-category-card__media {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gf-bg);
  overflow: hidden;
}
.gf-category-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gf-category-card__initial { font: 700 30px/1 var(--gf-font-head); color: var(--gf-blue); }
.gf-category-card__name { font-size: 13.5px; font-weight: 600; line-height: 1.3; }

@media (max-width: 1199px) { .gf-categories__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .gf-categories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .gf-category-card__media { width: 60px; height: 60px; }
}
@media (max-width: 479px) { .gf-categories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Product cards ---------- */
.product-thumb {
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: var(--gf-surface);
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.product-thumb:hover {
  border-color: rgba(23, 57, 196, .3);
  box-shadow: var(--gf-shadow);
  transform: translateY(-2px);
}
.product-thumb .image { background: #fff; }
.product-thumb .image img { transition: transform .35s ease; }
.product-thumb:hover .image img { transform: scale(1.03); }
.product-thumb h4 a { color: var(--gf-ink); font-weight: 600; }
.product-thumb h4 a:hover { color: var(--gf-blue); }
.product-thumb .price { color: var(--gf-ink); font-weight: 700; font-size: 16px; }
.product-thumb .price-new { color: var(--gf-red); }
.product-thumb .price-old { color: var(--gf-muted); font-weight: 400; }
.product-thumb .sale,
.product-thumb .on-sale,
.product-thumb .discount-percentage {
  background: var(--gf-red);
  border-radius: 999px;
}

/* ---------- Brands carousel ---------- */
#box-container-manufacturer .item a,
.ishimanufacturerblock .item a {
  display: block;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#box-container-manufacturer .item a:hover,
.ishimanufacturerblock .item a:hover { border-color: rgba(23, 57, 196, .35); box-shadow: var(--gf-shadow-sm); }
#box-container-manufacturer img,
.ishimanufacturerblock img {
  filter: grayscale(1);
  opacity: .75;
  transition: filter .2s ease, opacity .2s ease;
}
#box-container-manufacturer .item a:hover img,
.ishimanufacturerblock .item a:hover img { filter: none; opacity: 1; }

/* ---------- Breadcrumb / page title ---------- */
.breadcrumb-container .page-title.h1 { font-family: var(--gf-font-head); }
.breadcrumb > li > a { color: var(--gf-muted); }
.breadcrumb > li > a:hover { color: var(--gf-blue); }

/* ---------- Footer ---------- */
#footer .footer-container { background: #0f1630; }
#footer .footer-container,
#footer .footer-container a,
#footer .footer-container .content { color: rgba(255, 255, 255, .72); }
#footer .footer-container a:hover { color: #fff; }
#footer h5,
#footer .footer-title .h3 {
  color: #fff;
  font-family: var(--gf-font-head);
  font-weight: 700;
  letter-spacing: .2px;
  text-transform: none;
}
#footer .block .icon { color: var(--gf-amber); }
#footer .footer-after { background: #0a1024; }

#slidetop {
  border-radius: 999px;
  background-color: var(--gf-blue);
  box-shadow: var(--gf-shadow);
}

/* ---------- Mobile header tweaks ---------- */
@media (max-width: 991px) {
  .nav-full-width { background: #fff; border-bottom: 1px solid var(--gf-line); }
  .search-mobile-container { padding: 0 12px 10px; }
  .search-mobile-container #search { margin: 0; }
  .nav-buttons-container-mobile-top a {
    border-radius: 999px;
    font-weight: 500;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Category page: subcategories without images ---------- */
.gf-subcat-chips { margin: 0 0 24px; }
.gf-subcat-chips ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.gf-subcat-chips a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--gf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--gf-ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.gf-subcat-chips a:hover, .gf-subcat-chips a:focus {
  border-color: var(--gf-blue);
  background: var(--gf-blue-50);
  color: var(--gf-blue);
}

/* ---------- Home hero layout: [category menu] [slider] [side banners] ---------- */
@media (min-width: 992px) {
  #top_home .top_home_content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24%;
    gap: 16px;
    align-items: stretch;
    padding-right: 15px;
  }
  #top_home .top_home_content > :empty { display: none; }
  #top_home .top_home_content > .gf-hero {
    grid-column: 1;
    grid-row: 1;
    float: none;
    width: auto;
    margin: 0 0 18px;
  }
  #top_home .top_home_content > .ishibannerblock {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  #top_home .top_home_content > .ishibannerblock > * { width: 100%; padding: 0; margin: 0; }
  #top_home .top_home_content > .ishibannerblock img { width: 100%; height: auto; }
  #top_home .top_home_content > .ishibannerblock { justify-content: space-between; }
}

/* The theme animates slide captions in from opacity:0; ours are always readable. */
.gf-hero .gf-hero__content,
.gf-hero .gf-hero__content > * {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
}
.gf-hero .gf-hero__title.main-title { font-size: clamp(22px, 2.6vw, 42px); }

/* ---------- Product cards: image always on top (some tabs output it after the text) ---------- */
.ishiproductsblock .product-thumb { display: flex; flex-direction: column; }
.ishiproductsblock .product-thumb > .image { order: -1; }
.ishiproductsblock .product-thumb > .product-description { padding: 12px 14px 16px; }

/* A single tab is just noise */
.ishiproductstab:has(> li:only-child) { display: none; }
.ishiproductstab .nav-link { border-radius: 999px; }

/* Section rhythm on the home page */
#top_home { margin-bottom: 0; }
#top_home .top_bottom_content:empty,
#top_home .top_bottom_content:not(:has(*)) { display: none; }
.content_middle > section,
.content_middle > div { margin-top: 36px; }
#common-home > .gf-intro,
#common-home > .gf-categories { margin: 0; }
#common-home > #top_home { padding-bottom: 0; background: var(--gf-bg); background-image: none; }
.gf-intro { padding-top: 8px; padding-bottom: 28px; }

/* Brand carousel container is "overflow-visible", which made the whole page scroll sideways on phones. */
#box-container-manufacturer, .manufacturerblock { overflow-x: clip; }
@supports not (overflow: clip) { #box-container-manufacturer, .manufacturerblock { overflow-x: hidden; } }

/* Trust strip: compact two-column cards on phones */
@media (max-width: 543px) {
  .gf-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gf-trust__item, .gf-trust__item > a { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gf-trust__item { padding: 12px; }
  .gf-trust__item .fa { flex-basis: 36px; width: 36px; height: 36px; font-size: 17px; }
}

/* Category menu must not float over the page when the hero is empty (e.g. missing slider images). */
@media (min-width: 992px) {
  .gf-home #top_home .top_home_content { min-height: 430px; }
}
@media (min-width: 992px) {
  #top_home .top_home_content:not(:has(.ishibannerblock img)) { grid-template-columns: minmax(0, 1fr); }
  #top_home .top_home_content:not(:has(.ishibannerblock img)) > .ishibannerblock { display: none; }
}

/* ---------- Category menu: closed dropdown on every page, slider gets the full width ---------- */
@media (min-width: 992px) {
  #top_home .top_home_content,
  .gf-home #top_home .top_home_content {
    width: 100%;
    margin-left: 0;
    min-height: 0;
  }
  /* Opens on hover (and still on click, handled by the theme script). */
  #_desktop_top_menu:hover > #top-menu,
  #_desktop_top_menu:focus-within > #top-menu {
    display: block !important;
    height: auto !important;
  }
  #_desktop_top_menu #top-menu { z-index: 60; }
  #_desktop_top_menu .home-title::after {
    content: "\f107";
    display: inline-block !important;
    position: static;
    margin-left: 10px;
    font-family: FontAwesome;
    border: 0;
    width: auto;
    height: auto;
    background: none;
    transition: transform .2s ease;
  }
  #_desktop_top_menu:hover .home-title::after { transform: rotate(180deg); }
}
@media (min-width: 992px) {
  #top_home .top_home_content { padding-left: 15px; padding-right: 15px; }
}

.gf-category-card__icon { font-size: 30px; color: var(--gf-blue); }
.gf-category-card:hover .gf-category-card__media { background: var(--gf-blue-50); }
.content_middle > .gf-categories { padding: 10px 0 34px; }
.content_middle .ishiproductsblock { margin-top: 20px; }

@media (max-width: 991px) {
  .nav-buttons-container-mobile-top { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
  .nav-buttons-container-mobile-top a,
  .nav-buttons-container-mobile-top a.btn-servicios {
    background: var(--gf-blue-50) !important;
    color: var(--gf-blue) !important;
    border: 0 !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600;
    text-transform: none !important;
    letter-spacing: 0;
    box-shadow: none;
  }
  .nav-buttons-container-mobile-top a.nav-lista-mayorista { background: var(--gf-amber) !important; color: var(--gf-ink) !important; }
  .gf-logo-text { font-size: 17px; white-space: nowrap; }
}

/* =====================================================================
   Mobile-first navigation (< 992px)
   ===================================================================== */
html { -webkit-tap-highlight-color: rgba(23, 57, 196, .12); }
a, button, [role="button"] { touch-action: manipulation; }

/* ---------- Bottom navigation ---------- */
.gf-bottom-nav { display: none; }

@media (max-width: 991px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  .gf-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 0 4px env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--gf-line);
    box-shadow: 0 -6px 20px -12px rgba(16, 24, 40, .25);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
  }
  .gf-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    padding: 6px 0 4px;
    border: 0;
    background: none;
    color: var(--gf-ink-2);
    font: 500 11px/1.1 var(--gf-font);
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
  }
  .gf-bottom-nav__item .fa { font-size: 21px; line-height: 1; transition: transform .15s ease; }
  .gf-bottom-nav__item:active .fa { transform: scale(.88); }
  .gf-bottom-nav__item:hover, .gf-bottom-nav__item:focus { color: var(--gf-blue); text-decoration: none; }
  .gf-bottom-nav__item.is-active { color: var(--gf-blue); font-weight: 600; }
  .gf-bottom-nav__item.is-active .fa {
    padding: 4px 14px;
    margin-top: -4px;
    border-radius: 999px;
    background: var(--gf-blue-50);
  }
  .gf-bottom-nav__item--whatsapp .fa { color: var(--gf-green); }

  /* The bottom bar replaces the floating WhatsApp button and the header shortcut row. */
  .whatsapp-button { display: none !important; }
  .nav-buttons-container-mobile { display: none !important; }
  #slidetop { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- Compact mobile header ---------- */
@media (max-width: 991px) {
  .nav-full-height { min-height: 0; }
  .nav-full-width > .container { padding: 8px 12px 4px; }
  .nav-full-width .row { min-height: 48px; margin: 0; }
  .menu-left, .menu-right-mobile { display: flex; align-items: center; }
  #menu-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
  }
  #menu-icon:active { background: var(--gf-blue-50); }
  .button-account-home-mobile { min-width: 44px; min-height: 44px; }
  #_mobile_logo img { max-height: 40px; width: auto; }
  .search-mobile-container { padding: 4px 12px 12px; }
  .search-mobile-container #search .form-control { height: 44px; font-size: 16px; } /* 16px avoids iOS zoom on focus */
  .search-mobile-container #search .ajax-search-btn { padding: 0 18px; }
}

/* ---------- Category drawer ---------- */
@media (max-width: 991px) {
  #mobile_top_menu_wrapper.gf-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    display: flex !important;
    flex-direction: column;
    width: min(86vw, 360px) !important;
    background: #fff;
    box-shadow: 12px 0 32px -12px rgba(16, 24, 40, .35);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
    will-change: transform;
  }
  body.gf-menu-open #mobile_top_menu_wrapper.gf-drawer {
    transform: translateX(0);
    visibility: visible;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s;
  }
  body.gf-menu-open { overflow: hidden; }

  #menu_wrapper {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(10, 17, 40, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  #menu_wrapper.active { opacity: 1; pointer-events: auto; }

  .gf-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 12px 14px 20px;
    background: var(--gf-blue);
    color: #fff;
    flex-shrink: 0;
  }
  .gf-drawer__title { font: 700 18px/1.2 var(--gf-font-head); }
  #top_menu_closer.gf-drawer__close {
    position: static;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 20px;
  }
  .gf-drawer__body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  /* Category list inside the drawer */
  .gf-drawer #_mobile_top_menu .wrapper-menu,
  .gf-drawer #_mobile_top_menu .home-title,
  .gf-drawer .gf-menu-all { display: none !important; }
  .gf-drawer #_mobile_top_menu #top-menu {
    position: static;
    display: block !important;
    height: auto !important;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .gf-drawer #top-menu > li { border-bottom: 1px solid var(--gf-line); }
  .gf-drawer #top-menu > li:after { display: none; }
  .gf-drawer #top-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 56px 0 20px !important;
    font-size: 15px !important;
    font-weight: 500;
    color: var(--gf-ink) !important;
    text-transform: none;
  }
  .gf-drawer #top-menu > li > .pull-xs-right {
    position: absolute;
    top: 0;
    right: 0;
    height: 52px;
  }
  .gf-drawer #top-menu .navbar-toggler {
    width: 52px;
    height: 52px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--gf-muted);
    font-size: 18px;
  }
  .gf-drawer #top-menu .sub-menu {
    position: static !important;
    width: auto !important;
    margin: 0;
    padding: 4px 0 10px;
    border: 0;
    box-shadow: none;
    background: var(--gf-bg);
  }
  .gf-drawer #top-menu .sub-menu a {
    display: block;
    padding: 11px 20px 11px 32px;
    font-size: 14px;
    color: var(--gf-ink-2);
  }

  .gf-drawer__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 16px 4px;
    padding: 12px 16px;
    border-radius: var(--gf-radius);
    background: var(--gf-blue-50);
    color: var(--gf-blue);
    font-weight: 600;
  }
  .gf-drawer__label {
    margin: 20px 20px 6px;
    color: var(--gf-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
  }
  .gf-drawer__links { margin: 0; }
  .gf-drawer__links a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 48px;
    padding: 0 20px;
    color: var(--gf-ink);
    font-size: 15px;
  }
  .gf-drawer__links .fa { width: 20px; text-align: center; color: var(--gf-blue); font-size: 17px; }
  .gf-drawer__whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px;
    min-height: 48px;
    border-radius: 999px;
    background: var(--gf-green);
    color: #fff !important;
    font-weight: 600;
  }
}

/* ---------- Home on phones: less scrolling, swipeable rows ---------- */
@media (max-width: 767px) {
  #top_home { padding-top: 12px; }
  #top_home .container { padding-left: 12px; padding-right: 12px; }
  .gf-hero__frame { border-radius: var(--gf-radius); }

  .gf-intro { padding: 4px 0 20px; }
  .gf-intro__head { gap: 14px; margin-bottom: 16px; }
  .gf-intro__title { font-size: 21px; }
  .gf-intro__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
  }

  /* Horizontal, swipeable strips instead of tall stacked grids */
  .gf-trust,
  .gf-categories__grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 10px;
    margin: 0 -12px;
    padding: 2px 12px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gf-trust::-webkit-scrollbar,
  .gf-categories__grid::-webkit-scrollbar { display: none; }
  .gf-trust { grid-auto-columns: 72%; }
  .gf-trust__item, .gf-trust__item > a { flex-direction: row; align-items: center; }
  .gf-trust__item { scroll-snap-align: start; padding: 12px 14px; }

  .gf-categories { padding: 22px 0 6px; }
  .content_middle > .gf-categories { padding: 6px 0 22px; }
  .gf-categories .container { padding-left: 12px; padding-right: 12px; }
  .gf-categories__grid { grid-template-rows: repeat(2, auto); grid-auto-columns: 31%; }
  .gf-categories__grid > li { scroll-snap-align: start; }
  .gf-category-card { padding: 14px 6px 12px; gap: 8px; }
  .gf-category-card__media { width: 54px; height: 54px; }
  .gf-category-card__icon { font-size: 22px; }
  .gf-category-card__name { font-size: 12px; }
  .gf-section-head { margin-bottom: 12px; }
  .gf-section-title, .section-header .home-title, .ishiproductsblock .home-title { font-size: 19px; }
  .section-header { margin-bottom: 14px; }
  .content_middle > section, .content_middle > div { margin-top: 18px; }
}
@media (max-width: 543px) {
  .gf-trust { grid-template-columns: none; grid-auto-columns: 78%; }
  .gf-trust__item .fa { flex-basis: 36px; }
}

/* ---------- Category page on phones ---------- */
@media (max-width: 767px) {
  .gf-subcat-chips { margin: 0 -15px 16px; }
  .gf-subcat-chips ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 15px 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gf-subcat-chips ul::-webkit-scrollbar { display: none; }
  .gf-subcat-chips li { flex: 0 0 auto; scroll-snap-align: start; }
  .gf-subcat-chips a { padding: 9px 14px; white-space: nowrap; }

  .breadcrumb-container { padding: 12px; }
  .product-list-top { position: sticky; top: 0; z-index: 20; }
}

/* =====================================================================
   Fluid page-to-page navigation
   ===================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Brands: tidy grid on desktop, swipeable 2-row strip on phones ---------- */
.manufacturer-grid { gap: 16px; margin-top: 8px; }
.manufacturer-item { margin-bottom: 0; }
.manufacturer-item > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 96px;
  padding: 10px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.manufacturer-item > a:hover { border-color: rgba(23, 57, 196, .35); box-shadow: var(--gf-shadow-sm); }
.manufacturer-image img { max-height: 64px; width: auto; margin: 0 auto; }
.manufacturer-name-placeholder { font-weight: 600; font-size: 13px; color: var(--gf-muted); }

@media (max-width: 767px) {
  #box-container-manufacturer { margin: 0; } /* not inside .container: no negative gutter */
  .manufacturer-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 76px);
    grid-auto-columns: 34%;
    gap: 10px;
    justify-content: start;
    margin: 0;
    padding: 2px 12px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .manufacturer-grid::-webkit-scrollbar { display: none; }
  .manufacturer-item { max-width: none !important; flex: none !important; scroll-snap-align: start; }
  .manufacturer-item:hover { transform: none; }
  .manufacturer-item > a { min-height: 0; }
  .manufacturer-image img { max-height: 46px; }
}

/* Bottom nav: same box for every icon so labels stay aligned */
@media (max-width: 991px) {
  .gf-bottom-nav__item .fa { padding: 4px 14px; border-radius: 999px; margin-top: 0; }
  .gf-bottom-nav__item.is-active .fa { margin-top: 0; }
}
@media (max-width: 543px) {
  .gf-section-head { align-items: center; }
  .gf-link-more { font-size: 13px; }
  .gf-section-head .gf-section-title { font-size: 18px; }
}
@media (max-width: 991px) {
  .gf-drawer #_mobile_top_menu { padding: 0; margin: 0; }
  .gf-drawer #top-menu > li { position: relative; padding: 0 !important; margin: 0 !important; }
  .gf-drawer #top-menu > li > .pull-xs-right { top: 0; right: 0; width: 52px; }
  .gf-drawer #top-menu > li > .pull-xs-right .navbar-toggler { position: static !important; top: auto; }
  .gf-drawer #top-menu > li > a .fa { display: none; }
  #top_menu_closer.gf-drawer__close i { color: #fff; }
}
@media (max-width: 991px) {
  .gf-drawer #top-menu > li > a { display: flex !important; width: 100%; line-height: 1.3; }
}
@media (max-width: 991px) {
  .gf-drawer #top-menu .sub-menu { padding: 4px 0 8px !important; }
  .gf-drawer #top-menu .sub-menu ul { margin: 0; padding: 0; width: 100%; }
  .gf-drawer #top-menu .sub-menu a {
    display: block;
    padding: 11px 20px 11px 36px !important;
    font-size: 14px !important;
    color: var(--gf-ink-2) !important;
    text-transform: none;
  }
  .gf-drawer #top-menu .sub-menu li { border: 0; }
}

/* ---------- Category / search listings on phones ---------- */
.breadcrumb-container h1.page-title { font-size: 20px; margin: 0 0 6px; }

@media (max-width: 767px) {
  .breadcrumb-container { margin-bottom: 12px; padding: 12px 14px; text-align: left; }
  .breadcrumb-container h1.page-title { font-size: 18px; text-align: left; }
  .breadcrumb-container .breadcrumb { justify-content: flex-start; font-size: 12px; }

  /* Toolbar: one row, sort grows, limit stays compact */
  .product-list-top { margin: 0 0 12px; padding: 8px 10px; border-radius: var(--gf-radius); background: #fff; border: 1px solid var(--gf-line); box-shadow: var(--gf-shadow-sm); }
  .product-list-top > .row { display: flex; align-items: center; margin: 0; }
  .product-list-top .btn-list-grid,
  .product-list-top .compare-total,
  .product-list-top .sort-by,
  .product-list-top .show { display: none !important; }
  .product-list-top .pagination-right { display: flex; gap: 8px; width: 100%; margin: 0; padding: 0; float: none; }
  .product-list-top .sort-by-wrapper { flex: 1 1 auto; margin: 0; }
  .product-list-top .show-wrapper { flex: 0 0 84px; margin: 0; }
  .product-list-top .sort-by-wrapper > div,
  .product-list-top .show-wrapper > div { width: 100%; padding: 0; float: none; }
  .product-list-top select.form-control { height: 40px; font-size: 14px; border-radius: 8px; }

  /* Two products per row */
  .product-list-js { display: flex; flex-wrap: wrap; margin: 0 -6px; }
  .product-list-js > .product-layout {
    width: 50% !important;
    float: none;
    padding: 0 6px;
    margin-bottom: 12px;
  }
  .product-list-js > .product-layout .product-thumb { height: 100%; display: flex; flex-direction: column; }
  .product-list-js > .product-layout .product-thumb .image { order: -1; }
  .product-list-js .product-thumb .caption,
  .product-list-js .product-thumb .product-description { padding: 8px 10px 10px; text-align: left; }
  .product-list-js .product-thumb h4 { height: auto; margin-bottom: 6px; }
  .product-list-js .product-thumb h4 a { font-size: 13px !important; line-height: 1.3; -webkit-line-clamp: 3; }
  .product-list-js .product-thumb .description,
  .product-list-js .product-thumb .rating { display: none; }
  .product-list-js .product-thumb .price { font-size: 15px; }
  .product-list-js .product-thumb .button-group { display: none; } /* hover-only actions: not reachable on touch */
  .product-list-js .product-thumb .btn { width: 100%; padding: 9px 6px; font-size: 12px; border-radius: 8px; }
}
@media (max-width: 767px) {
  .product-list-js > .product-layout,
  .product-list-js > .product-layout > .product-thumb,
  .product-list-js > .product-layout .image { margin-top: 0 !important; }
  .product-list-js > .product-layout .product-thumb { margin-bottom: 0; }
}

/* ---------- Product page on phones: name once, price sooner ---------- */
@media (max-width: 767px) {
  #product-product .breadcrumb-container { padding: 10px 14px; }
  #product-product .breadcrumb-container .page-title { display: none; }
  #product-product .breadcrumb-container .breadcrumb { font-size: 12px; justify-content: flex-start; }
  #product-product .product-left-title .product-title {
    margin: 4px 0 12px;
    font: 700 19px/1.3 var(--gf-font-head);
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
  }
  #product-product .product_carousel .thumbnail { margin-bottom: 10px; border-radius: var(--gf-radius); }
  #product-product .product_carousel .thumbnail img { max-height: 280px; width: auto; margin: 0 auto; }
}
/* One frame per brand: the theme draws its own box inside the link. */
.manufacturer-item .manufacturer-image {
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

/* =====================================================================
   Wholesale current account (cuenta corriente)
   ===================================================================== */
.gf-cc-page { padding-bottom: 32px; }
.gf-cc-page .breadcrumb-container { text-align: left; }

.gf-btn--blue { background: var(--gf-blue); color: #fff; }
.gf-btn--blue:hover, .gf-btn--blue:focus { background: var(--gf-blue-600); color: #fff; }
.gf-btn--ghost { background: #fff; color: var(--gf-ink); border: 1px solid var(--gf-line); }
.gf-btn--ghost:hover, .gf-btn--ghost:focus { border-color: var(--gf-blue); color: var(--gf-blue); }

/* Tabs */
.gf-cc-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 16px;
  padding: 4px;
  border-radius: 999px;
  background: var(--gf-bg);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.gf-cc-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--gf-ink-2);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
}
.gf-cc-tabs__item:hover { color: var(--gf-blue); text-decoration: none; }
.gf-cc-tabs__item.is-active { background: #fff; color: var(--gf-blue); box-shadow: var(--gf-shadow-sm); }

/* Status hero */
.gf-cc-status {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  margin-bottom: 16px;
  border-radius: var(--gf-radius);
  border: 1px solid var(--gf-line);
  background: #fff;
}
.gf-cc-status__icon {
  flex: 0 0 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 24px;
}
.gf-cc-status__title { margin: 2px 0 6px; font: 700 21px/1.25 var(--gf-font-head); color: var(--gf-ink); }
.gf-cc-status__text { margin: 0 0 4px; font-size: 15px; line-height: 1.55; color: var(--gf-ink); }
.gf-cc-status__text--muted { color: var(--gf-ink-2); }
.gf-cc-status__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.gf-cc-status--overdue { background: #fff5f4; border-color: #f5c2bd; }
.gf-cc-status--overdue .gf-cc-status__icon { background: #fde3e0; color: var(--gf-red); }
.gf-cc-status--due_soon { background: #fffaeb; border-color: #f7dc8f; }
.gf-cc-status--due_soon .gf-cc-status__icon { background: #fef0c7; color: #b54708; }
.gf-cc-status--current .gf-cc-status__icon,
.gf-cc-status--clear .gf-cc-status__icon { background: #e7f7ee; color: var(--gf-green); }
.gf-cc-status--clear { background: #f4fbf7; border-color: #bde8cf; }

/* Key figures */
.gf-cc-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}
.gf-cc-kpi {
  padding: 14px 16px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: #fff;
}
.gf-cc-kpi dt { margin-bottom: 6px; color: var(--gf-muted); font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.gf-cc-kpi__value { margin: 0; font: 700 20px/1.2 var(--gf-font-head); color: var(--gf-ink); font-variant-numeric: tabular-nums; }
.gf-cc-kpi__value small { display: block; margin-top: 4px; font: 500 13px/1.3 var(--gf-font); color: var(--gf-ink-2); }
.gf-cc-kpi--overdue.is-alert { border-color: #f5c2bd; background: #fff5f4; }
.gf-cc-kpi--overdue.is-alert .gf-cc-kpi__value { color: var(--gf-red); }
.gf-cc-kpi--soon.is-warn { border-color: #f7dc8f; background: #fffaeb; }
.gf-cc-kpi--soon.is-warn .gf-cc-kpi__value { color: #b54708; }

/* Generic card */
.gf-cc-card {
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: #fff;
}
.gf-cc-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.gf-cc-card__title { margin: 0; font: 700 17px/1.3 var(--gf-font-head); color: var(--gf-ink); }
.gf-cc-card__hint { margin: 4px 0 0; color: var(--gf-muted); font-size: 13px; }
.gf-cc-card--empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.gf-cc-card--empty .fa-info-circle { font-size: 26px; color: var(--gf-blue); }
.gf-cc-card--empty p { margin: 0; font-size: 15px; }

/* Aging */
.gf-cc-aging__bar { display: flex; height: 14px; margin: 12px 0; overflow: hidden; border-radius: 999px; background: var(--gf-bg); }
.gf-cc-aging__seg--0_30 { background: #fdb022; }
.gf-cc-aging__seg--31_60 { background: #f79009; }
.gf-cc-aging__seg--61_90 { background: #e04f16; }
.gf-cc-aging__seg--90_plus { background: #b42318; }
.gf-cc-aging__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; font-size: 13px; color: var(--gf-ink-2); }
.gf-cc-aging__legend li { display: inline-flex; align-items: center; gap: 6px; }
.gf-cc-aging__legend li.is-empty { opacity: .5; }
.gf-cc-aging__legend strong { color: var(--gf-ink); font-variant-numeric: tabular-nums; }
.gf-cc-aging__dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* Urgent documents list */
.gf-cc-docs { margin: 0; }
.gf-cc-doc {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--gf-line);
}
.gf-cc-doc:first-child { border-top: 0; }
.gf-cc-doc__type { display: block; color: var(--gf-muted); font-size: 12px; }
.gf-cc-doc__number { font-weight: 600; font-size: 14px; }
.gf-cc-doc__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: var(--gf-muted); }
.gf-cc-doc__amount { font-size: 15px; font-variant-numeric: tabular-nums; min-width: 120px; text-align: right; }
.gf-cc-doc--overdue .gf-cc-doc__amount { color: var(--gf-red); }

/* Badges */
.gf-cc-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.gf-cc-badge--overdue { background: #fde3e0; color: #b42318; }
.gf-cc-badge--due_soon { background: #fef0c7; color: #b54708; }
.gf-cc-badge--current { background: var(--gf-blue-50); color: var(--gf-blue); }
.gf-cc-badge--credit { background: #e7f7ee; color: #067647; }

/* Freshness note */
.gf-cc-updated { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 18px; color: var(--gf-muted); font-size: 13px; }
.gf-cc-updated.is-stale { padding: 10px 14px; border-radius: var(--gf-radius-sm); background: #fffaeb; color: #93370d; }

/* Filters + table */
.gf-cc-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.gf-cc-filters__field { display: flex; flex-direction: column; gap: 4px; margin: 0; font-weight: 600; font-size: 12px; color: var(--gf-muted); text-transform: uppercase; letter-spacing: .4px; }
.gf-cc-filters__field .form-control { height: 40px; min-width: 160px; border-radius: 8px; font-size: 14px; }
.gf-cc-filters__actions { display: flex; gap: 8px; }
.gf-cc-filters__actions .gf-btn { height: 40px; }

.gf-cc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gf-cc-table { margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.gf-cc-table > thead > tr > th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gf-line);
  background: var(--gf-bg);
  color: var(--gf-ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.gf-cc-table > tbody > tr > td { padding: 11px 12px; border-top: 1px solid var(--gf-line); vertical-align: middle; white-space: nowrap; }
.gf-cc-table > tbody > tr:hover > td { background: #fafbff; }
.gf-cc-table__type { display: block; color: var(--gf-muted); font-size: 11px; }
.gf-cc-debit { color: var(--gf-ink); }
.gf-cc-credit { color: #067647; }
.gf-cc-row--overdue > td:first-child { box-shadow: inset 3px 0 0 var(--gf-red); }
.gf-cc-empty { padding: 28px !important; }
.gf-cc-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; color: var(--gf-ink-2); font-size: 13px; }

@media (max-width: 991px) {
  .gf-cc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .gf-cc-status { flex-direction: column; gap: 12px; padding: 18px 16px; }
  .gf-cc-status__icon { flex-basis: auto; width: 44px; height: 44px; font-size: 20px; }
  .gf-cc-status__title { font-size: 19px; }
  .gf-cc-status__actions .gf-btn { flex: 1 1 100%; justify-content: center; }
  .gf-cc-kpi { padding: 12px; }
  .gf-cc-kpi__value { font-size: 17px; }
  .gf-cc-card { padding: 16px 14px; }
  .gf-cc-doc { grid-template-columns: 1fr auto; }
  .gf-cc-doc__meta { grid-column: 1; grid-row: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
  .gf-cc-doc__amount { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
  .gf-cc-filters__field { flex: 1 1 calc(50% - 6px); }
  .gf-cc-filters__field .form-control { min-width: 0; width: 100%; }
  .gf-cc-filters__actions { flex: 1 1 100%; }
  .gf-cc-filters__actions .gf-btn { flex: 1; justify-content: center; }

  /* Table rows become cards */
  .gf-cc-table thead { display: none; }
  .gf-cc-table, .gf-cc-table tbody, .gf-cc-table tr, .gf-cc-table td { display: block; width: 100%; }
  .gf-cc-table > tbody > tr {
    margin-bottom: 10px;
    padding: 6px 12px;
    border: 1px solid var(--gf-line);
    border-radius: var(--gf-radius);
  }
  .gf-cc-table > tbody > tr > td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border: 0;
    text-align: right !important;
    white-space: normal;
  }
  .gf-cc-table > tbody > tr > td::before {
    content: attr(data-label);
    color: var(--gf-muted);
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
  }
  .gf-cc-table > tbody > tr > td.gf-cc-empty::before { content: none; }
  .gf-cc-table > tbody > tr > td:first-child { font-weight: 600; border-bottom: 1px solid var(--gf-line); padding-bottom: 8px; margin-bottom: 4px; }
  .gf-cc-row--overdue { border-color: #f5c2bd !important; }
  .gf-cc-row--overdue > td:first-child { box-shadow: none; }
  .gf-cc-table__type { display: inline; margin-right: 4px; }
}

/* Printable statement */
@media print {
  header, footer, #footer, .gf-bottom-nav, .gf-cc-tabs, .gf-cc-status__actions, .gf-cc-filters, .gf-cc-pager,
  .gf-assistant, .whatsapp-button, #slidetop, .breadcrumb { display: none !important; }
  body { padding: 0 !important; }
  .gf-cc-card, .gf-cc-status, .gf-cc-kpi { break-inside: avoid; box-shadow: none; }
  .gf-cc-table thead { display: table-header-group !important; }
}

/* ---------- Wholesale navigation: status dot, nav entry, overdue notice ---------- */
.gf-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--gf-red);
  box-shadow: 0 0 0 2px #fff;
  vertical-align: middle;
}
.gf-dot--due_soon { background: var(--gf-amber); }
.gf-quick-links .gf-quick-cc { background: rgba(255, 255, 255, .14); font-weight: 600; }
.gf-quick-links .gf-quick-cc.has-due_soon .gf-dot { background: var(--gf-amber); }
.gf-quick-links .gf-quick-cc .gf-dot { box-shadow: 0 0 0 2px var(--gf-blue); }

.gf-cc-alert { background: #fde3e0; border-bottom: 1px solid #f5c2bd; color: #7a271a; }
.gf-cc-alert[hidden] { display: none; }
.gf-cc-alert__inner { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.gf-cc-alert__inner > .fa { color: var(--gf-red); font-size: 18px; }
.gf-cc-alert p { flex: 1 1 auto; margin: 0; font-size: 14px; font-weight: 500; }
.gf-cc-alert__link { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; background: var(--gf-red); color: #fff !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.gf-cc-alert__close { flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #7a271a; font-size: 22px; line-height: 1; }
.gf-cc-alert__close:hover { background: rgba(180, 35, 24, .1); }

.gf-bottom-nav__icon { position: relative; display: inline-flex; }
.gf-bottom-nav__icon .gf-dot { position: absolute; top: 0; right: 6px; margin: 0; }
.gf-drawer__links .gf-dot { margin-left: auto; }

@media (max-width: 767px) {
  .gf-cc-alert__inner { flex-wrap: wrap; gap: 8px 10px; padding: 10px 14px; }
  .gf-cc-alert p { flex-basis: calc(100% - 60px); font-size: 13px; }
  .gf-cc-alert__link { order: 3; flex: 1 1 100%; text-align: center; }

  .gf-cc-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 14px; }
  .gf-cc-tabs__item { justify-content: center; padding: 9px 8px; border-radius: 10px; font-size: 12.5px; white-space: normal; text-align: center; line-height: 1.25; }
  .gf-cc-page .breadcrumb-container { padding: 12px 14px; margin-bottom: 12px; }
  .gf-cc-page .breadcrumb-container .page-title { font-size: 18px; text-align: left; }
  .gf-cc-page .breadcrumb-container .breadcrumb { justify-content: flex-start; font-size: 12px; }
}
@media (max-width: 767px) {
  .gf-cc-alert__inner { flex-wrap: wrap; }
  .gf-cc-alert__inner > .fa { order: 1; }
  .gf-cc-alert p { order: 2; flex: 1 1 0; min-width: 0; }
  .gf-cc-alert__close { order: 3; margin-left: auto; }
  .gf-cc-alert__link { order: 4; flex: 1 1 100%; }
}

/* =====================================================================
   Account assistant chat (wholesale customers)
   ===================================================================== */
.gf-assistant { position: fixed; right: 20px; bottom: 20px; z-index: 9995; font-family: var(--gf-font); }
.gf-assistant__launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--gf-blue);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 24px -8px rgba(23, 57, 196, .55);
  transition: transform .15s ease, background-color .15s ease;
}
.gf-assistant__launcher:hover { background: var(--gf-blue-600); transform: translateY(-1px); }
.gf-assistant__launcher .fa { font-size: 18px; }
.gf-assistant-open .gf-assistant__launcher { display: none; }

.gf-assistant__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 380px;
  height: min(600px, calc(100vh - 120px));
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 48px -12px rgba(16, 24, 40, .35);
  border: 1px solid var(--gf-line);
}
.gf-assistant__panel[hidden] { display: none; }
.gf-assistant__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 12px 14px 18px;
  background: var(--gf-blue);
  color: #fff;
}
.gf-assistant__head > div { flex: 1 1 auto; min-width: 0; }
.gf-assistant__title { margin: 0; font: 700 16px/1.25 var(--gf-font-head); color: #fff; }
.gf-assistant__status { margin: 2px 0 0; font-size: 12.5px; opacity: .9; }
.gf-assistant__icon-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.gf-assistant__icon-btn:hover { background: rgba(255, 255, 255, .24); }

.gf-assistant__log {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--gf-bg);
}
.gf-assistant__msg {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
  word-wrap: break-word;
}
.gf-assistant__msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--gf-line); border-bottom-left-radius: 4px; }
.gf-assistant__msg--user { align-self: flex-end; background: var(--gf-blue); color: #fff; border-bottom-right-radius: 4px; }
.gf-assistant__msg--typing { align-self: flex-start; color: var(--gf-muted); font-style: italic; background: transparent; padding-left: 4px; }
.gf-assistant__msg--error { align-self: flex-start; background: #fde3e0; color: #7a271a; }
.gf-assistant__msg a { color: inherit; font-weight: 600; text-decoration: underline; }

.gf-assistant__chips {
  display: flex;
  gap: 6px;
  padding: 10px 12px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gf-assistant__chips::-webkit-scrollbar { display: none; }
.gf-assistant__chips button {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--gf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--gf-blue);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.gf-assistant__chips button:hover { border-color: var(--gf-blue); background: var(--gf-blue-50); }

.gf-assistant__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 6px; }
.gf-assistant__form textarea {
  flex: 1 1 auto;
  min-height: 42px;
  max-height: 120px;
  padding: 10px 14px;
  border: 1px solid var(--gf-line);
  border-radius: 14px;
  resize: none;
  font-size: 16px; /* avoids iOS zoom */
  line-height: 1.35;
}
.gf-assistant__form textarea:focus { outline: none; border-color: var(--gf-blue); box-shadow: 0 0 0 3px rgba(23, 57, 196, .15); }
.gf-assistant__send {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gf-blue);
  color: #fff;
}
.gf-assistant__disclaimer { margin: 0; padding: 0 14px 10px; color: var(--gf-muted); font-size: 11px; }

/* Desktop: keep the floating WhatsApp button clear of the assistant */
@media (min-width: 992px) {
  body:has(.gf-assistant) .whatsapp-button { bottom: 84px !important; }
  body:has(.gf-assistant) #slidetop { right: 230px !important; }
}

@media (max-width: 991px) {
  .gf-assistant { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .gf-assistant__launcher { width: 54px; height: 54px; padding: 0; justify-content: center; }
  .gf-assistant__launcher-text { display: none; }
  .gf-assistant__launcher .fa { font-size: 22px; }
  #slidetop { bottom: calc(140px + env(safe-area-inset-bottom)) !important; }

  /* Full-screen sheet on phones */
  .gf-assistant-open .gf-assistant { inset: 0; z-index: 100000; }
  .gf-assistant__panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; border: 0; }
  .gf-assistant__head { padding-top: calc(12px + env(safe-area-inset-top)); }
  .gf-assistant__disclaimer { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  body.gf-assistant-open { overflow: hidden; }
}
@media (max-width: 991px) {
  .gf-assistant-open .gf-bottom-nav { display: none; }
}

/* =====================================================================
   Login
   ===================================================================== */
.gf-auth { padding: 8px 0 40px; }
.gf-auth__breadcrumb { margin: 8px 0 18px; padding: 0; background: none; font-size: 13px; }
.gf-auth__card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--gf-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 48px -24px rgba(16, 24, 40, .25);
}
.gf-auth__main { padding: 44px 48px 36px; }
.gf-auth__title { margin: 0 0 8px; font: 700 28px/1.2 var(--gf-font-head); color: var(--gf-ink); letter-spacing: -.3px; text-transform: none; }
.gf-auth__subtitle { margin: 0 0 24px; color: var(--gf-ink-2); font-size: 15px; }

.gf-auth__alert { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.gf-auth__alert--error { background: #fde3e0; color: #7a271a; }
.gf-auth__alert--success { background: #e7f7ee; color: #05603a; }

.gf-field { margin-bottom: 18px; }
.gf-field label { display: block; margin: 0 0 6px; color: var(--gf-ink); font-size: 14px; font-weight: 600; }
.gf-field__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gf-field__link { font-size: 13px; font-weight: 500; }
.gf-field__control { position: relative; }
.gf-field__control > .fa { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: var(--gf-muted); pointer-events: none; }
.gf-field__control .form-control {
  height: 50px;
  padding: 0 48px 0 42px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  box-shadow: none;
  font-size: 16px;
  color: var(--gf-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gf-field__control .form-control:focus { border-color: var(--gf-blue); box-shadow: 0 0 0 4px rgba(23, 57, 196, .14); }
.gf-field__toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--gf-muted);
}
.gf-field__toggle:hover { background: var(--gf-bg); color: var(--gf-ink); }
.gf-auth__submit { width: 100%; justify-content: center; height: 52px; margin-top: 6px; border-radius: 12px; font-size: 16px; }
.gf-auth__wholesale {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--gf-bg);
  color: var(--gf-ink-2);
  font-size: 14px;
}
.gf-auth__wholesale .fa { color: var(--gf-green); font-size: 20px; }
.gf-auth__wholesale a { font-weight: 600; }

.gf-auth__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 40px;
  overflow: hidden;
  background: radial-gradient(120% 80% at 100% 0%, #2f55e8 0%, var(--gf-blue) 45%, #0d2378 100%);
  color: #fff;
}
.gf-auth__aside::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255, 180, 0, .22);
}
.gf-auth__aside > * { position: relative; z-index: 1; }
.gf-auth__aside-title { margin: 0 0 10px; font: 700 23px/1.25 var(--gf-font-head); color: #fff; }
.gf-auth__aside-text { margin: 0 0 20px; color: rgba(255, 255, 255, .86); font-size: 15px; }
.gf-auth__benefits { margin: 0 0 28px; }
.gf-auth__benefits li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 14.5px; line-height: 1.4; }
.gf-auth__benefits .fa {
  flex: 0 0 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, .15);
  color: var(--gf-amber);
}
.gf-auth__register { align-self: flex-start; padding: 13px 22px; background: var(--gf-amber); color: var(--gf-ink); font-weight: 700; }
.gf-auth__register:hover, .gf-auth__register:focus { background: #fff; color: var(--gf-ink); }

@media (max-width: 767px) {
  .gf-auth { padding-top: 0; }
  .gf-auth__breadcrumb { display: none; }
  .gf-auth__card { grid-template-columns: 1fr; border-radius: 16px; margin-top: 12px; }
  .gf-auth__main { padding: 28px 20px 24px; }
  .gf-auth__title { font-size: 24px; }
  .gf-auth__aside { padding: 28px 20px; }
  .gf-auth__register { align-self: stretch; text-align: center; justify-content: center; }
}
.gf-auth__breadcrumb.breadcrumb { display: flex; justify-content: flex-start; float: none; margin: 20px auto 16px; max-width: 980px; text-align: left; }
@media (max-width: 767px) {
  #account-login.gf-auth { padding-left: 15px; padding-right: 15px; }
  .gf-auth__breadcrumb.breadcrumb { display: none; }
}

/* Main slider: never taller than the first screen (images are cropped with object-fit: cover). */
.gf-hero__frame { max-height: min(64vh, 520px); }
.gf-hero__img { object-position: 70% 50%; }
@media (max-width: 767px) {
  .gf-hero__frame { max-height: none; aspect-ratio: 4 / 3 !important; }
  .gf-hero__img { object-position: 78% 50%; }
}
.gf-hero .gf-hero__eyebrow.sub-title { display: inline-block !important; width: auto !important; max-width: 100%; padding: 6px 14px; }
@media (max-width: 767px) {
  .gf-hero__slide--text .slideshow__link::after {
    background: linear-gradient(90deg, rgba(7, 18, 60, .88) 0%, rgba(7, 18, 60, .7) 55%, rgba(7, 18, 60, .35) 100%);
  }
  .gf-hero__content { max-width: 88%; }
}

/* =====================================================================
   Home layout v3: trust bar, promo banners, help band
   ===================================================================== */
/* Compact trust bar right under the slider */
.gf-trustbar { padding: 0 0 8px; background: var(--gf-bg); }
.gf-trustbar .gf-trust { gap: 0; padding: 6px 0; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: #fff; }
.gf-trustbar .gf-trust__item {
  padding: 12px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.gf-trustbar .gf-trust__item + .gf-trust__item { border-left: 1px solid var(--gf-line); }
.gf-trustbar .gf-trust__item:hover { box-shadow: none; }
.gf-trustbar .gf-trust__item .fa { flex-basis: 38px; width: 38px; height: 38px; font-size: 17px; border-radius: 10px; }
#common-home > #top_home { padding-bottom: 14px; }

/* Brands: "see all" */
.gf-brands-more { margin-top: 18px; text-align: center; }

/* Promo banners */
.gf-promos { padding: 8px 0 30px; }
.gf-promos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gf-promo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 190px;
  padding: 28px 30px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gf-promo:hover, .gf-promo:focus { transform: translateY(-3px); box-shadow: 0 22px 40px -18px rgba(16, 24, 40, .45); color: #fff; text-decoration: none; }
.gf-promo::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.gf-promo--offers { background: linear-gradient(120deg, #ff8a00 0%, #ffb400 100%); color: var(--gf-ink); }
.gf-promo--offers:hover, .gf-promo--offers:focus { color: var(--gf-ink); }
.gf-promo--wholesale { background: linear-gradient(120deg, #0b1f6e 0%, var(--gf-blue) 100%); }
.gf-promo__body { position: relative; display: flex; flex-direction: column; gap: 6px; max-width: 72%; }
.gf-promo__tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.gf-promo--offers .gf-promo__tag { background: rgba(27, 31, 42, .12); }
.gf-promo__title { font: 700 22px/1.2 var(--gf-font-head); letter-spacing: -.2px; }
.gf-promo__text { font-size: 14px; line-height: 1.45; opacity: .9; }
.gf-promo__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--gf-ink);
  font-size: 14px;
  font-weight: 700;
  transition: gap .15s ease;
}
.gf-promo:hover .gf-promo__cta { gap: 12px; }
.gf-promo--wholesale .gf-promo__cta { background: var(--gf-amber); }
.gf-promo__icon {
  position: absolute;
  right: 26px;
  bottom: 18px;
  font-size: 120px;
  opacity: .22;
  transform: rotate(-12deg);
}
.gf-promo--offers .gf-promo__icon { color: #fff; opacity: .55; }

/* Help band before the footer */
.gf-help { padding: 34px 0 44px; }
.gf-help__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 18px;
  background: var(--gf-blue-50);
  border: 1px solid #d6defd;
}
.gf-help__icon {
  flex: 0 0 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--gf-blue);
  color: #fff;
  font-size: 28px;
}
.gf-help__body { flex: 1 1 auto; min-width: 0; }
.gf-help__title { margin: 0 0 4px; font: 700 21px/1.25 var(--gf-font-head); color: var(--gf-ink); }
.gf-help__text { margin: 0 0 6px; color: var(--gf-ink-2); font-size: 15px; }
.gf-help__link { font-size: 13.5px; font-weight: 600; }
.gf-help__actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.gf-help__actions .gf-btn { justify-content: center; }
.gf-btn--light { background: #fff; color: var(--gf-ink); border: 1px solid #d6defd; }
.gf-btn--light:hover, .gf-btn--light:focus { border-color: var(--gf-blue); color: var(--gf-blue); }

@media (max-width: 991px) {
  .gf-trustbar .gf-trust__item + .gf-trust__item { border-left: 0; }
  .gf-trustbar .gf-trust { border: 0; background: transparent; padding: 0; }
  .gf-trustbar .gf-trust__item { border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: #fff; }
  .gf-promos__grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 767px) {
  .gf-promos { padding: 4px 0 18px; }
  .gf-promos .container { padding-left: 12px; padding-right: 12px; }
  .gf-promo { min-height: 0; padding: 22px 20px; border-radius: 16px; }
  .gf-promo__body { max-width: 100%; }
  .gf-promo__title { font-size: 19px; }
  .gf-promo__icon { font-size: 90px; right: 10px; bottom: 10px; }
  .gf-help { padding: 22px 0 28px; }
  .gf-help .container { padding-left: 12px; padding-right: 12px; }
  .gf-help__inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 18px; }
  .gf-help__icon { flex-basis: auto; width: 52px; height: 52px; font-size: 22px; }
  .gf-help__actions { width: 100%; }
}
@media (max-width: 767px) {
  .gf-trustbar .container { padding-left: 12px; padding-right: 12px; }
}

/* Live search: interpretation hint, empty state, "see all" */
.ajaxishi-search ul li.gf-ac-hint { padding: 10px 14px; background: var(--gf-blue-50); color: var(--gf-ink-2); font-size: 13px; }
.ajaxishi-search ul li.gf-ac-empty { background: #fff; color: var(--gf-muted); }
.ajaxishi-search ul li.gf-ac-all a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; background: var(--gf-bg); color: var(--gf-blue); font-weight: 600; font-size: 14px; }
.ajaxishi-search ul li.gf-ac-all a:hover { background: var(--gf-blue-50); }

/* Search results: filter-by-category chips */
.gf-facets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 16px; }
.gf-facets__label { color: var(--gf-muted); font-size: 13px; font-weight: 600; }
.gf-facets ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.gf-facet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--gf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--gf-ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.gf-facet span { padding: 1px 7px; border-radius: 999px; background: var(--gf-bg); color: var(--gf-muted); font-size: 11.5px; font-weight: 600; }
.gf-facet:hover, .gf-facet:focus { border-color: var(--gf-blue); color: var(--gf-blue); text-decoration: none; }
.gf-facet.is-active { background: var(--gf-blue); border-color: var(--gf-blue); color: #fff; }
.gf-facet.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }
.gf-facet--all { color: var(--gf-red); }
@media (max-width: 767px) {
  .gf-facets { flex-wrap: nowrap; margin: 0 -15px 14px; padding: 0 15px; overflow-x: auto; scrollbar-width: none; }
  .gf-facets::-webkit-scrollbar { display: none; }
  .gf-facets ul { flex-wrap: nowrap; }
}

/* Live search dropdown v2 */
.ajaxishi-search { max-height: min(70vh, 560px); overflow-y: auto; background: #fff; }
.ajaxishi-search ul li.gf-ac-title { padding: 10px 14px 4px; color: var(--gf-muted); font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; border: 0; }
.ajaxishi-search ul li.gf-ac-category a,
.ajaxishi-search ul li.gf-ac-suggest a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: var(--gf-ink);
  font-size: 14px;
  text-decoration: none;
}
.ajaxishi-search ul li.gf-ac-category .fa,
.ajaxishi-search ul li.gf-ac-suggest .fa { color: var(--gf-blue); width: 16px; text-align: center; }
.ajaxishi-search ul li.gf-ac-category span { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--gf-bg); color: var(--gf-muted); font-size: 12px; font-weight: 600; }
.ajaxishi-search ul li.gf-ac-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 14px 14px; }
.ajaxishi-search ul li.gf-ac-chips a { padding: 6px 12px; border: 1px solid var(--gf-line); border-radius: 999px; color: var(--gf-ink); font-size: 13px; text-decoration: none; }
.ajaxishi-search ul li.gf-ac-chips a:hover { border-color: var(--gf-blue); color: var(--gf-blue); }
.ajaxishi-search mark { padding: 0 1px; border-radius: 3px; background: #fff1c2; color: inherit; font-weight: 700; }
.ajaxishi-search a:hover,
.ajaxishi-search a.is-active { background: var(--gf-blue-50) !important; outline: none; }
.ajaxishi-search ul li.gf-ac-chips a.is-active { border-color: var(--gf-blue); }

/* =====================================================================
   Footer credit
   ===================================================================== */
.footer-aftertext .gf-credit { margin: 4px 0 0; font-size: 12px; opacity: .8; }
.footer-aftertext .gf-credit a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.footer-aftertext .gf-credit a:hover, .footer-aftertext .gf-credit a:focus { opacity: 1; color: #fff; }

/* =====================================================================
   Brands page: every logo, same tiles as the home strip
   ===================================================================== */
.gf-brands-intro { max-width: 720px; margin: 0 0 18px; color: var(--gf-ink-2); font-size: 15px; line-height: 1.55; }
.gf-brand-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}
.gf-brand-wall a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.gf-brand-wall a:hover, .gf-brand-wall a:focus { border-color: rgba(23, 57, 196, .35); box-shadow: var(--gf-shadow-sm); transform: translateY(-2px); }
.gf-brand-wall img { width: auto; max-width: 100%; height: auto; max-height: 72px; object-fit: contain; }
.gf-brand-wall__name { color: var(--gf-ink-2); font-weight: 700; font-size: 14px; text-align: center; }

.gf-brands-cta {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 340px) auto;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  padding: 20px 24px;
  border-radius: var(--gf-radius);
  background: var(--gf-blue-50);
}
.gf-brands-cta__title { margin: 0 0 4px; font: 700 18px/1.3 var(--gf-font-head); color: var(--gf-ink); text-transform: none; }
.gf-brands-cta__text { margin: 0; color: var(--gf-ink-2); font-size: 14px; }
.gf-brands-cta__form { display: flex; gap: 8px; margin: 0; }
.gf-brands-cta__form .form-control { height: 44px; border-radius: var(--gf-radius-sm); border-color: var(--gf-line); background: #fff; }
.gf-brands-cta__form .btn { flex: none; width: 44px; height: 44px; padding: 0; }
@media (max-width: 991px) {
  .gf-brands-cta { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .gf-brand-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gf-brand-wall a { min-height: 76px; padding: 10px; }
  .gf-brand-wall img { max-height: 48px; }
  .gf-brands-cta { padding: 18px 16px; }
}
@media (max-width: 380px) {
  .gf-brand-wall { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
   Technical services: searchable cards
   ===================================================================== */
#information-servicios-tecnicos .breadcrumb-container { text-align: left; }
.gf-st-tools { margin: 0 0 18px; }
.gf-st-intro { margin: 0 0 14px; color: var(--gf-ink-2); font-size: 15px; }
.gf-st-search { position: relative; max-width: 560px; margin: 0 0 12px; }
.gf-st-search .fa { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); color: var(--gf-muted); pointer-events: none; }
.gf-st-search .form-control {
  height: 48px;
  padding-left: 44px;
  border: 2px solid var(--gf-line);
  border-radius: 999px;
  font-size: 15px;
  box-shadow: none;
}
.gf-st-search .form-control:focus { border-color: var(--gf-blue); }
.gf-st-cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.gf-st-cities .gf-facet { cursor: pointer; font-family: inherit; }
.gf-st-count { margin: 0; color: var(--gf-muted); font-size: 13px; }

.gf-st-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}
.gf-st-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: #fff;
}
.gf-st-card[hidden] { display: none; }
.gf-st-card__head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.gf-st-card__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gf-blue-50);
  color: var(--gf-blue);
  font-size: 18px;
}
.gf-st-card__brand { margin: 0; font: 700 16px/1.25 var(--gf-font-head); color: var(--gf-ink); text-transform: none; letter-spacing: 0; }
.gf-st-card__city { color: var(--gf-muted); font-size: 12.5px; }
.gf-st-card__info { flex: 1; margin: 0 0 14px; }
.gf-st-card__info li { display: flex; gap: 8px; padding: 3px 0; color: var(--gf-ink-2); font-size: 13.5px; line-height: 1.45; }
.gf-st-card__info .fa { flex: none; width: 16px; margin-top: 3px; color: var(--gf-muted); text-align: center; }
.gf-st-card__info a { word-break: break-word; }
.gf-st-card__contact { color: var(--gf-muted); }
.gf-st-card__actions { display: flex; gap: 8px; }
.gf-st-card__actions .btn { flex: 1; padding: 9px 10px; font-size: 13px; }
.gf-st-empty { padding: 28px 20px; border-radius: var(--gf-radius); background: var(--gf-bg); text-align: center; color: var(--gf-ink-2); }
.gf-st-empty[hidden] { display: none; }
@media (max-width: 767px) {
  .gf-st-list { grid-template-columns: 1fr; gap: 12px; }
  .gf-st-cities { flex-wrap: nowrap; margin: 0 -15px 10px; padding: 0 15px; overflow-x: auto; scrollbar-width: none; }
  .gf-st-cities::-webkit-scrollbar { display: none; }
  .gf-st-cities .gf-facet { flex: none; }
}

/* =====================================================================
   Product page
   ===================================================================== */
#product-product .breadcrumb-container .breadcrumb { justify-content: flex-start; }
#product-product .product-left-title { display: block; margin: 0 0 12px; text-align: left; }
#product-product .product-left-title .product-title {
  margin: 4px 0 6px;
  font: 700 24px/1.3 var(--gf-font-head);
  color: var(--gf-ink);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}
.gf-pdp-brand {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gf-blue-50);
  color: var(--gf-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.gf-pdp-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 4px;
  padding: 16px 18px;
  border-radius: var(--gf-radius);
  background: var(--gf-bg);
}
.gf-pdp-price__value { font: 700 30px/1.1 var(--gf-font-head); color: var(--gf-ink); }
.gf-pdp-price__value.is-special { color: var(--gf-red); }
.gf-pdp-price__old { color: var(--gf-muted); font-size: 16px; text-decoration: line-through; }
.gf-pdp-price__tax { color: var(--gf-muted); font-size: 13px; }
.gf-pdp-stock { flex-basis: 100%; color: var(--gf-green); font-size: 13px; font-weight: 600; }
.gf-pdp-stock.is-out { color: var(--gf-red); }

/* The theme's rules between the price and the buy box (empty when there are no points or discounts). */
#product-product .product-right > hr,
#product-product .product-right .price hr { display: none; }
#product-product .product-right .list-unstyled.price:empty { display: none; }

/* Buy box: quantity and the main action on one line. */
#product-product .product-right .form-group.hidden-xs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}
#product-product .product-right .form-group.hidden-xs > label { flex-basis: 100%; margin: 0; color: var(--gf-ink-2); font-size: 13px; font-weight: 600; }
#product-product .product-right .form-group.hidden-xs > .row { display: flex; align-items: center; margin: 0; border: 1px solid var(--gf-line); border-radius: var(--gf-radius-sm); overflow: hidden; }
#product-product .product-right .form-group.hidden-xs > .row .col { padding: 0; }
#product-product .product-right .form-group.hidden-xs > .row .btn { height: 46px; min-width: 42px; margin: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
#product-product .product-right .form-group.hidden-xs #input-quantity { width: 52px; height: 46px; border: 0; text-align: center; }
#product-product .product-right #button-cart,
#product-product .product-right #consultar-wpp-product {
  flex: 1 1 220px;
  width: auto;
  height: 48px;
  margin: 0;
  border-radius: var(--gf-radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 48px;
  padding: 0 18px;
  text-transform: none;
}
#product-product .product-right .wishlist,
#product-product .product-right .compare { flex: none; width: 48px; height: 48px; margin: 0; border-radius: var(--gf-radius-sm); }

/* Sales unit, brand and codes */
#product-product .product-right ul.attr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 16px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  overflow: hidden;
}
#product-product .product-right ul.attr li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: auto;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--gf-line);
  background: #fff;
  color: var(--gf-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}
#product-product .product-right ul.attr li:nth-child(odd) { border-right: 1px solid var(--gf-line); }
#product-product .product-right ul.attr li span {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
  color: var(--gf-muted);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.gf-pdp-perks { display: grid; gap: 8px; margin: 0 0 20px; }
.gf-pdp-perks a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  color: var(--gf-ink-2);
  font-size: 13px;
  transition: border-color .15s ease;
}
.gf-pdp-perks a:hover, .gf-pdp-perks a:focus { border-color: var(--gf-blue); text-decoration: none; }
.gf-pdp-perks .fa { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gf-blue-50); color: var(--gf-blue); font-size: 16px; line-height: 34px; text-align: center; }
.gf-pdp-perks .fa-whatsapp { background: rgba(31, 168, 85, .12); color: var(--gf-green); }
.gf-pdp-perks strong { display: block; color: var(--gf-ink); font-size: 13.5px; }

#product-product .product_carousel .thumbnail { padding: 16px; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: #fff; }
#product-product .related-product { margin-top: 32px; }
@media (min-width: 768px) {
  /* The photo stays in view while reading the details. */
  #product-product .product-left { position: sticky; top: 90px; }
}

@media (max-width: 767px) {
  #product-product .product-left-title .product-title { font-size: 19px; }
  .gf-pdp-price__value { font-size: 26px; }
  #product-product .product-right ul.attr { grid-template-columns: 1fr 1fr; }
}

/* Phone buy bar: quantity and action on one row, above the bottom navigation (it used to sit behind it). */
@media (max-width: 767px) {
  #fixed-add-to-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    left: 0;
    right: 0;
    bottom: calc(64px + env(safe-area-inset-bottom));
    width: auto;
    padding: 8px 12px;
    border-top: 1px solid var(--gf-line);
    background: #fff;
    box-shadow: 0 -6px 16px -10px rgba(16, 24, 40, .25);
    z-index: 990;
  }
  #fixed-add-to-cart .add-to-cart-mobile {
    display: flex;
    flex: none;
    align-items: center;
    margin: 0;
    border: 1px solid var(--gf-line);
    border-radius: var(--gf-radius-sm);
    overflow: hidden;
  }
  #fixed-add-to-cart .add-to-cart-mobile .col { padding: 0; }
  #fixed-add-to-cart .add-to-cart-mobile .btn,
  #fixed-add-to-cart #input-quantity-mobile { width: 38px; height: 42px; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; text-align: center; }
  #fixed-add-to-cart > .btn {
    flex: 1;
    width: auto;
    height: 44px;
    margin: 0;
    border-radius: var(--gf-radius-sm);
    font-size: 15px;
    font-weight: 600;
    line-height: 44px;
    padding: 0 12px;
    text-transform: none;
  }
  #product-product { padding-bottom: 70px; }
}

/* ==========================================================================
   Category page: header, offers strip, discount badges, help block
   ========================================================================== */
#product-category .gf-cat-crumbs { background: none; padding: 0; margin: 0 0 8px; text-align: left; }
#product-category .gf-cat-crumbs .breadcrumb { justify-content: flex-start; font-size: 12px; }

.gf-cat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 0 20px;
  padding: 20px 24px;
  border-radius: var(--gf-radius);
  background: linear-gradient(120deg, var(--gf-blue-50) 0%, #fff 70%);
  border: 1px solid var(--gf-line);
}
.gf-cat-head .page-title {
  margin: 0;
  font-family: var(--gf-font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gf-ink);
  text-align: left;
  text-transform: none;
}
.gf-cat-head__count { margin: 4px 0 0; color: var(--gf-muted); font-size: 14px; line-height: 1.4; }
.gf-cat-head__deal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gf-red);
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}
.gf-cat-head__deal:hover, .gf-cat-head__deal:focus { background: #b42318; text-decoration: none; }

/* Discount badge, shared by the offers strip and the product cards. */
.gf-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gf-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
}
.product-thumb .image { position: relative; }

/* Offers in this category */
.gf-cat-offers {
  margin: 0 0 24px;
  padding: 18px 20px 20px;
  border-radius: var(--gf-radius);
  background: #fff7e6;
  border: 1px solid #ffe0a3;
}
.gf-cat-offers__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.gf-cat-offers__head h2 { margin: 0; font-family: var(--gf-font-head); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--gf-ink); }
.gf-cat-offers__head h2 .fa { color: var(--gf-amber-600); }
.gf-cat-offers__head a { font-weight: 600; font-size: 14px; white-space: nowrap; }
.gf-cat-offers__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.gf-offer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 10px;
  border-radius: var(--gf-radius-sm);
  background: #fff;
  border: 1px solid var(--gf-line);
  color: var(--gf-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gf-offer-card:hover, .gf-offer-card:focus { border-color: rgba(217, 45, 32, .4); box-shadow: var(--gf-shadow-sm); text-decoration: none; color: var(--gf-ink); }
.gf-offer-card__img { position: relative; flex: 0 0 72px; }
.gf-offer-card__img img { display: block; width: 72px; height: 72px; object-fit: contain; }
.gf-offer-card__img .gf-discount { top: -6px; left: -6px; font-size: 11px; padding: 2px 6px; }
.gf-offer-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gf-offer-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.gf-offer-card__price { font-size: 13px; line-height: 1.3; }
.gf-offer-card__price s { color: var(--gf-muted); }
.gf-offer-card__price strong { color: var(--gf-red); font-size: 15px; }

/* Store-wide offers banner, when this category has none */
.gf-cat-promo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  padding: 14px 20px;
  border-radius: var(--gf-radius);
  background: linear-gradient(110deg, var(--gf-red) 0%, #f04438 100%);
  color: #fff !important;
}
.gf-cat-promo:hover, .gf-cat-promo:focus { text-decoration: none; filter: brightness(1.05); }
.gf-cat-promo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  font-size: 20px;
}
.gf-cat-promo__text { display: flex; flex-direction: column; flex: 1 1 auto; line-height: 1.35; }
.gf-cat-promo__text strong { font-size: 16px; }
.gf-cat-promo__text span { font-size: 13px; opacity: .9; }
.gf-cat-promo__cta {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--gf-red);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

/* Toolbar: one tidy row */
#product-category .product-list-top {
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius-sm);
  background: #fff;
}
#product-category .product-list-top > .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
#product-category .product-list-top .compare-total { display: none; }
#product-category .product-list-top .pagination-right { margin-left: auto; }

/* Cards: a sale card gets a red edge so it stands out in the grid */
#product-category .product-thumb:has(.gf-discount--card) { border-color: rgba(217, 45, 32, .35); }
#product-category .product-thumb .price-new { font-size: 17px; }

/* Help block after the listing */
.gf-cat-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 24px 0 8px;
  padding: 16px 20px;
  border-radius: var(--gf-radius);
  background: var(--gf-bg);
  border: 1px solid var(--gf-line);
  line-height: 1.4;
}
.gf-cat-help strong { color: var(--gf-ink); }
.gf-cat-help span { color: var(--gf-ink-2); }

@media (max-width: 991px) {
  .gf-cat-offers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .gf-cat-head { padding: 14px 16px; margin-bottom: 14px; }
  .gf-cat-head .page-title { font-size: 20px; }
  .gf-cat-head__deal { font-size: 12px; padding: 6px 12px; }
  .gf-cat-offers { margin: 0 -15px 18px; padding: 14px 15px; border-radius: 0; border-left: 0; border-right: 0; }
  .gf-cat-offers__list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .gf-cat-offers__list::-webkit-scrollbar { display: none; }
  .gf-cat-offers__list li { flex: 0 0 78%; scroll-snap-align: start; }
  .gf-cat-promo { gap: 12px; padding: 12px 14px; }
  .gf-cat-promo__icon { display: none; }
  .gf-cat-promo__text strong { font-size: 14px; }
  .gf-cat-promo__text span { display: none; }
  .gf-cat-help { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ==========================================================================
   Product page: similar products show the picture first, then the text
   ========================================================================== */
.related-product .product-thumb .product-container { display: flex; flex-direction: column; height: 100%; }
.related-product .product-thumb .thumbnail-container { order: -1; }
.related-product .product-thumb .product-description { padding: 12px 12px 14px; text-align: center; }
.related-product .product-thumb .product-description h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.35;
}
.related-product .product-thumb .price { margin: 0; }
.related-product .owl-stage { display: flex; }
.related-product .owl-item { display: flex; }
.related-product .owl-item > .item { width: 100%; }
.related-product .product-thumb { height: 100%; }

/* ==========================================================================
   Cart page
   ========================================================================== */
#checkout-cart .gf-cart-crumbs { background: none; padding: 0; margin: 0 0 8px; text-align: left; }
#checkout-cart .gf-cart-crumbs .breadcrumb { justify-content: flex-start; font-size: 12px; }
.gf-cart-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 18px; }
.gf-cart-head .page-title {
  margin: 0;
  font-family: var(--gf-font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gf-ink);
  text-align: left;
  text-transform: none;
}
.gf-cart-head p { margin: 0; color: var(--gf-muted); font-size: 14px; }

.gf-cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-bottom: 32px; }
.gf-cart__items { margin: 0; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: #fff; }
.gf-cart__items > ul { margin: 0; }

.gf-cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto 120px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--gf-line);
}
.gf-cart-item:first-child { border-top: 0; }
.gf-cart-item__img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius-sm);
  background: #fff;
  overflow: hidden;
  color: var(--gf-muted);
  font-size: 28px;
}
.gf-cart-item__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gf-cart-item__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.35; }
.gf-cart-item__name { color: var(--gf-ink); font-weight: 600; font-size: 15px; }
.gf-cart-item__name:hover { color: var(--gf-blue); }
.gf-cart-item__meta { color: var(--gf-muted); font-size: 12px; }
.gf-cart-item__unit { color: var(--gf-ink-2); font-size: 13px; }
.gf-cart-item__qty { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gf-cart-item__total { text-align: right; font-weight: 700; font-size: 16px; color: var(--gf-ink); }
.gf-cart-item__remove {
  padding: 2px 4px;
  border: 0;
  background: none;
  color: var(--gf-muted);
  font-size: 12px;
  line-height: 1.4;
}
.gf-cart-item__remove:hover, .gf-cart-item__remove:focus { color: var(--gf-red); }

.gf-stepper {
  display: inline-flex;
  align-items: stretch;
  height: 38px;
  border: 1px solid var(--gf-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.gf-stepper__btn {
  width: 38px;
  border: 0;
  background: var(--gf-bg);
  color: var(--gf-ink);
  font-size: 12px;
  line-height: 1;
}
.gf-stepper__btn:hover, .gf-stepper__btn:focus { background: var(--gf-blue-50); color: var(--gf-blue); }
.gf-stepper__input {
  width: 48px;
  border: 0;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--gf-ink);
  -moz-appearance: textfield;
}
.gf-stepper__input::-webkit-outer-spin-button,
.gf-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.gf-cart__summary {
  position: sticky;
  top: 90px;
  padding: 20px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: #fff;
  box-shadow: var(--gf-shadow-sm);
}
.gf-cart__summary h2 { margin: 0 0 14px; font-family: var(--gf-font-head); font-size: 18px; font-weight: 700; color: var(--gf-ink); }
.gf-cart__totals { margin: 0 0 16px; }
.gf-cart__totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; line-height: 1.4; }
.gf-cart__totals dt { font-weight: 400; color: var(--gf-ink-2); }
.gf-cart__totals dd { margin: 0; font-weight: 600; color: var(--gf-ink); }
.gf-cart__totals > .is-grand { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--gf-line); }
.gf-cart__totals > .is-grand dt { font-weight: 700; color: var(--gf-ink); font-size: 16px; }
.gf-cart__totals > .is-grand dd { font-size: 22px; font-weight: 700; color: var(--gf-blue); }
.gf-cart__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: var(--gf-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  text-transform: none;
}
.gf-cart__checkout:hover, .gf-cart__checkout:focus { background: var(--gf-blue-600); }
.gf-cart__note { margin: 10px 0 0; color: var(--gf-muted); font-size: 12px; line-height: 1.4; text-align: center; }
.gf-cart__continue { display: block; margin-top: 12px; text-align: center; font-weight: 600; font-size: 14px; }
.gf-cart__help {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gf-line);
  font-size: 13px;
  line-height: 1.4;
}
.gf-cart__help strong { color: var(--gf-ink); }
.gf-cart__help a { color: var(--gf-green); font-weight: 600; }

@media (max-width: 991px) {
  .gf-cart { grid-template-columns: minmax(0, 1fr); }
  .gf-cart__summary { position: static; }
}
@media (max-width: 767px) {
  .gf-cart-head .page-title { font-size: 20px; }
  .gf-cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas: "img info" "img qty" "total total";
    gap: 8px 12px;
    padding: 14px;
  }
  .gf-cart-item__img { grid-area: img; width: 72px; height: 72px; align-self: start; }
  .gf-cart-item__info { grid-area: info; }
  .gf-cart-item__qty { grid-area: qty; flex-direction: row; justify-content: space-between; }
  .gf-cart-item__total { grid-area: total; display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px dashed var(--gf-line); }
  .gf-cart-item__total::before { content: attr(data-label); font-weight: 400; color: var(--gf-ink-2); font-size: 14px; }
  .gf-cart__summary { padding: 16px; }
}

/* =====================================================================
   Home promo grid (ishifivebannerblock): product cards + service tiles
   ===================================================================== */
.ishifivebannerblock.gf-promos {
  padding: 36px 0;
  background: var(--gf-bg);
  text-align: left;
  overflow: visible;
}
.gf-promos .container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.gf-promos .container::before,
.gf-promos .container::after { display: none; }
.gf-promos__featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.gf-promos__featured--single { grid-template-columns: minmax(0, 1fr); }
.gf-promos__tiles {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 14px;
}
.gf-promos .container > :only-child { grid-column: 1 / -1; }

/* Product card */
.gf-promo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: var(--gf-surface);
  box-shadow: var(--gf-shadow-sm);
  color: var(--gf-ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gf-promo-card:hover,
.gf-promo-card:focus-visible {
  transform: translateY(-3px);
  border-color: #c9d3f5;
  box-shadow: var(--gf-shadow);
  color: var(--gf-ink);
  text-decoration: none;
}
.gf-promo-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid var(--gf-line);
}
.gf-promo-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.gf-promo-card:hover .gf-promo-card__media img { transform: scale(1.03); }
.gf-promo-card--image .gf-promo-card__media { border-bottom: 0; }
.gf-promo-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}
.gf-promo-card__eyebrow {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff4d6;
  color: #8a5a00;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.gf-promo-card__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: var(--gf-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.gf-promo-card__cta,
.gf-promo-tile__cta {
  margin-top: auto;
  padding-top: 4px;
  color: var(--gf-blue);
  font-size: 14px;
  font-weight: 600;
}
.gf-promo-card__cta .fa,
.gf-promo-tile__cta .fa { margin-left: 4px; transition: transform .2s ease; }
.gf-promo-card:hover .gf-promo-card__cta .fa,
.gf-promo-tile:hover .gf-promo-tile__cta .fa { transform: translateX(3px); }

/* Service tile */
.gf-promo-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: var(--gf-surface);
  box-shadow: var(--gf-shadow-sm);
  color: var(--gf-ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gf-promo-tile:hover,
.gf-promo-tile:focus-visible {
  transform: translateY(-2px);
  border-color: #c9d3f5;
  box-shadow: var(--gf-shadow);
  color: var(--gf-ink);
  text-decoration: none;
}
.gf-promo-tile__icon {
  display: inline-flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: #fff;
  font-size: 26px;
}
.gf-promo-tile__icon .fa { font-size: 26px; line-height: 1; }
.gf-promo-tile--whatsapp .gf-promo-tile__icon { background: var(--gf-green); }
.gf-promo-tile--instagram .gf-promo-tile__icon { background: linear-gradient(45deg, #f9a825 0%, #e1306c 45%, #833ab4 100%); }
.gf-promo-tile--shipping .gf-promo-tile__icon { background: var(--gf-blue); }
.gf-promo-tile__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.gf-promo-tile__title {
  font-family: var(--gf-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.gf-promo-tile__text {
  color: var(--gf-ink-2);
  font-size: 13px;
  line-height: 1.45;
}
/* Shipping is the brand highlight */
.gf-promo-tile--shipping {
  border-color: transparent;
  background: linear-gradient(120deg, #0b1f6b 0%, var(--gf-blue) 100%);
  color: #fff;
}
.gf-promo-tile--shipping:hover,
.gf-promo-tile--shipping:focus-visible { border-color: transparent; color: #fff; }
.gf-promo-tile--shipping .gf-promo-tile__icon { background: rgba(255, 255, 255, .16); }
.gf-promo-tile--shipping .gf-promo-tile__text { color: #dbe3ff; }
.gf-promo-tile--shipping .gf-promo-tile__cta { color: var(--gf-amber); }

@media (max-width: 991px) {
  .gf-promos .container { grid-template-columns: minmax(0, 1fr); }
  .gf-promos__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .gf-promo-tile { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .ishifivebannerblock.gf-promos { padding: 24px 0; }
  .gf-promos .container,
  .gf-promos__featured,
  .gf-promos__tiles { gap: 12px; }
  .gf-promos__tiles { grid-template-columns: minmax(0, 1fr); }
  .gf-promo-tile { flex-direction: row; align-items: center; padding: 14px; }
  .gf-promo-tile__icon { flex-basis: 44px; width: 44px; height: 44px; }
  .gf-promo-tile__icon .fa { font-size: 22px; }
  .gf-promo-card__body { padding: 12px 14px 14px; }
  .gf-promo-card__name { font-size: 14px; }
}
@media (max-width: 543px) {
  .gf-promos__featured { grid-template-columns: minmax(0, 1fr); }
}

/* Product page: main photo fills its frame (the theme shrank it to 60%; photos are pre-trimmed). */
@media (min-width: 768px) {
  #product-product .product-left .thumbnail img {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* =====================================================================
   My account overview: greeting, current account first, shortcut cards
   ===================================================================== */
.gf-acc #content { padding-bottom: 36px; }
.gf-acc .gf-acc__crumbs { margin: 18px 0 14px; padding: 0; background: none; font-size: 13px; }
.gf-acc__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 20px 22px;
  border-radius: var(--gf-radius);
  background: linear-gradient(120deg, #0b1f6b 0%, var(--gf-blue) 100%);
  color: #fff;
}
.gf-acc__avatar {
  display: inline-flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font: 700 24px/1 var(--gf-font-head);
}
.gf-acc__who { flex: 1; min-width: 0; }
.gf-acc__title { margin: 0 0 4px; color: #fff; font: 700 24px/1.2 var(--gf-font-head); text-transform: none; }
.gf-acc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #dbe3ff; font-size: 13px; overflow-wrap: anywhere; }
.gf-acc__chip { padding: 3px 10px; border-radius: 999px; background: var(--gf-amber); color: var(--gf-ink); font-weight: 600; }
.gf-acc .gf-acc__logout.btn { border-color: rgba(255, 255, 255, .4); background: transparent; color: #fff; }
.gf-acc .gf-acc__logout.btn:hover, .gf-acc .gf-acc__logout.btn:focus { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }

.gf-acc__cc {
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: var(--gf-surface);
  box-shadow: var(--gf-shadow-sm);
}
.gf-acc__cc > :last-child { margin-bottom: 0; }
.gf-acc__section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.gf-acc__section-title { margin: 0 0 14px; color: var(--gf-ink); font: 700 18px/1.3 var(--gf-font-head); text-transform: none; }
.gf-acc__section-head .gf-acc__section-title { margin: 0; }
.gf-acc__section-title .fa { margin-right: 6px; color: var(--gf-blue); }
.gf-acc__section-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; font-weight: 600; }
.gf-acc__section-links a { color: var(--gf-ink-2); }
.gf-acc__section-links a:hover, .gf-acc__section-links a:focus { color: var(--gf-blue); }
.gf-acc__section-links .gf-acc__section-cta { color: var(--gf-blue); }

.gf-acc__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.gf-acc-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  background: var(--gf-surface);
  box-shadow: var(--gf-shadow-sm);
  color: var(--gf-ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gf-acc-card:hover, .gf-acc-card:focus-visible {
  transform: translateY(-2px);
  border-color: #c9d3f5;
  box-shadow: var(--gf-shadow);
  color: var(--gf-ink);
  text-decoration: none;
}
.gf-acc-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--gf-blue-50);
  color: var(--gf-blue);
}
.gf-acc-card__icon .fa { font-size: 19px; line-height: 1; }
.gf-acc-card__title { font: 700 15px/1.3 var(--gf-font-head); }
.gf-acc-card__desc { color: var(--gf-muted); font-size: 13px; line-height: 1.45; }

.gf-acc__bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.gf-acc__more { border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-surface); }
.gf-acc__more summary { padding: 14px 18px; color: var(--gf-ink); font-weight: 600; cursor: pointer; }
.gf-acc__more ul { margin: 0; padding: 0 18px 14px; columns: 2; column-gap: 18px; }
.gf-acc__more li { padding: 4px 0; font-size: 13px; break-inside: avoid; }
.gf-acc__more a { color: var(--gf-ink-2); }
.gf-acc__more a:hover, .gf-acc__more a:focus { color: var(--gf-blue); }
.gf-acc__help {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid #cdebd8;
  border-radius: var(--gf-radius);
  background: #f1fbf5;
  color: var(--gf-ink);
  font-size: 13px;
}
.gf-acc__help:hover, .gf-acc__help:focus { border-color: var(--gf-green); color: var(--gf-ink); text-decoration: none; }
.gf-acc__help strong { display: block; font-size: 14px; }
.gf-acc__help-icon { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gf-green); color: #fff; }
.gf-acc__help-icon .fa { font-size: 20px; }
.gf-acc__help-cta { margin-left: auto; color: #11793c; font-weight: 600; white-space: nowrap; }

@media (max-width: 991px) {
  .gf-acc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gf-acc__bottom { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 543px) {
  .gf-acc__head { flex-wrap: wrap; padding: 16px; }
  .gf-acc__avatar { flex-basis: 46px; width: 46px; height: 46px; font-size: 20px; }
  .gf-acc__title { font-size: 20px; }
  .gf-acc .gf-acc__logout.btn { width: 100%; }
  .gf-acc__cc { padding: 14px; }
  .gf-acc__grid { gap: 10px; }
  .gf-acc-card { padding: 14px; }
  .gf-acc-card__desc { display: none; }
  .gf-acc__more ul { columns: 1; }
  .gf-acc__help-cta { display: none; }
}

/* =====================================================================
   Pending documents page: status chips, compact table, numbered pager
   ===================================================================== */
.gf-cc-page__title { margin: 0 0 16px; color: var(--gf-ink); font: 700 24px/1.25 var(--gf-font-head); text-transform: none; }
.gf-cc-chips { display: flex; gap: 8px; margin: 4px 0 14px; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; }
.gf-cc-chips::-webkit-scrollbar { display: none; }
.gf-cc-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--gf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--gf-ink-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.gf-cc-chip:hover, .gf-cc-chip:focus { border-color: var(--gf-blue); color: var(--gf-blue); text-decoration: none; }
.gf-cc-chip__count { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--gf-bg); color: var(--gf-ink); font-size: 12px; text-align: center; }
.gf-cc-chip.is-active { border-color: var(--gf-blue); background: var(--gf-blue); color: #fff; }
.gf-cc-chip.is-active .gf-cc-chip__count { background: rgba(255, 255, 255, .2); color: #fff; }
.gf-cc-chip--overdue:not(.is-active) .gf-cc-chip__count { background: #fde3e0; color: #b42318; }
.gf-cc-chip--due_soon:not(.is-active) .gf-cc-chip__count { background: #fef0c7; color: #b54708; }
.gf-cc-chip--credit:not(.is-active) .gf-cc-chip__count { background: #e7f7ee; color: #067647; }

.gf-cc-filters { align-items: center; padding: 10px 12px; border-radius: var(--gf-radius); background: var(--gf-bg); }
.gf-cc-filters__label { color: var(--gf-ink-2); font-size: 13px; font-weight: 600; }
.gf-cc-filters__sep { color: var(--gf-muted); }
.gf-cc-filters .gf-cc-filters__field .form-control { min-width: 150px; background: #fff; }

.gf-cc-doctable__num { font-weight: 600; }
.gf-cc-doctable__move.is-credit { color: #067647; }
.gf-cc-doctable__balance { color: var(--gf-muted); }
.gf-cc-empty-state { padding: 34px 16px; color: var(--gf-ink-2); text-align: center; }
.gf-cc-empty-state .fa { margin-bottom: 8px; color: var(--gf-green); font-size: 34px; }
.gf-cc-empty-state p { margin: 0; }

.gf-cc-pager { flex-wrap: wrap; justify-content: space-between; }
.gf-cc-pager__pages { display: flex; gap: 6px; }
.gf-cc-pagelink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--gf-line);
  border-radius: 8px;
  background: #fff;
  color: var(--gf-ink);
  font-weight: 600;
}
.gf-cc-pagelink:hover, .gf-cc-pagelink:focus { border-color: var(--gf-blue); color: var(--gf-blue); text-decoration: none; }
.gf-cc-pagelink.is-active { border-color: var(--gf-blue); background: var(--gf-blue); color: #fff; }

@media (max-width: 767px) {
  .gf-cc-page__title { font-size: 20px; }
  .gf-cc-filters__label { flex: 1 1 100%; }
  .gf-cc-filters__sep { display: none; }
  .gf-cc-filters .gf-cc-filters__field .form-control { min-width: 0; }
  /* Card header: document + status on one line */
  .gf-cc-doctable > tbody > tr { display: grid !important; grid-template-columns: 1fr auto; column-gap: 10px; }
  .gf-cc-doctable > tbody > tr > td { grid-column: 1 / -1; }
  .gf-cc-doctable > tbody > tr > td.gf-cc-doctable__doc { grid-column: 1; }
  .gf-cc-doctable > tbody > tr > td.gf-cc-doctable__status { grid-column: 2; align-self: center; text-align: right; }
  .gf-cc-doctable > tbody > tr > td.gf-cc-doctable__doc,
  .gf-cc-doctable > tbody > tr > td.gf-cc-doctable__status {
    display: block;
    margin-bottom: 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gf-line) !important;
  }
  .gf-cc-doctable > tbody > tr > td.gf-cc-doctable__doc { text-align: left !important; }
  .gf-cc-doctable > tbody > tr > td.gf-cc-doctable__doc::before,
  .gf-cc-doctable > tbody > tr > td.gf-cc-doctable__status::before { content: none; }
  .gf-cc-pager { justify-content: center; }
  .gf-cc-pager__info { flex: 1 1 100%; text-align: center; }
}

/* =====================================================================
   Header v2: account button with avatar, cart button, segmented nav bar
   ===================================================================== */
.desktop-custom-info { gap: 10px; }
.gf-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  height: 48px;
  padding: 4px 14px 4px 4px;
  border: 1px solid var(--gf-line);
  border-radius: 999px;
  background: #fff;
  color: var(--gf-ink);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.gf-account-btn:hover, .gf-account-btn:focus {
  border-color: #c9d3f5;
  background: var(--gf-blue-50);
  box-shadow: var(--gf-shadow-sm);
  color: var(--gf-ink);
  text-decoration: none;
}
.gf-account-btn__avatar {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gf-blue) 0%, #0b1f6b 100%);
  color: #fff;
  font: 700 16px/1 var(--gf-font-head);
}
.gf-account-btn__avatar .fa { font-size: 17px; }
.gf-account-btn__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.gf-account-btn__text small { color: var(--gf-muted); font-size: 11px; }
.gf-account-btn__text strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cart: round icon button with a count badge */
#_desktop_cart #cart .button-cart-home {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--gf-line);
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  color: var(--gf-blue);
  transition: border-color .15s ease, background-color .15s ease;
}
#_desktop_cart #cart .button-cart-home:hover,
#_desktop_cart #cart .button-cart-home:focus { border-color: #c9d3f5; background: var(--gf-blue-50); }
#_desktop_cart #cart .button-cart-home .fa-2x { font-size: 19px; }

/* Nav bar: one rhythm for every link, account group, separator, WhatsApp pushed right */
.gf-quick-links { gap: 6px; }
.gf-quick-links a {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.gf-quick-links a:hover, .gf-quick-links a:focus-visible { background: rgba(255, 255, 255, .14); }
.gf-quick-links a .fa { font-size: 14px; opacity: 1; }
.gf-quick-links .gf-quick-cc {
  position: relative;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  font-weight: 600;
}
.gf-quick-links .gf-quick-cc:hover, .gf-quick-links .gf-quick-cc:focus-visible { background: rgba(255, 255, 255, .2); }
.gf-quick-links .gf-quick-cc .gf-dot { margin-left: 2px; }
.gf-quick-links .nav-lista-mayorista {
  background: var(--gf-amber);
  color: var(--gf-ink);
  font-weight: 600;
  text-transform: none;
}
.gf-quick-links .nav-lista-mayorista:hover, .gf-quick-links .nav-lista-mayorista:focus-visible { background: #ffc633; color: var(--gf-ink); }
.gf-quick-sep { width: 1px; height: 22px; margin: 0 6px; background: rgba(255, 255, 255, .25); }
.gf-quick-spacer { flex: 0 0 4px; }
.gf-quick-links .gf-quick-whatsapp { padding: 0 16px; background: var(--gf-green); font-weight: 600; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); }
.gf-quick-links .gf-quick-whatsapp:hover, .gf-quick-links .gf-quick-whatsapp:focus-visible { background: #178a45; }

@media (max-width: 1199px) {
  .gf-account-btn { max-width: 190px; }
  .gf-quick-links a { padding: 0 10px; font-size: 12px; }
  .gf-quick-sep { margin: 0 2px; }
}

/* =====================================================================
   Current account: amount to act on, ledger grouped by month
   ===================================================================== */
.gf-cc-status { align-items: stretch; }
.gf-cc-status__body { flex: 1 1 auto; min-width: 0; }
.gf-cc-status__amount {
  display: flex;
  flex: 0 0 260px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--gf-radius);
  background: #fff;
  box-shadow: var(--gf-shadow-sm);
  text-align: right;
}
.gf-cc-status__amount-label { color: var(--gf-ink-2); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.gf-cc-status__amount-value { color: var(--gf-ink); font: 700 clamp(22px, 2.1vw, 30px)/1.1 var(--gf-font-head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gf-cc-status__amount-note { color: var(--gf-muted); font-size: 12px; }
.gf-cc-status__amount--overdue { box-shadow: inset 0 0 0 2px #f5c2bd; }
.gf-cc-status__amount--overdue .gf-cc-status__amount-value { color: #b42318; }
.gf-cc-status__amount--due_soon { box-shadow: inset 0 0 0 2px #fcd78a; }
.gf-cc-status__amount--due_soon .gf-cc-status__amount-value { color: #b54708; }
.gf-cc-status__amount--ok .gf-cc-status__amount-value { color: #067647; }

.gf-cc-ledger__month th {
  padding: 14px 12px 6px !important;
  border-top: 0 !important;
  background: transparent !important;
  color: var(--gf-blue);
  font: 700 13px/1.2 var(--gf-font-head);
  letter-spacing: .02em;
  text-transform: none;
}
.gf-cc-ledger > tbody > tr.gf-cc-ledger__month:hover > th { background: transparent; }

@media (max-width: 991px) {
  .gf-cc-status__amount { flex-basis: 220px; }
}
@media (max-width: 767px) {
  .gf-cc-status__amount { flex-basis: auto; align-self: stretch; text-align: left; order: -1; }
  .gf-cc-ledger > tbody > tr.gf-cc-ledger__month { display: block !important; margin: 14px 0 6px; padding: 0; border: 0; }
  .gf-cc-ledger > tbody > tr.gf-cc-ledger__month > th { display: block; padding: 0 !important; }
}
