/*

Theme Name: ARTGO Média Base
Description: Template de base Artgo Média.
Author: ARTGO Média
Author URI: http://www.artgomedia.com
Version: 1.0

*/

/****************** FONTS *****************/

@font-face {
  font-family: "Montserrat";
  src: url(assets/fonts/Montserrat-VariableFont_wght.woff2) format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/****************** VARIABLES *****************/

:root {
  /* COULEURS */
  --primary-50: #f2fbf9;
  --primary-200: #a8e7de;
  --primary-600: #48b9b0;

  --secondary-orange: #ff7a00;
  --secondary-pink: #f96dac;
  --secondary-yellow: #fdde33;
  --secondary-green: #c5d43b;
  --secondary-blue: #49a9df;

  --neutral-00: #fff;
  --neutral-50: #f6f6f6;
  --neutral-200: #e2e2e2;
  --neutral-700: #4f4f4f;
  --neutral-950: #040b1f;

  /* TAILLES POLICES */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-m: 16px;
  --font-size-l: 18px;
  --font-size-xl: 20px;
  --font-size-xxl: 30px;

  --font-size-h1: clamp(30px, 2.34vw, 45px);
  --font-size-h2: clamp(25px, 1.56vw, 30px);
  --font-size-h3: clamp(18px, 1.04vw, 20px);

  /* MARGES */

  --gutter-blocks: 40px;
  --gutter-section: 80px;

  /* FONTS */

  --main-font: "Montserrat", sans-serif;
}

/****************** RESET *****************/

* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  scroll-behavior: smooth;
  /* outline: 1px solid red; */
}

a,
a:hover {
  text-decoration: none;
}

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

p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
  padding: 0;
}

/****************** GLOBAL *****************/

body {
  position: relative;
  -webkit-font-smoothing: subpixel-antialiased;
  font-family: var(--main-font);
  font-size: var(--font-size-m);
  font-weight: 400;
  color: var(--neutral-950);
  background-color: var(--neutral-00);
}

/* BOXING */

.boxed-xl {
  width: 90vw;
  max-width: 1720px;
  margin: 0 auto;
}

.boxed-base {
  width: 90vw;
  max-width: 1520px;
  margin: 0 auto;
}

.boxed-sm {
  width: 90vw;
  max-width: 1320px;
  margin: 0 auto;
}

section {
  padding: var(--gutter-section) 0;
  --accent-color: var(--primary-600);
}

section > :last-child {
  margin-bottom: 0;
}

.section-pink {
  background-color: var(--secondary-pink);
  --accent-color: var(--secondary-pink);
}

.section-pink .text-img-block .content h2::before {
  filter: brightness(0) saturate(100%) invert(66%) sepia(26%) saturate(2660%)
    hue-rotate(294deg) brightness(96%) contrast(104%);
}

.section-blue {
  background-color: var(--secondary-blue);
  --accent-color: var(--secondary-blue);
}

.section-blue .text-img-block .content h2::before {
  filter: brightness(0) saturate(100%) invert(61%) sepia(23%) saturate(1095%)
    hue-rotate(158deg) brightness(96%) contrast(91%);
}

.section-bleuert {
  background-color: var(--primary-600);
  --accent-color: var(--primary-600);
}

.section-orange {
  background-color: var(--secondary-orange);
  --accent-color: var(--secondary-orange);
}

.section-orange .text-img-block .content h2::before {
  filter: brightness(0) saturate(100%) invert(49%) sepia(62%) saturate(2806%)
    hue-rotate(1deg) brightness(104%) contrast(103%);
}

.section-yellow {
  background-color: var(--secondary-yellow);
  --accent-color: var(--secondary-yellow);
}

.section-yellow .text-img-block .content h2::before {
  filter: brightness(0) saturate(100%) invert(81%) sepia(86%) saturate(6451%)
    hue-rotate(327deg) brightness(105%) contrast(98%);
}

.section-green {
  background-color: var(--secondary-green);
  --accent-color: var(--secondary-green);
}

.section-green .text-img-block .content h2::before {
  filter: brightness(0) saturate(100%) invert(74%) sepia(91%) saturate(328%)
    hue-rotate(15deg) brightness(92%) contrast(100%);
}

.section-deco-bottom:not(.section-default) {
  background-image: url(assets/images/bg-section.svg);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-blend-mode: overlay;
}
.section-deco-bottom.section-default {
  background-image: url(assets/images/bg-section-light.svg);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-blend-mode: overlay;
}
.section-deco-top {
  background-image: url(assets/images/bg-section-top.svg);
  background-repeat: no-repeat;
  background-position: top right;
  background-blend-mode: overlay;
}

.section-deco {
  background-image:
    url(assets/images/bg-hermine.svg), url(assets/images/bg-triskell.svg),
    url(assets/images/bg-pattern.jpg);
  background-repeat: no-repeat, no-repeat, repeat;
  background-position:
    top left,
    bottom right 10vw,
    center;
  background-blend-mode: overlay, overlay, normal;
}

.single-product .section-default + .section-default {
  padding: calc(var(--gutter-section) / 2) 0;
}

/* STYLING TEXTS */

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

.content {
  font-weight: 400;
  line-height: 1.5;
}

.content :is(p, ul, ol) {
  margin-bottom: var(--font-size-m);
}

.content :is(ul, ol) {
  padding-left: 25px;
}

.content p:last-child {
  margin-bottom: 0;
}

