/*
Theme Name: Vet La Araucaria
Version: 1.0
*/

/* =========================
   1) VARIABLES & RESET
========================= */
:root {
  --brand-blue: #6432D9;
  --brand-blue-dark: #1D2644;
  --bg-page: linear-gradient(135deg, #F3D9FD 0%, #C8FCFE 100%);
  --bg-nav: rgba(255, 255, 255, 0.9);
  --bg-card: #FFFFFF;
  --text-main: #1B2644;
  --text-muted: rgba(27, 38, 68, 0.7);
  --border-light: rgba(0, 0, 0, 0.06);
  --border-med: rgba(0, 0, 0, 0.08);
  --green-wsp: #25D366;
  --btn-primary: var(--brand-blue);

  --shadow-sm: 0 4px 10px rgba(0, 0, 0, .12);
  --shadow-md: 0 14px 30px rgba(0, 0, 0, .10);
  --shadow-lg: 0 18px 35px rgba(0, 0, 0, .12);
  --shadow-drawer: -18px 0 40px rgba(0, 0, 0, .18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  /* Fix global para evitar desplazamientos horizontales no deseados */
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  background-attachment: fixed;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   2) TOPBAR
========================= */
.topbar {
  background: var(--brand-blue);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  gap: 0.5rem;
}

.topbar__left {
  justify-self: start;
}

.topbar__center {
  justify-self: center;
  text-align: center;
}

.topbar__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.topbar__message {
  font-weight: 600;
  letter-spacing: .2px;
}

.topbar a {
  color: #fff;
  opacity: .9;
}

.topbar a:hover {
  opacity: 1;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Hotfix SVG gigante en topbar */
.topbar .social {
  width: 28px;
  height: 28px;
  overflow: hidden;
}

.topbar .social svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  display: block;
}

.topbar .social svg,
.topbar .social svg * {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 768px) {
  .topbar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .topbar__left {
    display: none;
  }

  .topbar__center {
    justify-self: center;
  }

  .topbar__right {
    display: none;
  }
}

/* =========================
   3) FLOATING WHATSAPP
========================= */
.wsp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-wsp);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .22);
  text-decoration: none;
  z-index: 20000;
  transform: none;
  visibility: visible;
  opacity: 1;
}

.wsp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  display: block;
}

.wsp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 26px rgba(0, 0, 0, .28);
  filter: brightness(1.02);
}

.wsp-float:active {
  transform: scale(.98);
}

.wsp-float:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .9);
  outline-offset: 3px;
}

@media (max-width: 360px) {
  .wsp-float {
    width: 52px;
    height: 52px;
  }

  .wsp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* =========================
   4) NAV & MEGA MENU
========================= */
.nav {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 9997;
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1), background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.nav.is-scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-bottom-color: transparent;
}

.nav.is-hidden {
  transform: translateY(-100%);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav__brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.nav__brand img.custom-logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  box-shadow: var(--shadow-sm);
  display: block;
}

.nav__brandText {
  font-weight: 800;
}

.nav__menu {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  align-items: center;
}

.nav__link,
.nav__menu > .menu-item > a {
  color: var(--text-main);
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .6rem .25rem;
}

.nav__link:hover,
.nav__menu > .menu-item > a:hover {
  opacity: .85;
}

.nav__link--btn {
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

.nav__caret {
  font-size: .85em;
  opacity: .8;
}

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .9rem;
}

.nav__icon {
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav__icon:hover {
  background: rgba(0, 0, 0, .05);
}

.nav__cart {
  position: relative;
}

.nav__badge {
  position: absolute;
  top: -7px;
  right: -7px;
  background: var(--text-main);
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1.4;
}

.nav__toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 1.8rem;
  line-height: 1;
  padding: .4rem .6rem;
  cursor: pointer;
  border-radius: 10px;
}

.nav__toggle:hover {
  background: rgba(0, 0, 0, .05);
}

