/*
Theme Name:     Storefront Child
Theme URI:      https://example.com/storefront-child
Description:    Child theme for Storefront (WooCommerce)
Author:         Your Name
Author URI:     https://example.com
Template:       storefront
Version:        1.0.0
Text Domain:    storefront-child
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/* HOME PAGE */
a{
    transition:0.3s ease;
}
a.button.product_type_variable {
    display: none !important;
}
a:hover{
   outline:none !important;
	border:none !important;
}
p{
	margin:0 !important;
}
.single-product div.product .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.woocommerce-result-count{
	display:none;
}
.woocommerce-pagination{
	margin-right:10px;
}
ul.products{
	margin-bottom:30px !important;
}
.single-product div.product .flex-control-thumbs li {
    width: 20% !important;
	margin:0 !important;
}
/* .single-product div.product .woocommerce-product-gallery img{
	width:100% !important;
} */
.single-product div.product .flex-control-thumbs img {
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: 0.3s;
    cursor: pointer;
}

.single-product div.product .flex-control-thumbs img:hover {
    transform: scale(1.05);
    border-color: #000;
}
.newarrivale img{
	width:100%;
}
.woocommerce-info{
	background-color: #2D443F !important;
}
.woocommerce-billing-fields h3{
	    color: #2D443F;
    font-family: 'Poppins';
    font-weight: 500;
}
.woocommerce-billing-fields__field-wrapper input{
	outline: none !important;
    box-shadow: none !important;
}
.widget-title.wpc-filter-title {
    font-family: 'Poppins';
    padding-bottom: 5px !important;
    font-size: 20px !important;
	line-height:28px;
	color: #24443b !important;
}
body .wpc-filters-main-wrap input.wpc-label-input+label:hover span.wpc-filter-label-wrapper{
	color: #fff !important;
    background-color: #24443b !important;
}
body .wpc-filters-main-wrap input.wpc-label-input+label:hover, body .wpc-filters-main-wrap input.wpc-label-input:checked+label {
    border-color: #24443b !important;
}
body .wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-wrapper {
    background-color: #24443b !important;
}
body .wpc-filters-main-wrap input.wpc-label-input:checked+label span.wpc-filter-label-wrapper, body .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item input:checked+label a {
    color: #fff !important;
}
.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a{
	color: #24443b !important;
}
.woocommerce-ordering {
    margin-bottom: 20px;
    text-align: right;
}

.woocommerce-ordering select.orderby {
    background: #f7f5f2;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 12px 42px 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    min-width: 220px;
    outline: none;
    box-shadow: none;
}
.woocommerce-ordering select.orderby:hover {
    border-color: transparent;
}
.woocommerce-ordering{
	float:right !important;
	margin-right:0 !important;
}
/* Filter Everything - mobile fix */
@media (max-width: 767px){

  /* Filter wrapper full width */
  .fe-widget{
    width:100% !important;
    margin-bottom:16px !important;
    padding:12px;
    background:#fff;
    border-radius:10px;
  }

  /* Each filter dropdown spacing */
  .fe-filter{
    margin-bottom:12px !important;
  }

  /* Apply button full width */
  .fe-submit-btn,
  .fe-reset-btn{
    width:100% !important;
    margin-top:8px;
    border-radius:8px;
  }

  /* Product grid below filter */
  .woocommerce ul.products{
    width:100% !important;
  }
	.woocommerce-ordering{
    width:auto;
    text-align:left;
    margin-bottom:15px;
  }

  .woocommerce-ordering select.orderby{
    width:100%;
    min-width:100%;
    padding:12px 14px;
    font-size:14px;
  }
	.widget_wpc_filters_widget{
    position:fixed !important;
    top:0;
    left:0;
    width:85%;
    max-width:320px;
    height:100vh;
    background:#fff;
    z-index:99999;
    overflow-y:auto;
    padding:20px;
    transform:translateX(-100%);
    transition:transform .3s ease;
}

.widget_wpc_filters_widget.filter-open{
    transform:translateX(0);
}

.filter-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:99998;
    opacity:0;
    visibility:hidden;
    transition:.3s;
}

body.filter-overlay-open .filter-overlay{
    opacity:1;
    visibility:visible;
}
}
.oyewear-grid-switcher{
  display:flex;
  gap:8px;
  justify-content:flex-end;
  position:absolute;
  left:0;
  z-index:99;
	top:20px;
}

.oyewear-grid-switcher .grid-btn{
  border:1px solid #ddd;
  background:#fff;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  font-size:14px;
}

.oyewear-grid-switcher .grid-btn.active{
  background:#24443b;
  color:#fff;
  border-color:#24443b;
}

.woocommerce ul.products.grid-1{
    display:grid !important;
    grid-template-columns:repeat(1,1fr)!important;
    gap:16px;
}
.woocommerce ul.products.grid-1{
  grid-template-columns:repeat(1,1fr)!important;
}

.woocommerce ul.products.grid-2{
  grid-template-columns:repeat(2,1fr)!important;
}

.woocommerce ul.products.grid-3{
  grid-template-columns:repeat(3,1fr)!important;
}

.woocommerce ul.products.grid-4{
  grid-template-columns:repeat(4,1fr)!important;
}
@media(max-width:767px){
  .oyewear-grid-switcher{
    top:2px;
  }
.desktop-only{
    display:none !important;
  }
}
@media (min-width: 768px){
  .oyewear-grid-switcher button[data-cols="1"],
  .oyewear-grid-switcher button[data-cols="2"]{
    display:none !important;
  }
}