.content :is(ul li, ol li) {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.content ul li::before {
  content: "•";
  color: var(--neutral-950);
  position: absolute;
  left: 0;
}

.content ol {
  counter-reset: item;
}

.content ol li::before {
  position: absolute;
  content: counter(item) ".";
  counter-increment: item;
  color: var(--neutral-950);
  left: 0;
}

.content a {
  color: var(--primary-600);
}

.content a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content :is(h2, h3) {
  margin: 20px 0;
}

.content :is(h2:first-child, h3:first-child) {
  margin-top: 0;
}

/* HEADINGS */

.artgo-h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.artgo-h2,
.content h2 {
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-wrap: balance;
}

.artgo-h2::before,
.content h2::before {
  content: url(assets/images/deco-h2.svg);
}

.artgo-h2 span.last-word {
  background-image: linear-gradient(
    to right,
    var(--neutral-00),
    var(--neutral-00)
  );
  background-position-y: 90%;
  background-size: 100% 8px;
  background-repeat: no-repeat;
}

.section-default .artgo-h2 span.last-word,
.section-deco .artgo-h2 span.last-word {
  background-image: linear-gradient(
    to right,
    var(--primary-600),
    var(--primary-600)
  );
}

section:not(.section-default, .section-deco) .artgo-h2::before,
section:not(.section-default, .section-deco) .content h2::before {
  filter: brightness(0) invert(1);
}

.content h2 {
  display: inline-block;
  text-align: left;
}

.content h2::before {
  margin-right: 20px;
}

.content h2 em {
  font-style: normal;
  background-image: linear-gradient(
    to right,
    var(--accent-color),
    var(--accent-color)
  );
  background-position-y: 90%;
  background-size: 100% 8px;
  background-repeat: no-repeat;
}

section:not(.section-default, .section-deco) .content h2 em {
  background-image: linear-gradient(
    to right,
    var(--neutral-00),
    var(--neutral-00)
  );
}

.artgo-h3,
.content h3 {
  font-size: var(--font-size-h3);
  font-weight: 700;
  line-height: 1.5;
}

/* BUTTONS */

.artgo-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background-color: var(--neutral-950);
  color: var(--neutral-00);
  border-radius: 50px;
  text-align: center;
  text-wrap: balance;
  width: fit-content;
  font-weight: 600;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.artgo-btn::after {
  content: url(assets/images/hermine.svg);
  transition: transform 0.3s ease;
}

.artgo-btn:hover {
  background-color: var(--primary-600);
  color: var(--neutral-950);
}

.artgo-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.artgo-btn:hover::after {
  filter: brightness(0);
  transform: rotate(-90deg);
}

.artgo-btn--outline {
  background-color: transparent;
  color: var(--neutral-950);
  border-color: var(--neutral-950);
}

.artgo-btn--outline::after {
  content: url(assets/images/download.svg);
  transition: transform 0.3s ease;
}

.artgo-btn--outline:hover::after {
  filter: none;
  transform: none;
}

#artgo-body-mask {
  display: none;
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9990;
}

#artgo-body-mask.active {
  display: block;
}

/****************** HEADER *****************/

header {
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.03);
}

.header__alert-banner {
  background-color: var(--primary-600);
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 37px;
}

.header__alert-banner__text {
  font-size: var(--font-size-sm);
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
  animation: scrollingText 15s infinite linear;
  padding: 0 25%;
}
@keyframes scrollingText {
  0% {
    transform: translate(0);
  }
  100% {
    transform: translate(-100%);
  }
}

.header__top-bar {
  display: flex;
  align-items: center;
  background-color: var(--neutral-950);
  height: 40px;
}

.header__top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__top-bar__inner > * {
  flex: 1;
  display: flex;
  align-items: center;
}

.header__top-bar__inner a {
  color: var(--neutral-00);
  font-size: var(--font-size-sm);
}

.header__top-bar__inner a {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--neutral-00);
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.5;
}

.header__top-bar__inner a:hover {
  color: var(--primary-600);
}

.header__top-bar__center {
  justify-content: center;
  gap: 20px;
}

.header__top-bar__center a:not(:nth-child(1))::before {
  content: "|";
  color: var(--primary-600);
}

.header__top-bar__right {
  justify-content: flex-end;
  gap: 10px;
}

.header__content {
  padding: 20px 0;
}

.header__content-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#toggle-menu {
  display: none;
  background: transparent;
  cursor: pointer;
}

.header__content-top__logo img {
  max-height: 61px;
}

.header__content-top__search {
  display: flex;
  position: relative;
  border: 1px solid var(--primary-600);
  padding: 10px 10px 10px 50px;
  font-size: var(--font-size-sm);
  border-radius: 150px;
  width: 100%;
  max-width: 380px;
}

.header__content-top__search input {
  width: 100%;
  outline: none;
}

.header__content-top__search ::placeholder {
  font-style: italic;
}

.header__content-top__search svg {
  position: absolute;
  top: 8px;
  left: 10px;
}

.header__content-top__btns {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.header__content-top__btns > * {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--neutral-950);
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.cart-icon {
  gap: 5px;
}

.cart-icon .wc-block-mini-cart__button {
  padding: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1;
}

.cart-icon .wp-block-group {
  position: relative;
  padding-left: 30px;
}

.cart-icon .wc-block-mini-cart__button .wc-block-mini-cart__icon {
  width: 30px;
  height: 30px;
}

/* Menu  */

.header__content-bottom__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.header__content-bottom__menu > li {
  list-style: none;
}

.header__content-bottom__menu__mobile-link {
  display: none;
}

.header__content-bottom__menu > li > a {
  display: flex;
  align-items: center;
  height: 54px;
  color: var(--neutral-950);
  font-weight: 600;
  padding: 0 15px;
}

.header__content-bottom__menu > li > a:hover {
  color: var(--primary-600);
}

.header__content-bottom__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--neutral-00);
  gap: 50px;
  padding: 50px;
  box-shadow: 0 20px 15px 0 rgba(0, 0, 0, 0.05);
  z-index: 100;
  border-radius: 0 0 50px 50px;
}

.header__content-bottom__menu > li > a:hover + .header__content-bottom__submenu,
.header__content-bottom__submenu:hover {
  display: flex;
}

.header__content-bottom__submenu > ul {
  columns: 3;
  column-gap: 50px;
  width: 100%;
}

.header__content-bottom__submenu > ul > li:not(:last-child) {
  margin-bottom: 50px;
  break-inside: avoid;
}

.header__content-bottom__submenu > ul > li {
  break-inside: avoid;
}

.header__content-bottom__submenu > ul > li > a {
  color: var(--neutral-950);
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  background-image: linear-gradient(
    to right,
    var(--primary-600),
    var(--primary-600)
  );
  background-position-y: 90%;
  background-size: 100% 3px;
  background-repeat: no-repeat;
}

.header__content-bottom__submenu > ul > li > a:hover {
  color: var(--primary-600);
}

.header__content-bottom__submenu > ul > li > ul > li > a {
  color: var(--neutral-700);
  font-size: var(--font-size-sm);
}

.header__content-bottom__submenu > ul > li > ul > li {
  margin-top: 6px;
}

.header__content-bottom__submenu > ul > li > ul > li > a:hover {
  color: var(--primary-600);
}

.header__content-bottom__submenu__description {
  font-size: var(--font-size-xs);
  margin-top: 10px;
  color: var(--neutral-700);
}

.header__content-bottom__submenu__img {
  width: 285px;
  height: 100%;
  border-radius: 50px;
  overflow: hidden;
}

.header__content-bottom__submenu__img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.top-page {
  padding: clamp(10px, 2.08vw, var(--gutter-blocks));
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: var(--gutter-blocks);
  background: url(assets/images/on-bg.svg), url(assets/images/bg-pattern.jpg);
  background-repeat: no-repeat, repeat;
  background-position: center, center;
  border-radius: 40px;
}

