/*
Theme Name: gam

WooCommerce styles override
*/


.wrap-block{
	padding-bottom: 40px;
}
table.shop_table_responsive thead {
	display: none;
}

table.shop_table_responsive tbody th {
	display: none;
}

table.shop_table_responsive tr td {
	display: block;
	text-align: right;
	clear: both;
}

table.shop_table_responsive tr td::before {
	content: attr(data-title) ": ";
	float: left;
}

table.shop_table_responsive tr td.product-remove a {
	text-align: left;
}

table.shop_table_responsive tr td.product-remove::before {
	display: none;
}

table.shop_table_responsive tr td.actions::before,
table.shop_table_responsive tr td.download-actions::before {
	display: none;
}

table.shop_table_responsive tr td.download-actions .button {
	display: block;
	text-align: center;
}

@media screen and (min-width: 48em) {

	table.shop_table_responsive thead {
		display: table-header-group;
	}

	table.shop_table_responsive tbody th {
		display: table-cell;
	}

	table.shop_table_responsive tr th,
	table.shop_table_responsive tr td {
		text-align: left;
	}

	table.shop_table_responsive tr td {
		display: table-cell;
	}

	table.shop_table_responsive tr td::before {
		display: none;
	}
}

/**
 * Products
 */
ul.products {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0;
  padding: 0;
}

ul.products li.product {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 270px;
  display: flex;
  flex-direction: column;
  
}

