/*
 * BRUCS.COM — Material Design Warm Restyling (custom.css)
 * Plantilla: Flex (Helix3 + SP Page Builder + VirtueMart + Widgetkit)
 * Autor: InFoAL
 * Descripción: Modernización visual estilo Material Design 3 (tipografía esbelta,
 *              espacios amplios, cantos redondeados, botones planos y 100% responsive)
 *              sin cambiar de plantilla.
 */

/* ==========================================================================
   1. DESIGN TOKENS (VARIABLES MATERIAL DESIGN CÁLIDO)
   ========================================================================== */
:root {
  --md-primary: #7a6855;
  --md-primary-hover: #635343;
  --md-primary-light: #857261;
  --md-primary-tonal: #ebe5df;
  --md-primary-tonal-hover: #dfd7cf;
  --md-on-primary: #ffffff;
  --md-on-tonal: #2b2520;

  --md-surface: #ffffff;
  --md-surface-dim: #faf8f6;
  --md-surface-container: #f4f1ed;
  --md-surface-container-high: #edeae7;
  --md-surface-dark: #262320;
  --md-surface-darker: #1c1917;

  --md-text-main: #2b2520;
  --md-text-muted: #6e645b;
  --md-text-light: #9c9288;

  --md-outline: rgba(122, 104, 85, 0.16);
  --md-outline-strong: rgba(122, 104, 85, 0.32);

  --md-radius-xs: 8px;
  --md-radius-sm: 12px;
  --md-radius-md: 16px;
  --md-radius-lg: 22px;
  --md-radius-xl: 28px;
  --md-radius-pill: 9999px;

  --md-elevation-1: 0 2px 12px rgba(43, 37, 32, 0.05), 0 1px 3px rgba(43, 37, 32, 0.03);
  --md-elevation-2: 0 10px 28px rgba(43, 37, 32, 0.08), 0 2px 8px rgba(43, 37, 32, 0.04);
  --md-elevation-3: 0 18px 42px rgba(43, 37, 32, 0.13), 0 4px 12px rgba(43, 37, 32, 0.06);

  --md-transition: all 0.28s cubic-bezier(0.2, 0, 0, 1);
  --md-font-heading: 'Montserrat', 'Lato', sans-serif;
  --md-font-body: 'Roboto', 'Open Sans', sans-serif;
}

/* ==========================================================================
   2. BASE & TIPOGRAFÍA ESBELTA (SLIM / LIGHT TYPOGRAPHY)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body,
body.site {
  font-family: var(--md-font-body) !important;
  font-weight: 300 !important;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--md-text-main);
  background-color: var(--md-surface-dim) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.sppb-addon-title,
.sp-module-title,
.page-header h1,
.browse-view h1,
.vm-product-title h2 {
  font-family: var(--md-font-heading) !important;
  font-weight: 300 !important;
  color: var(--md-text-main);
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* Suavizar negritas excesivas en titulares de SP Page Builder */
.sppb-addon-title strong,
.sppb-image-layout-title strong,
.uk-card-body strong {
  font-weight: 400 !important;
}

p {
  font-weight: 300;
  line-height: 1.75;
  color: var(--md-text-muted);
}

a {
  transition: var(--md-transition);
  text-decoration: none;
}

/* ==========================================================================
   3. ESPACIOS MÁS ANCHOS Y CONTENEDORES RESPIRABLES
   ========================================================================== */
@media (min-width: 1400px) {
  body .container,
  body .sppb-row-container {
    max-width: 1720px !important;
    width: 100% !important;
    padding-left: clamp(24px, 4vw, 56px) !important;
    padding-right: clamp(24px, 4vw, 56px) !important;
  }
}

@media (max-width: 1399.98px) {
  body .container,
  body .sppb-row-container {
    max-width: 100% !important;
    padding-left: clamp(16px, 3.5vw, 36px) !important;
    padding-right: clamp(16px, 3.5vw, 36px) !important;
  }
}

#sp-main-body {
  padding: clamp(28px, 4vw, 56px) 0 !important;
}

body.mnu-home #sp-main-body {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ==========================================================================
   4. BOTONES PLANOS (FLAT MATERIAL DESIGN BUTTONS)
   ========================================================================== */
.btn,
.sppb-btn,
.sppb-btn-custom,
.sppb-btn-default,
.sppb-btn-primary,
.sppb-btn-3d,
.vm-search-button,
.notify.btn,
.vm-details-button a.product-details,
.productdetails-view .ask-a-question a.ask-a-question,
.productdetails-view .back-to-category a.product-details,
.btn[type="submit"],
.btn[type="reset"],
input[type="submit"].btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--md-font-heading) !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase;
  border-radius: var(--md-radius-pill) !important;
  padding: 11px 26px !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: var(--md-transition) !important;
  cursor: pointer;
  line-height: 1.4 !important;
}

/* Eliminar biseles 3D antiguos */
.sppb-btn-3d::after,
.sppb-btn-3d::before,
.btn::after {
  display: none !important;
}

/* Botón primario plano */
.btn-primary,
.btn[type="submit"],
.sppb-btn-primary,
#sppb-addon-9226aac3-5664-44d8-a02b-8eae4e443a53 #btn-9226aac3-5664-44d8-a02b-8eae4e443a53.sppb-btn-custom,
#sppb-addon-7023a8e7-8871-4330-a1bf-5adc3f157d32 #btn-7023a8e7-8871-4330-a1bf-5adc3f157d32.sppb-btn-custom,
.productdetails-view .vm-product-details-inner .product-price a.ask-a-question {
  background-color: var(--md-primary) !important;
  color: var(--md-on-primary) !important;
  border-color: var(--md-primary) !important;
}

.btn-primary:hover,
.btn[type="submit"]:hover,
.sppb-btn-primary:hover,
#sppb-addon-9226aac3-5664-44d8-a02b-8eae4e443a53 #btn-9226aac3-5664-44d8-a02b-8eae4e443a53.sppb-btn-custom:hover,
#sppb-addon-7023a8e7-8871-4330-a1bf-5adc3f157d32 #btn-7023a8e7-8871-4330-a1bf-5adc3f157d32.sppb-btn-custom:hover,
.productdetails-view .vm-product-details-inner .product-price a.ask-a-question:hover {
  background-color: var(--md-on-tonal) !important;
  border-color: var(--md-on-tonal) !important;
  color: var(--md-on-primary) !important;
  transform: translateY(-1px);
}

/* Botón secundario / tonal Material */
.btn[type="reset"],
.category-view .addtocart-bar .btn,
.notify.btn,
.productdetails-view .back-to-category a.product-details {
  background-color: var(--md-surface) !important;
  color: var(--md-primary) !important;
  border: 1px solid var(--md-outline-strong) !important;
}

