/* Remove square container constraints */
.product-cover {
  padding-top: 0 !important;
  height: auto !important;
  position: static !important;
}

/* Make image behave normally inside container */
.product-cover img {
  position: static !important;
  object-fit: contain !important;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}


/* widen the site container */
/* widen the main page wrapper in Classic */
/* Global width: apply to header + body containers */
:root { --site-max: 1800px; } /* change this number */

/* Most Classic layout containers */
.container {
  max-width: var(--site-max) !important;
  width: 100% !important;
}

/* Center any full-width wrappers that contain a .container */
#wrapper,
#header,
#footer {
  width: 100%;
}

/* If any sections became full width, keep their inner content centered */
#wrapper .container,
#header .container,
#footer .container {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Center homepage banner images */
#index a.banner {
  display: block;
  text-align: center;
}

#index a.banner img {
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
}







/* ===== MOBILE SAFETY NET (forces carousel/banner to never overflow) ===== */
@media (max-width: 1199.98px) {

  /* Kill any fixed/min widths that can push off-screen */
  #carousel,
  #carousel .carousel-inner,
  #carousel .carousel-item,
  #carousel .carousel-item > a,
  #carousel .carousel-item figure,
  #carousel .carousel-item img,
  #content.page-home a.banner,
  #content.page-home a.banner img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* If any parent is wider, clip it (prevents horizontal scroll / drift) */
  #carousel,
  #content.page-home {
    overflow-x: hidden !important;
  }

  /* Make images behave responsively even if they have width="" attributes */
  #carousel .carousel-item img,
  #content.page-home a.banner img {
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Captions: keep them inside the slide on narrow screens */
  #carousel .carousel-caption {
    left: 10% !important;
    right: 10% !important;
  }
}

.breadcrumb {
  display: none;
}

#main .page-header {
  display: none;
}

body {
  color: #000;
}

/* Fix CMS page text */
.page-content.page-cms p,
.page-content.page-cms ul,
.page-content.page-cms li,
.page-content.page-cms dl,
.page-content.page-cms ol {
  color: #000 !important;
}

/* Fix top navigation menu */
#header .header-top a[data-depth="0"] {
  color: #000 !important;
}

/* Optional: keep hover looking nice */
#header .header-top a[data-depth="0"]:hover {
  color: #333 !important;
}


/* ===== PRODUCT NAMES ===== */
.product-title a,
.product-miniature .product-title a {
  color: #000 !important;
}

/* ===== ACCOUNT / HEADER LINKS (top right stuff) ===== */
#header .header-nav a,
#header .header-nav .blockcart a,
#header .header-nav .account a {
  color: #000 !important;
}

/* ===== FOOTER LINKS ===== */
.footer-container a,
.footer-container li a,
.block-contact,
.block-contact a {
  color: #000 !important;
}

/* ===== GENERAL LINKS (optional, if you want everything darker) ===== */
a {
  color: #000 !important;
}

/* ===== OPTIONAL: hover styling ===== */
a:hover {
  color: #333 !important;
}

/* ===== CART (top right) ===== */
#header .header-nav .blockcart,
#header .header-nav .blockcart a,
#_desktop_cart .header,
#_desktop_cart a {
  color: #000 !important;
}

/* ===== PRODUCT DESCRIPTION ===== */
.product-description p,
#description p {
  color: #000 !important;
}


/* Fix CMS image/text wrapping on smaller screens */
@media (max-width: 992px) {

  .page-content.page-cms *[style*="float"] {
    float: none !important;
    display: block !important;
    margin: 0 auto 15px auto !important;
  }

}

li {
    color: #000 !important;
}

li::marker {
    color: #000 !important;
}

.product-meta-simple {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.product-meta-simple .data-sheet {
    margin-bottom: 0;
}

.product-meta-simple .data-sheet dt,
.product-meta-simple .data-sheet dd {
    color: #000;
}

/* McPappy - Dyno page links */
.mcpappy-dyno-page a {
  color: #0056b3 !important;
}

.mcpappy-dyno-page a:hover {
  color: #003d80 !important;
}

#header .header-top {
  background: linear-gradient(
    to right,
    #ffffff 0%,
    #ffffff 20%,
    #1e73be 45%,
    #000000 75%,
    #000000 100%
  ) !important;
}

/* McPappy style top menu buttons */
#_desktop_top_menu .top-menu > li > a {
  background: linear-gradient(to bottom, #ff9900, #cc6600);
  color: #000 !important;

  padding: 3px 7px;        /* ↓ was 8px 14px */
  margin-right: 4px;        /* ↓ slightly tighter */

  border-radius: 3px;       /* slightly smaller corners */
  font-weight: 600;
  font-size: 12px;          /* ↓ from ~16px default */

  text-transform: uppercase;
  box-shadow: 0 2px 0 rgba(0,0,0,0.4);
  display: inline-block;
}

