@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

@font-face {
    src: url('../fonts/Montserrat/Montserrat-Regular.ttf');
    font-family: 'Montserrat-Regular';
}
@font-face {
    src: url('../fonts/Montserrat/Montserrat-Bold.ttf');
    font-family: 'Montserrat-Bold';
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat-Regular';
}
b, strong {
    font-family: 'Montserrat-Bold';
}

img{
    max-width: 100%;
    max-height: 100%;
}

.bg-center-cover{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Banner */

.bg-carousel{
    height: 20rem;
}

/* ══════════════════════════════════════════
   Hero Banner Redesign (Home Carousel)
   ══════════════════════════════════════════ */
.hero-banner-wrap {
    position: relative;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-slide {
    min-height: 560px;
}

.hero-slide {
    position: relative;
    overflow: hidden;
}

.hero-slide .container { z-index: 2; }

/* Eyebrow badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    background: rgba(0, 110, 233, 0.1);
    color: #006EE9;
}
.hero-badge .material-symbols-outlined { font-size: 16px; }
.hero-badge-blue  { background: rgba(0, 110, 233, 0.1); color: #006EE9; }
.hero-badge-green { background: rgba(146, 193, 77, 0.15); color: #5c8a2a; }
.hero-badge-red   { background: rgba(185, 23, 47, 0.1); color: #b9172f; }

.hero-cta .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.25s ease;
}
.hero-cta:hover .material-symbols-outlined {
    transform: translateX(3px);
}

.hero-floating-img {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 35px rgba(0,0,0,0.12));
    animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* Decorative stage behind the hero illustration */
.hero-image-stage {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.hero-stage-circle {
    position: absolute;
    width: 78%;
    height: 78%;
    border-radius: 50%;
    z-index: 0;
}
.hero-stage-blue  .hero-stage-circle { background: radial-gradient(circle, rgba(0,110,233,0.16) 0%, rgba(0,110,233,0) 72%); }
.hero-stage-green .hero-stage-circle { background: radial-gradient(circle, rgba(146,193,77,0.22) 0%, rgba(146,193,77,0) 72%); }

.hero-stage-ring {
    position: absolute;
    width: 64%;
    height: 64%;
    border-radius: 50%;
    border: 2px dashed currentColor;
    opacity: 0.3;
    z-index: 0;
    animation: heroSpin 26s linear infinite;
}
.hero-stage-blue  .hero-stage-ring { color: #006EE9; }
.hero-stage-green .hero-stage-ring { color: #92C14D; }
@keyframes heroSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Floating info chips around the illustration */
.hero-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #eae7e7;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 14px 32px rgba(28,27,27,0.12);
    font-family: 'Inter', sans-serif;
    text-align: left;
    animation: heroChipFloat 4.5s ease-in-out infinite;
    white-space: nowrap;
}
.hero-chip .material-symbols-outlined {
    font-size: 18px;
    color: #b9172f;
    background: #faeaec;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-chip strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1c1b1b;
    line-height: 1.2;
}
.hero-chip small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #8f6f6f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hero-chip-1 { top: 4%; left: -4%; animation-delay: 0s; }
.hero-chip-2 { bottom: 6%; right: -6%; animation-delay: 1.4s; }
@keyframes heroChipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Custom arrow controls */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #eae7e7;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c1b1b;
    z-index: 10;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 1;
}
.hero-arrow:hover {
    background: #b9172f;
    border-color: #b9172f;
    color: #fff;
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Progress indicators (replaces default dots) */
.hero-progress-indicators.carousel-indicators {
    position: absolute;
    bottom: 3em;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin: 0;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-progress-indicators.carousel-indicators [data-bs-target] {
    box-sizing: border-box;
    width: 42px;
    height: 5px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 3px;
    background-color: rgba(28, 27, 27, 0.15);
    opacity: 1;
    position: relative;
    overflow: hidden;
    text-indent: -9999px;
    transition: background-color 0.25s ease;
}
.hero-progress-indicators.carousel-indicators [data-bs-target]:hover {
    background-color: rgba(28, 27, 27, 0.28);
}
.hero-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #b9172f;
    border-radius: 3px;
}
.hero-progress-indicators.carousel-indicators .active .hero-progress-fill {
    animation: heroProgressFill 6s linear forwards;
}
@keyframes heroProgressFill {
    from { width: 0%; }
    to   { width: 100%; }
}

@media (max-width: 991px) {
    .hero-arrow { display: none; }
    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: auto;
    }
    .hero-floating-img { animation: none; }
    .hero-chip-1 { left: 2%; }
    .hero-chip-2 { right: 2%; }
}

@media (max-width: 575px) {
    .hero-chip { display: none; }
    .hero-stage-ring { display: none; }
}
.carrousel-title {
    font-weight: 300;
    color: #324150;
}

.carrousel-text span{
    color: rgba(21, 37, 66, 0.6);
    font-size: 18px;
}

.particles-js-canvas-el {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    top: 0;
}

/*Esencia section*/
.esencia-btn {
    border: none;
    background: none;
    color: #d00000;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    position: relative;
}

.esencia-btn .circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #d00000;
    margin: 0 auto 0.25rem;
    border: 2px solid white;
}

.esencia-btn.active .circle {
    box-shadow: 0 0 0 2px #d00000;
    background-color: #ffffff;
}

.esencia-box {
    display: none;
}

.esencia-box.active {
    display: flex;
}

/* Section Reading Club */
.reading-club {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 25rem;
    min-height: 25rem;
  }

.reading-club-card {
    top:14.5rem;
}

.reading-club-laptop {
position: absolute;
bottom: 180px; /* ajusta para subir o bajar la laptop */
left: 50%;
transform: translateX(-50%);
max-width: 300px;
z-index: 3;
}




/* Section Latest */
.latest .title-section{
    font-weight: 700;
    font-size: 32px;
    color: #324150;
}
.latest .title-section i{
    color: #006EE9;
}

.input-search .input-group{
    border: 0.969868px solid #324150;
    display: flex;
    align-items: center;
    border-radius: 10px;
}

.latest #Product-Discount{
    margin-top: 20px;
}

.latest .card{
    background: #FAFAFB;
    border: 0;
    padding: 10px;
}

.latest .card h4{
    margin-top: 10px;
    color: #324150;
    font-weight: 700;
}

.latest .card h4 span{
    color: #324150;
    font-weight: 200;
}

.latest .card p{
    color: #324150;
    font-size: 10px;
    margin-bottom: 5px;
}

.reviews-static .clasificacion{
    margin-bottom: 10px;
    display: inline-block;
    text-align: left;
    direction: rtl;/* right to left */
    unicode-bidi: bidi-override;/* bidi de bidireccional */
}

.reviews-static .clasificacion label{
    color: #D9D9D9;
}

.reviews-static .clasificacion .activo ~ label{
    color:#FFD234;
}

.reviews-static span{
    color: #8D8D8D;
    font-size: 8px;
}

.latest .card .card-price{
    background: #EDF2F8;
    margin: 10px 0;
    border-radius: 4px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.btn-block{
    width: 100%;
}

/* Floating Social Media Buttons */
.floating-social a{
    margin-bottom: 14px;
    margin-right: 14px;
    padding: 9px;
    background: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
}
.floating-social a:hover:nth-child(1){
    background: #006EE9;
}
.floating-social a:hover:nth-child(2){
    background: #E5262D;
}
.floating-social svg{
    display: block;
    margin: 0 auto;
}
.floating-social a:hover path{
    fill: white;
}

/* Reviews */
.reviews .clasificacion{
    margin-bottom: 10px;
    display: inline-block;
    text-align: left;
}

.reviews .clasificacion label{
    color: #D9D9D9;
}

.reviews .clasificacion label:hover{
    color: #FFD234;
}

.reviews .clasificacion input[type = "radio"]{ 
    display:none;
}

.reviews .clasificacion .colorstart + label{
    color:#FFD234;
}
.reviews .clasificacion .colorlabel{
    color:#FFD234;
}
/* .reviews .clasificacion input[type = "radio"]:checked ~ label{
    color:#FFD234;
} */

.reviews span{
    color: #8D8D8D;
    font-size: 12px;
}

/* Section News */
.news .row .content h4{
    font-weight: 700;
    font-size: 36px;
}

.news .row .content .card-input input{
    display: inline-block;
    width: 50%;
}

.news .row .content .card-input button{
    width: 20%;
}

/* Footer */
.footer ul{
    list-style: none;
}
.footer ul li{
    padding: 5px 0;
}
.under-footer{
    background-color: #324150;
    color: #FFFFFF;
}

/* STORE */
/* Sidebar */
.sidebar-store h2{
    margin-bottom: 25px;
}
.sidebar-store .input-search{
    margin: 25px 0;
}

.sidebar-store h5{
    margin-top: 25px;
    font-weight: bold;
}

.sidebar-store a{
    text-decoration: none;
    color:#AFAFAF;
}

.sidebar-store a:hover{
    color:black;
}

.sidebar-store .top-oferta{
    background-color: #dc3545;
    color:white;
    padding: 1px 3px;
}

.sidebar-store .top-oferta:hover{
    color:white;
}

.sidebar-store .filter{
    margin-top: 4px;
    background-color: #F0F0F0;
    color: #324150;
    border-radius: 12px;
}

/* PRODUCT */
.card-product span.badge{
    position: relative;
    border-radius: 5px 0 0 5px;
    z-index: 99;
    margin: 5px;
    padding: 4px 2px 4px 4px;
}

.card-product span.badge .badgebefore{
    content: "\A";
    border-style: solid;
    border-width: 10px 10px 10px 0;
    position: absolute;
    z-index: -99;
    top: 7.6px;
    left: 0.5px;
}

.card-product span.badge .badgeafter{
    content: "\A";
    border-style: solid;
    border-width: 10.5px 8px 10px 0;
    position: absolute;
    top: 0px;
    right: -8px;
    transform: rotate(180deg);
    z-index: -99;
}

/* PRODUCT DETAIL */
.form-check-product-detail{
    display: inline-block;
    width: 150px;
    margin: 12px 10px 15px 0px;
    padding: 10px 20px;
    border: 1px solid #D9D9D9;
    border-radius: 20px;
}

.product-detail-features h2{
    margin: 15px 0;
}
.product-detail-features h5{
    font-weight: 300;
    color: #324150;
    margin: 8px 0;
}
.add-cart{
    display: flex;
    align-items: center;
    font-weight: bold;
}

.add-cart .count{
    display: flex;
    align-items: center;
}

.add-cart .count button,
.add-cart .count span{
    font-size: 20px;
    font-weight: bold;
}

.add-cart .price{
    font-size: 28px;
}


.books-same-author .card{
    border: 0;
}

/* SHOPPING CART */
.shopping-cart-detail-img{
    width: 100px;
    height: 100px;
}

/* SHOPPING INFORMATION */
.shopping-information-img{
    width: 100px;
    height: 100px;
}

/* SHOP HISTORY */
.shop-history-img{
    width: 100px;
    height: 100px;
}

.shop-history-thead{
    background: #324150;
    color:white;
}

/* SHOP FINISHED */
.shop-finished-img{
    width: 100px;
    height: 100px;
}

.shop-finished-lenguage{
    width: 20px;
    height: 20px;   
}

/* .page-item{
    background:white;
}

.active{
    background:white;
    font-weight:bold;
} */

/* .pagination{
    --bs-pagination-border-color:unset;
    --bs-pagination-color:#324150;
    --bs-pagination-active-bg: white;
} */

/* ABOUT US */

.about-us-description{
    background: #FAFAFB;
    margin-top: -25px;
    padding: 35px 0;
}

.subtitle{
    font-weight: 400;
    font-size: 35px;
    color: #324150;
}

/* Mision and Vision */
.container-mision-vision>div{
    display: flex;
}

.mision-vision-text{
    padding: 5px 50px;
}

.mision-vision-text h3{
    font-weight: 400;
}

/* Values */
.values-card{
    background: #FAFAFB;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    border-radius: 16px;
    border: 0;
}

.values-image{
    margin: 25px auto;
    width: 150px;
}

/* Founders */
.founders-image{
    border-radius: 150px;
    width: 174px;
}

/* Teams */

.team-container{
    text-align: center;
}

.team-image{
    border-radius: 100px;
    width: 150px;
    height: 150px;
}

/* Authors */

.profile-card {
    width: 100%;
    text-align: center;
    height: 345px;
    border: none;
}

.profile-card .background-block {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
.profile-card .background-block .background {
    width:100%;
}

.profile-card .card-content {
    padding: 70px 25px 10px 25px;
    border-radius: 0 0 10px 10px;
}

.profile-card .profile {
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 30%;
    width: 110px;
    height: 110px;
    box-shadow: 3px 3px 20px rgb(0 0 0 / 50%);
    -webkit-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
} 
.profile-card h2 {
    margin: 0 0 5px;
    font-weight: 700;
    font-size: 25px;
    color: #324150;
}
.profile-card h2 small {
    display: block;
    margin-top:10px;
    font-weight: 300;
    font-size: 15px;
    color: #324150;
}
.profile-card .icon-block{
    margin-top:15px;
}
.profile-card .icon-block a{
    text-decoration:none;
}
.profile-card .icon-block img {
    width: 30px;
    height: 30px;
    margin: 0 5px;
}
.profile-card-links{
    text-align: center;
}
.profile-card-links a{
    display: block;
    padding-top: 10px;
    color: #AFAFAF;
}
.profile-card-links a:hover{
    color: #324150;
}


/* Author Detail */
.author-detail-cover{
    margin-top: -25px;
}
.author-detail-content .fw-bold{
    font-family: 'Montserrat-Bold' !important;
}

.cover-author {
    width: 100%;
    height:300px;
    position:relative;
    background-image: url('../images/Authors/fondo_claraom.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
/* .cover-author .cover-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.cover-author .cover-image img {
    width:100%;
}

.cover-author .cover-profile-image img{
    border-radius: 50%;
    position: absolute;
    left: 5%;
    top: 30%;
    width: 110px;
    height: 110px;
} */

.author-detail-img img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

@media screen and (max-width: 640px) {
    .carrousel-text{
        text-align: center;
    }

    .latest .title-section{
        font-size: 28px;
    }

    .reading-club .row{
        padding-left: 25px;
    }
    .reading-club h3{
        margin-left: 0 !important;
    }

    .reading-club .card{
        padding-bottom: 20px;
    }
    .reading-club-img{
        text-align: center;
    }
    .reading-club-img img{
        margin-top: -24px;
    }

    .news .image{
        text-align: center;
    }
    .news .row .content{
        padding: 0 25px;
    }
    .news .row .content .card-input input{
        width: 100%;
    }
    .news .row .content .card-input button{
        width: auto;
    }

    .footer .row,
    .footer .text-end{
        text-align: center !important;
    }
}


/* Carrousel */
.carousel-multiple .carousel-inner {
    padding: 1em;
  }
.carousel-multiple   .card {
    margin: 0 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
  }
  .carousel-multiple .carousel-control-prev,
  .carousel-multiple .carousel-control-next {
    background-color: #e1e1e1;
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
  }
  @media (min-width: 768px) {
    .carousel-multiple .carousel-item {
      margin-right: 0;
      /* flex: 0 0 33.333333%; */
      flex: 0 0 25%;
      display: block;
    }
    .carousel-multiple .carousel-inner {
      display: flex;
    }

    
  }
  .carousel-multiple .card .img-wrapper {
      max-width: 100%;
      height: 13em;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  .carousel-multiple .card img {
      max-height: 100%;
  }
  @media (max-width: 767px) {
    /* Home */
    .carrousel-text{
        height: 16rem;
        z-index: 0;
    }
    .carrousel-text h1{
        font-size: 40px;
    }
    .carrousel-text h2{
        font-size: 30px;
    }
    .carousel-multiple .card .img-wrapper {
      height: 17em;
    }

    /* About Us */
    .container-mision-vision>div{
        align-items: center;
        margin-top: 15px;
    }
    .mision-vision-text{
        padding:0;
    }
    .image-founders{
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .esencia-box {
        flex-direction: column;
        text-align: center;
    }
  }


/* E-Ludere - E-Movere*/

.e-ludere.main{
    background: url("../images/E-Ludere/bg-e-ludere.png") no-repeat;
}
.e-movere.main{
    background: url("../images/E-Movere/bg-e-movere.png") no-repeat;
}

.e-ludere.main,
.e-movere.main{
    background-size: cover;
    height: 200px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -25px;
}

.e-ludere.description,
.e-movere.description{
    height: 150px;
    display: flex;
    align-items: center;
}

/* My shopping */
.card-img-gift{
    position: absolute;
    width: 25px;
    top: 10px;
    right: 10px;
}

.link-hover-selected:hover,
.link-hover-selected:focus,
.link-hover-selected:active {
    color: #b9172f !important;
    /* padding-bottom: 0; */
    /* transition: none; */
    /* text-decoration: underline;
    color: #006EE9;
    text-underline-offset: 5px;
    text-unde */
}

.nav-link{
    padding-bottom: 0;
    padding-top: 0;
}

/* .nav-link:visited,
.nav-link:link {
  border-bottom: 2px solid transparent;
} */

/* .gallery-content{
    background-color: #EDF2F8;
    border-radius: 8px;
} */

/* Button of link memo */

.btn-memo:hover{
    background-color: #FF1800 !important;
}

.btn-memo:hover .icon-memo{
    fill:white;
}

/* ==========================================================================
   European Web Design Redesign (2026)
   ========================================================================== */

/* Spacing and Utilities */
.section-gap {
    padding-top: 80px;
    padding-bottom: 80px;
}

.transition-soft {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer */
.footer-euro .footer-muted {
    color: rgba(255, 255, 255, 0.72);
}
.footer-euro a.footer-muted:hover,
.footer-euro a.footer-muted:focus {
    color: #ffffff;
}

/* General button */
.btn-euro {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px !important;
    padding: 0.75rem 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 14px;
}

.btn-euro:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Button overrides to match new design */
.btn-euro.btn-danger {
    background-color: #b9172f;
    border: none;
    color: #ffffff;
}
.btn-euro.btn-danger:hover {
    background-color: rgba(185, 23, 47, 0.9);
}

.btn-euro.btn-outline-secondary {
    border: 1px solid #0058bc !important;
    color: #0058bc;
    background-color: transparent;
}
.btn-euro.btn-outline-secondary:hover {
    background-color: rgba(0, 88, 188, 0.05);
    color: #0058bc;
}

.btn-euro.btn-outline-primary {
    border: 1px solid #b9172f !important;
    color: #b9172f;
    background-color: transparent;
}
.btn-euro.btn-outline-primary:hover {
    background-color: #b9172f;
    color: #ffffff;
}

/* Header Links */
.header-euro-wrapper .nav-link,
.header-euro-wrapper .nav .dropdown-toggle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #5b4040 !important;
    border-radius: 6px;
    padding: 6px 12px;
    transition: color 0.3s ease, background-color 0.3s ease;
}
.header-euro-wrapper .nav-link:hover,
.header-euro-wrapper .nav-link:focus,
.header-euro-wrapper .nav .dropdown-toggle:hover,
.header-euro-wrapper .nav .dropdown-toggle:focus {
    color: #b9172f !important;
}
.header-euro-wrapper .link-hover-selected:hover,
.header-euro-wrapper .link-hover-selected:focus,
.header-euro-wrapper .link-hover-selected:active {
    color: #b9172f !important;
}

/* Header icon buttons (guest / cart / language) */
.header-euro-wrapper .header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5b4040;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1;
    transition: color 0.25s ease;
}
.header-euro-wrapper .header-icon-btn .material-symbols-outlined {
    font-size: 28px;
    line-height: 1;
}
.header-euro-wrapper .header-icon-btn:hover {
    color: #b9172f;
}

.header-euro-wrapper .header-cart-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #b9172f;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* Logged-in account control (avatar + username) */
.header-euro-wrapper .header-account {
    position: relative;
}
.header-euro-wrapper .header-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 180px;
    padding: 0.25rem 0.15rem;
    background: transparent;
    border: none;
    color: #5b4040;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.25s ease;
}
.header-euro-wrapper .header-account-btn:hover,
.header-euro-wrapper .header-account-btn:focus,
.header-euro-wrapper .header-account-btn.show {
    color: #b9172f;
    outline: none;
    box-shadow: none;
}
.header-euro-wrapper .header-account-btn::after {
    margin-left: 0.15rem;
    vertical-align: middle;
    border-top-color: currentColor;
    opacity: 0.7;
}
.header-euro-wrapper .header-account-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #5b4040;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    flex-shrink: 0;
    text-transform: uppercase;
}
.header-euro-wrapper .header-account-btn:hover .header-account-avatar,
.header-euro-wrapper .header-account-btn:focus .header-account-avatar,
.header-euro-wrapper .header-account-btn.show .header-account-avatar {
    background-color: #b9172f;
}
.header-euro-wrapper .header-account-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-euro-wrapper .header-account-menu {
    min-width: 200px;
    margin-top: 0.5rem !important;
    border-radius: 8px;
    border: 1px solid #eae7e7;
    box-shadow: 0 8px 28px rgba(28, 27, 27, 0.08);
    padding: 0.4rem 0;
    background-color: #ffffff;
    z-index: 1050;
}
.header-euro-wrapper .header-account-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #5b4040;
    padding: 0.7rem 1.15rem;
    transition: all 0.2s ease;
}
.header-euro-wrapper .header-account-menu .dropdown-item .material-symbols-outlined {
    font-size: 18px;
    color: #8f6f6f;
}
.header-euro-wrapper .header-account-menu .dropdown-item:hover,
.header-euro-wrapper .header-account-menu .dropdown-item:focus {
    background-color: #fcf9f8;
    color: #b9172f;
}
.header-euro-wrapper .header-account-menu .dropdown-item:hover .material-symbols-outlined,
.header-euro-wrapper .header-account-menu .dropdown-item:focus .material-symbols-outlined {
    color: #b9172f;
}
.header-euro-wrapper .header-account-menu .dropdown-divider {
    margin: 0.35rem 0;
    border-color: #eae7e7;
    opacity: 1;
}
.header-euro-wrapper .header-account-logout {
    color: #b9172f !important;
}
.header-euro-wrapper .header-account-logout .material-symbols-outlined {
    color: #b9172f !important;
}

/* Header nav dropdowns (Noticias / Editorial) */
.header-euro-wrapper .nav .dropdown-menu {
    border-radius: 8px;
    border: 1px solid #eae7e7;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 0.5rem 0;
    margin-top: 0.35rem;
    background-color: #ffffff;
}
.header-euro-wrapper .nav .dropdown-item {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #5b4040;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}
.header-euro-wrapper .nav .dropdown-item:hover,
.header-euro-wrapper .nav .dropdown-item:focus {
    background-color: #fcf9f8;
    color: #b9172f;
}

@media (max-width: 575.98px) {
    .header-euro-wrapper .header-account-name {
        display: none;
    }
    .header-euro-wrapper .header-account-btn {
        max-width: none;
        gap: 0;
    }
}

/* Language Popover overrides */
.popover {
    border-radius: 0 !important;
    border: 1px solid #eae7e7 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    font-family: 'Inter', sans-serif !important;
}
.popover-body {
    padding: 0 !important;
}
.language-content {
    background-color: #ffffff;
}
.language-content .f-language {
    font-size: 14px;
    font-weight: 500;
    color: #5b4040;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.2s ease;
    cursor: pointer;
}
.language-content .f-language:hover {
    background-color: #fcf9f8;
    color: #b9172f;
}

/* Section Nuestra Esencia */
.esencia-card {
    font-family: 'Inter', sans-serif;
    border: 1px solid #e3bebd;
    padding: 2.5rem;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

.esencia-card:hover {
    border-color: #b9172f;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(185, 23, 47, 0.08);
}

.esencia-icon-container {
    width: 64px;
    height: 64px;
    background-color: #fcf9f8;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b9172f;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.esencia-card:hover .esencia-icon-container {
    background-color: #b9172f;
    color: #ffffff;
}

.esencia-icon-container img {
    transition: filter 0.3s ease;
}

.esencia-card:hover .esencia-icon-container img {
    filter: brightness(0) invert(1);
}

/* Home Gallery Section */
.home-gallery-section {
    font-family: 'Inter', sans-serif;
}

.home-gallery-accent {
    width: 48px;
    height: 3px;
    background-color: #b9172f;
}

.home-gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.home-gallery-thumb {
    display: block;
    overflow: hidden;
    border: 1px solid #eae7e7;
    border-radius: 4px;
    aspect-ratio: 4 / 3;
    background-color: #fcf9f8;
}

.home-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-gallery-thumb:hover {
    border-color: #b9172f;
    box-shadow: 0 6px 20px rgba(185, 23, 47, 0.1);
}

.home-gallery-thumb:hover img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .home-gallery-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .home-gallery-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Dynamic Product Cards */
.card-product-euro {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    border: 1px solid #eae7e7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    overflow: hidden;
}

.card-product-euro:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: #b9172f;
}

.card-product-euro img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-bottom: 1px solid #eae7e7;
}

.card-product-euro .card-body {
    padding: 1.5rem;
}

/* Modern search input */
.search-minimal {
    font-family: 'Inter', sans-serif;
    border: 1px solid #324150;
    border-radius: 4px;
    padding: 0.75rem 1.25rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

.search-minimal:focus {
    border-color: #006EE9;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 110, 233, 0.15);
    outline: none;
}

/* Didactic Resources Cards */
.didactic-card {
    font-family: 'Inter', sans-serif;
    border: 1px solid #eae7e7;
    border-radius: 16px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.didactic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.didactic-card-ludere:hover {
    border-color: #0058bc !important;
}

.didactic-card-movere:hover {
    border-color: #92C14D !important;
}

.didactic-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 16px;
}
.didactic-badge-ludere {
    background-color: rgba(0, 88, 188, 0.08);
    color: #0058bc;
}
.didactic-badge-movere {
    background-color: rgba(146, 193, 77, 0.08);
    color: #729a32;
}

.didactic-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1c1b1b;
}

/* Allies Institutional Logos */
.allies-logo-container img {
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.allies-logo-container img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Glassmorphism Reading Club Card */
.reading-club-glass {
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    padding: 3rem;
    max-width: 650px;
}

/* News/Newsletter Section */
.news-minimal {
    font-family: 'Inter', sans-serif;
    background: #F4F4F4;
    border-radius: 4px;
    padding: 40px;
    border: 1px solid #eae7e7;
}

/* Home Search Wrapper to match store.php search style */
.home-search-wrap {
    position: relative;
    max-width: 400px;
    width: 100%;
    margin-left: auto;
}

.home-search-wrap input {
    width: 100%;
    border: none;
    background: #f6f3f2;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1c1b1b;
    padding: 12px 44px 12px 20px;
    outline: none;
    border-radius: 30px;
    box-sizing: border-box;
    transition: all 0.25s ease-in-out;
}

.home-search-wrap input:focus {
    background: #ffffff;
    box-shadow: 0 0 0 2px #b9172f; /* brand red focus ring */
}

.home-search-wrap .search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #767d85;
    pointer-events: none;
}


/* ─────────────────────────────────────────────────────────────
   DIDACTIC SECTION — Modern Split-Panel Layout
   ───────────────────────────────────────────────────────────── */
.didactic-section {
    overflow: hidden;
}

.didactic-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b9172f;
    margin-bottom: 12px;
}

/* Split wrapper: image + content side by side */
.didactic-split {
    display: flex;
    align-items: stretch;
    min-height: 480px;
    margin-bottom: 2px; /* thin gap between the two panels */
}

/* Reversed: content comes visually first */
.didactic-split-reverse {
    flex-direction: row-reverse;
}

/* ── Image Panel ── */
.didactic-split-image {
    position: relative;
    flex: 1 0 50%;
    overflow: hidden;
}

.didactic-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.didactic-split:hover .didactic-split-image img {
    transform: scale(1.04);
}

/* Ambient blur orb behind / above image */
.didactic-split-blur-orb {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    bottom: -60px;
    right: -60px;
    filter: blur(80px);
    pointer-events: none;
}

/* ── Content Panel ── */
.didactic-split-content {
    flex: 1 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 72px;
    background: #ffffff;
}

.didactic-split-ludere .didactic-split-content {
    background: #f8faff;
}

.didactic-split-movere .didactic-split-content {
    background: #f8fff4;
}

.didactic-title {
    font-family: 'Montserrat-Bold', 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1c1b1b;
    margin-bottom: 16px;
}

.didactic-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #5a5a62;
    margin-bottom: 24px;
}

/* Feature list inside content panel */
.didactic-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.didactic-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #3a3a42;
}