.btn[type="reset"]:hover,
.category-view .addtocart-bar .btn:hover,
.notify.btn:hover,
.productdetails-view .back-to-category a.product-details:hover {
  background-color: var(--md-primary) !important;
  color: var(--md-on-primary) !important;
  border-color: var(--md-primary) !important;
}

/* ==========================================================================
   5. TOP BAR & HEADER (GLASSMORPHISM Y NAVEGACIÓN LIMPIA)
   ========================================================================== */
#sp-top-bar {
  background-color: #2b2520 !important;
  color: #dcd6cf !important;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0 !important;
  min-height: 40px;
  display: flex;
  align-items: center;
}

#sp-top-bar > .container > .row {
  display: flex;
  align-items: center;
  min-height: 40px;
}

#sp-top1,
#sp-top2 {
  display: flex;
  align-items: center;
}

#sp-top1 .sp-column,
#sp-top2 .sp-column {
  display: flex !important;
  align-items: center !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 8px;
}

#sp-top2 {
  justify-content: flex-end;
}

#sp-top2 .sp-column {
  justify-content: flex-end;
  width: 100%;
}

#sp-top-bar .sp-module,
#sp-top-bar .sp-module-content,
#sp-top-bar .mod-languages,
#sp-top-bar .modal-login-wrapper,
#sp-top-bar .ap-modal-login,
#sp-top-bar .ap-modal-login .ap-login {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sp-top-bar ul.sp-contact-info:empty {
  display: none !important;
}

#sp-top-bar a {
  color: #cdc5bc !important;
  font-weight: 300;
  transition: var(--md-transition);
}

#sp-top-bar a:hover {
  color: #ffffff !important;
}

/* Selector de Idioma alineado verticalmente */
ul.lang-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

ul.lang-inline li,
#sp-top-bar ul.lang-inline li {
  display: inline-flex !important;
  align-items: center !important;
  text-transform: uppercase;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.sp-module-content .mod-languages ul.lang-inline li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 26px !important;
  line-height: 1 !important;
  border-radius: var(--md-radius-pill);
  padding: 0 10px !important;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.sp-module-content .mod-languages ul.lang-inline li a span.lang {
  padding: 0 !important;
  line-height: 1 !important;
}

ul.lang-inline li.lang-active a {
  background-color: rgba(122, 104, 85, 0.45);
  color: #ffffff !important;
  font-weight: 400;
}

/* Menú superior y botón Login alineados en el mismo eje */
#sp-top2 .sp-module ul.mod-menu {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
}

#sp-top2 .sp-module ul.mod-menu > li {
  display: inline-flex !important;
  align-items: center !important;
  border-bottom: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sp-top2 .sp-module ul.mod-menu > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  height: 26px !important;
  line-height: 1 !important;
  padding: 0 10px !important;
  border-radius: var(--md-radius-pill);
  font-size: 12px;
}

#sp-top2 .sp-module ul.mod-menu > li > a.OUTLET {
  background: rgba(184, 107, 53, 0.25);
  border: 1px solid rgba(212, 145, 98, 0.35);
  color: #f3cfa8 !important;
  border-radius: var(--md-radius-pill);
  padding: 0 12px !important;
  height: 26px !important;
  line-height: 1 !important;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-left: 4px;
}

#sp-top2 .sp-module ul.mod-menu > li > a.OUTLET:hover {
  background: #a65d37;
  color: #ffffff !important;
}

#sp-top-bar .ap-modal-login .ap-login a,
#sp-top-bar .ap-modal-login .ap-signin a,
#sp-top-bar #modal-323-launch {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 5px;
  height: 26px !important;
  line-height: 1 !important;
  margin: 0 0 0 6px !important;
  padding: 0 12px !important;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--md-radius-pill);
  font-size: 12px;
  vertical-align: middle !important;
}

#sp-top-bar .ap-modal-login .ap-login a i.pe,
#sp-top-bar .ap-modal-login .ap-signin a i.pe {
  font-size: 15px !important;
  line-height: 1 !important;
  margin: 0 !important;
}

#sp-top-bar .ap-modal-login .ap-login a:hover {
  background: var(--md-primary);
  border-color: var(--md-primary);
  color: #fff !important;
}

/* Header Principal */
#sp-header,
.transparent-wrapper {
  height: 86px !important;
  background: rgba(244, 241, 237, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--md-outline);
  box-shadow: var(--md-elevation-1);
  transition: var(--md-transition);
}

.sticky .sticky__wrapper,
.sticky.onepage .sticky__wrapper,
.sticky.white .sticky__wrapper,
.sticky.transparent .sticky__wrapper {
  background: rgba(244, 241, 237, 0.90) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--md-elevation-2) !important;
  border-bottom: 1px solid var(--md-outline);
}

body #sp-menu {
  width: 74%;
}

#sp-topsearch,
#sp-shoppingcart {
  width: auto;
}

/* Enlaces del Megamenú Esbeltos */
#sp-header #sp-menu .sp-megamenu-parent > li > a {
  font-family: var(--md-font-heading) !important;
  font-weight: 400 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.13em !important;
  color: var(--md-text-main) !important;
  padding: 0 18px !important;
  position: relative;
}

#sp-header #sp-menu .sp-megamenu-parent > li > a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 24px;
  height: 1.5px;
  background-color: var(--md-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1);
}

#sp-header #sp-menu .sp-megamenu-parent > li:hover > a::after,
#sp-header #sp-menu .sp-megamenu-parent > li.active > a::after,
#sp-header #sp-menu .sp-megamenu-parent > li.current-item > a::after {
  transform: scaleX(1);
}

#sp-header #sp-menu .sp-megamenu-parent > li.active > a,
#sp-header #sp-menu .sp-megamenu-parent > li.current-item > a,
#sp-header #sp-menu .sp-megamenu-parent > li:hover > a {
  color: var(--md-primary) !important;
}

/* Carrito y Buscador en Header */
#cart-menu #cd-menu-trigger > i,
#cart-menu .cd-cart > i {
  width: 30px;
}

#cart-menu #cd-menu-trigger .total_products,
#cart-menu .cd-cart .total_products {
  right: -11px;
  border-radius: var(--md-radius-pill) !important;
  background-color: var(--md-primary) !important;
  color: #fff !important;
  font-family: var(--md-font-heading);
  font-weight: 400;
  font-size: 11px;
  box-shadow: none !important;
}

.sticky__wrapper #cart-menu #cd-menu-trigger,
#cart-menu .cd-cart {
  overflow: visible;
}

