/*
Theme Name: Bolichero
Theme URI: https://simon8x.github.io/portfolio/
Description: Bolichero Theme
Author: Simon8x
Author URI: https://simon8x.github.io/portfolio/
Template: astra
Version: 1.0.0
*/

/* dos lineas para el nombre falta el trncado */
.woocommerce-js ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	line-height: 1.2em;
	height: 3.6em;
	display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* texto del botón */
.woocommerce-js ul.products li.product .button, .woocommerce-page ul.products li.product .button {
  font-size: .8rem;
  width: 100%;
  text-align: center;
  font-weight: 600;
}

/* ratio de la imagen en listado*/
.woocommerce-js ul.products li.product .astra-shop-thumbnail-wrap, .woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap {
	aspect-ratio: 1/1;
	overflow: hidden;
}


.woocommerce-shop .cfvsw_variations_form {
	position: absolute;
	top: 30%;
	left: .25rem;
}

.woocommerce-js ul.products li.product .price, .woocommerce-page ul.products li.product .price {
  height: 2.6em;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* galería de imágenes del producto*/
.woocommerce-js div.product div.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: calc(12.5% - .75em);
}
/* achicando galería de fotos */
.woocommerce-js div.product div.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
  clear: unset;
}

.woocommerce-js div.product div.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(8n+1) {
  clear: left;
}

/* pdp */
.woocommerce-product-gallery__image {
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
}

.woocommerce-js div.product div.images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/*search result*/
.ast-article-post .post-thumb-img-content img {
	aspect-ratio: 1/1;
}

.ast-blog-layout-4-grid .ast-article-inner .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* button to top */
.ast-scroll-to-top-right {
  bottom: 75px;
}

/* side bar*/

.ast-left-sidebar #secondary {
    padding-right: 6px;
  }

.wp-block-search__inside-wrapper {
  flex-direction: column;
  gap: 10px;
}

#secondary .wp-block-search__button {
  margin: 0;
}

.wc-block-product-categories-list li {
  padding-left: 0;
}

.woocommerce-page .widget .wc-block-price-slider {
  padding-inline: 2px;
}

.woocommerce-page .widget .wc-block-price-slider .wc-block-components-price-slider__controls {
  justify-content: space-between;
}

.wc-block-price-filter__amount {
	max-width: unset;
	font-size: 10px;
}

.woocommerce-page .widget .wc-block-price-slider .wc-block-components-price-slider__controls .wc-block-components-price-slider__amount{
	max-width: unset;
}

.woocommerce-page .widget .wc-block-price-slider .wc-block-components-price-slider__controls  input {
	font-size: 10px!important;
}

.wp-block-heading {
  color: #111827;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.search-results .entry-meta,
.single-product .entry-meta {
	display: none;
}


/* customizaciones sobre dokan vendor dashboard */

/* DASHBOARD DOKAN */

.dokan-dashboard-menu .withdraw,
.dokan-dashboard-menu .settings,
.dokan-dashboard-menu .dokan-common-links,
.dokan-dashboard-switcher .old-dashboard-switch-ui {
	display: none;
}

.dokan-product-listing .dokan-table tr th:nth-of-type(8) {
	display: none;
}

.dokan-product-listing .dokan-table tbody tr td:nth-of-type(7){
	display: none;
}

.dokan-orders-content .dokan-table tr th:nth-of-type(4) {
	display: none;
}

.dokan-orders-content  .dokan-table tbody tr td:nth-of-type(3) {
	display: none;
}

.dokan-orders-area .dokan-order-details-wrap .dokan-order-left-content>div>div:nth-of-type(5){
	display: none;
}

