/*
Theme Name: Elementra Child Theme
Template: elementra
Theme URI: https://elementra.themerex.net/
Description: Elementra Child Theme
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.0
Tested up to: 6.7
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: elementra
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */
/* === HEADER FIJO === */

.body_wrap{
  width:100%;
}

header.top_panel {
  position: sticky !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: rgb(241, 233, 229) !important; 
  transition: all 0.3s ease; 
}


/* On appèle la font Mulish pour tout le <body> */
body {
  font-family: "Mulish", Sans-serif;
}

/* Flèche qui saute dans le banner des sessions */
@keyframes arrowBounce {
  0% {
    transform: translateY(0);
    opacity: 0.3;
  }

  100% {
    transform: translateY(12px);
    opacity: 1;
  }
}

.page-content-wrap {
  padding: 0 !important;
}

/* CSS de la page checkout */
#order_review {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.woocommerce-checkout form.checkout .col-1 {
  min-width: 100%;
  width: 100%;
  border: solid 2px #43241a;
  border-radius: 16px;
  padding: 20px;
}

@media (min-width: 1024px) {
  .woocommerce-checkout form.checkout {
    display: flex;
  }

  .woocommerce-checkout #order_review_heading {
    display: none;
  }

  .woocommerce-checkout-review-order{
    margin: 0 0 0 40px !important;
  }
  .woocommerce-checkout form.checkout .col-1 {
    width: 100% !important;
  }
  #order_review {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    top: 120px;
  }
  
  .woocommerce-checkout #customer_details {
    width: 100% !important;
  }
  
  .woocommerce-checkout form.checkout .col-1 {
      min-width: calc(600px - 40px);
      width: calc(100% - 40px);
      border: solid 2px #43241a;
      border-radius: 16px;
      padding: 20px;
    }
}



/* ===== EDICIO PAGINA DEL MEU COMPTE ===== */
.woocommerce-account {
    display: flex;
    gap: 30px;
}

.woocommerce-MyAccount-navigation {
    width: 260px;
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    padding: 14px 22px;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: all .25s ease;
    border-left: 4px solid transparent;
}

.woocommerce-MyAccount-navigation a:hover {
    background: #43241A;
    color: #F1E9E5;
    font-weight: 600;
    border-left-color: #BF9A84; /* color elegante */
}

/* Activo */
.woocommerce-MyAccount-navigation .is-active a {
    background: #43241A;
    color: #F1E9E5;
    font-weight: 600;
    border-left-color: #BF9A84; /* color elegante */
}

/* ===== CONTENIDO DERECHA ===== */
.woocommerce-MyAccount-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.woocommerce-MyAccount-navigation a br, .woocommerce-MyAccount-navigation-link--downloads {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .woocommerce-account {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation {
        width: 100%;
    }
}