/* == layout start == */
/* One layout for every page (step 10). Bootstrap 2 grid, colours and fonts of the theme are untouched. */

/* breadcrumb line under the menu (an empty .crumbs has no height) */
.crumbsBar .breadcrumb { margin: 5px 0 15px; }

/* the banner row: same place, same size on every page */
.middle .horizBan img { display: block; max-width: 100%; height: auto; }

/* collapsed catalogue groups keep the gap that an opened group gets from its sub-menu */
.leftMenu ul.nav-menu > li:not(.active) { margin-bottom: 8px; }

/* the page starts at the same height with or without the left column */
.container > .content > h1:first-child,
.container > .row > .span9 > .content > h1:first-child { margin-top: 0; }
/* == layout end == */

/* == shop start == */
/* Shop signals and the cosmetic cart (step 40). Colours and fonts are the theme's own. */

/* header cart: link + counter, phone button stays; the box no longer collapses under the menu button */
.topBasket .cartLink { color: #000; white-space: nowrap; }
.topBasket .cartLink:hover, .topBasket .cartLink:focus { color: #6bbe58; text-decoration: none; }
.topBasket p .cartLink i { font-size: 34px; margin-right: 10px; vertical-align: middle; }
.cartCount { display: inline-block; min-width: 24px; padding: 0 7px; border-radius: 12px; background: #999; color: #fff;
  font-size: 14px; line-height: 24px; text-align: center; vertical-align: middle; }
.cartCount.has-items { background: #6bbe58; }
@media (max-width: 979px) {
  .topBasket.hero-unit { float: none; width: auto; margin: 0 0 10px; }
}

/* product page: article heading, availability, buttons */
.opisanie p.stock { margin: 4px 0 10px; font-size: 13px; line-height: 18px; }
.opisanie p.stock-in { color: #6bbe58; }
.opisanie p.stock-order { color: #f89810; }
.content .itemBox .price .btn { margin-top: 4px; }
.content .itemBox .price .btn + .btn { margin-left: 4px; }
.content .itemBox .price .js-add-to-cart { font-size: 14px; }

/* section cards: a small button under the two round ones */
.thumbnail .cardCart { margin-top: 6px; }

/* cart page */
.cartApp .cartTable { width: 100%; margin: 0 0 15px; border-collapse: collapse; }
.cartTable th, .cartTable td { padding: 8px 6px; border-top: 1px solid #ddd; text-align: left; vertical-align: middle; }
.cartTable th { color: #494949; font-weight: bold; }
.cartTable .cartName a { font-weight: bold; }
.cartTable .cartMeta { display: block; color: #777; font-size: 12px; line-height: 16px; }
.cartTable .cartQty { white-space: nowrap; }
.cartTable .btn { padding: 1px 8px; font-size: 14px; line-height: 18px; }
.cartTable .cartQtyNum { display: inline-block; min-width: 28px; text-align: center; }
.cartTable .cartSum { text-align: right; white-space: nowrap; }
.cartTable .cartDel { text-align: right; }
.cartApp .cartTotal { margin: 0 0 8px; font-size: 20px; text-align: right; }
.cartApp .cartTotal span { color: #6bbe58; }
.cartApp .cartNote { color: #777; font-size: 13px; }
.cartApp .cartActions { margin: 15px 0 0; }
.cartApp .cartActions .btn { margin: 0 8px 8px 0; }
@media (max-width: 480px) {
  .cartTable th, .cartTable td { padding: 6px 3px; }
  .cartTable .btn { padding: 1px 6px; }
  .cartTable .cartQtyNum { min-width: 20px; }
}
/* == shop end == */
