/* ===========================
   GrillExpert Custom Theme v2
   =========================== */

:root {
  --ge-dark:   #1a1a1a;
  --ge-orange: #f5a623;
  --ge-orange-dark: #e08e10;
}

/* ---- TOP BAR ---- */
#top {
  background: #2d2d2d !important;
  border-bottom: none !important;
}
#top .list-inline .list-inline-item a,
#top .list-inline .list-inline-item,
#top a, #top span, #top button {
  color: #bbb !important;
  font-size: 12px !important;
}
#top a:hover { color: #fff !important; text-decoration: none; }

/* ---- HEADER ---- */
header {
  background: #e9e9e9 !important;
  border-bottom: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  padding: 12px 0 !important;
}
#logo a {
  color: var(--ge-dark) !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  letter-spacing: -1px;
}

/* ---- SEARCH ---- */
#search input.form-control {
  border: 2px solid #ddd !important;
  height: 42px !important;
}
#search .btn, #search button[type="button"] {
  background: var(--ge-orange) !important;
  border-color: var(--ge-orange-dark) !important;
  color: #fff !important;
  height: 42px !important;
}

/* ---- CART ---- */
#cart .btn-inverse, #cart > .btn {
  background: var(--ge-dark) !important;
  border-color: #000 !important;
  color: #fff !important;
}
#cart .btn-inverse:hover, #cart > .btn:hover {
  background: var(--ge-orange) !important;
  border-color: var(--ge-orange-dark) !important;
}

/* ---- NAV MENU (Bootstrap 5 overrides) ---- */
#menu.navbar,
nav#menu,
nav.navbar {
  background: var(--ge-dark) !important;
  background-color: var(--ge-dark) !important;
}
/* Override Bootstrap bg-primary */
.bg-primary { background-color: var(--ge-dark) !important; }

nav#menu .nav-link,
nav#menu .navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
  border-right: 1px solid rgba(255,255,255,.1);
}
nav#menu .nav-link:hover,
nav#menu .nav-link:focus,
nav#menu .dropdown:hover > .nav-link {
  background: var(--ge-orange) !important;
  color: #fff !important;
}
/* Mobile toggler */
nav#menu .navbar-toggler {
  background: var(--ge-orange) !important;
  border-color: var(--ge-orange-dark) !important;
}
nav#menu .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
/* "Categories" mobile label */
#category {
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 16px;
}
/* Dropdown */
nav#menu .dropdown-menu {
  background: #fff !important;
  border-top: 3px solid var(--ge-orange) !important;
  border-radius: 0 0 6px 6px !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.15) !important;
  padding: 0 !important;
}
nav#menu .dropdown-menu .nav-link {
  color: var(--ge-dark) !important;
  border-right: none !important;
  padding: 10px 20px !important;
  font-weight: 400 !important;
  border-bottom: 1px solid #f0f0f0;
}
nav#menu .dropdown-menu .nav-link:hover {
  background: #fff8ee !important;
  color: var(--ge-orange) !important;
}
nav#menu .see-all {
  display: block;
  padding: 10px 20px !important;
  color: var(--ge-orange) !important;
  font-weight: 700 !important;
  background: #fafafa !important;
  text-align: center;
  border-top: 1px solid #eee;
}
nav#menu .see-all:hover { background: #fff8ee !important; }

/* ---- PRODUCT CARDS ---- */
.product-thumb {
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: box-shadow .25s, transform .25s, border-color .25s !important;
}
.product-thumb:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.12) !important;
  transform: translateY(-3px);
  border-color: var(--ge-orange) !important;
}
.product-thumb .image {
  background: #fafafa;
  text-align: center;
}
.product-thumb .image img {
  width: 100% !important;
  height: 210px !important;
  object-fit: contain !important;
  transition: transform .3s !important;
}
.product-thumb:hover .image img { transform: scale(1.04) !important; }

.product-thumb .caption { padding: 12px !important; }
.product-thumb .caption h4 { margin-bottom: 6px !important; }
.product-thumb .caption h4 a {
  color: var(--ge-dark) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
}
.product-thumb .caption h4 a:hover { color: var(--ge-orange) !important; }
.product-thumb .caption p { font-size: 12px !important; color: #777 !important; }
.product-thumb .price {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--ge-orange) !important;
}
.product-thumb .price-tax { font-size: 11px !important; color: #aaa !important; }
.product-thumb .button-group {
  background: #f7f7f7 !important;
  border-top: 1px solid #eee !important;
  padding: 8px 10px !important;
}
.product-thumb .button-group .btn {
  background: var(--ge-orange) !important;
  border-color: var(--ge-orange-dark) !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  transition: background .2s !important;
}
.product-thumb .button-group .btn:hover { background: var(--ge-orange-dark) !important; }

/* ---- SECTION TITLES ---- */
h3, .content-top > div > h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--ge-dark) !important;
  border-bottom: 3px solid var(--ge-orange) !important;
  padding-bottom: 10px !important;
  margin-bottom: 20px !important;
}