.top-page--single-product {
  border-radius: 0;
  margin-top: 0;
}

/* Breadcrumbs */

.top-page__breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 10px;
  font-size: var(--font-size-xs);
}

.top-page__breadcrumb span a {
  color: var(--neutral-950);
}

.top-page__breadcrumb span a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Home banner */

.home-banner {
  position: relative;
  display: flex;
  background-image:
    url(assets/images/bg-hermine.svg), url(assets/images/bg-pattern.jpg);
  background-repeat: no-repeat, repeat;
  background-position:
    top left,
    center;
  background-blend-mode: overlay, normal;
}

.home-banner__left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: var(--gutter-blocks) 5vw;
  text-wrap: balance;
}

.home-banner__left__title {
  font-size: clamp(40px, 2.6vw, 50px);
  font-weight: 700;
  line-height: 1.25;
}

.home-banner__left__title .last-word {
  background-image: linear-gradient(
    to right,
    var(--primary-600),
    var(--primary-600)
  );
  background-position-y: 85%;
  background-size: 100% 8px;
  background-repeat: no-repeat;
}

.artgo-h1--home {
  font-size: clamp(20px, 1.3vw, 25px);
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-wrap: auto;
}

.home-banner__right {
  width: 50%;
}

.home-banner__right img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  object-position: left;
}

.home-banner-deco {
  position: absolute;
  bottom: 10px;
  height: 5px;
  width: 100%;
  background-color: var(--neutral-950);
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.home-banner-deco::before,
.home-banner-deco::after {
  content: "";
  width: 100%;
  height: 5px;
  border-top: 5px solid var(--neutral-950);
}

/****************** INNER BLOCKS *****************/

/* Txt block */

.text-block {
  display: flex;
  justify-content: center;
  gap: 5vw;
  margin-bottom: var(--gutter-blocks);
}

.text-block__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gutter-blocks);
}

.text-block__item > img {
  border-radius: 20px;
}

/* Title block */
.title-block {
  margin-bottom: var(--gutter-blocks);
}

/* Text / img block */

.text-img-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter-blocks);
  flex-wrap: wrap;
  flex-direction: var(--text-img-block-orientation);
  margin-bottom: var(--gutter-blocks);
  padding: var(--gutter-blocks);
  border-radius: 20px;
  background-color: var(--neutral-00);
}

.text-img-block__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.text-img-block__img {
  position: relative;
  flex: 1;
}

.text-img-block__img img {
  width: fit-content;
  margin: auto;
  border-radius: 20px;
}

.text-img-block__img .video-block {
  margin-bottom: 0;
}

/* Video block */

.video-block {
  position: relative;
  aspect-ratio: 16/9;
  margin: 0 auto var(--gutter-blocks);
}

.video-block a,
.video-block iframe {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
}

.video-block iframe {
  border: 0;
}

.video-block a::before {
  content: url(assets/images/play.svg);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.video-block img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  filter: brightness(0.5);
  transition: 0.3s;
}

.video-block:hover img {
  filter: brightness(1);
}

/* Gallery block */

.gallery-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: var(--gutter-blocks);
}

.gallery-block__item {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 480 / 300;
}

.gallery-block__item > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: 0.3s ease;
}

.gallery-block__item:hover img {
  transform: scale(1.1);
  filter: brightness(0.5);
}

/* Lightboxes */

.sl-wrapper {
  z-index: 9999;
}

.sl-overlay {
  background: var(--primary-600);
  z-index: 9400;
}

.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button,
.sl-wrapper .sl-counter {
  color: var(--neutral-950);
}

.sl-next div,
.sl-prev div {
  background-color: var(--neutral-950);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  transition: 0.3s ease;
}

.sl-next div:hover,
.sl-prev div:hover {
  background-color: var(--secondary-orange);
}

/* IMG block */

.img-block {
  margin-bottom: var(--gutter-blocks);
}

.img-block img {
  width: fit-content;
  margin: auto;
  border-radius: 20px;
}

/* Form block */

.form-block {
  position: relative;
  max-width: 780px;
  margin: auto;
  margin-bottom: var(--gutter-blocks);
  padding: var(--gutter-blocks) clamp(16px, 5vw, 50px);
  background-color: var(--neutral-00);
  border: 1px solid var(--primary-600);
  border-radius: 20px;
}

.form-block .artgo-h3 {
  margin-bottom: var(--gutter-blocks);
}

.form-block .gform_wrapper .gfield_label {
  font-size: var(--font-size-m);
  color: var(--neutral-950);
  font-weight: 600;
}

.form-block .gform_wrapper .gfield_required {
  display: inline-block;
  color: var(--neutral-950);
}

.form-block .gform_wrapper .ginput_container_email input,
.form-block .gform_wrapper .ginput_container_text input,
.form-block .gform_wrapper .ginput_container_phone input,
.form-block .gform_wrapper .ginput_container_select select,
.form-block .gform_wrapper .ginput_container_website input,
.form-block .gform_wrapper .ginput_container_number input,
.form-block .gform_wrapper .ginput_container_date input,
.form-block .gform_wrapper .ginput_container_textarea textarea {
  background-color: transparent;
  outline: none;
  color: var(--neutral-950);
  border: 1px solid var(--neutral-950);
  border-radius: 10px;
  padding: 12px !important;
  font-size: var(--font-size-m);
  height: 48px;
}

.form-block .gform_wrapper .gfield_radio {
  flex-direction: row !important;
  gap: var(--gutter-blocks) !important;
}

.form-block .gform_wrapper .ginput_container_select select {
  padding: 0px 12px !important;
  cursor: pointer;
  background-image: url(./assets/images/chevron-dark.svg);
}

.form-block .gform_wrapper .ginput_container_select select > * {
  background-color: var(--neutral-00);
  color: var(--neutral-950);
}

.form-block .gform_wrapper .ginput_container_textarea textarea {
  min-block-size: 150px !important;
}

.form-block .gform_wrapper .ginput_container_email input::placeholder,
.form-block .gform_wrapper .ginput_container_text input::placeholder,
.form-block .gform_wrapper .ginput_container_phone input::placeholder,
.form-block .gform_wrapper .ginput_container_website input::placeholder,
.form-block .gform_wrapper .ginput_container_date input::placeholder,
.form-block .gform_wrapper .ginput_container_number input::placeholder,
.form-block
  .gform_wrapper
  .ginput_container_select
  select
  option.gf_placeholder,
.form-block .gform_wrapper .ginput_container_textarea textarea::placeholder {
  opacity: 0.4;
  color: var(--neutral-950);
}