.didactic-feature-list li .material-symbols-outlined {
    font-size: 18px;
    flex-shrink: 0;
}

.didactic-split-ludere .didactic-feature-list li .material-symbols-outlined {
    color: #0058bc;
}

.didactic-split-movere .didactic-feature-list li .material-symbols-outlined {
    color: #729a32;
}

/* CTA buttons */
.didactic-cta-ludere {
    background: #0058bc !important;
    color: #fff !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.didactic-cta-ludere:hover {
    background: #004299 !important;
    color: #fff !important;
}

.didactic-cta-movere {
    background: #729a32 !important;
    color: #fff !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.didactic-cta-movere:hover {
    background: #597a25 !important;
    color: #fff !important;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .didactic-split,
    .didactic-split-reverse {
        flex-direction: column !important;
    }

    .didactic-split-image {
        min-height: 260px;
        flex: none;
    }

    .didactic-split-content {
        padding: 40px 24px;
        flex: none;
    }

    .didactic-title {
        font-size: 1.6rem;
    }
}


/* ═══════════════════════════════════════════════════════════════
   NUESTRA ESENCIA — Numbered Steps Timeline
   ═══════════════════════════════════════════════════════════════ */

.esencia-section {
    background: #f7f5f4;
}

.esencia-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b9172f;
    margin-bottom: 12px;
}