/* ---- FOOTER ---- */
footer {
  background: #1a1a1a !important;
  color: #aaa !important;
  padding-top: 30px !important;
  margin-top: 40px !important;
}
footer h5 {
  color: var(--ge-orange) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 14px !important;
}
footer a { color: #888 !important; font-size: 13px !important; }
footer a:hover { color: var(--ge-orange) !important; text-decoration: none !important; }
footer hr { border-color: #333 !important; }
footer p { color: #555 !important; font-size: 12px !important; }

/* ---- LINKS GLOBAL ---- */
a { color: var(--ge-orange) !important; }
a:hover { color: var(--ge-orange-dark) !important; }

/* ---- BTN PRIMARY ---- */
.btn-primary {
  background: var(--ge-orange) !important;
  border-color: var(--ge-orange-dark) !important;
  color: #fff !important;
}
.btn-primary:hover { background: var(--ge-orange-dark) !important; }

/* ---- PAGINATION ---- */
.pagination > li > a { color: var(--ge-orange) !important; }
.pagination > .active > a {
  background: var(--ge-orange) !important;
  border-color: var(--ge-orange-dark) !important;
  color: #fff !important;
}

/* ---- HIDE EX TAX ---- */
.price-tax { display: none !important; }

/* ---- LOGO SIZE ---- */
#logo img { max-height: 60px !important; width: auto !important; }

/* ===== WRAPPER ===== */
.wrapper, .layout-wrap {
  min-width: 320px;
  max-width: 1440px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ===== FRONTBENEFITS ===== */
.frontBenefits { background: #e9e9e9; padding: 20px 0; }
.frontBenefits-container { padding: 20px; border: 1px solid #d7d7d7; }
.frontBenefits-bg {
  display: flex !important;
  flex-wrap: nowrap !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.frontBenefits-block {
  flex: 1 1 0 !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}
.__style1 .frontBenefits-block-w {
  display: flex !important;
  align-items: center !important;
  min-height: 80px !important;
}
.__style1 .frontBenefits-icon {
  width: 80px !important;
  height: 80px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 15px !important;
}
.__style1 .frontBenefits-txt {
  display: block !important;
}
.frontBenefits-icon-img { max-width: 80px; max-height: 80px; width: auto; height: auto; }
.frontBenefits-txt-h { font-size: 16px; font-weight: bold; color: #000; line-height: 1.3; }

/* ===== SECOND BANNER ===== */
.ge-banner-wide {
  position: relative;
  width: 100%;
  padding-top: 30%;
  overflow: hidden;
}
.ge-banner-wide .banner { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ge-banner-wide .banner-image { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.ge-banner-wide .banner-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ge-banner-wide .banner-a { position: absolute; z-index: 5; top: 0; left: 0; width: 100%; height: 100%; }

/* ===== FRONT CATEGORIES ===== */
.frontCategories { background: #e9e9e9; padding: 40px 0; }
.frontCategories-container { position: relative; padding: 30px 0; }
.h2 { font-size: 20px; font-weight: bold; margin-bottom: 24px; text-align: center; color: #1a1a1a; }
.frontCategories-list {
  display: flex !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
}
.frontCategories-i {
  flex: 0 0 12.5% !important;
  max-width: 12.5% !important;
  box-sizing: border-box !important;
  padding: 10px 5px !important;
}
.frontCategories-a {
  display: block;
  text-align: center;
  padding: 0 10px;
  text-decoration: none !important;
  color: #1a1a1a !important;
}
.frontCategories-image {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frontCategories-img { max-width: 100%; max-height: 110px; width: auto; height: auto; }
.frontCategories-title {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: #333;
}
.frontCategories-a:hover .frontCategories-title { color: #f5a623; }

@media (max-width: 900px) {
  .frontCategories-i { flex: 0 0 25% !important; max-width: 25% !important; }
}
@media (max-width: 480px) {
  .frontCategories-i { flex: 0 0 33.33% !important; max-width: 33.33% !important; }
}

/* ===== BODY & HEADER BACKGROUND ===== */
body { background-color: #e9e9e9 !important; }
header { background-color: #e9e9e9 !important; border-bottom: none !important; }

/* ===== HEADER "Оформити замовлення" BUTTON — ORANGE ===== */
#top .list-inline-item a[href*="checkout/simple"],
#top .list-inline-item a[href*="checkout"] {
  background: #f5a623 !important;
  color: #fff !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
}
#top .list-inline-item a[href*="checkout/simple"]:hover,
#top .list-inline-item a[href*="checkout"]:hover {
  background: #e08e10 !important;
  color: #fff !important;
}

/* ===== HEADER CART BUTTON — ORANGE ===== */
#header-cart .btn-inverse {
  background: #f5a623 !important;
  border-color: #e08e10 !important;
  color: #fff !important;
  font-weight: 700 !important;
}
#header-cart .btn-inverse:hover {
  background: #e08e10 !important;
}

/* ===== PRODUCT CARD 2025 ===== */
.ge-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #ebebeb;
  transition: box-shadow .25s, border-color .25s, transform .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.ge-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  border-color: #f5a623;
  transform: translateY(-3px);
}
.ge-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  aspect-ratio: 1 / 1;
}
.ge-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
  display: block;
}
.ge-card:hover .ge-card-img {
  transform: scale(1.06);
}
.ge-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f5a623;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .4px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(245,166,35,.35);
}
.ge-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .2s, transform .2s;
  z-index: 2;
}
.ge-card:hover .ge-card-actions {
  opacity: 1;
  transform: translateX(0);
}
.ge-card-act-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1.5px solid #eee;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  padding: 0;
}
.ge-card-act-btn:hover {
  background: #f5a623;
  color: #fff;
  border-color: #f5a623;
}
.ge-card-body {
  padding: 13px 14px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 9px;
}
.ge-card-title {
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  border: none !important;
  padding: 0 !important;
  color: #1a1a1a !important;
  min-height: calc(13.5px * 1.45 * 2) !important; /* always 2 lines = ~40px */
  overflow: hidden !important;
}
.ge-card-title a {
  color: #1a1a1a !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ge-card-title a:hover {
  color: #f5a623 !important;
}
.ge-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.ge-price-main {
  font-size: 20px;
  font-weight: 800;
  color: #f5a623;
  line-height: 1;
}
.ge-price-old {
  font-size: 13px;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 400;
}
.ge-card-btn {
  margin-top: auto;
  width: 100%;
  background: #f5a623;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  letter-spacing: .2px;
  text-decoration: none !important;
}
.ge-card-btn:hover {
  background: #e08e10;
  color: #fff !important;
  transform: translateY(-1px);
}
.ge-card-btn:active {
  transform: translateY(0);
}
/* Override old product-thumb styles for pages still using them */
.product-thumb { border-radius: 12px !important; overflow: hidden !important; }

/* ===== PRODUCT GRID GAP ===== */
/* Apply to ALL product grids: category, search, homepage widgets */
.row > .col:has(> form > .ge-card) {
  margin-bottom: 20px !important;
}
/* Fallback for browsers that don't support :has() */
#product-list > *,
.row.row-cols-1 > .col,
.row.row-cols-sm-2 > .col {
  margin-bottom: 20px !important;
}


/* === TEMP HIDE: account links in header and footer === */
.ge-acct { display: none !important; }

/* ============================================================
   GE2-CARD — Ultra Modern 2025 Product Card (5 per row)
   ============================================================ */
.ge2-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ge2-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
  transform: translateY(-3px);
}

/* --- Media (image wrapper) --- */
.ge2-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f8f8f8;
}
.ge2-card-link {
  display: block;
  width: 100%;
  height: 100%;
}
.ge2-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.ge2-card:hover .ge2-card-img {
  transform: scale(1.06);
}

/* --- Badge --- */
.ge2-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  pointer-events: none;
}
.ge2-badge-sale {
  background: #e63946;
  color: #fff;
}

/* --- Hover overlay (slides up on hover) --- */
.ge2-card-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 4;
}
.ge2-card:hover .ge2-card-hover {
  transform: translateY(0);
}

/* --- Add to cart button inside hover --- */
.ge2-add-btn {
  flex: 1;
  background: #f5a623;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: .2px;
  transition: background .2s;
  white-space: nowrap;
}
.ge2-add-btn:hover {
  background: #e08e10;
}

/* --- Wishlist button (glassmorphism) --- */
.ge2-wish-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.ge2-wish-btn:hover {
  background: rgba(255,255,255,.9);
  color: #e63946;
}

/* --- Card info (below image) --- */
.ge2-card-info {
  padding: 10px 12px 13px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 7px;
}

/* --- Product name --- */
.ge2-card-name {
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  min-height: calc(12.5px * 1.45 * 2) !important;
  overflow: hidden !important;
  border: none !important;
  padding: 0 !important;
}
.ge2-card-name a {
  color: #1a1a1a !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ge2-card-name a:hover {
  color: #f5a623 !important;
}

/* --- Pricing --- */
.ge2-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
}
.ge2-price-new {
  font-size: 17px;
  font-weight: 800;
  color: #f5a623;
  line-height: 1;
}
.ge2-price-old {
  font-size: 12px;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 400;
}

/* ============================================================
   GE2-CARD — Swiper: 5 per row desktop overrides
   ============================================================ */
.ge-home-section .swiper-slide {
  height: auto;
  display: flex;
}
.ge-home-section .swiper-slide > form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   GE2 PRODUCT GRID — category / search / special pages
   ============================================================ */
.ge2-product-grid {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 18px;
}
.ge2-product-grid > .col {
  display: flex;
  flex-direction: column;
}
/* Override old bottom-margin fallback for ge2 grids */
.ge2-product-grid > .col,
.ge2-product-grid #product-list > * {
  margin-bottom: 0 !important;
}