.form-block .gform_wrapper .ginput_container_email input:focus,
.form-block .gform_wrapper .ginput_container_text input:focus,
.form-block .gform_wrapper .ginput_container_phone input:focus,
.form-block .gform_wrapper .ginput_container_website input:focus,
.form-block .gform_wrapper .ginput_container_number input:focus,
.form-block .gform_wrapper .ginput_container_date input:focus,
.form-block .gform_wrapper .ginput_container_select select:focus,
.form-block .gform_wrapper .ginput_container_textarea textarea:focus {
  outline: 2px solid var(--primary-200);
}

.form-block .gform_wrapper div.gform_drop_area {
  border: 1px dashed var(--neutral-950);
  background: transparent;
  color: var(--neutral-950);
}

.form-block .gform_wrapper div.gform_drop_area::before {
  color: var(--neutral-950);
}

.form-block
  .gform_wrapper
  div.gform_drop_area
  button[type="button"].gform_button_select_files {
  background: transparent;
  color: var(--neutral-950);
  text-transform: uppercase;
  border: 1px solid var(--neutral-950);
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 20px;
}

.form-block
  .gform_wrapper
  div.gform_drop_area
  button[type="button"].gform_button_select_files:hover {
  background: var(--primary-600);
  color: var(--neutral-00);
}

.form-block .gform_wrapper span.gfield_description,
.form-block .gform_wrapper .ginput_preview span.gfield_fileupload_percent,
.form-block .gform_wrapper .ginput_preview span.gfield_fileupload_filename,
.form-block .gform_wrapper .ginput_preview span.gfield_fileupload_filesize,
.form-block
  .gform_wrapper
  div.ginput_preview
  button.gform_delete_file
  span.dashicons.dashicons-trash:before {
  color: var(--neutral-950) !important;
}

.form-block
  .gform_wrapper
  .ginput_preview
  span.gfield_fileupload_progressbar_progress {
  background-color: var(--primary-600);
}

.grecaptcha-badge {
  display: none !important;
  visibility: hidden !important;
}

.form-block .gform_wrapper .ginput_container_consent input {
  accent-color: var(--primary-600);
  width: 16px;
  height: 16px;
}

.form-block .gform_wrapper .gfield_consent_label {
  color: var(--neutral-950);
}

.woocommerce .acf-form-submit .acf-button,
.form-block .gform_wrapper .gform_footer.top_label .artgo-btn.artgo-btn--gform {
  font-size: var(--font-size-m);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background-color: var(--neutral-950);
  color: var(--neutral-00);
  border-radius: 50px;
  text-align: center;
  text-wrap: balance;
  width: fit-content;
  margin: 0 auto;
}

.woocommerce .acf-form-submit .acf-button {
  margin: 0;
}

.form-block
  .gform_wrapper
  .gform_footer.top_label
  .artgo-btn.artgo-btn--gform::after {
  content: url(assets/images/hermine.svg);
  line-height: 0;
  transition: transform 0.3s ease;
}

.woocommerce .acf-form-submit .acf-button:disabled,
.woocommerce .acf-form-submit .acf-button:hover,
.form-block
  .gform_wrapper
  .gform_footer.top_label
  .artgo-btn.artgo-btn--gform:hover {
  background-color: var(--primary-600);
  color: var(--neutral-950);
}

.form-block
  .gform_wrapper
  .gform_footer.top_label
  .artgo-btn.artgo-btn--gform:hover::after {
  filter: brightness(0);
  transform: rotate(-90deg);
}

.form-block
  .gform_wrapper
  input[type="checkbox"]:where(
    :not(.gform-theme__disable):not(.gform-theme__disable *):not(
        .gform-theme__disable-framework
      ):not(.gform-theme__disable-framework *)
  )::before {
  color: var(--primary-600);
}

.form-block .gform_wrapper .gform_fields {
  row-gap: 20px;
}

/* FAQ block */

.faq-block {
  display: flex;
  gap: 5vw;
  flex-direction: var(--faq-block-orientation);
  margin-bottom: var(--gutter-blocks);
}

.faq-block__left {
  display: flex;
  flex-direction: column;
  gap: var(--gutter-blocks);
  flex: 1;
}

.faq-block__right {
  flex: 1;
}

.faq__item__question {
  transition: 0.3s ease;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--primary-600);
  font-weight: 500;
  line-height: 1.5;
}

.faq__item:first-child .faq__item__question {
  padding-top: 10px;
  border-top: 1px solid var(--primary-600);
}

.faq__item__question::after {
  content: url(assets/images/chevron-dark.svg);
  transition: transform 0.3s ease;
}

.faq__item__question.active::after {
  transform: rotate(-180deg);
}

.faq__item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item__answer .content {
  margin-bottom: 20px;
  padding-left: 10px;
}

.faq-block__right img {
  border-radius: 20px;
}

/* Grid block */

.grid-block {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 350px);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.grid-block--categories {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: unset;
  grid-auto-rows: 350px;
}

.grid-block__item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-blend-mode: color, normal;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--neutral-950);
  padding: var(--gutter-blocks);
  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    box-shadow 0.3s ease;
}

.grid-block__item:nth-child(1) {
  --grid-accent-color: var(--secondary-pink);
  background:
    linear-gradient(0deg, var(--grid-accent-color), var(--grid-accent-color)),
    var(--bg-grid) lightgray 50% / cover no-repeat;
  grid-area: 1 / 1 / 2 / 3;
}
.grid-block__item:nth-child(2) {
  --grid-accent-color: var(--secondary-orange);
  background:
    linear-gradient(0deg, var(--grid-accent-color), var(--grid-accent-color)),
    var(--bg-grid) lightgray 50% / cover no-repeat;
  grid-area: 1 / 3 / 2 / 5;
}
.grid-block__item:nth-child(3) {
  --grid-accent-color: var(--secondary-yellow);
  background:
    linear-gradient(0deg, var(--grid-accent-color), var(--grid-accent-color)),
    var(--bg-grid) lightgray 50% / cover no-repeat;
  grid-area: 1 / 5 / 2 / 7;
}
.grid-block__item:nth-child(4) {
  --grid-accent-color: var(--secondary-green);
  background:
    linear-gradient(0deg, var(--grid-accent-color), var(--grid-accent-color)),
    var(--bg-grid) lightgray 50% / cover no-repeat;
  grid-area: 2 / 1 / 3 / 4;
  justify-content: flex-start;
}
.grid-block__item:nth-child(5) {
  --grid-accent-color: var(--secondary-blue);
  background:
    linear-gradient(0deg, var(--grid-accent-color), var(--grid-accent-color)),
    var(--bg-grid) lightgray 50% / cover no-repeat;
  grid-area: 2 / 4 / 3 / 7;
  justify-content: flex-end;
}

