/*
Theme Name: Carnes Oliva Child Theme
Description: This is a custom child theme
Template: salient
Version: 1.0
*/

/*GENERAL*/
:root {
  --light: #f1f1e4;
  --black: #212121;
  --dark: #781115;
  --green: #6d783f;
  --purple: #2a141a;
  --accent: #8e1312;
  --red-light: #f35e5e;
  --pink-light: #f5c0c0;
  --green-light: #c5d784;
  --yellow-light: #ecdb7b;
  --orange-dark: #bd802a;
  --blue-light: #89d5de;
  --blue-dark: #282e6c;
  --current-color: var(--light);
  --base: 1440;

  --primary-font: 'Inter', sans-serif;
  --secondary-font: 'Fraunces', serif;
}

::selection {
  background-color: var(--dark);
  color: var(--light);
  text-shadow: none;
}

img {
  border-radius: 2px;
}

@font-face {
  font-family: 'Fraunces';
  src:
    url('/wp-content/themes/oliva-child/fonts/Fraunces-Regular.woff2') format('woff2'),
    url('/wp-content/themes/oliva-child/fonts/Fraunces-Regular.woff') format('woff'),
    url('/wp-content/themes/oliva-child/fonts/Fraunces-Regular.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src:
    url('/wp-content/themes/oliva-child/fonts/Inter-Regular.woff2') format('woff2'),
    url('/wp-content/themes/oliva-child/fonts/Inter-Regular.woff') format('woff'),
    url('/wp-content/themes/oliva-child/fonts/Inter-Regular.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src:
    url('/wp-content/themes/oliva-child/fonts/Inter-Bold.woff2') format('woff2'),
    url('/wp-content/themes/oliva-child/fonts/Inter-Bold.woff') format('woff'),
    url('/wp-content/themes/oliva-child/fonts/Inter-Bold.ttf') format('ttf');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/*WRAPPERS*/
@media (min-width: 1000px) {
  .full-width-content:not(.no-padding, .special-padding) > .row_col_wrap_12 {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .no-padding {
    padding: 0 !important;
  }

  .no-padding > .row_col_wrap_12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 1000px) {
  .full-width-content:not(.no-padding) > .row_col_wrap_12 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .no-padding > .row_col_wrap_12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/*HOME*/
#home_hero {
  height: calc(100svh - 10px);
}

#home_hero .nectar-video-wrap:before,
#brand_hero .nectar-video-wrap:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark);
  mix-blend-mode: multiply;
  opacity: 1 !important;
  z-index: 2;
  transition: none !important;
}

#home_hero .nectar-video-bg,
#brand_hero .nectar-video-bg {
  filter: grayscale(1);
}
.home_hero_inner,
.home_hero_inner .row_col_wrap_12_inner {
  height: calc(100svh - 20px);
}

.brand_hero_inner {
  min-height: calc(100svh - 20px);
}

.hero_title {
  padding-bottom: 6vh;
}

.categories-catalog .nectar-fancy-box.style-5.using-img .meta-wrap {
  aspect-ratio: 1 / 1 !important;
  display: flex;
  align-items: self-end;
  font-size: 20px;
  text-transform: uppercase;
}

.categories-catalog .nectar-fancy-box[data-style='parallax_hover'] .inner {
  margin-bottom: 0;
  padding: 30px;
  position: relative;
  width: 100%;
}

.logo-brand-wrapper .vc_column-inner {
  aspect-ratio: 5/3;
}

/*NAV*/

body #header-outer,
body[data-header-color='dark'] #header-outer {
  background-color: var(--dark) !important;
}

#top nav ul li a,
body[data-header-color='light'] .mobile-header,
body[data-header-color='light'] .span_9 > .slide-out-widget-area-toggle a .label,
body[data-header-format='left-header'] #top .sf-menu li ul li.menu-item a,
#top nav ul #search-btn a span {
  color: var(--light);
}

#header-outer[data-format='left-header'] #top nav > ul > li:not(.megamenu) ul a:hover,
#header-outer[data-format='left-header'] .sf-menu .sub-menu .current-menu-item > a,
.sf-menu ul .open-submenu > a {
  color: var(--red-light);
}

@media only screen and (min-width: 1000px) {
  body[data-header-format='left-header'] #header-outer nav {
    vertical-align: sub;
  }
}

