 /*
Theme Name: Astra Child
Template: astra
Description: Tema hijo de Astra
Author: Mediterraneo Lento
Version: 1.0.0
*/

 :root {
     --primary-blue: #78B0B5;
     --primary-blue-dark: #55959B;
     --primary-blue-light: #93C0C4;
     --secondary-brown: #8F8884;
     --secondary-brown-very-light: #E8E5E5;
     --secondary-brown-light: #B7B0B0;
     --secondary-brown-dark: #746D69;
     --secondary-brown-very-dark: #3A3734;
 }

 body {
     background-color: var(--secondary-brown-very-light) !important;
 }

 /* contact and forms*/

 .aviso-rgpd {
     color: #777;
     padding: 6px 12px;
     border: 1px solid #ccc;
     border-radius: 4px;
     width: 100%;
     font-size: 12px;
     line-height: 1.5;
     text-align: left;
     max-height: 49px;
     overflow-y: auto;
     background: #f9f9f9;
     margin-bottom: 29px;
 }

 #wpforms-1424-field_11-container ul {
     list-style: none;
     padding-left: 0;

 }

 /* #wpforms-1424 input:focus,
 #wpforms-1424 textarea:focus,
 #wpforms-1424 select:focus */
 input:focus,
 textarea:focus,
 select:focus {
     border: 1px solid var(--primary-blue) !important;
     box-shadow: 0 0 5px var(--primary-blue) !important;
     outline: none !important;
 }

 .select2-container--default .select2-results__option--highlighted[aria-selected],
 .select2-container--default .select2-results__option--highlighted[data-selected] {
     background-color: var(--primary-blue);
 }

 #wpforms-1424 a {
     font-weight: bold;
 }

 .woocommerce-form-login {
     background: white !important;
     max-width: 500px !important;
     margin: auto !important;

 }

 .login-info-premium {
     text-align: center;
     border-top: 1px solid #d1d1d1;
     padding-top: 20px;
     font-size: 14px;
 }

 .login-info-premium a {
     background: white;
     border: 2px solid var(--primary-blue);
     padding: 6px;
     border-radius: 3px;
     font-weight: bolder;
     width: 100%;
     display: block;
     text-align: center;
     color: var(--primary-blue);
 }

 .login-info-premium a:hover {
     background: var(--primary-blue-dark);
     border: 2px solid var(--primary-blue-dark);
     color: white;
     text-decoration: none;
 }

 #post-1432 {
     margin-bottom: 50px;
 }


 .woocommerce-account:has(.account-login-info) header.entry-header {
     display: none;
 }

 .account-login-info {
     text-align: center;
     max-width: 500px;
     margin: auto;
     background: var(--primary-blue);
     margin-bottom: 0;
     padding: 10px;
     padding-top: 20px;
     padding-bottom: 1px;

 }

 .account-login-info h3 {
     color: white;
 }

 .button.woocommerce-form-login__submit {
     margin-top: 23px !important;
     width: 100%;

 }

 /* header */
 .ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item>.menu-link {
     font-weight: bold;
 }

 #ast-mobile-header .ast-mobile-header-content .ast-builder-layout-element .ast-header-social-wrap {
     background-color: var(--primary-blue) !important;
     width: 100% !important;
     justify-content: center;
     display: flex;
 }

 #ast-mobile-header .ast-site-header-cart i {
     color: var(--primary-blue);
     ;
 }

 .ast-site-header-cart i.astra-icon::after {
     height: 15px !important;
     min-width: 15px !important;
     top: -6px !important;
     font-size: 9px !important;
 }

 .cart_totals,
 #order_review_heading,
 #order_review,
 tbody,
 tfoot,
 thead .woocommerce-MyAccount-navigation ul li:not(.is-active) {
     background: white;
 }

 .woocommerce-MyAccount-navigation ul li {
     font-weight: bold;
 }

 #post-1432 {
     margin-top: 40px;
 }

 .woocommerce-MyAccount-navigation {
     margin-bottom: 30px;
 }

 .woocommerce-MyAccount-navigation ul {
     padding-left: 0px;
 }

 .woocommerce-MyAccount-navigation ul li.is-active a,
 .woocommerce-MyAccount-navigation ul li a:hover {
     background: var(--primary-blue);
     ;
     color: white;
 }


 /* icon category */
 a[href*="/category/contenido-premium/"]::before {
     content: "\f023";
     font-family: "Font Awesome 5 Free";
     font-weight: 900;
     margin-right: 10px;
     color: white;
 }

 a[href*="/category/contenido-premium/"] {
     color: white;
 }

 .ast-blog-featured-section {
     margin-bottom: 0;
 }

 .ast-taxonomy-container {
     top: -31px;
     position: relative;
     background: var(--primary-blue);
     width: 126%;
     display: block;
     left: -23px;
     padding: 10px;
     padding-bottom: 5px;
     padding-top: 5px;
     margin-bottom: 0 !important;
 }


 .ast-article-post .ast-taxonomy-container:not(:has(a[href*="/category/contenido-premium/"])) {
     visibility: hidden;
 }

 .wp-singular.rutas-template-default .entry-header {
     display: none;

 }

 /* product suscription page */

 .product-type-fsb-subscription .entry-summary .cart .single_add_to_cart_button {
     margin-top: 20px !important;
     margin: auto;
     ;
 }

 .product-type-fsb-subscription .woocommerce-product-gallery {
     display: none;
 }

 .product-type-fsb-subscription .entry-summary {
     width: 100% !important;
     text-align: center;
     margin-bottom: 0 !important;

 }

 .product-type-fsb-subscription .entry-summary .price {
     font-size: 31px !important;

 }

 .product-type-fsb-subscription form {
     display: flex;
 }

 .checkout-email-notice {
     background-color: #C8DFE0;
     margin-top: 23px !important;
     padding: 5px !important;
     border-style: dotted;
     border-width: 2px;
     border-color: var(--primary-blue);
     border-radius: 3px;
     margin-bottom: 20px !important;
 }
 .woocommerce-privacy-policy-text{
    font-size: 12px;

 }

 .woocommerce-table--order-details tfoot tr td a {
     margin-right: 15px !important;

 }

 #order_review {
     padding: 20px;

 }

 /* page 404  */
 .error404 .site-below-footer-wrap, .error404 #page .ast-archive-entry-banner  {
     display: none;
 }

 .error404 .elementor-31 .elementor-element.elementor-element-cad3446:not(.elementor-motion-effects-element-type-background) {
     background-color: var(--secondary-brown);
 }

 .error404 #primary {
     min-height: 200px;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-direction: column;
 }

 .error404 #primary h1 {
     font-size: 31px;
     margin-bottom: 20px;
 }

