body {
	font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: #3E3A3D;
}

h1 {
	font-family: 'Playfair Display', Georgia, serif;
	color: #5F2001;
	font-size: 1.7em;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 12px;
}

h2 {
	font-family: 'Playfair Display', Georgia, serif;
	color: #5F2001;
	font-size: 1.45em;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 10px;
}

h3 {
	font-family: 'Playfair Display', Georgia, serif;
	color: #5F2001;
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1.3;
}

p {
	text-align: left;
	margin-bottom: 10px;
}

a {
	color: #8B3E18;
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: #5F2001;
}

#home-actualite {
	color: #5F2001;
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 20px;
}

#top-header {
    width: 100%;
    padding: 20px 24px 0;
    box-sizing: border-box;
}

.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
}

.header-col-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-col-links {
    flex: 1;
    min-width: 0;
}

.header-col-fb {
    flex-shrink: 0;
}

.slogan {
	font-size: 18px;
}

.link-top {
	color: white;
	text-decoration: none;
}

.link-top:hover {
	color: #5F2001;
}

.actualite {
	margin-bottom: 20px;
}

.home-actualite-title {
	color: #A44719;
	font-size: 1.1em;
}

.lien-photo-home {
	font-size: 1.4em;
}

.home-actualite-desc {
	margin-top: 10px;
	margin-bottom: 5px;
}

.home-actualite-date {
	color: #602808;
}

.img-home {
	width: 295px;
	border: 1px solid #dddddd;
}

.demi-cadre {
	width: 190px;
	float: left;
}

.home-actualite-cadre {
	margin-bottom: 5px;
/*	height: 130px; */
}

.big-title {
	font-size: 2em;
	font-weight: bold;
	color: #5F2001;
}

.img-center {
	text-align: center;
}

.list {
	list-style-image: url('/static/images/arrow-right.gif');
}

.list li {
	margin-left: 25px;
	padding-top: 10px;
	text-align: justify;
}

.img-historique {
	float: left; 
	margin-right: 10px;
	width: 200px;
	border: 4px solid #F7EEE8;
	margin-bottom: 25px;
}

.border-bas {
	border-bottom: 2px inset #4F240A;
}

#message-header {
	font-weight: bold;
	font-size: 1.6em;
	font-family: 'Tangerine', arial, serif;
	position: absolute;
}

#main-content {
	background-image: url('/static/images/background-wood.png');
	background-repeat: repeat-x;
	background-color: #EFDED6;
	overflow: hidden;
}

#top {
	
}

#menu-bottom {
	text-align: center;
	margin-top: 10px;
}

#menu-bottom li {
	display: inline;
}

#menu-bottom li a {
	color: white;
}

#menu {
	background-image: url('/static/images/bg-menu.jpg');
	background-repeat: repeat-x;
	width: 100%;
	height: 55px;
}


#menu-list {

}

#banner {
	/*background-color: #EBCABB;*/
	background-image: url('/static/images/bg-banner.jpg');
	background-repeat: repeat-x;
	overflow: hidden;
	height: 263px;
	position: relative;
	border-bottom: 3px solid #707A86;
	padding-top: 15px;
}

#nav { 
	margin-top: 3px; 
	position: absolute; 
	left: 20px; 
	top: 20px; 
	z-index: 100;
}

#nav a { 
	margin-right: 5px; 
	padding: 10px;	
	border: 1px solid #dddddd; 
	background: #f4f4f4; 
	text-decoration: none 
}

#nav a.activeSlide { 
	background: black;
	color: white; 
}

#nav a:focus { 
	outline: none; 
}

.shadow {
	-moz-box-shadow: 3px 3px 4px #000;
	-webkit-box-shadow: 3px 3px 4px #000;
	box-shadow: 3px 3px 4px #000;
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000');
}

#list-header {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    list-style-type: none;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
}

#list-header li {
    white-space: nowrap;
}

#list-header li a {
    font-size: 20px;
    padding: 4px 6px;
    transition: opacity 0.2s ease;
    display: block;
}

#list-header li a:hover {
    opacity: 0.75;
}

.header-separator {
    color: rgba(255, 255, 255, 0.35);
    font-size: 18px;
    padding: 0 10px;
    user-select: none;
}

.sf-menu {
    margin-top: 9px;
    padding-left: 0px;
}


.sf-menu li {
    background: none;
}

.sf-menu li {
    background-color: transparent;   
}

.sf-menu li a {
   border: 0px; 
   color: white;
}

.sf-menu li:first-child a {
    padding-left: 0px;
    padding-right: 20px;
}

.sf-menu li a {
    padding-right: 10px;
}

.sf-menu li a {
    padding-right: 5px;
}

.sf-menu li:hover {
    background-color: transparent;  
}

.sf-menu ul li:first-child a {
    padding-left: 10px;
    padding-right: 10px;
}

.sf-menu ul li {
    background-color: white;
    
}

.sf-menu ul li a {
    color: #3a6783;   
}