#header-outer.transparent #top nav > ul > li > a,
#header-outer.transparent #top nav > .sf-menu > li > a {
  opacity: 1;
}

/*TITLES*/
.custom-title:not(.margin_bottom_title) *,
.custom-title:not(.margin_bottom_title) {
  margin-bottom: 0 !important;
}

.margin_bottom_title {
  margin-bottom: 34px !important;
}

.custom-title strong {
  font-weight: 600;
}
.custom-title.regular,
.custom-title.regular * {
  font-weight: 400;
}
.custom-title.semibold,
.custom-title.semibold * {
  font-weight: 500;
}

.custom-title.bold,
.custom-title.bold * {
  font-weight: 600;
}

.custom-title.uppercase .custom-title.uppercase * {
  text-transform: uppercase !important;
}

.custom-title.lowercase,
.custom-title.lowercase * {
  text-transform: initial !important;
}

.custom-title.black,
.custom-title.black * {
  color: var(--purple);
}
.custom-title.light,
.custom-title.light * {
  color: var(--light);
}

.custom-title.dark,
.custom-title.dark * {
  color: var(--dark);
}

.custom-title.green,
.custom-title.green * {
  color: var(--green);
}

.custom-title.accent,
.custom-title.accent * {
  color: var(--accent);
}

.custom-title.black.orange-dark,
.custom-title.black.orange-dark * {
  color: var(--orange-dark);
}

.custom-title.black.green-dark,
.custom-title.black.green-dark * {
  color: var(--green);
}

.custom-title.light.green-light,
.custom-title.light.green-light * {
  color: var(--green-light);
}

.custom-title.light.pink-light,
.custom-title.light.pink-light * {
  color: var(--pink-light);
}

.custom-title.light.red-light,
.custom-title.light.red-light * {
  color: var(--red-light);
}

a.toggle-heading {
  font-family: var(--secondary-font) !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
  color: var(--dark) !important;
}
span.open-quote,
span.close-quote {
  display: none !important;
}

.custom-title.space-bottom {
  margin-bottom: 40px !important;
}
.small-text p {
  font-size: 14px !important;
}
/*1vw = 14.4 en 1440px*/
@media (min-width: 1000px) {
  .custom-title.extra-big *,
  .custom-title.extra-big {
    font-size: calc(80 / 1440 * 100vw) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.2rem;
  }
  .custom-title.big *,
  .custom-title.big {
    font-size: calc(56 / 1440 * 100vw) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.15rem;
  }

  .custom-title.medium *,
  .custom-title.medium {
    font-size: calc(48 / 1440 * 100vw) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.12rem;
  }

  .process-list .custom-title.medium *,
  .process-list .custom-title.medium {
    font-size: calc(40 / 1440 * 100vw) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.12rem;
  }
  .custom-title.small *,
  .custom-title.small {
    font-size: calc(32 / 1440 * 100vw) !important;
    line-height: 1 !important;
    letter-spacing: -0.08rem;
  }

  .custom-title.body *,
  .custom-title.body {
    font-size: calc(18 / 1440 * 100vw) !important;
    line-height: 1.4 !important;
  }

  .custom-title.tiny *,
  .custom-title.tiny {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  a.toggle-heading {
    font-size: calc(14 / 1440 * 100vw) !important;
  }
}

@media (max-width: 1000px) {
  .custom-title.extra-big *,
  .custom-title.extra-big {
    font-size: calc(46 / 390 * 100vw) !important;
    line-height: 1 !important;
    letter-spacing: -0.1rem;
  }
  .custom-title.big *,
  .custom-title.big {
    font-size: calc(40 / 390 * 100vw) !important;
    line-height: 1 !important;
    letter-spacing: -0.1rem;
  }
  .custom-title.medium *,
  .custom-title.medium {
    font-size: calc(39 / 390 * 100vw) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.1rem;
  }
  .custom-title.small *,
  .custom-title.small,
  a.toggle-heading {
    font-size: calc(29 / 390 * 100vw) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02rem;
  }

  .custom-title.tiny *,
  .custom-title.tiny {
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .custom-title.body *,
  .custom-title.body {
    font-size: calc(18 / 390 * 100vw) !important;
    line-height: 1.4 !important;
  }
}
.custom-title.primary,
.custom-title.primary * {
  font-family: var(--primary-font) !important;
}

.custom-title.secondary,
.custom-title.secondary * {
  font-family: var(--secondary-font) !important;
}

/*TITLE ANIMATION*/

/*Fix lines*/
.animated.lines:before,
.animated.lines:after,
.splitting-lines.lines:after,
.splitting.lines:before {
  display: none !important;
}

.splitting-lines.lines {
  background-color: transparent;
  width: fit-content;
  height: auto !important;
}

.animated.lines {
  width: auto !important;
  height: auto;
  background-color: transparent;
}

.splitting-lines {
  opacity: 0;
}

.line-wrapper {
  display: block;
}

.line {
  display: block;
}

.word {
  display: inline-block;
}

.char {
  display: inline-block;
  will-change: transform, opacity;
}

/*FOOTER*/

ul#menu-productos li {
  padding: 3px 0;
}
.footer-logo {
  max-width: 43px !important;
}

.legals .wpb_wrapper {
  display: flex;
  padding: 3rem 0 1rem 0;
  gap: 2rem;
}

#footer a:hover {
  color: var(--pink-light);
}