.grid-block--categories .grid-block__item {
  grid-area: unset !important;
  justify-content: center !important;
  background:
    linear-gradient(0deg, var(--grid-accent-color), var(--grid-accent-color)),
    var(--bg-grid) lightgray 50% / cover no-repeat;
}

.grid-block__item__content {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  text-align: center;
  padding: 30px;
}

.grid-block__item__content__tag {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.4px;
  background-color: var(--grid-accent-color);
  padding: 5px 10px;
  border-radius: 5px;
}

.grid-block__item:hover {
  transform: scale(1.01);
  filter: brightness(110%);
  box-shadow: 0px 0px 90px 0px rgb(from var(--grid-accent-color) r g b / 0.5);
}

.grid-block__item:hover .artgo-btn {
  background-color: var(--primary-600);
  color: var(--neutral-950);
}
.grid-block__item:hover .artgo-btn::after {
  transform: rotate(-90deg);
  filter: brightness(0);
}

/* Btn block */

.btn-block {
  display: flex;
  justify-content: center;
  margin-bottom: var(--gutter-blocks);
}

/* Push reas block */

.push-reas-block {
  padding-bottom: var(--gutter-blocks);
}

.slider-block__controls {
  display: flex;
  justify-content: center;
  margin: 20px 0 0;
  gap: 20px;
}

.slider-block__controls:has(
  .slider-block__controls__btn--prev.swiper-button-disabled
    ~ .slider-block__controls__btn--next.swiper-button-disabled
) {
  display: none;
}

.slider-block__controls__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--neutral-950);
  cursor: pointer;
}

.slider-block__controls__btn:hover {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
}

.slider-block__controls__btn--prev {
  transform: rotate(180deg);
}

.slider-block__controls__btn.swiper-button-disabled {
  opacity: 0;
  visibility: hidden;
}

.slider-block__controls .swiper-pagination {
  position: relative;
  inset: unset;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.slider-block__controls .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 1;
  background-color: var(--primary-200);
  margin: 0;
}

.slider-block__controls .swiper-pagination-bullet-active {
  background-color: var(--primary-600);
}

/* Contact block */

.contact-block {
  display: flex;
  gap: var(--gutter-blocks);
}

.contact-block__left {
  background-image: url(assets/images/bg-pattern.jpg);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  padding: var(--gutter-blocks);
  width: 40%;
}

.contact-block__left__section {
  padding: var(--gutter-blocks) 0;
  border-bottom: 1px solid var(--primary-600);
}

.contact-block__left__section--socials {
  border: 0;
  flex-direction: row;
  gap: 10px;
  padding: var(--gutter-blocks) 0;
}

.contact-block__left__section a {
  color: var(--neutral-950);
}

.google-maps-link {
  font-size: var(--font-size-xs);
  text-decoration: underline;
  font-style: italic;
}

.contact-block__left__section a:hover {
  color: var(--primary-600);
}

.contact-block__left__section .artgo-h3 {
  margin-bottom: 15px;
}

.contact-block__right {
  width: 60%;
}

.contact-block .form-block {
  margin-bottom: 0;
}

/****************** LISTING *****************/

.listing-reas-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: var(--gutter-blocks);
}

.listing-reas-filters form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.listing-reas-filters form input {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.listing-reas-filters__label {
  font-size: var(--font-size-sm);
  letter-spacing: 1.4px;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid var(--filter-color);
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
}

input:checked + .listing-reas-filters__label,
.listing-reas-filters__label:hover {
  background-color: var(--filter-color);
}

.listing-reas-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter-blocks);
  margin-bottom: var(--gutter-blocks);
}

.listing-reas__item {
  position: relative;
  border: 1px solid var(--tag-color);
  border-radius: 20px;
  overflow: hidden;
  color: var(--neutral-950);
  height: auto;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.listing-reas__item > span {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 10px;
  background-color: var(--tag-color);
  border-radius: 5px;
  z-index: 1;
}

.listing-reas__item__img {
  position: relative;
}

.listing-reas__item__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--tag-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.listing-reas__item__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  flex: 1;
}

.listing-reas__item__content .artgo-h3 {
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.listing-reas__item__date {
  font-size: var(--font-size-sm);
  color: var(--neutral-700);
  font-style: italic;
}

.listing-reas__item:hover {
  box-shadow: 0 0 20px 0 rgb(from var(--tag-color) r g b / 0.5);
}

.listing-reas__item:hover .listing-reas__item__img::before {
  opacity: 0.5;
}

/* LISTING PRODUCTS */

.listing-products-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 50px;
  column-gap: 30px;
}

.listing-products__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.listing-products__item p {
  padding: 0 20px 20px;
  color: var(--neutral-950);
  font-size: var(--font-size-xl);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.listing-products__item__img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.listing-products__item__img img {
  transition: filter 0.3s ease;
}

.listing-products__item__img__tags {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
  width: calc(100% - 24px);
}

.listing-products__item__img__tags span {
  background-color: var(--accent-color);
  color: var(--neutral-950);
  font-size: 12px;
  font-weight: 700;
  border-radius: 5px;
  padding: 8px 12px;
  width: fit-content;
}

.listing-products__item__img > span {
  position: absolute;
  bottom: -80px;
  width: 100%;
  color: var(--neutral-950);
  padding: 15px;
  background-color: var(--primary-600);
  font-weight: 600;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: bottom 0.3s ease;
  z-index: 1;
}

.listing-products__item__img > span::after {
  content: url(./assets/images/arrow-btn.svg);
  line-height: 1;
  height: 25px;
}

.listing-products__item:hover span {
  bottom: 0;
}

.listing-products__item:hover .listing-products__item__img img {
  filter: brightness(0.8);
}

/* Pagination */

.wp-pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wp-pagenavi .current,
.wp-pagenavi .page,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
  width: 15px;
  height: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  color: var(--neutral-950);
  font-weight: 400;
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
  content: url(assets/images/arrow-right.svg);
  width: 24px;
  height: 24px;
  padding: 0;
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid var(--neutral-950);
}

.wp-pagenavi .nextpostslink:hover,
.wp-pagenavi .previouspostslink:hover {
  background-color: var(--primary-600);
  border-color: transparent;
}

.wp-pagenavi .previouspostslink {
  transform: rotate(180deg);
  margin-right: 20px;
}
.wp-pagenavi .nextpostslink {
  margin-left: 20px;
}