/* ============================================================
   FORCE 5 COLUMNS — all product grids on desktop
   ============================================================ */
@media (min-width: 992px) {
  #product-list > .col,
  #product-list > [class*='col-'] {
    flex: 0 0 auto !important;
    width: 20% !important;
    max-width: 20% !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #product-list > .col,
  #product-list > [class*='col-'] {
    flex: 0 0 auto !important;
    width: 25% !important;
    max-width: 25% !important;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  #product-list > .col,
  #product-list > [class*='col-'] {
    flex: 0 0 auto !important;
    width: 33.333% !important;
    max-width: 33.333% !important;
  }
}
@media (max-width: 575px) {
  #product-list > .col,
  #product-list > [class*='col-'] {
    flex: 0 0 auto !important;
    width: 50% !important;
    max-width: 50% !important;
  }
}

/* Force 5 cols on featured module + any product row on homepage */
@media (min-width: 900px) {
  .row-cols-xl-4 > .col,
  .row-cols-xl-5 > .col {
    flex: 0 0 auto !important;
    width: 20% !important;
    max-width: 20% !important;
  }
}


/* ===== PROMO BANNER (banner-a block after Новинки) ===== */
.ge-promo-banner {
  position: relative;
  width: 100%;
  margin: 0 0 48px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.ge-promo-banner .banner-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 576px;
  object-fit: contain;
}
.banner-a {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border: 0;
  display: block;
}
@media (max-width: 576px) {
  .ge-promo-banner .banner-img { max-height: 200px; }
}

