/*!
Theme Name: Carrot Industries
Theme URI: http://underscores.me/
Author: Jérémy Dufeux
Author URI: https://carrot-industries.com/
Description: Description
Version: 6.8.2
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: carrot-industries
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Carrot Industries is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
  - Normalize
  - Box sizing
# Base
  - Typography
  - Elements
  - Links
  - Forms
## Layouts
# Components
  - Navigation
  - Posts and pages
  - Comments
  - Widgets
  - Media
  - Captions
  - Galleries
# plugins
  - Jetpack infinite scroll
# Utilities
  - Accessibility
  - Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

@import 'small-menu.css';
@import 'main-menu.css';

:root {
  --bg-color: #282828;
  --primary-color: #fca528;
  --secondary-color: #383e45;
  --secondary-color-over: #666666;
  --secondary-color-light: #3F454D; 
  --error-color: #fc5002; 
  --border-margin: 10px;
  --blueprint-alpha: 0;
  --text-color: #cdcfd0;
  --small-border-radius: 3px;
  --border-radius: 8px;
  --wpforms-button-background-color: var(--primary-color) !important;
}


/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  height: 100%;
}


/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  padding-right: 5px;
  padding-left: 5px;
  border: solid rgba(255, 0, 0, var(--blueprint-alpha));
  border-width: calc(2px * var(--blueprint-alpha));
  
  margin-top: 0px;
  
  background: var(--bg-color);

  min-width:400px;   
  width: auto !important; 
  width:400px;

}

#page{
  max-width: 1380px;
  background-color: var(--bg-color);

  margin: auto;
  border: solid rgba(0, 0, 255, var(--blueprint-alpha));
  border-width: calc(2px * var(--blueprint-alpha));

  margin-top: 0px;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
  background-color: var(--secondary-color);

  margin: var(--border-margin);
  border: solid rgba(0, 255, 0, var(--blueprint-alpha));
  border-width: calc(2px * var(--blueprint-alpha));
  border-radius: var(--border-radius);
  overflow: hidden;
}

.site-main{
  padding: 30px;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
  color: white;
}

#site-navigation{
  
  border: solid rgba(0, 0, 0, var(--blueprint-alpha));
  border-width: calc(2px * var(--blueprint-alpha));
}

#masthead{
  background-color: var(--secondary-color);
  margin: var(--border-margin);
  border: solid rgba(255, 255, 0, var(--blueprint-alpha));
  border-width: calc(2px * var(--blueprint-alpha));
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 20px;
    border-bottom-right-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
  
  z-index: 3;
}

#menu-primary-menu-container #menu-item-type-custom {
  background-color: var(--primary-color);
  box-sizing: border-box;
    color: var(--secondary-color);
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
	color: var(--primary-color);
}

.site-info a, .nav-links a {
	color: var(--text-color);
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: 'Roboto', sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: var(--text-color);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: 'Roboto', sans-serif;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}


/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: var(--primary-color);
  border-radius: 3px;
  background: #e6e6e6;
  color: var(--secondary-color);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  background-color: var(--bg-color) !important;
  color: var(--text-color);
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  padding: 8px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: var(--text-color);

}

select {
  background-color: var(--bg-color);
  border: 1px solid #ccc;
	
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

  

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */

.post-edit-link{
  display: none;
}

.type-post .entry-meta{
  display: none;
}

.type-post .entry-footer{
  display: none;
}


.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {

  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}


  
/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

input[type="text"], input[type="email"], textarea{
  background-color: var(--bg-color) !important;
  border-radius: var(--small-border-radius) !important;
}

legend, label, input[type="text"], input[type="email"], textarea{
  color: var(--text-color) !important;
}

.wpforms-required-label{
  color: var(--primary-color) !important;
}

.wpforms-submit{
  background-color: var(--primary-color) !important;
  color: var(--bg-color) !important;
}

