/* Foximpex - stiluri. Toate clasele au prefixul fox- ca sa nu atinga tema. */

:root {
  --fox-ink: #141414;
  --fox-ink-soft: #4a4a4a;
  --fox-orange: #f4a623;
  --fox-orange-deep: #d98c0a;
  --fox-navy: #243673;
  --fox-navy-deep: #182552;
  --fox-ground: #f5f7f9;
  --fox-line: #e3e7ec;
  --fox-radius: 10px;
}

.fox-home, .fox-searchbar, .fox-topbar, .fox-footinfo, .fox-trust, .fox-sticky { box-sizing: border-box; }
.fox-home *, .fox-searchbar *, .fox-topbar *, .fox-footinfo *, .fox-sticky * { box-sizing: border-box; }
.fox-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.fox-home { background: #fff; color: var(--fox-ink); }
.fox-home h1, .fox-home h2, .fox-home h3 { color: var(--fox-ink); margin: 0; line-height: 1.15; }
.fox-home p { margin: 0; }
.fox-home a { color: var(--fox-navy); }
.fox-home a:hover { color: var(--fox-navy-deep); }
.fox-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fox-orange-deep); margin: 0 0 10px; }
.fox-lead { font-size: 18px; line-height: 1.55; color: var(--fox-ink-soft); }