.esencia-main-title {
    font-family: 'Montserrat-Bold', 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1c1b1b;
    margin-bottom: 0;
}

.esencia-main-title span {
    color: #b9172f;
}

/* Row that contains the three steps + connector line */
.esencia-steps-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: start;
}

/* Horizontal connector line behind the circles */
.esencia-connector-line {
    position: absolute;
    top: 34px; /* vertically aligned to center of circle */
    left: calc(16.666% + 8px);
    right: calc(16.666% + 8px);
    height: 2px;
    background: #d8d4d2;
    z-index: 0;
    /* hide because it's a pseudo-element trick */
    display: none; /* we'll use ::before on parent instead */
}

/* Better: connector via pseudo-element on the row */
.esencia-steps-row::before {
    content: '';
    position: absolute;
    top: 40px; /* vertically centred on the 80px circles */
    left: calc(16.666% + 8px);
    right: calc(16.666% + 8px);
    height: 2px;
    background: linear-gradient(90deg, #b9172f 0%, #c1bcba 50%, #b9172f 100%);
    opacity: 0.3;
    z-index: 0;
}

/* Individual step */
.esencia-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px 40px;
    z-index: 1;
}

/* Icon circle */
.esencia-step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0dbd9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

/* SVG icon inside circle */
.esencia-step-circle img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Active / highlighted circle (first by default) */
.esencia-step-circle.esencia-step-active {
    background: #b9172f;
    border-color: #b9172f;
    box-shadow: 0 0 0 7px rgba(185, 23, 47, 0.12);
}