.wp-pagenavi span.current {
  color: var(--primary-600);
}

.wp-pagenavi a:not(:is(.previouspostslink, .nextpostslink)):hover {
  color: var(--primary-600);
}

.wp-pagenavi a,
.wp-pagenavi span {
  text-decoration: none;
  border: none;
  padding: 3px 5px;
  margin: 2px;
}

/****************** FOOTER *****************/

.pre-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: var(--gutter-blocks) 0;
}

.pre-footer__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--item-color);
  border-radius: 20px;
  line-height: 1.5;
}

.pre-footer__item img {
  height: 30px;
  width: auto;
  margin-bottom: 10px;
}

.pre-footer__item p {
  font-weight: 600;
}
.pre-footer__item span {
  font-style: italic;
  font-size: var(--font-size-sm);
}

footer {
  position: relative;
  background: url(assets/images/bg-pattern.jpg) repeat;
  padding-top: 85px;
}

.footer-deco {
  position: absolute;
  top: 0;
  height: 5px;
  width: 100%;
  background-color: var(--neutral-950);
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.footer-deco::before,
.footer-deco::after {
  content: "";
  width: 100%;
  height: 5px;
  border-top: 5px solid var(--neutral-950);
}

.footer-cols {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: 25px;
}

.footer-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
}

.footer-col:first-child {
  align-items: flex-start;
  text-align: left;
}

.footer-col > a:not(.artgo-btn),
.footer-col li a,
.footer-col__adress {
  display: flex;
  gap: 10px;
  color: var(--neutral-950);
}

.footer-col > a:not(.artgo-btn):hover,
.footer-col li a:hover {
  color: var(--primary-600);
}

.footer-bottom-bar {
  background-color: var(--neutral-950);
  padding: 10px 0;
}

.footer-bottom-bar ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  font-size: var(--font-size-xs);
}

.footer-bottom-bar ul li a {
  color: var(--neutral-00);
}
.footer-bottom-bar ul li a:hover {
  color: var(--primary-600);
}

/****************** WOOCOMMERCE *****************/

#add-to-cart-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background-color: var(--neutral-00);
  border: 1px solid var(--primary-600);
  color: var(--neutral-950);
  z-index: 9999;
  padding: 50px;
  border-radius: 25px;
  text-align: center;
  font-size: var(--font-size-m);
}

#add-to-cart-popup.active {
  display: flex;
}

.add-to-cart-popup__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.add-to-cart-popup__btns #add-to-cart-continue::after {
  content: "";
}

.add-to-cart-popup__btns > * {
  width: 100%;
  cursor: pointer;
}

.add-to-cart-popup__btns > *:hover {
  color: var(--wp--preset--color--neutral-00) !important;
}

h2.wc-block-mini-cart__title {
  font-size: 16px !important;
}

.wc-block-components-drawer__close::after {
  display: none !important;
}

.wc-block-mini-cart__template-part .wc-block-cart-item__image > a {
  display: none !important;
}

.editor-styles-wrapper
  table.wc-block-cart-items
  .wc-block-cart-items__row
  .wc-block-components-product-name,
table.wc-block-cart-items
  .wc-block-cart-items__row
  .wc-block-components-product-name {
  color: inherit;
}

.wc-block-mini-cart__footer-actions a:nth-child(2) {
  display: none !important;
}

.wc-block-mini-cart__footer-actions a {
  background-color: var(--neutral-950) !important;
  color: var(--neutral-00) !important;
  border-radius: 50px;
  font-weight: 600;
}
.wc-block-mini-cart__footer-actions a:hover {
  background-color: var(--primary-600) !important;
  color: var(--neutral-950) !important;
}

/* Account page */
.content ul .woocommerce-MyAccount-navigation-link {
  padding: 15px 5vw 15px 0;
  border-bottom: 1px solid var(--primary-600);
}

.content ul .woocommerce-MyAccount-navigation-link::before {
  content: "";
}

.content ul .woocommerce-MyAccount-navigation-link a {
  font-size: var(--font-size-l);
  color: var(--neutral-950);
  font-weight: 700;
  line-height: 1.2;
}

.content ul .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: red;
}

.content ul .woocommerce-MyAccount-navigation-link a:hover {
  color: var(--primary-600);
  text-decoration: none;
}

.content ul .woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  color: var(--neutral-950);
}

.woocommerce form .form-row {
  margin-bottom: var(--gutter-blocks);
}

.woocommerce form .form-row label {
  font-size: var(--font-size-sm);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row input[type="date"] {
  border: 1px solid var(--neutral-950);
  padding: 10px 20px;
}

.woocommerce form .form-row .required {
  color: var(--neutral-950);
}

.select2-container--default .select2-selection--single {
  border: 1px solid var(--neutral-950);
  height: 45px;
  padding: 10px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 1.5;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
}

.woocommerce-Address-title.title {
  background-color: transparent;
  color: var(--neutral-950);
  padding: 16px;
  border: 1px solid var(--primary-600);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 20px;
}

.woocommerce-account .addresses .title .edit {
  color: var(--primary-600);
  text-decoration: underline;
  font-style: italic;
}

/* WC notifications */

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  background-color: var(--primary-50);
  color: var(--neutral-950);
  max-width: 1200px;
  margin: 0 auto 2em;
  border-radius: 20px;
  border-top-width: 1px;
}

.woocommerce-info {
  border-top-color: var(--primary-600);
}

.woocommerce-info::before {
  color: var(--primary-600);
}

.woocommerce-message {
  border-top-color: var(--primary-600);
}

/* WC Buttons */

