:root {
  --bikehero-primary: #FA4616;
  --bikehero-primary-dark: #D53C12;
  --bikehero-primary-light: #FF6C3A;
}

a {
  color: var(--bikehero-primary);
  transition: color 0.15s ease;
}

a:hover,
a:focus {
  color: var(--bikehero-primary-dark);
}

.btn-primary,
.button-primary,
.btn-outline-primary:hover,
button[type="submit"].btn-primary,
.btn.btn-primary {
  background-color: var(--bikehero-primary);
  border-color: var(--bikehero-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.button-primary:hover,
.button-primary:focus {
  background-color: var(--bikehero-primary-dark);
  border-color: var(--bikehero-primary-dark);
}

.btn-outline-primary,
.button-outline-primary {
  color: var(--bikehero-primary);
  border-color: var(--bikehero-primary);
}

.btn,
.button,
button[type="submit"],
button.btn,
.btn-primary,
.button-primary,
.btn-outline-primary,
.button-outline-primary {
  border-radius: 40px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.btn:focus,
.button:hover,
.button:focus,
button[type="submit"]:hover,
button[type="submit"]:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(250, 70, 22, 0.25);
}

.badge-primary,
.product-flag.new,
.pagination .current a {
  background-color: var(--bikehero-primary);
  border-color: var(--bikehero-primary);
}

.header-nav .blockcart,
#footer .block-contact li i {
  color: var(--bikehero-primary);
}

#header .top-menu > li > a,
#header .top-menu > li > .dropdown-item,
.top-menu a {
  color: #000;
  font-size: 0.9375rem;
}

#header .top-menu > li > a:hover,
#header .top-menu > li > .dropdown-item:hover,
.top-menu a:hover,
#header .top-menu > li > a:focus,
#header .top-menu > li > .dropdown-item:focus,
.top-menu a:focus {
  color: var(--bikehero-primary);
}

.footer-container a,
.footer-container a:visited,
#footer a,
#footer .block-contact li a,
.footer-after a,
.footer-after a:visited {
  color: inherit;
}

.footer-container a:hover,
.footer-container a:focus,
#footer a:hover,
#footer a:focus,
#footer .block-contact li a:hover,
.footer-after a:hover,
.footer-after a:focus {
  color: var(--bikehero-primary);
}

#left-column .block-categories a,
#left-column .block-categories a:visited,
.block-categories .category-sub-menu li a {
  color: inherit;
}

#left-column .block-categories a:hover,
#left-column .block-categories a:focus,
.block-categories .category-sub-menu li a:hover,
.block-categories .category-sub-menu li a:focus {
  color: var(--bikehero-primary);
}

.block-categories {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.block-categories .title_block {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.block-categories .category-sub-menu li {
  list-style: none;
  margin-bottom: 8px;
}

.block-categories .category-sub-menu li:last-child {
  margin-bottom: 0;
}

.block-categories .category-sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f8f8fb;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.block-categories .category-sub-menu li a:hover,
.block-categories .category-sub-menu li a:focus {
  background: rgba(250, 70, 22, 0.06);
  border-color: var(--bikehero-primary);
  color: var(--bikehero-primary);
}

.faceted-search,
#search_filters,
#search_filters_brands,
#search_filters_suppliers {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faceted-search .facet {
  border-bottom: 1px solid #f2f2f2;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.faceted-search .facet:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faceted-search .facet .facet-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.faceted-search .facet .facet-label {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-weight: 500;
  color: #4b4b4b;
  transition: color 0.2s ease;
}

.faceted-search .facet .facet-label:hover,
.faceted-search .facet .facet-label:focus-within {
  color: var(--bikehero-primary);
}

.faceted-search .custom-checkbox input[type='checkbox']:checked + .check {
  border-color: var(--bikehero-primary);
  background: var(--bikehero-primary);
}

.faceted-search .custom-checkbox .check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-nav a,
.header-nav .dropdown-item,
.nav .nav-link {
  color: inherit;
}

#header .header-nav .language-selector .expand-more,
#header .header-nav .language-selector a,
#header .header-nav .user-info a,
#header .header-nav #contact-link a {
  color: inherit;
}

.header-nav a:hover,
.header-nav a:focus,
.header-nav .dropdown-item:hover,
.header-nav .dropdown-item:focus,
.nav .nav-link:hover,
.nav .nav-link:focus {
  color: var(--bikehero-primary);
}

.tabs .nav-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: inherit;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tabs .nav-tabs .nav-link:hover,
.tabs .nav-tabs .nav-link:focus,
.tabs .nav-tabs .nav-link:active {
  color: var(--bikehero-primary) !important;
  border-bottom-color: var(--bikehero-primary);
  background-color: transparent;
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link.active:focus,
.tabs .nav-tabs .nav-link.active:hover {
  color: var(--bikehero-primary) !important;
  border-bottom-color: var(--bikehero-primary);
  background-color: transparent;
}

.product-images .thumb-container .thumb {
  border: 2px solid transparent;
}

.product-images .thumb-container .thumb:hover,
.product-images .thumb-container .thumb:focus,
.product-images .thumb-container .thumb.selected {
  border-color: var(--bikehero-primary) !important;
  outline: none;
}

.product-flags,
.product-miniature .product-flags {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.15rem;
  padding: 0;
  list-style: none;
}

.product-flags .product-flag,
.product-miniature .product-flags .product-flag {
  font-size: 0.65rem !important;
  line-height: 1.1;
  padding: 0.15rem 0.45rem !important;
  min-width: auto !important;
  text-transform: none !important;
  border-radius: 999px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
}

.product-flag.heroquality {
  background-color: #fa4616 !important;
  border-color: #fa4616 !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(250, 70, 22, 0.2);
}

.product-miniature .product-title a {
  color: #000 !important;
  font-weight: 700;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: none;
}

.product-miniature__colors {
  margin: 0.25rem 0 0.35rem;
}

.product-miniature__colors .variant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-start;
}

.product-miniature__colors .variant-links .color {
  border: 1px solid #dfe3e8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
}

.product-miniature .product-price-and-shipping {
  justify-content: flex-start;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.product-prices__wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.product-prices__wrapper .regular-price {
  text-decoration: line-through;
  color: #9da3ae;
  font-size: 0.95rem;
}

.product-prices__wrapper .current-price {
  color: #fa4616;
  font-weight: 700;
}

.product-summary-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-top: 12px;
}

.product-summary-card .h1 {
  margin-top: 0;
  font-size: 2rem;
  line-height: 1.3;
}

.product-summary-card .product-prices {
  margin-top: 18px;
  margin-bottom: 26px;
}

.product-summary-card .product-information {
  margin-top: 18px;
}

@media (max-width: 991px) {
  .product-summary-card {
    max-width: 100%;
    margin-left: 0;
    padding: 24px;
  }
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 18px 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
  margin-top: 32px;
}

.pagination > div {
  padding: 0;
  display: flex;
  align-items: center;
}

.pagination .col-md-4 {
  color: #4a4a4a;
  font-weight: 600;
}

.pagination .col-md-6 {
  flex: 1;
  justify-content: center;
}

.pagination .page-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination .page-list li {
  display: inline-flex;
}

.pagination .page-list li .spacer {
  color: #9da3ae;
  padding: 0 6px;
}

.pagination .page-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #181818;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.pagination .page-list li a .material-icons {
  font-size: 18px;
  margin-left: 4px;
}