#_desktop_top_menu .top-menu > li > a:hover {
  background: linear-gradient(to bottom, #ffb84d, #e67300);
  color: #000 !important;
}

#_desktop_top_menu .top-menu > li > a {
  text-decoration: none !important;
}

#_desktop_top_menu .top-menu > li {
  margin-right: 0;
}

#_desktop_top_menu {
  margin-top: 9px;
}

/* Force the desktop header search to a fixed smaller width */
@media (min-width: 768px) {
  .header-top #search_widget {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    flex: 0 0 200px !important;
  }

  .header-top #search_widget form {
    width: 200px !important;
    max-width: 200px !important;
  }

  .header-top #search_widget input.ui-autocomplete-input {
    width: 100% !important;
    box-sizing: border-box;
  }
}

#header .header-nav .cart-preview.active {
  background: #3d88ca !important;
}

/* Move the top row down into the gradient */
/* ===== HEADER NAV OVERLAY - KEEP PRESTASHOP COLUMN LAYOUT ===== */

@media (min-width: 992px) {
  #header {
    position: relative;
  }

  #header .header-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;

    background: transparent !important;
    border-bottom: none !important;
    padding: 8px 0 !important;
  }

  /* keep native bootstrap row/cols intact */
  #header .header-nav .container {
    position: relative;
  }

  #header .header-nav .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  /* readable on dark background */
  #header .header-nav a,
  #header .header-nav .blockcart a,
  #header .header-nav .account a {
    color: #fff !important;
  }

  /* keep clickable areas normal */
  #header .header-nav .account a,
  #header .header-nav .blockcart a {
    display: inline-block;
    padding: 6px 10px;
  }

  /* keep the cart blue box looking normal */
  #header .header-nav .cart-preview.active {
    background: #3d88ca !important;
  }

  /* push the gradient/header content down to make room */
  #header .header-top {
    padding-top: 34px;
  }
}

@media (max-width: 991.98px) {
  #header .header-nav {
    position: static !important;
    width: auto !important;
    background: transparent !important;
    border-bottom: none !important;
    padding: 0 !important;
  }

  #header .header-top {
    padding-top: 0 !important;
  }

  #header .header-nav a,
  #header .header-nav .blockcart a,
  #header .header-nav .account a {
    color: #fff !important;
  }
}

/* Move search down slightly to avoid overlap */
@media (min-width: 992px) {
  #header .search-widgets {
    margin-top: 25px;
  }
}

/* McPappy: reduce padding around subcategories block */
#subcategories.card.card-block {
  padding: 10px 10px; /* adjust to taste */
}


/* McPappy: subcategory hover zoom + shadow */

#subcategories .subcategories-list li {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Make the whole tile feel like a card */
#subcategories .subcategories-list li:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  z-index: 2;
}

/* Optional: smooth image zoom inside */
#subcategories .subcategory-image img {
  transition: transform 0.25s ease;
}

#subcategories .subcategories-list li:hover .subcategory-image img {
  transform: scale(1.05);
}

/* McPappy: remove default blue highlight, keep custom hover effect */

/* McPappy: kill default subcategory blue border/highlight */
#subcategories ul.subcategories-list li .subcategory-image a,
#subcategories ul.subcategories-list li .subcategory-image a:hover,
#subcategories ul.subcategories-list li .subcategory-image a:focus,
#subcategories ul.subcategories-list li .subcategory-image a:active,
#subcategories ul.subcategories-list li .subcategory-image a:focus-visible {
  border: 1px solid #f6f6f6 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* McPappy: product card hover lift + shadow + image zoom */

.product-miniature .thumbnail-container {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
}

.product-miniature .thumbnail-container:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  z-index: 3;
}

.product-miniature .thumbnail-container .product-thumbnail {
  overflow: hidden;
}

.product-miniature .thumbnail-container .product-thumbnail img {
  transition: transform 0.25s ease;
}

.product-miniature .thumbnail-container:hover .product-thumbnail img {
  transform: scale(1.05);
}

/* McPappy: hide Quick View button */

.quick-view {
  display: none !important;
}

/* McPappy: fully disable Quick View area on product cards */
.product-miniature .quick-view,
.product-miniature .highlighted-informations,
.product-miniature .product-description .quick-view {
  display: none !important;
}

/* McPappy: make whole subcategory tile clickable */
#subcategories .subcategory-tile-link {
  display: block;
  text-decoration: none;
  color: inherit;
}


/* McPappy: make whole product tile clickable */
.product-miniature .product-tile-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-miniature .product-tile-link:hover,
.product-miniature .product-tile-link:focus {
  text-decoration: none;
  color: inherit;
}

.product-miniature .product-title span {
  color: inherit;
}

/* McPappy: restore original product title sizing after full-tile link change */
.product-miniature .product-title,
.product-miniature .product-title span {
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 400;
}

/* McPappy: restore product price styling after full-tile link change */

.product-miniature .product-price-and-shipping .price {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}