.esencia-step-circle.esencia-step-active img {
    filter: brightness(0) invert(1);
}

.esencia-step:hover .esencia-step-circle {
    background: #b9172f;
    border-color: #b9172f;
    box-shadow: 0 0 0 7px rgba(185, 23, 47, 0.12);
}

.esencia-step:hover .esencia-step-circle img {
    filter: brightness(0) invert(1);
}

.esencia-step-title {
    font-family: 'Montserrat-Bold', 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1c1b1b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.esencia-step-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #767d85;
    max-width: 220px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .esencia-steps-row {
        grid-template-columns: 1fr;
    }
    .esencia-steps-row::before { display: none; }
    .esencia-step { padding: 24px 16px; }
}


/* ═══════════════════════════════════════════════════════════════
   E-LUDERE / E-MOVERE — Feature Cards (brand-consistent)
   ═══════════════════════════════════════════════════════════════ */

.didactic-feature-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eae7e7;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.35s cubic-bezier(0.4,0,0.2,1);
    height: 100%;
}

.didactic-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.didactic-feature-ludere:hover {
    border-color: #0058bc;
}

.didactic-feature-movere:hover {
    border-color: #729a32;
}

/* Image area */
.didactic-feature-img-wrap {
    height: 240px;
    overflow: hidden;
    background: #f0f4ff;
}

.didactic-feature-movere .didactic-feature-img-wrap {
    background: #f2f8ec;
}

.didactic-feature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.didactic-feature-card:hover .didactic-feature-img-wrap img {
    transform: scale(1.05);
}

/* Content area */
.didactic-feature-body {
    padding: 28px 32px 32px;
}

.didactic-feature-title {
    font-family: 'Montserrat-Bold', 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1c1b1b;
    margin: 12px 0 10px;
}

.didactic-feature-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #5a5a62;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 576px) {
    .didactic-feature-body { padding: 20px; }
    .didactic-feature-img-wrap { height: 200px; }
}