/* footer container — right edge aligned */
footer .container {
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* === CATEGORY 2025 === */
#product-category.container { max-width:100%!important; padding:0 40px!important; }
@media(max-width:768px){ #product-category.container{ padding:0 16px!important; } }

#product-category .breadcrumb { /* inherits from global .breadcrumb */ }

#product-category h2 { font-size:24px; font-weight:800; color:#fff; margin:4px 0 22px; letter-spacing:-0.5px; }

#display-control { background:#111; border:1px solid #1e1e1e; border-radius:10px; padding:10px 16px; margin-bottom:20px; align-items:center; justify-content:flex-end; }
#display-control .col-lg-3:first-child, #display-control .col-lg-1 { display:none!important; }
#display-control .input-group { border:none!important; box-shadow:none!important; gap:8px; margin-bottom:0!important; flex-wrap:nowrap; align-items:center; }
#display-control .input-group-text { background:transparent!important; border:none!important; color:#555!important; font-size:12px; padding:0; white-space:nowrap; }
#display-control .form-select { background-color:#0d0d0d!important; border:1px solid #252525!important; color:#bbb!important; border-radius:7px!important; font-size:12px; padding:7px 30px 7px 11px; min-width:150px; box-shadow:none!important; cursor:pointer; transition:border-color .2s; }
#display-control .form-select:focus { border-color:#f5a623!important; outline:none; }

@media(min-width:992px){ #product-list>.col,#product-list>[class*='col-']{ width:25%!important; } }
.ge2-product-grid>.col { padding:8px!important; }

.ge2-card { border-radius:10px; border:1px solid #1a1a1a; transition:transform .2s,box-shadow .2s,border-color .2s; }
.ge2-card:hover { transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,.6); border-color:transparent; }

#product-category .pagination { display:flex; gap:4px; }
#product-category .page-link { background:#111!important; border:1px solid #1e1e1e!important; color:#666!important; border-radius:7px!important; min-width:34px; height:34px; display:flex; align-items:center; justify-content:center; font-size:13px; transition:all .15s; padding:0 10px; }
#product-category .page-link:hover { border-color:#333!important; color:#ccc!important; }
#product-category .page-item.active .page-link { background:#f5a623!important; border-color:#f5a623!important; color:#111!important; font-weight:700; }
#product-category .col-sm-6.text-end { font-size:12px; color:#444; margin-top:20px; }
#product-category .col-sm-6.text-start { margin-top:20px; }

#product-category h2 { color:#f5a623!important; }

/* ════════════════════════════════════════
   GLOBAL 2025 — синій → оранжевий + шрифт
   ════════════════════════════════════════ */

/* Inter font + override Bootstrap variables */
:root {
  --bs-blue: #f5a623 !important;
  --bs-primary: #f5a623 !important;
  --bs-primary-rgb: 245,166,35 !important;
  --bs-link-color: #f5a623 !important;
  --bs-link-hover-color: #e08e10 !important;
  --bs-btn-bg: #f5a623 !important;
  --bs-pagination-color: #f5a623 !important;
  --bs-pagination-hover-color: #e08e10 !important;
  --bs-pagination-active-bg: #f5a623 !important;
  --bs-pagination-active-border-color: #f5a623 !important;
  --bs-focus-ring-color: rgba(245,166,35,.25) !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* Font globally */
body, html, p, span, div, li, td, th, label, input, textarea, select, button, a {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Будь-які синні Bootstrap компоненти */
.text-primary { color: #f5a623 !important; }
.bg-primary { background-color: #f5a623 !important; }
.border-primary { border-color: #f5a623 !important; }
.btn-primary {
  background: #f5a623 !important;
  border-color: #e08e10 !important;
  color: #111 !important;
  font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: #e08e10 !important;
  border-color: #c97c0e !important;
  color: #111 !important;
}
.btn-outline-primary {
  border-color: #f5a623 !important;
  color: #f5a623 !important;
}
.btn-outline-primary:hover {
  background: #f5a623 !important;
  color: #111 !important;
}
.btn-info { background: #f5a623 !important; border-color: #e08e10 !important; color: #111 !important; }
.btn-secondary { background: #222 !important; border-color: #333 !important; color: #ccc !important; }

/* Посилання */
a { color: #f5a623 !important; }
a:hover { color: #e08e10 !important; }

/* Input focus — прибираємо синю рамку */
input:focus, select:focus, textarea:focus, .form-control:focus, .form-select:focus {
  border-color: #f5a623 !important;
  box-shadow: 0 0 0 3px rgba(245,166,35,.15) !important;
  outline: none !important;
}

/* Badge */
.badge.bg-primary, .badge.text-bg-primary { background: #f5a623 !important; color: #111 !important; }

/* Alert */
.alert-primary { background: rgba(245,166,35,.12) !important; border-color: rgba(245,166,35,.3) !important; color: #f5a623 !important; }

/* Пагінація Bootstrap */
.page-link { color: #f5a623 !important; }
.page-link:focus { box-shadow: 0 0 0 3px rgba(245,166,35,.2) !important; }
.page-item.active .page-link {
  background: #f5a623 !important;
  border-color: #f5a623 !important;
  color: #111 !important;
}

/* Nav tabs */
.nav-link { color: #999 !important; }
.nav-link:hover { color: #f5a623 !important; }
.nav-link.active { color: #f5a623 !important; }
.nav-tabs .nav-link.active { border-bottom-color: #f5a623 !important; }

/* Progress */
.progress-bar { background: #f5a623 !important; }

/* ─── ТИПОГРАФІКА 2025 ─── */
body {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.1px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: -0.5px;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 30px; font-weight: 800; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 600; }
h5 { font-size: 15px; font-weight: 600; }

/* Кнопки — шрифт чіткіший */
.btn, button {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.1px;
}

/* Заголовок категорії */
#product-category h2 { color: #f5a623 !important; font-weight: 800 !important; }

/* Хедер nav посилання */
#ge-inline-nav .nav-link,
#ge-inline-nav a { color: #ddd !important; font-weight: 500; }
#ge-inline-nav .nav-link:hover,
#ge-inline-nav a:hover { color: #f5a623 !important; }

/* Cart badge */
#header-cart .badge { background: #f5a623 !important; color: #111 !important; font-weight: 700; }

/* Input placeholder */
::placeholder { color: #666 !important; font-size: 13px; }

/* Toast / alert close */
.btn-close:focus { box-shadow: 0 0 0 3px rgba(245,166,35,.2) !important; }

/* FIX: повертаємо шрифт іконок Font Awesome */
.fa, .fas, .far, .fal, .fat, .fad, .fab, .fa-solid, .fa-regular, .fa-light, .fa-brands,
[class*='fa-'], [class^='fa-'] {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'FontAwesome' !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

.ge2-card { border: none !important; }
.ge2-card:hover { border: none !important; }

/* ─── SIDEBAR: список категорій ─── */
#column-left .list-group {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1e1e1e;
}
#column-left .list-group-item {
  background: #111;
  border: none;
  border-bottom: 1px solid #1e1e1e;
  color: #bbb;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  transition: background 0.15s, color 0.15s;
}
#column-left .list-group-item:last-child {
  border-bottom: none;
}
#column-left .list-group-item:hover {
  background: #1a1a1a;
  color: #f5a623;
}
#column-left .list-group-item.active {
  background: #1a1a1a !important;
  color: #f5a623 !important;
  border-left: 3px solid #f5a623;
  font-weight: 700;
  padding-left: 11px;
  box-shadow: none;
}

/* ─── MENU: hover dropdown (категорія = клікабельне посилання) ─── */
@media (min-width: 992px) {
  .ge-hover-dropdown:hover > .ge-sub-menu {
    display: block;
    animation: fadeInDown 0.15s ease;
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  /* Прибираємо стрілку з nav-link (раніше bootstrap додавав через ::after) */
  #menu .ge-hover-dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 5px;
    vertical-align: middle;
    opacity: 0.6;
  }
}

/* ─── BREADCRUMBS ─── */
.breadcrumb {
  background: transparent !important;
  padding: 10px 0 6px 0;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.breadcrumb-item {
  font-size: 13px;
  font-weight: 500;
  color: #666;
}
.breadcrumb-item a {
  color: #888 !important;
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb-item a:hover {
  color: #f5a623 !important;
}
.breadcrumb-item.active {
  color: #f5a623 !important;
  font-weight: 600;
}
/* Роздільник */
.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: #444;
  font-size: 15px;
  padding: 0 6px;
  font-weight: 400;
}
/* Іконка будиночка */
.breadcrumb-item:first-child a i {
  font-size: 14px;
  color: #888;
}
.breadcrumb-item:first-child a:hover i {
  color: #f5a623;
}


/* ════════ КАРТКА ТОВАРУ — WP STYLE ════════ */

/* Зображення: прибрати Bootstrap синю рамку, додати округлість */
#product-info .img-thumbnail {
  border-color: transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  padding: 0 !important;
}
#product-info .image > div .img-thumbnail:hover {
  border-color: #f5a623 !important;
  opacity: 0.9;
}

/* H1 назва товару */
#product-info h1 {
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #111 !important;
  margin-bottom: 12px !important;
}

/* Ціна */
#product-info .price-new {
  color: #f5a623 !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  letter-spacing: -0.5px !important;
}
#product-info .price-old {
  color: #666 !important;
  font-size: 17px !important;
  text-decoration: line-through !important;
}

/* Кнопка Додати в кошик */
#button-cart {
  background: #f5a623 !important;
  border-color: #f5a623 !important;
  color: #111 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  letter-spacing: -0.2px !important;
}
#button-cart:hover {
  background: #e08e10 !important;
  border-color: #e08e10 !important;
}

/* Wishlist/compare кнопки */
#product-info .btn-group .btn-light {
  background: #1a1a1a !important;
  border: 1px solid transparent !important;
  color: #aaa !important;
  border-radius: 8px !important;
}
#product-info .btn-group .btn-light:hover {
  border-color: #f5a623 !important;
  color: #f5a623 !important;
}

/* Поле кількості */
#input-quantity {
  background: #1a1a1a !important;
  border-color: transparent !important;
  color: #eee !important;
  border-radius: 8px !important;
}

/* Вкладки */
#product-info .nav-tabs { border-bottom: 2px solid #1e1e1e !important; margin-top: 24px; }
#product-info .nav-tabs .nav-link { color: #777 !important; border: none !important; border-bottom: 2px solid transparent !important; margin-bottom: -2px !important; font-weight: 600; }
#product-info .nav-tabs .nav-link.active { color: #f5a623 !important; border-bottom-color: #f5a623 !important; background: transparent !important; }
#product-info .nav-tabs .nav-link:hover { color: #f5a623 !important; }

/* Опис */
#tab-description { color: #bbb; font-size: 14px; line-height: 1.8; padding-top: 16px; }
#tab-description strong { color: #ddd; }

/* Фото в описі товару — responsive (фіксовані width/height в HTML не ламають мобайл) */
#tab-description img {
  max-width: 100% !important;
  height: auto !important;
}

/* ══ ТЕКСТ: опис товару — білий ══ */
#tab-description, #tab-description p, #tab-description li,
#tab-description td, #tab-description th,
#tab-description strong, #tab-description ol, #tab-description ul { color: #111 !important; }

/* ══ КНОПКИ +/- КІЛЬКІСТЬ ══ */
.ge-qty-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  margin: 8px 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
}
.ge-qty-btn {
  background: #1a1a1a;
  border: none;
  color: #f5a623;
  font-size: 20px;
  font-weight: 700;
  width: 40px;
  height: 44px;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1;
}
.ge-qty-btn:hover { background: #252525; }
.ge-qty-input {
  width: 56px !important;
  border: none !important;
  border-radius: 0 !important;
  border-left: 1px solid transparent !important;
  border-right: 1px solid transparent !important;
  text-align: center !important;
  background: #111 !important;
  color: #eee !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  height: 44px !important;
}

/* ══ АЛЕРТ ДОДАНО В КОШИК ══ */
#alert .alert-success {
  background: #1a1a1a !important;
  border: 1px solid #f5a623 !important;
  color: #111 !important;
  border-radius: 10px !important;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(245,166,35,.15);
}
#alert .alert-success i { color: #f5a623 !important; }
#alert .btn-close { filter: invert(1); }

/* ══ ХЛІБНІ КРИХТИ — стильний дизайн ══ */
.breadcrumb {
  background: rgba(0,0,0,.03) !important;
  padding: 10px 16px !important;
  margin-bottom: 12px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
}
.breadcrumb-item a {
  color: #555 !important;
  text-decoration: none !important;
  transition: color .2s, background .2s !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}
.breadcrumb-item a:hover {
  color: #f5a623 !important;
  background: rgba(245,166,35,.08) !important;
}
.breadcrumb-item.active {
  color: #333 !important;
  font-weight: 600 !important;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '/' !important;
  color: #bbb !important;
  font-size: 12px !important;
  padding: 0 4px !important;
  font-weight: 300 !important;
}
.breadcrumb-item:first-child a i {
  font-size: 13px !important;
  color: #777 !important;
  transition: color .2s !important;
}
.breadcrumb-item:first-child a:hover i {
  color: #f5a623 !important;
}

/* ══ МОБІЛЬНИЙ КАТАЛОГ ══ */
@media (max-width: 767px) {
  /* Кнопка каталог у navbar */
  #menu .navbar-toggler {
    border: 1px solid #333 !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 6px 12px;
  }
  /* Меню на мобілі — повністю чорне */
  #narbar-menu {
    background: #111;
    border-radius: 0 0 12px 12px;
    padding: 8px 0;
    border-top: 1px solid #1e1e1e;
  }
  #narbar-menu .nav-link {
    padding: 10px 16px !important;
    border-bottom: 1px solid #1a1a1a;
    font-size: 15px !important;
  }
  #narbar-menu .dropdown-menu {
    background: #0d0d0d !important;
    border: none;
    padding-left: 12px;
  }
  #narbar-menu .dropdown-menu .nav-link {
    font-size: 14px !important;
    color: #aaa !important;
    border-bottom: 1px solid #161616;
  }
  /* Каталог: 2 колонки на мобілі */
  #product-category .ge2-card-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  /* Хлібні крихти на мобілі — компактні */
  .breadcrumb { font-size: 11px !important; padding: 8px 12px !important; margin-bottom: 8px !important; }
  .breadcrumb-item a { padding: 2px 4px !important; }
  .breadcrumb-item + .breadcrumb-item::before { padding: 0 2px !important; }
  /* Панель фільтрів на мобілі */
  #display-control { flex-wrap: wrap !important; gap: 8px !important; padding: 10px 12px !important; }
  /* Sidebar ховаємо (вже hidden через Bootstrap d-none d-md-block) */
}

/* old mobile block removed */

/* ══ МОБІЛЬНЕ МЕНЮ v2: акордеон ══ */
/* ge-nav-row */
.ge-nav-row { display: flex; align-items: center; justify-content: space-between; }
.ge-nav-row .nav-link { flex: 1; }
.ge-sub-toggle { background: transparent; border: none; color: #aaa; padding: 8px 14px; font-size: 12px; cursor: pointer; transition: transform 0.2s, color 0.15s; line-height: 1; }
.ge-sub-toggle.open { transform: rotate(180deg); color: #f5a623; }

/* Desktop: ge-sub-menu позиціонування */
@media (min-width: 992px) {
  .ge-hover-dropdown { position: relative; }
  li.ge-hover-dropdown { overflow: visible !important; }
  .ge-sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    min-width: 220px;
    background: #111;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 12px 32px rgba(0,0,0,.6);
    margin-top: 2px;
  }
  .ge-sub-menu .dropdown-inner { display: flex; flex-wrap: wrap; }
  .ge-sub-menu .dropdown-inner ul { padding: 0; }
  .ge-sub-menu .nav-link { color: #ccc !important; padding: 7px 16px !important; font-size: 13px; display: block; white-space: nowrap; }
  .ge-sub-menu .nav-link:hover { color: #f5a623 !important; background: #1a1a1a; }
  .ge-sub-menu .see-all { display: block; border-top: 1px solid #1e1e1e; padding: 7px 16px; color: #f5a623 !important; font-size: 12px; font-weight: 600; }
}

/* Mobile: акордеон */
@media (max-width: 991px) {
  .ge-sub-menu {
    display: none;
    background: #080808;
    border-top: 1px solid #1a1a1a;
    padding: 0 0 0 10px;
  }
  .ge-sub-menu.ge-open { display: block !important; }
  .ge-sub-menu .dropdown-inner { display: block; }
  .ge-sub-menu .nav-link { font-size: 13px !important; color: #999 !important; padding: 8px 12px !important; border-bottom: 1px solid #141414 !important; display: block; }
  .ge-sub-menu .nav-link:hover { color: #f5a623 !important; }
  .ge-sub-menu .see-all { display: none !important; }
  #narbar-menu { background: #0d0d0d; border-top: 1px solid #1e1e1e; padding: 4px 0; }
}
/* Рядок категорія + шеврон */
.ge-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ge-nav-row .nav-link { flex: 1; }

/* Кнопка шеврон */
.ge-sub-toggle {
  background: transparent;
  border: none;
  color: #aaa;
  padding: 8px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.2s, color 0.15s;
  line-height: 1;
}
.ge-sub-toggle.open { transform: rotate(180deg); color: #f5a623; }

@media (max-width: 991px) {
  /* Скасовуємо попереднє display:block для підменю */
  #narbar-menu .ge-hover-dropdown .dropdown-menu {
    display: none !important;
    position: static !important;
    box-shadow: none !important;
    background: #080808 !important;
    border: none !important;
    border-top: 1px solid #1a1a1a !important;
    padding: 0 0 0 10px !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    border-radius: 0 !important;
  }
  #narbar-menu .ge-hover-dropdown .dropdown-menu.ge-open {
    display: block !important;
  }
  #narbar-menu .ge-hover-dropdown .dropdown-inner { display: block; }
  #narbar-menu .ge-hover-dropdown .dropdown-menu .nav-link {
    font-size: 13px !important;
    color: #999 !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid #141414 !important;
    display: block;
  }
  #narbar-menu .ge-hover-dropdown .dropdown-menu .nav-link:hover { color: #f5a623 !important; }
  #narbar-menu .see-all { display: none !important; }
}

/* ════════════════════════════════════
   МОБІЛЬНИЙ КАТАЛОГ — 2025 REDESIGN
════════════════════════════════════ */
@media (max-width: 767px) {

  /* === Каталог: відступи === */
  #product-category { padding: 0 10px !important; }
  #product-category h2 { font-size: 18px !important; margin: 8px 0 10px !important; }

  /* === Тулбар сортування === */
  #display-control {
    gap: 6px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
  }
  #display-control .col-6,
  #display-control .col-lg-4,
  #display-control .col-lg-3 {
    flex: 1 !important;
    max-width: 50% !important;
    padding: 0 4px !important;
  }
  #display-control .input-group-text {
    font-size: 11px !important;
    padding: 4px 6px !important;
    display: none !important;
  }
  #display-control .form-select {
    font-size: 12px !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
  }

  /* === Сітка: 2 картки у ряд з мінімальним gap === */
  #product-list.ge2-product-grid {
    --bs-gutter-x: 8px !important;
    --bs-gutter-y: 10px !important;
  }

  /* === Картка товару на мобілі === */
  .ge2-card {
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.1) !important;
  }
  .ge2-card-media {
    aspect-ratio: 1 / 1;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
  }
  .ge2-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .ge2-card-info {
    padding: 7px 8px 9px !important;
    gap: 5px !important;
  }
  .ge2-card-name {
    font-size: 11px !important;
    min-height: calc(11px * 1.4 * 2) !important;
    -webkit-line-clamp: 2 !important;
    line-height: 1.4 !important;
  }
  .ge2-price-new {
    font-size: 14px !important;
    font-weight: 800 !important;
  }
  .ge2-price-old { font-size: 11px !important; }

  /* Кнопка В кошик — завжди видна на мобілі */
  .ge2-add-btn {
    font-size: 11px !important;
    padding: 7px 6px !important;
    border-radius: 7px !important;
    gap: 4px !important;
    width: 100% !important;
  }
  .ge2-wish-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
  }

  /* === Пагінація на мобілі === */
  .pagination .page-link {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }
  .col-sm-6.text-start, .col-sm-6.text-end {
    text-align: center !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* === Хлібні крихти — мобіль === */
  .breadcrumb { font-size: 11px !important; padding: 8px 0 4px !important; flex-wrap: nowrap; overflow: hidden; }
  .breadcrumb-item { white-space: nowrap; }
  .breadcrumb-item:not(:last-child):not(:nth-last-child(2)) { display: none; }

  /* === CLS FIX: резервуємо місце для картинок === */
  .ge2-card-media img { content-visibility: auto; }
}

