/*
 Theme Name:   Arkylia Commerce Child
 Theme URI:    https://www.arkylia.com
 Description:  Child theme for Arkylia Commerce
 Author:       Arkylia
 Author URI:   https://www.arkylia.com
 Template:     arkyliacommerce
 Version:      1.2.4
 Text Domain:  arkyliacommercechild
*/
.arkylia form.woocommerce-form-login {
  max-width: 600px;
  margin: 0 auto;
}
.arkylia form.woocommerce-form-login .woocommerce-form-login__rememberme {
  float: left;
  margin-top: 0.5rem;
}
.arkylia form.woocommerce-form-login .woocommerce-form-login__submit {
  float: right;
  margin-right: 0;
}
.before-footer {
  margin: 4rem 0 0 0;
  background: #f5f5f5;
}
.before-footer .plaquette {
  background-repeat: no-repeat;
  background-size: 250px 159px;
  background-position: 50% 3rem;
  padding: 200px 0 1.75rem 0;
  text-align: center;
}
.before-footer .plaquette h2 {
  text-transform: uppercase;
  margin: 0;
  color: #d61140;
  font-weight: 300;
  font-size: 2.4rem;
  line-height: 2.8rem;
  margin-bottom: 0.5rem;
}
.before-footer .plaquette p {
  font-size: 1.6rem;
  margin: 0;
  padding: 0;
  display: none;
}
.before-footer .plaquette .btn {
  font-size: 1.6rem;
  background: #d61140;
  color: #FFFFFF;
  display: inline-block;
  border-radius: 5px;
  padding: 1rem 2rem;
  margin-right: 1rem;
}
.before-footer .plaquette .btn.black {
  background: #333333;
}
.product .onsale {
  background: #d61140;
  color: #FFFFFF;
  border-radius: 0;
  font-size: 1.4rem;
  line-height: 2.5rem;
  min-height: auto;
  padding: 0.5rem 1.5rem;
  top: 2rem;
  left: 0;
}
.product .product_title {
  font-weight: 400;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  text-transform: uppercase;
}
.product p.price {
  margin: 0;
  text-decoration: none;
  font-weight: 300;
}
.product del {
  display: inline-block;
}
.product del .amount {
  font-size: 1.6rem;
  color: #333333;
  margin-right: 1rem;
}
.product ins {
  display: inline-block;
  text-decoration: none;
  color: #d61140;
  font-size: 2.6rem;
}
.product ins .amount {
  font-weight: 400;
}
.product .product_meta .sku_wrapper,
.product .product_meta .posted_in {
  display: block;
}
.product .pdf_hr {
  margin: 2.5rem 0;
  border: none;
  border-top: 1px solid #EAEAEA;
}
.product .product_pdf_button {
  display: inline-block;
  background: #ebe9eb;
  border-radius: 3px;
  padding: 0.618em 1.5em 0.618em 3.5em;
  position: relative;
}
.product .product_pdf_button .icon {
  position: absolute;
  fill: #d61140;
  width: 3.25rem;
  height: 3.25rem;
  left: 1rem;
  top: 0.5rem;
}
.product .product_pdf_button:hover {
  background: #dfdcde;
}
.header-nav {
  display: none;
}
.header-menu .menu-item {
  padding: 0 0.8rem;
}
.header-menu .menu-item a {
  font-size: 1.4rem;
  padding: 0.8rem 0 0.4rem;
}
.header-top {
  gap: 1rem;
}
.header-left,
.header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.header-right {
  flex-grow: 1;
  justify-content: flex-end;
  align-items: center;
}
.header-search {
  position: relative;
  display: none;
}
.header-search input:focus {
  outline: none;
}
.header-search .woocommerce-product-search button[type=submit] {
  background: url(img/search.png) 50% 50% no-repeat;
  background-size: 25px 25px;
  background-color: #FFFFFF;
}
.header-search .live-search {
  position: absolute;
  top: 100%;
  width: 100%;
  min-width: 700px;
  margin-top: -1px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border: 1px solid #EAEAEA;
  background: #FFFFFF;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
  padding: 2rem;
}
.header-search .live-search:empty {
  display: none;
}
.header-search .live-search .product-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.header-search .live-search .product-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border: 1px solid #EAEAEA;
  flex-shrink: 0;
}
.header-search .live-search .product-item div {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0 1.5rem;
}
.header-search .live-search .product-item div .meta {
  font-weight: normal;
}
.header-search .live-search .product-item .cart {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-grow: 0;
  padding: 0;
  flex-shrink: 0;
}
.header-search .live-search .product-item .cart .qib-container {
  padding: 0;
}
.header-search .live-search .product-item .cart .button {
  height: 40px;
  width: 48px;
  background: url(img/cart.png) 50% 50% no-repeat;
  background-size: 25px 25px;
  background-color: #d61140;
  padding: 0;
  text-indent: -10000px;
  cursor: pointer;
}
.header-search .live-search .product-item .cart .button.added {
  background: #d61140;
}
.header-search .live-search .product-item .cart .button.added:after {
  text-indent: 7px;
  position: absolute;
  left: 0;
}
@media (min-width: 980px) {
  .header-search {
    display: flex;
  }
}
.woocommerce-result-count {
  margin: 1.25rem 0 !important;
}
.woocommerce-ordering {
  display: none;
}
.woocommerce div.product div.images img {
  object-fit: contain;
  aspect-ratio: 3/2;
}
.arkylia ul.products {
  grid-row-gap: 2.5rem;
  grid-column-gap: 2.5rem;
}
.arkylia ul.products li.product {
  border: 1px solid #EAEAEA;
  padding: 1.5rem 2rem 2.5rem;
  border-radius: 4px;
}
.arkylia ul.products li.product .excerpt p {
  margin: 0;
}
.arkylia ul.products li.product .sku {
  display: block;
  margin-bottom: -0.25rem;
  margin-right: 1.5rem;
  padding-right: 1.5rem;
  border-right: 1px solid #EAEAEA;
  color: #333333;
}
.arkylia ul.products li.product .sku:last-child {
  border: none;
}
.arkylia ul.products li.product .sku b {
  color: #d61140;
}
.arkylia ul.products li.product .product-img-wrapper {
  height: auto;
  width: 100%;
  max-height: 200px;
  margin-bottom: 1rem;
}
.arkylia ul.products li.product .product-img-wrapper img {
  border: none !important;
  margin-bottom: 0;
  object-fit: contain;
  aspect-ratio: 3/2;
}
.arkylia ul.products li.product .form {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.arkylia ul.products li.product .form .qib-container {
  flex-shrink: 0;
}
.arkylia ul.products li.product .form .button {
  width: auto;
  flex-grow: 1;
  margin-top: 0;
  padding: 1.25rem 0.5rem;
}
.copyright {
  border: none;
  display: inline-block;
}
.footer-menu {
  display: inline-block;
  margin-left: 1.5rem;
}
.footer-menu li {
  border-left: 1px solid #FFFFFF !important;
}
.woocommerce .banner,
.home .banner,
.banner.fluidbook {
  padding: 0.75rem 0;
  box-sizing: border-box;
}
.woocommerce .banner h1,
.home .banner h1,
.banner.fluidbook h1 {
  display: none;
}
.no-prices .wc_payment_methods {
  display: none;
}
#billing_country_field {
  display: none;
}
.layout {
  margin: 4rem 0;
}
.fluidbook-nav {
  margin: 2rem 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  border-bottom: 1px solid #eceef1;
  position: relative;
  margin-bottom: -1px;
}
.fluidbook-nav .wrapper {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.fluidbook-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.15rem 2.5rem;
  border: 1px solid #FFFFFF;
  border-bottom: none !important;
  color: #333333;
  opacity: 0.5;
  cursor: pointer;
  font-weight: normal;
}
.fluidbook-nav a:hover {
  border: 1px solid #eceef1;
  opacity: 1;
}
.fluidbook-nav a .icon {
  width: 3.2rem;
  height: 3.2rem;
  fill: #333333;
}
.fluidbook-nav a.active {
  border: 1px solid #eceef1;
  opacity: 1;
  font-weight: bold;
}
.fluidbook-nav a.active .icon {
  fill: #d61140;
}
.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
  width: 28%;
}
.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
  width: 68%;
}
.checkout-custom-select {
  /* For IE <= 11 */
}
.checkout-custom-select .woocommerce-input-wrapper {
  position: relative;
}
.checkout-custom-select .woocommerce-input-wrapper:after {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #d61140;
  content: "";
  display: inline-block;
  position: absolute;
  top: 0.25rem;
  margin-left: -12px;
  right: 2rem;
  pointer-events: none;
}
.checkout-custom-select select {
  width: 100%;
  height: 43px;
  font-size: 100%;
  font-weight: normal;
  cursor: pointer;
  border-radius: 0;
  border: 1px solid #CCCCCC;
  appearance: none;
  padding: 1rem 5rem 1rem 2rem;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.checkout-custom-select select::-ms-expand {
  display: none;
}
.hidden-field {
  display: none;
}
.woocommerce form .contact_checkbox {
  padding-top: 1rem;
}
.woocommerce form .optional {
  display: none;
}
#email_right_field {
  position: relative;
}
#email_right_field .woocommerce-input-wrapper:before {
  content: "@";
  font-size: 1.8rem;
  font-weight: bold;
  background: #EAEAEA;
  display: block;
  position: absolute;
  border: 1px solid #CCCCCC;
  height: 41px;
  line-height: 40px;
  width: 17%;
  left: -17%;
  text-align: center;
}
.arkylia.display-list ul.products li.product {
  grid-template-columns: 1fr;
  padding: 1.25rem;
  border-radius: 0;
  gap: 1.5rem;
}
.arkylia.display-list ul.products li.product:last-child {
  border: none;
}
.arkylia.display-list ul.products li.product h2 {
  margin-bottom: 0;
}
.arkylia.display-list ul.products li.product .product-info-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}
.arkylia.display-list ul.products li.product .excerpt {
  display: none;
}
.arkylia.display-list ul.products li.product .code {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
}
.arkylia.display-list ul.products li.product .form {
  justify-content: flex-start;
}
.arkylia.display-list ul.products li.product .form .button {
  flex-grow: 0;
  padding: 1.25rem 2rem;
}
.arkylia.display-list ul.products li.product .qib-container {
  margin-right: 1rem;
}
.arkylia.display-list ul.products li.product .woocommerce-loop-product__link {
  grid-template-columns: 0px 1fr;
  grid-gap: 2rem;
}
.arkylia.display-list ul.products li.product .woocommerce-loop-product__link .product-img-wrapper {
  display: none;
}
.arkylia.display-list ul.products li.product .woocommerce-loop-product__link img {
  margin: 0;
}
@media (min-width: 900px) {
  .arkylia.display-list ul.products li.product {
    grid-template-columns: 1fr 270px;
    gap: 0;
  }
  .arkylia.display-list ul.products li.product .woocommerce-loop-product__link {
    grid-template-columns: 60px 1fr;
  }
  .arkylia.display-list ul.products li.product .woocommerce-loop-product__link .product-img-wrapper {
    display: block;
    width: 60px;
    height: 60px;
    margin-bottom: 0;
  }
  .arkylia.display-list ul.products li.product .woocommerce-loop-product__link .product-img-wrapper img {
    aspect-ratio: auto;
  }
}
.sidebar-right .sidebar h2 {
  margin: 0 0 1rem;
  text-align: left;
  font-size: 2.8rem;
}
.sidebar-right .sidebar h2:after {
  display: none;
}
.sidebar-right .sidebar img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.sidebar-right .sidebar a {
  color: #d61140;
}
form.woocommerce-checkout {
  margin: 0 auto;
  max-width: 768px;
}
form.woocommerce-checkout .col-1 {
  width: 100% !important;
  float: none !important;
  padding-bottom: 0;
}
form.woocommerce-checkout .col-2 {
  width: 100% !important;
  float: none !important;
  padding-bottom: 0;
}
form.woocommerce-checkout .col-2 .woocommerce-additional-fields h3 {
  display: none;
}
form.woocommerce-checkout h3 {
  margin: 1rem 0;
}
.woocommerce-cart-form .actions .button {
  display: none;
}
#customer_login {
  margin: 0 auto;
  max-width: 768px;
}
#customer_login .col-1 {
  width: 100% !important;
  float: none !important;
}
#customer_login .col-2 {
  display: none;
}
.button-guest {
  max-width: 600px;
  margin: 2rem auto 0;
  display: block;
  text-align: left;
  border: 1px solid #cfc8d8;
  padding: 1.5rem 2rem;
  border-radius: 5px;
  position: relative;
  font-weight: normal;
}
.button-guest:after {
  border-style: solid;
  border-width: 2px 2px 0 0;
  border-color: #d61140;
  content: '';
  display: inline-block;
  height: 1rem;
  right: 2.5rem;
  position: absolute;
  top: 2rem;
  transform: rotate(45deg);
  vertical-align: top;
  width: 1rem;
}
.woocommerce-order {
  margin: 0 auto;
  max-width: 768px;
}
@media (min-width: 768px) {
  .before-footer .plaquette {
    background-size: 250px 159px;
    background-position: 0 50%;
    padding: 1.75rem 0 1.75rem 260px;
    text-align: left;
  }
  .before-footer .plaquette h1 {
    margin-bottom: 0;
  }
  .before-footer .plaquette p {
    margin-bottom: 1rem;
    display: block;
  }
}
@media (min-width: 980px) {
  .header-nav {
    display: block;
  }
}
.display-simple {
  height: auto;
}
.display-simple .woocommerce-message .button {
  display: none !important;
}
.display-simple .mobile-nav,
.display-simple .header,
.display-simple .after-header,
.display-simple .bottom,
.display-simple .banner {
  display: none !important;
}
.display-simple .posted_in {
  display: none !important;
}
.iframe-container {
  position: relative;
  width: 100vw !important;
  margin-left: 50% !important;
  transform: translateX(-50%) !important;
  height: 100vh;
  margin-bottom: -3rem;
  background: #eceef1;
}
/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  border: 2rem solid #eceef1;
}
/******** Side cart **********/
.xoo-wsc-product {
  padding: 15px;
}
.added_to_cart.wc-forward {
  display: none !important;
}
.arkylia .xoo-wsc-basket {
  display: none !important;
}
.xoo-wsc-pname {
  text-transform: uppercase;
}
.xoo-wsc-body a {
  display: block;
}
.xoo-wsc-img-col span.xoo-wsc-smr-del {
  margin: 0;
}
/* -------------------------------------------------------------------------- */
/*	Sidecart
/* -------------------------------------------------------------------------- */
.sidecart-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  display: flex;
  opacity: 0;
  align-items: flex-start;
  justify-content: flex-end;
  transition: all 0.25s linear;
  pointer-events: none;
}
.sidecart {
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 100vw;
  height: 100vh;
  max-width: 50rem;
  top: 0;
  right: 0;
  background: #FFFFFF;
  z-index: 1100;
  transform: translateX(100%);
  transition: all 0.35s linear;
}
.sidecart.loading .sidecart-content:before {
  display: flex;
  position: absolute;
  align-items: center;
  justify-content: center;
  content: "Chargement en cours";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding-top: 8rem;
  background: url(img/loader.gif) 50% 50% no-repeat;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 100;
  box-sizing: border-box;
}
.sidecart h2 {
  display: block;
  text-align: center;
  font-size: 2.4rem;
  font-weight: normal;
  margin: 0;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.sidecart-close {
  position: absolute;
  font-size: 2.4rem;
  top: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
}
.sidecart-content {
  flex-grow: 1;
  display: flex;
  position: relative;
}
.sidecart-content .woocommerce {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.sidecart-content .woocommerce .wc-empty-cart-message {
  margin: 2.5rem 0;
}
.sidecart-content .woocommerce .return-to-shop {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  margin: 0;
}
.sidecart-content .woocommerce .return-to-shop a {
  display: block;
  width: 100%;
}
.sidecart-content .woocommerce .woocommerce-cart-form {
  flex-grow: 1;
  overflow: auto;
  height: calc(100vh - 16rem);
}
.sidecart-content .woocommerce .cart-collaterals {
  padding: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}
.sidecart-content .woocommerce .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
}
.sidecart-content .woocommerce .cart-collaterals .cart_totals a {
  display: block;
  width: 100%;
  background: #d61140;
}
.sidecart-content .product-remove {
  display: none;
}
.sidecart-content .product-name {
  padding: 9px 0 !important;
  font-size: 14px;
}
.sidecart-content table {
  border: none !important;
  margin: 0 !important;
}
.sidecart-content thead {
  display: none;
}
.sidecart-content td {
  border: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  font-weight: normal;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
.sidecart-content td a {
  font-weight: bold;
  text-transform: uppercase;
}
.sidecart-content td.actions {
  display: none;
}
body.show-cart {
  overflow: hidden;
}
body.show-cart .sidecart-overlay {
  opacity: 1;
  pointer-events: initial;
}
body.show-cart .sidecart {
  transform: translateX(0);
}
/* -------------------------------------------------------------------------- */
/*	Wp Block
/* -------------------------------------------------------------------------- */
.arkylia .wp-block-gallery.is-layout-flex {
  gap: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
}
.arkylia .wp-block-gallery.is-layout-flex figure {
  border: 1px solid #eceef1;
  width: 100% !important;
  padding: 2rem;
}
.arkylia .wp-block-gallery.is-layout-flex figure img {
  object-fit: contain !important;
  width: 100% !important;
  aspect-ratio: 3/2 !important;
}
/* -------------------------------------------------------------------------- */
/*	Template fluidbook
/* -------------------------------------------------------------------------- */
.page-template-template-fluidbook {
  overflow: hidden;
}
.page-template-template-fluidbook .header-nav,
.page-template-template-fluidbook .bottom,
.page-template-template-fluidbook .banner {
  display: none;
}
.page-template-template-fluidbook .layout {
  margin: 0 0 4rem 0;
}
.page-template-template-fluidbook .iframe-container {
  height: calc(100vh - 18rem);
}
