/* =====================================================
   DNEWURBAN
   PRODUCTOS / TIENDA
===================================================== */


/* =====================================================
   SECCIÓN PRINCIPAL
===================================================== */

.products-section {
    padding: 70px 0 90px;
    background: #ffffff;
}


/* =====================================================
   ENCABEZADO
===================================================== */

.products-section .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.products-section .section-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #777;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.products-section .section-header h1 {
    margin: 0;
    color: #111;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
}


/* =====================================================
   LINK REGRESAR
===================================================== */

.products-section .section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #111;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: all 0.3s ease;
}

.products-section .section-link:hover {
    color: #666;
    gap: 12px;
}


/* =====================================================
   FILTROS
===================================================== */

.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.product-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 90px;
    padding: 10px 20px;

    border: 1px solid #ddd;
    border-radius: 30px;

    background: #fff;
    color: #222;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    transition: all 0.3s ease;
}

.product-filter:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

.product-filter.active {
    border-color: #111;
    background: #111;
    color: #fff;
}


/* =====================================================
   TARJETA DE PRODUCTO
===================================================== */

.products-section .product-card {
    height: 100%;
    background: #fff;

    border: 0;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.products-section .product-card:hover {
    transform: translateY(-5px);
}


/* =====================================================
   IMAGEN DEL PRODUCTO
===================================================== */

.products-section .product-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1.15;

    overflow: hidden;

    background: #f5f5f5;
}


/* =====================================================
   IMAGEN
===================================================== */

.products-section .product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.products-section .product-card:hover .product-image img {
    transform: scale(1.05);
}


/* =====================================================
   ETIQUETA
===================================================== */

.products-section .product-tag {
    position: absolute;
    top: 15px;
    left: 15px;

    z-index: 2;

    padding: 6px 10px;

    background: #111;
    color: #fff;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1px;
}


/* =====================================================
   FAVORITOS
===================================================== */

.products-section .product-favorite {
    position: absolute;
    top: 12px;
    right: 12px;

    z-index: 3;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);
    color: #111;

    cursor: pointer;

    transition: all 0.3s ease;
}

.products-section .product-favorite:hover {
    background: #111;
    color: #fff;
}


/* =====================================================
   INFORMACIÓN
===================================================== */

.products-section .product-info {
    padding: 18px 2px 5px;
}


/* =====================================================
   CATEGORÍA
===================================================== */

.products-section .product-category {
    display: block;

    margin-bottom: 6px;

    color: #888;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


/* =====================================================
   NOMBRE
===================================================== */

.products-section .product-info h3 {
    margin: 0 0 8px;

    color: #111;

    font-size: 16px;
    font-weight: 600;

    line-height: 1.4;
}


/* =====================================================
   PRECIO
===================================================== */

.products-section .product-price {
    color: #111;

    font-size: 16px;
    font-weight: 700;
}


/* =====================================================
   SIN PRODUCTOS
===================================================== */

.products-empty {
    padding: 80px 20px;

    text-align: center;
}

.products-empty i {
    display: block;

    margin-bottom: 20px;

    color: #aaa;

    font-size: 55px;
}

.products-empty h3 {
    margin-bottom: 10px;

    color: #111;

    font-size: 24px;
    font-weight: 600;
}

.products-empty p {
    margin-bottom: 25px;

    color: #777;

    font-size: 14px;
}


/* =====================================================
   BOTÓN
===================================================== */

.products-section .btn-dark {
    padding: 11px 22px;

    border-radius: 0;

    font-size: 13px;
    font-weight: 600;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .products-section {
        padding: 55px 0 70px;
    }

    .products-section .section-header h1 {
        font-size: 36px;
    }

}


@media (max-width: 767px) {

    .products-section {
        padding: 45px 0 60px;
    }

    .products-section .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;

        margin-bottom: 25px;
    }

    .products-section .section-header h1 {
        font-size: 30px;
    }

    .product-filters {
        margin-bottom: 30px;
    }

    .product-filter {
        padding: 9px 16px;
        font-size: 12px;
    }

    .products-section .product-image {
        aspect-ratio: 1 / 1.2;
    }

    .products-section .product-info {
        padding-top: 14px;
    }

    .products-section .product-info h3 {
        font-size: 14px;
    }

    .products-section .product-price {
        font-size: 15px;
    }

}