/* CLS: aspect-ratio для всіх зображень в сітці (запобігає зсуву при завантаженні) */
.ge2-product-grid .ge2-card-media {
  aspect-ratio: 1 / 1;
  contain: strict;
}

/* ════════ DROPDOWN FIX: навбар не обрізає абсолютний блок ════════ */
nav#menu.navbar { overflow: visible !important; }
nav#menu .navbar-collapse { overflow: visible !important; }
nav#menu .navbar-nav { overflow: visible !important; }
nav#menu .ge-hover-dropdown { position: relative; overflow: visible !important; }

/* ════════ ТИПОГРАФІКА 2025 — повний рестарт ════════ */

/* Базовий шрифт: більший розмір, кращий leading */
html {
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-size: 15px !important;
  line-height: 1.65 !important;
  letter-spacing: -0.01em !important;
  font-weight: 400 !important;
}

/* Заголовки — чіткий контраст */
h1 { font-size: 28px !important; font-weight: 900 !important; line-height: 1.2 !important; letter-spacing: -0.04em !important; }
h2 { font-size: 22px !important; font-weight: 800 !important; line-height: 1.25 !important; letter-spacing: -0.03em !important; }
h3 { font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important; }
h4 { font-size: 15px !important; font-weight: 600 !important; }
h5 { font-size: 14px !important; font-weight: 600 !important; }