.sf-menu ul li a:hover {
    color: #ab3a0e;   
}

.sf-menu ul li:hover {
    background-color: white;   
}

.img-banner {
	width: 610px;
	height: 370px;
}

.img-ferme {
	width: 300px;
}

.icon-social {
    list-style-type: none;
}

.icon-social li {
    float: right;
    margin-left: 10px;
    margin-top: 20px;   
}


#logo {
    margin: 0;
    width: 230px;
}

.header-phone {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0;
    white-space: nowrap;
}

#photo-fromagerie {
	width: 200px;
	height: 240px;
	overflow: hidden;
	float: left;
	margin-right: 10px;
}

#banner-content {
	position: relative;
	z-index: 50;
	margin-bottom: 20px;
	margin-top: 13px;
	width: 610px;
	height: 370px;
}

#content {
	background-color: #FFFFFF;
	overflow: hidden;
	padding-top: 30px;
	padding-bottom: 30px;
}

#footer {
	background-color: #542206;
	height: 135px;
	margin-top: 10px;
}

#slider {
    position:relative;
    width:618px; /* Change this to your images width */
    height:246px; /* Change this to your images height */
    background:url(images/loading.gif) no-repeat 50% 50%;
}
#slider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
#slider a {
    border:0;
    display:block;
}

.menu-2 li{
   display:inline;
   margin-left:3px;
   margin-right:10px;
   list-style-type: none;
}
.menu-2 {
   margin-bottom:-12px;
   margin-top:20px;
   font-size:14px;
   /*margin-left:212px;*/
}
.img-fruits {
	float: left; 
	margin-right: 10px;
	border: 4px solid #F7EEE8;
	margin-bottom: 25px;
}
#menu-bottom-2 {
	text-align: center;
	margin-top: 10px;
}

#menu-bottom-2 li {
	display: inline;
}

#menu-bottom-2 li a {
	color: white;
}

.submenu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.submenu li {
    margin-left: 0px;   
    margin-bottom: 5px;
}

#photos {
    list-style-type: none;
    margin: 0;
    padding: 0;  
}

#photos li {
    width: 300px;  
    float: left; 
    margin-left: 0px;
    margin-right: 20px;
    margin-bottom: 20px;
}

#photos li img {
    width: 300px;
}


#photos-ferme {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#photos-ferme li {
    width: 250px;  
    float: left; 
    margin-left: 0px;
    margin-right: 20px;
    margin-bottom: 20px;
}

#photos-ferme li img {
    width: 250px;
}

.wrapper-produit {
    width: 300px;  
    float: left; 
    margin-left: 0px;
    margin-right: 20px;
    margin-bottom: 20px;  
}

.wrapper-produit img {
    margin-bottom: 10px;   
}

/* ===== Contact Page: Facebook Hours Block ===== */

.fb-hours-block {
    background-color: #FDF8F4;
    border: 2px solid #D4A574;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.fb-hours-block h3 {
    color: #5F2001;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.fb-hours-block p {
    text-align: center;
    color: #534E52;
    margin-bottom: 18px;
    line-height: 1.5;
}

.fb-hours-btn {
    display: inline-block;
    background-color: #5F2001;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1.05em;
    font-weight: bold;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.fb-hours-btn:hover {
    background-color: #9B4C22;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.fb-hours-btn img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

.img-contact-photo {
    border: 1px solid #dddddd;
}

.map-contact {
    border: 1px solid #dddddd;
    margin-top: 20px;
    border-radius: 6px;
}

.clear {
    clear: both;
}

/* ===== Header: Facebook Follow Button ===== */

.fb-follow-btn {
    display: inline-block;
    background-color: #1877F2;
    color: #FFFFFF;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.fb-follow-btn:hover {
    background-color: #145DBF;
    color: #FFFFFF;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.fb-follow-btn img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    filter: brightness(0) invert(1);
}

/* ===== Header: Slogan ===== */

.header-slogan {
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 24px 10px;
}

.header-slogan-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.45), transparent);
}