/* --- SUBMENU DESKTOP --- */
.nav__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-nav);
  border: 1px solid var(--border-med);
  border-radius: 18px;
  padding: 1rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 200ms ease;
  z-index: 100;
}

.nav__menu .menu-item-has-children {
  position: relative;
}

.nav__menu .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__menu .sub-menu .menu-item a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-main);
  opacity: 0.85;
  white-space: nowrap;
}

.nav__menu .sub-menu .menu-item a:hover {
  opacity: 1;
  background: rgba(0,0,0,0.04);
}

/* --- NAV & MEGA RESPONSIVE (<= 992px) --- */
@media (max-width: 992px) {


  .nav__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    padding: 12px 14px;
    gap: 10px;
  }

  .nav__brand {
    justify-self: start;
  }

  .nav__actions {
    justify-self: center;
    gap: 10px;
  }

  .nav__toggle {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
  }

  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 9998;
  }

  .nav__overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Drawer Mobile */
  #primary-menu.nav__menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(92vw, 420px);
    margin: 0;
    padding: 14px 12px 18px;
    background: var(--bg-nav);
    box-shadow: var(--shadow-drawer);
    isolation: isolate;
    transform: translateX(100%);
    transition: transform 240ms ease;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  #primary-menu.nav__menu.is-open {
    transform: translateX(0);
  }

  .nav__drawerHead {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg-nav);
    padding: 10px 4px 12px;
    margin: 0 0 6px;
    border-bottom: 1px solid var(--border-med);
  }

  .nav__drawerTitle {
    font-weight: 800;
  }

  .nav__drawerClose {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.06);
  }

  #primary-menu.nav__menu>li {
    width: 100%;
  }

  #primary-menu.nav__menu .nav__link,
  #primary-menu.nav__menu a,
  #primary-menu.nav__menu .nav__link--btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 12px;
    border-radius: 14px;
    font-weight: 750;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--border-light);
    text-align: left;
  }

  .nav__caret {
    margin-left: 10px;
  }

  /* Sub Menu en Mobile Drawer */
  .nav__menu .sub-menu {
    display: none;
    width: 100%;
    margin: 6px 0 12px;
    padding: 8px 0;
    background: var(--bg-nav);
    border-left: 2px solid var(--brand-blue);
    margin-left: 10px;
  }

  .nav__menu .menu-item-has-children.is-open .sub-menu {
    display: block;
  }

  .nav__menu .sub-menu a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    background: transparent;
    border: none;
    opacity: 0.8;
  }
}

@media (max-width: 480px) {
  .nav__inner {
    padding: 10px 12px;
  }

  #primary-menu.nav__menu {
    width: min(90vw, 340px);
  }

  .nav__actions {
    gap: 8px;
  }

  .nav__brand img.custom-logo {
    width: 50px;
    height: 50px;
  }
}

/* =========================
   SEARCH MODAL
========================= */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.search-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-modal__close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text-main);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.search-modal__close:hover {
  transform: scale(1.1);
  color: var(--brand-blue);
}

.search-modal__content {
  width: 100%;
  max-width: 800px;
  padding: 0 24px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.search-modal.is-open .search-modal__content {
  transform: translateY(0);
}

.search-modal__form {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.search-modal__input {
  flex-grow: 1;
  border: none;
  border-bottom: 3px solid var(--border-med);
  background: transparent;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--text-main);
  padding: 10px 0;
  font-weight: 700;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-modal__input:focus {
  border-bottom-color: var(--brand-blue);
}

.search-modal__input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.search-modal__submit {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #8553f4 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0 36px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(100, 50, 217, 0.3);
}

.search-modal__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(100, 50, 217, 0.4);
}

.search-modal__hint {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

@media (max-width: 768px) {
  .search-modal__form {
    flex-direction: column;
    gap: 20px;
  }
  .search-modal__submit {
    height: 56px;
    width: 100%;
  }
  .search-modal__close {
    top: 20px;
    right: 20px;
  }
}

/* =========================
   5) LAYOUT BASE
========================= */
.site-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 60px;
}

main#content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
}