/* Параграфи */
p { font-size: 15px; line-height: 1.7; }

/* Навігація */
nav#menu .nav-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
}

/* Назва товару в картці */
.ge2-card-name { font-size: 13px !important; font-weight: 600 !important; line-height: 1.4 !important; }
.ge2-card-name a { letter-spacing: -0.01em !important; }

/* Ціна */
.ge2-price-new { font-size: 18px !important; font-weight: 900 !important; letter-spacing: -0.03em !important; }
.ge2-price-old { font-size: 12px !important; }

/* Кнопки */
.btn, button { font-size: 14px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.ge2-add-btn { font-size: 12px !important; font-weight: 700 !important; }

/* Сайдбар */
#column-left .list-group-item { font-size: 13px !important; font-weight: 500 !important; }

/* Хлібні крихти */
.breadcrumb-item, .breadcrumb-item a { font-size: 12px !important; font-weight: 500 !important; }

/* Описи */
#tab-description p, #tab-description li { font-size: 15px !important; line-height: 1.75 !important; }

/* Форми */
input, select, textarea { font-size: 14px !important; }

/* Мобіль: трохи менший базовий */
@media (max-width: 767px) {
  html { font-size: 14px; }
  body { font-size: 14px !important; }
  h1 { font-size: 22px !important; }
  h2 { font-size: 18px !important; }
  nav#menu .nav-link { font-size: 14px !important; text-transform: none !important; }
}

/* Mobile: homepage product grid 2 cols instead of 1 */
@media (max-width: 575px) {
  .row.row-cols-1 > .col {
    flex: 0 0 auto !important;
    width: 50% !important;
    max-width: 50% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .row.row-cols-1 {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }
  .row.row-cols-1 .ge2-card {
    font-size: 13px;
  }
  .row.row-cols-1 .ge2-card .ge2-price-new {
    font-size: 15px;
  }
}

/* ════ ГАЛЕРЕЯ ADDITIONAL ФОТО ════ */
#product-info .image > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
#product-info .image > div .img-thumbnail {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  background: #f8f8f8 !important;
  cursor: pointer;
  transition: border-color 0.2s;
}
#product-info .image > div .img-thumbnail:hover {
  border-color: #f5a623 !important;
}
/* Основне фото — обмежити висоту щоб не займало весь екран */
#product-info .image > a > .img-thumbnail {
  max-height: 450px !important;
  width: auto !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 auto 8px !important;
}

