/* Theme Name: Bike Shop WooCommerce styles override */ /** * Shop tables */ 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: center; } 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 { margin: 0; padding: 0; } ul.products li.product { list-style: none; position: relative; margin-bottom: 2em; } ul.products li.product img { display: block; } ul.products li.product .button { display: block; } .woocommerce nav.woocommerce-pagination ul { border: none; } .woocommerce nav.woocommerce-pagination ul li { border: none; } @media screen and (min-width: 48em) { ul.products li.product { width: 30.79667%; float: left; margin-right: 3.8%; } ul.products li.product.first { clear: both; } ul.products li.product.last { margin-right: 0; } ul.products.columns-1 li.product { float: none; width: 100%; } ul.products.columns-2 li.product { width: 48.1%; } ul.products.columns-3 li.product { width: 30.79667%; } ul.products.columns-4 li.product { width: 22.15%; } ul.products.columns-5 li.product { width: 16.96%; } ul.products.columns-6 li.product { width: 13.49333%; } } /** * Single product */ .single-product div.product { position: relative; } .single-product div.product .woocommerce-product-gallery { position: relative; float: left; } .single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { position: absolute; top: 2em; right: 1em; display: block; z-index: 99; } .single-product div.product .woocommerce-product-gallery .flex-viewport { margin-bottom: 1em; } .single-product div.product .woocommerce-product-gallery .flex-control-thumbs { margin: 0; padding: 0; } .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li { list-style: none; cursor: pointer; float: left; } .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img { opacity: 0.5; } .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active { opacity: 1; } .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img { opacity: 1; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li { width: 48.1%; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) { margin-right: 0; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) { clear: both; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li { width: 30.79667%; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) { margin-right: 0; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) { clear: both; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li { width: 22.15%; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) { margin-right: 0; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) { clear: both; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li { width: 16.96%; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) { margin-right: 0; } .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) { clear: both; } .stock:empty::before { display: none; } .stock.in-stock { color: #0f834d; } .stock.out-of-stock { color: #e2401c; } .lSAction>a { top: 40%; } /** * Checkout */ @media screen and (min-width: 768px) { .col2-set .form-row-first { float: left; margin-right: 3.8%; } .col2-set .form-row-last { float: right; margin-right: 0; } .col2-set .form-row-first, .col2-set .form-row-last { width: 48.1%; } } /** * General WooCommerce components */ /** * Header cart */ .site-header-cart { position: relative; margin: 0; padding: 0; } .site-header-cart .cart-contents { text-decoration: none; } .site-header-cart .widget_shopping_cart { display: none; } .site-header-cart .product_list_widget { margin: 0; padding: 0; } /** * Star rating */ .star-rating { overflow: hidden; position: relative; height: 1.618em; line-height: 1.618; width: 5.3em; font-family: star; font-weight: 400; } .star-rating::before { content: "\53\53\53\53\53"; opacity: 0.25; float: left; top: 0; left: 0; position: absolute; } .star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.5em; } .star-rating span::before { content: "\53\53\53\53\53"; top: 0; position: absolute; left: 0; color: #785c20; } p.stars a { position: relative; height: 1em; width: 1em; text-indent: -999em; display: inline-block; text-decoration: none; margin-right: 1px; font-weight: 400; } p.stars a::before { display: block; position: absolute; top: 0; left: 0; width: 1em; height: 1em; line-height: 1; font-family: star; content: "\53"; color: #404040; text-indent: 0; opacity: 0.25; } p.stars a:hover ~ a::before { content: "\53"; color: #404040; opacity: 0.25; } p.stars:hover a::before { content: "\53"; color: #4169e1; opacity: 1; } p.stars.selected a.active::before { content: "\53"; color: #4169e1; opacity: 1; } p.stars.selected a.active ~ a::before { content: "\53"; color: #404040; opacity: 0.25; } p.stars.selected a:not(.active)::before { content: "\53"; color: #4169e1; opacity: 1; } /** * Tabs */ .woocommerce-tabs ul.tabs { list-style: none; margin: 0; padding: 0; text-align: left; } .woocommerce-tabs ul.tabs li { display: block; margin: 0; position: relative; } .woocommerce-tabs ul.tabs li a { padding: 1em 0; display: block; } .woocommerce-tabs .panel h2:first-of-type { margin-bottom: 1em; } /** * Password strength meter */ .woocommerce-password-strength { text-align: right; } .woocommerce-password-strength.strong { color: #0f834d; } .woocommerce-password-strength.short { color: #e2401c; } .woocommerce-password-strength.bad { color: #e2401c; } .woocommerce-password-strength.good { color: #3d9cd2; } /** * Forms */ .form-row.woocommerce-validated input.input-text { box-shadow: inset 2px 0 0 #0f834d; } .form-row.woocommerce-invalid input.input-text { box-shadow: inset 2px 0 0 #e2401c; } .required { color: #f00; } /** * Notices */ .woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments { background-color: #0f834d; clear: both; } .woocommerce-info, .woocommerce-noreviews, p.no-comments { background-color: #3d9cd2; } .woocommerce-error { background-color: #e2401c; } .demo_store { position: fixed; left: 0; bottom: 0; right: 0; margin: 0; padding: 1em; background-color: #3d9cd2; z-index: 9999; } .top-header-section li, .cart_mini_content_h3 li { list-style: none; } .cart_mini_content_h3 li.header_cart_icon { width: 3rem; height: 3rem; background-color: #bb9021; text-align: center; vertical-align: middle; line-height: 3rem; border-radius: 50%; position: relative; } .top-header-section .header_cart_icon i, .cart_mini_content_h3 .header_cart_icon i { color: #393836; font-size: 18px; } .top-header-section li.header_cart_icon .count { position: absolute; right: -8px; top: -4px; height: 1.2rem; width: 1.2rem; line-height: 1.2rem; font-weight: bold; border-radius: 50%; font-size: 14px; color: #fff; } .cart_mini_content_h3 li.header_cart_icon .count { position: absolute; right: -17px; top: -5px; background-color:#3d5d84; height: 1.5rem; width: 1.5rem; line-height: 1.5rem; font-weight: bold; border-radius: 50%; font-size: 14px; color: #fff; } .top-header-section .widget_shopping_cart, .cart_mini_content_h3 .widget_shopping_cart { background-color: #eee; padding: 2px 6px 10px 6px; } .woocommerce-product-search { display: inline-block; vertical-align: top; width: initial; position: relative; border: 0; padding: 0; box-sizing: border-box; } .bz-woo-product-search-wrapper .bz-select-products { border: none; color:#666; } .bz-woo-product-search-wrapper .bz-select-products:focus, .bz-woo-product-search-wrapper .sm_search_form input, .bz-woo-product-search-wrapper .sm_search_form button { border: none; outline: none; } .bz-woo-product-search-wrapper .sm_search_form input, .bz-woo-product-search-wrapper .sm_search_form button{ border: none; background-color: transparent; } .bz-woo-product-search-wrapper .sm_search_form button:hover i { color: #000; } .bz-woo-product-search-wrapper .sm_search_form, .bz-woo-product-search-wrapper .sm_search_wrap { display: inline-block; } .bz-woo-product-search-wrapper { display: table-cell; vertical-align: middle; padding: 4px 0 0; } .header1 .bz-woo-product-search-wrapper, .header2 .bz-woo-product-search-wrapper { display: block; vertical-align: middle; padding: 4px 0 0; width: auto; margin: 0 auto; } #site-header-cart .woocommerce .widget_shopping_cart .total, #site-header-cart .woocommerce.widget_shopping_cart .total { border-top: 3px double #88929d; } .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { text-decoration: none; background-image: none; opacity: 0.9; } button.single_add_to_cart_button.button { margin-top: 5px; } .woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments { background-color: #4e6c92; clear: both; color: #fff; } .product_meta span.sku, .product_meta a, .product_meta .posted_in a, .product_meta a:hover, .product_meta .posted_in a:hover { color: #785c20; font-weight: 600; padding-right: 5px; } .related.products { margin-top: 35px; } .bz-woo-product-search-wrapper i { color: #2f2e2e; } .bz-woo-product-search-wrapper #searchsubmit { padding: 5px; } .bz-woo-product-search-wrapper input[type="text"]:focus::placeholder { color: #2c2f34; } #header_icons li { display: inline-block; font-size: 25px; padding: 0 5px; } ul#header_icons { list-style: none; padding-top: 2px; display: inline-block; } .bike_icon_container li.header_cart_icon { padding-top: 8px; padding-left: 5px; padding-bottom: 3px; } .cart-contents .count { text-align: center; } #site-header-cart { display: inline-block; } .header_icon_wrap { text-align: center; } .read_more .woocommerce-Price-amount.amount{ font-size: 21px; font-weight: 500; padding: 2px 5px; } .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button{ line-height: 1.2; } @media screen and (min-width: 48em) { /** * Header cart */ .site-header-cart .widget_shopping_cart { position: absolute; top: 100%; width: 100%; z-index: 999999; left: -999em; display: block; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); } .site-header-cart:hover .widget_shopping_cart, .site-header-cart.focus .widget_shopping_cart { left: 0; display: block; } .header_icon_wrap { padding-right: 25px; } } /** * WooCommerce widgets */ /** * WooCommerce Price Filter */ .widget_price_filter .price_slider { margin-bottom: 1.5em; } .widget_price_filter .price_slider_amount { text-align: right; line-height: 2.4; } .widget_price_filter .price_slider_amount .button { float: left; } .widget_price_filter .ui-slider { position: relative; text-align: left; } .widget_price_filter .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1em; height: 1em; cursor: ew-resize; outline: none; background: #4169e1; box-sizing: border-box; margin-top: -0.25em; opacity: 1; } .widget_price_filter .ui-slider .ui-slider-handle:last-child { margin-left: -1em; } .widget_price_filter .ui-slider .ui-slider-handle:hover, .widget_price_filter .ui-slider .ui-slider-handle.ui-state-active { box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1); } .widget_price_filter .ui-slider .ui-slider-range { position: absolute; z-index: 1; display: block; border: 0; background: #4169e1; } .widget_price_filter .price_slider_wrapper .ui-widget-content { background: rgba(0, 0, 0, 0.1); } .widget_price_filter .ui-slider-horizontal { height: 0.5em; } .widget_price_filter .ui-slider-horizontal .ui-slider-range { height: 100%; } #bz-product-by-category .category-products-wrap { display: flex; flex-direction: row; /*flex-wrap: wrap; */ } #bz-product-by-category :not(.niva_product_cat_slider) { flex-wrap: wrap; } #bz-product-by-category .category-products-wrap li{ list-style: none; width: 30%; position: relative; margin: 2px 0.5% 2px 0.5%; } #bz-product-by-category .category-products-wrap span.onsale{ position: absolute; left: 0px; top: 0px; width: 50px; height: 50px; vertical-align: middle; text-align: center; background-color: #304c6f; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; } /** Product category **/ .divider-with-text { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; width: 100%; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; margin-bottom: 32px; } .divider-with-text .line { position: absolute; top: 50%; left: 0; width: 100%; height: .1rem; margin: auto; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); background: #d8d8d8; } .divider-with-text h3{ background-color: #f6f6f6; z-index: 1; padding: 0 1.5rem; margin-bottom: 0; } .divider-with-text a{ font-size: 2.55rem; color: #223246; } .divider-with-text a:hover{ text-decoration: underline; } .lSPrev, .lSNext { background-color: #304C6F; border-radius: 50%; } .category-products-wrap li { padding-bottom: 30px; } div.niva-store-widget { padding: 25px 0; } #bz-product-by-category h2.woocommerce-loop-product__title { margin-bottom: 15px; margin-top: 10px; text-transform: none; } .woocommerce-cart .woocommerce button.button:disabled, .woocommerce-cart .woocommerce button.button:disabled[disabled]{ color: #f0f0f0; } #bz-product-by-category span.price { font-size: 1rem; font-weight: 600; } #bz-product-by-category li.product a.button.product_type_grouped, #bz-product-by-category li.product a.add_to_cart_button { padding: 5px; width: 8rem; text-align: center; margin-top: 3px; font-weight: 500; font-size: 0.8rem; display: block; font-weight: 600; text-transform: none; } #bz-product-by-category li.product a.button.product_type_grouped:hover, #bz-product-by-category li.product a.add_to_cart_button:hover { border-radius: 5px; } a.added_to_cart.wc-forward { color: #5c0f37; font-weight: bold; padding-left: 10px; } .widget ul.product-categories { list-style: none; margin: 20px 0; } .widget .textwidget ul { list-style: none; margin: 20px 0; padding: 0; } .woocommerce-products-header .woocommerce-products-header__title.page-title { /* display: none; */ } .woocommerce .woocommerce-ordering select { border-radius: 15px; } .woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3{ font-size: 1.4em; } .woocommerce span.onsale { min-width: 3.5em; } .woocommerce ul.products li.product .price { font-size: 1rem; font-weight: 600; } .woocommerce .product_sidebar_wrap { background-color: #f0f0f0; padding: 20px 15px; border-radius: 5px; } .woocommerce .container-fluid .product_sidebar_wrap { padding: 20px 30px; } .woocommerce .product_sidebar_wrap li { font-size: 1rem; } .woocommerce .product_sidebar_wrap .widget .widget-title { font-size: 1.3rem; } .woocommerce .widget_price_filter .ui-slider .ui-slider-handle { top: -0.1em; background-color: #785c20; } .woocommerce .widget_price_filter .ui-slider .ui-slider-range { background-color: #785c20; } .woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img { float: right; margin-left: 4px; width: 75px; height: auto; box-shadow: none; } .product_sidebar_wrap .widget { padding: 20px; } .woocommerce nav.woocommerce-pagination ul li span.current { font-weight: bold; } .woocommerce-info .showcoupon { color: #c9c1c1; } .woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current { background: #282128; } .full-width-layout #cta-wrapper, .full-width-layout #bottom-wrapper { text-align: center; } .header1 .bz-woo-product-search-wrapper, .header2 .bz-woo-product-search-wrapper { width: 380px; } .header1 .bz-woo-product-search-wrapper .bz-separator , .header2 .bz-woo-product-search-wrapper .bz-separator { display: none; } .site-header-cart, .cart_mini_content_h3 .site-header-cart { justify-content: center; } .bz-woo-product-search-wrapper .bz-select-products { background-color: transparent; } #site-title { line-height: 25px; text-align: center; padding-bottom: 5px; } .site-header #site-tagline { line-height: 15px; } .divider-with-text a { font-size: 1.55rem; } .title_wrap > span{ display: block; } .category-products-wrap.niva_product_cat_slider { justify-content: center; } .price_slider_amount .price_label { font-size: 0.9rem; font-weight: 600; } .bz-woo-product-search-wrapper form { border-radius: 4px; } .sm_search_form input { width: initial; } .header_icon_wrap i{ font-size: 18px; } .post_card_content .read_more .product { border: none!important; padding: 0!important; } .niva-store-category-products-section .category-products-wrap { text-align: center; } .category-products-wrap li.product { width: 45%; } /*** Media query start **/ @media (min-width: 480px) { .site-header-cart { justify-content: center; align-items: center; } #bz-product-by-category .category-products-wrap { justify-content: center; } #bz-product-by-category .category-products-wrap li{ width: 80%; } } @media (min-width: 544px) { #bz-product-by-category .category-products-wrap { justify-content: center; } .header1 .bz-woo-product-search-wrapper, .header2 .bz-woo-product-search-wrapper{ width: initial; text-align: center; } .header1 .bz-woo-product-search-wrapper .bz-separator , .header2 .bz-woo-product-search-wrapper .bz-separator { display: initial; } .site-header-cart { justify-content: center; } .bz-separator { display: none; } } @media (min-width: 768px) { .header1 .bz-woo-product-search-wrapper, .header2 .bz-woo-product-search-wrapper { height: auto; } .bz-woo-product-search-wrapper .bz-select-products { width: auto; } #site-title { margin: 0; font-size: 1.55rem } .site-header-cart { justify-content: flex-end; padding-right: 10px; padding-left: 5px; } .header1 .bz-woo-product-search-wrapper, .header2 .bz-woo-product-search-wrapper { width: auto; } .divider-with-text a { font-size: 2rem; } .title_wrap > span{ display: initial; } #bz-product-by-category .category-products-wrap li { margin: 2px 0.5% 2px 0.5%; } .bz-separator { display: block; } .header-sidebar-wrap { display: flex; justify-content: flex-end; } .category-products-wrap li.product { width: 25%; } } @media (min-width: 992px) { .full-width-layout #cta-wrapper, .full-width-layout #bottom-wrapper { text-align: left; } #site-title { line-height: initial; } .category-products-wrap li.product { width: 19.5%; } } @media (min-width: 1024px) { #bz-product-by-category .category-products-wrap { justify-content: flex-start; } } .wc-block-price-filter .wc-block-price-filter__range-input { top: -25px; padding: 0; width: 100%; border: none; } .wp-block-woocommerce-product-search button.wc-block-product-search__button { display: none; } nav.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link { border: 1px solid black; margin-bottom: 5px; padding: 5px; } nav.woocommerce-MyAccount-navigation .entry-content a { text-decoration: none; font-size: 16px; } .woocommerce-MyAccount-navigation ul { margin-left: 0; list-style: none; } .woocommerce-MyAccount-navigation ul a { text-decoration: none; font-weight: bold; padding: 5px; } .wc-block-components-price-slider__range-input-progress { --track-background: linear-gradient(90deg,transparent var(--low),var(--range-color) 0,var(--range-color) var(--high),transparent 0) no-repeat 0 100%/100% 100%; --range-color: #83b828; }