/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Fix overflow breaking sticky header on homepage */
body.home {
    overflow-x: unset !important;
}

html {
    overflow-x: hidden;
}

/* Sticky header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: box-shadow 0.3s ease;
}

/* Top bar disparaît au scroll */
#top-bar-wrap {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 200px;
  opacity: 1;
  overflow: hidden;
}

#top-bar-wrap.hidden {
  max-height: 0;
  opacity: 0;
}

/* Ombre sur le header quand collé */
#site-header.scrolled {
  	box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
	background-color: rgba(255,255,255,0.7) !important;
}

/**style block categories accueil */

.block-categ > * {
  transition: all 0.3s ease;
  border: 1px solid #E99039;
  border-radius: 10px;
	width: 100%;
	padding: 12px;
	
}

.block-categ > *:hover {
  border: 1px solid #ddd; /* change color as needed */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px); /* nice lift effect */
  cursor: pointer;
}

/** end */

/** style menu*/
#site-header  a:focus, a:focus{
	outline: none !important;
}

/** end*/

@media (max-width: 767px) {
  .n2-ss-slider-wrapper,
  .n2-ss-slider {
    height: 400px !important;
    min-height: 400px !important;
  }
}
.order-actions-button:hover, .checkout-button:hover {
	color: #dd9933 !important;
	border: 1px solid #dd9933 !important;
}