aside,
.widget-area,
#secondary {
  display: none !important;
}

/* =========================
   6) HOME / PRODUCT CARDS
========================= */
.home-sections {
  padding: 46px 0;
}

.home-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.home-block {
  padding: 34px 0;
}

.home-block h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  margin: 0 0 14px;
}

.home-muted {
  opacity: .85;
  margin: 0 0 18px;
}

.home-cta {
  border-radius: 18px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, .04);
}

.home-cta .cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--btn-primary);
  color: #fff;
}

.btn-outline {
  border: 1px solid rgba(0, 0, 0, .25);
  color: inherit;
}

/* =========================
   WOOCOMMERCE SHOP HEADER (ORDERING & RESULT COUNT)
========================= */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.05rem;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
  margin: 0 0 24px;
}

.woocommerce .woocommerce-ordering select.orderby {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #f9f9fb;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2644' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  border: 1px solid var(--border-med);
  border-radius: 12px;
  padding: 12px 40px 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
  min-width: 260px;
}

.woocommerce .woocommerce-ordering select.orderby:hover {
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.woocommerce .woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(100, 50, 217, 0.15);
  background-color: #ffffff;
}

@media (min-width: 769px) {
  .woocommerce .woocommerce-result-count {
    float: left;
    margin-top: 12px;
  }
  .woocommerce .woocommerce-ordering {
    float: right;
  }
}

@media (max-width: 768px) {
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none;
    text-align: left;
    width: 100%;
  }
  .woocommerce .woocommerce-ordering select.orderby {
    width: 100%;
  }
}

.woocommerce ul.products,
ul.products,
.wc-block-grid__products,
ul.wc-block-grid__products,
.woocommerce .related.products ul.products,
.woocommerce .up-sells ul.products,
.woocommerce .cross-sells ul.products {
  margin: 0;
  padding: 0;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch !important;
  width: 100% !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after,
.wc-block-grid__products::before,
.wc-block-grid__products::after,
ul.wc-block-grid__products::before,
ul.wc-block-grid__products::after {
  display: none !important;
}

.wc-block-grid__product,
.woocommerce ul.products li.product,
ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  position: relative;
  border-radius: 18px;
  padding: 14px !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-med) !important;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.wc-block-grid__product:hover,
.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, .12) !important;
}

.wc-block-grid__product-link,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
ul.products li.product a.woocommerce-LoopProduct-link {
  color: inherit;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  text-decoration: none;
}

.wc-block-grid__product-image img,
.woocommerce ul.products li.product a img,
ul.products li.product a img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(0, 0, 0, .02);
  padding: 10px;
  margin: 0 0 12px;
}

.wc-block-grid__product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--text-main);
}

.wc-block-grid__product-price,
.woocommerce ul.products li.product .price,
ul.products li.product .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  margin-top: auto !important;
  margin-bottom: 12px;
  color: #B49626 !important;
}

.wc-block-grid__product-price del,
.woocommerce ul.products li.product .price del,
ul.products li.product .price del {
  color: var(--text-muted) !important;
}

.wc-block-grid__product-price del,
.woocommerce ul.products li.product .price del,
ul.products li.product .price del {
  opacity: .55;
  font-weight: 600;
}

.wc-block-grid__product-price ins,
.woocommerce ul.products li.product .price ins,
ul.products li.product .price ins {
  text-decoration: none;
}

.wc-block-grid__product-add-to-cart {
  width: 100% !important;
}

.wc-block-grid__product-add-to-cart a.wp-block-button__link,
.woocommerce ul.products li.product a.button,
ul.products li.product a.button {
  width: 100% !important;
  border-radius: 999px;
  padding: 12px 14px !important;
  text-align: center;
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  border: 1px solid rgba(0, 0, 0, .14) !important;
  background: transparent !important;
  color: var(--text-main) !important;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  display: block;
  margin-top: 0 !important;
}