.top-search-input-wrap .searchwrapper input.inputbox {
  border-radius: var(--md-radius-pill) !important;
  border: 1px solid var(--md-outline-strong) !important;
  padding: 10px 20px !important;
  background: var(--md-surface) !important;
  box-shadow: var(--md-elevation-2) !important;
  font-weight: 300;
}

/* ==========================================================================
   6. PORTADA (HOME - SP PAGE BUILDER & WIDGETKIT)
   ========================================================================== */

/* Hero Slider: controles planos y puntos redondeados */
#sppb-addon-1661441927204 .sp-slider .sp-dots ul li {
  border-radius: var(--md-radius-pill) !important;
  transition: var(--md-transition);
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

#sppb-addon-1661441927204 .sp-slider .sp-dots ul li.active {
  transform: scale(1.18);
  border-color: #ffffff !important;
}

/* Sección Próximos Eventos (Tarjetas Material Design) */
.sp-page-builder .page-content #section-id-863b37a0-3e01-41bd-a4fa-fd20c6c7e194 {
  padding-top: clamp(56px, 7vw, 96px) !important;
  padding-bottom: clamp(56px, 7vw, 96px) !important;
}

#sppb-addon-89234712-92e2-4e8b-be29-0c9f844a8f39 .sppb-addon-header .sppb-addon-title {
  font-family: var(--md-font-heading) !important;
  font-weight: 300 !important;
  font-size: clamp(22px, 2.5vw, 30px) !important;
  letter-spacing: 0.14em !important;
  color: var(--md-text-main) !important;
  margin-bottom: 24px !important;
}

.events-home .uk-scope .uk-grid {
  row-gap: 28px;
}

.events-home .uk-scope .uk-card-primary {
  background: var(--md-surface) !important;
  border: 1px solid var(--md-outline) !important;
  border-bottom: 1px solid var(--md-outline) !important;
  border-radius: var(--md-radius-lg) !important;
  box-shadow: var(--md-elevation-1) !important;
  overflow: hidden;
  transition: var(--md-transition) !important;
}

.events-home .uk-scope .uk-card-primary:hover {
  transform: translateY(-6px);
  box-shadow: var(--md-elevation-3) !important;
  border-color: var(--md-outline-strong) !important;
}

.events-home .uk-scope .uk-card-media-top {
  overflow: hidden;
  border-radius: var(--md-radius-lg) var(--md-radius-lg) 0 0;
}

.events-home .uk-scope .uk-card-media-top img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1) !important;
}

.events-home .uk-scope .uk-card-primary:hover .uk-card-media-top img {
  transform: scale(1.05);
}

.events-home .uk-scope .uk-card-body {
  padding: 24px 28px 28px !important;
}

.events-home .uk-scope .uk-card-body h3,
.events-home .uk-scope .uk-card-body p {
  color: var(--md-text-muted) !important;
  font-weight: 300 !important;
  margin: 4px 0 !important;
}

.events-home .uk-scope .uk-card-body p strong {
  color: var(--md-text-main) !important;
  font-family: var(--md-font-heading);
  font-weight: 400 !important;
  font-size: 16px;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 6px;
}

/* Sección Banners Destacados (Catálogo PDF y Cuenta B2B) */
.sp-page-builder .page-content #section-id-3217692e-0d0f-4727-b267-de6b2907a898 {
  background-color: transparent !important;
  height: auto !important;
  padding-top: clamp(24px, 4vw, 48px) !important;
  padding-bottom: clamp(48px, 6vw, 88px) !important;
}

#column-id-559215db-d358-4147-9c1c-3b3cd4b705e5,
#column-id-5848febf-82e4-482d-8882-cf7d9752b87d {
  height: auto !important;
  margin-bottom: 24px;
}

#section-id-3217692e-0d0f-4727-b267-de6b2907a898 .sppb-addon-image-layout-wrap {
  border-radius: var(--md-radius-xl) !important;
  overflow: hidden !important;
  box-shadow: var(--md-elevation-2) !important;
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#section-id-3217692e-0d0f-4727-b267-de6b2907a898 .sppb-addon-image-layout-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#section-id-3217692e-0d0f-4727-b267-de6b2907a898 .sppb-addon-image-layout-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

#section-id-3217692e-0d0f-4727-b267-de6b2907a898 .sppb-addon-image-layout-wrap:hover .sppb-addon-image-layout-image img {
  transform: scale(1.04);
}

/* Sustituir superposición morada por degradado cálido arquitectónico */
#sppb-addon-7023a8e7-8871-4330-a1bf-5adc3f157d32 .sppb-addon-image-overlay,
#sppb-addon-9226aac3-5664-44d8-a02b-8eae4e443a53 .sppb-addon-image-overlay {
  background: linear-gradient(180deg, rgba(35, 29, 24, 0.30) 0%, rgba(35, 29, 24, 0.72) 100%) !important;
  border-radius: var(--md-radius-xl) !important;
}

#sppb-addon-9226aac3-5664-44d8-a02b-8eae4e443a53 .image-layout-preset-style-poster .sppb-addon-image-layout-content,
#sppb-addon-7023a8e7-8871-4330-a1bf-5adc3f157d32 .image-layout-preset-style-poster .sppb-addon-image-layout-content {
  width: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 48px) !important;
  text-align: center !important;
  position: relative;
  z-index: 2;
}

#section-id-3217692e-0d0f-4727-b267-de6b2907a898 .sppb-image-layout-title {
  font-weight: 300 !important;
  font-size: clamp(20px, 2.2vw, 28px) !important;
  letter-spacing: 0.08em !important;
  line-height: 1.4 !important;
  margin-bottom: 12px !important;
}

/* Sección Contacto en Portada */
.sp-page-builder .page-content #contacto {
  padding: clamp(56px, 7vw, 88px) 0 !important;
  background-color: var(--md-surface-container) !important;
  border-top: 1px solid var(--md-outline);
}

#sppb-addon-1605266805811 .sppb-addon-header .sppb-addon-title {
  font-weight: 300 !important;
  font-size: clamp(22px, 2.5vw, 30px) !important;
  letter-spacing: 0.14em !important;
  color: var(--md-text-main) !important;
  margin-bottom: 32px !important;
}

#contacto .sppb-addon-feature {
  background: var(--md-surface);
  border-radius: var(--md-radius-lg);
  padding: 24px 28px;
  border: 1px solid var(--md-outline);
  box-shadow: var(--md-elevation-1);
  transition: var(--md-transition);
}

#contacto .sppb-addon-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--md-elevation-2);
}

#contacto .sppb-feature-box-title {
  font-weight: 300 !important;
  letter-spacing: 0.08em !important;
  color: var(--md-text-main) !important;
}