#footer .vc_wp_custommenu li {
  list-style: none;
  color: var(--light);
}

#footer .vc_wp_custommenu ul {
  margin-left: 0;
}

@media (max-width: 1000px) {
  .legals .wpb_wrapper {
    flex-flow: column;
  }

  #footer img {
    max-width: 140px !important;
  }
}

/*BTN*/
a.nectar-button.medium.see-through.extra-color-2:before {
  content: '';
  height: 0;
  background: var(--dark);
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: -1;
}

a.nectar-button.medium.see-through.extra-color-2.light:before {
  background: var(--light);
}

.submit-wrapper {
  position: relative;
}

a.nectar-button.medium.see-through.extra-color-2 {
  position: relative;
  z-index: 99;
  transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
  border-width: 1px;
  color: var(--dark);
  border: 1px solid var(--dark);
}

a.nectar-button.medium.see-through.extra-color-2.light {
  color: var(--light);
  border: 1px solid var(--light);
}

a.nectar-button.medium.see-through.extra-color-2 span {
  color: var(--dark);
}

a.nectar-button.medium.see-through.extra-color-2:hover span {
  color: var(--light);
}

a.nectar-button.medium.see-through.extra-color-2.light span {
  color: var(--light);
}

a.nectar-button.medium.see-through.extra-color-2.light:hover span {
  color: var(--dark);
}

a.nectar-button.medium.see-through.extra-color-2:hover:before,
.submit-wrapper:hover .submit-hover {
  height: 100%;
}

body.material .nectar-button.regular.m-extra-color-gradient-2 {
  color: var(--black);
}

body.material .nectar-button.regular.m-extra-color-gradient-2:hover {
  color: var(--light);
  background: var(--purple);
  opacity: 1;
}

body.material .nectar-button.regular.m-extra-color-gradient-2:hover:before {
  background: var(--purple);
}

.footer-bottom-social .wpb_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1000px) {
  span.not-break {
    white-space: nowrap;
  }
}

.nectar-shop-header .nectar-shop-header-bottom .right-side {
  display: none;
}

/*Rotating words*/

@media only screen and (min-width: 1000px) {
  body .nectar-rotating-words-title .heading,
  .custom-title.pre-rotating * {
    font-size: calc(105 / 1440 * 100vw) !important;
    font-weight: 400;
    letter-spacing: -0.18vw;
    line-height: 0.8 !important;
    text-transform: uppercase;
  }
}

@media only screen and (max-width: 1000px) {
  body .nectar-rotating-words-title .heading,
  .custom-title.pre-rotating * {
    font-size: calc(32 / 360 * 100vw) !important;
    font-weight: 400;
    letter-spacing: -0.18vw;
    line-height: 0.8 !important;
    text-transform: uppercase;
  }

  body .nectar-rotating-words-title .heading {
    font-size: calc(45 / 360 * 100vw) !important;
  }
}

.rotating-words-wrapper {
  pointer-events: none;
}
.nectar-rotating-words-title.element_stagger_words .beginning-text span,
.nectar-rotating-words-title.element_stagger_words .dynamic-words span,
.nectar-rotating-words-title.element_stagger_words .ending-text span {
  line-height: 0.9;
}