@media (max-width: 575px) {

    .products-section {
        padding-top: 35px;
    }

    .products-section .section-header h1 {
        font-size: 26px;
    }

    .products-section .product-tag {
        top: 10px;
        left: 10px;

        padding: 5px 8px;

        font-size: 9px;
    }

    .products-section .product-favorite {
        top: 8px;
        right: 8px;

        width: 34px;
        height: 34px;
    }

    .products-section .product-info h3 {
        font-size: 13px;
    }

    .products-section .product-category {
        font-size: 9px;
    }

    .products-section .product-price {
        font-size: 14px;
    }

}

/* =====================================================
   DETALLE DEL PRODUCTO
===================================================== */

.product-detail-section {
    padding: 45px 0 90px;
    background: #fff;
}


/* =====================================================
   BREADCRUMB
===================================================== */

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 40px;

    color: #999;
    font-size: 12px;
}

.product-breadcrumb a {
    color: #555;
    text-decoration: none;

    transition: color 0.3s ease;
}

.product-breadcrumb a:hover {
    color: #111;
}

.product-breadcrumb i {
    color: #bbb;
    font-size: 10px;
}


/* =====================================================
   IMAGEN
===================================================== */

.product-detail-image {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #f5f5f5;
}

.product-detail-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 700px;

    object-fit: cover;
}


/* =====================================================
   ETIQUETA
===================================================== */

.product-detail-tag {
    position: absolute;

    top: 20px;
    left: 20px;

    padding: 7px 12px;

    background: #111;
    color: #fff;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.2px;
}


/* =====================================================
   INFORMACIÓN
===================================================== */

.product-detail-info {
    padding: 10px 0;
}

.product-detail-category {
    display: block;

    margin-bottom: 10px;

    color: #888;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.product-detail-info h1 {
    margin: 0 0 18px;

    color: #111;

    font-size: 40px;
    font-weight: 700;

    line-height: 1.15;
}


/* =====================================================
   PRECIO
===================================================== */

.product-detail-price {
    margin-bottom: 15px;

    color: #111;

    font-size: 27px;
    font-weight: 700;
}


/* =====================================================
   PRECIO MAYOREO
===================================================== */

.product-wholesale {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #666;

    font-size: 13px;
}

.product-wholesale i {
    color: #111;
}

.product-wholesale strong {
    color: #111;
}


/* =====================================================
   SEPARADOR
===================================================== */

.product-detail-info hr {
    margin: 28px 0;

    border: 0;
    border-top: 1px solid #e8e8e8;

    opacity: 1;
}


/* =====================================================
   DESCRIPCIÓN
===================================================== */

.product-description {
    margin-bottom: 30px;
}

.product-description h4 {
    margin-bottom: 10px;

    color: #111;

    font-size: 15px;
    font-weight: 600;
}

.product-description p {
    margin: 0;

    color: #666;

    font-size: 14px;

    line-height: 1.8;
}


/* =====================================================
   ESPECIFICACIONES
===================================================== */

.product-specifications {
    margin-bottom: 30px;

    border-top: 1px solid #eee;
}

.product-spec {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 13px 0;

    border-bottom: 1px solid #eee;

    font-size: 13px;
}

.product-spec span {
    color: #888;
}

.product-spec strong {
    color: #222;

    font-weight: 600;
}


/* =====================================================
   ACCIONES
===================================================== */

.product-detail-actions {
    display: flex;
    gap: 10px;

    margin-bottom: 30px;
}

.btn-product-cart {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;

    padding: 12px 20px;

    border: 1px solid #111;

    background: #111;
    color: #fff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

.btn-product-cart:hover {
    background: #333;
    border-color: #333;
}

.btn-product-favorite {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ddd;

    background: #fff;
    color: #111;

    font-size: 18px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.btn-product-favorite:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}


/* =====================================================
   BENEFICIOS
===================================================== */

.product-detail-benefits {
    display: flex;
    flex-direction: column;
    gap: 13px;

    padding-top: 5px;
}

.product-detail-benefits div {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #666;

    font-size: 12px;
}

.product-detail-benefits i {
    width: 20px;

    color: #111;

    font-size: 16px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .product-detail-section {
        padding-top: 35px;
    }

    .product-detail-info h1 {
        font-size: 34px;
    }

}


@media (max-width: 767px) {

    .product-detail-section {
        padding: 30px 0 60px;
    }

    .product-breadcrumb {
        margin-bottom: 25px;
    }

    .product-detail-info {
        padding-top: 10px;
    }

    .product-detail-info h1 {
        font-size: 30px;
    }

    .product-detail-price {
        font-size: 24px;
    }

    .product-detail-image img {
        max-height: 600px;
    }

}


@media (max-width: 575px) {

    .product-detail-info h1 {
        font-size: 26px;
    }

    .product-detail-price {
        font-size: 22px;
    }

    .product-detail-tag {
        top: 12px;
        left: 12px;

        padding: 6px 9px;
    }

    .product-detail-actions {
        gap: 8px;
    }

    .btn-product-cart {
        min-height: 48px;

        font-size: 12px;
    }

    .btn-product-favorite {
        width: 48px;
        height: 48px;
    }

}

/* =====================================================
   VER PRODUCTO
===================================================== */

.product-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 10px;

    color: #111;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.product-view-link:hover {
    gap: 10px;
    color: #666;
}


