/* =========================================================
   TITANBYTE / MUNDO TECNOLÓGICO
   TIENDA PRO
   PREFIJO: tbshop-
========================================================= */

.tbshop-page {
    width: 100%;
    padding: 45px 0 80px;
    background: #f6f8fb;
    color: #172033;
}

.tbshop-container {
    width: min(1420px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.tbshop-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.tbshop-heading-main {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tbshop-heading-line {
    width: 5px;
    height: 70px;
    border-radius: 10px;
    background: #087eff;
}

.tbshop-eyebrow {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #087eff;
}

.tbshop-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
    color: #121a2a;
}

.tbshop-subtitle {
    margin: 8px 0 0;
    color: #7b8495;
    font-size: 14px;
}

.tbshop-heading-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #ffffff;
    color: #087eff;
    font-size: 25px;
    box-shadow: 0 8px 30px rgba(20, 35, 60, .08);
}


/* =========================================================
   LAYOUT
========================================================= */

.tbshop-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.tbshop-sidebar {
    min-width: 0;
}

.tbshop-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tbshop-filter-card {
    background: #ffffff;
    border: 1px solid #e9edf4;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(25, 45, 80, .055);
}

.tbshop-filter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.tbshop-filter-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef6ff;
    color: #087eff;
}

.tbshop-filter-label {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9aa3b2;
}

.tbshop-filter-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #1c2638;
}


/* =========================================================
   CATEGORIAS
========================================================= */

.tbshop-category-list {
    display: flex;
    flex-direction: column;
}

.tbshop-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 9px 10px;
    border-radius: 10px;
    color: #5d6676;
    text-decoration: none !important;
    transition: .2s ease;
}

.tbshop-category-item span {
    font-size: 13px;
    font-weight: 600;
}

.tbshop-category-item small {
    min-width: 27px;
    padding: 3px 7px;
    text-align: center;
    border-radius: 20px;
    background: #f1f4f8;
    color: #7e8796;
    font-size: 10px;
    font-weight: 700;
}

.tbshop-category-item:hover {
    background: #f1f7ff;
    color: #087eff;
}

.tbshop-category-item:hover small {
    background: #dcecff;
    color: #087eff;
}


/* =========================================================
   PRECIO
========================================================= */

.tbshop-price-fields {
    display: flex;
    align-items: center;
    gap: 7px;
}

.tbshop-price-input {
    position: relative;
    flex: 1;
}

.tbshop-price-input span {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #8a94a5;
}

.tbshop-price-input input {
    width: 100%;
    height: 42px;
    padding: 0 8px 0 24px;
    border: 1px solid #e1e6ee;
    border-radius: 10px;
    outline: none;
    font-size: 12px;
    color: #202a3b;
    background: #fafbfd;
}

.tbshop-price-input input:focus {
    border-color: #087eff;
    background: #ffffff;
}

.tbshop-price-separator {
    color: #a1a9b7;
}

.tbshop-price-button {
    width: 100%;
    height: 42px;
    margin-top: 12px;
    border: 0;
    border-radius: 10px;
    background: #087eff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.tbshop-price-button i {
    margin-left: 7px;
}

.tbshop-price-button:hover {
    background: #066bd8;
    transform: translateY(-1px);
}


/* =========================================================
   MARCAS
========================================================= */

.tbshop-brand-list {
    display: flex;
    flex-direction: column;
}

.tbshop-brand-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 4px;
    border-bottom: 1px solid #edf0f4;
    color: #5d6676;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
}

.tbshop-brand-item:last-child {
    border-bottom: 0;
}

.tbshop-brand-item i {
    font-size: 9px;
    color: #a4adbb;
    transition: .2s ease;
}

.tbshop-brand-item:hover {
    color: #087eff;
}

.tbshop-brand-item:hover i {
    color: #087eff;
    transform: translateX(3px);
}


/* =========================================================
   MÁS VENDIDOS
========================================================= */

.tbshop-featured-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tbshop-featured-product {
    display: flex;
    gap: 11px;
    padding: 8px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: .2s ease;
}

.tbshop-featured-product:hover {
    background: #f5f8fc;
}

.tbshop-featured-image {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #f7f9fc;
}

.tbshop-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tbshop-featured-info {
    min-width: 0;
}

.tbshop-featured-info > span {
    display: block;
    margin-bottom: 3px;
    font-size: 9px;
    font-weight: 700;
    color: #9ba4b3;
    text-transform: uppercase;
}

.tbshop-featured-info h4 {
    margin: 0 0 5px;
    color: #283246;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
}

.tbshop-featured-info strong {
    color: #087eff;
    font-size: 12px;
}