.dynamic-words * {
  color: var(--green) !important;
}

/*Woocommerce zoom*/
.woocommerce div.product div.images .woocommerce-product-gallery img.zoomImg,
.pswp__caption__center {
  display: none !important;
}

/* fallback: anula transform/hover y oculta contenedores de zoom comunes */
.woocommerce div.product .woocommerce-product-gallery__image img,
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
  transform: none !important;
  transition: none !important;
  cursor: auto !important;
}
/* algunas clases que plugins/zoom crean */
.zoomImg,
.zoomContainer {
  display: none !important;
  pointer-events: none;
}

.single-product .product[data-gallery-style='left_thumb_sticky'] .product-slider .slide:not(.nectar-no-larger-img),
.single-product .product[data-gallery-style='left_thumb_sticky'] .product-slider .slide:not(.nectar-no-larger-img) * {
  cursor: default !important;
}

/* =====================================================
   Carrusel Infinito Diagonal con Parallax (Flickity)
   ===================================================== */

.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  /* padding: 90px 0; */
}

.gallery-carousel-wrapper .horizontal-row {
  max-height: 300px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-carousel-wrapper.is-ready .horizontal-row {
  max-height: none;
  overflow: visible;
  opacity: 1 !important;
}

.gallery-carousel-wrapper.is-ready .horizontal-row:focus {
  outline: none;
  border: none;
}

.gallery-carousel-wrapper .flickity-slider {
  display: flex;
  will-change: transform; /* el slider se mueve cada frame: capa propia */
}

.horizontal-row {
  cursor: grab;
}
.horizontal-row.is-dragging,
.horizontal-row:active {
  cursor: grabbing;
}
.horizontal-row .flickity-viewport {
  overflow: visible; /* para que no recorte la diagonal ni el parallax */
}

/* -----------------------------------------------------
   Celda de Flickity (Flickity controla su transform X)
   ----------------------------------------------------- */
.carousel-slide {
  width: 38rem;
  flex: none;
  margin-right: 3.5rem;
  user-select: none;
}

.carousel-slide__diag {
  width: 100%;
  will-change: transform;
}

/* -----------------------------------------------------
   Marco: recorta la imagen y define el "viewport" del parallax.
   ----------------------------------------------------- */
.carousel-slide__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}

.carousel-slide__img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130% !important;
  height: 130% !important;
  max-width: none;
  object-fit: cover;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
  user-select: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide__img.is-loaded {
  opacity: 1;
}

/* -----------------------------------------------------
   Responsive
   ----------------------------------------------------- */
@media (max-width: 768px) {
  .gallery-carousel-wrapper {
    padding: 50px 0;
  }
  .carousel-slide {
    width: 10rem;
    margin-right: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide__diag,
  .carousel-slide__img {
    transition: none !important;
  }
}

.infinite-carousel-wrapper {
  padding-top: 70px;
  transform: translateY(10%);
}

.tax-product_brand #sidebar .inner,
.archive #sidebar .inner {
  background-color: var(--purple);
  padding: 1em;
  border-radius: 4px;
}

.tax-product_brand #sidebar .inner .wc-block-product-filter-checkbox-list__text,
.archive #sidebar .inner .wc-block-product-filter-checkbox-list__text,
.archive #sidebar .inner .wp-block-button,
.tax-product_brand #sidebar .inner .wp-block-button,
.tax-product_brand #sidebar .inner .wc-block-product-filter-removable-chips__label,
.archive #sidebar .inner .wc-block-product-filter-removable-chips__label,
.archive #sidebar .inner label,
.tax-product_brand #sidebar .inner label {
  color: var(--light) !important;
}

.tax-product_brand #sidebar .inner h2,
.archive #sidebar .inner h2,
.tax-product_brand #sidebar .inner h3,
.archive #sidebar .inner h3 {
  color: var(--light) !important;
}

.tax-product_brand .post-area.col_last,
.archive .post-area.col_last {
  padding-left: 0;
}

.wc-block-product-filter-checkbox-list__label {
  align-items: start !important;
}
.wc-block-product-filter-checkbox-list__text {
  color: var(--black) !important;
}