/* ==========================================================================
   7. CATÁLOGO VIRTUEMART (SIDEBAR, FILTROS Y TARJETAS MATERIAL DESIGN)
   ========================================================================== */
body.view-category #sp-main-body,
body.view-productdetails #sp-main-body {
  padding-top: 8px !important;
}

/* 1. Breadcrumbs compactos sin padding exagerado */
#sp-breadcrumbs,
.view-category #sp-breadcrumbs {
  margin: 6px 0 0 0 !important;
  padding: 0 !important;
}

#sp-breadcrumbs .sp-column,
#sp-breadcrumbs .sp-module,
#sp-breadcrumbs .sp-module-content {
  margin: 0 !important;
  padding: 0 !important;
}

.mod-breadcrumbs__wrapper,
.mod-breadcrumbs.breadcrumb,
ol.breadcrumb {
  background: transparent !important;
  padding: 2px 0 !important;
  margin: 0 !important;
  font-size: 12.5px;
  line-height: 1.35 !important;
  font-weight: 300;
  color: var(--md-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

#sp-breadcrumbs .sp-module ul > li,
#sp-breadcrumbs ol.breadcrumb > li {
  border: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}

/* 2. Sidebar de Categorías (Compacto y sin exceso de bordes en subcategorías) */
#sp-left .sp-module.mod-categories {
  background: var(--md-surface);
  border-radius: var(--md-radius-lg);
  padding: 18px 16px;
  border: 1px solid var(--md-outline);
  box-shadow: var(--md-elevation-1);
}

#sp-left .sp-module.mod-categories .sp-module-title {
  font-size: 14px;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--md-primary);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--md-outline);
}

#sp-left .sp-module.mod-categories .sp-module-title::after {
  display: none !important;
}

#sp-left ul.mod-menu {
  flex-direction: column;
}

/* Categorías Padre */
#sp-left .sp-module-content .accordion-menu.VMmenu > li,
.view-category #sp-left .sp-module-content .accordion-menu.VMmenu > li,
.view-productdetails #sp-left .sp-module-content .accordion-menu.VMmenu > li {
  border: 0 !important;
  border-bottom: 1px solid rgba(122, 104, 85, 0.1) !important;
  border-radius: 0;
  margin: 0 !important;
  padding: 0 !important;
}

#sp-left .sp-module-content .accordion-menu.VMmenu > li:last-child {
  border-bottom: 0 !important;
}

#sp-left .sp-module-content .accordion-menu.VMmenu > li > a,
.view-category #sp-left .sp-module-content .accordion-menu.VMmenu > li > a,
.view-productdetails #sp-left .sp-module-content .accordion-menu.VMmenu > li > a {
  font-family: var(--md-font-heading);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 7px 10px !important;
  line-height: 22px !important;
  color: var(--md-text-main);
  display: block;
  background: transparent !important;
  border-radius: var(--md-radius-xs);
}

#sp-left .sp-module-content ul.VMmenu li .vmmenu-toggler {
  line-height: 36px !important;
}

#sp-left .sp-module-content ul.VMmenu li .vmmenu-toggler .open-icon:before {
  top: 2px !important;
}

.view-category #sp-left .sp-module-content .accordion-menu.VMmenu > li.active > a,
.view-productdetails #sp-left .sp-module-content .accordion-menu.VMmenu > li.active > a {
  color: var(--md-primary);
  font-weight: 500;
  background: rgba(122, 104, 85, 0.08) !important;
  border-left: 3px solid var(--md-primary) !important;
  padding-left: 10px !important;
}

.view-category #sp-left .sp-module-content .accordion-menu.VMmenu > li > a > .nmb_products,
.view-productdetails #sp-left .sp-module-content .accordion-menu.VMmenu > li > a > .nmb_products {
  display: none;
}

/* Subcategorías Hijas: índice editorial limpio, sin bordes y contadores sutiles */
#sp-left .sp-module-content ul.VMmenu li ul,
.view-category #sp-left .sp-module-content ul.VMmenu li ul,
.view-productdetails #sp-left .sp-module-content ul.VMmenu li ul {
  background: var(--md-surface-container) !important;
  border-radius: var(--md-radius-sm);
  padding: 6px 8px !important;
  margin: 4px 0 8px 0 !important;
}

#sp-left .sp-module ul.VMmenu li ul > li,
.view-category #sp-left .sp-module-content ul.VMmenu li ul > li,
.view-productdetails #sp-left .sp-module-content ul.VMmenu li ul > li {
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#sp-left .sp-module-content ul.VMmenu li ul li a,
.view-category #sp-left .sp-module-content ul.VMmenu li ul li a,
.view-productdetails #sp-left .sp-module-content ul.VMmenu li ul li a {
  margin: 1px 0 !important;
  padding: 4px 8px !important;
  line-height: 1.35 !important;
  text-indent: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 11.5px !important;
  letter-spacing: 0.05em;
  font-weight: 300;
  color: var(--md-text-muted);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: var(--md-transition);
}

#sp-left .sp-module-content ul.VMmenu li ul li a:hover,
.view-category #sp-left .sp-module-content ul.VMmenu li ul li a:hover,
.view-category #sp-left .sp-module-content ul.VMmenu li ul li.active a,
.view-productdetails #sp-left .sp-module-content ul.VMmenu li ul li.active a {
  color: var(--md-text-main);
  background: rgba(122, 104, 85, 0.12) !important;
  font-weight: 400;
}

ul.VMmenu li ul li a .nmb_products {
  background: rgba(122, 104, 85, 0.08) !important;
  color: var(--md-text-muted) !important;
  border: 0 !important;
  border-radius: var(--md-radius-pill) !important;
  padding: 1px 7px !important;
  margin: 0 !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  flex-shrink: 0;
  transition: var(--md-transition);
}

ul.VMmenu li ul li a:hover .nmb_products,
ul.VMmenu li ul li.active a .nmb_products {
  background: var(--md-primary) !important;
  color: #ffffff !important;
}

/* 3. Cabecera de Categoría con línea arquitectónica y Buscador Interno */
.browse-view h1,
.page-header h1 {
  font-size: clamp(22px, 2.6vw, 30px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.12em;
  margin: 0 0 18px 0;
  position: relative;
  padding-bottom: 12px;
}

.browse-view h1::after,
.page-header h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--md-primary);
  border-radius: 2px;
}

.vm-flex-search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-strong);
  border-radius: var(--md-radius-pill);
  padding: 2px 6px 2px 18px;
  box-shadow: var(--md-elevation-1);
  margin-bottom: 18px;
  transition: var(--md-transition);
}

