bodybody:has(.category-template) {
    padding: 0 !important;
    margin: 0 !important;
}

body:has(.category-template) .site-header,
body:has(.category-template) .sidebar,
body:has(.category-template) .site-footer {
    display: none !important;
}

body:has(.category-template) #main-content>div:nth-child(1).container,
body:has(.category-template) .entry-content,
body:has(.category-template) #main-content {
    max-width: 100% !important;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.category-template.services-page {
    background-image: url("http://www.nelum.beauty/wp-content/uploads/2025/03/gradiente-5.png");
    background-repeat: no-repeat;
    object-fit: fill;
    margin:0;
    background-size: cover;
    background-position:center;
}

.category-template.services-page .category-description,
.category-template.services-page .category-title {
    color: #fff;
}

.category-template.categories-page .category-description,
.category-template.categories-page .category-title {
    color: rgb(72, 88, 61);
}

.category-template.categories-page {
    background-color: #f7f2f2;
}

.elements-container {
    display: flex;
    width: 70%;
    gap: 3em;
    flex-wrap: wrap;
    margin: 4% auto;
    justify-content: center;
    align-items: flex-start;
}

.category-content {
    padding: 54px 0;
    margin: auto;
}

.category-title {
    font-family: "Comfortaa";
    text-align: center;
    font-size: min(13vw, 4em);
    margin: 25px 0 15px;
    padding: 0 30px;
    line-height: 1.2;
}

.category-description {
    font-family: "Comfortaa";
    font-size: min(8vw, 2em);
    margin: auto;
    text-align: center;
    line-height: 1.65;
    padding: 0 30px 30px;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin: 30px 0;
    color: #4a6741;
}

.flipbox-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.custom-flipbox {
    width: 30em;
    height: 28em;
    perspective: 1000px;
}

.flipbox-inner {
    color: #fff;
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.custom-flipbox:hover .flipbox-inner {
    transform: rotateY(180deg);
}

.flipbox-front,
.flipbox-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 2em;
}

.flipbox-front {
    background-color: white;
}

.flipbox-back {
    background-color: white;
    transform: rotateY(180deg);
    overflow: hidden;
}

.flipbox-icon {
    margin-bottom: 15px;
}

.flipbox-icon img {
    width: 9em;
    height: 9em;
    object-fit: contain;
}

.flipbox-title {
    color: #333;
    font-weight: bolder;
    margin-bottom: 10px;
    font-family: Open Sans, Arial, sans-serif;
    font-size: 2em
}

.category-flipbox .flipbox-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.category-flipbox .flipbox-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.category-flipbox .flipbox-link {
    position: relative;
    z-index: 1;
    background-color: #a4c095;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin-top: auto;
    transition: background-color 0.3s;
}

.category-flipbox .flipbox-link:hover {
    background-color: #8aaa7b;
}

.service-flipbox .flipbox-price {
    color: #a4c095;
    font-size: 2.5em;
    font-weight: bold;
    font-family: "Comfortaa";
    margin-top: 1em;
}

.service-flipbox .flipbox-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.service-flipbox .flipbox-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.flipbox-description {
    color: white;
    text-align: center;
    margin-bottom: 3.5em;
    position: relative;
    font-size: 1.5em;
    z-index: 1;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    padding: 0 15px;
}

.service-flipbox .booking-btn {
    position: relative;
    z-index: 1;
    background-color: transparent;
    color: white;
    padding: .4em 2em;
    text-decoration: none;
    border-radius: 2em;
    font-weight: bold;
    border: 2px solid white;
    transition: all 0.3s;
    font-size: 1.7em;
}

.service-flipbox .booking-btn:hover {
    background-color: white;
    color: #333;
}