.wc-block-grid__product-add-to-cart a.wp-block-button__link:hover,
.woocommerce ul.products li.product a.button:hover,
ul.products li.product a.button:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, .04) !important;
  border-color: rgba(0, 0, 0, .22) !important;
}

.wc-block-grid__product-onsale,
.woocommerce ul.products li.product span.onsale,
.woocommerce-page ul.products li.product span.onsale,
ul.products li.product span.onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
  background: var(--btn-primary) !important;
  color: #fff !important;
  border: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(100, 50, 217, 0.45) !important;
}

/* Ensure the span inside wc-block-grid__product-onsale looks okay */
.wc-block-grid__product-onsale span {
  display: inline-block;
  z-index: 10;
}

@media (max-width: 980px) {
  .woocommerce ul.products,
  ul.products,
  .wc-block-grid__products,
  ul.wc-block-grid__products,
  .woocommerce .related.products ul.products,
  .woocommerce .up-sells ul.products,
  .woocommerce .cross-sells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .home-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.woocommerce .cart-collaterals .cross-sells,
.woocommerce-page .cart-collaterals .cross-sells,
.woocommerce .cross-sells,
.woocommerce-page .cross-sells {
  width: 100% !important;
  float: none !important;
  margin-top: 40px;
}

/* Fix Gutenberg empty cart block width collapse */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-empty-cart-block,
.wc-block-grid {
  width: 100% !important;
  max-width: 100% !important;
  align-items: stretch !important;
  flex-grow: 1 !important;
}

/* Replace sad face with cat and dog in empty cart */
.with-empty-cart-icon::before,
.wc-block-cart__empty-cart__title::before {
  content: "🐶 🐱" !important;
  display: block !important;
  font-size: 72px !important;
  text-align: center !important;
  background: none !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto 20px auto !important;
}

@media (max-width: 580px) {
  .woocommerce ul.products,
  ul.products,
  .wc-block-grid__products,
  ul.wc-block-grid__products,
  .woocommerce .related.products ul.products,
  .woocommerce .up-sells ul.products,
  .woocommerce .cross-sells ul.products {
    grid-template-columns: 1fr !important;
  }

  ul.products li.product a img {
    height: auto !important;
    max-height: 280px;
  }
}

/* =========================
   7) SINGLE PRODUCT
========================= */
.single-product .site-main,
.single-product main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 5.5fr);
  gap: 50px;
  align-items: start;
}

/* Ensure full width sections below the main product details break out of the 2-column layout */
.single-product div.product .woocommerce-tabs,
.single-product div.product .related.products,
.single-product div.product .upsells.products {
  grid-column: 1 / -1;
}

.single-product div.product div.images {
  width: 100% !important;
  max-width: 520px;
  margin: 0 auto;
  float: none !important;
  background: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(245,245,255,1) 100%);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.single-product div.product div.images:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.single-product div.product div.images img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.single-product div.product div.images .woocommerce-product-gallery__wrapper {
  display: flex;
  justify-content: center;
}

.single-product div.product .summary {
  max-width: 100%;
  width: 100% !important;
  float: none !important;
}

.single-product .product_title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 12px;
}

.single-product .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 16px;
  margin-top: 40px;
}

.single-product .price del {
  opacity: .5;
  font-size: 1.1rem;
}

.single-product .price ins {
  text-decoration: none;
}

.single-product .woocommerce-product-details__short-description,
.single-product .summary p {
  line-height: 1.6;
  margin-bottom: 16px;
}

.single-product form.cart {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
}

.single-product .quantity {
  display: flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border-med);
  background: var(--bg-nav);
  overflow: hidden;
  height: 48px;
}

.single-product .quantity .qty-btn {
  width: 40px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}

.single-product .quantity .qty-btn:hover {
  background: rgba(0,0,0,0.06);
}