/* =========================================================
   TOOLBAR
========================================================= */

.tbshop-products-area {
    min-width: 0;
}

.tbshop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 15px 18px;
    margin-bottom: 20px;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 7px 25px rgba(25, 45, 80, .045);
}

.tbshop-results {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tbshop-results-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef6ff;
    color: #087eff;
}

.tbshop-results strong {
    display: block;
    font-size: 14px;
    color: #202a3b;
}

.tbshop-results span:not(.tbshop-results-icon) {
    display: block;
    margin-top: 3px;
    color: #929baa;
    font-size: 11px;
}

.tbshop-stock-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #667183;
    font-size: 11px;
    font-weight: 600;
}

.tbshop-stock-status i {
    font-size: 7px;
    color: #21c477;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.tbshop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.tbshop-product-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(25, 45, 80, .055);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.tbshop-product-card:hover {
    transform: translateY(-5px);
    border-color: #d8e7f8;
    box-shadow: 0 18px 40px rgba(25, 45, 80, .11);
}


/* =========================================================
   IMAGE
========================================================= */

.tbshop-product-image {
    position: relative;
    height: 235px;
    padding: 18px;
    background: linear-gradient(
        145deg,
        #f9fbfe,
        #f2f6fb
    );
}

.tbshop-image-link {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none !important;
}

.tbshop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.tbshop-product-card:hover
.tbshop-product-image img {
    transform: scale(1.07);
}

.tbshop-product-badge {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    padding: 6px 9px;
    border-radius: 7px;
    background: #eafaf2;
    color: #18a866;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.tbshop-image-overlay {
    position: absolute;
    inset: auto 10px 10px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

.tbshop-image-overlay span {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(16, 25, 40, .88);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
}

.tbshop-product-card:hover
.tbshop-image-overlay {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.tbshop-product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.tbshop-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
}

.tbshop-stars {
    color: #ffb21d;
    font-size: 10px;
    letter-spacing: 1px;
}

.tbshop-rating-text {
    color: #a0a8b5;
    font-size: 10px;
}

.tbshop-product-title {
    min-height: 42px;
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 750;
}

.tbshop-product-title a {
    color: #202a3b;
    text-decoration: none !important;
}

.tbshop-product-title a:hover {
    color: #087eff;
}

.tbshop-product-description {
    display: -webkit-box;
    min-height: 34px;
    margin: 0 0 13px;
    overflow: hidden;
    color: #87909f;
    font-size: 11px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* =========================================================
   META
========================================================= */

.tbshop-product-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 0;
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
}

.tbshop-product-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #758092;
    font-size: 10px;
}

.tbshop-product-meta i {
    width: 14px;
    color: #087eff;
    text-align: center;
}


/* =========================================================
   PRICE
========================================================= */

.tbshop-price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin: 15px 0;
}

.tbshop-price-label {
    color: #9aa3b1;
    font-size: 10px;
}

.tbshop-price strong {
    color: #087eff;
    font-size: 21px;
    font-weight: 800;
}


/* =========================================================
   BUTTON
========================================================= */

.tbshop-product-action {
    margin-top: auto;
}

.tbshop-buy-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 43px;
    padding: 0 13px;
    border-radius: 10px;
    background: #111a2a;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 700;
    transition: .2s ease;
}

.tbshop-buy-button span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.tbshop-buy-button > i {
    font-size: 10px;
    transition: .2s ease;
}

.tbshop-buy-button:hover {
    background: #087eff;
}

.tbshop-buy-button:hover > i {
    transform: translateX(4px);
}


/* =========================================================
   SKU
========================================================= */

.tbshop-sku {
    margin-top: 11px;
    color: #a1a9b5;
    font-size: 9px;
    letter-spacing: .3px;
}


/* =========================================================
   EMPTY
========================================================= */

.tbshop-empty {
    padding: 70px 20px;
    text-align: center;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    background: #ffffff;
}

.tbshop-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #eef6ff;
    color: #087eff;
    font-size: 26px;
}

.tbshop-empty h3 {
    margin: 0 0 8px;
    color: #202a3b;
    font-size: 20px;
}

.tbshop-empty p {
    margin: 0 0 20px;
    color: #8b94a3;
    font-size: 13px;
}