.woocommerce :is(a.button, button.button, .wp-element-button),
.woocommerce-page
  :is(.wc-block-components-totals-coupon-link, .wp-element-button) {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background-color: var(--neutral-950);
  color: var(--neutral-00);
  border-radius: 50px;
  text-align: center;
  text-wrap: balance;
  width: fit-content;
  font-weight: 600;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.woocommerce :is(a.button, button.button, .wp-element-button):hover,
.woocommerce-page :is(a.button, button.button, .wp-element-button):hover {
  background-color: var(--primary-600);
  color: var(--neutral-950);
}

.woocommerce :is(a.button, button.button, .wp-element-button):after,
.woocommerce-page :is(a.button, button.button, .wp-element-button):after {
  content: url(assets/images/hermine.svg);
  transition: transform 0.3s ease;
}

.woocommerce :is(a.button, button.button, .wp-element-button):hover:after,
.woocommerce-page :is(a.button, button.button, .wp-element-button):hover:after {
  filter: brightness(0);
  transform: rotate(-90deg);
}

.wc-block-cart__submit-container {
  display: flex;
  justify-content: center;
}

.woocommerce-page
  :is(
    .wc-block-cart__submit-button,
    .wc-block-components-totals-coupon__button
  ) {
  background-color: var(--neutral-950);
}

.woocommerce-page
  :is(
    a.wc-block-cart__submit-button,
    .wc-block-components-totals-coupon__button
  ):after {
  border-color: var(--neutral-950);
}

.woocommerce-page :is(.wc-block-components-checkout-place-order-button) {
  background-color: var(--neutral-950);
}

/* Cart page */

.wc-block-components-quantity-selector {
  display: none;
}

.wp-block-woocommerce-empty-cart-block {
  justify-content: center;
  display: flex;
}

/* Login page */

#customer_login h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.woocommerce form.login,
.woocommerce form.register {
  border-color: var(--primary-600);
  margin-top: 0;
  border-radius: 20px;
}

.woocommerce-privacy-policy-text {
  font-size: var(--font-size-xs);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 30px;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  cursor: pointer;
  width: 100%;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme input {
  cursor: pointer;
  accent-color: var(--primary-600);
  width: 20px;
  height: 20px;
}

.content ul.wc-block-components-totals-discount__coupon-list li::before {
  content: "";
}

#subscribe-to-newsletter ~ span {
  line-height: 1.5em;
}

/* SINGLE PRODUCT */

.single-product-top {
  display: flex;
  gap: 5vw;
}

.single-product-top__left {
  flex: 1;
}

.single-product-top__left__imgs {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.single-product-top__left__imgs > a img {
  width: auto;
  max-width: 530px;
  height: 530px;
  border-radius: 20px;
}

.single-product-top__left__imgs__thumbs {
  display: flex;
  flex-direction: column;
  /* padding-bottom: var(--wp--preset--spacing--xxs); */
  overflow-y: auto;
  max-height: 530px;
}

.single-product-top__left__imgs__thumbs div {
  display: flex;
  gap: var(--wp--preset--spacing--xxs);
  flex-direction: column;
  gap: 10px;
  height: min-content;
}

.single-product-top__left__imgs__thumbs a {
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
}

.single-product-top__left__imgs__thumbs a img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.single-product-top__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.single-product-top__right .artgo-h1 {
  text-align: left;
}

.single-product-top__right__price {
  font-size: var(--font-size-h2);
  font-weight: 600;
}

.single-product-top__right__btns {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.single-product-top__right__btns > * {
  width: 100%;
}

.single-product-top__right__msg p {
  padding: 20px 40px;
  border: 1px dashed var(--primary-600);
  border-radius: 25px;
  margin-bottom: 25px;
}

.single-product-prices__configurator {
  display: flex;
}

.configurator__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.configurator__left {
  width: 60%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.configurator__right {
  width: 40%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  background: url(assets/images/bg-pattern.jpg) repeat;
  gap: 30px;
  border-radius: 20px;
}

.configurator__right .configurator__title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--primary-600);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.configurator__right .configurator__title div {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
}

.configurator__left #largeur:invalid,
.configurator__left #hauteur:invalid {
  outline: 2px solid red;
}

.configurator__right #quantity:invalid {
  outline: 2px solid red;
}

.configurator__toggle {
  display: none;
}

.configurator__toggle__label {
  position: relative;
  display: block;
  width: 40px;
  height: 24px;
  background-color: var(--neutral-00);
  border-radius: 99px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.configurator__toggle:checked + .configurator__toggle__label::after {
  left: 20px;
}

.configurator__toggle__label::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  background-color: var(--primary-600);
  border-radius: 50%;
  transition: left 0.3s ease;
}

.configurator__right .artgo-btn {
  margin: auto;
}

/* Formulaire du configurateur */

.configurator__fieldset {
  border: 1px solid var(--primary-600);
  padding: 10px;
  border-radius: 10px;
  font-size: var(--font-size-sm);
}

.configurator__fieldset:not(:last-child) {
  margin-bottom: 10px;
}

.configurator__fieldset__title {
  font-weight: 600;
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--primary-600);
  display: flex;
  justify-content: space-between;
}

.configurator__fieldset__inputs_options,
.configurator__fieldset__inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.configurator__fieldset__inputs_options {
  flex-direction: column;
}

.configurator__fieldset__inputs_options div,
.configurator__fieldset__inputs div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.configurator__fieldset__radio {
  position: absolute;
  visibility: hidden;
  opacity: 0;
}

.configurator__fieldset__radio + label {
  cursor: pointer;
  padding: 7px 14px;
  gap: 8px;
  border-radius: 5px;
  background: var(--neutral-50);
  line-height: 1.5;
  transition: 0.3s;
  border: 1px solid #e2e2e2;
  display: flex;
  gap: 8px;
}

.configurator__fieldset__radio:checked + label {
  background: var(--primary-600);
  color: var(--neutral-950);
  font-weight: 600;
}

