/*
Theme Name: Bi-Shop Child
Theme URI: http://live.yithemes.com/bishop-preview/
Version: 1.7.1
Author: Your Inspiration Themes
Author URI: http://yithemes.com/
Description: Ecommerce Wordpress Theme
Text Domain: yit
Core Framework Version: 2.0.0
Tags: white, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, front-page-post-form, full-width-template, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Copyright: (c) 2012-2014 Your Inspiration Themes
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
template: bishop
*/

/* If you need to edit Bi-Shop folder name, pay attention to change the name even in woocommerce/style.css file */

/* Below you can write your style */

/* ===== Flatspot customisations (moved here from functions.php inline styles) ===== */

/* Mobile header: remove the duplicate search icon, full-width search box */
@media (max-width:767px){#header-sidebar .widget_search_mini .search_mini_button i{display:none}#header-sidebar .widget_search_mini .search_mini_content{left:0;right:0;width:100%;box-sizing:border-box;padding:0 10px;box-shadow:0 6px 16px rgba(0,0,0,.10)!important}}

/* Desktop header search: bigger centred icon, wider box with light shadow */
@media (min-width:768px){#header-sidebar .widget_search_mini .search_mini_button{width:72px;padding:0;text-align:center}#header-sidebar .widget_search_mini .search_mini_button i{display:table-cell;vertical-align:middle;text-align:center;width:72px;font-size:28px;line-height:1}#header-sidebar .widget_search_mini .search_mini_content{left:auto!important;right:0!important;width:480px!important;box-sizing:border-box}#header .search_mini_content .dgwt-wcas-search-wrapp{max-width:100%!important;width:100%}#header-sidebar .widget_search_mini .search_mini_content{box-shadow:0 6px 20px rgba(0,0,0,.10)!important;border-radius:0 0 4px 4px}#header .search_mini_content .dgwt-wcas-sf-wrapp{padding:10px 20px!important;box-sizing:border-box}.dgwt-wcas-suggestions-wrapp{box-shadow:0 12px 24px rgba(0,0,0,.10);border-radius:0 0 4px 4px!important}}

/* Category page with display type Both: tiles 3 per row, products start on a new row, 4 per row */
@media (min-width:768px){ul.products:has(>li.product-category){display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));align-items:start}ul.products:has(>li.product-category)::before,ul.products:has(>li.product-category)::after{display:none!important}ul.products:has(>li.product-category)>li{float:none!important;width:auto!important;clear:none!important;margin-left:0!important;margin-right:0!important;grid-column-end:span 4}ul.products:has(>li.product-category)>li[class*="col-sm-2"]{grid-column-end:span 2}ul.products:has(>li.product-category)>li[class*="col-sm-3"]{grid-column-end:span 3}ul.products:has(>li.product-category)>li[class*="col-sm-6"]{grid-column-end:span 6}ul.products:has(>li.product-category)>li.product-category+li:not(.product-category){grid-column-start:1}}

/* Visited links: the theme's visited colour (red) overrides button text. Keep white text only on SOLID buttons (checkout/proceed buttons); give outline buttons and notice buttons their normal text colour back. */
a.checkout-button:visited,
.wc-proceed-to-checkout a.button:visited,
a.button.checkout:visited,
a.btn-alternative:visited,
a.button.alt:visited {
  color: #fff !important;
}
a.button.btn-flat:visited,
a.btn.btn-flat:visited {
  color: #6d727c !important;
}
.woocommerce-message a.button:visited,
.woocommerce-info a.button:visited,
.woocommerce-error a.button:visited {
  color: inherit !important;
}

/* Hover state for the mini-cart View Cart (flat) button and the notice buttons: readable text on a solid fill. */
a.button.wc-forward.btn-flat:hover,
a.button.wc-forward.btn-flat:focus {
  background-color: #6d727c !important;
  border-color: #6d727c !important;
  color: #fff !important;
}
.woocommerce-message a.button:hover,
.woocommerce-message a.button:focus {
  background-color: #797a0d !important;
  border-color: #797a0d !important;
  color: #fff !important;
}

/* Cart page: Fluid Checkout's side padding is being zeroed by the theme, so the cart touched the screen edges on mobile. */
body.woocommerce-cart .fc-content { padding: 0 20px 80px; }
@media (min-width: 750px) { body.woocommerce-cart .fc-content { padding: 0 30px 80px; } }
@media (min-width: 1000px) { body.woocommerce-cart .fc-content { padding: 0 50px 80px; } }

/* Mobile cart count badge: the parent theme hides .yit-mini-cart-icon below 768px, so shoppers could not see that the bag had items in it. Show a small red count bubble on the mobile cart icon. */
@media (max-width: 767px) {
  #header-sidebar .yit_cart_widget .cart-items { position: relative; }
  .woocommerce #header-sidebar .yit-mini-cart-icon,
  #header-sidebar .yit-mini-cart-icon {
    display: block !important;
    position: absolute;
    top: 4px;
    left: 50%;
    margin-left: 6px;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: #b81237;
    text-indent: 0;
    z-index: 2;
  }
  #header-sidebar .yit_cart_widget .cart-items-number {
    display: block;
    text-indent: 0;
    font-size: 11px;
    line-height: 18px;
    font-weight: 700;
    color: #fff;
    text-align: center;
  }
}

/* Mobile gutter for cart and checkout: Fluid Checkout's boxed design bleeds its sections to the screen edges (negative side margins), which looked squished. Give the cart and checkout a small outer gutter on phones. */
@media (max-width: 749px) {
  body.woocommerce-cart .fc-content { padding: 0 20px 60px; }
  body.woocommerce-cart .fc-cart-sections,
  body.woocommerce-checkout .fc-checkout-steps { margin-left: 0; margin-right: 0; }
  body.woocommerce-cart #fc-checkout-order-review { margin-left: 0; margin-right: 0; }
}