.product-detail-actions form {
    flex: 1;
    display: flex;
}

.product-detail-actions form .btn-product-cart {
    width: 100%;
}



/* =========================================================
   TIENDA DNEWURBAN
========================================================= */

.store-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.store-header h1 {
    margin: 8px 0 5px;
}

.store-results {
    margin: 0;
    color: var(--gray-500, #777);
    font-size: 14px;
}


/* =========================================================
   BUSCADOR
========================================================= */

.store-search {
    margin-bottom: 35px;
}

.store-search-box {
    display: flex;
    align-items: center;
    min-height: 58px;
    border: 1px solid var(--border, #e8e8e8);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.store-search-box i {
    margin-left: 20px;
    font-size: 20px;
    color: #777;
}

.store-search-box input {
    flex: 1;
    height: 56px;
    border: 0;
    outline: 0;
    padding: 0 18px;
    font-size: 15px;
}

.store-search-box button {
    height: 100%;
    min-width: 110px;
    border: 0;
    background: #111;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}


/* =========================================================
   LAYOUT
========================================================= */

.store-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}


/* =========================================================
   FILTROS
========================================================= */

.store-filters {
    position: sticky;
    top: 100px;
    border: 1px solid var(--border, #e8e8e8);
    background: #fff;
    padding: 22px;
}

.store-filters-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.store-filters-header span {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #777;
}

.store-filters-header h3 {
    margin: 5px 0 0;
    font-size: 17px;
}

.clear-filters {
    font-size: 12px;
    color: #777;
    text-decoration: underline;
    white-space: nowrap;
}

.filter-group {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.filter-group:first-of-type {
    padding-top: 0;
}

.filter-group:last-child {
    border-bottom: 0;
}

.filter-group h4 {
    margin: 0 0 13px;
    font-size: 14px;
}

.filter-group > a {
    display: block;
    padding: 7px 0;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: .2s ease;
}

.filter-group > a:hover,
.filter-group > a.active {
    color: #111;
    font-weight: 600;
}


/* =========================================================
   PRECIO
========================================================= */

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.price-inputs label {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    color: #777;
}

.price-inputs input {
    width: 100%;
    height: 40px;
    padding: 0 9px;
    border: 1px solid #ddd;
    outline: none;
}

.btn-filter-price {
    width: 100%;
    margin-top: 12px;
    height: 40px;
    border: 0;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}


/* =========================================================
   BARRA PRODUCTOS
========================================================= */

.store-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.store-products-toolbar > span {
    color: #777;
    font-size: 14px;
}

.store-products-toolbar select {
    min-width: 210px;
    height: 42px;
    padding: 0 35px 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    outline: none;
    cursor: pointer;
}


/* =========================================================
   SIN RESULTADOS
========================================================= */

.store-empty {
    text-align: center;
    padding: 80px 20px;
    border: 1px solid #eee;
}

.store-empty i {
    font-size: 45px;
    color: #999;
}

.store-empty h3 {
    margin: 18px 0 8px;
}

.store-empty p {
    color: #777;
    margin-bottom: 25px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .store-layout {
        grid-template-columns: 1fr;
    }

    .store-filters {
        position: static;
    }

}


@media (max-width: 767px) {

    .store-header {
        align-items: flex-start;
    }

    .store-header .section-link {
        display: none;
    }

    .store-search-box {
        min-height: 52px;
    }

    .store-search-box input {
        height: 50px;
        min-width: 0;
    }

    .store-search-box button {
        min-width: 80px;
    }

    .store-products-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .store-products-toolbar form {
        width: 100%;
    }

    .store-products-toolbar select {
        width: 100%;
    }

}