.wc-block-product-filter-checkbox-list__input-wrapper:before {
  background: #ffffff !important;
  opacity: 1 !important;
}

#header-outer .bg-color-stripe,
#search-outer .bg-color-stripe,
#header-outer #search-outer:before {
  background-color: var(--dark);
}

form.woocommerce-ordering,
.woocommerce-result-count {
  visibility: hidden;
}

#header-outer .cart-menu .cart-icon-wrap .icon-salient-cart,
#top nav ul #nectar-user-account a span,
#top nav ul #search-btn a:hover span,
#header-outer[data-format='left-header'] .sf-menu .sub-menu .current-menu-item > a,
.sf-menu ul .open-submenu > a {
  color: var(--red-light) !important;
}

#header-outer .menu-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

#header-outer .sub-menu .menu-item:last-child {
  margin-bottom: 24px;
  border-bottom: none;
}

.carnes-marca-logo-grid {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  max-height: 45px;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.9);
  object-fit: contain;
  border-radius: 2px;
  z-index: 103;
}

.woocommerce ul.products li.product.material.brand-oliva,
.woocommerce-page ul.products li.product.material.brand-oliva * {
  background-color: var(--pink-light);
  color: var(--dark);
}

.woocommerce-page ul.products li.product.material.brand-mimar,
.woocommerce-page ul.products li.product.material.brand-mimar * {
  background-color: var(--yellow-light);
  color: var(--orange-dark);
}

.woocommerce-page ul.products li.product.material.brand-marbeira,
.woocommerce-page ul.products li.product.material.brand-marbeira * {
  background-color: var(--green-light);
  color: var(--green) !important;
}

.woocommerce-page ul.products li.product.material.brand-marca-blanca,
.woocommerce-page ul.products li.product.material.brand-marca-blanca * {
  background-color: #e4e4cc;
  color: var(--purple) !important;
}

.material .mobile-search .icon-salient-search,
.material .mobile-user-account .icon-salient-m-user {
  color: #ffffff;
}

.slide-out-widget-area-toggle.mobile-icon .lines-button.x2 .lines:after,
.slide-out-widget-area-toggle.mobile-icon .lines-button.x2 .lines:before,
.slide-out-widget-area-toggle.mobile-icon .lines-button:after {
  background-color: #ffffff;
}

@media only screen and (min-width: 1000px) {
  body[data-header-format='left-header'] .container,
  body[data-header-format='left-header'] .woocommerce-tabs .full-width-content .tab-container,
  body[data-header-format='left-header'] .nectar-recent-posts-slider .flickity-page-dots,
  body[data-header-format='left-header'] .post-area.standard-minimal.full-width-content .post .inner-wrap {
    padding: 0 28px;
  }
}

body.material #search-outer #search input[type='text'] {
  text-transform: initial;
}

#sidebar .widget {
  margin-bottom: 0;
}
.product-categories {
  display: flex;
  justify-content: space-between;
  flex-flow: column-reverse;
  gap: 1em;
}
.product-categories a {
  text-transform: uppercase;
  font-size: 14px;
  padding: 0.1em 0.5em;
  border: 1px solid currentColor;
  border-radius: 4px;
  position: relative;
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
  line-height: 1;
  width: fit-content;
}

.product-sku {
  font-size: 14px;
  line-height: 1;
}

.product-categories a:hover {
  background-color: currentColor;
  color: var(--light);
}

@media (max-width: 1000px) {
  .widget_block {
    color: var(--light);
  }

  .infinite-carousel-wrapper {
    padding-top: 80px;
  }
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h2,
.woocommerce-page ul.products li.product h2 {
  line-height: 30px;
  font-size: 24px !important;
}

:root :where(.wp-element-button, .wp-block-button__link) {
  background-color: var(--accent);
  border-radius: 4px;
}

:where(.wc-block-product-filters) .wc-block-product-filters__content,
:where(.wc-block-product-filters) .wc-block-product-filters__overlay-content {
  justify-content: end;
}

.archive .wp-block-woocommerce-product-filter-taxonomy {
  display: none;
}

.woocommerce #sidebar div ul li,
.material.woocommerce #sidebar div ul li {
  padding: 0;
}

