/*
Theme Name:     dls web studio
Theme URI:      n/a
Template:       kadence
Author:         Alejandra DLS
Author URI:     n/a
Description:    El tema hijo personaliza diseño y funcionalidad, manteniendo las configuraciones del tema padre intactas y facilitando el mantenimiento y escalabilidad del proyecto.
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ==========================================================================
   Main page
   ========================================================================== */

.home .entry-hero {
    display: none;
}
.content-area {
    margin: 0;
}
.home .entry-content-wrap {
    padding: 0;
}
.content-width-narrow .content-container.site-container {
    padding: 0;
    margin: 0;
    max-width: 1400px;
}

/* ==========================================================================
   Card plans
   ========================================================================== */

.single-content .pricing {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.single-content .plan-card-list,
.single-content .dls-list {
    list-style-type: none;
    margin: 0;
}
.plan-card-list li {
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.plan-card-list li:last-child {
    margin-bottom: 0;
}
.plan-destacado {
    transform: translateY(-5px); 
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 10;
}
.plan-destacado:hover {
    transform: translateY(-8px);
}
.single-content .dls-list {
    position: relative;
    padding-bottom: 1.5rem;
    padding-top: 2px;
    padding-left: 3.1rem;
}
.dls-dd__list li {
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.single-content .dls-dd__list {
    padding-right: 2rem;
}
.dls-list > li::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0.4rem;
  width: 15px;
  height: 15px;
  background-image: url("https://dlswebstudio.com/wp-content/uploads/2026/04/black-check.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.dls-dd__list li:first-child {
    margin-top: 10px;
}
.dls-dd__list li:last-child {
    border-width: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.dls-dd__trigger {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .7em;
    font-weight: 600;
}
.dls-dd__trigger:hover,
.dls-dd__trigger:focus,
.dls-dd__trigger:active {
    background: rgba(0, 0, 0, 0);
    color: #2d3748;
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.dls-dd__icon {
    width: .45em;
    height: .45em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease;
    margin-top: -3px;
}
.dls-dd__trigger[aria-expanded="true"] .dls-dd__icon {
    transform: rotate(-135deg);
    margin-top: 3px;
}
.dls-dd__panel {
    overflow: hidden;
    height: 0;
    transition: height .35s ease;
}
.dls-pricing-nav { 
    display: none; 
}
.plan-badge {
    position: relative;
}
.popular-badge {
    position: relative;
}
.popular-badge::before {
    content: "";
    position: absolute;
    right: 3.6rem;
    top: 0;
    width: 15px;
    height: 15px;
    background-image: url(https://dlswebstudio.com/wp-content/uploads/2026/04/popular-plan.svg);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}
.popular-badge::after {
    content: "Popular";
    position: absolute;
    font-size: .85rem;
    font-weight: 500;
    color: #7a5cff;
    right: 0;
    top: -5px;
    background-color: #f5f5f5;
    width: 82px;
    text-align: right;
    border-radius: 15px;
    padding: 3px 8px;
}
.pricing.pro {
    position: relative;
}
.pricing.pro::after {
    content: "Desde";
    position: absolute;
    font-size: 1rem;
    font-weight: 500;
    left: 0;
    top: -20px;
}

/* ==========================================================================
   Coming soon tooltip
   ========================================================================== */

.proximamente {
    position: relative;
    cursor: pointer !important;
}
.proximamente::after {
    content: "Próximamente";
    position: absolute;
    bottom: -60%;
    left: 60%;
    transform: translateX(-57%);
    background-color: #1a202c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}
.proximamente:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -55%;
}
span.kb-button {
    overflow: visible;
}
span.kb-button.proximamente {
    pointer-events: auto;
    cursor: pointer !important;
    position: relative;
}

span.kb-button.proximamente * {
    pointer-events: none;
}

span.kb-button.proximamente::after {
    content: "Próximamente";
    position: absolute;
    bottom: -60%;
    left: 45%;
    transform: translateX(-50%);
    background-color: #1a202c;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 999999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

span.kb-button.proximamente:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40%;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-widget-area-inner ul {
    padding-left: 0;
    margin: 0;
    list-style-type: none;
    display: block;
}

/* ==========================================================================
   Blog post
   ========================================================================== */

.custom-cap::first-letter {
    float: left;
    font-size: 3.2em;
    line-height: 0.8;
    margin-right: 3px;
    margin-top: 4px;
    font-weight: bold;
    color: #2d3436;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .dls-pricing-carousel {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .dls-pricing-carousel::-webkit-scrollbar { 
        display:none; 
    }

    .dls-pricing-carousel { 
        scrollbar-width: none; 
    }

    .dls-pricing-slide {
        flex: 0 0 88%;
        scroll-snap-align: start;
    }

    .dls-pricing-nav {
        display: block;
    }

    .dls-pricing-arrow {
        position: absolute;
        top: 47%;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
        padding: 0;
        border-radius: 999px;
        border: 1px solid rgba(0,0,0,.15);
        background: #f5f5f5;
        cursor: pointer;
        line-height: 1;
        z-index: 5;
        font-size: 0;
        color: #000;
        display: grid;
        place-items: center;
    }

    .dls-pricing-arrow.prev { 
        left: 20px; 
    }

    .dls-pricing-arrow.next { 
        right: 20px; 
    }

    .dls-pricing-arrow { 
        -webkit-tap-highlight-color: transparent; 
    }

    /* Flechas dibujadas con CSS */
    .dls-pricing-arrow::before {
        content: "";
        width: 12px;
        height: 12px;
        border-right: 3px solid currentColor;
        border-bottom: 3px solid currentColor;
        display: block;
    }

    .dls-pricing-arrow.prev::before {
        transform: rotate(135deg); /* izquierda */
        margin-left: 4px;
    }

    .dls-pricing-arrow.next::before {
        transform: rotate(-45deg); /* derecha */
        margin-right: 4px;
    }

    .dls-pricing-wrap .kt-row-column-wrap {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding: 20px 30px !important; 
        gap: 20px;
    }
    
    .dls-pricing-wrap .kt-row-column-wrap::after {
        content: "";
        flex: 0 0 10px;
    }

    .dls-pricing-wrap .kt-row-column-wrap::-webkit-scrollbar { 
        display:none; 
    }

    .dls-pricing-wrap .kt-row-column-wrap { 
        scrollbar-width: none; 
        padding: 10px 30px;
    }

    .dls-pricing-wrap .kt-row-column-wrap > .wp-block-kadence-column {
        flex: 0 0 88% !important; 
        width: auto !important;
        max-width: none !important;
        scroll-snap-align: center;
    }

    .dls-pricing-wrap .dls-pricing-slide {
        scroll-snap-align: center;
    }
    
    .dls-button.kb-button {
        width: 100%;
    }
    
    .banner-bg.kadence-column2_0f77a2-95 > .kt-inside-inner-col:before {
        background-size: 90%;
    }
}