.wpforms-confirmation-container-full{
  border-radius: var(--border-radius) !important;
}



.nf-field-element input:not([type=button]):focus, .nf-field-element textarea:focus {
	border-color: var(--primary-color) !important;
}

.nf-before-form-content, .nf-form-title{
	display: none !important;
}

.ninja-forms-req-symbol{
  color: var(--primary-color) !important;
}

.nf-field-element input[type=submit] {
  background-color: var(--primary-color) !important;
  color: var(--bg-color) !important;
  border-radius: var(--small-border-radius) !important;
}

/*--------------------------------------------------------------
# Home text
--------------------------------------------------------------*/

.post-8 h3{
  font-weight: normal;
}

.entry-header a{
  color: var(--primary-color);
  text-decoration: none;
}

.post  {
  padding: 20px;
  border-radius: var(--border-radius);
  background-color: var(--secondary-color-light);
}

.post .entry-title {
  color: var(--primary-color);
  margin-top: 0px;
  margin-bottom: 0px;
}

.post .post_content {
  color: var(--text-color);
}

.page-title{
  margin-bottom: 60px;
}

.home-title a{
	text-decoration: none;
}

.wc-block-grid__product-title{
	color: var(--primary-color);
	font-size: 24px !important;
}


.wc-block-grid__product-link{
	text-decoration: none !important;
	
}

.woocommerce-Price-amount{
	font-size: 16px;
}


/*--------------------------------------------------------------
# Loop
--------------------------------------------------------------*/

@media (min-width: 700px) {
  .excerpt-content {
    display: flex;
    align-items: start;
    justify-content: start
  }
  .excerpt-text{
    margin-left: 20px;
  
  }
}

@media (max-width: 700px) {
  .excerpt-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .excerpt-text .entry-title{
    text-align: center;
  }

}

.excerpt-image{
  max-width: 128px;
  height: auto;

}

.woocommerce-loop-product__title{
  text-align: center;
	margin-bottom: 2px;
}

.columns-4 .price{
	text-align: center;
	color: var(--text-color) !important;
}

.columns-4 li a{
	text-decoration: none;
}



/*--------------------------------------------------------------
# Hide featured image and short description
--------------------------------------------------------------*/

.product .woocommerce-product-details__short-description, .woocommerce-product-gallery__trigger {
  display: none !important;
}


/*--------------------------------------------------------------
# Shop
--------------------------------------------------------------*/

/*.product a, .product span{
  text-decoration: none;
}*/

.product li span{
  display: none;
}

.product h2{
  color: var(--primary-color);
}

.product .price{
  color: var(--primary-color);
}

.product_title{
  color: var(--primary-color);
}

.products li .attachment-woocommerce_thumbnail{
  margin: auto;

}

/*--------------------------------------------------------------
# messages
--------------------------------------------------------------*/

.woocommerce-message, .woocommerce-info, .woocommerce-error{
  padding: 10px;
  border-radius: var(--border-radius);
}

.woocommerce-form-coupon-toggle, .woocommerce-notices-wrapper{
	margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Single product
--------------------------------------------------------------*/

.added_to_cart{
  display: none;
}

#add-to-cart-button:disabled{
  background-color: var(--secondary-color-light);
  color: var(--primary-color)
}

#xt_woofc-product-title-inner{
  color: var(--secondary-color) !important;
}

.product-price-custom .cart{
	margin-bottom: 40px;
}

@media (max-width: 701px) {
	.product-price-custom{
		display: block;
  		margin: auto;
		text-align: center;
	}
	.product-price-custom .cart{
		width: 100%;
	}
	.product-price-custom .single_add_to_cart_button{
		margin: auto;
	}
	
	.product-title-custom .product_title { 
		width: 100%;
		margin: auto;
		text-align: center;
	}
}

@media (min-width: 700px) {
	.product-price-custom{
		float: right;
		text-align: center;
	}
	
	.product-title-custom{
		float: left;
	}
}