.single-product .quantity input.qty {
  width: 50px;
  height: 100%;
  border: none;
  border-radius: 0;
  text-align: center;
  font-weight: 700;
  background: transparent;
  font-size: 1.1rem;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.single-product .quantity input.qty::-webkit-outer-spin-button,
.single-product .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.single-product .single_add_to_cart_button {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #8553f4 100%);
  border: none;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.single-product .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.single-product .product_meta {
  margin-top: 18px;
  font-size: .85rem;
  opacity: .6;
}

.single-product span.onsale {
  position: absolute !important;
  left: 12px !important;
  top: 12px !important;
  right: auto !important;
  bottom: auto !important;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--btn-primary);
  color: #fff;
  z-index: 10;
  min-height: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: inline-block;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(100, 50, 217, 0.45);
}

/* WooCommerce Tabs */
.single-product .woocommerce-tabs {
  margin-top: 60px;
}
.single-product .woocommerce-tabs ul.tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border-light);
}
.single-product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
}
.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted) !important;
  text-decoration: none;
  background: rgba(0,0,0,0.03);
  transition: all 200ms ease;
  margin-bottom: 0;
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
  background: var(--brand-blue) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(100,50,217,0.25);
}
.single-product .woocommerce-tabs .panel {
  background: transparent;
  padding: 16px 0 0 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

/* =========================
   WOOCOMMERCE REVIEWS (VALORACIONES)
========================= */
#reviews {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-light);
  margin-top: 24px;
}

#reviews #comments h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}

.woocommerce-noreviews {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

#review_form_wrapper .comment-reply-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  display: block;
}

#review_form_wrapper form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-form-rating {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-form-rating label {
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.comment-form-rating .stars a {
  color: #ffb800 !important;
  transition: transform 0.2s ease;
}

.comment-form-rating .stars a:hover {
  transform: scale(1.1);
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
  width: 100%;
  border: 1px solid var(--border-med);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  background: #f9f9fb;
  transition: all 0.2s ease;
  font-family: inherit;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus {
  border-color: var(--brand-blue);
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(100, 50, 217, 0.1);
}

.comment-form-author label,
.comment-form-email label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.comment-form-cookies-consent input {
  margin-top: 4px;
  accent-color: var(--brand-blue);
}

.form-submit {
  margin-top: 10px;
}

.form-submit .submit {
  align-self: flex-start;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 32px !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #8553f4 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(100, 50, 217, 0.3) !important;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease !important;
  margin-top: 0 !important;
}

.form-submit .submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(100, 50, 217, 0.4) !important;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #8553f4 100%) !important;
}

#reviews .commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#reviews .commentlist li.review {
  background: #f9f9fb;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-light);
}

#reviews .commentlist .comment_container {
  display: flex;
  gap: 20px;
}

#reviews .commentlist img.avatar {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background: #fff;
  padding: 2px;
  border: 1px solid var(--border-med);
}

#reviews .commentlist .comment-text {
  flex-grow: 1;
}

#reviews .commentlist .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

#reviews .commentlist .meta strong.woocommerce-review__author {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-block;
  margin-right: 8px;
}

#reviews .commentlist .star-rating {
  color: #ffb800;
  font-size: 1rem;
  margin-bottom: 12px;
}

#reviews .commentlist .description p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-main);
}

@media (max-width: 900px) {
  .single-product div.product {
    grid-template-columns: 1fr;
  }

  .single-product div.product div.images {
    max-width: 360px;
  }

  .single-product .summary {
    max-width: 100%;
  }
}

/* =========================
   8) SERVICIOS HOME
========================= */
.home-services {
  padding: 60px 0;
  background: var(--bg-card);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-radius: 18px;
}

#agenda .home-cta {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.services-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-image img {
  width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.services-content h2 {
  margin-bottom: 10px;
}