.vm-flex-search:focus-within {
  border-color: var(--md-primary);
  box-shadow: 0 0 0 3px rgba(122, 104, 85, 0.14);
}

.vm-flex-search input,
.vm-flex-search input[type="text"],
.vm-flex-search input.inputbox,
.vm-flex-search input:focus {
  width: 100% !important;
  flex: 1 1 auto;
  float: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 8px 8px 8px 0 !important;
  font-weight: 300 !important;
  font-size: 14px !important;
  outline: none !important;
  margin: 0 !important;
}

.vm-flex-search .vm-search-button,
.vm-flex-search input:focus + .vm-search-button {
  position: static !important;
  margin: 0 !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--md-primary) !important;
  flex-shrink: 0;
}

.vm-flex-search .vm-search-button:hover {
  background: var(--md-primary-tonal) !important;
  color: var(--md-on-tonal) !important;
}

.vm-flex-search .vm-search-button > i {
  width: auto !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 14px;
  color: inherit !important;
}

/* Barra de ordenación: oculta en categorías padre (sin productos directos) y limpia en listados */
.orderby-displaynumber:has(+ .related-category-view) {
  display: none !important;
}

.orderby-displaynumber {
  background: var(--md-surface);
  border: 1px solid var(--md-outline) !important;
  border-radius: var(--md-radius-md);
  padding: 10px 18px !important;
  margin-bottom: 24px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--md-elevation-1);
}

.orderby-displaynumber .vm-order-list .orderlistcontainer {
  border: 1px solid var(--md-outline-strong) !important;
  border-radius: var(--md-radius-pill) !important;
  background: var(--md-surface-dim) !important;
  padding: 2px 14px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.orderby-displaynumber .vm-order-list .orderlistcontainer .title {
  padding: 4px 4px 4px 0 !important;
  font-size: 12.5px !important;
  color: var(--md-text-muted);
  font-weight: 300;
}

.orderby-displaynumber .vm-order-list .orderlistcontainer .activeOrder {
  border: 0 !important;
  padding: 4px 0 !important;
  font-size: 12.5px !important;
  font-weight: 400;
}

.orderby-displaynumber .vm-order-list .orderlistcontainer .orderlist {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 50;
  background: var(--md-surface) !important;
  border: 1px solid var(--md-outline-strong) !important;
  border-radius: var(--md-radius-sm) !important;
  box-shadow: var(--md-elevation-2) !important;
  overflow: hidden;
}

.orderby-displaynumber .vm-order-list .orderlistcontainer .orderlist div a {
  border-bottom: 1px solid var(--md-outline) !important;
  font-size: 12.5px;
  font-weight: 300;
  padding: 8px 14px !important;
  display: block;
}

.orderby-displaynumber .display-number {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 !important;
  font-size: 12.5px !important;
  color: var(--md-text-muted);
}

.orderby-displaynumber .display-number > span {
  margin: 0 !important;
  line-height: 1.4 !important;
}

.orderby-displaynumber select.inputbox {
  border-radius: var(--md-radius-pill) !important;
  border: 1px solid var(--md-outline-strong) !important;
  background: var(--md-surface-dim);
  padding: 4px 12px !important;
  font-size: 12.5px !important;
}

/* Grid de Categorías y Productos */
.category-view .row.productwrap,
.browse-view .row.productwrap {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px !important;
  margin: 0 0 22px 0 !important;
}

.category-view .row.productwrap::before,
.category-view .row.productwrap::after,
.browse-view .row.productwrap::before,
.browse-view .row.productwrap::after {
  display: none !important;
}

.category-view .row.productwrap > .product,
.category-view .row.productwrap > .products,
.browse-view .row.productwrap > .products {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  float: none !important;
}

.category-view .row.productwrap > .clear {
  display: none !important;
}

/* Tarjeta de Subcategoría y Producto (Material Card) */
.category-view .row.productwrap .product .spacer,
.category-view .row.productwrap .products .spacer,
.browse-view .row.productwrap .products .spacer,
.featured-view .row .spacer {
  background: var(--md-surface) !important;
  border: 1px solid var(--md-outline) !important;
  border-radius: var(--md-radius-lg) !important;
  box-shadow: var(--md-elevation-1) !important;
  height: 100%;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 !important;
  transition: var(--md-transition) !important;
}

.category-view .row.productwrap .product .spacer:hover,
.category-view .row.productwrap .products .spacer:hover,
.browse-view .row.productwrap .products .spacer:hover,
.featured-view .row .spacer:hover {
  transform: translateY(-5px);
  box-shadow: var(--md-elevation-3) !important;
  border-color: var(--md-outline-strong) !important;
}

/* Imagen dentro de la tarjeta (Proporción 4:5 más equilibrada) */
.category-view .row .spacer .spacer-img,
.browse-view .row .spacer .spacer-img,
.featured-view .row .spacer .spacer-img {
  position: relative;
  overflow: hidden !important;
  border-radius: var(--md-radius-lg) var(--md-radius-lg) 0 0 !important;
  background: var(--md-surface-container);
}

.category-view .row .spacer .spacer-img img,
.browse-view .row .spacer .spacer-img img,
.latest-view .row .spacer .spacer-img img,
.recent-view .row .spacer .spacer-img img,
.featured-view .row .spacer .spacer-img img,
.topten-view .row .spacer .spacer-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  float: none !important;
  display: block !important;
  transition: transform 0.55s cubic-bezier(0.2, 0, 0, 1) !important;
}

.category-view .row .spacer:hover .spacer-img img,
.browse-view .row .spacer:hover .spacer-img img {
  transform: scale(1.05);
}

/* 4. Overlay en tarjetas de subcategoría: franja marrón oscuro corporativo (#2b2520) con efecto cristal sutil */
.category-view .row .spacer .spacer-img span.overlay,
.browse-view .row .spacer .spacer-img span.overlay,
.latest-view .row .spacer .spacer-img span.overlay,
.recent-view .row .spacer .spacer-img span.overlay,
.featured-view .row .spacer .spacer-img span.overlay,
.topten-view .row .spacer .spacer-img span.overlay,
.related-category-view .spacer-img span.overlay {
  background: linear-gradient(180deg, rgba(43, 37, 32, 0) 0%, rgba(43, 37, 32, 0.78) 45%, rgba(43, 37, 32, 0.95) 100%) !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex !important;
  align-items: flex-end;
  justify-content: center;
  padding: 28px 14px 15px !important;
  min-height: 76px;
}