.product-price-custom .price{
	margin-bottom: 2px;
	margin-right: 0px;
}

.product-price-bottom-custom{
	margin-top: 50px;
}

.product-price-bottom-custom .price{
	text-align: center;
	margin-bottom: 2px;
	margin-right: 0px;
}

.product-price-bottom-custom .cart{
	width: 100%;
}

.product-price-bottom-custom .single_add_to_cart_button{
	margin: auto;
}

.entry-summary{
	overflow: hidden;
	display: block;
}
.woocommerce-Price-amount{
    width:100%;
}

.product-content-custom{
	display: block;
}

.columns-4 .product .price, .product-price-bottom-custom .cart{
  display: flex; /* Afficher le h2 et le form côte à côte */
  align-items: center; /* Aligner verticalement les éléments sur la ligne */
}

.price {
  margin-right: 10px; /* Ajouter un espace entre le h2 et le form */
}

.wp-block-code{
	background-color: var(--bg-color);
	border-radius: var(--border-radius);
	padding: 15px;
}

.wp-block-code code{
	color: var(--primary-color);
}

.wp-block-embed-youtube{
    display: flex;
    justify-content: center;
    align-items: center;
}

.summary.entry-summary .attachment-woocommerce_thumbnail{
	width: 128px;
	height: 128px;
}



@media (max-width: 700px) {
	.product .attachment-woocommerce_thumbnail{
		margin: auto;
		display: block;
	}
	
	.hide-on-mobile{
		display: none !important;
	}
}



/*--------------------------------------------------------------
# Checkout
--------------------------------------------------------------*/

/*******STRUCTURAL LAYOUT*******/

/*WooCommerce Layout Structure*/
body .woocommerce .woocommerce-checkout, body .woocommerce &.woocommerce-order-pay {
  display: table;

  .col2-set {
    width: 55%;
    float: left;
    padding: 10px;
  }

  .blockUI.blockOverlay {
    position: relative;
    border-radius: var(--border-radius);
    background-color: rgb(0, 0, 0) !important;
    opacity: 0.3 !important;
  }

  .shop_table.woocommerce-checkout-review-order-table, .woocommerce-checkout-payment, #order_review_heading{
    padding: 10px;
  }


  .woocommerce-checkout-review-order {
    width: 45%;
    float: left;

    .col-1,
    .col-2 {
      width: 100%;
      float: none;
    }
  }

  @media only screen and (max-width: 799px) {
	  .col2-set, #customer_details {
		  width: 100%;
		  float: none;
	  }
	  
	  #order_review{
		  width: 100%;
	  }
  }
}

.woocommerce-checkout .blockUI.blockOverlay::before {
  height: 5em;
  width: 5em;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -.5em;
  margin-top: -.5em;
  content: "";
  -webkit-animation: spin 1s ease-in-out infinite;
  animation: spin 1s ease-in-out infinite;
  background: url(/wp-content/themes/carrot_industries/img/carrot.png) center center;
    background-size: auto;
  background-size: cover;
  line-height: 1;
  text-align: center;
  color: rgba(0,0,0,1);
  opacity: 1  ;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

.form-row.place-order #place_order{
  margin: 0px !important;
}

.wc_payment_methods {
	margin: 0 0 0 0;
}

.woocommerce-checkout-review-order-table th{
	text-align: start;
	text-transform: capitalize; 
}

table th, table td {
	border-top: none; /*Change to set a divider line if desired*/
}

/*Order Total Line Item Styles*/
tr.order-total {
	color: var(--primary-color); /*Accent color for total if desired*/
}

.wc-credit-card-form .form-row-first{
		float:left;
		width: 48%;
		display: inline;
}

.wc-credit-card-form .form-row-last{
		float: left;
		width:48%;
		margin-left: 4%;
		display: inline;
}

.wc_payment_methods{
	list-style: none;
	padding-left: 0px;
}