/* ==== Блок "Додати до замовлення" (cross-sell під кнопкою Купити) ==== */
.ge-upsell {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e9e9e9;
}
.ge-upsell-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #2b2b2b;
  letter-spacing: 0.2px;
}
.ge-upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.ge-upsell-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  padding: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.ge-upsell-card:hover {
  border-color: #cf4647;
  box-shadow: 0 2px 8px rgba(207,70,71,0.10);
}
.ge-upsell-img {
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #fafafa;
}
.ge-upsell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ge-upsell-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ge-upsell-name {
  font-size: 12px;
  line-height: 1.3;
  color: #2b2b2b;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 6px;
  min-height: 32px;
}
.ge-upsell-name:hover { color: #cf4647; text-decoration: none; }
.ge-upsell-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  min-height: 20px;
}
.ge-upsell-price-new {
  font-size: 14px;
  font-weight: 700;
  color: #cf4647;
}
.ge-upsell-price-old {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}
.ge-upsell-add {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 10px;
  margin-top: auto;
  background: #28a745;
  border: 1px solid #28a745;
  color: #fff;
  border-radius: 6px;
  line-height: 1.2;
  transition: background .12s, border-color .12s;
}
.ge-upsell-add:hover { background: #218838; border-color: #1e7e34; color: #fff; }
.ge-upsell-add:focus { outline: 2px solid #cf4647; outline-offset: 1px; }
.ge-upsell-add[disabled] { opacity: .75; cursor: progress; }
.ge-upsell-add.ge-added { background: #6c757d; border-color: #6c757d; }
.ge-upsell-add i { margin-right: 4px; }

/* Мобільний — 2 в ряд, крупніша кнопка */
@media (max-width: 575px) {
  .ge-upsell-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .ge-upsell-card { padding: 6px; }
  .ge-upsell-name { font-size: 11.5px; min-height: 30px; }
  .ge-upsell-price-new { font-size: 13px; }
  .ge-upsell-price-old { font-size: 11px; }
  .ge-upsell-add {
    font-size: 12.5px;
    padding: 11px 6px;
    min-height: 42px;
  }
}
@media (min-width: 1200px) {
  .ge-upsell-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}