.services-list {
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, .02);
  transition: transform 180ms ease, background 180ms ease;
}

.services-list li:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, .05);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-image img {
    max-height: 300px;
  }

  .services-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-content {
    background: var(--bg-card);
    padding: 20px 16px;
    border-radius: 18px;
  }
}

/* =========================
   9) INSTAGRAM GRID
========================= */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ig-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, .04);
}

.ig-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform .2s ease;
}

.ig-card:hover img {
  transform: scale(1.03);
}

@media (max-width: 980px) {
  .ig-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ig-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================
   10) REVEAL ANIMATIONS
========================= */
.reveal,
.reveal-stagger li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.reveal[data-anim="left"] {
  transform: translateX(-26px);
}

.reveal[data-anim="right"] {
  transform: translateX(26px);
}

.reveal[data-anim="up"] {
  transform: translateY(18px);
}

.is-visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

.reveal-stagger.is-visible li {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-stagger li {
  transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-stagger li {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* =========================
   11) HERO CAROUSEL
========================= */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  flex: 0 0 auto;
  display: block;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  color: #fff;
  max-width: 760px;
}

.hero-content h1,
.hero-content h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  margin: 0 0 14px;
}

.hero-content p {
  font-size: 1.15rem;
  margin: 0 0 20px;
  opacity: .95;
}

.hero-btn {
  display: inline-block;
  width: fit-content;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--btn-primary);
  color: #fff;
  font-weight: 600;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18 px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  opacity: .5;
  background: #fff;
}

.hero-dots button.is-active {
  opacity: 1;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 6%;
    text-align: left;
  }

  .home-carousel .swiper-slide img {
    height: 320px;
  }
}

/* =========================
   12) FOOTER
========================= */
.site-footer {
  width: 100%;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-topbar {
  background: var(--brand-blue);
  color: #ffffff;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.footer-topbar .footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.footer-topbar-left,
.footer-topbar-right {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-topbar-right {
  gap: 14px;
}

.footer-topbar-right .footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-topbar-right .footer-social svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-topbar-right .footer-social:hover svg {
  opacity: 0.85;
  transform: scale(1.1);
}

.footer-main {
  background: var(--bg-nav);
  padding: 28px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .2px;
}

.footer-text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: .92;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-brand a {
  display: inline-flex;
  justify-content: center;
}

.footer-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: clamp(80px, 18vw, 120px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  padding: 0;
  box-shadow: none;
  display: block;
}

.footer-list {
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-list a {
  color: inherit;
  opacity: .92;
}

.footer-list a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--border-med);
  background: var(--brand-blue);
  color: #ffffff;
  min-width: 140px;
  text-align: center;
}

.footer-btn.secondary {
  background: rgba(255, 255, 255, .70);
}

.footer-bottom {
  background: var(--text-main);
  color: #fff;
  padding: 14px 0;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #fff;
  opacity: .9;
}

.footer-bottom a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-btn {
    width: 100%;
    min-width: 0;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 360px) {
  .footer-container {
    padding: 0 12px;
  }
}

/* =========================
   13) UTILIDADES / EXTRAS
========================= */
.background {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.ubication {
  padding: 24px;
}

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, .04);
}

/* Ajustes página política de privacidad */
.page-id-38 main#content {
  padding-bottom: 140px;
}

body.page-politica-de-privacidad .site-main,
body.page-politica-de-privacidad main#main,
body.page-politica-de-privacidad .entry-content,
body.page-politica-de-privacidad .privacy-policy {
  padding-bottom: 90px;
}

body.page-politica-de-privacidad .entry-content>*:last-child {
  margin-bottom: 0;
}