/* For Dropdown font color */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  background-color: var(--bg-color);
  color: var(--text-color);
}
  
/* For Dropdown Selected option */
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
  background-color: var(--secondary-color-light);
  color: var(--text-color);
} 

/* For Dropdown Selected option */
  
.select2-results__option {
  background-color: var(--bg-color);
  color: var(--text-color);
}
.select2-results__option[data-selected=true]{
  background-color: var(--secondary-color) !important;
  color: var(--text-color);
}

/*For Dropdown Search */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--text-color);
    background-color: var(--secondary-color-light);
    color: var(--text-color);
}

/*For Dropdown Search */
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border: none;
    background-color: var(--secondary-color-over) !important;
    color: var(--text-color);
}

/*For Dropdown Search "margin-border" */
.select2-search--dropdown {
  background-color: var(--bg-color);
  color: var(--text-color);
}

#billing_country_field .select2-selection {
  background-color: var(--bg-color) !important;
  border-radius: var(--border-radius);
  padding: 8px;
  height: 42px;
}

.select2-search--dropdown .select2-search__field { 
  background-color: var(--secondary-color-light) !important;
  color: var(--text-color);
}

#billing_country_field .select2-selection span{
  margin-top: auto;
  margin-bottom: auto;
}

#billing_country_field .select2-selection #select2-billing_country-container{
  color: var(--text-color) !important;
}

.woocommerce-input-wrapper{
	display: block;
}

.woocommerce-input-wrapper input{
	width: 100%;
}

.wc-stripe-elements-field{
 	 border-radius: 5px;
	min-height: 42px;
	background: var(--bg-color) !important;
}

/*.woocommerce-checkout-review-order a{
   color: var(--text-color);
}*/

.woocommerce-SavedPaymentMethods-saveNew{
	display: none !important;
}
.wc-credit-card-form, .payment_method_stripe fieldset{
	border: 0px;
}
.wc-credit-card-form{
	padding: 0px;
}

.woocommerce-info, .woocommerce-error, .woocommerce-message, .woocommerce-form-coupon{
	margin: 2px;
}

.woocommerce-info, .woocommerce-error, .woocommerce-message{
	color: var(--bg-color)
}

.woocommerce-error{
  background-color: var(--error-color) !important;
  color: var(--secondary-color);
  margin-top: 10px;
}

.ElementsApp.InputElement.is-invalid {
  color: var(--error-color) !important;
}

input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px var(--bg-color) inset !important;
    -webkit-text-fill-color: var(--text-color);
}

button[type="submit"] {
} 

#payment .place-order .button  {
	display: inline-block; 
	width: 100%;
	height: 60px;
	font-size: 20pt;
}

.checkout_coupon .form-row.form-row-first, .checkout_coupon .form-row.form-row-last{
  display: inline-block;
  margin-top: 0px;
}

.processing_time{
	text-align: center;
	margin-top: 10px
}

.processing_time_message{
	margin-top: 0px;
}

.warning{
	color: var(--primary-color);
	font-size: 2em;
}



div.blockOverlay {
  border-radius: var(--border-radius);
  background-color: rgb(0, 0, 0) !important;
  opacity: 0.3 !important;
}

.checkout_coupon.woocommerce-form-coupon{
  padding: 10px;
}

/*--------------------------------------------------------------
# Software
--------------------------------------------------------------*/
.software-price{
  color: var(--primary-color);
  margin-top: 0px;
  margin-bottom: 5px;
}

.software-version-symbols{
  margin-bottom: 30px;
}

.before-symbol{
  margin-bottom: 5px;
}

.wp-block-separator{
  width: 60%;
  color: var(--primary-color);
  background-color: var(--primary-color);
}

.software-versions{
  background-color: var(--secondary-color-light);
  border-radius: var(--border-radius);
}

.wp-container-12 ul{
  margin-left: 5px;
}