.tbshop-empty-button {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 9px;
    background: #087eff;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   PAGINACIÓN
========================================================= */

.tbshop-pagination {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.tbshop-pagination-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px;
    border: 1px solid #e6ebf2;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 7px 25px rgba(25, 45, 80, .05);
}

.tbshop-page-number,
.tbshop-page-control {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #687386;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 700;
    transition: .2s ease;
}

.tbshop-page-number:hover,
.tbshop-page-control:hover {
    background: #eef6ff;
    color: #087eff;
}

.tbshop-page-active {
    background: #087eff;
    color: #ffffff !important;
}

.tbshop-page-dots {
    padding: 0 4px;
    color: #a0a8b5;
}


/* =========================================================
   MOBILE FILTER
========================================================= */

.tbshop-mobile-filter {
    display: none;
}


/* =========================================================
   WHATSAPP
========================================================= */

.tbshop-whatsapp {
    position: fixed;
    z-index: 999;
    right: 24px;
    bottom: 24px;
}

.tbshop-whatsapp a {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #20c76b;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 29px;
    box-shadow: 0 10px 30px rgba(25, 170, 90, .30);
    transition: .25s ease;
}

.tbshop-whatsapp a:hover {
    transform: translateY(-4px) scale(1.04);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .tbshop-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 20px;
    }

    .tbshop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tbshop-product-image {
        height: 220px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .tbshop-page {
        padding: 25px 0 60px;
    }

    .tbshop-container {
        width: min(100% - 24px, 600px);
    }


    /* HEADER */

    .tbshop-heading {
        margin-bottom: 22px;
    }

    .tbshop-heading-line {
        width: 4px;
        height: 55px;
    }

    .tbshop-title {
        font-size: 25px;
    }

    .tbshop-subtitle {
        max-width: 260px;
        font-size: 11px;
    }

    .tbshop-heading-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 19px;
    }


    /* LAYOUT */

    .tbshop-layout {
        display: block;
    }


    /* FILTER BUTTON */

    .tbshop-mobile-filter {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
        padding: 0 15px;
        border: 1px solid #e3e8ef;
        border-radius: 12px;
        background: #ffffff;
        color: #273247;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
    }

    .tbshop-mobile-filter span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .tbshop-mobile-filter span i {
        color: #087eff;
    }


    .tbshop-sidebar-content {
        display: none;
    }

    .tbshop-sidebar-content.tbshop-filter-open {
        display: flex;
        margin-bottom: 20px;
    }


    /* TOOLBAR */

    .tbshop-toolbar {
        min-height: 58px;
        padding: 10px 12px;
    }

    .tbshop-results-icon {
        width: 36px;
        height: 36px;
    }

    .tbshop-results strong {
        font-size: 12px;
    }

    .tbshop-results span:not(.tbshop-results-icon) {
        font-size: 9px;
    }

    .tbshop-stock-status {
        display: none;
    }


    /* PRODUCTS */

    .tbshop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .tbshop-product-image {
        height: 165px;
        padding: 10px;
    }

    .tbshop-product-content {
        padding: 12px;
    }

    .tbshop-product-badge {
        padding: 5px 6px;
        font-size: 7px;
    }

    .tbshop-product-title {
        min-height: 38px;
        font-size: 12px;
    }

    .tbshop-product-description {
        font-size: 9px;
        min-height: 28px;
    }

    .tbshop-product-meta {
        padding: 8px 0;
    }

    .tbshop-product-meta span {
        font-size: 8px;
    }

    .tbshop-stars {
        font-size: 8px;
    }

    .tbshop-rating-text {
        font-size: 8px;
    }

    .tbshop-price {
        margin: 11px 0;
    }

    .tbshop-price strong {
        font-size: 15px;
    }

    .tbshop-price-label {
        display: none;
    }

    .tbshop-buy-button {
        min-height: 38px;
        padding: 0 9px;
        font-size: 9px;
    }

    .tbshop-buy-button > i {
        display: none;
    }

    .tbshop-sku {
        font-size: 7px;
    }

    .tbshop-image-overlay {
        display: none;
    }


    /* PAGINATION */

    .tbshop-pagination {
        margin-top: 25px;
    }

    .tbshop-pagination-inner {
        gap: 3px;
    }

    .tbshop-page-number,
    .tbshop-page-control {
        width: 31px;
        height: 31px;
        font-size: 9px;
    }


    /* WHATSAPP */

    .tbshop-whatsapp {
        right: 15px;
        bottom: 15px;
    }

    .tbshop-whatsapp a {
        width: 52px;
        height: 52px;
        font-size: 25px;
    }

}


/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 430px) {

    .tbshop-grid {
        grid-template-columns: 1fr;
    }

    .tbshop-product-image {
        height: 220px;
    }

    .tbshop-product-title {
        font-size: 14px;
    }

    .tbshop-product-description {
        font-size: 10px;
    }

    .tbshop-price strong {
        font-size: 18px;
    }

}