.category-view .row .spacer .spacer-img:hover span.overlay,
.browse-view .row .spacer .spacer-img:hover span.overlay,
.latest-view .row .spacer .spacer-img:hover span.overlay,
.recent-view .row .spacer .spacer-img:hover span.overlay,
.featured-view .row .spacer .spacer-img:hover span.overlay,
.topten-view .row .spacer .spacer-img:hover span.overlay,
.related-category-view .spacer-img:hover span.overlay {
  background: linear-gradient(180deg, rgba(43, 37, 32, 0.05) 0%, rgba(43, 37, 32, 0.86) 42%, rgba(43, 37, 32, 0.98) 100%) !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 32px 14px 18px !important;
}

.category-view .row .spacer .spacer-img span.overlay > h3,
.browse-view .row .spacer .spacer-img span.overlay > h3,
.category-view .row .spacer .spacer-img:hover span.overlay > h3,
.browse-view .row .spacer .spacer-img:hover span.overlay > h3,
.related-category-view .spacer-img span.overlay > h3 {
  font-weight: 400 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.1em !important;
  line-height: 1.35 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45) !important;
  margin: 0 !important;
}

/* 5. Cuerpo de la tarjeta de producto (Compacto y proporcionado) */
.browse-view .products .spacer .spacer-img,
.category-view .products .spacer .spacer-img {
  background: #ffffff !important;
}

.browse-view .products .spacer .spacer-img img.browseProductImage,
.category-view .products .spacer .spacer-img img.browseProductImage {
  aspect-ratio: 1 / 1.08;
  object-fit: contain;
  padding: 8px 8px 2px 8px;
  background: #ffffff;
}

.category-view .row .spacer .spacer-inner,
.browse-view .row .spacer .spacer-inner,
.featured-view .row .spacer .spacer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3px;
  flex-grow: 1;
  padding: 8px 14px 12px !important;
  text-align: center;
}

/* Eliminar contenedores vacíos de VirtueMart que inflan la altura en Flexbox */
.spacer-inner .product_s_desc:empty,
.spacer-inner .clear,
.spacer-inner div[class^="vm3pr-"]:empty,
.spacer-inner .vm-details-button,
.category-view .ask-a-question {
  display: none !important;
}

.spacer-inner h5.product_sku {
  margin: 0 !important;
  line-height: 1.2 !important;
}

.spacer-inner h5.product_sku a {
  font-family: var(--md-font-heading);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--md-primary);
  background: var(--md-surface-container);
  padding: 2px 8px;
  border-radius: var(--md-radius-pill);
  display: inline-block;
  line-height: 1.3;
}

.category-view .row .spacer .spacer-inner h2,
.browse-view .row .spacer .spacer-inner h2,
.latest-view .row .spacer .spacer-inner h2,
.recent-view .row .spacer .spacer-inner h2,
.featured-view .row .spacer .spacer-inner h2,
.topten-view .row .spacer .spacer-inner h2 {
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em;
  line-height: 1.3 !important;
  margin: 2px 0 !important;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-view .row .spacer .spacer-inner h2 a,
.browse-view .row .spacer .spacer-inner h2 a {
  color: var(--md-text-main);
}

.spacer-inner .main_price {
  border-top: 1px solid rgba(122, 104, 85, 0.1);
  border-bottom: 1px solid rgba(122, 104, 85, 0.1);
  padding: 4px 0 !important;
  margin: 2px 0 !important;
}

.category-view .row .spacer .spacer-inner .product-price,
.browse-view .row .spacer .spacer-inner .product-price,
.featured-view .row .spacer .spacer-inner .product-price {
  margin: 0 !important;
  padding: 0 !important;
}

.spacer-inner .product-price .PricepriceWithoutTax,
.productdetails-view .vm-product-details-inner .PricepriceWithoutTax {
  font-weight: 400 !important;
  font-size: 18px !important;
  color: var(--md-primary);
  margin-bottom: 2px !important;
  line-height: 1.2 !important;
  font-family: var(--md-font-heading);
}

.spacer-inner .product-price .PricepriceWithoutTax .oldPrice,
.productdetails-view .vm-product-details-inner .PricepriceWithoutTax .oldPrice {
  font-weight: 300 !important;
  font-size: 14px !important;
  color: var(--md-text-light) !important;
  vertical-align: middle !important;
  text-decoration: line-through !important;
  margin-left: 6px !important;
  font-family: var(--md-font-heading);
}

.category-view .row .spacer .spacer-inner .product-price > div.min-cant,
.category-view .row .spacer .spacer-inner .product-price > div.size,
.browse-view .row .spacer .spacer-inner .product-price > div.min-cant,
.browse-view .row .spacer .spacer-inner .product-price > div.size,
.spacer-inner .min-cant,
.spacer-inner .size {
  font-size: 11px !important;
  font-weight: 300;
  color: var(--md-text-muted);
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* Badge de Stock compacto */
.spacer-inner .vm-product-rating-container {
  margin: 2px 0 !important;
  line-height: 1 !important;
}

.category-view .row.productwrap .product .spacer .spacer-inner .product-in-stock,
.category-view .row.productwrap .products .spacer .spacer-inner .product-in-stock,
.browse-view .row.productwrap .product .spacer .spacer-inner .product-in-stock,
.browse-view .row.productwrap .products .spacer .spacer-inner .product-in-stock {
  margin: 0 !important;
  line-height: 1 !important;
}

.spacer-inner .product-in-stock > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #edf5f0;
  color: #2d6a4f;
  font-size: 10.5px;
  font-weight: 400;
  padding: 2px 8px;
  border-radius: var(--md-radius-pill);
  line-height: 1.2 !important;
}

.spacer-inner .product-in-stock i.pe {
  font-size: 12px !important;
  line-height: 1 !important;
}

/* Botón único compacto en tarjeta */
.category-view .row .spacer .addtocart-bar,
.browse-view .row .spacer .addtocart-bar,
.spacer-inner .addtocart-bar {
  width: 100%;
  margin: 3px 0 0 0 !important;
  display: block !important;
}

.spacer-inner .addtocart-bar .notify.btn {
  width: 100%;
  padding: 5px 12px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

/* Paginación Redondeada */
.cd-pagination.animated-buttons a,
.cd-pagination.animated-buttons span {
  height: 38px;
  line-height: 38px;
  border-radius: var(--md-radius-pill) !important;
  border: 1px solid var(--md-outline);
  margin: 0 3px;
}

/* ==========================================================================
   8. FICHA DE PRODUCTO (PRODUCT DETAILS VIEW)
   ========================================================================== */
.productdetails-view .vm-product-wrap {
  background: var(--md-surface);
  border-radius: var(--md-radius-xl);
  border: 1px solid var(--md-outline);
  box-shadow: var(--md-elevation-1);
  padding: clamp(20px, 3.5vw, 44px);
  margin: 0 !important;
}

.productdetails-view .vm-product-media-img .main-image img,
.related_products .vm-product-media-img .main-image img {
  border: 1px solid var(--md-outline) !important;
  border-radius: var(--md-radius-lg) !important;
  overflow: hidden;
}

.productdetails-view .vm-product-media-img .additional-images,
.related_products .vm-product-media-img .additional-images {
  margin: 12px auto 0;
}

ul#FlexibleAdditionalGallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

ul#FlexibleAdditionalGallery li a {
  padding: 0;
  border-radius: var(--md-radius-sm) !important;
  overflow: hidden;
  border: 2px solid transparent;
  display: block;
  transition: var(--md-transition);
}

ul#FlexibleAdditionalGallery li a span img {
  border: 0;
  border-radius: var(--md-radius-xs) !important;
  margin: 0;
}