ul.products li.product:hover {
  
}
.gambit-category-banner{
		margin-bottom: 32px;
}
.gambit-category-banner a { display: block; }
.gambit-category-banner img { display: block; width: 100%; height: auto; border-radius: 10px; }
.gambit-category-title{
	color: var(--Black, #232323);

/* H1 - Title */
font-family: Roboto;
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 40px; /* 125% */
margin-bottom: 20px;
margin-top: 0;
}
/* Grid / List View Switcher */
.gambit-products-view.grid-view ul.products {
  flex-direction: row;
}

.gambit-products-view.list-view ul.products {
  flex-direction: column;
}

.gambit-products-view.list-view ul.products li.product {
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  flex:auto;
}

.gambit-products-view.list-view .product .woocommerce-loop-product__title {
  font-size: 20px;
}
.gambit-category-content{
	display: flex;
	flex-wrap: wrap;
	gap:40px;
}
.gambit-products-area{
	flex:1;
}
/* Product item layout */
.gambit-product-item {
  display: flex;
  flex-direction: column;
  
  
  
  
}

.gambit-product-item:hover {
 
}

.gambit-product-item-img img {
  max-width: 100%;
  height: auto;
  
  display: block;
}

.gambit-product-item-title a{
color: var(--Black, #232323);

/* H4 - Title */
font-family: Roboto;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: 24px; /* 133.333% */
  text-decoration: none;
}

.gambit-product-item-reviews{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 15px;
	gap:0 10px;
}
.gambit-rating-stars { display: inline-flex; flex: 0 0 auto; gap: 2px; align-items: center; color: #dbdbdb; }
.gambit-rating-star { display: block; width: 18px; height: 18px; fill: currentColor; }
.gambit-rating-star.is-filled { color: #ffa51e; }
.gambit-product-item-reviews .stars {
  font-size: 20px;
  color: #ffc107;
  margin: 0;
}
.gambit-product-item .gambit-product-item-reviews{
	margin-bottom: 20px;
}
.gambit-product-item-reviews .reviews{
	color: var(--Grey, #868686);

/* Small - Text */
font-family: Roboto;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 18px; /* 138.462% */
}
.list-view .gambit-product-item-img{
	max-width: 230px;
}
.gambit-product-item-specs ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gambit-product-item-specs li {
  color: var(--Black, #232323);
font-family: Roboto;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 18px;
}
.gambit-product-item-specs li span{
	color: var(--Grey, #868686);
font-family: Roboto;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 18px; /* 138.462% */
}

.grid-view .gambit-product-item-specs, .grid-view .gambit-product-item-buttons .oneclick, .grid-view .gambit-product-item-availability{
	display: none;
}
.grid-view .gambit-product-item-reviews{
	margin-bottom: 20px;
}
.product-banner{
	display: flex;
	margin-bottom: 40px;
}
.grid-view .gambit-product-item-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}
.grid-view .gambit-product-item-buttons{
	margin-left:auto;
}
.product-rating-wrap{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap:0 5px;
}
.single-product .product-rating-wrap{
	margin-bottom: 28px;
}
.reviews-count{
	color: var(--Grey, #868686);

/* Small - Text */
font-family: Roboto;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 18px; /* 138.462% */
}
.gambit-product-item-availability{
	color: var(--Primary, #04AF53);

/* Medium - Text */
font-family: Roboto;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 160% */
margin-bottom: 15px;
}
.list-view .gambit-product-item-availability{
	margin-bottom: 20px;
}
.list-view .gambit-product-item-prices{
	margin-bottom: 10px;
}
.gambit-product-item-oldprice {
color: var(--Grey, #868686);
font-family: Roboto;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: normal;
position: absolute;
  width: 100%;
  display: flex;
  gap: 0 10px;
  top: -19px;
  align-items: center;
}
.gambit-product-item-prices{
	position: relative;
}
.gambit-product-item-oldprice span{
	text-decoration: line-through;
}
.gambit-product-item-oldprice span.discount{
text-decoration: none;
}

.gambit-product-item-newprice {
color: var(--Black, #232323);

/* H3 - Title */
font-family: Roboto;
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 24px; /* 120% */
}

.gambit-product-item-buttons {
  display: flex;
  gap: 10px;
 	align-items: center;
}

.gambit-product-item-buttons .oneclick {  
	padding: 10px 15px;
	border-radius: 8px;
	background: var(--Primary, #04AF53);
	color: var(--White, #FFF);
	font-family: Roboto;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	text-decoration: none;
	line-height: 24px;
	display: flex;
}

.gambit-product-item-buttons .addtocart{
	border-radius: 8px;
  border: 1px solid #cdd5cf;
  background: #fff;
  color: #303b33;
  padding: 9px 15px;
  display: flex;
  gap: 0 10px;
  text-decoration: none;
}
.gambit-product-item-buttons .addtocart:is(:hover,:focus-visible),
.woocommerce .add_to_cart_button:is(:hover,:focus-visible) {
	border-color: #91b59b;
	background: #f1f7f3;
	color: #2d6943;
}
.gambit-product-item-buttons .addtocart::before {
	content: "";
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: url("img/addtocart.svg") center / contain no-repeat;
	mask: url("img/addtocart.svg") center / contain no-repeat;
}
.addtocart span{
	color: inherit;
	font-family: Roboto;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px;
}
.list-view .addtocart span{
	display: none;
}
.list-view .gambit-product-item-info{
	margin-left:auto;
}
.woocommerce-notices-wrapper .woocommerce-message{
	background: #f9f9f9;
  padding: 15px;
  margin-bottom: 20px;
}
.gambit-product-item-buttons .addtocart img { display: none; }
.page-template-default .main-block .aside-block{
	padding-bottom: 60px;
}
/* Sort bar */
.gambit-sort-bar {
  display: flex;
  flex-wrap: wrap;
padding-bottom: 28px;
border-bottom:1px solid #DBDBDB;
margin-bottom: 40px;
}

.gambit-sort-options{
	display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  align-items: center;
}
.gambit-sort-bar span{
	color: var(--Grey, #868686);

/* Medium - Text */
font-family: Roboto;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 160% */
}
.gambit-sort-bar .sort-link{
	color: var(--Grey, #868686);
display:flex;
align-items:center;
font-family: Roboto;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 160% */
text-decoration: none;
}
.woocommerce-result-count, form.woocommerce-ordering{
	display: none;
}
.gambit-sort-bar .sort-link:hover, .gambit-sort-bar .sort-link.active{
	color:#232323;
}
.breadcrumbs-block-wrapper{
	margin: 20px 0;
}


.products-home-swiper{
	position: relative;
}
.swiper-button-prev2{
	background: url(./img/slide-prev2.svg) no-repeat;
	width: 86px;
  height: 86px;
  left: -46px;
  top: 40%;
  position: absolute;
  z-index: 2;
  cursor: pointer;  
}
.swiper-button-next2{
	background: url(./img/slide-next2.svg) no-repeat;
	width: 86px;
  height: 86px;
  right: -46px;
  top: 40%;
  position: absolute;
  z-index: 2;
  cursor: pointer;
}
.swiper-button-prev2.swiper-button-disabled, .swiper-button-next2.swiper-button-disabled{
	opacity: 0;
}
.gambit-product-item-data-wrap{
	display: flex;
	flex-wrap: wrap;
	flex:1;
}
 .mobile-only {
    display: none;
  }
  .oneclick-form{
  	display: flex;
  	flex-wrap: wrap;
  	width: 100%;
  	gap:0 20px;
  	margin-bottom: 20px;
  }
  .oneclick-form-product-name{
  	color: var(--Black, #232323);

/* Paragraph */
font-family: Roboto;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 150% */
  }
  .oneclick-form-product-price{
  	color: var(--Black, #232323);
text-align: right;

/* Paragraph - Semibold */
font-family: Roboto;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 24px; /* 150% */
  }





@media screen and (max-width: 767px){
	ul.products>li.product{
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
		flex: auto;
		 padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #DBDBDB;
	}
	.grid-view ul.products>li.product .gambit-product-item-reviews{
		margin-bottom: 13px;
	}
	ul.products>li.product .gambit-product-item-img{
		max-width: 100px;flex:0 0 100%;
	}
	.discount{
		padding: 2px 4px;
		font-size: 12px;
	}
	.category-page-top .product-main{
		max-width: 100%;
	}
	.product-header .product-specs{
		display: none;
	}
	.gambit-product-item-title a{
		color: var(--Black, #232323);

/* Paragraph - Semibold */
font-family: Roboto;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 24px; /* 150% */
	}
	.gambit-product-item-newprice{
		color: var(--Black, #232323);

/* H4 - Title */
font-family: Roboto;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: 24px; /* 133.333% */
margin-bottom: 10px;
	}
	ul.products>li.product .gambit-product-item-buttons .addtocart span{
		display: none;
	}
	.grid-view ul.products>li.product .gambit-product-item-specs, .grid-view ul.products>li.product .gambit-product-item-buttons .oneclick, .grid-view ul.products>li.product .gambit-product-item-availability{
		display: flex;
	}
	.grid-view ul.products>li.product .gambit-product-item-availability {
		width: 100%;
		margin-top:15px;
		margin-bottom: 10px;
		color: var(--Primary, #04AF53);

/* Small - Text */
font-family: Roboto;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 18px; /* 138.462% */
	}
	.gambit-product-item-oldprice{
		position: relative;
		top:auto;
	}
	ul.products{
		gap:0;
	}
.products-home-swiper .swiper-button-next2, .products-home-swiper .swiper-button-prev2{
	display: none;
}
	.grid-view ul.products>li.product .gambit-product-item-buttons{
		margin-left:0;
		width: 100%;
	}
	.gambit-product-item-buttons .addtocart{
		margin-left:auto;
	}
	.gambit-product-item-specs ul{
		display: flex;
		flex-wrap: wrap;
		gap:5px;
	}
	.gambit-product-item-specs li{
		width: 100%;
	}
	.gambit-category-title{
		color: var(--Black, #232323);

/* H2 - Title */
font-family: Roboto;
font-size: 26px;
font-style: normal;
font-weight: 600;
line-height: 32px; /* 123.077% */
	}


	    .mobile-only {
      display: block;
    }
    .gambit-sort-bar {
      display: none;
    }
    .gambit-mobile-controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }
    .sort-dropdown select {
      padding: 9px 42px 9px 10px;
      background-position: 98% 52%;
    }
    .filter-button {
      padding: 9px 15px;
      background: transparent;
      border-radius: 8px;
      border: 1px solid var(--Divider, #DBDBDB);
      

      color: var(--Black, #232323);

/* Button - Small */
font-family: Roboto;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 171.429% */
    }
    .gambit-offcanvas {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      height: 100%;
      background: #fff;
      z-index: 1001;
      transition: right 0.3s ease-in-out;
      padding: 20px;
      overflow-y: auto;
    }
    .gambit-offcanvas.open {
      right: 0;
    }
    .offcanvas-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1000;
      display: none;
    }
    .offcanvas-backdrop.visible {
      display: block;
    }
    .offcanvas-close {
      background: none;
      border: none;
      font-size: 24px;
      position: absolute;
      top: 10px;
      right: 15px;
    }


}

#dellin-city-modal           { width:320px; }
#dellin-city-modal h3        { margin:0 0 12px;font:600 20px/1.2 Roboto;}
#dellin_city                 {width:100%;padding:6px;}
#dellin_city_list            {margin:8px 0 0;max-height:260px;overflow:auto;
                               border:1px solid #eee;}
#dellin_city_list .gdb-row   {padding:6px 8px;cursor:pointer}
#dellin_city_list .gdb-row:hover{background:#f5f5f5}

/* Task 07: real product-category archive. */
.tax-product_cat .gambit-category-content {
	display: grid;
	grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
	gap: 40px;
}
.tax-product_cat .gambit-products-area { min-width: 0; }
.tax-product_cat .gambit-products-view.list-view ul.products { display: grid; gap: 0; }
.tax-product_cat .gambit-products-view.list-view ul.products li.product {
	display: grid;
	grid-template-columns: minmax(160px, 230px) minmax(0, 1fr);
	gap: 30px;
	width: 100%;
	padding: 28px 0;
	border-bottom: 1px solid #dbdbdb;
}
.tax-product_cat .list-view .gambit-product-item-img { max-width: none; }
.tax-product_cat .list-view .gambit-product-item-data-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, auto); gap: 28px; }
.tax-product_cat .list-view .gambit-product-item-info { display: flex; min-width: 170px; flex-direction: column; align-items: flex-start; margin-left: 0; }
.tax-product_cat .list-view .gambit-product-item-buttons { margin-top: auto; }
.tax-product_cat .gambit-product-item-title { margin: 0 0 12px; }
.tax-product_cat .gambit-product-item-reviews .star-rating { margin: 0; }
.tax-product_cat .reviews-block { color: #868686; font-size: 13px; text-decoration: none; }
.tax-product_cat .gambit-product-item-specs { margin: 0; padding: 0; list-style: none; }
.tax-product_cat .gambit-product-item-oldprice { position: static; width: auto; margin-bottom: 2px; }
.tax-product_cat .gambit-product-item-oldprice del { color: #868686; }
.tax-product_cat .gambit-product-item-oldprice .discount { background: #ff1e1e; color: #fff; text-decoration: none; }
.tax-product_cat .gambit-product-item-buttons .oneclick { border: 0; cursor: pointer; }
.tax-product_cat .gambit-products-view.grid-view ul.products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.tax-product_cat .gambit-products-view.grid-view ul.products li.product { width: auto; min-width: 0; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-data-wrap { display: flex; min-width: 0; flex-direction: column; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-info { margin-top: auto; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-img { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; margin-bottom: 14px; background: #fff; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-img a { display: block; width: 100%; height: 100%; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-img img { width: 100%; height: 100%; object-fit: contain; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-title { min-height: 0; margin-bottom: 6px; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-title a { font-size: 15px; line-height: 20px; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-reviews { min-height: 18px; gap: 8px; margin-bottom: 12px; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-reviews .gambit-rating-stars { gap: 1px; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-reviews .gambit-rating-star { width: 14px; height: 14px; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-info { display: grid; grid-template-columns: minmax(0,1fr) 46px; gap: 8px; align-items: end; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-prices { align-self: end; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-oldprice { position: static; min-height: 20px; margin-bottom: 1px; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-buttons { align-self: end; margin: 0; }
.tax-product_cat .gambit-products-view.grid-view .gambit-product-item-buttons .addtocart { display: grid; width: 46px; height: 46px; box-sizing: border-box; place-content: center; margin: 0; padding: 10px; }

@media screen and (max-width: 1180px) and (min-width: 768px) {
	.tax-product_cat .gambit-products-view.grid-view ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
}

@media screen and (max-width: 767px) {
	.tax-product_cat .gambit-category-content { display: block; }
	.tax-product_cat .gambit-sort-bar { display: none; }
	.tax-product_cat .gambit-products-view.list-view ul.products li.product,
	.tax-product_cat .gambit-products-view.grid-view ul.products li.product {
		display: grid;
		grid-template-columns: 100px minmax(0, 1fr);
		gap: 18px;
		padding: 24px 0;
	}
	.tax-product_cat .list-view .gambit-product-item-data-wrap,
	.tax-product_cat .grid-view .gambit-product-item-data-wrap { display: block; }
	.tax-product_cat .gambit-product-item-info { min-width: 0; }
}