@media only screen and (min-width: 1000px) {
  .woocommerce.archive .post-area.span_9,
  .woocommerce.single .post-area.span_9,
  .post-area.masonry.span_9,
  .post-area.span_9,
  .single-portfolio .post-area.span_9,
  body.search.material .container-wrap .span_9,
  body[data-ext-responsive='true'] .post-area.masonry.span_9,
  body[data-ext-responsive='true'] .post-area.masonry.span_9.meta_overlaid {
    width: 73.5%;
  }
}

@media only screen and (min-width: 1000px) {
  .woocommerce.archive #sidebar.span_3,
  .woocommerce.single #sidebar.span_3 {
    width: 23%;
  }

  body[data-header-format='left-header'] #header-outer .row .col.span_9 {
    height: fit-content !important;
  }
}

@media only screen and (max-width: 1000px) {
  .wc-block-product-filters.wp-block-woocommerce-product-filters,
  :where(.wc-block-product-filters) .wc-block-product-filters__close-overlay,
  :where(.wc-block-product-filters) .wc-block-product-filters__open-overlay {
    width: 100%;
    position: relative;
    display: flex;
  }
}

.woocommerce ul.products[data-product-style]:not([data-n-desktop-columns='default']),
.woocommerce ul.products[data-product-style]:not([data-n-desktop-small-columns='default']),
.woocommerce ul.products[data-product-style]:not([data-n-phone-columns='default']),
.woocommerce ul.products[data-product-style]:not([data-n-tablet-columns='default']),
#carnes-grid {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
}

.woocommerce-page ul.products li.product.material,
.woocommerce-page ul.products li.product.material * {
  border-radius: 4px;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form {
  width: 100%;
}

/* ---------------------------------------------------------
   ROWS
   --------------------------------------------------------- */

.contact-form .form-row {
  display: flex;
  width: 100%;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-form .form-row.full-row {
  display: flex;
}

.contact-form .col1,
.contact-form .col2 {
  flex: 1 1 0;
}

.contact-form .col3 {
  width: 100%;
}

/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

.contact-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.2;
}

/* ---------------------------------------------------------
   INPUTS
   --------------------------------------------------------- */

.contact-form .form-field {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  margin: 0;
  border: 0;
  background: #e7e7d2;
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: #222;
  box-sizing: border-box;
  outline: none;
}

/* Select */

.contact-form select.form-field {
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  cursor: pointer;
}

/* Textarea */

.contact-form textarea.form-field {
  min-height: 210px;
  padding: 16px;
  resize: vertical;
}

.canal-denuncia .contact-form textarea.form-field {
  min-height: 80px;
}

/* Focus */

.contact-form .form-field:focus {
  outline: none;
  box-shadow: none;
}

form * {
  border-radius: 4px;
}

/* ---------------------------------------------------------
   PRIVACY
   --------------------------------------------------------- */

.contact-form .form-privacy {
  display: flex;
  align-items: center;
}

.contact-form .form-privacy .wpcf7-list-item {
  margin: 0;
}

.contact-form .form-privacy label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  cursor: pointer;
}

/* Checkbox */

.contact-form .form-privacy input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;

  width: 27px;
  height: 27px;

  margin: 0;
  padding: 0;

  border: 1px solid #222;

  background: transparent;

  flex: 0 0 27px;
  cursor: pointer;
}

/* Checkbox checked */

.contact-form .form-privacy input[type='checkbox']:checked {
  background: #222;
  box-shadow: inset 0 0 0 5px #f1f1e5;
}

/* ---------------------------------------------------------
   SUBMIT
   --------------------------------------------------------- */

.contact-form .form-submit {
  display: block;
  width: 100%;
  height: 66px;

  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 4px;

  background: #222;
  color: #f1f1e5;

  font-family: inherit;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;

  text-align: center;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.contact-form .form-submit:hover {
  background: #333;
}

/* ---------------------------------------------------------
   CF7
   --------------------------------------------------------- */

.contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 14px;
}

.contact-form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 15px;
}

form br {
  display: none;
}