/* Butoane */
.fox-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.fox-btn--primary { background: var(--fox-orange); color: var(--fox-ink); border: 2px solid var(--fox-orange); }
.fox-btn--primary:hover { background: var(--fox-orange-deep); border-color: var(--fox-orange-deep); color: var(--fox-ink); }
.fox-btn--ghost { background: #fff; color: var(--fox-navy); border: 2px solid var(--fox-navy); }
.fox-btn--ghost:hover { background: var(--fox-navy); color: #fff; }

/* Bara de anunt (toate paginile) */
.fox-topbar { background: var(--fox-navy-deep); color: #fff; font-size: 13px; line-height: 1.3; }
.fox-topbar__in { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.fox-topbar__item { white-space: nowrap; }
.fox-topbar__item a { color: #fff; text-decoration: none; font-weight: 700; }
.fox-topbar__item a:hover { text-decoration: underline; }

/* Bara de cautare (toate paginile) */
.fox-searchbar { background: var(--fox-ground); border-bottom: 1px solid var(--fox-line); padding: 12px 0; }
.fox-searchbar--large { padding: 18px 0 14px; }
.fox-search { display: flex; width: 100%; max-width: 820px; margin: 0; }
.fox-search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px; border: 2px solid var(--fox-line); border-right: 0; border-radius: 8px 0 0 8px; font-size: 15px; background: #fff; color: var(--fox-ink); }
.fox-search input[type="search"]:focus { outline: none; border-color: var(--fox-navy); }
.fox-searchbar--large .fox-search input[type="search"] { height: 54px; font-size: 16px; }
.fox-search__btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border: 2px solid var(--fox-orange); background: var(--fox-orange); color: var(--fox-ink); border-radius: 0 8px 8px 0; font-weight: 700; font-size: 15px; cursor: pointer; }
.fox-searchbar--large .fox-search__btn { height: 54px; }
.fox-search__btn:hover { background: var(--fox-orange-deep); border-color: var(--fox-orange-deep); }
.fox-catnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fox-catnav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--fox-line); color: var(--fox-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.fox-catnav a:hover { border-color: var(--fox-navy); color: var(--fox-navy); }
.fox-catnav__all { color: var(--fox-navy) !important; border-color: var(--fox-navy) !important; }

/* Hero (pagina principala) */
.fox-hero { padding: 48px 0 56px; }
.fox-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.fox-hero h1 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 900; letter-spacing: -0.01em; margin-bottom: 18px; }
.fox-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.fox-hero__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--fox-ink-soft); font-size: 15px; }
.fox-hero__points li { position: relative; padding-left: 22px; }
.fox-hero__points li::before { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 7px; border-left: 2.5px solid var(--fox-orange-deep); border-bottom: 2.5px solid var(--fox-orange-deep); transform: rotate(-45deg); }
.fox-hero__collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fox-hero__tile { aspect-ratio: 1 / 1; background: var(--fox-ground); border-radius: var(--fox-radius); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 10%; }
.fox-hero__tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fox-hero__tile:nth-child(1) { background: #fff3dc; }
.fox-hero__tile:nth-child(4) { background: #e9eef9; }

/* Sectiuni */
.fox-section { padding: 48px 0; }
.fox-section--tint { background: var(--fox-ground); }
.fox-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.fox-section__head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; }
.fox-section__head a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.fox-section__head--light h2 { color: #fff; }

/* Categorii */
.fox-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fox-cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fox-line); border-radius: var(--fox-radius); overflow: hidden; text-decoration: none; color: var(--fox-ink); transition: border-color .15s, box-shadow .15s; }
.fox-cat:hover { border-color: var(--fox-navy); box-shadow: 0 6px 20px rgba(20, 20, 20, .08); color: var(--fox-ink); }
.fox-cat__img { aspect-ratio: 4 / 3; background: var(--fox-ground); display: flex; align-items: center; justify-content: center; padding: 14%; }
.fox-cat__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fox-cat__body { padding: 14px 16px 16px; }
.fox-cat__body h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.fox-cat__body span { font-size: 13px; color: var(--fox-ink-soft); }

/* Grila de produse WooCommerce din sectiunile paginii principale */
.fox-products ul.products { margin-bottom: 0 !important; }
.fox-products ul.products li.product { background: #fff; border: 1px solid var(--fox-line); border-radius: var(--fox-radius); padding: 14px !important; }
.fox-products ul.products li.product .woocommerce-loop-product__title { font-size: 15px; line-height: 1.35; }
.fox-products ul.products li.product .price { font-weight: 700; color: var(--fox-ink); }
.fox-products ul.products li.product .button { background: var(--fox-orange); color: var(--fox-ink); border-color: var(--fox-orange); font-weight: 700; }
.fox-products ul.products li.product .button:hover { background: var(--fox-orange-deep); border-color: var(--fox-orange-deep); color: var(--fox-ink); }

/* B2B */
.fox-b2b { background: var(--fox-navy); color: #fff; padding: 56px 0; }
.fox-b2b__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.fox-b2b__item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--fox-radius); padding: 22px; }
.fox-b2b__item h3 { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.fox-b2b__item p { color: #dfe5f5; font-size: 15px; line-height: 1.55; }
.fox-b2b__item a { color: #fff; text-decoration: underline; }

/* Branduri */
.fox-brands { padding: 36px 0; border-bottom: 1px solid var(--fox-line); }
.fox-brands__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.fox-brands__list li { font-weight: 800; font-size: 18px; letter-spacing: 0.02em; color: var(--fox-ink-soft); text-transform: uppercase; }

/* Informatii de contact, deasupra footer-ului temei (toate paginile) */
.fox-footinfo { padding: 44px 0 48px; background: var(--fox-ground); border-top: 1px solid var(--fox-line); }
.fox-footinfo__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.fox-footinfo h3 { font-size: 16px; font-weight: 800; margin: 0 0 12px; color: var(--fox-ink); }
.fox-footinfo p { color: var(--fox-ink-soft); line-height: 1.55; margin: 0 0 10px; }
.fox-footinfo ul { list-style: none; margin: 0; padding: 0; }
.fox-footinfo li { margin-bottom: 8px; }
.fox-footinfo a { text-decoration: none; color: var(--fox-navy); }
.fox-footinfo a:hover { color: var(--fox-navy-deep); text-decoration: underline; }

/* Pagina de produs */
.fox-trust { list-style: none; margin: 18px 0 0; padding: 14px 16px; background: var(--fox-ground); border-radius: var(--fox-radius); font-size: 14px; color: var(--fox-ink-soft); }
.fox-trust li { position: relative; padding-left: 22px; margin: 0 0 8px; line-height: 1.45; }
.fox-trust li:last-child { margin-bottom: 0; }
.fox-trust li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 6px; border-left: 2.5px solid var(--fox-orange-deep); border-bottom: 2.5px solid var(--fox-orange-deep); transform: rotate(-45deg); }
.fox-trust strong { color: var(--fox-ink); }
.fox-tva { font-size: 0.78em; font-weight: 400; color: var(--fox-ink-soft); }
.fox-tva__incl { white-space: nowrap; }
.fox-tva__incl .woocommerce-Price-amount { font-weight: 700; color: var(--fox-ink); }
.fox-sticky { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; align-items: center; gap: 12px; padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--fox-line); box-shadow: 0 -6px 20px rgba(20, 20, 20, .1); }
.fox-sticky:not([hidden]) { display: flex; }
.fox-sticky__price { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 16px; color: var(--fox-ink); line-height: 1.2; }
.fox-sticky__price .fox-tva__incl { display: none; }
.fox-sticky__btn { flex: 0 0 auto; min-height: 46px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--fox-orange); color: var(--fox-ink); font-weight: 700; font-size: 15px; cursor: pointer; }

/* Lista de categorii din bara laterala: numarul nu mai sare pe randul urmator */
.widget_product_categories .product-categories li { display: flex; flex-wrap: wrap; align-items: baseline; }
.widget_product_categories .product-categories li > a { flex: 1 1 auto; }
.widget_product_categories .product-categories li > .count { margin-left: 8px; color: var(--fox-ink-soft); }
.widget_product_categories .product-categories li > ul { flex: 1 1 100%; }

/* Pe pagina principala, containerul temei devine full-width si bloc (Astra il face flex);
   latimea continutului o da .fox-container */
.fox-home-active #content > .ast-container { display: block !important; max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.fox-home-active #content { padding: 0 !important; }
.fox-home-active .fox-home { display: block; width: 100%; }
.fox-home-active.ast-theme-transparent-header #content { padding-top: 96px !important; }

/* Telefon si tableta */
@media (max-width: 921px) {
  .fox-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .fox-hero { padding: 32px 0 40px; }
  .fox-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fox-b2b__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fox-footinfo__grid { grid-template-columns: 1fr 1fr; }
  .fox-catnav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; }
  .fox-catnav::-webkit-scrollbar { display: none; }
  .fox-topbar__item--inv { display: none; }
}
@media (max-width: 600px) {
  .fox-topbar { font-size: 12px; }
  .fox-topbar__in { gap: 14px; justify-content: space-between; }
  .fox-topbar__item { overflow: hidden; text-overflow: ellipsis; }
  .fox-search__btn span { display: none; }
  .fox-search__btn { padding: 0 16px; }
  .fox-hero__cta .fox-btn { width: 100%; }
  .fox-b2b__grid { grid-template-columns: 1fr; }
  .fox-footinfo__grid { grid-template-columns: 1fr; gap: 24px; }
  .fox-lead { font-size: 16px; }
  .fox-section { padding: 36px 0; }
  .fox-cat__body h3 { font-size: 15px; }
  body.single-product { padding-bottom: 72px; }
}