ul#FlexibleAdditionalGallery li a.active,
ul#FlexibleAdditionalGallery li a:hover {
  background: none;
  border: 2px solid var(--md-primary) !important;
  transform: translateY(-2px);
}

.vm-product-details-inner .code-stock {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.vm-product-details-inner .code-stock .product_code {
  margin-right: 0;
}

.vm-product-details-inner .code-stock .product_code span,
.vm-product-details-inner .code-stock .product-in-stock span {
  border-radius: var(--md-radius-pill);
  color: var(--md-on-tonal);
  font-weight: 400;
  background: var(--md-primary-tonal);
  padding: 2px 12px;
  display: inline-block;
  line-height: 22px;
  vertical-align: middle;
  margin-left: 4px;
  font-size: 13px;
}

.vm-product-details-inner .vm-product-title h2 {
  font-size: clamp(20px, 2.4vw, 28px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.05em;
  margin: 8px 0 18px;
}

body .productdetails-view .vm-product-details-inner .min-cant,
body .productdetails-view .vm-product-details-inner .size {
  font-size: 15px;
  font-weight: 300;
  color: var(--md-text-muted);
  margin-bottom: 8px;
}

.productdetails-view .product-short-description {
  background: var(--md-surface-container);
  border-radius: var(--md-radius-md);
  padding: 18px 22px;
  margin: 18px 0 !important;
  font-weight: 300;
  line-height: 1.7;
  color: var(--md-text-main);
}

.productdetails-view .vm-product-details-inner .back-to-category,
.productdetails-view .vm-product-details-inner div.ask-a-question {
  margin-top: 14px;
}

/* ==========================================================================
   9. BLOG, PROYECTOS, INSPIRATION & ARTÍCULOS
   ========================================================================== */
.entry-header.has-post-format .post-format,
.has-post-format-masonry .post-format-masonry {
  display: none !important;
}

.entry-header.has-post-format {
  margin-left: 0;
}

.blogblocks-list .items-masonry .masonry_item article.item {
  background: var(--md-surface);
  border-radius: var(--md-radius-lg) !important;
  border: 1px solid var(--md-outline);
  box-shadow: var(--md-elevation-1);
  overflow: hidden;
  transition: var(--md-transition);
  margin-bottom: 28px;
}

.blogblocks-list .items-masonry .masonry_item article.item:hover {
  transform: translateY(-6px);
  box-shadow: var(--md-elevation-3);
}

.blogblocks-list .items-masonry .masonry_item .entry-image {
  overflow: hidden;
  border-radius: var(--md-radius-lg) var(--md-radius-lg) 0 0;
}

.blogblocks-list .items-masonry .masonry_item .entry-image img {
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}

.blogblocks-list .items-masonry .masonry_item article.item:hover .entry-image img {
  transform: scale(1.05);
}

.blogblocks-list .items-masonry .masonry_item .post_intro {
  padding: 20px 24px 24px;
}

.cat-inspiration .entry-header h2,
.blogblocks-list .entry-header h2 {
  font-size: 18px !important;
  font-weight: 300 !important;
  letter-spacing: 0.05em;
}

/* Artículos Corporativos (Sobre Nosotros, etc.) */
article.item-page {
  background: var(--md-surface);
  border-radius: var(--md-radius-xl);
  border: 1px solid var(--md-outline);
  box-shadow: var(--md-elevation-1);
  padding: clamp(28px, 5vw, 64px);
}

/* ==========================================================================
   10. MODALES, LOGIN Y FORMULARIOS (CANTOS REDONDOS & INPUTS PLANOS)
   ========================================================================== */
.flex-modal .flex-modal-content,
.modal-login .modal-content {
  border-radius: var(--md-radius-xl) !important;
  border: 1px solid var(--md-outline) !important;
  box-shadow: var(--md-elevation-3) !important;
  overflow: hidden;
}

#com-form-login {
  background: var(--md-surface) !important;
  border-radius: var(--md-radius-xl);
  border: 1px solid var(--md-outline);
  box-shadow: var(--md-elevation-2);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#com-form-login > .width30 {
  text-align: center;
  width: 100%;
}

input[type="text"]:not(.vm-flex-search input),
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  border-radius: var(--md-radius-sm) !important;
  border: 1px solid var(--md-outline-strong) !important;
  padding: 10px 16px !important;
  font-family: var(--md-font-body) !important;
  font-weight: 300 !important;
  box-shadow: none !important;
  transition: var(--md-transition);
}

input[type="text"]:not(.vm-flex-search input):focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--md-primary) !important;
  box-shadow: 0 0 0 3px rgba(122, 104, 85, 0.15) !important;
  outline: none;
}

.modal-login .modal-footer {
  font-size: 16px;
  max-height: revert !important;
  line-height: 2em !important;
}

.modal-login .modal-footer a {
  color: var(--md-primary) !important;
  text-decoration: underline;
}

.view-reset .password-group .input-group {
  flex-wrap: nowrap;
}

body .proopc-checkout-box .proopc-btn-info {
  background: var(--md-primary-light);
  border-radius: var(--md-radius-pill);
}

table.user-details tr td input {
  min-width: auto !important;
  appearance: auto !important;
}

/* Formulario Pago a Cuenta */
.form-pagoacuenta {
  width: min(100%, 640px);
  margin: 0 auto;
}

.form-pagoacuenta table {
  width: 100%;
  max-width: 100%;
  background-color: var(--md-surface);
  border-spacing: 0;
  border: 1px solid var(--md-outline);
  border-radius: var(--md-radius-lg) !important;
  border-collapse: unset !important;
  overflow: hidden;
  box-shadow: var(--md-elevation-1);
}

.form-pagoacuenta table tr td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--md-outline);
}

.form-pagoacuenta table tr td:nth-child(2) {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 400;
}

