/*
 * Jabón Erótico - Consolidated Optimized CSS (Pixel-Perfect Astra / Elementor Fidelity)
 * Redneurocom Agent-Friendly Architecture
 */
:root {
  --primary: #DE5574;
  --primary-hover: #c43c5b;
  --dark: #222222;
  --text-color: #3a3a3a;
  --text-muted: #777777;
  --border-color: #e2e2e2;
  --bg-light: #f7f7f7;
  --white: #ffffff;
  --whatsapp: #25D366;
  --font-base: 'Lato', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Kaushan Script', cursive;
  --container-max: 1240px;
}

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

html {
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   HEADER (EXACT ASTRA FIDELITY)
   ========================================================================== */
.site-header-jabon {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-jabon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.site-branding .custom-logo-link img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.ast-header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-navigation-jabon {
  display: flex;
}

.nav-menu-jabon {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-menu-jabon li a {
  font-size: 14.5px;
  font-weight: 500;
  color: #3a3a3a;
  padding: 8px 0;
}

.nav-menu-jabon li.current-menu-item a,
.nav-menu-jabon li a:hover {
  color: var(--primary);
}

/* Outline Shopping Bag Cart with Counter Inside */
.ast-site-header-cart {
  display: flex;
  align-items: center;
}

.ast-cart-contents {
  display: block;
  text-decoration: none;
}

.ast-cart-bag-wrap {
  position: relative;
  width: 28px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ast-bag-svg {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 22px;
  height: 26px;
}

.ast-cart-count {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  color: #222;
  margin-top: 6px;
  line-height: 1;
}

/* Mobile Toggle */
.ast-menu-toggle {
  display: none;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 38px;
  height: 38px;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.ast-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border-color);
  padding: 15px 20px;
}

.ast-mobile-menu.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-list li a {
  font-size: 15px;
  color: #333;
  font-weight: 500;
  display: block;
  padding: 6px 0;
}

@media (max-width: 768px) {
  .site-navigation-jabon {
    display: none;
  }
  .ast-menu-toggle {
    display: flex;
  }
}

/* ==========================================================================
   HOMEPAGE (EXACT ELEMENTOR / SMART SLIDER FIDELITY)
   ========================================================================== */
.smart-slider-wrapper {
  position: relative;
  width: 100%;
  background: #fff;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.slider-slides {
  position: relative;
  width: 100%;
}

.slide-item {
  display: none;
  width: 100%;
}

.slide-item.active {
  display: block;
}

.slide-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

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

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dots .dot.active {
  background: #DE5574;
}

/* Elementor Section Headings (Pink Kaushan Script with soft glow) */
.container-elementor {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 20px;
}

.elementor-heading-left {
  text-align: left;
  margin-bottom: 25px;
}

.elementor-script-title {
  color: #DE5574;
  font-family: var(--font-script);
  font-size: 34px;
  font-weight: 600;
  text-shadow: 0px 0px 16px rgba(222, 85, 116, 0.75);
}

.elementor-center-divider {
  width: 60px;
  height: 1px;
  background: #333333;
  margin: -15px auto 35px;
}

/* Categoría Section (3 Circular Cards) */
.elementor-section-categoria {
  padding: 40px 0 30px;
  background: #fff;
}

.categoria-circles-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.categoria-circle-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cat-circle-link {
  display: block;
  text-decoration: none;
}

.cat-circle-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid #DE5574;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: #fff;
  transition: transform 0.3s ease;
}

.cat-circle-frame:hover {
  transform: scale(1.05);
}

.cat-circle-frame img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.cat-circle-title {
  font-family: var(--font-script);
  font-size: 28px;
  font-weight: 600;
  color: #DE5574;
  text-shadow: 0px 0px 16px rgba(222, 85, 116, 0.75);
  margin-top: 15px;
  margin-bottom: 5px;
}

.cat-expand-btn {
  background: none;
  border: none;
  color: #DE5574;
  font-size: 13.5px;
  cursor: pointer;
  padding: 4px 8px;
  margin-top: 4px;
}

.cat-expand-desc {
  max-width: 320px;
  margin-top: 10px;
  font-size: 13.5px;
  color: #555;
  line-height: 1.6;
}

/* Conócenos Banner (Gaussian Background) */
.elementor-section-conocenos {
  position: relative;
  background: url('/media/uploads/2021/02/gausiano.jpg') center center / cover no-repeat;
  padding: 65px 20px;
  margin: 40px 0;
  text-align: center;
  overflow: hidden;
}

.conocenos-inner {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.conocenos-title {
  font-family: var(--font-script);
  font-size: 40px;
  font-weight: 600;
  color: #DE5574;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.conocenos-blurb {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #222222;
  line-height: 1.6;
}

/* Jabones Section (5-Col Grid) */
.elementor-section-jabones {
  padding: 40px 0;
  background: #fff;
}

.products-grid-5cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Product Item (Shared Component) */
.product-item-ast {
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-link-wrap {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: #fbfbfb;
  margin-bottom: 12px;
}

.product-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-item-ast:hover .product-grid-img {
  transform: scale(1.03);
}

.product-meta-wrap {
  text-align: left;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-category-name {
  font-size: 12.5px;
  color: #888;
  display: block;
  margin-bottom: 4px;
}

.product-price {
  margin-bottom: 4px;
}

.woocommerce-price-amount {
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.product-stars-rating {
  font-size: 13px;
  color: #bbb;
  letter-spacing: 1px;
}

/* Distribuidores Autorizados */
.elementor-section-distribuidores {
  padding: 40px 0 60px;
  background: #fff;
}

.distribuidores-grid-2cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  text-align: center;
}

.distribuidor-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.distribuidor-img-wrap {
  width: 100%;
  max-width: 320px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.distribuidor-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.distribuidor-city {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.distribuidor-name {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
}

.distribuidor-phone {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.distribuidor-social {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.distribuidor-social a {
  font-size: 16px;
  color: #222;
  transition: color 0.2s ease;
}

.distribuidor-social a:hover {
  color: var(--primary);
}

/* ==========================================================================
   SHOP / CATALOG LAYOUT (ASTRA / WOOCOMMERCE SIDEBAR)
   ========================================================================== */
.ast-container-shop {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.ast-shop-layout {
  display: flex;
  gap: 40px;
}

.ast-shop-sidebar {
  width: 25%;
  flex-shrink: 0;
}

.ast-shop-content {
  width: 75%;
  flex-grow: 1;
}

/* Search Widget */
.widget_product_search .woocommerce-product-search {
  display: flex;
  margin-bottom: 35px;
}

.widget_product_search .search-field {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-right: none;
  outline: none;
  font-size: 14px;
}

.widget_product_search .search-submit {
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

/* Best Sellers Widget */
.widget_products .widget-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.3;
}

.product_list_widget {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.widget-product-link {
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.widget-product-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.widget-product-text .product-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  display: block;
  margin-bottom: 2px;
}

.widget-product-text .star-rating {
  font-size: 12px;
  color: #bbb;
  margin-bottom: 2px;
}

.widget-product-text .woocommerce-Price-amount {
  font-size: 13.5px;
  font-weight: 700;
  color: #333;
}

/* Shop Header & 4-Column Grid */
.woocommerce-breadcrumb {
  font-size: 13.5px;
  color: #777;
  margin-bottom: 18px;
}

.woocommerce-breadcrumb a {
  color: #777;
}

.ast-shop-ordering-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.woocommerce-result-count {
  font-size: 14px;
  color: #666;
}

.woocommerce-ordering .orderby {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  color: #444;
  outline: none;
  cursor: pointer;
}

.products.columns-4 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (EXACT ASTRA & WOOCOMMERCE FIDELITY)
   ========================================================================== */
.ast-container-product {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.product-detail-layout {
  display: flex;
  gap: 50px;
  margin-top: 20px;
  margin-bottom: 60px;
}

.woocommerce-product-gallery {
  width: 50%;
  position: relative;
}

.woocommerce-product-gallery__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fbfbfb;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.woocommerce-product-gallery__trigger {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
}

.summary.entry-summary {
  width: 50%;
}

.product_title.entry-title {
  font-size: 32px;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.2;
}

.summary .price {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 22px;
}

.woocommerce-product-details__short-description {
  font-size: 14.5px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 30px;
}

.woocommerce-product-details__short-description p {
  margin-bottom: 14px;
}

form.cart {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

form.cart .quantity input.qty {
  width: 60px;
  height: 42px;
  border: 1px solid #ccc;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

.single_add_to_cart_button.button.alt {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.single_add_to_cart_button.button.alt:hover {
  background-color: var(--primary-hover);
}

.product_meta {
  border-top: 1px solid #eee;
  padding-top: 15px;
  font-size: 13.5px;
  color: #777;
}

.product_meta .posted_in a {
  color: #222;
  font-weight: 500;
}

/* Tabs */
.woocommerce-tabs.wc-tabs-wrapper {
  border-top: 1px solid #e2e2e2;
  padding-top: 40px;
}

ul.tabs.wc-tabs {
  list-style: none;
  display: flex;
  gap: 30px;
  border-bottom: 1px solid #e2e2e2;
  margin-bottom: 30px;
}

ul.tabs.wc-tabs li a {
  display: inline-block;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  color: #777;
  border-bottom: 2px solid transparent;
}

ul.tabs.wc-tabs li.active a {
  color: #222;
  border-bottom-color: #222;
}

.woocommerce-Tabs-panel--description {
  font-size: 14.5px;
  line-height: 1.8;
  color: #444;
}

.woocommerce-Tabs-panel--description h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #222;
}

.woocommerce-Tabs-panel--description p {
  margin-bottom: 14px;
}

/* ==========================================================================
   FOOTER (EXACT 3-COL DARK ELEMENTOR / ASTRA FIDELITY)
   ========================================================================== */
.site-footer-jabon {
  background-color: #1E1F21;
  color: #bfbfbf;
  padding: 60px 0 0;
  margin-top: auto;
}

.footer-jabon-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-logo-wrap {
  margin-bottom: 20px;
}

.footer-logo-wrap img {
  max-width: 200px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-jabon-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #aaa;
  margin-bottom: 25px;
  max-width: 380px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.footer-social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
}

.footer-social-icons a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-title-jabon {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 22px;
}

.footer-info-list,
.footer-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-info-list li {
  font-size: 14px;
  color: #bbb;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-info-list li i {
  color: #888;
  width: 16px;
}

.footer-info-list li a {
  color: #bbb;
}

.footer-cat-list li a {
  font-size: 14px;
  color: #bbb;
}

.footer-cat-list li a:hover,
.footer-info-list li a:hover {
  color: var(--primary);
}

.footer-copyright-jabon {
  background-color: #171819;
  border-top: 1px solid #28292b;
  padding: 22px 0;
  font-size: 13.5px;
  color: #888;
  text-align: center;
}

.footer-copyright-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.neurocom-footer-logo {
  height: 18px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

/* Floating WhatsApp Button */
.wa-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.wa-float-btn:hover {
  transform: scale(1.08);
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .products-grid-5cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .ast-shop-layout {
    flex-direction: column;
  }
  .ast-shop-sidebar {
    width: 100%;
  }
  .ast-shop-content {
    width: 100%;
  }
  .products.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail-layout {
    flex-direction: column;
  }
  .woocommerce-product-gallery,
  .summary.entry-summary {
    width: 100%;
  }
  .footer-jabon-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 576px) {
  .products-grid-5cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .categoria-circles-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .distribuidores-grid-2cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