/*--------------------------------------------------------------
# Thank you page
--------------------------------------------------------------*/

.woocommerce-order .woocommerce-MyAccount-downloads-file{
  color: var(--primary-color);
}


.woocommerce-order .order-again{
  display: none;
}

.woocommerce-table--order-details{
  text-align: left;
}

.woocommerce-order .woocommerce-table-grand-total{
  color: var(--primary-color);

}
.woocommerce-order .woocommerce-table-pay-method{
  display: none;
}

.woocommerce-order .woocommerce-thankyou-order-received,
.woocommerce-order .woocommerce-order-summary,
.woocommerce-order .woocommerce-order-downloads,
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details{
  background-color: var(--secondary-color-light);
  padding: 10px;
  border-radius: var(--border-radius);
  margin-bottom: 10px;
}

.woocommerce-order .woocommerce-thankyou-order-received,
.woocommerce-order .woocommerce-order-summary h2,
.woocommerce-order .woocommerce-order-downloads h2,
.woocommerce-order .woocommerce-order-details h2,
.woocommerce-order .woocommerce-customer-details h2{
  color: var(--primary-color);
  text-align: center;
}

.woocommerce-order-summary .woocommerce-notice{
  text-align: center;
}

.woocommerce-order .woocommerce-customer-details address{
	font-style: normal;
}

.woocommerce-order .woocommerce-customer-details address .woocommerce-customer-details--phone,
.woocommerce-order .woocommerce-customer-details address .woocommerce-customer-details--email{
	margin: 0px;
}


@media (max-width: 768px) {

  .woocommerce-order-summary-table{
    display: block;
    margin-bottom: 24px;
  }
  .woocommerce-order-overview {
    display: block;
    text-align: center;
  }
  
  .woocommerce-table--order-downloads{
    border-collapse: collapse, separate;
    border-spacing: 0 15px;
    margin-bottom: 10px;

  }


  .woocommerce-table--order-downloads tbody tr + tr{
    border-top: 1px solid var(--primary-color) !important;
  }
}

@media (min-width: 768px) {

  .woocommerce-order-summary-table{
    display: flex;
    margin-bottom: 24px;
  }
  .woocommerce-order-overview {
    display: block;
    flex-basis: 25%;
    text-align: center;
  }
}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/


.site-info{
	text-align: center;
	font-size: 0.7rem;
	color: var(--secondary-color-over)
}

#nsc_bar_link_show_banner{
	text-decoration: underline;
}

/*--------------------------------------------------------------
# 404
--------------------------------------------------------------*/

.error-404 .page-title, .error-404 .page-subtitle{
	text-align: center;
}
.error-404 .page-title{
	margin-bottom: 5px;
}

/*--------------------------------------------------------------
# Headers
--------------------------------------------------------------*/

.woocommerce-products-header, .entry-header h1, .woocommerce-products-header h1{
	color: var(--text-color);
}

/*--------------------------------------------------------------
# Rounded images
--------------------------------------------------------------*/

.product-content-custom img, .entry-content img{
	border-radius: 5px;
}

/*--------------------------------------------------------------
# Floating cart
--------------------------------------------------------------*/

.xt_woofc-trigger-cart-icon{
	background-color: var(--primary-color);
	border-radius: 5px;
}

.xt_woofc-checkout.xt_woofc-btn line, .xt_woofc-checkout.xt_woofc-btn polyline{
	stroke: var(--secondary-color) !important;
}

.xt_woofc-checkout.xt_woofc-btn span{
	color: var(--secondary-color) !important;
}

.xt_woofc-body-header{
	display: none !important;
}

/*--------------------------------------------------------------
# Cart
--------------------------------------------------------------*/

.woocommerce-cart-form .attachment-woocommerce_thumbnail{
	max-width: 128px;
	
}

a.remove {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 18px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-decoration: none!important;
}