.form-pagoacuenta table tr td input {
  width: 80%;
  margin-right: 8px;
}

/* ==========================================================================
   11. FOOTER & COPYRIGHT
   ========================================================================== */
#sp-footer {
  background-color: var(--md-surface-dark) !important;
  color: #b8b0a8 !important;
  padding: clamp(48px, 6vw, 76px) 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#sp-footer .sp-module-title {
  color: #ffffff !important;
  font-weight: 300 !important;
  font-size: 16px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#sp-footer .sp-module.col-sm-4 {
  width: 100% !important;
}

#sp-footer ul.mod-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 14.5px;
  text-align: left;
  gap: 6px;
}

#sp-footer ul.mod-menu li {
  border-bottom: 0;
  margin-left: 0;
}

#sp-footer ul.mod-menu li a {
  line-height: 24px;
  font-size: 14.5px;
  font-weight: 300;
  color: #c8c0b7 !important;
  padding: 3px 0;
  transition: var(--md-transition);
}

#sp-footer ul.mod-menu li a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

#sp-copyright {
  background-color: var(--md-surface-darker) !important;
  color: #9e968e !important;
  padding: 18px 0 !important;
  font-size: 13px;
  font-weight: 300;
}

.sp-copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sp-copyright div img {
  width: min(100%, 450px);
}

/* ==========================================================================
   12. HOTSPOTS Y ANIMACIONES
   ========================================================================== */
.hero_hotspot a {
  overflow: visible !important;
  border-radius: 50% !important;
  animation: hotspot-pulse-shadow 2s infinite ease-out !important;
}

@keyframes hotspot-pulse-shadow {
  0% {
    box-shadow: 0 0 0 0 rgba(92, 184, 92, 0.7);
  }
  70% {
    box-shadow: 0 0 0 22px rgba(92, 184, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 22px rgba(92, 184, 92, 0);
  }
}

/* ==========================================================================
   13. DISEÑO 100% RESPONSIVE (TABLET & MÓVIL)
   ========================================================================== */
@media (max-width: 1199.98px) {
  .category-view .row.productwrap,
  .browse-view .row.productwrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px !important;
  }
}

@media (max-width: 991.98px) {
  body #sp-menu {
    width: auto;
    float: right;
  }

  body #sp-menu #offcanvas-toggler > i {
    width: 30px;
  }

  body #sp-shoppingcart {
    width: 70px;
  }

  body #sp-logo {
    width: 100%;
  }

  body #sp-header .container .row {
    display: grid;
    grid-template-columns: 4fr 1fr 1fr;
    align-items: center;
  }

  body .wk-noticias-portada {
    width: 100%;
  }

  .category-view .row.productwrap,
  .browse-view .row.productwrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px !important;
  }

  .mod-breadcrumbs__wrapper {
    font-size: 12px;
  }

  /* Offcanvas Menu Material */
  .offcanvas {
    visibility: visible;
  }

  .offcanvas .off-canvas-menu-wrap {
    transform: none;
    -webkit-transform: none;
  }

  .offcanvas-menu {
    border-radius: var(--md-radius-lg) 0 0 var(--md-radius-lg);
    box-shadow: var(--md-elevation-3);
  }

  .offcanvas-inner .sp-module ul.mod-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .offcanvas-inner .off-search {
    margin-top: 0;
  }

  .offcanvas-inner .sp-module:nth-child(5) {
    border-top: 1px solid var(--md-outline-strong);
    margin-top: 12px;
    padding-top: 12px;
  }

  .offcanvas-inner .sp-module.language {
    margin-top: 0;
  }

  .offcanvas-inner .sp-module.language ul.lang-inline {
    justify-content: center;
  }

  .offcanvas-inner .sp-module.language ul.lang-inline li a {
    padding: 0 !important;
  }

  .offcanvas-inner .sp-module.language .sppb-btn-default,
  .offcanvas-inner .sp-module.language .btn.sppb-btn-default {
    background: none !important;
    border: 0 !important;
  }

  body .offcanvas-inner .sp-module.language .sppb-btn-default span,
  body .offcanvas-inner .sp-module.language .btn.sppb-btn-default span {
    padding: 5px 10px !important;
  }

  .offcanvas-inner .icon-top-wrapper {
    display: none;
  }

  .offcanvas-menu .offcanvas-inner .search {
    margin-top: 0;
  }

  .offcanvas-inner .top-search-input-wrap {
    display: block;
    margin-left: 0;
    padding: 0 12px;
  }

  .offcanvas-inner .top-search-input-wrap .top-search-wrap,
  .offcanvas-inner .top-search-wrapper {
    position: initial;
    opacity: 1;
    transform: none;
    width: 100%;
  }

  .view-category .mod-categories,
  .view-productdetails .mod-categories {
    display: none;
  }

  .offcanvas-menu .mod-categories {
    display: block;
  }

  .offcanvas-menu .offcanvas-inner .mod-categories ul.accordion-menu > li a {
    padding: 8px 18px;
    line-height: 1.3em;
    font-size: 14.5px;
    font-weight: 300;
  }

  .offcanvas-menu .offcanvas-inner .mod-categories ul.accordion-menu > li ul li a {
    font-size: 12.5px;
  }
}

@media (max-width: 575.98px) {
  body .wk-noticias-portada {
    width: 100% !important;
  }

  .category-view .browse-view h1,
  .browse-view .browse-view h1 {
    font-size: 20px !important;
  }

  body.view-category .productwrap,
  .category-view .row.productwrap,
  .browse-view .row.productwrap {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.view-category .productwrap .product {
    min-width: initial;
  }

  .category-view .row .spacer .spacer-img span.overlay > h3 {
    font-size: 12.5px !important;
  }

  body.view-category .products .product-container h5 {
    font-size: 11px;
  }

  body.view-category .products .product-container h2 {
    font-size: 12.5px !important;
  }

  .category-view .row .spacer .spacer-inner .product-price > div,
  .browse-view .row .spacer .spacer-inner .product-price > div {
    font-size: 12px;
  }

  .category-view .row .spacer .spacer-inner,
  .browse-view .row .spacer .spacer-inner {
    padding: 12px !important;
  }

  .category-view .row .spacer .spacer-inner .addtocart-bar a,
  .browse-view .row .spacer .spacer-inner .addtocart-bar a {
    padding: 7px 14px !important;
    font-size: 12px !important;
    width: 100%;
  }

  #section-id-3217692e-0d0f-4727-b267-de6b2907a898 .sppb-addon-image-layout-wrap {
    min-height: 260px;
    border-radius: var(--md-radius-lg) !important;
  }
}