.page-politica-de-privacidad .site-main,
.privacy-policy .site-main,
.page-id-privacy-policy .site-main {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.page-politica-de-privacidad .entry-content,
.privacy-policy .entry-content,
.page-id-privacy-policy .entry-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 16px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.page-politica-de-privacidad .entry-content h2,
.page-politica-de-privacidad .entry-content h3,
.privacy-policy .entry-content h2,
.privacy-policy .entry-content h3 {
  line-height: 1.25;
  margin: 26px 0 12px;
}

.page-politica-de-privacidad .entry-content p,
.privacy-policy .entry-content p {
  margin: 0 0 14px;
}

.page-politica-de-privacidad .site-footer,
.privacy-policy .site-footer {
  margin-top: 0;
}

@media (max-width: 768px) {

  .page-politica-de-privacidad .site-main,
  .privacy-policy .site-main,
  .page-id-privacy-policy .site-main {
    padding: 18px 14px 70px;
  }

  .page-politica-de-privacidad .entry-content,
  .privacy-policy .entry-content,
  .page-id-privacy-policy .entry-content {
    font-size: 15px;
  }
}

/* =========================
   14) LAYOUT GLOBAL (PÁGINAS Y WOOCOMMERCE)
========================= */
.site-main, 
.content-area, 
#primary {
  max-width: 1200px;
  margin: 40px auto 80px auto;
  padding: 40px 30px;
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  width: 95%;
}

/* Ocultar la barra lateral (Sidebar) por defecto de WordPress */
#secondary,
#sidebar,
.widget-area {
  display: none !important;
}

/* Ajustes a títulos dentro de páginas */
.page-title,
.site-main h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .site-main, 
  .content-area, 
  #primary {
    margin: 20px auto 60px auto;
    padding: 24px 16px;
    border-radius: 18px;
  }
}

/* =========================
   15) FORMULARIO DE CONTACTO (HOME)
========================= */
.custom-contact-form {
  margin-top: 24px;
}

.custom-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.custom-contact-form .form-group {
  margin-bottom: 20px;
}

.custom-contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border-med);
  border-radius: 16px;
  background: rgba(0,0,0,0.02);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  transition: all 300ms ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(100, 50, 217, 0.1);
}

.custom-contact-form .submit-btn {
  width: 100%;
  padding: 18px 24px;
  font-size: 1.1rem;
  border-radius: 16px;
  margin-top: 10px;
  cursor: pointer;
}

.form-success {
  background: rgba(37, 211, 102, 0.1);
  color: #1b8a41;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border-left: 4px solid var(--green-wsp);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .custom-contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* =========================
   10) WOOCOMMERCE NOTICES
========================= */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  position: relative !important;
  background: rgba(37, 211, 102, 0.08) !important;
  border: 1px solid rgba(37, 211, 102, 0.3) !important;
  border-top-width: 1px !important; 
  color: var(--text-main) !important;
  border-radius: 16px !important;
  padding: 16px 20px 16px 56px !important;
  margin-bottom: 32px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
  font-weight: 500;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.woocommerce-error {
  background: rgba(220, 53, 69, 0.08) !important;
  border-color: rgba(220, 53, 69, 0.3) !important;
}

.woocommerce-info {
  background: rgba(100, 50, 217, 0.08) !important;
  border-color: rgba(100, 50, 217, 0.3) !important;
}

.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: 20px !important;
}

.woocommerce-message::before { color: #25D366 !important; }
.woocommerce-error::before { color: #dc3545 !important; }
.woocommerce-info::before { color: var(--brand-blue) !important; }

.woocommerce-message a.button.wc-forward,
.woocommerce-error a.button.wc-forward,
.woocommerce-info a.button.wc-forward {
  float: none !important;
  order: 2;
  background: var(--brand-blue) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 10px 24px !important;
  font-weight: 700 !important;
  border: none !important;
  line-height: 1 !important;
  margin: 0 !important;
  transition: transform 150ms ease, box-shadow 150ms ease !important;
}

.woocommerce-message a.button.wc-forward:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(100, 50, 217, 0.3) !important;
}

.woocommerce-message::after,
.woocommerce-error::after,
.woocommerce-info::after {
  display: none !important;
}