@media(min-width: 768px){
	.woocommerce-cart-form__cart-item td{
		border: 1px solid;
		border-left: none;
		border-right: none;
		border-color: var(--primary-color);
	}
	
	.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    	float: right;
		max-width: 350px;
	}
}

@media(max-width: 767px){
	.woocommerce-cart-form .product-thumbnail{
		display: none;
	}
	.woocommerce-cart-form__cart-item td{
		border: none;
	}
}

@media(max-width: 767px){
	.actions .button{
		width: 100%;
	}
}

.shop_table .product-quantity{
	display: none;
}

.woocommerce-cart-form__cart-item, .attachment-woocommerce_thumbnail{
	padding: 10px;
}

.woocommerce #content table.cart td.actions, .woocommerce table.cart td.actions, .woocommerce-page #content table.cart td.actions, .woocommerce-page table.cart td.actions {
    text-align: right;
}
.woocommerce #content table.cart td.actions .coupon, .woocommerce table.cart td.actions .coupon, .woocommerce-page #content table.cart td.actions .coupon, .woocommerce-page table.cart td.actions .coupon {
    float: left;
}

.woocommerce-cart-form .actions{
	padding-top: 10px;
}

.woocommerce .wc-proceed-to-checkout {
    margin-top: 10px;
    float: left;
    display: inline-block;
    width: 100%;
	background-color: var(--primary-color);
	text-align: center;
	font-size: 2em;
	color: var(--secondary-color);
	border-radius: 4px;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 16px;
	padding-right: 16px;
}

.woocommerce .wc-proceed-to-checkout a{
	text-decoration: none !important;
}

#iframe-converter{
	display: block; 
	margin: auto; 
	border-color: var(--primary-color);
	border-radius: 10px;
}

.post-excerpt-content{
	justify-content: center;
	align-items: center;
}

.post-excerpt-content .post-thumbnail{
	margin-top: 20px;
    text-align: center;
}

.post-excerpt-content .post-thumbnail img {
    --max-height: 200px;
	height: auto;
    width: auto;
}

/* Alternative avec object-fit */
.excerpt-image img {
    object-fit: cover; /* Remplit le conteneur */
    object-position: center;
}

.post-excerpt-content .entry-content{
	margin-top: 10px;
    text-align: center;
}

.wc-block-components-notice-banner.is-info{
	background-color: #386193 !important;
	color: var(--text-color);
}
.wc-block-components-notice-banner.is-error {
	background-color: #713535 !important;
	color: var(--text-color);
}
.wc-block-components-notice-banner.is-success {
	background-color: #449159 !important;
	color: var(--text-color);
}

.orange-line{
	border: solid 2px var(--primary-color) !important;
    border-radius: var(--border-radius);
}

.page .post-thumbnail{
	display: none !important;
}
  
@media (max-width: 750px) { 
  .hide-mobile{
    display:none;
  }
}

.wp-block-button__link, button[type="submit"]{
	background-color: var(--primary-color);
	box-sizing: border-box;
	padding-right: 16px;
	padding-left: 16px;
	padding-top: 8px;
	padding-bottom: 8px;
	border-radius: 0.25rem;
	margin: 5px;
}

.wp-block-button__link{
	color: var(--bg-color) !important;
}


/*--------------------------------------------------------------
# Newsletter
--------------------------------------------------------------*/

.tnp-field.tnp-field-button input{
	background-color: var(--primary-color) !important;
	color: var(--bg-color) !important;
}

.tnp-field.tnp-field-button{
	text-align: center !important;
}


/*--------------------------------------------------------------
# Woocommerce Thumbnail

.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    max-width: 256px;
    max-height: 256px;
    width: auto;
    height: auto;
}
--------------------------------------------------------------*/

.wc-proceed-to-checkout a {
	color: var(--secondary-color) !important
}

.woocommerce-cart-form__contents .cart_item .product-name{
	border: 1px solid;
	border-left: none;
	border-right: none;
	border-color: var(--primary-color);
}