.pagination .page-list li.current a,
.pagination .page-list li a:hover,
.pagination .page-list li a:focus {
  background: var(--bikehero-primary);
  color: #fff;
  border-color: var(--bikehero-primary);
  box-shadow: 0 8px 24px rgba(250, 70, 22, 0.25);
}

.pagination .page-list li a.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.block_newsletter {
  background: #f7f8fa;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 32px 48px;
  margin: 40px auto 0;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.05);
  max-width: 1200px;
  width: 100%;
}

.block_newsletter #block-newsletter-label {
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0;
}

.block_newsletter .input-wrapper input[type='email'] {
  width: 100%;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  padding: 14px 22px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.block_newsletter .input-wrapper input[type='email']:focus {
  border-color: var(--bikehero-primary);
  box-shadow: 0 10px 30px rgba(250, 70, 22, 0.15);
}

.block_newsletter .btn.btn-primary {
  border-radius: 999px;
  padding: 14px 34px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.block_newsletter .btn.btn-primary.hidden-xs-down {
  display: inline-flex !important;
}

.block_newsletter .btn.btn-primary.hidden-sm-up {
  display: none !important;
}

.block_newsletter .row > .col-xs-12:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.block_newsletter .row > .col-xs-12:first-child .input-wrapper {
  flex: 1 1 280px;
}

.block_newsletter .row > .col-xs-12:first-child .clearfix {
  display: none;
}

.block_newsletter .row > .col-xs-12:last-child {
  margin-top: 12px;
}

.block_newsletter p {
  margin: 4px 0 0;
  color: #6b6b6b;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .block_newsletter {
    padding: 26px;
  }

  .block_newsletter #block-newsletter-label {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .block_newsletter .row > .col-xs-12:first-child {
    flex-direction: column;
    gap: 8px;
  }

  .block_newsletter .btn.btn-primary {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

#search_widget form input[type="text"],
.search-widget form input[type="text"] {
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 0.55rem 2.8rem 0.55rem 2.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#search_widget form input[type="text"]:focus,
.search-widget form input[type="text"]:focus {
  border-color: var(--bikehero-primary);
  box-shadow: 0 8px 24px rgba(250, 70, 22, 0.25);
}

#header .header-nav .language-selector .expand-more:hover,
#header .header-nav .language-selector a:hover,
#header .header-nav .user-info a:hover,
#header .header-nav #contact-link a:hover,
#header .header-nav .language-selector .expand-more:focus,
#header .header-nav .language-selector a:focus,
#header .header-nav .user-info a:focus,
#header .header-nav #contact-link a:focus {
  color: var(--bikehero-primary);
}

.products .product-title a,
.product-miniature .product-description .product-title a,
.featured-products .product-title a {
  color: var(--bikehero-primary);
}

.products .product-title a:hover,
.product-miniature .product-description .product-title a:hover,
.featured-products .product-title a:hover,
.products .product-title a:focus,
.product-miniature .product-description .product-title a:focus,
.featured-products .product-title a:focus {
  color: var(--bikehero-primary-dark);
}

.block-social {
  text-align: center;
}

.block-social ul {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.block-social ul li {
  background-color: #fff;
  border: 1px solid #FA4616;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
}

.block-social ul li.facebook {
  background-image: url('../img/social/facebook.svg');
}

.block-social ul li.twitter {
  background-image: url('../img/social/twitter.svg');
}

.block-social ul li.instagram {
  background-image: url('../img/social/instagram.svg');
}

.block-social ul li.youtube {
  background-image: url('../img/social/youtube.svg');
}

.block-social ul li.pinterest {
  background-image: url('../img/social/pinterest.svg');
}

.block-social ul li.vimeo {
  background-image: url('../img/social/vimeo.svg');
}

.block-social ul li.googleplus {
  background-image: url('../img/social/googleplus.svg');
}

.block-social ul li.rss {
  background-image: url('../img/social/rss.svg');
}

.block-social ul li.linkedin {
  background-image: url('../img/social/linkedin.svg');
}

.block-social ul li a {
  display: block;
  width: 100%;
  height: 100%;
  color: transparent;
  background-color: transparent;
}

.block-social ul li a:hover,
.block-social ul li a:focus {
  background-color: transparent;
  color: transparent;
}

.product-tabs-row {
  margin-top: 2rem;
}

.product-tabs-row .product-manufacturer {
  margin-bottom: 1.5rem;
}

.manufacturer-card {
  width: 100%;
  margin: 0;
}

.manufacturer-logo-wrapper {
  text-align: center;
  margin-bottom: 1rem;
}

.manufacturer-meta {
  font-size: 0.95rem;
  color: #4a4a4a;
  text-align: justify;
}

.manufacturer-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.manufacturer-description {
  line-height: 1.5;
}

.manufacturer-logo {
  max-width: 160px;
  max-height: 80px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: inline-block;
}

@media (min-width: 768px) {
  .manufacturer-logo-wrapper {
    margin-bottom: 0;
    text-align: left;
  }
}

.product-variants .input-container .color {
  border-radius: 0.75rem;
  overflow: hidden;
}

.product-variants .radio-label {
  border-radius: 999px;
}

.header-nav #_desktop_cart .blockcart.cart-preview.active,
#header #_desktop_cart .blockcart.cart-preview.active {
  background-color: #FA4616 !important;
  border-color: #FA4616 !important;
  transition: background-color 0.2s ease;
  color: #fff;
}

.header-nav #_desktop_cart .blockcart.cart-preview.active a,
.header-nav #_desktop_cart .blockcart.cart-preview.active .material-icons,
.header-nav #_desktop_cart .blockcart.cart-preview.active .hidden-sm-down,
.header-nav #_desktop_cart .blockcart.cart-preview.active .cart-products-count,
#header #_desktop_cart .blockcart.cart-preview.active a,
#header #_desktop_cart .blockcart.cart-preview.active .material-icons,
#header #_desktop_cart .blockcart.cart-preview.active .hidden-sm-down,
#header #_desktop_cart .blockcart.cart-preview.active .cart-products-count {
  color: #fff !important;
}

.product-prices .current-price-value,
.product-prices .current-price .price {
  color: #28a745;
  font-weight: 700;
}

.product-prices .product-discount .regular-price {
  color: #d9534f;
  text-decoration: line-through;
  font-weight: 600;
}