.header-slogan-text {
    color: #FFF5E6;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* ===== Mobile Elements Default Hidden (Desktop Mode) ===== */
.mobile-menu-bar {
    display: none;
}

.submenu-toggle-btn {
    display: none;
}

/* ===== Responsive Mobile Design ===== */

@media (max-width: 960px) {
    /* Override 960gs container */
    .container_12, .container_16 {
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Override 960gs columns */
    .grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12, .grid_13, .grid_14, .grid_15, .grid_16 {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* Header reflow */
    #top-header {
        padding: 10px 15px 0;
    }

    .header-main-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-top: 10px;
        padding-bottom: 5px;
    }

    .header-col-logo {
        flex-direction: column;
        text-align: center;
    }
    
    #logo {
        width: 180px;
    }

    #list-header {
        flex-direction: column;
        gap: 8px;
    }

    .header-separator {
        display: none;
    }

    .header-slogan {
        padding: 6px 10px 10px;
    }

    .header-slogan-text {
        font-size: 11px;
        letter-spacing: 2px;
        white-space: normal;
    }

    /* Images and embedded media */
    img, iframe, video {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Adjust navigation bar for mobile */
    #nav {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        margin-top: 10px;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    /* Mobile Menu Container & Bar styling */
    #menu {
        height: auto !important;
        background-color: #542206 !important;
        background-image: none !important;
        border-bottom: 2px solid #D4A574;
    }

    .mobile-menu-bar {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 10px 15px;
        background-color: #5F2001;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-toggle-btn {
        display: flex;
        align-items: center;
        gap: 12px;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #FFF5E6;
        cursor: pointer;
        padding: 8px 16px;
        border-radius: 6px;
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }

    .mobile-menu-toggle-btn:hover,
    .mobile-menu-toggle-btn:focus {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.4);
        outline: none;
    }

    /* Hamburger Animation to 'X' */
    .hamburger-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 20px;
        height: 14px;
    }

    .hamburger-icon .line {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #FFF5E6;
        border-radius: 2px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    }

    .mobile-menu-toggle-btn.active .hamburger-icon .line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle-btn.active .hamburger-icon .line:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .mobile-menu-toggle-btn.active .hamburger-icon .line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .menu-label {
        font-family: 'Playfair Display', Georgia, serif;
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    /* Mobile Vertical Menu */
    .sf-menu {
        display: none;
        flex-direction: column;
        width: 100% !important;
        margin: 0 !important;
        padding: 8px 0 !important;
        background-color: #542206 !important;
        background: #542206 !important;
        float: none !important;
    }

    /* Override ALL Superfish li backgrounds (global reset) */
    .sf-menu li,
    .sf-menu > li,
    .sf-menu ul li,
    .sf-menu ul ul li,
    .sf-menu li:hover,
    .sf-menu li.sfHover,
    .sf-menu ul li:hover,
    .sf-menu ul li.sfHover {
        float: none !important;
        width: 100% !important;
        position: relative !important;
        background: #542206 !important;
        background-color: #542206 !important;
        white-space: normal !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .sf-menu > li:last-child {
        border-bottom: none;
    }

    /* Override ALL Superfish link styles */
    .sf-menu a,
    .sf-menu li a,
    .sf-menu ul li a,
    .sf-menu li:first-child a,
    .sf-menu ul li:first-child a {
        display: block !important;
        padding: 14px 60px 14px 20px !important;
        color: #FFF5E6 !important;
        font-size: 16px !important;
        text-align: left !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        width: 100% !important;
        border: none !important;
        background: transparent !important;
        transition: background-color 0.2s ease;
    }

    .sf-menu li a:hover,
    .sf-menu li a:focus {
        background-color: rgba(255, 255, 255, 0.06) !important;
        color: white !important;
    }

    /* Submenu accordion styling */
    .submenu-toggle-btn {
        display: flex !important;
        position: absolute;
        top: 0;
        right: 0;
        width: 54px;
        height: 52px;
        background: transparent !important;
        border: none !important;
        border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        outline: none;
        padding: 0;
        z-index: 10;
        transition: background-color 0.2s ease;
    }

    .submenu-toggle-btn:hover,
    .submenu-toggle-btn:focus {
        background-color: rgba(255, 255, 255, 0.08) !important;
    }

    /* Chevron Icon */
    .submenu-toggle-btn .chevron {
        display: inline-block;
        width: 8px;
        height: 8px;
        border-right: 2px solid #FFF5E6;
        border-bottom: 2px solid #FFF5E6;
        transform: rotate(45deg);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        margin-top: -3px;
    }

    .submenu-toggle-btn.open .chevron {
        transform: rotate(-135deg);
        margin-top: 3px;
    }

    /* Dropdowns in Mobile Accordion */
    .sf-menu ul {
        position: relative !important;
        display: none;
        width: 100% !important;
        background-color: #3D1400 !important;
        background: #3D1400 !important;
        box-shadow: none !important;
        padding: 0 !important;
        left: 0 !important;
        top: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        min-width: 0 !important;
    }

    .sf-menu ul li {
        background: #3D1400 !important;
        background-color: #3D1400 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .sf-menu ul li:last-child {
        border-bottom: none;
    }

    .sf-menu ul li a {
        padding-left: 35px !important;
        font-size: 15px !important;
        color: rgba(255, 245, 230, 0.8) !important;
    }

    .sf-menu ul li a:hover {
        color: white !important;
        background-color: rgba(255, 255, 255, 0.04) !important;
    }

    /* Override Superfish hovers - prevent hover from showing submenus */
    .sf-menu li:hover > ul,
    .sf-menu li.sfHover > ul {
        display: none;
    }
    
    #banner {
        height: auto;
        min-height: 100px;
        background-size: cover;
    }

    #banner-content {
        width: 100% !important;
        max-width: 610px !important;
        height: auto !important;
        aspect-ratio: 610 / 370 !important;
    }

    #banner-content .img-banner {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}