form p {
  padding-bottom: 0 !important;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {
  .contact-form .form-row {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 28px;
  }

  .contact-form .col1,
  .contact-form .col2,
  .contact-form .col3 {
    width: 100%;
    flex: none;
  }

  .contact-form label {
    font-size: 18px;
  }

  .contact-form .form-field {
    height: 52px;
  }

  .contact-form textarea.form-field {
    height: 180px;
  }

  .contact-form .form-submit {
    height: 60px;
    font-size: 16px;
  }
}

/* ---------------------------------------------------------
   FILE UPLOAD
   --------------------------------------------------------- */

.contact-form input[type='file'] {
  display: block;
  width: 100%;
  height: 56px;
  margin: 0;
  margin-bottom: 24px;
  border: 0;
  background: #e7e7d2;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  color: #222;
  cursor: pointer;
}

.contact-form input[type='file']::file-selector-button {
  height: 100%;
  margin-right: 15px;
  padding: 0 18px;

  border: 0;
  border-radius: 4px;

  background: #222;
  color: #f1f1e5;

  font-family: inherit;
  font-size: 15px;

  cursor: pointer;
}

.contact-form input[type='file'] {
  height: 52px;
}

/* ---------------------------------------------------------
   RADIO BUTTONS - PILLS
   --------------------------------------------------------- */

.contact-form .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-form .radio-group .wpcf7-list-item {
  margin: 0;
}

.contact-form .radio-group label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 10px 18px;

  background: #e7e7d2;
  border: 1px solid transparent;
  border-radius: 4px;

  color: #222;
  font-size: 15px;
  line-height: 1.1;
  text-align: center;

  cursor: pointer;
  user-select: none;

  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

/* Ocultar el radio nativo */
.contact-form .radio-group input[type='radio'] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Hover */
.contact-form .radio-group label:hover {
  background: #dedec7;
}

/* Activo (lo añade tu JS) */
.contact-form .radio-group label.is-active {
  background: var(--accent);
}
.contact-form .radio-group label.is-active * {
  color: #fff !important;
}

/* Accesibilidad */
.contact-form .radio-group label:focus-within {
  outline: 1px solid var(--accent);
  outline-offset: 1px;
}

span.wpcf7-form-control.wpcf7-radio {
  display: flex !important;
  gap: 12px;
}

@media (max-width: 1000px) {
  .span.wpcf7-form-control.wpcf7-radio {
    flex-direction: column;
  }
}

.brand-card {
  display: block;
  text-decoration: none;
  height: 100%;
}

.brand-card__image {
  background: #f2f2f2;
  overflow: hidden;
}

.brand-card__image-img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-card__content {
  padding-top: 20px;
}

.brand-card__title {
  margin: 0 0 10px;
}

h3.brand-card__title {
  font-size: 28px;
  color: var(--dark);
}

.brand-card__description * {
  margin-bottom: 20px;
  color: var(--black);
}

.brand-card__link {
  display: inline-block;
}

a.brand-card {
  background-color: var(--light);
  border-radius: 8px;
  padding: 1.5em;
  transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
}

a.brand-card:hover {
  transform: translateY(-5px);
}
.brand-card__image-wrapper {
  object-fit: cover;
  overflow: hidden;
}
img.brand-card__image {
  transition: all 0.3s cubic-bezier(0.7, 0, 0.2, 1);
  width: 100% !important;
}

a.brand-card:hover img.brand-card__image {
  transform: scale(1.05);
}

.icon-salient-arrow-right {
  font-size: 14px;
  text-transform: uppercase;
}

.form-privacy {
  font-size: 14px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.wap__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
  font-family: 'Fraunces', serif;
}

.carnes-ver-mas {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
}

body:not(.woocommerce-cart) .main-content table tr {
  background-color: var(--purple) !important;
  color: var(--light);
  border-radius: 5px !important;
  overflow: hidden;
}

.woocommerce table.shop_attributes th,
.woocommerce-page table.shop_attributes th {
  color: var(--light);
  font-family: 'Fraunces';
  line-height: 1.1;
  font-weight: 400;
}

@media only screen and (min-width: 1000px) {
  .single-product .row > .product[data-gallery-style='left_thumb_sticky'] .single-product-main-image {
    width: 60%;
  }
}

@media only screen and (min-width: 1000px) {
  .single-product .row > .product[data-gallery-style='left_thumb_sticky'][data-tab-pos*='fullwidth'] .summary.entry-summary,
  .single-product .row > .product[data-gallery-style='left_thumb_sticky'][data-tab-pos='in_sidebar'] .single-product-summary {
    width: 40%;
  }
}
