/* ============================================
   SITE2 - SportBazar.pl Style Clone
   Minimalist black/white + lime green accent
   Font: Poppins | Flat design | Clean layout
   ============================================ */

/* ---- Reset & Base ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.3;
  color: #191919;
  background: #fff;
}
a { color: #191919; text-decoration: none; transition: color 0.2s; }
a:hover { color: #a6e32e; }
img { max-width: 100%; height: auto; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 15px; }

/* ---- Top Promo Bar (Row 1) ---- */
.sb-topbar {
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 6px 0;
  letter-spacing: 0.3px;
}
.sb-topbar-inner {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}
.sb-topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sb-topbar-item i { color: #a6e32e; font-size: 12px; }

/* ---- Header (Row 2) - Logo, Search, Icons ---- */
.sb-header {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.sb-header-inner {
  display: flex;
  align-items: center;
  gap: 25px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}
.sb-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.sb-logo-icon {
  font-size: 28px;
  color: #a6e32e;
}
.sb-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.5px;
}
.sb-logo-text span { color: #a6e32e; }
.sb-logo-sub {
  font-size: 10px;
  color: #757575;
  display: block;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Search */
.sb-search {
  flex: 1;
  max-width: 520px;
}
.sb-search form,
.sb-search .input-group {
  display: flex;
  border: 2px solid #000;
  border-radius: 0;
  overflow: hidden;
}
.sb-search input[type="text"],
.sb-search .form-control {
  flex: 1;
  padding: 10px 15px;
  border: none !important;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  background: #fff;
  border-radius: 0 !important;
}
.sb-search button,
.sb-search .btn {
  background: #000;
  color: #fff;
  border: none !important;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 0 !important;
  transition: background 0.2s;
}
.sb-search button:hover,
.sb-search .btn:hover { background: #232323; }

/* Header Icons */
.sb-header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.sb-header-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #191919;
  font-size: 11px;
  text-decoration: none;
  gap: 2px;
  transition: color 0.2s;
}
.sb-header-icon i { font-size: 20px; }
.sb-header-icon:hover { color: #a6e32e; }
.sb-cart-btn {
  position: relative;
}
.sb-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #e7003c;
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Main Navigation (Row 3) ---- */
.sb-nav {
  background: #fff;
  border-bottom: 2px solid #000;
}
.sb-nav-inner {
  display: flex;
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 0;
}
.sb-nav-link {
  color: #191919;
  text-decoration: none;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.sb-nav-link:hover {
  color: #a6e32e;
  border-bottom-color: #a6e32e;
}
.sb-nav-link.active {
  border-bottom-color: #a6e32e;
  color: #a6e32e;
}
.sb-nav-link.sale {
  color: #e7003c;
  font-weight: 700;
}
.sb-nav-link.sale:hover {
  border-bottom-color: #e7003c;
}
.sb-nav-link.new-badge {
  color: #19e883;
}

/* Nav dropdown/megamenu */
.sb-nav-item { position: relative; }
.sb-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 700px;
  border: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 25px 30px;
  z-index: 999;
}
.sb-nav-item:hover .sb-nav-dropdown { display: block; }
.sb-nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sb-nav-dropdown-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #a6e32e;
}
.sb-nav-dropdown-col a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: #555;
  font-weight: 400;
}
.sb-nav-dropdown-col a:hover { color: #a6e32e; }

/* ---- Breadcrumbs ---- */
.breadcrumb {
  padding: 15px 0;
  margin: 0;
  background: none;
  font-size: 12px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding: 0 6px;
  color: #aaa;
}
.breadcrumb-item a { color: #757575; }
.breadcrumb-item a:hover { color: #a6e32e; }
.breadcrumb-item:last-child a { color: #191919; }

/* ---- Product Card (sportbazar style) ---- */
.product-card {
  background: #fff;
  border: 1px solid #eee;
  position: relative;
  transition: box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 0 10px #aaa;
}
.product-card .card-image {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: #fff;
}
.product-card .card-image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.3s;
}
.product-card:hover .card-image img { transform: scale(1.03); }

/* Discount badge - red, top left */
.product-card .discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e7003c;
  color: #fff;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  border-radius: 0;
}
/* New badge */
.product-card .new-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #19e883;
  color: #000;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

.product-card .card-body {
  padding: 10px 12px 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .card-brand {
  font-size: 10px;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-card .card-title {
  font-size: 13px;
  font-weight: 400;
  color: #191919;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-card .card-title a { color: #191919; text-decoration: none; }
.product-card .card-title a:hover { color: #a6e32e; }

.product-card .card-price-block {
  margin-top: auto;
}
.product-card .card-price {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}
.product-card .card-price.sale { color: #e7003c; }
.product-card .card-price-old {
  font-size: 13px;
  color: #757575;
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

/* Add to cart on card */
.product-card .card-cart-btn {
  display: block;
  width: 100%;
  padding: 8px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Poppins', sans-serif;
  margin-top: 10px;
}
.product-card .card-cart-btn:hover { background: #232323; }

/* ---- Products Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }

/* ---- Category Page Layout ---- */
.category-layout {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}
.category-sidebar {
  width: 240px;
  min-width: 240px;
}
.category-content {
  flex: 1;
  min-width: 0;
}

/* ---- Sidebar Filters ---- */
.sidebar-box {
  border: 1px solid #eee;
  padding: 18px;
  margin-bottom: 15px;
  background: #fff;
}
.sidebar-title {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #a6e32e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-section { margin-bottom: 18px; }
.filter-title {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.price-filter {
  display: flex;
  gap: 6px;
  align-items: center;
}
.price-input {
  width: 75px;
  padding: 7px 8px;
  border: 1px solid #ddd;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  border-radius: 0;
}
.price-separator { color: #999; font-size: 12px; }
.price-apply {
  padding: 7px 12px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 0;
  text-transform: uppercase;
}
.price-apply:hover { background: #232323; }

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  cursor: pointer;
  font-size: 13px;
  color: #555;
}
.filter-option input[type="checkbox"] { accent-color: #a6e32e; }
.filter-option .count { color: #aaa; font-size: 11px; }

.filter-search-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #ddd;
  font-size: 13px;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
  border-radius: 0;
}
.show-more-btn {
  background: none;
  border: none;
  color: #a6e32e;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
}

.subcategories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.subcategories-list li {
  padding: 4px 0;
  border-bottom: 1px solid #f5f5f5;
}
.subcategories-list li:last-child { border-bottom: none; }
.subcategories-list li a { color: #555; font-size: 13px; }
.subcategories-list li a:hover { color: #a6e32e; }

/* ---- Category Controls ---- */
.category-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.results-count { font-size: 13px; color: #757575; }
.sort-select {
  padding: 7px 10px;
  border: 1px solid #ddd;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  color: #191919;
  border-radius: 0;
}

/* Category Title */
.category-title {
  font-size: 30px;
  font-weight: 400;
  color: #000;
  margin: 0 0 15px 0;
}

/* ---- Pagination ---- */
.pagination-wrapper { display: flex; justify-content: center; margin: 25px 0; }
.pagination { display: flex; gap: 3px; list-style: none; padding: 0; }
.pagination .page-item .page-link {
  padding: 8px 14px;
  border: 1px solid #eee;
  color: #191919;
  font-size: 13px;
  background: #fff;
  text-decoration: none;
  transition: all 0.2s;
  border-radius: 0;
}
.pagination .page-item .page-link:hover {
  background: #a6e32e;
  color: #000;
  border-color: #a6e32e;
}
.pagination .page-item.active .page-link {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* ---- Product Page ---- */
.product-page-wrapper { background: #fff; padding: 20px 0; }
.product-main-card {
  background: #fff;
  padding: 20px 0;
  margin-bottom: 20px;
}
.product-gallery .main-image {
  border: 1px solid #eee;
  overflow: hidden;
  margin-bottom: 10px;
}
.product-gallery .main-image img { width: 100%; height: auto; cursor: zoom-in; }
.product-gallery .thumbnails { display: flex; gap: 8px; flex-wrap: wrap; }
.product-gallery .thumb-item {
  width: 65px; height: 65px;
  border: 1px solid #eee;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.product-gallery .thumb-item:hover,
.product-gallery .thumb-item.active { border-color: #a6e32e; }
.product-gallery .thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.product-title { font-size: 22px; font-weight: 400; color: #000; margin-bottom: 10px; line-height: 1.3; }
.product-code { color: #757575; font-size: 12px; margin-bottom: 15px; }

.product-price-box {
  background: #fff;
  padding: 15px 0;
  margin: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.product-price { font-size: 32px; font-weight: 700; color: #000; }
.product-price.sale { color: #e7003c; }
.product-price-old { font-size: 16px; color: #757575; text-decoration: line-through; margin-left: 10px; font-weight: 400; }
.product-price-lowest { font-size: 11px; color: #757575; margin-top: 4px; }

/* Product info list */
.product-info-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.product-info-list li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #555;
  border-bottom: 1px solid #f5f5f5;
}
.product-info-list li i { color: #a6e32e; width: 18px; text-align: center; }
.stock-plenty { color: #19e883 !important; font-weight: 600; }
.stock-low { color: #e7003c !important; font-weight: 600; }

/* Buy button - BLACK, full width */
.btn-buy {
  display: block;
  width: 100%;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 700;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
}
.btn-buy:hover { background: #232323; color: #fff; }
.btn-quickorder {
  display: block;
  width: 100%;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 2px solid #000;
  color: #000;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
  border-radius: 0;
}
.btn-quickorder:hover { background: #000; color: #fff; }

/* Product actions */
.product-actions { margin: 15px 0; }

/* Size selectors */
.size-variants { margin: 15px 0; }
.size-variants-title { font-weight: 600; margin-bottom: 8px; color: #000; font-size: 13px; text-transform: uppercase; }
.size-btn {
  min-width: 48px;
  padding: 8px 12px;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #ddd;
  background: #fff;
  color: #191919;
  display: inline-block;
  text-align: center;
  margin: 2px;
  transition: all 0.2s;
  border-radius: 0;
}
.size-btn:hover { border-color: #000; background: #000; color: #fff; }
.size-btn.active { background: #000; color: #fff; border-color: #000; }
.size-btn.disabled { opacity: 0.3; pointer-events: none; text-decoration: line-through; }

.color-btn {
  width: 48px; height: 48px;
  border: 1px solid #ddd;
  padding: 2px;
  transition: all 0.2s;
  display: inline-block;
  border-radius: 0;
}
.color-btn:hover { border-color: #a6e32e; }
.color-btn.active { border-color: #a6e32e; border-width: 2px; }
.color-btn img { width: 100%; height: 100%; object-fit: cover; }

/* Product tabs */
.product-tabs {
  border-top: 2px solid #000;
  margin-top: 30px;
}
.product-tabs .nav-tabs {
  border: none;
  display: flex;
  gap: 0;
}
.product-tabs .nav-link {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #757575;
  text-transform: uppercase;
  border: none;
  border-bottom: 3px solid transparent;
  background: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  border-radius: 0;
}
.product-tabs .nav-link:hover { color: #000; }
.product-tabs .nav-link.active {
  color: #000;
  border-bottom-color: #a6e32e;
}
.product-tabs .tab-content { padding: 20px 0; }

/* Specs table */
.specs-card {
  background: #fff;
  padding: 20px 0;
  margin-bottom: 20px;
}
.specs-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #a6e32e;
  text-transform: uppercase;
}
.specs-table { width: 100%; }
.specs-table tr { border-bottom: 1px solid #f0f0f0; }
.specs-table td { padding: 7px 0; font-size: 13px; }
.specs-table td:first-child { color: #757575; width: 40%; }
.specs-table td:last-child { font-weight: 500; color: #191919; }
.specs-table tr.hidden-param { display: none; }
.specs-table.expanded tr.hidden-param { display: table-row; }
.specs-toggle {
  display: block; width: 100%; padding: 8px;
  margin-top: 8px; background: #f5f5f5; border: none;
  color: #191919; font-size: 12px; font-weight: 600;
  cursor: pointer; text-align: center; text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}
.specs-toggle:hover { background: #eee; }

.description-card {
  background: #fff;
  padding: 20px 0;
  margin-bottom: 20px;
  border-top: 1px solid #eee;
}
.description-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
}

/* Related section */
.related-section { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.related-section h3 {
  font-size: 18px; font-weight: 700; color: #000;
  margin-bottom: 20px; text-transform: uppercase;
}

/* ---- Homepage ---- */
.sb-hero { padding: 0; margin-bottom: 25px; }

.home-categories { padding: 30px 0; }
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #a6e32e;
  display: inline-block;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.category-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 18px 12px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}
.category-card:hover { box-shadow: 0 0 10px #aaa; }
.category-icon {
  width: 85px; height: 85px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 36px;
  color: #fff;
}
.category-name { font-size: 11px; font-weight: 600; color: #191919; text-transform: uppercase; letter-spacing: 0.3px; word-wrap: break-word; overflow-wrap: break-word; text-align: center; line-height: 1.3; }

/* Brands section */
.brands-section { padding: 25px 0; border-top: 1px solid #eee; }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
.brand-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}
.brand-card:hover { border-color: #a6e32e; box-shadow: 2px 2px 4px #eee; }
.brand-card span { font-weight: 700; font-size: 14px; color: #191919; }

/* USP bar */
.sb-usp {
  background: #f5f5f5;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.sb-usp-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}
.sb-usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #191919;
}
.sb-usp-item i { font-size: 22px; color: #a6e32e; }
.sb-usp-item-text { font-size: 12px; }
.sb-usp-item-text strong { display: block; font-size: 13px; color: #000; }

/* ---- Footer ---- */
.sb-footer {
  background: #000;
  color: #aaa;
  padding: 35px 0 15px;
}
.sb-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}
.sb-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 25px;
}
.sb-footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}
.sb-footer-col ul { list-style: none; padding: 0; margin: 0; }
.sb-footer-col ul li { padding: 3px 0; }
.sb-footer-col ul li a { color: #aaa; font-size: 12px; transition: color 0.2s; }
.sb-footer-col ul li a:hover { color: #a6e32e; }
.sb-footer-col p { font-size: 12px; line-height: 1.6; }
.sb-footer-social { display: flex; gap: 8px; margin-top: 10px; }
.sb-footer-social a {
  width: 32px; height: 32px;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: background 0.2s;
}
.sb-footer-social a:hover { background: #a6e32e; color: #000; }
.sb-footer-bottom {
  border-top: 1px solid #333;
  padding-top: 15px;
  text-align: center;
  font-size: 11px;
  color: #666;
}

/* ---- Quick Order Modal ---- */
.quickorder-modal-overlay { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.6); z-index:10001; align-items:center; justify-content:center; }
.quickorder-modal-overlay.active { display:flex; }
.quickorder-modal {
  background:#fff; padding:30px; max-width:420px; width:90%;
  position:relative; box-shadow:0 20px 60px rgba(0,0,0,0.3);
}
.quickorder-modal h3 { font-size:18px; font-weight:700; color:#000; margin-bottom:5px; }
.quickorder-modal .subtitle { color:#757575; font-size:13px; margin-bottom:18px; }
.quickorder-modal .form-group { margin-bottom:12px; }
.quickorder-modal label { font-weight:600; font-size:12px; color:#000; margin-bottom:4px; display:block; text-transform:uppercase; }
.quickorder-modal input {
  width:100%; padding:10px 12px; border:2px solid #eee;
  font-size:14px; outline:none; box-sizing:border-box;
  font-family:'Poppins', sans-serif; border-radius:0;
}
.quickorder-modal input:focus { border-color:#a6e32e; }
.quickorder-modal .btn-submit {
  width:100%; padding:12px; font-size:14px; font-weight:700;
  border:none; background:#000; color:#fff; cursor:pointer;
  font-family:'Poppins', sans-serif; text-transform:uppercase;
  letter-spacing:1px; transition:background 0.2s; border-radius:0;
}
.quickorder-modal .btn-submit:hover { background:#232323; }
.quickorder-modal .btn-submit:disabled { background:#ccc; }
.quickorder-modal .close-btn {
  position:absolute; top:12px; right:12px; background:none; border:none;
  font-size:20px; color:#999; cursor:pointer;
}
.quickorder-modal .product-info {
  display:flex; align-items:center; gap:12px; background:#f5f5f5;
  padding:12px; margin-bottom:15px;
}
.quickorder-modal .product-info img { width:50px; height:50px; object-fit:contain; border:1px solid #eee; }
.quickorder-modal .product-info-name { font-size:12px; font-weight:600; color:#000; }
.quickorder-modal .product-info-price { font-size:14px; font-weight:700; color:#000; }
.quickorder-success { text-align:center; padding:20px 0; }
.quickorder-success i { font-size:50px; color:#a6e32e; margin-bottom:15px; }

/* ---- Chat widget ---- */
#es-chat-btn {
  position:fixed; bottom:25px; right:25px; width:56px; height:56px;
  background:#000; border-radius:50%; display:flex; align-items:center;
  justify-content:center; cursor:pointer; box-shadow:0 4px 15px rgba(0,0,0,0.3);
  z-index:9998; transition:transform 0.3s; color:#fff; font-size:24px;
}
#es-chat-btn:hover { transform:scale(1.1); background:#232323; }
#es-chat-badge {
  position:absolute; top:-2px; right:-2px; background:#e7003c; color:#fff;
  width:18px; height:18px; border-radius:50%; font-size:10px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
#es-chat-box {
  position:fixed; bottom:90px; right:25px; width:360px; max-height:480px;
  background:#fff; box-shadow:0 8px 30px rgba(0,0,0,0.2);
  z-index:9999; display:flex; flex-direction:column; overflow:hidden;
}
#es-chat-header {
  background:#000; padding:15px 18px;
  display:flex; align-items:center; justify-content:space-between; color:#fff;
}

/* Sticky buy bar */
.sticky-buy-bar {
  position:fixed; bottom:0; left:0; right:0; z-index:990;
  background:#fff; border-top:2px solid #eee;
  padding:10px 20px; z-index:999;
  display:none; box-shadow:0 -2px 10px rgba(0,0,0,0.08);
}
.sticky-buy-bar.visible { display:block; }

/* Product unavailable */
.product-unavailable {
  background: #f5f5f5;
  border: 1px solid #eee;
  padding: 20px;
  text-align: center;
}

/* Allegro description */
.allegro-description { max-width: 700px; }
.allegro-description .desc-heading { font-size: 16px; font-weight: 600; color: #000; margin: 20px 0 10px; }
.allegro-description p { line-height: 1.6; color: #444; margin-bottom: 12px; font-size: 14px; }

/* Preloader */
#page-preloader {
  background: #000 !important;
}

/* OpenCart overrides */
#column-left, #column-right, .column-left, .column-right { display: none !important; }
#product-category { max-width: 1240px; margin: 0 auto; padding: 0 15px; }
#product-category .container { max-width: 100%; padding: 0; }
.btn-success, .btn-primary { background: #000 !important; border-color: #000 !important; border-radius: 0 !important; }
.btn-success:hover, .btn-primary:hover { background: #232323 !important; }
.form-control:focus { border-color: #a6e32e !important; box-shadow: none !important; }

/* Responsive */
@media (max-width: 768px) {
  .sb-header-inner { flex-wrap: wrap; }
  .sb-search { order: 3; max-width: 100%; flex-basis: 100%; margin-top: 10px; }
  .sb-nav-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sb-nav-link { padding: 10px 12px; font-size: 12px; }
  .category-layout { flex-direction: column; }
  .category-sidebar { width: 100%; min-width: 100%; }
  .sb-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sb-topbar-inner { gap: 12px; font-size: 10px; }
  .sb-usp-items { gap: 15px; }
}
@media (max-width: 480px) {
  .sb-footer-grid { grid-template-columns: 1fr; }
  .products-grid { gap: 8px; }
}

/* ===== Loading Page (product fetch) ===== */
.loading-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
.loading-icon {
  font-size: 60px;
  color: #a6e32e;
  margin-bottom: 25px;
  animation: loadingPulse 1.5s ease-in-out infinite;
}
.loading-icon.error {
  color: #e7003c;
  animation: none;
}
@keyframes loadingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
.loading-title {
  font-size: 28px;
  font-weight: 700;
  color: #191919;
  margin-bottom: 12px;
}
.loading-text {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
  max-width: 450px;
}
.loading-progress {
  width: 250px;
  height: 4px;
  background: #eee;
  overflow: hidden;
  margin-bottom: 30px;
}
.loading-progress-bar {
  width: 0;
  height: 100%;
  background: #a6e32e;
  animation: loadingBar 2.5s ease-in-out infinite;
}
@keyframes loadingBar {
  0% { width: 0; margin-left: 0; }
  50% { width: 60%; margin-left: 20%; }
  100% { width: 0; margin-left: 100%; }
}
.retry-btn {
  display: none;
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  transition: background 0.2s;
}
.retry-btn:hover {
  background: #a6e32e;
  color: #000;
}
.back-link {
  display: none;
}
.back-link a {
  color: #666;
  text-decoration: underline;
  font-size: 13px;
}
.back-link a:hover {
  color: #a6e32e;
}

/* Header phone number */
.sb-header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #191919;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  transition: color 0.2s;
}
.sb-header-phone i {
  color: #a6e32e;
  font-size: 16px;
}
.sb-header-phone:hover {
  color: #a6e32e;
}

/* Sticky header on scroll */
.sb-header-sticky-wrap {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Cart dropdown z-index fix */
.sb-cart-btn {
  position: relative;
  z-index: 1001;
}
.sb-cart-btn .dropdown-menu {
  z-index: 1050;
  min-width: 340px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  border: 1px solid #eee;
  border-radius: 0;
}
.sb-header-sticky-wrap {
  overflow: visible !important;
}
.sb-header {
  overflow: visible !important;
}
.sb-header-inner {
  overflow: visible !important;
}
.sb-header-icons {
  overflow: visible !important;
}

/* ===== Info Pages Styles ===== */
.info-page { max-width: 900px; margin: 0 auto; padding: 30px 15px; font-family: 'Poppins', sans-serif; }
.info-section { margin-bottom: 40px; }
.info-section h2 { font-size: 22px; font-weight: 700; color: #191919; margin-bottom: 15px; display: flex; align-items: center; }
.info-section h3 { font-size: 18px; font-weight: 600; color: #191919; margin: 25px 0 12px; }
.info-section p { font-size: 14px; color: #555; line-height: 1.7; }
.info-section ul { padding-left: 20px; }
.info-section ul li { font-size: 14px; color: #555; margin-bottom: 6px; line-height: 1.6; }

.info-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 20px 0; }
.info-card { background: #f8f8f8; border-left: 3px solid #a6e32e; padding: 20px; }
.info-card h4 { font-size: 15px; font-weight: 600; color: #191919; margin-bottom: 8px; }
.info-card p { font-size: 13px; color: #555; margin: 0; line-height: 1.6; }
.info-card ul { padding-left: 18px; margin: 0; }
.info-card ul li { font-size: 13px; }

.info-table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.info-table th { background: #000; color: #fff; padding: 10px 14px; text-align: left; font-size: 13px; font-weight: 600; }
.info-table td { padding: 10px 14px; border-bottom: 1px solid #eee; font-size: 13px; color: #333; }
.info-table tr:hover td { background: #f8f8f8; }

.info-note { background: #fffde7; border-left: 3px solid #a6e32e; padding: 15px 20px; font-size: 13px; color: #555; margin: 20px 0; line-height: 1.6; }

.info-steps { padding-left: 20px; }
.info-steps li { font-size: 14px; color: #555; margin-bottom: 12px; line-height: 1.6; padding-left: 5px; }
.info-steps li strong { color: #191919; }

@media (max-width: 768px) {
  .info-cards { grid-template-columns: 1fr; }
  .info-table { font-size: 12px; }
  .info-table th, .info-table td { padding: 8px 10px; }
}

/* ===================================================
   MOBILE & TABLET RESPONSIVE - sportbazar.pl style
   =================================================== */

/* --- Tablet (768-1100px) --- */
@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px;
  }
  .category-icon {
    width: 65px; height: 65px; font-size: 28px;
  }
}

/* --- Mobile landscape / small tablet (481-768px) --- */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px;
  }
  .category-card {
    padding: 12px 6px;
  }
  .category-icon {
    width: 55px; height: 55px; font-size: 24px;
    margin-bottom: 8px;
  }
  .category-name {
    font-size: 9px;
    letter-spacing: 0;
  }
  
  /* Product cards mobile - 2 columns like sportbazar */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .product-card .card-body {
    padding: 8px 8px 10px;
  }
  .product-card .card-brand {
    font-size: 9px;
    margin-bottom: 2px;
  }
  .product-card .card-title {
    font-size: 12px;
    -webkit-line-clamp: 2;
    margin-bottom: 6px;
  }
  .product-card .card-price {
    font-size: 16px;
  }
  .product-card .card-price-old {
    font-size: 11px;
  }
  .product-card .card-cart-btn {
    padding: 7px;
    font-size: 11px;
    margin-top: 8px;
  }
  .product-card .card-image {
    padding-top: 100%;
  }
  .product-card .card-image img {
    padding: 6px;
  }
  
  /* Sticky buy bar mobile */
  .sticky-buy-bar {
    font-size: 13px;
  }
  
  /* Header mobile */
  .sb-header-phone {
    font-size: 13px;
  }
  
  /* USP bar mobile */
  .sb-usp-items {
    flex-direction: column;
    gap: 10px;
    text-align: left;
  }
  .sb-usp-item {
    justify-content: flex-start;
  }
}

/* --- Mobile portrait (up to 480px) --- */
@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px;
  }
  .category-card {
    padding: 10px 4px;
  }
  .category-icon {
    width: 45px; height: 45px; font-size: 20px;
    margin-bottom: 6px;
  }
  .category-name {
    font-size: 8px;
  }
  
  /* Products - stay 2 columns on mobile like sportbazar */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
  }
  .product-card .card-body {
    padding: 6px 6px 8px;
  }
  .product-card .card-brand {
    font-size: 8px;
  }
  .product-card .card-title {
    font-size: 11px;
    margin-bottom: 4px;
    line-height: 1.25;
  }
  .product-card .card-price {
    font-size: 15px;
  }
  .product-card .card-price-old {
    font-size: 10px;
    display: block;
    margin-left: 0;
  }
  .product-card .card-cart-btn {
    padding: 6px;
    font-size: 10px;
    letter-spacing: 0;
  }
  .product-card .card-image img {
    padding: 4px;
  }
  .product-card .discount-badge {
    font-size: 10px;
    padding: 1px 5px;
    top: 4px; left: 4px;
  }
  
  /* Topbar mobile */
  .sb-topbar {
    display: none;
  }
  
  /* Header mobile compact */
  .sb-logo-text {
    font-size: 20px !important;
  }
  .sb-logo-sub {
    font-size: 8px !important;
  }
  .sb-logo-icon {
    font-size: 22px !important;
  }
  
  /* Sticky product bar mobile */
  #sticky-product-bar .container {
    padding: 6px 10px;
  }
  
  /* Footer mobile */
  .sb-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  /* Product page mobile */
  .product-page-wrapper .row {
    flex-direction: column;
  }
  
  /* Info pages mobile */
  .info-page {
    padding: 20px 10px;
  }
  .info-section h2 {
    font-size: 18px;
  }
}

/* --- Very small screens (up to 360px) --- */
@media (max-width: 360px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .category-icon {
    width: 40px; height: 40px; font-size: 18px;
  }
  .product-card .card-price {
    font-size: 14px;
  }
  .product-card .card-title {
    font-size: 10px;
  }
}