.wp-block-woocommerce-coming-soon h1,
.wp-block-woocommerce-coming-soon p {
    font-family: 'Montserrat', sans-serif !important;
}



/* table cookies page */
  .cookies-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
  }


  .cookies-table th,
  .cookies-table td {
    border: 1px solid #ccc; /* líneas suaves */
    padding: 6px 8px;
    text-align: left;
  }

  .cookies-table th {
    font-weight: bold;
  }

  /* Tabla responsive */
@media (max-width: 600px) {
  /* Ocultar cabecera */
  .cookies-table thead {
    display: none;
  }

  .cookies-table,
  .cookies-table tbody,
  .cookies-table tr,
  .cookies-table td {
    display: block;
    width: 100%;
  }

  .cookies-table tr {
    margin-bottom: 10px; /* espacio entre filas */
    border-bottom: 2px solid #eee;
  }

  /* Última fila sin margen extra */
  .cookies-table tr:last-child {
    margin-bottom: 0;
  }

  .cookies-table td {
    border: none;
    padding: 4px 10px; /* top-right-bottom-left */
  }

  /* Pseudo-elemento con label arriba del contenido */
  .cookies-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    margin-bottom: 2px;
    position: static; /* evita superposición */
  }
}

 @media (min-width: 1200px) {
     #post-1432 {
         margin-top: 0px;
     }

     .woocommerce-MyAccount-navigation {
         margin-bottom: 0px;
     }
 }