.configurator__fieldset__radio + label[for^="pa_couleur"]::before {
  content: "";
  display: flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.configurator__fieldset__radio + label[for="pa_couleur-rouge"]::before {
  background-color: #ff0000;
}
.configurator__fieldset__radio + label[for="pa_couleur-fuschia"]::before {
  background-color: #e8509c;
}
.configurator__fieldset__radio + label[for="pa_couleur-orange"]::before {
  background-color: #ee9a05;
}
.configurator__fieldset__radio + label[for="pa_couleur-lime"]::before {
  background-color: #e0d703;
}
.configurator__fieldset__radio + label[for="pa_couleur-vert"]::before {
  background-color: #43b13c;
}
.configurator__fieldset__radio + label[for="pa_couleur-turquoise"]::before {
  background-color: #00bdd9;
}
.configurator__fieldset__radio + label[for="pa_couleur-bleu-royal"]::before {
  background-color: #488fc7;
}
.configurator__fieldset__radio + label[for="pa_couleur-bleu"]::before {
  background-color: #0000ff;
}
.configurator__fieldset__radio + label[for="pa_couleur-blanc"]::before {
  background-color: #fff;
}
.configurator__fieldset__radio + label[for="pa_couleur-noir"]::before {
  background-color: #000;
}

.configurator__fieldset__radio:not(:checked) + label:hover {
  background: var(--neutral-200);
}

.configurator__fieldset__number {
  border: 1px solid var(--neutral-950);
  padding: 7px 14px;
  border-radius: 5px;
}

label:has(+ .configurator__fieldset__number),
.configurator__fieldset__checkbox + label {
  font-weight: 600;
  cursor: pointer;
}

.configurator__fieldset__checkbox {
  accent-color: var(--primary-600);
  padding: 5px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  cursor: pointer;
}

.prices-table__title {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: var(--font-size-xs);
}

.prices-table__radio {
  position: absolute;
  visibility: hidden;
  opacity: 0;
}

.prices-table__radio:not(:last-of-type) + label {
  margin-bottom: 10px;
}

.prices-table__radio + label {
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid var(--primary-600);
  display: flex;
  justify-content: space-between;
  transition: 0.3s;
  font-size: 14px;
}

.prices-table__radio:checked + label {
  background-color: var(--primary-600);
  font-weight: 600;
}

.prices-table__radio:not(:checked) + label:hover {
  background-color: var(--neutral-200);
}

.configurator__total-price {
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid var(--primary-600);
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.degressive-table__title--center {
  text-align: center;
  text-decoration: underline;
  font-weight: 600;
  margin-bottom: 10px;
}

.degressive-table__title {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.degressive-table__item {
  display: flex;
  justify-content: space-between;
  padding: 7px 15px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid transparent;
  font-size: 14px;
}

.degressive-table__item:nth-child(odd) {
  background-color: var(--neutral-00);
}

.degressive-table__item.active {
  background-color: var(--primary-50);
  border-color: var(--primary-200);
  font-weight: 600;
}

/* Gestion prix HT / TTC */

.artgo-price__ttc {
  display: none;
}

.single-product-prices__configurator:has(.configurator__toggle:checked)
  .artgo-price__ht {
  display: none;
}

.single-product-prices__configurator:has(.configurator__toggle:checked)
  .artgo-price__ttc {
  display: flex;
}

/****************** RESPONSIVE *****************/

@media only screen and (max-width: 1279px) {
  .listing-products-block {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 1023px) {
  .header__content-top {
    flex-wrap: wrap;
  }
  #toggle-menu {
    display: flex;
  }
  .header__content-top__search {
    order: 4;
    max-width: 100%;
    margin-top: 20px;
  }
  .header__content-top__btns__label {
    display: none;
  }
  .header__content-bottom__menu {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    gap: 20px;
    background-color: var(--neutral-950);
    overflow-y: auto;
  }
  .header__content-bottom__menu.active {
    display: flex;
    z-index: 9999;
  }

  .header__content-bottom__menu > li {
    width: 100%;
  }
  .header__content-bottom__menu__mobile-link {
    display: flex;
  }

  .header__content-bottom__menu > li > a {
    height: auto;
    color: var(--neutral-00);
    padding: 0;
    width: 100%;
    justify-content: space-between;
  }

  .header__content-bottom__menu > li:has(.header__content-bottom__submenu) > a::after {
    content: url(assets/images/arrow-right.svg);
    line-height: 0;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
  }

   .header__content-bottom__menu > li:has(.header__content-bottom__submenu.active) > a::after  {
    transform: rotate(90deg);
   }

  .header__content-bottom__submenu {
    position: relative;
    display: flex;
    inset: 0;
    background: none;
    padding: 0;
  }

  .header__content-bottom__submenu > ul {
    columns: unset;
    padding-top: 10px;
    padding-left: 20px;
  }

  .header__content-bottom__submenu__img {
    display: none;
  }

  .header__content-bottom__submenu > ul > li:not(:last-child) {
    margin-bottom: 10px;
  }

  .header__content-bottom__submenu > ul > li > a,
  .header__content-bottom__submenu__description,
  .header__content-bottom__submenu > ul > li > ul > li > a {
    color: var(--neutral-00);
  }

  .header__content-bottom__submenu {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition:
      max-height 0.3s ease,
      padding-top 0.3s ease;
  }
  .header__content-bottom__submenu.active {
    max-height: none;
    overflow: visible;
    padding: var(--wp--preset--spacing--xs) 0;
  }

  .home-banner {
    flex-direction: column;
  }
  .home-banner__left,
  .home-banner__right {
    width: 100%;
  }

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

  .text-img-block {
    flex-direction: column;
  }
  .text-block {
    flex-direction: column;
  }
  .faq-block {
    flex-direction: column;
  }
  .grid-block {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 250px;
  }
  .grid-block__item {
    grid-area: unset !important;
  }
  .listing-reas-block {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .single-product-top,
  .single-product-prices__configurator {
    flex-direction: column;
  }

  .configurator__left,
  .configurator__right {
    width: 100%;
  }

  .contact-block {
    flex-direction: column;
  }
  .contact-block__left,
  .contact-block__right {
    width: 100%;
  }
  .pre-footer {
    flex-direction: column;
  }
  .footer-cols {
    flex-direction: column;
    gap: var(--gutter-blocks);
  }
  .footer-col:first-child {
    align-items: center;
    text-align: center;
  }
}

@media only screen and (max-width: 767px) {
  .header__top-bar__center {
    display: none;
  }

  .gallery-block {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-block__item__content {
    max-width: 100%;
    width: 100%;
    gap: 20px;
    padding: 20px;
  }
  .grid-block__item .artgo-btn {
    display: none;
  }
  .single-product-top__left__imgs {
    flex-direction: column-reverse;
  }
  .single-product-top__left__imgs__thumbs div {
    flex-direction: row;
  }
  .single-product-top__left__imgs > a img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
}
@media only screen and (max-width: 575px) {
  .listing-products-block {
    grid-template-columns: repeat(1, 1fr);
  }
  .listing-reas-filters form {
    gap: 5px;
  }
  .listing-reas-filters__label {
    width: 100%;
  }
  .listing-reas-block {
    grid-template-columns: repeat(1, 1fr);
  }
}

body:not(.woocommerce-page) .content table {
  border-collapse: collapse;
  margin-bottom: 20px;
  display: block;
  width: 100%;
  overflow-x: auto;
  min-width: 100%; /* garde le 100% sur desktop */
  -webkit-overflow-scrolling: touch;
  table-layout: fixed; /* évite que les colonnes changent de taille selon le contenu */
  min-width: 600px;
}

body:not(.woocommerce-page) .content table thead tr th,
body:not(.woocommerce-page) .content table thead tr td,
body:not(.woocommerce-page) .content table:not(:has(thead)) tr:first-child td {
  font-weight: 600;
}

body:not(.woocommerce-page) .content table tr td,
body:not(.woocommerce-page) .content table tr td {
  border: 1px solid var(--neutral-950);
  padding: 4px 10px;
  white-space: normal; /* le texte peut wrapper */
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 100px; /* évite que les colonnes se compriment à l'infini */
}

#radio-control-wc-payment-method-options-sogecommercestd__label img {
  display: none;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.woocommerce-MyAccount-content section {
  padding: 20px 0px;
}