Changeset 156796
- Timestamp:
- 10/27/2021 10:58:52 AM (4 years ago)
- Location:
- sydney/1.84
- Files:
-
- 13 added
- 13 edited
- 1 copied
-
. (copied) (copied from sydney/1.83)
-
css/customizer.css (modified) (1 diff)
-
functions.php (modified) (4 diffs)
-
images/customizer/sidebar-disabled.svg (added)
-
images/customizer/sidebar-left.svg (added)
-
images/customizer/sidebar-right.svg (added)
-
images/customizer/sidebar-slide.svg (added)
-
images/customizer/sidebar-top.svg (added)
-
inc/classes/class-sydney-page-metabox.php (added)
-
inc/customizer/callbacks.php (modified) (1 diff)
-
inc/customizer/controls/accordion (added)
-
inc/customizer/controls/accordion/accordion.css (added)
-
inc/customizer/controls/accordion/accordion.js (added)
-
inc/customizer/controls/accordion/class_sydney_accordion_control.php (added)
-
inc/customizer/customizer.php (modified) (7 diffs)
-
inc/customizer/options/colors.php (added)
-
inc/customizer/options/header.php (modified) (3 diffs)
-
inc/customizer/options/woocommerce-single.php (added)
-
inc/customizer/options/woocommerce.php (added)
-
inc/extras.php (modified) (4 diffs)
-
inc/styles.php (modified) (5 diffs)
-
inc/theme-update.php (modified) (1 diff)
-
inc/woocommerce.php (modified) (8 diffs)
-
js/customize-controls.js (modified) (2 diffs)
-
js/customizer.js (modified) (8 diffs)
-
style.css (modified) (3 diffs)
-
woocommerce/css/wc.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sydney/1.84/css/customizer.css
r155756 r156796 909 909 910 910 .sydney-accordion-hide { 911 display: none ;911 display: none !important; 912 912 } 913 913 -
sydney/1.84/functions.php
r156111 r156796 197 197 function sydney_set_modern_header_flag() { 198 198 update_option( 'sydney-update-header', true ); 199 200 //Disable old content position code 201 update_option( 'sydney_woo_content_pos_disable', true ); 202 203 //Disable single product sidebar 204 set_theme_mod( 'swc_sidebar_products', true ); 205 206 //Disable shop archive sidebar 207 set_theme_mod( 'shop_archive_sidebar', 'no-sidebar' ); 199 208 } 200 209 add_action( 'after_switch_theme', 'sydney_set_modern_header_flag' ); … … 217 226 wp_enqueue_style( 'sydney-google-fonts', esc_url( sydney_google_fonts_url() ), array(), null ); 218 227 219 wp_enqueue_style( 'sydney-style', get_stylesheet_uri(), '', '202110 11' );228 wp_enqueue_style( 'sydney-style', get_stylesheet_uri(), '', '20211026' ); 220 229 221 230 wp_enqueue_style( 'sydney-ie9', get_template_directory_uri() . '/css/ie9.css', array( 'sydney-style' ) ); … … 223 232 224 233 if ( !$is_amp ) { 225 wp_enqueue_script( 'sydney-functions', get_template_directory_uri() . '/js/functions.js', array(), '202110 11', true );234 wp_enqueue_script( 'sydney-functions', get_template_directory_uri() . '/js/functions.js', array(), '20211026', true ); 226 235 227 236 //Enqueue hero slider script only if the slider is in use … … 499 508 500 509 /** 510 * Page metabox 511 */ 512 require get_template_directory() . '/inc/classes/class-sydney-page-metabox.php'; 513 514 /** 501 515 * Posts archive 502 516 */ -
sydney/1.84/inc/customizer/callbacks.php
r155756 r156796 365 365 } 366 366 } 367 368 function sydney_callback_menu_typography() { 369 $enable = get_theme_mod( 'enable_top_menu_typography', 0 ); 370 371 if ( $enable ) { 372 return true; 373 } else { 374 return false; 375 } 376 } -
sydney/1.84/inc/customizer/customizer.php
r156111 r156796 16 16 $wp_customize->get_section( 'title_tagline' )->panel = 'sydney_panel_header'; 17 17 } 18 19 $wp_customize->get_section( 'colors' )->title = __('General', 'sydney');20 $wp_customize->get_section( 'colors' )->panel = 'sydney_colors_panel';21 $wp_customize->get_section( 'colors' )->priority = '10';22 18 23 19 //Partials … … 84 80 require get_template_directory() . '/inc/customizer/controls/class_sydney_divider_control.php'; 85 81 require get_template_directory() . '/inc/customizer/controls/toggle/class_sydney_toggle_control.php'; 86 //require get_template_directory() . '/inc/customizer/controls/color-palettes/class_sydney_color_palettes_control.php'; 87 //require get_template_directory() . '/inc/customizer/controls/color-palettes/class_sydney_custom_palettes_control.php'; 88 //require get_template_directory() . '/inc/customizer/controls/accordion/class_sydney_accordion_control.php'; 82 require get_template_directory() . '/inc/customizer/controls/accordion/class_sydney_accordion_control.php'; 89 83 90 84 require get_template_directory() . '/inc/customizer/controls/control-checkbox-multiple.php'; … … 105 99 require get_template_directory() . '/inc/customizer/options/blog.php'; 106 100 require get_template_directory() . '/inc/customizer/options/blog-single.php'; 101 require get_template_directory() . '/inc/customizer/options/colors.php'; 102 if ( class_exists( 'Woocommerce' ) ) { 103 require get_template_directory() . '/inc/customizer/options/woocommerce.php'; 104 require get_template_directory() . '/inc/customizer/options/woocommerce-single.php'; 105 } 106 107 107 108 108 //___Header area___// … … 998 998 ); 999 999 1000 //___Colors___//1001 $wp_customize->add_panel( 'sydney_colors_panel', array(1002 'priority' => 19,1003 'capability' => 'edit_theme_options',1004 'theme_supports' => '',1005 'title' => __('Colors', 'sydney'),1006 ) );1007 $wp_customize->add_section(1008 'colors_header',1009 array(1010 'title' => __('Header', 'sydney'),1011 'priority' => 11,1012 'panel' => 'sydney_colors_panel',1013 )1014 );1015 $wp_customize->add_section(1016 'colors_sidebar',1017 array(1018 'title' => __('Sidebar', 'sydney'),1019 'priority' => 12,1020 'panel' => 'sydney_colors_panel',1021 )1022 );1023 $wp_customize->add_setting(1024 'primary_color',1025 array(1026 'default' => '#d65050',1027 'sanitize_callback' => 'sanitize_hex_color',1028 'transport' => 'postMessage'1029 )1030 );1031 $wp_customize->add_control(1032 new WP_Customize_Color_Control(1033 $wp_customize,1034 'primary_color',1035 array(1036 'label' => __('Primary color', 'sydney'),1037 'section' => 'colors',1038 'settings' => 'primary_color',1039 'priority' => 111040 )1041 )1042 );1043 //Menu bg1044 $wp_customize->add_setting(1045 'menu_bg_color',1046 array(1047 'default' => '#263246',1048 'sanitize_callback' => 'sanitize_hex_color',1049 )1050 );1051 $wp_customize->add_control(1052 new WP_Customize_Color_Control(1053 $wp_customize,1054 'menu_bg_color',1055 array(1056 'label' => __('Menu background', 'sydney'),1057 'section' => 'colors_header',1058 'priority' => 121059 )1060 )1061 );1062 1063 if ( false == get_option('sydney-update-header' ) ) {1064 //Site title1065 $wp_customize->add_setting(1066 'site_title_color',1067 array(1068 'default' => '#ffffff',1069 'sanitize_callback' => 'sanitize_hex_color',1070 'transport' => 'postMessage'1071 )1072 );1073 $wp_customize->add_control(1074 new WP_Customize_Color_Control(1075 $wp_customize,1076 'site_title_color',1077 array(1078 'label' => __('Site title', 'sydney'),1079 'section' => 'colors_header',1080 'settings' => 'site_title_color',1081 'priority' => 131082 )1083 )1084 );1085 //Site desc1086 $wp_customize->add_setting(1087 'site_desc_color',1088 array(1089 'default' => '#ffffff',1090 'sanitize_callback' => 'sanitize_hex_color',1091 'transport' => 'postMessage'1092 )1093 );1094 $wp_customize->add_control(1095 new WP_Customize_Color_Control(1096 $wp_customize,1097 'site_desc_color',1098 array(1099 'label' => __('Site description', 'sydney'),1100 'section' => 'colors_header',1101 'priority' => 141102 )1103 )1104 );1105 }1106 1107 //Top level menu items1108 $wp_customize->add_setting(1109 'top_items_color',1110 array(1111 'default' => '#ffffff',1112 'sanitize_callback' => 'sanitize_hex_color',1113 'transport' => 'postMessage'1114 )1115 );1116 $wp_customize->add_control(1117 new WP_Customize_Color_Control(1118 $wp_customize,1119 'top_items_color',1120 array(1121 'label' => __('Top level menu items', 'sydney'),1122 'section' => 'colors_header',1123 'priority' => 151124 )1125 )1126 );1127 //Menu items hover1128 $wp_customize->add_setting(1129 'menu_items_hover',1130 array(1131 'default' => '#d65050',1132 'sanitize_callback' => 'sanitize_hex_color',1133 )1134 );1135 $wp_customize->add_control(1136 new WP_Customize_Color_Control(1137 $wp_customize,1138 'menu_items_hover',1139 array(1140 'label' => __('Menu items hover', 'sydney'),1141 'section' => 'colors_header',1142 'priority' => 151143 )1144 )1145 );1146 1147 //Sub menu items color1148 $wp_customize->add_setting(1149 'submenu_items_color',1150 array(1151 'default' => '#ffffff',1152 'sanitize_callback' => 'sanitize_hex_color',1153 'transport' => 'postMessage'1154 )1155 );1156 $wp_customize->add_control(1157 new WP_Customize_Color_Control(1158 $wp_customize,1159 'submenu_items_color',1160 array(1161 'label' => __('Sub-menu items', 'sydney'),1162 'section' => 'colors_header',1163 'priority' => 161164 )1165 )1166 );1167 //Sub menu background1168 $wp_customize->add_setting(1169 'submenu_background',1170 array(1171 'default' => '#1c1c1c',1172 'sanitize_callback' => 'sanitize_hex_color',1173 )1174 );1175 $wp_customize->add_control(1176 new WP_Customize_Color_Control(1177 $wp_customize,1178 'submenu_background',1179 array(1180 'label' => __('Sub-menu background', 'sydney'),1181 'section' => 'colors_header',1182 'priority' => 171183 )1184 )1185 );1186 //Mobile menu1187 $wp_customize->add_setting(1188 'mobile_menu_color',1189 array(1190 'default' => '#ffffff',1191 'sanitize_callback' => 'sanitize_hex_color',1192 )1193 );1194 $wp_customize->add_control(1195 new WP_Customize_Color_Control(1196 $wp_customize,1197 'mobile_menu_color',1198 array(1199 'label' => __('Mobile menu button', 'sydney'),1200 'section' => 'colors_header',1201 'priority' => 171202 )1203 )1204 );1205 //Slider text1206 $wp_customize->add_setting(1207 'slider_text',1208 array(1209 'default' => '#ffffff',1210 'sanitize_callback' => 'sanitize_hex_color',1211 'transport' => 'postMessage'1212 )1213 );1214 $wp_customize->add_control(1215 new WP_Customize_Color_Control(1216 $wp_customize,1217 'slider_text',1218 array(1219 'label' => __('Hero slider text', 'sydney'),1220 'section' => 'colors_header',1221 'priority' => 181222 )1223 )1224 );1225 //Body1226 $wp_customize->add_setting(1227 'body_text_color',1228 array(1229 'default' => '#47425d',1230 'sanitize_callback' => 'sanitize_hex_color',1231 'transport' => 'postMessage'1232 )1233 );1234 $wp_customize->add_control(1235 new WP_Customize_Color_Control(1236 $wp_customize,1237 'body_text_color',1238 array(1239 'label' => __('Body text', 'sydney'),1240 'section' => 'colors',1241 'priority' => 191242 )1243 )1244 );1245 //Sidebar backgound1246 $wp_customize->add_setting(1247 'sidebar_background',1248 array(1249 'default' => '#ffffff',1250 'sanitize_callback' => 'sanitize_hex_color',1251 'transport' => 'postMessage'1252 )1253 );1254 $wp_customize->add_control(1255 new WP_Customize_Color_Control(1256 $wp_customize,1257 'sidebar_background',1258 array(1259 'label' => __('Sidebar background', 'sydney'),1260 'section' => 'colors_sidebar',1261 'priority' => 201262 )1263 )1264 );1265 //Sidebar color1266 $wp_customize->add_setting(1267 'sidebar_color',1268 array(1269 'default' => '#767676',1270 'sanitize_callback' => 'sanitize_hex_color',1271 'transport' => 'postMessage'1272 )1273 );1274 $wp_customize->add_control(1275 new WP_Customize_Color_Control(1276 $wp_customize,1277 'sidebar_color',1278 array(1279 'label' => __('Sidebar color', 'sydney'),1280 'section' => 'colors_sidebar',1281 'priority' => 211282 )1283 )1284 );1285 1286 1000 //___Theme info___// 1287 1001 $wp_customize->add_section( … … 1304 1018 'priority' => 10 1305 1019 ) ) 1306 ); 1307 1308 /* Woocommerce */ 1309 //Sidebar 1310 $wp_customize->add_setting( 1311 'swc_sidebar_archives', 1312 array( 1313 'sanitize_callback' => 'sydney_sanitize_checkbox', 1314 ) 1315 ); 1316 $wp_customize->add_control( 1317 'swc_sidebar_archives', 1318 array( 1319 'type' => 'checkbox', 1320 'label' => __('Disable sidebar on shop archive pages?', 'sydney'), 1321 'section' => 'woocommerce_product_catalog', 1322 'priority' => 14, 1323 ) 1324 ); 1325 //Show cart button on hover 1326 $wp_customize->add_setting( 1327 'wc_button_hover', 1328 array( 1329 'sanitize_callback' => 'sydney_sanitize_checkbox', 1330 ) 1331 ); 1332 $wp_customize->add_control( 1333 'wc_button_hover', 1334 array( 1335 'type' => 'checkbox', 1336 'label' => __('Show add to cart button on hover?', 'sydney'), 1337 'section' => 'woocommerce_product_catalog', 1338 'priority' => 14, 1339 ) 1340 ); 1341 //Sidebar 1342 $wp_customize->add_section( 1343 'sydney_wc_singles', 1344 array( 1345 'title' => __('Single products', 'sydney'), 1346 'panel' => 'woocommerce', 1347 'priority' => 14, 1348 ) 1349 ); 1350 $wp_customize->add_setting( 1351 'swc_sidebar_products', 1352 array( 1353 'sanitize_callback' => 'sydney_sanitize_checkbox', 1354 'default' => 1 1355 ) 1356 ); 1357 $wp_customize->add_control( 1358 'swc_sidebar_products', 1359 array( 1360 'type' => 'checkbox', 1361 'label' => __('Remove sidebar from single products?', 'sydney'), 1362 'section' => 'sydney_wc_singles', 1363 'priority' => 14, 1364 ) 1365 ); 1366 //YITH 1367 $wp_customize->add_setting( 1368 'yith_buttons_visible', 1369 array( 1370 'sanitize_callback' => 'sydney_sanitize_checkbox', 1371 ) 1372 ); 1373 $wp_customize->add_control( 1374 'yith_buttons_visible', 1375 array( 1376 'type' => 'checkbox', 1377 'label' => __('Always show buttons for YITH quick view, wishlist and compare?', 'sydney'), 1378 'description' => __('If you\'re using the plugins above, checking this option will keep their respective buttons always visible', 'sydney'), 1379 'section' => 'woocommerce_product_catalog', 1380 'priority' => 15, 1381 ) 1382 ); 1383 //Disable overlay shop 1384 $wp_customize->add_setting( 1385 'hide_overlay_shop', 1386 array( 1387 'sanitize_callback' => 'sydney_sanitize_checkbox', 1388 ) 1389 ); 1390 $wp_customize->add_control( 1391 'hide_overlay_shop', 1392 array( 1393 'type' => 'checkbox', 1394 'label' => __('Disable header image overlay on shop main page?', 'sydney'), 1395 'section' => 'woocommerce_product_catalog', 1396 'priority' => 16, 1397 ) 1398 ); 1020 ); 1399 1021 1400 1022 } … … 1539 1161 */ 1540 1162 function sydney_customize_preview_js() { 1541 wp_enqueue_script( 'sydney_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '202110 09', true );1163 wp_enqueue_script( 'sydney_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20211026', true ); 1542 1164 } 1543 1165 add_action( 'customize_preview_init', 'sydney_customize_preview_js' ); … … 1548 1170 function sydney_customize_footer_scripts() { 1549 1171 1550 wp_enqueue_style( 'sydney-customizer-styles', get_template_directory_uri() . '/css/customizer.css', '', '202110 09' );1551 wp_enqueue_script( 'sydney-customizer-scripts', get_template_directory_uri() . '/js/customize-controls.js', array( 'jquery', 'jquery-ui-core' ), '202110 09', true );1172 wp_enqueue_style( 'sydney-customizer-styles', get_template_directory_uri() . '/css/customizer.css', '', '20211026' ); 1173 wp_enqueue_script( 'sydney-customizer-scripts', get_template_directory_uri() . '/js/customize-controls.js', array( 'jquery', 'jquery-ui-core' ), '20211026', true ); 1552 1174 1553 1175 } -
sydney/1.84/inc/customizer/options/header.php
r156111 r156796 224 224 'section' => 'sydney_section_main_header', 225 225 'controls_general' => json_encode( array( '#customize-control-header_layout_desktop','#customize-control-header_divider_1','#customize-control-main_header_settings_title','#customize-control-main_header_menu_position','#customize-control-header_container','#customize-control-enable_sticky_header','#customize-control-sticky_header_type','#customize-control-header_divider_2','#customize-control-main_header_elements_title','#customize-control-header_components_l1','#customize-control-header_components_l3left','#customize-control-header_components_l3right','#customize-control-header_components_l4top','#customize-control-header_components_l4bottom','#customize-control-header_components_l5topleft','#customize-control-header_components_l5topright','#customize-control-header_components_l5bottom','#customize-control-header_divider_3','#customize-control-main_header_cart_account_title','#customize-control-enable_header_cart','#customize-control-enable_header_account','#customize-control-header_divider_4','#customize-control-main_header_button_title','#customize-control-header_button_text','#customize-control-header_button_link','#customize-control-header_button_newtab','#customize-control-header_divider_5','#customize-control-main_header_contact_info_title','#customize-control-header_contact_mail','#customize-control-header_contact_phone', ) ), 226 'controls_design' => json_encode( array( '#customize-control- main_header_submenu_color','#customize-control-main_header_submenu_background','#customize-control-main_header_bottom_padding','#customize-control-main_header_bottom_background', '#customize-control-main_header_bottom_color','#customize-control-main_header_divider_7','#customize-control-main_header_background','#customize-control-main_header_color','#customize-control-main_header_divider_6','#customize-control-main_header_padding','#customize-control-main_header_divider_size','#customize-control-main_header_divider_color','#customize-control-main_header_divider_width' ) ),226 'controls_design' => json_encode( array( '#customize-control-enable_top_menu_typography','#customize-control-menu_typography_title','#customize-control-main_header_divider_8','#customize-control-sydney_menu_font','#customize-control-menu_items_text_transform','#customize-control-sydney_menu_font_size','#customize-control-menu_items_hover','#customize-control-main_header_submenu_color','#customize-control-main_header_submenu_background','#customize-control-main_header_bottom_padding','#customize-control-main_header_bottom_background', '#customize-control-main_header_bottom_color','#customize-control-main_header_divider_7','#customize-control-main_header_background','#customize-control-main_header_color','#customize-control-main_header_divider_6','#customize-control-main_header_padding','#customize-control-main_header_divider_size','#customize-control-main_header_divider_color','#customize-control-main_header_divider_width' ) ), 227 227 ) 228 228 ) … … 812 812 ); 813 813 814 //Menu items hover 815 $wp_customize->add_setting( 816 'menu_items_hover', 817 array( 818 'default' => '#e64e4e', 819 'sanitize_callback' => 'sanitize_hex_color', 820 ) 821 ); 822 $wp_customize->add_control( 823 new WP_Customize_Color_Control( 824 $wp_customize, 825 'menu_items_hover', 826 array( 827 'label' => __('Menu items hover', 'sydney'), 828 'section' => 'sydney_section_main_header', 829 ) 830 ) 831 ); 832 814 833 $wp_customize->add_setting( 'main_header_divider_6', 815 834 array( … … 928 947 ) 929 948 ) ); 949 950 /** 951 * Menu typography 952 */ 953 $wp_customize->add_setting( 'main_header_divider_8', 954 array( 955 'sanitize_callback' => 'esc_attr' 956 ) 957 ); 958 959 $wp_customize->add_control( new Sydney_Divider_Control( $wp_customize, 'main_header_divider_8', 960 array( 961 'section' => 'sydney_section_main_header', 962 ) 963 ) 964 ); 965 $wp_customize->add_setting( 'menu_typography_title', 966 array( 967 'default' => '', 968 'sanitize_callback' => 'esc_attr' 969 ) 970 ); 971 972 $wp_customize->add_control( new Sydney_Text_Control( $wp_customize, 'menu_typography_title', 973 array( 974 'label' => esc_html__( 'Top-level menu items', 'sydney' ), 975 'section' => 'sydney_section_main_header', 976 ) 977 ) 978 ); 979 980 $wp_customize->add_setting( 981 'enable_top_menu_typography', 982 array( 983 'default' => 0, 984 'sanitize_callback' => 'sydney_sanitize_checkbox', 985 ) 986 ); 987 $wp_customize->add_control( 988 new Sydney_Toggle_Control( 989 $wp_customize, 990 'enable_top_menu_typography', 991 array( 992 'label' => esc_html__( 'Enable top-level menu items typography options', 'sydney' ), 993 'section' => 'sydney_section_main_header', 994 ) 995 ) 996 ); 997 998 $wp_customize->add_setting( 'sydney_menu_font', 999 array( 1000 'default' => '{"font":"System default","regularweight":"bold","category":"sans-serif"}', 1001 'sanitize_callback' => 'sydney_google_fonts_sanitize', 1002 'transport' => 'postMessage' 1003 ) 1004 ); 1005 1006 1007 $wp_customize->add_control( new Sydney_Typography_Control( $wp_customize, 'sydney_menu_font', 1008 array( 1009 'section' => 'sydney_section_main_header', 1010 'settings' => array ( 1011 'family' => 'sydney_menu_font', 1012 ), 1013 'input_attrs' => array( 1014 'font_count' => 'all', 1015 'orderby' => 'alpha', 1016 'disableRegular' => false, 1017 ), 1018 'active_callback' => 'sydney_callback_menu_typography' 1019 ) 1020 ) ); 1021 1022 $wp_customize->add_setting( 'menu_items_text_transform', 1023 array( 1024 'default' => 'none', 1025 'sanitize_callback' => 'sydney_sanitize_text', 1026 'transport' => 'postMessage', 1027 ) 1028 ); 1029 $wp_customize->add_control( new Sydney_Radio_Buttons( $wp_customize, 'menu_items_text_transform', 1030 array( 1031 'label' => esc_html__( 'Text transform', 'sydney' ), 1032 'section' => 'sydney_section_main_header', 1033 'choices' => array( 1034 'none' => '-', 1035 'capitalize' => 'Aa', 1036 'lowercase' => 'aa', 1037 'uppercase' => 'AA', 1038 ), 1039 'active_callback' => 'sydney_callback_menu_typography' 1040 ) 1041 ) ); 1042 1043 $wp_customize->add_setting( 'sydney_menu_font_size_desktop', array( 1044 'default' => 14, 1045 'transport' => 'postMessage', 1046 'sanitize_callback' => 'absint', 1047 ) ); 1048 1049 $wp_customize->add_control( new Sydney_Responsive_Slider( $wp_customize, 'sydney_menu_font_size', 1050 array( 1051 'label' => esc_html__( 'Menu Items Font size', 'sydney' ), 1052 'section' => 'sydney_section_main_header', 1053 'is_responsive' => 0, 1054 'settings' => array ( 1055 'size_desktop' => 'sydney_menu_font_size_desktop', 1056 ), 1057 'input_attrs' => array ( 1058 'min' => 12, 1059 'max' => 100, 1060 'step' => 1 1061 ), 1062 'active_callback' => 'sydney_callback_menu_typography' 1063 ) 1064 ) ); -
sydney/1.84/inc/extras.php
r156111 r156796 60 60 global $post; 61 61 62 if ( class_exists( 'Woocommerce' ) && is_woocommerce() ) { 63 $archive_check = sydney_wc_archive_check(); 64 $shop_single_sidebar = get_theme_mod( 'swc_sidebar_products', 0 ); 65 $archive_sidebar = get_theme_mod( 'shop_archive_sidebar', 'sidebar-left' ); 66 67 if ( is_product() ) { 68 if ( $shop_single_sidebar ) { 69 $cols = 'col-md-12'; 70 } else { 71 $cols = 'col-md-9'; 72 } 73 } elseif ( $archive_check ) { 74 $shop_categories_layout = get_theme_mod( 'shop_categories_layout', 'layout1' ); 75 76 if ( 'no-sidebar' === $archive_sidebar ) { 77 remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 ); 78 $columns = 'col-md-12'; 79 } else { 80 $columns = 'col-md-9'; 81 } 82 83 if ( 'sidebar-top' === $archive_sidebar ) { 84 $shop_archive_sidebar_top_columns = get_theme_mod( 'shop_archive_sidebar_top_columns', '4' ); 85 86 $archive_sidebar .= ' sidebar-top-columns-' . $shop_archive_sidebar_top_columns; 87 } 88 89 $archive_sidebar .= ' product-category-item-' . $shop_categories_layout; 90 91 $layout = get_theme_mod( 'shop_archive_layout', 'product-grid' ); 92 93 $cols = $archive_sidebar . ' ' . $layout . ' ' . $columns; 94 } 95 96 97 return $cols; 98 } 99 62 100 $sidebar_archives = get_theme_mod( 'sidebar_archives', 1 ); 63 101 … … 127 165 */ 128 166 function sydney_add_header_menu_button( $items, $args ) { 167 168 if ( get_option( 'sydney-update-header' ) ) { 169 return $items; 170 } 129 171 130 172 $type = get_theme_mod( 'header_button_html', 'nothing' ); … … 572 614 $body_font = get_theme_mod( 'sydney_body_font', $defaults ); 573 615 $headings_font = get_theme_mod( 'sydney_headings_font', $defaults ); 616 $menu_font = get_theme_mod( 'sydney_menu_font', $defaults ); 574 617 575 618 $body_font = json_decode( $body_font, true ); 576 619 $headings_font = json_decode( $headings_font, true ); 577 578 if ( 'System default' === $body_font['font'] && 'System default' === $headings_font['font'] ) { 620 $menu_font = json_decode( $menu_font, true ); 621 622 if ( 'System default' === $body_font['font'] && 'System default' === $headings_font['font'] && 'System default' === $menu_font['font'] ) { 579 623 return; //return early if defaults are active 580 624 } … … 585 629 $font_families[] = $body_font['font'] . ':' . $body_font['regularweight']; 586 630 } 631 632 if ( 'System default' !== $menu_font['font'] ) { 633 $font_families[] = $menu_font['font'] . ':' . $menu_font['regularweight']; 634 } 587 635 588 636 if ( 'System default' !== $headings_font['font'] ) { -
sydney/1.84/inc/styles.php
r156111 r156796 88 88 .woocommerce ul.products li.product:hover .woocommerce-loop-product__title, 89 89 .woocommerce ul.products li.product:hover .price {opacity: 0;} }" . "\n"; 90 } 91 92 $loop_product_alignment = get_theme_mod( 'swc_loop_product_alignment', 'center' ); 93 $custom .= ".woocommerce ul.products li.product { text-align:" . esc_attr( $loop_product_alignment ) . ";}"."\n"; 94 95 if ( 'left' === $loop_product_alignment ) { 96 $custom .= ".woocommerce ul.products li.product .star-rating { margin-left:0;}"."\n"; 97 } elseif ( 'right' === $loop_product_alignment ) { 98 $custom .= ".woocommerce ul.products li.product .star-rating { margin-right:0;}"."\n"; 90 99 } 91 100 … … 357 366 $main_header_divider_width = get_theme_mod( 'main_header_divider_width', 'fullwidth' ); 358 367 $main_header_divider_size = get_theme_mod( 'main_header_divider_size', 0 ); 359 $main_header_divider_color = get_theme_mod( 'main_header_divider_color' );368 $main_header_divider_color = get_theme_mod( 'main_header_divider_color', 'rgba(255,255,255,0.1)' ); 360 369 361 370 if ( 'fullwidth' === $main_header_divider_width ) { … … 460 469 } 461 470 471 $enable_top_menu_typography = get_theme_mod( 'enable_top_menu_typography', 0 ); 472 if ( $enable_top_menu_typography ) { 473 474 $menu_font = get_theme_mod( 'sydney_menu_font', $typography_defaults ); 475 $menu_font = json_decode( $menu_font, true ); 476 477 $menu_text_transform = get_theme_mod( 'menu_items_text_transform' ); 478 479 if ( 'System default' !== $menu_font['font'] ) { 480 $custom .= '#mainnav > div > ul > li > a { font-family:' . esc_attr( $menu_font['font'] ) . ',' . esc_attr( $menu_font['category'] ) . '; font-weight: ' . esc_attr( $menu_font['regularweight'] ) . ';}' . "\n"; 481 } 482 483 $custom .= "#mainnav > div > ul > li > a { text-transform:" . esc_attr( $menu_text_transform ) . ";}" . "\n"; 484 485 $custom .= $this->get_font_sizes_css( 'sydney_menu_font_size', $defaults = array( 'desktop' => 14, 'tablet' => 14, 'mobile' => 14 ), '#mainnav > div > ul > li > a' ); 486 487 } 488 462 489 $headings_font_style = get_theme_mod( 'headings_font_style' ); 463 490 $headings_line_height = get_theme_mod( 'headings_line_height', 1.2 ); … … 484 511 $custom .= "body, .posts-layout .entry-post { text-transform:" . esc_attr( $body_text_transform ) . ";font-style:" . esc_attr( $body_font_style ) . ";line-height:" . esc_attr( $body_line_height ) . ";letter-spacing:" . esc_attr( $body_letter_spacing ) . "px;}" . "\n"; 485 512 $custom .= $this->get_font_sizes_css( 'body_font_size', $defaults = array( 'desktop' => 16, 'tablet' => 16, 'mobile' => 16 ), 'body, .posts-layout .entry-post' ); 513 514 //Woocommerce single 515 $single_sku = get_theme_mod( 'single_product_sku', 1 ); 516 $single_categories = get_theme_mod( 'single_product_categories', 1 ); 517 $single_tags = get_theme_mod( 'single_product_tags', 1 ); 518 $single_sticky_add_to_cart_elements_spacing = get_theme_mod( 'single_sticky_add_to_cart_elements_spacing', 35 ); 519 520 if( !$single_sku ) { 521 $custom .= ".single-product .product_meta .sku_wrapper { display: none }"; 522 } 523 if( !$single_categories ) { 524 $custom .= ".single-product .product_meta .posted_in { display: none }"; 525 } 526 if( !$single_tags ) { 527 $custom .= ".single-product .product_meta .tagged_as { display: none }"; 528 } 529 if( !$single_sku && !$single_categories && !$single_tags ) { 530 $custom .= ".single-product .product_meta { border-top: 0; }"; 531 } 532 533 $custom .= $this->get_font_sizes_css( 'single_product_title_size', $defaults = array( 'desktop' => 32, 'tablet' => 32, 'mobile' => 32 ), '.woocommerce div.product .product-gallery-summary .entry-title' ); 534 $custom .= $this->get_font_sizes_css( 'single_product_price_size', $defaults = array( 'desktop' => 24, 'tablet' => 24, 'mobile' => 24 ), '.woocommerce div.product .product-gallery-summary .price .amount' ); 535 536 //Woocommerce loop 537 $shop_product_element_spacing = get_theme_mod( 'shop_product_element_spacing', 12 ); 538 $custom .= ".woocommerce ul.products li.product .col-md-7 > *,.woocommerce ul.products li.product .col-md-8 > *,.woocommerce ul.products li.product > * { margin-bottom:" . esc_attr( $shop_product_element_spacing ) . "px;}" . "\n"; 539 540 $shop_product_sale_tag_layout = get_theme_mod( 'shop_product_sale_tag_layout', 'layout2' ); 541 $shop_sale_tag_spacing = get_theme_mod( 'shop_sale_tag_spacing', 20 ); 542 $shop_sale_tag_radius = get_theme_mod( 'shop_sale_tag_radius', 0 ); 543 544 $custom .= ".wc-block-grid__product-onsale, span.onsale {border-radius:" . esc_attr( $shop_sale_tag_radius ) . "px;top:" . esc_attr( $shop_sale_tag_spacing ) . "px!important;left:" . esc_attr( $shop_sale_tag_spacing ) . "px!important;}" . "\n"; 545 if ( 'layout2' === $shop_product_sale_tag_layout ) { 546 $custom .= ".wc-block-grid__product-onsale, .products span.onsale {left:auto!important;right:" . esc_attr( $shop_sale_tag_spacing ) . "px;}" . "\n"; 547 } 548 549 $custom .= $this->get_color_css( 'single_product_sale_color', '', '.wc-block-grid__product-onsale, span.onsale' ); 550 $custom .= $this->get_background_color_css( 'single_product_sale_background_color', '', '.wc-block-grid__product-onsale, span.onsale' ); 551 $custom .= $this->get_color_css( 'shop_product_product_title', '', 'ul.wc-block-grid__products li.wc-block-grid__product .wc-block-grid__product-title, ul.wc-block-grid__products li.wc-block-grid__product .woocommerce-loop-product__title, ul.wc-block-grid__products li.product .wc-block-grid__product-title, ul.wc-block-grid__products li.product .woocommerce-loop-product__title, ul.products li.wc-block-grid__product .wc-block-grid__product-title, ul.products li.wc-block-grid__product .woocommerce-loop-product__title, ul.products li.product .wc-block-grid__product-title, ul.products li.product .woocommerce-loop-product__title, ul.products li.product .woocommerce-loop-category__title, .woocommerce-loop-product__title .botiga-wc-loop-product__title' ); 552 553 $custom .= $this->get_color_css( 'color_body_text', '', 'a.wc-forward:not(.checkout-button)' ); 554 $custom .= $this->get_color_css( 'color_link_hover', '', 'a.wc-forward:not(.checkout-button):hover' ); 555 $custom .= $this->get_color_css( 'button_color_hover', '', '.woocommerce-pagination li .page-numbers:hover' ); 556 $custom .= $this->get_border_color_rgba_css( 'color_body_text', '#212121', '.woocommerce-sorting-wrapper', '0.1' ); 557 558 $shop_categories_alignment = get_theme_mod( 'shop_categories_alignment', 'center' ); 559 $custom .= "ul.products li.product-category .woocommerce-loop-category__title { text-align:" . esc_attr( $shop_categories_alignment ) . ";}" . "\n"; 560 561 $shop_categories_layout = get_theme_mod( 'shop_categories_layout', 'layout1' ); 562 $shop_categories_radius = get_theme_mod( 'shop_categories_radius', 0 ); 563 $custom .= "ul.products li.product-category > a, ul.products li.product-category > a > img { border-radius:" . esc_attr( $shop_categories_radius ) . "px;}" . "\n"; 564 if( 'layout4' === $shop_categories_layout ) { 565 $custom .= ".product-category-item-layout4 ul.products li.product-category > a h2 { border-radius: 0 0 " . esc_attr( $shop_categories_radius ) . "px " . esc_attr( $shop_categories_radius ) . "px;}" . "\n"; 566 } 567 568 //Cart display coupon form 569 $shop_cart_show_coupon_form = get_theme_mod( 'shop_cart_show_coupon_form', 1 ); 570 if( !$shop_cart_show_coupon_form ) { 571 $custom .= '.woocommerce-cart .coupon { display: none; }'; 572 } 573 574 //Cart display coupon form 575 $shop_checkout_show_coupon_form = get_theme_mod( 'shop_checkout_show_coupon_form', 1 ); 576 if( !$shop_checkout_show_coupon_form ) { 577 $custom .= '.woocommerce-checkout .woocommerce-form-coupon-toggle { display: none; }'; 578 } 579 580 $shop_product_card_style = get_theme_mod( 'shop_product_card_style', 'layout1' ); 581 $shop_product_card_border_color = get_theme_mod( 'shop_product_card_border_color', '#eee' ); 582 $shop_product_card_border_size = get_theme_mod( 'shop_product_card_border_size', 1 ); 583 $shop_product_card_background = get_theme_mod( 'shop_product_card_background' ); 584 $shop_product_card_radius = get_theme_mod( 'shop_product_card_radius' ); 585 $shop_product_card_thumb_radius = get_theme_mod( 'shop_product_card_thumb_radius' ); 586 587 if ( 'layout2' === $shop_product_card_style || 'layout3' === $shop_product_card_style ) { 588 $custom .= ".woocommerce-page ul.products li.product { background-color: " . esc_attr( $shop_product_card_background ) . ";border-radius: " . intval( $shop_product_card_radius ) . "px; border: " . intval( $shop_product_card_border_size ) . "px solid " . esc_attr( $shop_product_card_border_color ) . ";padding:30px;}" . "\n"; 589 $custom .= "ul.products li.wc-block-grid__product .loop-image-wrap, ul.products li.product .loop-image-wrap { overflow:hidden;border-radius:" . esc_attr( $shop_product_card_thumb_radius ) . "px;}" . "\n"; 590 } 591 592 if ( 'layout3' === $shop_product_card_style ) { 593 $custom .= "ul.wc-block-grid__products li.wc-block-grid__product .loop-image-wrap, ul.wc-block-grid__products li.product .loop-image-wrap, ul.products li.wc-block-grid__product .loop-image-wrap, ul.products li.product .loop-image-wrap { margin:-30px -30px 12px;}" . "\n"; 594 } 595 596 //Global colors 597 $custom .= $this->get_color_css( 'color_link_default', '', '.entry-content a:not(.button)' ); 598 $custom .= $this->get_color_css( 'color_link_hover', '', '.entry-content a:not(.button):hover' ); 599 $custom .= $this->get_color_css( 'color_heading_1', '', 'h1' ); 600 $custom .= $this->get_color_css( 'color_heading_2', '', 'h2' ); 601 $custom .= $this->get_color_css( 'color_heading_3', '', 'h3' ); 602 $custom .= $this->get_color_css( 'color_heading_4', '', 'h4' ); 603 $custom .= $this->get_color_css( 'color_heading_5', '', 'h5' ); 604 $custom .= $this->get_color_css( 'color_heading_6', '', 'h6' ); 605 606 $custom .= $this->get_color_css( 'color_forms_text', '', 'input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea,select,.woocommerce .select2-container .select2-selection--single,.woocommerce-page .select2-container .select2-selection--single,input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus, select:focus, .woocommerce .select2-container .select2-selection--single:focus, .woocommerce-page .select2-container .select2-selection--single:focus,.select2-container--default .select2-selection--single .select2-selection__rendered,.wp-block-search .wp-block-search__input,.wp-block-search .wp-block-search__input:focus' ); 607 $custom .= $this->get_background_color_css( 'color_forms_background', '', 'input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea,select,.woocommerce .select2-container .select2-selection--single,.woocommerce-page .select2-container .select2-selection--single,.woocommerce-cart .woocommerce-cart-form .actions .coupon input[type="text"]' ); 608 $color_forms_borders = get_theme_mod( 'color_forms_borders' ); 609 $custom .= "input[type=\"text\"],input[type=\"email\"],input[type=\"url\"],input[type=\"password\"],input[type=\"search\"],input[type=\"number\"],input[type=\"tel\"],input[type=\"range\"],input[type=\"date\"],input[type=\"month\"],input[type=\"week\"],input[type=\"time\"],input[type=\"datetime\"],input[type=\"datetime-local\"],input[type=\"color\"],textarea,select,.woocommerce .select2-container .select2-selection--single,.woocommerce-page .select2-container .select2-selection--single,.woocommerce-account fieldset,.woocommerce-account .woocommerce-form-login, .woocommerce-account .woocommerce-form-register,.woocommerce-cart .woocommerce-cart-form .actions .coupon input[type=\"text\"],.wp-block-search .wp-block-search__input { border-color:" . esc_attr( $color_forms_borders ) . ";}" . "\n"; 610 $color_forms_placeholder = get_theme_mod( 'color_forms_placeholder' ); 611 $custom .= "input::placeholder { color:" . esc_attr( $color_forms_placeholder ) . ";opacity:1;}" . "\n"; 612 $custom .= "input:-ms-input-placeholder { color:" . esc_attr( $color_forms_placeholder ) . ";}" . "\n"; 613 $custom .= "input::-ms-input-placeholder { color:" . esc_attr( $color_forms_placeholder ) . ";}" . "\n"; 486 614 487 615 /* End porting */ … … 666 794 } 667 795 796 /** 797 * Get border color rgba CSS 798 */ 799 public static function get_border_color_rgba_css( $setting, $default, $selector, $opacity, $important = false ) { 800 $mod = get_theme_mod( $setting, $default ); 801 802 return $selector . '{ border-color:' . esc_attr( Sydney_Custom_CSS::get_instance()->hex2rgba( $mod, $opacity ) ) . ( $important ? '!important' : '' ) .';}' . "\n"; 803 } 668 804 } 669 805 -
sydney/1.84/inc/theme-update.php
r156111 r156796 230 230 } 231 231 add_action( 'init', 'sydney_migrate_typography' ); 232 233 234 /** 235 * Migrate Woocommerce options 236 * 237 */ 238 function sydney_migrate_woo_options() { 239 240 $flag = get_theme_mod( 'sydney_migrate_woo_options', false ); 241 242 if ( true === $flag ) { 243 return; 244 } 245 246 $swc_sidebar_archives = get_theme_mod( 'swc_sidebar_archives', 0 ); 247 if ( $swc_sidebar_archives ) { 248 set_theme_mod( 'shop_archive_sidebar', 'no-sidebar' ); 249 } 250 251 //Set flag 252 set_theme_mod( 'sydney_migrate_woo_options', true ); 253 } 254 add_action( 'init', 'sydney_migrate_woo_options' ); -
sydney/1.84/inc/woocommerce.php
r155756 r156796 1 1 <?php 2 2 /** 3 * Woocommerce wrappers3 * Woocommerce Compatibility 4 4 * 5 * @package Sydney 5 * @package Sydney Pro 6 6 */ 7 7 … … 14 14 */ 15 15 function sydney_wc_support() { 16 17 $enable_zoom = get_theme_mod( 'single_zoom_effects', 1 ); 18 $enable_gallery = get_theme_mod( 'single_gallery_slider', 1 ); 19 16 20 add_theme_support( 'woocommerce' ); 17 21 add_theme_support( 'wc-product-gallery-lightbox' ); 18 add_theme_support( 'wc-product-gallery-slider' ); 22 23 if ( $enable_gallery ) { 24 add_theme_support( 'wc-product-gallery-slider' ); 25 } 19 26 } 20 27 add_action( 'after_setup_theme', 'sydney_wc_support' ); … … 27 34 remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10); 28 35 remove_action( 'woocommerce_single_variation', 'woocommerce_single_variation_add_to_cart_button', 20 ); 29 add_action('woocommerce_before_main_content', 'sydney_wc_wrapper_start', 10); 30 add_action('woocommerce_after_main_content', 'sydney_wc_wrapper_end', 10); 36 add_action('woocommerce_before_main_content', 'sydney_wrapper_start', 10); 37 add_action('woocommerce_after_main_content', 'sydney_wrapper_end', 10); 38 39 $layout = get_theme_mod( 'shop_archive_layout', 'product-grid' ); 40 $button_layout = get_theme_mod( 'shop_product_add_to_cart_layout', 'layout2' ); 41 $quick_view_layout = get_theme_mod( 'shop_product_quickview_layout', 'layout1' ); 42 $wishlist_layout = get_theme_mod( 'shop_product_wishlist_layout', 'layout1' ); 43 44 //Loop image wrapper extra class 45 $loop_image_wrap_extra_class = 'sydney-add-to-cart-button-'. $button_layout; 46 if( 'layout1' !== $quick_view_layout ) { 47 $loop_image_wrap_extra_class .= ' sydney-quick-view-button-'. $quick_view_layout; 48 } 49 50 if( 'layout1' !== $wishlist_layout ) { 51 $loop_image_wrap_extra_class .= ' sydney-wishlist-button-'. $wishlist_layout; 52 } 53 54 55 //No sidebar for checkout, cart, account 56 if ( is_cart() ) { 57 add_filter( 'sydney_content_area_class', function() { 58 $shop_cart_show_cross_sell = get_theme_mod( 'shop_cart_show_cross_sell', 1 ); 59 $layout = get_theme_mod( 'shop_cart_layout', 'layout1' ); 60 61 if( $layout === 'layout1' && $shop_cart_show_cross_sell && count( WC()->cart->get_cross_sells() ) > 2 ) { 62 $layout .= ' has-cross-sells-carousel'; 63 } 64 65 return 'col-md-12 cart-' . esc_attr( $layout ); 66 } ); 67 } elseif ( is_checkout() ) { 68 add_filter( 'sydney_content_area_class', function() { $layout = get_theme_mod( 'shop_checkout_layout', 'layout1' ); return 'col-md-12 checkout-' . esc_attr( $layout ); } ); 69 } 70 71 //Archive layout 72 if ( is_shop() || is_product_category() || is_product_tag() ) { 73 74 if ( 'product-list' === $layout ) { 75 add_action( 'woocommerce_before_shop_loop_item', function() use ($loop_image_wrap_extra_class) { echo '<div class="row valign"><div class="col-md-4"><div class="loop-image-wrap '. esc_attr( $loop_image_wrap_extra_class ) .'">'; }, 1 ); 76 add_action( 'woocommerce_before_shop_loop_item_title', function() { echo '</div></div><div class="col-md-8">'; }, 11 ); 77 add_action( 'woocommerce_after_shop_loop_item', function() { echo '</div>'; }, PHP_INT_MAX ); 78 } 79 80 $page_title = get_theme_mod( 'shop_page_title', 1 ); 81 $page_desc = get_theme_mod( 'shop_page_description', 1); 82 $shop_breadcrumbs = get_theme_mod( 'shop_breadcrumbs', 1 ); 83 84 if ( !$page_title ) { 85 add_filter( 'woocommerce_show_page_title', '__return_false' ); 86 } 87 88 if ( !$page_desc ) { 89 remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description' ); 90 remove_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description' ); 91 } 92 93 if ( !$shop_breadcrumbs ) { 94 remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20 ); 95 } 96 97 98 99 //Results and sorting 100 $shop_results_count = get_theme_mod( 'shop_results_count', 1 ); 101 $shop_product_sorting = get_theme_mod( 'shop_product_sorting', 1 ); 102 103 if ( !$shop_product_sorting ) { 104 remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 ); 105 } 106 107 if ( !$shop_results_count ) { 108 remove_action( 'woocommerce_before_shop_loop', 'woocommerce_result_count', 20 ); 109 } 110 111 //Cart cross sell 112 $cart_layout = get_theme_mod( 'shop_cart_layout', 'layout1' ); 113 $shop_cart_show_cross_sell = get_theme_mod( 'shop_cart_show_cross_sell', 1 ); 114 115 if( !$shop_cart_show_cross_sell ) { 116 remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' ); 117 } 118 add_filter( 'woocommerce_cross_sells_columns', function() use ($cart_layout) { 119 return 'layout1' === $cart_layout ? 2 : 3; 120 } ); 121 add_filter( 'woocommerce_cross_sells_total', function() use ($cart_layout) { 122 return -1; 123 } ); 124 125 //Cart total sticky 126 $shop_cart_sticky_totals_box = get_theme_mod( 'shop_cart_sticky_totals_box', 0 ); 127 128 if( $shop_cart_sticky_totals_box && $cart_layout === 'layout2' ) { 129 add_action( 'woocommerce_before_cart', function(){ echo '<div class="cart-totals-sticky"></div>'; }, 999 ); 130 } 131 132 /** 133 * Loop product structure 134 */ 135 136 //Move link close tag 137 remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_product_link_close', 5 ); 138 add_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_link_close', 12 ); 139 140 //Wrap loop image 141 if ( 'product-grid' === $layout || is_product() ) { 142 //Wrap loop image 143 add_action( 'woocommerce_before_shop_loop_item_title', function() use ($loop_image_wrap_extra_class) { echo '<div class="loop-image-wrap '. esc_attr( $loop_image_wrap_extra_class ) .'">'; }, 9 ); 144 add_action( 'woocommerce_before_shop_loop_item_title', function() { echo '</div>'; }, 11 ); 145 } 146 147 if ( 'product-grid' === $layout ) { 148 //Move button inside image wrap 149 if ( 'layout4' === $button_layout && 'layout3' !== $quick_view_layout || 'layout3' === $button_layout && 'layout2' !== $quick_view_layout ) { 150 remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' ); 151 add_action( 'woocommerce_before_shop_loop_item_title', function() { sydney_wrap_loop_button_start(); woocommerce_template_loop_add_to_cart(); echo '</div>'; } ); 152 } 153 } else { 154 //Move button inside image wrap 155 if ( 'layout4' === $button_layout && 'layout3' !== $quick_view_layout || 'layout3' === $button_layout && 'layout2' !== $quick_view_layout ) { 156 remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' ); 157 add_action( 'woocommerce_before_shop_loop_item_title', function() { sydney_wrap_loop_button_start(); woocommerce_template_loop_add_to_cart(); echo '</div>'; } ); 158 } 159 } 160 161 //Remove product title, rating, price 162 remove_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_title' ); 163 remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 ); 164 remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price' ); 165 166 //Add elements from sortable option 167 add_action( 'woocommerce_after_shop_loop_item', 'sydney_loop_product_structure', 9 ); 168 169 } 170 171 //Single product settings 172 if ( is_product() ) { 173 $single_breadcrumbs = get_theme_mod( 'single_breadcrumbs', 1 ); 174 $single_tabs = get_theme_mod( 'single_product_tabs', 1 ); 175 $single_related = get_theme_mod( 'single_related_products', 1 ); 176 $single_upsell = get_theme_mod( 'single_upsell_products', 1 ); 177 $single_sticky_add_to_cart = get_theme_mod( 'single_sticky_add_to_cart', 0 ); 178 $single_product_gallery = get_theme_mod( 'single_product_gallery', 'gallery-default' ); 179 180 add_action( 'woocommerce_before_add_to_cart_button', 'sydney_single_addtocart_wrapper_open' ); 181 add_action( 'woocommerce_after_add_to_cart_button', 'sydney_single_addtocart_wrapper_close' ); 182 183 //Gallery 184 if( 'gallery-grid' === $single_product_gallery || 'gallery-scrolling' === $single_product_gallery ) { 185 remove_theme_support( 'wc-product-gallery-slider' ); 186 remove_theme_support( 'wc-product-gallery-zoom' ); 187 add_action( 'woocommerce_single_product_summary', function(){ echo '<div class="sticky-entry-summary">'; }, -99 ); 188 add_action( 'woocommerce_single_product_summary', function(){ echo '</div>'; }, 99 ); 189 add_filter( 'woocommerce_gallery_image_size', function(){ return 'woocommerce_single'; } ); 190 } 191 192 if( 'gallery-showcase' === $single_product_gallery ) { 193 remove_theme_support( 'wc-product-gallery-zoom' ); 194 add_action( 'woocommerce_single_product_summary', function(){ echo '<div class="sticky-entry-summary">'; }, -99 ); 195 add_action( 'woocommerce_single_product_summary', function(){ echo '</div>'; }, 99 ); 196 } 197 198 if( 'gallery-full-width' === $single_product_gallery ) { 199 remove_theme_support( 'wc-product-gallery-zoom' ); 200 add_action( 'woocommerce_single_product_summary', function(){ echo '<div class="gallery-full-width-title-wrapper">'; }, 0 ); 201 add_action( 'woocommerce_single_product_summary', function(){ echo '</div><div class="gallery-full-width-addtocart-wrapper">'; }, 20 ); 202 add_action( 'woocommerce_single_product_summary', function(){ echo '</div>'; }, 99 ); 203 } 204 205 //Breadcrumbs 206 if ( !$single_breadcrumbs ) { 207 remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20 ); 208 } 209 210 //Product tabs 211 if ( !$single_tabs ) { 212 remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs' ); 213 } 214 215 //Related products 216 if ( !$single_related ) { 217 remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 ); 218 } 219 220 //Upsell products 221 if ( !$single_upsell ) { 222 remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_upsell_display', 15 ); 223 } 224 add_filter( 'woocommerce_upsells_columns', function() { return 3; } ); 225 add_filter( 'woocommerce_upsells_total', function() { return -1; } ); 226 227 //Move sale tag 228 remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_sale_flash' ); 229 add_action( 'woocommerce_product_thumbnails', 'woocommerce_show_product_sale_flash', 99 ); 230 231 // Sticky add to cart 232 if( $single_sticky_add_to_cart ) { 233 $single_sticky_add_to_cart_position = get_theme_mod( 'single_sticky_add_to_cart_position', 'bottom' ); 234 235 if( $single_sticky_add_to_cart_position === 'bottom' ) { 236 add_action( 'sydney_footer_before', 'sydney_single_sticky_add_to_cart' ); 237 } else { 238 add_action( 'sydney_page_header', 'sydney_single_sticky_add_to_cart' ); 239 } 240 } 241 } 242 243 $shop_cart_show_cross_sell = get_theme_mod( 'shop_cart_show_cross_sell', 1 ); 244 $button_layout = get_theme_mod( 'shop_product_add_to_cart_layout', 'layout3' ); 245 $quick_view_layout = get_theme_mod( 'shop_product_quickview_layout', 'layout1' ); 246 $wishlist_layout = get_theme_mod( 'shop_product_wishlist_layout', 'layout1' ); 247 248 //Quick view and wishlist buttons 249 if ( is_shop() || is_product_category() || is_product_tag() || is_product() || is_cart() && $shop_cart_show_cross_sell ) { 250 if( 'layout1' !== $quick_view_layout || 'layout1' !== $wishlist_layout ) { 251 remove_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open' ); 252 remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_product_link_close' ); 253 add_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_link_open', 9 ); 254 add_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_link_close', 11 ); 255 } 256 257 if( 'layout1' !== $quick_view_layout ) { 258 add_action( 'woocommerce_before_shop_loop_item_title', 'sydney_quick_view_button', 10 ); 259 260 //Quick view popup 261 add_action( 'wp_body_open', 'sydney_quick_view_popup' ); 262 263 // Do not include on single product pages 264 if ( current_theme_supports( 'wc-product-gallery-lightbox' ) && false === is_product() ) { 265 add_action( 'sydney_footer_after', function(){ 266 wc_get_template( 'single-product/photoswipe.php' ); 267 } ); 268 } 269 } 270 271 if( 'layout1' !== $wishlist_layout ) { 272 add_action( 'woocommerce_before_shop_loop_item_title', 'sydney_wishlist_button', 10 ); 273 } 274 } 275 276 //Move cart collaterals 277 remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cart_totals' ); 278 add_action( 'woocommerce_before_cart_collaterals', 'woocommerce_cart_totals' ); 279 31 280 } 32 281 add_action('wp','sydney_woo_actions'); … … 35 284 * Theme wrappers 36 285 */ 37 function sydney_wc_wrapper_start() { 38 39 $archive_check = sydney_wc_archive_check(); 40 $rs_archives = get_theme_mod( 'swc_sidebar_archives' ); 41 $rs_products = get_theme_mod( 'swc_sidebar_products', 1 ); 42 43 if ( ( $archive_check && $rs_archives ) || ( is_product() && $rs_products ) ) { 44 $cols = 'col-md-12'; 45 } else { 46 $cols = 'col-md-9'; 47 } 48 49 echo '<div id="primary" class="content-area ' . $cols . '">'; 286 function sydney_wrapper_start() { 287 288 echo '<div id="primary" class="content-area ' . esc_attr( apply_filters( 'sydney_content_area_class', '' ) ) . '">'; 50 289 echo '<main id="main" class="site-main" role="main">'; 51 290 } 52 291 53 function sydney_w c_wrapper_end() {292 function sydney_wrapper_end() { 54 293 echo '</main>'; 55 294 echo '</div>'; 56 295 } 57 58 /**59 * Archive titles60 */61 function sydney_woo_archive_title() {62 echo '<h3 class="archive-title">';63 echo woocommerce_page_title();64 echo '</h3>';65 }66 add_filter( 'woocommerce_show_page_title', 'sydney_woo_archive_title' );67 296 68 297 /** … … 79 308 */ 80 309 function sydney_woocommerce_css() { 81 wp_enqueue_style( 'sydney-wc-css', get_template_directory_uri() . '/woocommerce/css/wc.css' ); 310 wp_enqueue_style( 'sydney-wc-css', get_template_directory_uri() . '/woocommerce/css/wc.css', array(), '20211020' ); 311 312 313 //Enqueue gallery scripts for quick view 314 $shop_cart_show_cross_sell = get_theme_mod( 'shop_cart_show_cross_sell', 1 ); 315 316 if ( is_shop() || is_product_category() || is_product_tag() || is_cart() && $shop_cart_show_cross_sell ) { 317 $quick_view_layout = get_theme_mod( 'shop_product_quickview_layout', 'layout1' ); 318 319 if( 'layout1' !== $quick_view_layout ) { 320 $register_scripts = array(); 321 322 if ( current_theme_supports( 'wc-product-gallery-slider' ) ) { 323 $register_scripts['flexslider'] = array( 324 'src' => plugins_url( 'assets/js/flexslider/jquery.flexslider.min.js', WC_PLUGIN_FILE ), 325 'deps' => array( 'jquery' ) 326 ); 327 } 328 if ( current_theme_supports( 'wc-product-gallery-lightbox' ) ) { 329 $register_styles = array( 330 'photoswipe' => array( 331 'src' => plugins_url( 'assets/css/photoswipe/photoswipe.min.css', WC_PLUGIN_FILE ), 332 'deps' => array() 333 ), 334 'photoswipe-default-skin' => array( 335 'src' => plugins_url( 'assets/css/photoswipe/default-skin/default-skin.min.css', WC_PLUGIN_FILE ), 336 'deps' => array( 'photoswipe' ) 337 ) 338 ); 339 foreach ( $register_styles as $name => $props ) { 340 wp_enqueue_style( $name, $props['src'], $props['deps'], '20211020' ); 341 } 342 343 $register_scripts['photoswipe'] = array( 344 'src' => plugins_url( 'assets/js/photoswipe/photoswipe.min.js', WC_PLUGIN_FILE ), 345 'deps' => array() 346 ); 347 $register_scripts['photoswipe-ui-default'] = array( 348 'src' => plugins_url( 'assets/js/photoswipe/photoswipe-ui-default.min.js', WC_PLUGIN_FILE ), 349 'deps' => array( 'photoswipe' ) 350 ); 351 } 352 353 $register_scripts['wc-single-product'] = array( 354 'src' => plugins_url( 'assets/js/frontend/single-product.min.js', WC_PLUGIN_FILE ), 355 'deps' => array( 'jquery' ) 356 ); 357 358 if ( current_theme_supports( 'wc-product-gallery-zoom' ) ) { 359 $register_scripts['zoom'] = array( 360 'src' => plugins_url( 'assets/js/zoom/jquery.zoom.min.js', WC_PLUGIN_FILE ), 361 'deps' => array( 'jquery' ) 362 ); 363 } 364 365 // Enqueue variation scripts. 366 $register_scripts['wc-add-to-cart-variation'] = array( 367 'src' => plugins_url( 'assets/js/frontend/add-to-cart-variation.min.js', WC_PLUGIN_FILE ), 368 'deps' => array( 'jquery', 'wp-util', 'jquery-blockui' ) 369 ); 370 371 foreach ( $register_scripts as $name => $props ) { 372 wp_enqueue_script( $name, $props['src'], $props['deps'], '20211020' ); 373 } 374 375 } 376 } 377 82 378 } 83 379 add_action( 'wp_enqueue_scripts', 'sydney_woocommerce_css', 1 ); … … 100 396 ?> 101 397 <div class="woocommerce-variation-add-to-cart variations_button"> 102 <?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>398 <?php do_action( 'woocommerce_before_add_to_cart_button' ); ?> 103 399 104 400 <?php … … 119 415 } 120 416 add_action( 'woocommerce_single_variation', 'sydney_single_variation_add_to_cart_button', 21 ); 121 122 /**123 * Add SVG cart icon to loop add to cart button124 */125 function sydney_add_loop_cart_icon() {126 127 global $product;128 129 $type = $product->get_type();130 131 if ( 'simple' == $type ) {132 $icon = '<span><i class="sydney-svg-icon">' . sydney_get_svg_icon( 'icon-add-cart', false ) . '</i></span> ';133 } else {134 $icon = '';135 }136 137 return sprintf(138 '<div class="loop-button-wrapper"><a href="%s" data-quantity="%s" class="%s" %s>' . $icon . '%s</a></div>',139 esc_url( $product->add_to_cart_url() ),140 esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ),141 esc_attr( isset( $args['class'] ) ? $args['class'] : 'button' ),142 isset( $args['attributes'] ) ? wc_implode_html_attributes( $args['attributes'] ) : '',143 esc_html( $product->add_to_cart_text() )144 );145 146 }147 add_filter( 'woocommerce_loop_add_to_cart_link', 'sydney_add_loop_cart_icon' );148 149 /**150 * Remove sidebar from all archives151 */152 function sydney_remove_wc_sidebar_archives() {153 $archive_check = sydney_wc_archive_check();154 $rs_archives = get_theme_mod( 'swc_sidebar_archives' );155 $rs_products = get_theme_mod( 'swc_sidebar_products', 1 );156 157 if ( ( $rs_archives && $archive_check ) || ( $rs_products && is_product() ) ) {158 remove_action('woocommerce_sidebar', 'woocommerce_get_sidebar', 10);159 }160 }161 add_action( 'wp', 'sydney_remove_wc_sidebar_archives' );162 163 /**164 * Returns true if current page is shop, product archive or product tag165 */166 function sydney_wc_archive_check() {167 if ( is_shop() || is_product_category() || is_product_tag() ) {168 return true;169 } else {170 return false;171 }172 }173 174 /**175 * Filter quick view button from YITH to remove the text176 */177 function sydney_filter_yith_wcqv_button() {178 179 global $product;180 181 $product_id = $product->get_id();182 183 $button = '<a href="#" class="yith-wcqv-button" data-product_id="' . esc_attr( $product_id ) . '">' . sydney_get_svg_icon( 'icon-search', false ) . '</a>';184 return $button;185 }186 add_filter( 'yith_add_quick_view_button_html', 'sydney_filter_yith_wcqv_button' );187 188 189 function sydney_add_yith_placeholder() {190 echo '<div class="yith-placeholder"></div>';191 }192 add_action( 'woocommerce_before_shop_loop_item', 'sydney_add_yith_placeholder' );193 194 /**195 * Remove additional titles from Woocommerce tabs196 */197 add_filter( 'woocommerce_product_additional_information_heading', '__return_false' );198 add_filter( 'woocommerce_product_description_heading', '__return_false' );199 417 200 418 if ( ! function_exists( 'sydney_woocommerce_cart_link_fragment' ) ) { … … 277 495 } 278 496 } 497 498 /** 499 * Show product descriptions when layout is set to 1 column 500 */ 501 function sydney_shop_descriptions() { 502 $number = get_theme_mod( 'swc_columns_number', 3 ); 503 504 if ( $number == 1 ) { 505 the_excerpt(); 506 } 507 } 508 add_action( 'woocommerce_after_shop_loop_item_title', 'sydney_shop_descriptions', 11, 2); 509 510 /** 511 * Returns true if current page is shop, product archive or product tag 512 */ 513 function sydney_wc_archive_check() { 514 if ( is_shop() || is_product_category() || is_product_tag() ) { 515 return true; 516 } else { 517 return false; 518 } 519 } 520 521 /** 522 * Remove sidebar from all archives 523 */ 524 function sydney_remove_wc_sidebar_archives() { 525 $archive_check = sydney_wc_archive_check(); 526 $rs_archives = get_theme_mod( 'swc_sidebar_archives' ); 527 $rs_products = get_theme_mod( 'swc_sidebar_products' ); 528 529 if ( ( $rs_archives && $archive_check ) || ( $rs_products && is_product() ) ) { 530 remove_action('woocommerce_sidebar', 'woocommerce_get_sidebar', 10); 531 } 532 } 533 add_action( 'wp', 'sydney_remove_wc_sidebar_archives' ); 534 535 /** 536 * Add SVG cart icon to loop add to cart button 537 */ 538 function sydney_add_loop_cart_icon( $icon, $product, $args ) { 539 540 global $product; 541 542 $type = $product->get_type(); 543 544 if ( 'simple' == $type ) { 545 $icon = '<span><i class="sydney-svg-icon">' . sydney_get_svg_icon( 'icon-add-cart', false ) . '</i></span> '; 546 } else { 547 $icon = ''; 548 } 549 550 return sprintf( 551 '<div class="loop-button-wrapper"><a href="%s" data-quantity="%s" class="%s" %s>' . $icon . '%s</a></div>', 552 esc_url( $product->add_to_cart_url() ), 553 esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ), 554 esc_attr( isset( $args['class'] ) ? $args['class'] : 'button' ), 555 isset( $args['attributes'] ) ? wc_implode_html_attributes( $args['attributes'] ) : '', 556 esc_html( $product->add_to_cart_text() ) 557 ); 558 559 } 560 add_filter( 'woocommerce_loop_add_to_cart_link', 'sydney_add_loop_cart_icon', 10, 3 ); 561 562 /** 563 * Filter quick view button from YITH to remove the text 564 */ 565 function sydney_filter_yith_wcqv_button() { 566 567 global $product; 568 569 $product_id = $product->get_id(); 570 571 $button = '<a href="#" class="yith-wcqv-button" data-product_id="' . esc_attr( $product_id ) . '">' . sydney_get_svg_icon( 'icon-search', false ) . '</a>'; 572 return $button; 573 } 574 add_filter( 'yith_add_quick_view_button_html', 'sydney_filter_yith_wcqv_button' ); 575 576 /** 577 * Add placeholder for YITH buttons 578 */ 579 function sydney_add_yith_placeholder() { 580 echo '<div class="yith-placeholder"></div>'; 581 } 582 add_action( 'woocommerce_before_shop_loop_item', 'sydney_add_yith_placeholder' ); 583 584 /** 585 * Remove additional titles from Woocommerce tabs 586 */ 587 add_filter( 'woocommerce_product_additional_information_heading', '__return_false' ); 588 add_filter( 'woocommerce_product_description_heading', '__return_false' ); 589 590 /** 591 * Set single product gallery thumbnail columns 592 */ 593 function sydney_woocommerce_product_thumbnails_columns() { 594 595 $columns = get_theme_mod( 'swc_gallery_columns', '4' ); 596 597 return $columns; 598 }; 599 add_filter( 'woocommerce_product_thumbnails_columns', 'sydney_woocommerce_product_thumbnails_columns', 10, 1 ); 600 601 /** 602 * Remove breadcrumbs on single products (legacy) 603 */ 604 function sydney_remove_wc_breadcrumbs() { 605 606 $disable_breadcrumbs = get_theme_mod( 'swc_disable_single_breadcrumbs' ); 607 608 if ( is_product() && $disable_breadcrumbs ) { 609 remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 ); 610 } 611 } 612 add_action( 'wp', 'sydney_remove_wc_breadcrumbs' ); 613 614 /** 615 * Legacy functions 616 */ 617 618 /** 619 * Update cart 620 */ 621 function sydney_header_add_to_cart_fragment( $fragments ) { 622 623 ob_start(); 624 ?> 625 <a class="cart-contents" href="<?php echo wc_get_cart_url(); ?>"><i class="sydney-svg-icon"><?php sydney_get_svg_icon( 'icon-cart', true ); ?></i><span class="cart-amount"><?php echo WC()->cart->cart_contents_count; ?></span></a> 626 <?php 627 628 $fragments['a.cart-contents'] = ob_get_clean(); 629 630 return $fragments; 631 } 632 add_filter( 'woocommerce_add_to_cart_fragments', 'sydney_header_add_to_cart_fragment' ); 633 634 /** 635 * Add cart to menu 636 */ 637 function sydney_nav_cart ( $items, $args ) { 638 639 $swc_show_cart_menu = get_theme_mod('swc_show_cart_menu'); 640 if ( $swc_show_cart_menu ) { 641 if ( $args -> theme_location == 'primary' ) { 642 $items .= '<li class="nav-cart"><a class="cart-contents" href="' . wc_get_cart_url() . '"><i class="sydney-svg-icon">' . sydney_get_svg_icon( 'icon-cart', false ) . '</i><span class="cart-amount">' . WC()->cart->cart_contents_count . '</span></a></li>'; 643 } 644 } 645 return $items; 646 } 647 add_filter( 'wp_nav_menu_items', 'sydney_nav_cart', 10, 2 ); 648 649 /** 650 * Woocommerce account link in header 651 */ 652 function sydney_woocommerce_account_link( $items, $args ) { 653 $swc_show_cart_menu = get_theme_mod('swc_show_cart_menu'); 654 if ( $swc_show_cart_menu && ( $args -> theme_location == 'primary' ) ) { 655 if ( is_user_logged_in() ) { 656 $account = __( 'My Account', 'sydney' ); 657 } else { 658 $account = __( 'Login/Register', 'sydney' ); 659 } 660 $items .= '<li class="header-account"><a href="' . get_permalink( get_option('woocommerce_myaccount_page_id') ) . '" title="' . $account . '"><i class="sydney-svg-icon">' . sydney_get_svg_icon( 'icon-user', false ) . '</i></a></li>'; 661 } 662 return $items; 663 } 664 add_filter( 'wp_nav_menu_items', 'sydney_woocommerce_account_link', 10, 2 ); 665 666 /** 667 * Single product top area wrapper 668 */ 669 function sydney_single_product_wrap_before() { 670 $single_product_gallery = get_theme_mod( 'single_product_gallery', 'gallery-default' ); 671 672 echo '<div class="product-gallery-summary clearfix ' . esc_attr( $single_product_gallery ) . '">'; 673 } 674 add_action( 'woocommerce_before_single_product_summary', 'sydney_single_product_wrap_before', -99 ); 675 676 /** 677 * Single product top area wrapper 678 */ 679 function sydney_single_product_wrap_after() { 680 echo '</div>'; 681 } 682 add_action( 'woocommerce_after_single_product_summary', 'sydney_single_product_wrap_after', 9 ); 683 684 /** 685 * Filter single product Flexslider options 686 */ 687 function sydney_product_carousel_options( $options ) { 688 689 $layout = get_theme_mod( 'single_product_gallery', 'gallery-default' ); 690 691 if ( 'gallery-single' === $layout ) { 692 $options['controlNav'] = false; 693 $options['directionNav'] = true; 694 } 695 696 if ( 'gallery-showcase' === $layout || 'gallery-full-width' === $layout ) { 697 $options['controlNav'] = 'thumbnails'; 698 $options['directionNav'] = true; 699 } 700 701 return $options; 702 } 703 add_filter( 'woocommerce_single_product_carousel_options', 'sydney_product_carousel_options' ); 704 705 /** 706 * Single add to cart wrapper 707 */ 708 function sydney_single_addtocart_wrapper_open() { 709 echo '<div class="sydney-single-addtocart-wrapper">'; 710 } 711 712 function sydney_single_addtocart_wrapper_close() { 713 echo '</div>'; 714 } 715 716 /** 717 * Layout shop archive 718 */ 719 function sydney_wc_archive_layout() { 720 721 $archive_sidebar = get_theme_mod( 'shop_archive_sidebar', 'no-sidebar' ); 722 $shop_categories_layout = get_theme_mod( 'shop_categories_layout', 'layout1' ); 723 724 if ( 'no-sidebar' === $archive_sidebar ) { 725 remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 ); 726 } 727 728 if ( 'sidebar-top' === $archive_sidebar ) { 729 $shop_archive_sidebar_top_columns = get_theme_mod( 'shop_archive_sidebar_top_columns', '4' ); 730 731 $archive_sidebar .= ' sidebar-top-columns-' . $shop_archive_sidebar_top_columns; 732 } 733 734 $archive_sidebar .= ' product-category-item-' . $shop_categories_layout; 735 736 $layout = get_theme_mod( 'shop_archive_layout', 'product-grid' ); 737 738 return $archive_sidebar . ' ' . $layout; 739 } 740 741 /** 742 * Loop product structure 743 */ 744 function sydney_loop_product_structure() { 745 $elements = get_theme_mod( 'shop_card_elements', array( 'woocommerce_template_loop_product_title', 'woocommerce_template_loop_rating', 'woocommerce_template_loop_price' ) ); 746 747 foreach ( $elements as $element ) { 748 call_user_func( $element ); 749 } 750 } 751 752 /** 753 * Loop product category 754 */ 755 function sydney_loop_product_category() { 756 echo '<div class="product-category">' . wc_get_product_category_list( get_the_id() ) . '</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 757 } 758 759 /** 760 * Loop product description 761 */ 762 function sydney_loop_product_description() { 763 $content = get_the_excerpt(); 764 765 echo wp_kses_post( wp_trim_words( $content, 12, '…' ) ); 766 } 767 768 /** 769 * Loop add to cart 770 */ 771 function sydney_filter_loop_add_to_cart( $button, $product, $args ) { 772 global $product; 773 774 //Return if not button layout 4 775 $button_layout = get_theme_mod( 'shop_product_add_to_cart_layout', 'layout2' ); 776 $layout = get_theme_mod( 'shop_archive_layout', 'product-grid' ); 777 778 if ( 'layout4' !== $button_layout ) { 779 return $button; 780 } 781 782 if ( $product->is_type( 'simple' ) ) { 783 $text = '<i class="sydney-svg-icon">' . sydney_get_svg_icon( 'icon-cart', false ) . '</i>'; 784 } else { 785 $text = '<i class="sydney-svg-icon">' . sydney_get_svg_icon( 'icon-eye', false ) . '</i>'; 786 } 787 788 $button = sprintf( 789 '<a href="%s" data-quantity="%s" class="%s" %s>%s</a>', 790 esc_url( $product->add_to_cart_url() ), 791 esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ), 792 esc_attr( isset( $args['class'] ) ? $args['class'] : 'button' ), 793 isset( $args['attributes'] ) ? wc_implode_html_attributes( $args['attributes'] ) : '', 794 $text 795 ); 796 797 return $button; 798 } 799 add_filter( 'woocommerce_loop_add_to_cart_link', 'sydney_filter_loop_add_to_cart', 10, 3 ); 800 801 /** 802 * Wrap loop button 803 */ 804 function sydney_wrap_loop_button_start() { 805 $button_layout = get_theme_mod( 'shop_product_add_to_cart_layout', 'layout2' ); 806 echo '<div class="loop-button-wrap button-' . esc_attr( $button_layout ) . '">'; 807 } 808 809 /** 810 * Quick view button 811 */ 812 function sydney_quick_view_button( $product = false, $echo = true ) { 813 if( $product == false ) { 814 global $product; 815 } 816 817 $product_id = $product->get_id(); 818 $quick_view_layout = get_theme_mod( 'shop_product_quickview_layout', 'layout1' ); 819 if( 'layout1' == $quick_view_layout ) { 820 return ''; 821 } 822 823 if( $echo == false ) { 824 ob_start(); 825 } ?> 826 827 <a href="#" class="button sydney-quick-view-show-on-hover sydney-quick-view sydney-quick-view-<?php echo esc_attr( $quick_view_layout ); ?>" aria-label="<?php /* translators: %s: quick view product title */ echo sprintf( esc_attr__( 'Quick view the %s product', 'sydney' ), get_the_title( $product_id ) ); ?>" data-product-id="<?php echo absint( $product_id ); ?>" data-nonce="<?php echo esc_attr( wp_create_nonce( 'sydney-qview-nonce' ) ); ?>"> 828 <?php esc_html_e( 'Quick View', 'sydney' ); ?> 829 </a> 830 <?php 831 if( $echo == false ) { 832 $output = ob_get_clean(); 833 return $output; 834 } 835 } 836 837 /** 838 * Quick view popup 839 */ 840 function sydney_quick_view_popup() { ?> 841 <div class="single-product sydney-quick-view-popup"> 842 <div class="sydney-quick-view-loader"> 843 <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 512 512" aria-hidden="true" focusable="false"> 844 <path fill="#FFF" d="M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z" /> 845 </svg> 846 </div> 847 <div class="sydney-quick-view-popup-content"> 848 <a href="#" class="sydney-quick-view-popup-close-button"> 849 <i class="ws-svg-icon"><?php sydney_get_svg_icon( 'icon-cancel', true ); ?></i> 850 </a> 851 <div class="sydney-quick-view-popup-content-ajax"></div> 852 </div> 853 </div> 854 855 <?php 856 } 857 858 /** 859 * Quick view add to cart wrapper 860 */ 861 add_action( 'sydney_quick_view_before_add_to_cart_button', 'sydney_single_addtocart_wrapper_open' ); 862 add_action( 'sydney_quick_view_after_add_to_cart_button', 'sydney_single_addtocart_wrapper_close' ); 863 864 /** 865 * Quick view ajax callback 866 */ 867 function sydney_quick_view_content_callback_function() { 868 check_ajax_referer( 'sydney-qview-nonce', 'nonce' ); 869 870 if( !isset( $_POST['product_id'] ) ) { 871 return; 872 } 873 874 $args = array( 875 'product_id' => absint( $_POST['product_id'] ) 876 ); 877 878 sydney_get_template_part( 'content', 'quick-view', $args ); 879 880 wp_die(); 881 } 882 add_action('wp_ajax_sydney_quick_view_content', 'sydney_quick_view_content_callback_function'); 883 add_action( 'wp_ajax_nopriv_sydney_quick_view_content', 'sydney_quick_view_content_callback_function' ); 884 885 /** 886 * sydney output for simple product add to cart area. 887 * The purpose is avoid third party plugins hooking here 888 */ 889 function sydney_simple_add_to_cart( $product, $hook_prefix = '' ) { 890 if ( ! $product->is_purchasable() ) { 891 return; 892 } 893 894 echo wc_get_stock_html( $product ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 895 896 if ( $product->is_in_stock() ) : ?> 897 898 <?php do_action( "sydney_{$hook_prefix}_before_add_to_cart_form" ); ?> 899 900 <form class="cart" action="<?php echo esc_url( apply_filters( "sydney_{$hook_prefix}_add_to_cart_form_action", $product->get_permalink() ) ); ?>" method="post" enctype='multipart/form-data'> 901 <?php do_action( "sydney_{$hook_prefix}_before_add_to_cart_button" ); ?> 902 903 <?php 904 do_action( "sydney_{$hook_prefix}_before_add_to_cart_quantity" ); 905 906 woocommerce_quantity_input( 907 array( 908 'min_value' => apply_filters( "sydney_{$hook_prefix}_quantity_input_min", $product->get_min_purchase_quantity(), $product ), 909 'max_value' => apply_filters( "sydney_{$hook_prefix}_quantity_input_max", $product->get_max_purchase_quantity(), $product ), 910 'input_value' => isset( $_POST['quantity'] ) ? wc_stock_amount( absint( $_POST['quantity'] ) ) : $product->get_min_purchase_quantity() 911 ) 912 ); 913 914 do_action( "sydney_{$hook_prefix}_after_add_to_cart_quantity" ); 915 ?> 916 917 <button type="submit" name="add-to-cart" value="<?php echo esc_attr( $product->get_id() ); ?>" class="single_add_to_cart_button button alt"><?php echo esc_html( $product->single_add_to_cart_text() ); ?></button> 918 919 <?php do_action( "sydney_{$hook_prefix}_after_add_to_cart_button" ); ?> 920 </form> 921 922 <?php do_action( "sydney_{$hook_prefix}_after_add_to_cart_form" ); ?> 923 924 <?php endif; 925 } 926 927 /** 928 * sydney output for grouped product add to cart area. 929 * The purpose is avoid third party plugins hooking here 930 */ 931 function sydney_grouped_add_to_cart( $product, $hook_prefix = '' ) { 932 $products = array_filter( array_map( 'wc_get_product', $product->get_children() ), 'wc_products_array_filter_visible_grouped' ); 933 934 if ( $products ) : 935 $post = get_post( $product->get_id() ); 936 $grouped_product = $product; 937 $grouped_products = $products; 938 $quantites_required = false; 939 940 do_action( "sydney_{$hook_prefix}_before_add_to_cart_form" ); ?> 941 942 <form class="cart grouped_form" action="<?php echo esc_url( apply_filters( "sydney_{$hook_prefix}_add_to_cart_form_action", $product->get_permalink() ) ); ?>" method="post" enctype='multipart/form-data'> 943 <table cellspacing="0" class="woocommerce-grouped-product-list group_table"> 944 <tbody> 945 <?php 946 $quantites_required = false; 947 $previous_post = $post; 948 $grouped_product_columns = apply_filters( 949 "sydney_{$hook_prefix}_grouped_product_columns", 950 array( 951 'quantity', 952 'label', 953 'price', 954 ), 955 $product 956 ); 957 $show_add_to_cart_button = false; 958 959 do_action( "sydney_{$hook_prefix}_grouped_product_list_before", $grouped_product_columns, $quantites_required, $product ); 960 961 foreach ( $grouped_products as $grouped_product_child ) { 962 $post_object = get_post( $grouped_product_child->get_id() ); 963 $quantites_required = $quantites_required || ( $grouped_product_child->is_purchasable() && ! $grouped_product_child->has_options() ); 964 $post = $post_object; 965 setup_postdata( $post ); 966 967 if ( $grouped_product_child->is_in_stock() ) { 968 $show_add_to_cart_button = true; 969 } 970 971 echo '<tr id="product-' . esc_attr( $grouped_product_child->get_id() ) . '" class="woocommerce-grouped-product-list-item ' . esc_attr( implode( ' ', wc_get_product_class( '', $grouped_product_child ) ) ) . '">'; 972 973 // Output columns for each product. 974 foreach ( $grouped_product_columns as $column_id ) { 975 do_action( "sydney_{$hook_prefix}_grouped_product_list_before_" . $column_id, $grouped_product_child ); 976 977 switch ( $column_id ) { 978 case 'quantity': 979 ob_start(); 980 981 if ( ! $grouped_product_child->is_purchasable() || $grouped_product_child->has_options() || ! $grouped_product_child->is_in_stock() ) { 982 woocommerce_template_loop_add_to_cart(); 983 } elseif ( $grouped_product_child->is_sold_individually() ) { 984 echo '<input type="checkbox" name="' . esc_attr( 'quantity[' . $grouped_product_child->get_id() . ']' ) . '" value="1" class="wc-grouped-product-add-to-cart-checkbox" />'; 985 } else { 986 do_action( "sydney_{$hook_prefix}_before_add_to_cart_quantity" ); 987 988 woocommerce_quantity_input( 989 array( 990 'input_name' => 'quantity[' . $grouped_product_child->get_id() . ']', 991 'input_value' => isset( $_POST['quantity'][ $grouped_product_child->get_id() ] ) ? wc_stock_amount( wc_clean( wp_unslash( $_POST['quantity'][ $grouped_product_child->get_id() ] ) ) ) : '', // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized 992 'min_value' => apply_filters( "sydney_{$hook_prefix}_quantity_input_min", 0, $grouped_product_child ), 993 'max_value' => apply_filters( "sydney_{$hook_prefix}_quantity_input_max", $grouped_product_child->get_max_purchase_quantity(), $grouped_product_child ), 994 'placeholder' => '0', 995 ) 996 ); 997 998 do_action( "sydney_{$hook_prefix}_after_add_to_cart_quantity" ); 999 } 1000 1001 $value = ob_get_clean(); 1002 break; 1003 case 'label': 1004 $value = '<label for="product-' . esc_attr( $grouped_product_child->get_id() ) . '">'; 1005 $value .= $grouped_product_child->is_visible() ? '<a href="' . esc_url( apply_filters( "sydney_{$hook_prefix}_grouped_product_list_link", $grouped_product_child->get_permalink(), $grouped_product_child->get_id() ) ) . '">' . $grouped_product_child->get_name() . '</a>' : $grouped_product_child->get_name(); 1006 $value .= '</label>'; 1007 break; 1008 case 'price': 1009 $value = $grouped_product_child->get_price_html() . wc_get_stock_html( $grouped_product_child ); 1010 break; 1011 default: 1012 $value = ''; 1013 break; 1014 } 1015 1016 echo '<td class="woocommerce-grouped-product-list-item__' . esc_attr( $column_id ) . '">' . apply_filters( "sydney_{$hook_prefix}_grouped_product_list_column_" . $column_id, $value, $grouped_product_child ) . '</td>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 1017 1018 do_action( "sydney_{$hook_prefix}_grouped_product_list_after_" . $column_id, $grouped_product_child ); 1019 } 1020 1021 echo '</tr>'; 1022 } 1023 $post = $previous_post; 1024 setup_postdata( $post ); 1025 1026 do_action( "sydney_{$hook_prefix}_grouped_product_list_after", $grouped_product_columns, $quantites_required, $product ); 1027 ?> 1028 </tbody> 1029 </table> 1030 1031 <input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $product->get_id() ); ?>" /> 1032 1033 <?php if ( $quantites_required && $show_add_to_cart_button ) : ?> 1034 1035 <?php do_action( "sydney_{$hook_prefix}_before_add_to_cart_button" ); ?> 1036 1037 <button type="submit" class="single_add_to_cart_button button alt"><?php echo esc_html( $product->single_add_to_cart_text() ); ?></button> 1038 1039 <?php do_action( "sydney_{$hook_prefix}_after_add_to_cart_button" ); ?> 1040 1041 <?php endif; ?> 1042 </form> 1043 1044 <?php do_action( "sydney_{$hook_prefix}_after_add_to_cart_form" ); ?> 1045 1046 <?php endif; 1047 } 1048 1049 /** 1050 * sydney output for variable product add to cart area. 1051 * The purpose is avoid third party plugins hooking here 1052 */ 1053 function sydney_variable_add_to_cart( $product, $hook_prefix = '' ) { 1054 // Get Available variations? 1055 $get_variations = count( $product->get_children() ) <= apply_filters( "sydney_{$hook_prefix}_ajax_variation_threshold", 30, $product ); 1056 1057 $available_variations = $get_variations ? $product->get_available_variations() : false; 1058 $attributes = $product->get_variation_attributes(); 1059 $selected_attributes = $product->get_default_attributes(); 1060 1061 $attribute_keys = array_keys( $attributes ); 1062 $variations_json = wp_json_encode( $available_variations ); 1063 $variations_attr = function_exists( 'wc_esc_json' ) ? wc_esc_json( $variations_json ) : _wp_specialchars( $variations_json, ENT_QUOTES, 'UTF-8', true ); 1064 1065 do_action( "sydney_{$hook_prefix}_before_add_to_cart_form" ); ?> 1066 1067 <form class="variations_form cart" action="<?php echo esc_url( apply_filters( "sydney_{$hook_prefix}_add_to_cart_form_action", $product->get_permalink() ) ); ?>" method="post" enctype='multipart/form-data' data-product_id="<?php echo absint( $product->get_id() ); ?>" data-product_variations="<?php echo $variations_attr; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>"> 1068 <?php do_action( "sydney_{$hook_prefix}_before_variations_form" ); ?> 1069 1070 <?php if ( empty( $available_variations ) && false !== $available_variations ) : ?> 1071 <p class="stock out-of-stock"><?php echo esc_html( apply_filters( "sydney_{$hook_prefix}_out_of_stock_message", __( 'This product is currently out of stock and unavailable.', 'sydney' ) ) ); ?></p> 1072 <?php else : ?> 1073 <table class="variations" cellspacing="0"> 1074 <tbody> 1075 <?php foreach ( $attributes as $attribute_name => $options ) : ?> 1076 <tr> 1077 <td class="label"><label for="<?php echo esc_attr( sanitize_title( $attribute_name ) ); ?>"><?php echo wc_attribute_label( $attribute_name ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></label></td> 1078 <td class="value"> 1079 <?php 1080 wc_dropdown_variation_attribute_options( 1081 array( 1082 'options' => $options, 1083 'attribute' => $attribute_name, 1084 'product' => $product, 1085 ) 1086 ); 1087 echo end( $attribute_keys ) === $attribute_name ? wp_kses_post( apply_filters( "sydney_{$hook_prefix}_reset_variations_link", '<a class="reset_variations" href="#">' . esc_html__( 'Clear', 'sydney' ) . '</a>' ) ) : ''; 1088 ?> 1089 </td> 1090 </tr> 1091 <?php endforeach; ?> 1092 </tbody> 1093 </table> 1094 1095 <div class="single_variation_wrap"> 1096 <?php 1097 /** 1098 * Hook: woocommerce_before_single_variation. 1099 */ 1100 do_action( "sydney_{$hook_prefix}_before_single_variation" ); ?> 1101 1102 <div class="woocommerce-variation single_variation"></div> 1103 <div class="woocommerce-variation-add-to-cart variations_button"> 1104 <?php do_action( "sydney_{$hook_prefix}_before_add_to_cart_button" ); // phpcs:ignore WPThemeReview.CoreFunctionality.PrefixAllGlobals.NonPrefixedHooknameFound ?> 1105 1106 <?php 1107 do_action( "sydney_{$hook_prefix}_before_add_to_cart_quantity" ); 1108 1109 woocommerce_quantity_input( 1110 array( 1111 'min_value' => apply_filters( "sydney_{$hook_prefix}_quantity_input_min", $product->get_min_purchase_quantity(), $product ), 1112 'max_value' => apply_filters( "sydney_{$hook_prefix}_quantity_input_max", $product->get_max_purchase_quantity(), $product ), 1113 'input_value' => isset( $_POST['quantity'] ) ? wc_stock_amount( wp_unslash( $_POST['quantity'] ) ) : $product->get_min_purchase_quantity(), // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized 1114 ) 1115 ); 1116 1117 do_action( "sydney_{$hook_prefix}_after_add_to_cart_quantity" ); 1118 ?> 1119 1120 <button type="submit" class="single_add_to_cart_button button alt"><?php echo esc_html( $product->single_add_to_cart_text() ); ?></button> 1121 1122 <?php do_action( "sydney_{$hook_prefix}_after_add_to_cart_button" ); ?> 1123 1124 <input type="hidden" name="add-to-cart" value="<?php echo absint( $product->get_id() ); ?>" /> 1125 <input type="hidden" name="product_id" value="<?php echo absint( $product->get_id() ); ?>" /> 1126 <input type="hidden" name="variation_id" class="variation_id" value="0" /> 1127 </div> 1128 1129 1130 <?php 1131 /** 1132 * Hook: woocommerce_after_single_variation. 1133 */ 1134 do_action( 'sydney_quick_view_after_single_variation' ); 1135 ?> 1136 </div> 1137 <?php endif; ?> 1138 1139 <?php do_action( 'sydney_quick_view_after_variations_form' ); ?> 1140 </form> 1141 1142 <?php 1143 do_action( 'sydney_quick_view_after_add_to_cart_form' ); 1144 } 1145 1146 1147 /** 1148 * sydney output for external product add to cart area. 1149 * The purpose is avoid third party plugins hooking here 1150 */ 1151 function sydney_external_add_to_cart( $product, $hook_prefix = '' ) { 1152 if ( ! $product->add_to_cart_url() ) { 1153 return; 1154 } 1155 1156 $product_url = $product->add_to_cart_url(); 1157 $button_text = $product->single_add_to_cart_text(); 1158 1159 do_action( "sydney_{$hook_prefix}_before_add_to_cart_form" ); ?> 1160 1161 <form class="cart" action="<?php echo esc_url( $product_url ); ?>" method="get"> 1162 <?php do_action( "sydney_{$hook_prefix}_before_add_to_cart_button" ); ?> 1163 1164 <button type="submit" class="single_add_to_cart_button button alt"><?php echo esc_html( $button_text ); ?></button> 1165 1166 <?php wc_query_string_form_fields( $product_url ); ?> 1167 1168 <?php do_action( "sydney_{$hook_prefix}_after_add_to_cart_button" ); ?> 1169 </form> 1170 1171 <?php do_action( "sydney_{$hook_prefix}_after_add_to_cart_form" ); 1172 } 1173 1174 /** 1175 * sydney output for product price. 1176 * The purpose is avoid third party plugins hooking here 1177 */ 1178 function sydney_single_product_price( $hook_prefix = '' ) { 1179 global $product; ?> 1180 1181 <p class="<?php echo esc_attr( apply_filters( "sydney_{$hook_prefix}_product_price_class", 'price' ) ); ?>"><?php echo $product->get_price_html(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></p> 1182 1183 <?php 1184 } 1185 1186 1187 /** 1188 * Sales badge text 1189 */ 1190 function sydney_sale_badge( $html, $post, $product ) { 1191 1192 if ( !$product->is_on_sale() ) { 1193 return; 1194 } 1195 1196 $text = get_theme_mod( 'sale_badge_text', esc_html__( 'Sale!', 'sydney' ) ); 1197 $badge = '<span class="onsale">' . esc_html( $text ) . '</span>'; 1198 1199 return $badge; 1200 } 1201 add_filter( 'woocommerce_sale_flash', 'sydney_sale_badge', 10, 3 ); -
sydney/1.84/js/customize-controls.js
r153790 r156796 718 718 719 719 jQuery(document).ready(function ($) { 720 var Botiga_Accordion = {720 var Sydney_Accordion = { 721 721 init: function init() { 722 722 this.firstTime = true; … … 813 813 }; 814 814 $(document).ready(function () { 815 Botiga_Accordion.init();816 }); 817 }); 815 Sydney_Accordion.init(); 816 }); 817 }); -
sydney/1.84/js/customizer.js
r156111 r156796 215 215 216 216 //Background colors 217 var $bg_color_options = { " offcanvas_menu_background":".sydney-offcanvas-menu","mobile_header_background":"#masthead-mobile","main_header_submenu_background":".mainnav ul ul li","main_header_bottom_background":".bottom-header-row","main_header_background":".main-header,.header-search-form","topbar_background":".top-bar","button_background_color":"button,.roll-button,a.button,.wp-block-button__link,input[type=\"button\"],input[type=\"reset\"],input[type=\"submit\"]","scrolltop_bg_color":".go-top", };217 var $bg_color_options = { "color_forms_background":"input[type=\"text\"],input[type=\"email\"],input[type=\"url\"],input[type=\"password\"],input[type=\"search\"],input[type=\"number\"],input[type=\"tel\"],input[type=\"range\"],input[type=\"date\"],input[type=\"month\"],input[type=\"week\"],input[type=\"time\"],input[type=\"datetime\"],input[type=\"datetime-local\"],input[type=\"color\"],textarea,select,.woocommerce .select2-container .select2-selection--single,.woocommerce-page .select2-container .select2-selection--single,.woocommerce-cart .woocommerce-cart-form .actions .coupon input[type=\"text\"]","shop_product_card_background":".woocommerce-page ul.products li.product","offcanvas_menu_background":".sydney-offcanvas-menu","mobile_header_background":"#masthead-mobile","main_header_submenu_background":".mainnav ul ul li","main_header_bottom_background":".bottom-header-row","main_header_background":".main-header,.header-search-form","topbar_background":".top-bar","button_background_color":"button,.roll-button,a.button,.wp-block-button__link,input[type=\"button\"],input[type=\"reset\"],input[type=\"submit\"]","scrolltop_bg_color":".go-top", }; 218 218 219 219 $.each( $bg_color_options, function( option, selector ) { … … 226 226 227 227 //Colors 228 var $color_options = { " offcanvas_menu_color": ".sydney-offcanvas-menu, .sydney-offcanvas-menu a:not(.button)","mobile_header_color":"#masthead-mobile,#masthead-mobile .site-description,#masthead-mobile a:not(.button)","main_header_submenu_color":".mainnav ul ul a","main_header_bottom_color":".bottom-header-row, .bottom-header-row .header-contact a,.bottom-header-row .mainnav .menu > li > a","main_header_color":".main-header .site-title a,.main-header .site-description,.main-header .mainnav .menu > li > a, .main-header .header-contact a", "topbar_color":".top-bar, .top-bar a","single_post_meta_color":".single .entry-header .entry-meta,.single .entry-header .entry-meta a","single_post_title_color":".single .entry-header .entry-title","loop_post_text_color":".posts-layout .entry-post","loop_post_title_color":".posts-layout .entry-title a","loop_post_meta_color":".posts-layout .entry-meta,.posts-layout .entry-meta a","button_color":"button,.roll-button,a.button,.wp-block-button__link,input[type=\"button\"],input[type=\"reset\"],input[type=\"submit\"]","scrolltop_color":".go-top", "footer_widgets_title_color":".sidebar-column .widget .widget-title" };228 var $color_options = { "color_forms_text":"input[type=\"text\"],input[type=\"email\"],input[type=\"url\"],input[type=\"password\"],input[type=\"search\"],input[type=\"number\"],input[type=\"tel\"],input[type=\"range\"],input[type=\"date\"],input[type=\"month\"],input[type=\"week\"],input[type=\"time\"],input[type=\"datetime\"],input[type=\"datetime-local\"],input[type=\"color\"],textarea,select,.woocommerce .select2-container .select2-selection--single,input[type=\"text\"]:focus,input[type=\"email\"]:focus,input[type=\"url\"]:focus,input[type=\"password\"]:focus,input[type=\"search\"]:focus,input[type=\"number\"]:focus,input[type=\"tel\"]:focus,input[type=\"range\"]:focus,input[type=\"date\"]:focus,input[type=\"month\"]:focus,input[type=\"week\"]:focus,input[type=\"time\"]:focus,input[type=\"datetime\"]:focus,input[type=\"datetime-local\"]:focus,input[type=\"color\"]:focus,textarea:focus,select:focus,.woocommerce .select2-container .select2-selection--single:focus,.woocommerce-page .select2-container .select2-selection--single,.select2-container--default .select2-selection--single .select2-selection__rendered","color_link_default":".entry-content a:not(.button)","color_heading_1":"h1","color_heading_2":"h2,.wp-block-search .wp-block-search__label","color_heading_3":"h3","color_heading_4":"h4,.product-gallery-summary .product_meta,.product-gallery-summary .product_meta a,.woocommerce-breadcrumb,.woocommerce-breadcrumb a,.woocommerce-tabs ul.tabs li a,.product-gallery-summary .woocommerce-Price-amount,.woocommerce-mini-cart-item .quantity,.woocommerce-mini-cart__total .woocommerce-Price-amount,.order-total .woocommerce-Price-amount","color_heading_5":"h5:not(.sticky-addtocart-title)","color_heading_6":"h6","offcanvas_menu_color": ".sydney-offcanvas-menu, .sydney-offcanvas-menu a:not(.button)","mobile_header_color":"#masthead-mobile,#masthead-mobile .site-description,#masthead-mobile a:not(.button)","main_header_submenu_color":".mainnav ul ul a","main_header_bottom_color":".bottom-header-row, .bottom-header-row .header-contact a,.bottom-header-row .mainnav .menu > li > a","main_header_color":".main-header .site-title a,.main-header .site-description,.main-header .mainnav .menu > li > a, .main-header .header-contact a", "topbar_color":".top-bar, .top-bar a","single_post_meta_color":".single .entry-header .entry-meta,.single .entry-header .entry-meta a","single_post_title_color":".single .entry-header .entry-title","loop_post_text_color":".posts-layout .entry-post","loop_post_title_color":".posts-layout .entry-title a","loop_post_meta_color":".posts-layout .entry-meta,.posts-layout .entry-meta a","button_color":"button,.roll-button,a.button,.wp-block-button__link,input[type=\"button\"],input[type=\"reset\"],input[type=\"submit\"]","scrolltop_color":".go-top", "footer_widgets_title_color":".sidebar-column .widget .widget-title" }; 229 229 230 230 $.each( $color_options, function( option, selector ) { … … 299 299 300 300 //Color hover 301 var $color_hover_options = { " button_color_hover":"button:hover,.roll-button:hover,a.button:hover,.wp-block-button__link:hover,input[type=\"button\"]:hover,input[type=\"reset\"]:hover,input[type=\"submit\"]:hover","scrolltop_color_hover":".go-top:hover", "footer_widgets_links_hover_color":".sidebar-column .widget a:hover"};301 var $color_hover_options = { "color_link_hover":".entry-content a:not(.button):hover","button_color_hover":"button:hover,.roll-button:hover,a.button:hover,.wp-block-button__link:hover,input[type=\"button\"]:hover,input[type=\"reset\"]:hover,input[type=\"submit\"]:hover","scrolltop_color_hover":".go-top:hover", "footer_widgets_links_hover_color":".sidebar-column .widget a:hover"}; 302 302 303 303 $.each( $color_hover_options, function( option, selector ) { … … 327 327 328 328 //Border color 329 var $border_color_options = { " link_separator_color":".sydney-offcanvas-menu .mainnav ul li","button_border_color":"button,.roll-button,a.button,.wp-block-button__link,input[type=\"button\"],input[type=\"reset\"],input[type=\"submit\"]","footer_credits_divider_color":".site-info,.site-footer","footer_widgets_divider_color":".footer-widgets,.footer-widgets-grid" };329 var $border_color_options = { "color_forms_borders":"input[type=\"text\"],input[type=\"email\"],input[type=\"url\"],input[type=\"password\"],input[type=\"search\"],input[type=\"number\"],input[type=\"tel\"],input[type=\"range\"],input[type=\"date\"],input[type=\"month\"],input[type=\"week\"],input[type=\"time\"],input[type=\"datetime\"],input[type=\"datetime-local\"],input[type=\"color\"],textarea,select,.woocommerce .select2-container .select2-selection--single,.woocommerce-page .select2-container .select2-selection--single,.woocommerce-account fieldset,.woocommerce-account .woocommerce-form-login, .woocommerce-account .woocommerce-form-register,.woocommerce-cart .woocommerce-cart-form .actions .coupon input[type=\"text\"]","shop_product_card_border_color": ".woocommerce-page ul.products li.product","link_separator_color":".sydney-offcanvas-menu .mainnav ul li","button_border_color":"button,.roll-button,a.button,.wp-block-button__link,input[type=\"button\"],input[type=\"reset\"],input[type=\"submit\"]","footer_credits_divider_color":".site-info,.site-footer","footer_widgets_divider_color":".footer-widgets,.footer-widgets-grid" }; 330 330 331 331 $.each( $border_color_options, function( option, selector ) { … … 355 355 }); 356 356 }); 357 var $fontSizes = { "s ite_desc_font_size":".site-description","site_title_font_size":".site-title","body_font_size":"body, .posts-layout .entry-post","h1_font_size":"h1:not(.site-title)","h2_font_size":"h2","h3_font_size":"h3","h4_font_size":"h4","h5_font_size":"h5","h6_font_size":"h6","single_product_title_size":".product-gallery-summary .entry-title","single_product_price_size":".product-gallery-summary .price","loop_post_text_size":".posts-layout .entry-post","loop_post_meta_size":".posts-layout .entry-meta","loop_post_title_size":".posts-layout .entry-title","single_post_title_size": ".single .entry-header .entry-title","single_post_meta_size": ".single .entry-meta","footer_widgets_title_size":".sidebar-column .widget .widget-title", };357 var $fontSizes = { "sydney_menu_font_size":"#mainnav > div > ul > li > a","single_product_title_size":".woocommerce div.product .product-gallery-summary .entry-title","single_product_price_size":".woocommerce div.product .product-gallery-summary .price .amount","site_desc_font_size":".site-description","site_title_font_size":".site-title","body_font_size":"body, .posts-layout .entry-post","h1_font_size":"h1:not(.site-title)","h2_font_size":"h2","h3_font_size":"h3","h4_font_size":"h4","h5_font_size":"h5","h6_font_size":"h6","single_product_title_size":".product-gallery-summary .entry-title","single_product_price_size":".product-gallery-summary .price","loop_post_text_size":".posts-layout .entry-post","loop_post_meta_size":".posts-layout .entry-meta","loop_post_title_size":".posts-layout .entry-title","single_post_title_size": ".single .entry-header .entry-title","single_post_meta_size": ".single .entry-meta","footer_widgets_title_size":".sidebar-column .widget .widget-title", }; 358 358 $.each( $fontSizes, function( option, selector ) { 359 359 $.each( $devices, function( device, mediaSize ) { … … 541 541 } ); 542 542 543 wp.customize( 'sydney_menu_font', function( value ) { 544 value.bind( function( to ) { 545 546 $( 'head' ).find( '#sydney-preview-google-fonts-menu-css' ).remove(); 547 $( 'head' ).find( '#sydney-preview-menu-weight-css' ).remove(); 548 549 $( 'head' ).append( '<link id="sydney-preview-google-fonts-menu-css" href="" rel="stylesheet">' ); 550 551 $( '#sydney-preview-google-fonts-menu-css' ).attr( 'href', 'https://fonts.googleapis.com/css?family=' + jQuery.parseJSON( to )['font'].replace(/ /g, '+') + ':' + jQuery.parseJSON( to )['regularweight'] + '&display=swap' ); 552 553 $( '#mainnav > div > ul > li > a' ).css( 'font-family', jQuery.parseJSON( to )['font'] ); 554 555 $( 'head' ).append('<style id="sydney-preview-menu-weight-css" type="text/css">#mainnav > div > ul > li > a {font-weight:' + jQuery.parseJSON( to )['regularweight'] + ';}</style>'); 556 557 } ); 558 } ); 559 543 560 wp.customize( 'headings_font_style', function( value ) { 544 561 value.bind( function( to ) { … … 565 582 } ); 566 583 584 wp.customize( 'menu_items_text_transform', function( value ) { 585 value.bind( function( to ) { 586 $( '#mainnav > div > ul > li > a' ).css( 'text-transform', to ); 587 } ); 588 } ); 589 567 590 wp.customize( 'headings_text_decoration', function( value ) { 568 591 value.bind( function( to ) { … … 600 623 } ); 601 624 } ); 625 626 //Single product title 627 wp.customize('swc_single_product_title_font_size',function( value ) { 628 value.bind( function( to ) { 629 $( '.woocommerce .product-gallery-summary .product_title' ).css('font-size', to + 'px'); 630 } ); 631 }); 632 wp.customize( 'swc_single_product_title_color', function( value ) { 633 value.bind( function( to ) { 634 $( '.woocommerce .product-gallery-summary .product_title' ).css( 'color', to ); 635 } ); 636 } ); 637 638 //Woocommerce port 639 wp.customize( 'shop_product_element_spacing', function( value ) { 640 value.bind( function( to ) { 641 $( '.woocommerce ul.products li.product .col-md-7 > *,.woocommerce ul.products li.product .col-md-8 > *,.woocommerce ul.products li.product > *' ).css( 'margin-bottom', to + 'px' ); 642 } ); 643 } ); 644 645 wp.customize( 'shop_sale_tag_radius', function( value ) { 646 value.bind( function( to ) { 647 $( '.wc-block-grid__product-onsale, span.onsale' ).css( 'border-radius', to + 'px' ); 648 } ); 649 } ); 650 651 wp.customize( 'shop_product_card_radius', function( value ) { 652 value.bind( function( to ) { 653 $( '.woocommerce ul.products li.product' ).css( 'border-radius', to + 'px' ); 654 } ); 655 } ); 656 657 wp.customize( 'shop_product_card_thumb_radius', function( value ) { 658 value.bind( function( to ) { 659 $( '.woocommerce ul.products li.product .loop-image-wrap' ).css( 'border-radius', to + 'px' ); 660 } ); 661 } ); 662 663 wp.customize( 'shop_product_card_border_size', function( value ) { 664 value.bind( function( to ) { 665 $( '.woocommerce ul.products li.product' ).css( 'border-width', to + 'px' ); 666 } ); 667 } ); 668 669 //Placeholders 670 wp.customize( 'color_forms_placeholder', function( value ) { 671 value.bind( function( to ) { 672 $( 'head' ).find( '#sydney-customizer-styles-color_forms_placeholder' ).remove(); 673 674 var output = 'input::placeholder {color:' + to + ';opacity:1;} input:-ms-input-placeholder {color:' + to + ';} input::-ms-input-placeholder {color:' + to + ';}'; 675 676 $( 'head' ).append( '<style id="sydney-customizer-styles-color_forms_placeholder">' + output + '</style>' ) 677 } ); 678 } ); 602 679 603 680 } )( jQuery ); -
sydney/1.84/style.css
r156111 r156796 5 5 Author URI: https://athemes.com 6 6 Description: Sydney is a powerful business theme that provides a fast way for companies or freelancers to create an awesome online presence. As well as being fully compatible with Elementor, Sydney brings plenty of customization possibilities like access to all Google Fonts, full color control, layout control, logo upload, full screen slider, header image, sticky navigation and much more. Also, Sydney provides all the construction blocks you need to rapidly create an engaging front page. Looking for a quick start with Sydney? With just a few clicks, you can import one of our existing demos (https://athemes.com/sydney-demos/) 7 Version: 1.8 37 Version: 1.84 8 8 License: GNU General Public License v2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 1411 1411 z-index: 999; 1412 1412 } 1413 .transparent-header .main-header:not(.sticky-active):not(.is-sticky), 1414 .transparent-header .bottom-header-row:not(.sticky-active):not(.is-sticky) { 1415 background-color: transparent; 1416 } 1413 @media (min-width: 1024px) { 1414 .transparent-header .main-header:not(.sticky-active):not(.is-sticky), 1415 .transparent-header .bottom-header-row:not(.sticky-active):not(.is-sticky) { 1416 background-color: transparent; 1417 } 1418 } 1419 1417 1420 .transparent-header .sticky-header.sticky-always { 1418 position: absolute;1421 position: fixed; 1419 1422 top: auto; 1420 1423 left: 0; 1421 1424 width: 100%; 1425 transition: all 0.3s; 1422 1426 } 1423 1427 .transparent-header .sticky-header.is-sticky { … … 3995 3999 background: #252525; 3996 4000 font-weight: 400; 3997 border-radius: 0;3998 4001 padding: 5px 12px !important; 3999 4002 text-transform: uppercase; -
sydney/1.84/woocommerce/css/wc.css
r156111 r156796 1 @charset "UTF-8";.woocommerce .quantity .qty,.woocommerce a.remove,.woocommerce nav.woocommerce-pagination,.woocommerce span.onsale,.woocommerce ul.products li.product,p.demo_store{text-align:center}.clear,.woocommerce #reviews #comments .add_review:after,.woocommerce .products ul:after,.woocommerce .woocommerce-breadcrumb:after,.woocommerce .woocommerce-error:after,.woocommerce .woocommerce-info:after,.woocommerce .woocommerce-message:after,.woocommerce div.product form.cart:after,.woocommerce div.product p.cart:after,.woocommerce nav.woocommerce-pagination ul,.woocommerce ul.products:after{clear:both}@-moz-keyframes spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}p.demo_store{position:fixed;top:0;left:0;right:0;margin:0;width:100%;font-size:1em;padding:1em 0;background-color:#a46497;color:#fff;z-index:99998;box-shadow:0 1px 1em rgba(0,0,0,.2)}.admin-bar p.demo_store{top:32px}.woocommerce .blockUI.blockOverlay{position:relative}.woocommerce .blockUI.blockOverlay:before,.woocommerce .loader:before{height:1em;width:1em;position:absolute;top:50%;left:50%;margin-left:-.5em;margin-top:-.5em;display:block;-webkit-animation:spin 1s ease-in-out infinite;-moz-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite;content:"";background:url(../images/icons/loader.svg) center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75)}.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{padding:1em 2em 1em 3.5em !important;margin:0 0 2em!important;position:relative;background-color:#f7f6f7;color:#515151;border:1px solid #ebe9eb;list-style:none!important;width:auto}.woocommerce .woocommerce-message{line-height:30px}.woocommerce .woocommerce-error:after,.woocommerce .woocommerce-error:before,.woocommerce .woocommerce-info:after,.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:after,.woocommerce .woocommerce-message:before{content:" ";display:table}.woocommerce .woocommerce-error:before,.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:before{font-family:WooCommerce;content:"\e028";display:inline-block;position:absolute;top:1em;left:1.5em}.woocommerce .woocommerce-error .button,.woocommerce .woocommerce-info .button,.woocommerce .woocommerce-message .button{float:right}.woocommerce .woocommerce-error li,.woocommerce .woocommerce-info li,.woocommerce .woocommerce-message li{list-style:none!important;padding-left:0!important;margin-left:0!important}.woocommerce .woocommerce-message{border-color:#ebe9eb}.woocommerce .woocommerce-message:before{content:"\e015";color:#8e9396}.woocommerce-checkout .select2-container .select2-choice{padding:4px 20px;border-color:#dbdbdb;background-color:#fafafa}.woocommerce .woocommerce-info:before{color:#1e85be}.woocommerce .woocommerce-error{border-top-color:#b81c23}.woocommerce .woocommerce-error:before{content:"\e016";color:#b81c23}.woocommerce small.note{display:block;color:#777;font-size:.857em;margin-top:10px}.woocommerce .woocommerce-breadcrumb{margin:0 0 30px;padding:0 0 5px;font-size:.92em;color:#777;border-bottom:1px solid #ebebeb}.woocommerce .woocommerce-breadcrumb:after,.woocommerce .woocommerce-breadcrumb:before{content:" ";display:table}.woocommerce .woocommerce-breadcrumb a{color:#777}.woocommerce .quantity .qty{width:80px}.woocommerce div.product{margin-bottom:0;position:relative}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#000;font-size:1.25em}.woocommerce div.product p.price ins,.woocommerce div.product span.price ins{background:inherit;font-weight:700;text-decoration:none}.woocommerce div.product p.price del,.woocommerce div.product span.price del{opacity:.5;display:block}.woocommerce div.product p.stock{font-size:.92em}.woocommerce div.product .stock{color:#77a464}.woocommerce div.product .out-of-stock{color:red}.woocommerce div.product .woocommerce-product-rating{margin-bottom:1.618em}.woocommerce div.product div.images,.woocommerce div.product div.summary{margin-bottom:2em}.woocommerce div.product div.images img{display:block;width:100%;height:auto;box-shadow:none}.woocommerce div.product div.images div.thumbnails{padding-top:1em}.woocommerce div.product div.social{text-align:right;margin:0 0 1em}.woocommerce div.product div.social span{margin:0 0 0 2px}.woocommerce div.product div.social span span{margin:0}.woocommerce div.product div.social span .stButton .chicklets{padding-left:16px;width:0}.woocommerce div.product div.social iframe{float:left;margin-top:3px}.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none;padding:30px 0 0;margin:0 0 1.618em;position:relative;}.woocommerce div.product form.cart:after,.woocommerce div.product form.cart:before,.woocommerce div.product p.cart:after,.woocommerce div.product p.cart:before{content:" ";display:table}.woocommerce div.product .woocommerce-tabs .panel{margin:0 0 2em;padding:0}.woocommerce div.product form.cart,.woocommerce div.product p.cart{margin-bottom:2em}.woocommerce div.product form.cart div.quantity{float:left;margin:0 12px 0 0}.woocommerce div.product form.cart table{border-width:0 0 1px}.woocommerce div.product form.cart table td{padding-left:0}.woocommerce div.product form.cart table div.quantity{float:none;margin:0}.woocommerce div.product form.cart table small.stock{display:block;float:none}.woocommerce div.product form.cart .variations{margin-bottom:1em;border:0}.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{border:0}.woocommerce div.product form.cart .variations label{font-weight:700}.woocommerce div.product form.cart .variations select{width:100%;float:left}.woocommerce div.product form.cart .variations td.label{padding-right:1em}.woocommerce div.product form.cart .variations td{vertical-align:top}.woocommerce div.product form.cart .button{vertical-align:middle;float:left}.woocommerce div.product form.cart .group_table td.label{padding-right:1em;padding-left:1em}.woocommerce div.product form.cart .group_table td{vertical-align:top;padding-bottom:.5em;border:0}.single-product.woocommerce span.onsale{top:0;left:0;}.woocommerce span.onsale{z-index:11;min-height:3.236em;min-width:3.236em;padding:.202em;font-weight:700;position:absolute;line-height:3.236;top:-.5em;left:-.5em;margin:0;b order-radius:10px;background-color:#b8b8b8;color:#fff;font-size:.857em;-webkit-font-smoothing:antialiased}.woocommerce .products ul,.woocommerce ul.products{margin:0 0 1em;padding:0;list-style:none;clear:both}.woocommerce .products ul:after,.woocommerce .products ul:before,.woocommerce ul.products:after,.woocommerce ul.products:before{content:" ";display:table}.woocommerce .products ul li,.woocommerce ul.products li{list-style:none}.woocommerce ul.products li.product .onsale{top:0;right:0;left:auto;margin:-.5em -.5em 0 0}.woocommerce ul.products li.product h2{padding:.5em 0;margin:0;font-size:1em}.woocommerce ul.products li.product a{text-decoration:none}.woocommerce ul.products li.product a img{width:100%;height:auto;display:block;margin:0 0 1em;box-shadow:none}.woocommerce ul.products li.product strong{display:block}.woocommerce ul.products li.product .star-rating{font-size:.857em}.woocommerce ul.products li.product .button{margin-top:1em}.woocommerce ul.products li.product .price{color:#444;display:block;font-weight:400;margin-bottom:.5em;font-size:18px}.woocommerce ul.products li.product .price del{color:inherit;opacity:.5;display:block;font-size:16px}p.price del span.woocommerce-Price-amount.amount{font-size:16px}.woocommerce ul.products li.product .price ins{background:0 0;font-weight:700;text-decoration:none}p.price span.woocommerce-Price-amount.amount{font-size:26px}.woocommerce ul.products li.product .price .from{font-size:.67em;margin:-2px 0 0;text-transform:uppercase;color:rgba(132,132,132,.5)}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{margin:0 0 30px}.woocommerce .woocommerce-result-count{padding:0}.woocommerce .woocommerce-ordering select{vertical-align:top;height:auto;padding:14px 20px}.woocommerce nav.woocommerce-pagination ul{display:inline-block;white-space:nowrap;padding:0;border:1px solid #d3ced2;border-right:0;margin:1px}.woocommerce nav.woocommerce-pagination ul li{border-right:1px solid #d3ced2;padding:0;margin:0;float:left;display:inline;overflow:hidden}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{margin:0;text-decoration:none;line-height:1;font-size:1em;font-weight:400;padding:.5em;min-width:1em;display:block}.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:#ebe9eb;color:#8a7e88}.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{font-size:100%;margin:0;line-height:1;cursor:pointer;position:relative;font-family:inherit;text-decoration:none;overflow:visible;padding:.618em 1em;font-weight:700;border-radius:3px;left:auto;color:#fff;border:0;white-space:nowrap;display:inline-block;background-image:none;box-shadow:none;-webkit-box-shadow:none;text-shadow:none}.woocommerce #respond input#submit.loading,.woocommerce a.button.loading,.woocommerce button.button.loading,.woocommerce input.button.loading{opacity:.25;padding-right:2.618em}.woocommerce #respond input#submit.loading:after,.woocommerce a.button.loading:after,.woocommerce button.button.loading:after,.woocommerce input.button.loading:after{font-family:WooCommerce;content:"\e01c";vertical-align:top;-webkit-font-smoothing:antialiased;font-weight:400;position:absolute;top:.618em;right:1em;-webkit-animation:spin 2s linear infinite;-moz-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.woocommerce #respond input#submit.added:after,.woocommerce a.button.added:after,.woocommerce button.button.added:after,.woocommerce input.button.added:after{font-family:WooCommerce;content:"\e017";margin-left:.53em;vertical-align:bottom}.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{opacity:.8;text-decoration:none;background-image:none}.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,,.woocommerce input.button.alt{background-color:#444;color:#fff;-webkit-font-smoothing:antialiased}.woocommerce #respond input#submit.alt:hover,.woocommerce a.button.alt:hover,,.woocommerce input.button.alt:hover{background-color:#333;color:#fff}.woocommerce #respond input#submit.alt.disabled,.woocommerce #respond input#submit.alt.disabled:hover,.woocommerce #respond input#submit.alt:disabled,.woocommerce #respond input#submit.alt:disabled:hover,.woocommerce #respond input#submit.alt:disabled[disabled],.woocommerce #respond input#submit.alt:disabled[disabled]:hover,.woocommerce a.button.alt.disabled,.woocommerce a.button.alt.disabled:hover,.woocommerce a.button.alt:disabled,.woocommerce a.button.alt:disabled:hover,.woocommerce a.button.alt:disabled[disabled],.woocommerce a.button.alt:disabled[disabled]:hover,.woocommerce button.button.alt.disabled,.woocommerce button.button.alt.disabled:hover,.woocommerce button.button.alt:disabled,.woocommerce button.button.alt:disabled:hover,.woocommerce button.button.alt:disabled[disabled],.woocommerce button.button.alt:disabled[disabled]:hover,.woocommerce input.button.alt.disabled,.woocommerce input.button.alt.disabled:hover,.woocommerce input.button.alt:disabled,.woocommerce input.button.alt:disabled:hover,.woocommerce input.button.alt:disabled[disabled],.woocommerce input.button.alt:disabled[disabled]:hover{background-color:#a46497;color:#fff}.woocommerce #respond input#submit.disabled,.woocommerce #respond input#submit:disabled,.woocommerce #respond input#submit:disabled[disabled],.woocommerce a.button.disabled,.woocommerce a.button:disabled,.woocommerce a.button:disabled[disabled],.woocommerce button.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled],.woocommerce input.button.disabled,.woocommerce input.button:disabled,.woocommerce input.button:disabled[disabled]{color:inherit;cursor:not-allowed;opacity:.5}.woocommerce #respond input#submit.disabled:hover,.woocommerce #respond input#submit:disabled:hover,.woocommerce #respond input#submit:disabled[disabled]:hover,.woocommerce a.button.disabled:hover,.woocommerce a.button:disabled:hover,.woocommerce a.button:disabled[disabled]:hover,.woocommerce button.button.disabled:hover,.woocommerce button.button:disabled:hover,.woocommerce button.button:disabled[disabled]:hover,.woocommerce input.button.disabled:hover,.woocommerce input.button:disabled:hover,.woocommerce input.button:disabled[disabled]:hover{color:inherit;background-color:#ebe9eb}.woocommerce .cart .button,.woocommerce .cart input.button{float:none}.woocommerce a.added_to_cart{padding-top:.5em;white-space:nowrap;display:inline-block}.woocommerce #reviews #comments .add_review:after,.woocommerce #reviews #comments .add_review:before,.woocommerce #reviews #comments ol.commentlist li .comment-text:after,.woocommerce #reviews #comments ol.commentlist li .comment-text:before,.woocommerce #reviews #comments ol.commentlist:after,.woocommerce #reviews #comments ol.commentlist:before{content:" ";display:table}.woocommerce #reviews h2 small{float:right;color:#777;font-size:15px;margin:10px 0 0}.woocommerce #reviews h2 small a{text-decoration:none;color:#777}.woocommerce #reviews #respond{margin:0;border:0;padding:0}.woocommerce #reviews #comment{height:75px}.woocommerce #reviews #comments h2{clear:none}.woocommerce #review_form #respond:after,.woocommerce #reviews #comments ol.commentlist li .comment-text:after,.woocommerce #reviews #comments ol.commentlist:after,.woocommerce .woocommerce-product-rating:after,.woocommerce td.product-name dl.variation:after{clear:both}.woocommerce #reviews #comments ol.commentlist{margin:0;width:100%;background:0 0;list-style:none;padding-left:0}.woocommerce #reviews #comments ol.commentlist li{padding:0;margin:0 0 20px;position:relative;background:0;border:0}.woocommerce #reviews #comments ol.commentlist li .meta{color:#777;font-size:.75em}.woocommerce #reviews #comments ol.commentlist li img.avatar{float:left;position:absolute;top:0;left:0;padding:3px;width:32px;height:auto;background:#ebe9eb;border:1px solid #e4e1e3;margin:0;box-shadow:none}.woocommerce #reviews #comments ol.commentlist li .comment-text{margin:0 0 0 50px;border:1px solid #e4e1e3;border-radius:4px;padding:1em 1em 0}.woocommerce #reviews #comments ol.commentlist li .comment-text p{margin:0 0 1em}.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta{font-size:.83em}.woocommerce #reviews #comments ol.commentlist ul.children{list-style:none;margin:20px 0 0 50px}.woocommerce #reviews #comments ol.commentlist ul.children .star-rating{display:none}.woocommerce #reviews #comments ol.commentlist #respond{border:1px solid #e4e1e3;border-radius:4px;padding:1em 1em 0;margin:20px 0 0 50px}.woocommerce #reviews #comments .commentlist>li:before{content:""}.woocommerce .star-rating{float:right;overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:star}.woocommerce .star-rating:before{content:"\73\73\73\73\73";color:#d3ced2;float:left;top:0;left:0;position:absolute}.woocommerce .star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.woocommerce .star-rating span,.woocommerce p.stars a{color:#FFCF14!important}.woocommerce .star-rating span:before{content:"\53\53\53\53\53";top:0;position:absolute;left:0}.woocommerce .woocommerce-product-rating{line-height:2;display:block}.woocommerce .woocommerce-product-rating:after,.woocommerce .woocommerce-product-rating:before{content:" ";display:table}.woocommerce .woocommerce-product-rating .star-rating{margin:.5em 4px 0 0;float:left}.woocommerce .products .star-rating{display:block;margin:0 auto .5em;float:none}.woocommerce .hreview-aggregate .star-rating{margin:10px 0 0}.woocommerce #review_form #respond{position:static;margin:0;width:auto;padding:0;background:0 0;border:0}.woocommerce #review_form #respond:after,.woocommerce #review_form #respond:before{content:" ";display:table}.woocommerce #review_form #respond p{margin:0 0 10px}.woocommerce #review_form #respond .form-submit input{left:auto}.woocommerce #review_form #respond textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.woocommerce p.stars{position:relative;font-size:1em}.woocommerce p.stars a{display:inline-block;font-weight:700;margin-right:1em;text-indent:-9999px;position:relative;border-bottom:0!important;outline:0}.woocommerce p.stars a:last-child{border-right:0}.woocommerce p.stars a.star-1,.woocommerce p.stars a.star-2,.woocommerce p.stars a.star-3,.woocommerce p.stars a.star-4,.woocommerce p.stars a.star-5{border-right:1px solid #ccc}.woocommerce p.stars a.star-1:after,.woocommerce p.stars a.star-2:after,.woocommerce p.stars a.star-3:after,.woocommerce p.stars a.star-4:after,.woocommerce p.stars a.star-5:after{font-family:WooCommerce;text-indent:0;position:absolute;top:0;left:0}.woocommerce p.stars a.star-1{width:2em}.woocommerce p.stars a.star-1:after{content:"\e021"}.woocommerce p.stars a.star-1.active:after,.woocommerce p.stars a.star-1:hover:after{content:""}.woocommerce p.stars a.star-2{width:3em}.woocommerce p.stars a.star-2:after{content:"\e021\e021"}.woocommerce p.stars a.star-2.active:after,.woocommerce p.stars a.star-2:hover:after{content:""}.woocommerce p.stars a.star-3{width:4em}.woocommerce p.stars a.star-3:after{content:"\e021\e021\e021"}.woocommerce p.stars a.star-3.active:after,.woocommerce p.stars a.star-3:hover:after{content:""}.woocommerce p.stars a.star-4{width:5em}.woocommerce p.stars a.star-4:after{content:"\e021\e021\e021\e021"}.woocommerce p.stars a.star-4.active:after,.woocommerce p.stars a.star-4:hover:after{content:""}.woocommerce p.stars a.star-5{width:6em;border:0}.woocommerce p.stars a.star-5:after{content:"\e021\e021\e021\e021\e021"}.woocommerce p.stars a.star-5.active:after,.woocommerce p.stars a.star-5:hover:after{content:""}.woocommerce table.shop_attributes{border:0;border-top:1px dotted rgba(0,0,0,.1);margin-bottom:1.618em;width:100%}.woocommerce table.shop_attributes td,.woocommerce table.shop_attributes th{margin:0;border:1px dotted rgba(0,0,0,.1);line-height:1.5}.woocommerce table.shop_attributes th{width:150px;font-weight:700;padding:8px}.woocommerce table.shop_attributes td{font-style:italic;padding:0}#tab-additional_information h2{font-size:20px}.woocommerce table.shop_attributes td p{margin:0;padding:8px 0}.woocommerce table.shop_attributes .alt td,.woocommerce table.shop_attributes .alt th{background:rgba(0,0,0,.025)}.woocommerce table.shop_table{border:1px solid rgba(0,0,0,.1);margin:0 -1px 24px 0;text-align:left;width:100%;border-collapse:collapse;border-radius:5px}.woocommerce table.shop_table th{font-weight:700;padding:9px 12px}.woocommerce table.shop_table td{border-top:1px solid rgba(0,0,0,.1);padding:25px 15px;vertical-align:middle}.woocommerce table.shop_table td small{font-weight:400}.woocommerce table.shop_table tbody:first-child tr:first-child td,.woocommerce table.shop_table tbody:first-child tr:first-child th{border-top:0}.woocommerce table.shop_table tbody th,.woocommerce table.shop_table tfoot td,.woocommerce table.shop_table tfoot th{font-weight:700;border-top:1px solid rgba(0,0,0,.1)}.woocommerce table.my_account_orders{font-size:.85em}.woocommerce table.my_account_orders td,.woocommerce table.my_account_orders th{padding:4px 8px;vertical-align:middle}.woocommerce table.my_account_orders .button{white-space:nowrap}.woocommerce table.my_account_orders .order-actions{text-align:right}.woocommerce table.my_account_orders .order-actions .button{margin:.125em 0 .125em .25em}.woocommerce td.product-name dl.variation{margin:.25em 0}.woocommerce td.product-name dl.variation:after,.woocommerce td.product-name dl.variation:before{content:" ";display:table}.woocommerce td.product-name dl.variation dd,.woocommerce td.product-name dl.variation dt{display:inline-block;float:left;margin-bottom:1em}.woocommerce td.product-name dl.variation dt{font-weight:700;padding:0 0 .25em;margin:0 4px 0 0;clear:left}.woocommerce ul.cart_list li dl:after,.woocommerce ul.cart_list li:after,.woocommerce ul.product_list_widget li dl:after,.woocommerce ul.product_list_widget li:after{clear:both}.woocommerce td.product-name dl.variation dd{padding:0 0 .25em}.woocommerce td.product-name dl.variation dd p:last-child{margin-bottom:0}.woocommerce td.product-name p.backorder_notification{font-size:.83em}.woocommerce td.product-quantity{min-width:80px}.woocommerce ul.cart_list,.woocommerce ul.product_list_widget{list-style:none;padding:0;margin:0}.woocommerce ul.cart_list li,.woocommerce ul.product_list_widget li{padding:4px 0;margin:0;list-style:none;border-bottom:1px solid #ebe9eb}.woocommerce ul.cart_list li:last-of-type,.woocommerce ul.product_list_widget li:last-of-type{padding-bottom:5px!important}.woocommerce ul.cart_list li:after,.woocommerce ul.cart_list li:before,.woocommerce ul.product_list_widget li:after,.woocommerce ul.product_list_widget li:before{content:" ";display:table}.woocommerce ul.cart_list li a,.woocommerce ul.product_list_widget li a{display:block;font-weight:700}.woocommerce ul.cart_list li img,.woocommerce ul.product_list_widget li img{float:right;margin-left:4px;width:48px;height:auto;box-shadow:none}.woocommerce ul.cart_list li dl,.woocommerce ul.product_list_widget li dl{margin:0;padding-left:1em;border-left:2px solid rgba(0,0,0,.1)}.woocommerce ul.cart_list li dl:after,.woocommerce ul.cart_list li dl:before,.woocommerce ul.product_list_widget li dl:after,.woocommerce ul.product_list_widget li dl:before{content:" ";display:table}.woocommerce ul.cart_list li dl dd,.woocommerce ul.cart_list li dl dt,.woocommerce ul.product_list_widget li dl dd,.woocommerce ul.product_list_widget li dl dt{display:inline-block;float:left;margin-bottom:1em}.woocommerce ul.cart_list li dl dt,.woocommerce ul.product_list_widget li dl dt{font-weight:700;padding:0 0 .25em;margin:0 4px 0 0;clear:left}.woocommerce .order_details:after,.woocommerce .widget_layered_nav ul li:after,.woocommerce .widget_shopping_cart .buttons:after,.woocommerce-account .addresses .title:after,.woocommerce-cart .wc-proceed-to-checkout:after,.woocommerce.widget_shopping_cart .buttons:after{clear:both}.woocommerce ul.cart_list li dl dd,.woocommerce ul.product_list_widget li dl dd{padding:0 0 .25em}.woocommerce ul.cart_list li dl dd p:last-child,.woocommerce ul.product_list_widget li dl dd p:last-child{margin-bottom:0}.woocommerce ul.cart_list li .star-rating,.woocommerce ul.product_list_widget li .star-rating{float:none}.woocommerce .widget_shopping_cart .total,.woocommerce.widget_shopping_cart .total{padding:4px 0 0}.woocommerce .widget_shopping_cart .total strong,.woocommerce.widget_shopping_cart .total strong{min-width:40px;display:inline-block}.woocommerce .widget_shopping_cart .cart_list li,.woocommerce.widget_shopping_cart .cart_list li{padding-left:2em;position:relative}.woocommerce .widget_shopping_cart .cart_list li a.remove{position:absolute;top:0;left:0}.woocommerce .widget_shopping_cart .buttons:after,.woocommerce .widget_shopping_cart .buttons:before,.woocommerce.widget_shopping_cart .buttons:after,.woocommerce.widget_shopping_cart .buttons:before{content:" ";display:table}.woocommerce form .form-row{padding:3px;margin:0 0 6px}.woocommerce form .form-row [placeholder]:focus::-webkit-input-placeholder{-webkit-transition:opacity .5s .5s ease;-moz-transition:opacity .5s .5s ease;transition:opacity .5s .5s ease;opacity:0}.woocommerce form .form-row label{line-height:2}.woocommerce form .form-row label.hidden{visibility:hidden}.woocommerce form .form-row label.inline{display:inline}.woocommerce form .form-row select{cursor:pointer;margin:0}.woocommerce form .form-row .required{color:red;font-weight:700;border:0}.woocommerce form .form-row .input-checkbox{display:inline;margin:-2px 8px 0 0;text-align:center;vertical-align:middle}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;margin:0;outline:0;line-height:1}.woocommerce form .form-row textarea{height:4em;line-height:1.5;display:block;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.woocommerce form .form-row .select2-container{width:100%;line-height:2em}.woocommerce form .form-row.woocommerce-invalid .select2-container,.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:#a00}.woocommerce form .form-row.woocommerce-validated .select2-container,.woocommerce form .form-row.woocommerce-validated input.input-text,.woocommerce form .form-row.woocommerce-validated select{border-color:#69bf29}.woocommerce form .form-row::-webkit-input-placeholder{line-height:normal}.woocommerce form .form-row:-moz-placeholder{line-height:normal}.woocommerce form .form-row:-ms-input-placeholder{line-height:normal}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border:1px solid #dbdbdb;padding:20px;margin:2em 0;text-align:left;border-radius:0}.woocommerce ul#shipping_method{list-style:none;margin:0;padding:0}.woocommerce ul#shipping_method li{margin:0;padding:.25em 0 .25em 22px;list-style:none}.woocommerce ul#shipping_method .amount{font-weight:700}.woocommerce p.woocommerce-shipping-contents{margin:0}.woocommerce .order_details{margin:0 0 1.5em;list-style:none}.woocommerce .order_details:after,.woocommerce .order_details:before{content:" ";display:table}.woocommerce .order_details li{float:left;margin-right:2em;text-transform:uppercase;font-size:.715em;line-height:1;border-right:1px dashed #d3ced2;padding-right:2em;margin-left:0;padding-left:0}.woocommerce .order_details li strong{display:block;font-size:1.4em;text-transform:none;line-height:1.5}.woocommerce .order_details li:last-of-type{border:none}.woocommerce .widget_layered_nav ul{margin:0;padding:0;border:0;list-style:none}.woocommerce .widget_layered_nav ul li{padding:0 0 1px;list-style:none}.woocommerce .widget_layered_nav ul li:after,.woocommerce .widget_layered_nav ul li:before{content:" ";display:table}.woocommerce .widget_layered_nav ul li.chosen a:before,.woocommerce .widget_layered_nav_filters ul li a:before{font-family:WooCommerce;speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;text-decoration:none;font-weight:400;line-height:1;content:"";color:#a00}.woocommerce .widget_layered_nav ul li a,.woocommerce .widget_layered_nav ul li span{padding:1px 0}.woocommerce .widget_layered_nav ul li.chosen a:before{margin-right:.618em}.woocommerce .widget_layered_nav_filters ul{margin:0;padding:0;border:0;list-style:none;overflow:hidden;zoom:1}.woocommerce .widget_layered_nav_filters ul li{float:left;padding:0 1px 1px 0;list-style:none}.woocommerce .widget_layered_nav_filters ul li a{text-decoration:none}.woocommerce .widget_layered_nav_filters ul li a:before{margin-right:.618em}.woocommerce .widget_price_filter .price_slider{margin-bottom:1em}.woocommerce .widget_price_filter .price_slider_amount{text-align:right;line-height:2.4;font-size:.8751em}.woocommerce .widget_price_filter .price_slider_amount .button{font-size:1.15em;float:left}.woocommerce .widget_price_filter .ui-slider{position:relative;text-align:left;margin-left:.5em;margin-right:.5em}.woocommerce .widget_price_filter .ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1em;height:1em;background-color:#7e7e7e;border-radius:1em;cursor:ew-resize;outline:0;top:-.3em;margin-left:-.5em}.woocommerce .widget_price_filter .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;border-radius:1em;background-color:#7e7e7e}.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content{border-radius:1em;background-color:#333;border:0}.woocommerce .widget_price_filter .ui-slider-horizontal{height:.5em}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range{top:0;height:100%}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range-min{left:-1px}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range-max{right:-1px}.woocommerce-account .addresses .title:after,.woocommerce-account .addresses .title:before{content:" ";display:table}.woocommerce-account .addresses .title h3{float:left;font-size:22px}#customer_login h2{font-size:22px}.woocommerce .images .thumbnails a{width:100%!important}.woocommerce .images .thumbnails .owl-controls{margin-top:0}.woocommerce .images .thumbnails .owl-controls .owl-page.active span,.woocommerce .images .thumbnails .owl-controls.clickable .owl-page:hover span{background-color:#bfbfbf}.woocommerce .images .thumbnails .owl-controls .owl-page span{border-color:#bfbfbf}.woocommerce-account .addresses .title .edit,.woocommerce-account ul.digital-downloads li .count{float:right}.woocommerce-account ol.commentlist.notes li.note p.meta{font-weight:700;margin-bottom:0}.woocommerce-account ol.commentlist.notes li.note .description p:last-child{margin-bottom:0}.single-product .summary p{margin-bottom:20px}.woocommerce-account ul.digital-downloads{margin-left:0;padding-left:0}.woocommerce-account ul.digital-downloads li{list-style:none;margin-left:0;padding-left:0}.woocommerce-account ul.digital-downloads li:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-right:.618em;content:"";text-decoration:none}.woocommerce-cart table.cart .product-thumbnail{min-width:32px}.woocommerce-cart table.cart img{width:32px;box-shadow:none}.woocommerce-cart table.cart td,.woocommerce-cart table.cart th{vertical-align:middle}.woocommerce-cart table.cart td.actions .coupon .input-text{float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #d3ced2;padding:0 5px;height:32px;margin:0 5px 0 0;outline:0;line-height:1}.woocommerce-cart table.cart input{margin:0;vertical-align:middle;line-height:1}.woocommerce-cart .wc-proceed-to-checkout{padding:1em 0}.woocommerce-cart .wc-proceed-to-checkout:after,.woocommerce-cart .wc-proceed-to-checkout:before{content:" ";display:table}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:block;text-align:center;margin-bottom:1em}.woocommerce-cart .cart-collaterals .shipping_calculator .button{width:100%;float:none;display:block}.woocommerce-cart .cart-collaterals .shipping_calculator .shipping-calculator-button:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-left:.618em;content:"";text-decoration:none}.woocommerce-cart .cart-collaterals .cart_totals p small{color:#777;font-size:.83em}.woocommerce-cart .cart-collaterals .cart_totals table{border-collapse:collapse;margin:0 0 6px;padding:0}.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child td,.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child th{border-top:0}.woocommerce-cart .cart-collaterals .cart_totals table th{width:25%}.woocommerce-cart .cart-collaterals .cart_totals table td,.woocommerce-cart .cart-collaterals .cart_totals table th{vertical-align:top;border-left:0;border-right:0;padding:6px 0;line-height:2em}.woocommerce-cart .cart-collaterals .cart_totals table small{color:#777}.woocommerce-cart .cart-collaterals .cart_totals table select{width:100%}.woocommerce-cart .cart-collaterals .cart_totals .discount td{color:#77a464}.woocommerce-cart .cart-collaterals .cart_totals tr td,.woocommerce-cart .cart-collaterals .cart_totals tr th{border-top:1px solid #ebe9eb}.woocommerce-cart .cart-collaterals .cross-sells ul.products li.product{margin-top:0}.cross-sells h2{font-size:20px}.woocommerce-checkout .checkout .col-2 h3#ship-to-different-address{float:left;clear:none}.woocommerce-checkout .checkout .col-2 .form-row-first,.woocommerce-checkout .checkout .col-2 .notes{clear:left}.woocommerce-checkout .checkout .create-account small{font-size:11px;color:#777;font-weight:400}.woocommerce-checkout .checkout div.shipping-address{padding:0;clear:left;width:100%}.single-product .twentythirteen p.stars,.woocommerce-checkout #payment ul.payment_methods:after,.woocommerce-checkout .checkout .shipping_address{clear:both}.woocommerce-checkout #payment ul.payment_methods{text-align:left;padding:0 0 24px;border-bottom:2px solid #f0f0f0;margin:0;list-style:none}.woocommerce-checkout #payment ul.payment_methods:after,.woocommerce-checkout #payment ul.payment_methods:before{content:" ";display:table}.woocommerce-checkout #payment ul.payment_methods li{line-height:2;text-align:left;margin:0;font-weight:400}.woocommerce-checkout #payment ul.payment_methods li input{margin:0 1em 0 0}.woocommerce-checkout #payment ul.payment_methods li img{vertical-align:middle;margin:-2px 0 0 .5em;padding:0;position:relative;box-shadow:none}.woocommerce-checkout #payment ul.payment_methods li img+img{margin-left:2px}.woocommerce-checkout #payment div.form-row{padding:25px 0 0}.woocommerce-checkout #payment div.payment_box{position:relative;width:96%;padding:1em 2%;margin:1em 0;font-size:.92em;border-radius:2px;line-height:1.5;background-color:#efefef;color:#515151}.place-order input[type="submit"]:hover{color:#fff}.woocommerce-checkout #payment div.payment_box input.input-text,.woocommerce-checkout #payment div.payment_box textarea{border-color:#bbb3b9 #c7c1c6 #c7c1c6}.woocommerce-checkout #payment div.payment_box::-webkit-input-placeholder{color:#bbb3b9}.woocommerce-checkout #payment div.payment_box:-moz-placeholder{color:#bbb3b9}.woocommerce-checkout #payment div.payment_box:-ms-input-placeholder{color:#bbb3b9}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number{font-size:1.5em;padding:8px;background-repeat:no-repeat;background-position:right}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.visa,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.visa,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.visa{background-image:url(../images/icons/credit-cards/visa.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.mastercard,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.mastercard,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.mastercard{background-image:url(../images/icons/credit-cards/mastercard.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.laser,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.laser,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.laser{background-image:url(../images/icons/credit-cards/laser.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.dinersclub,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.dinersclub,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.dinersclub{background-image:url(../images/icons/credit-cards/diners.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.maestro,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.maestro,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.maestro{background-image:url(../images/icons/credit-cards/maestro.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.jcb,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.jcb,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.jcb{background-image:url(../images/icons/credit-cards/jcb.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.amex,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.amex,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.amex{background-image:url(../images/icons/credit-cards/amex.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.discover,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.discover,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.discover{background-image:url(../images/icons/credit-cards/discover.png)}.woocommerce-checkout #payment div.payment_box span.help{font-size:.857em;color:#777;font-weight:400}.woocommerce-checkout #payment div.payment_box .form-row{margin:0 0 1em}.woocommerce-checkout #payment div.payment_box p:last-child{margin-bottom:0}.woocommerce-checkout #payment div.payment_box:after{content:"";display:block;border:8px solid #efefef;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-3px;left:0;margin:-1em 0 0 2em}.woocommerce-checkout #payment .payment_method_paypal .about_paypal{margin-left: 10px;color: #717171;text-decoration: underline;font-size: 14px;}.woocommerce-checkout #payment .payment_method_paypal img{max-height:52px;vertical-align:middle}#tab-description h2,.related.products h2,.woocommerce #reviews #comments h2,.woocommerce #reviews h3,.woocommerce div.product .product_title{font-size:20px;font-weight:600;line-height:normal;padding-bottom:10px;margin:0;margin-bottom:15px}.add_to_cart_button{text-transform:uppercase}.add_to_cart_button::before,.cart-button::before{margin-right:5px}#secondary .wc-forward{color:#fff}.cart_totals h2,.upsells.products h2,.woocommerce-billing-fields h3,.woocommerce-checkout h3,.woocommerce-shipping-fields h3{font-size:20px}.woocommerce-result-count{color:#767676;}.woocommerce-product-search input[type=submit]{margin-top:10px}.woocommerce-product-search .search-field{width:100%}.woocommerce table.cart td.actions .input-text{width:auto!important}.coupon input[type=submit]{margin-top:10px;color:#fff!important}.shop_table.cart td,.shop_table.cart th{border:1px solid #ddd}.cart_totals th,.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:#ddd}.cart_totals td,.cart_totals th{border:0}#order_review_heading{border-top:1px solid #ddd;padding-top:30px;margin-top:30px}.woocommerce-MyAccount-navigation ul{list-style:none;padding:0 15px 15px 0;margin:0}.woocommerce-MyAccount-navigation li{border-bottom:1px solid #ebe9eb;padding:10px 0}.woocommerce-MyAccount-content .woocommerce-Address{width:100%!important}.page-template-page_fullwidth.woocommerce-cart .content-area,.page-template-page_fullwidth.woocommerce-checkout .content-area{width:100%}@media only screen and (min-width: 769px){.woocommerce .related.products ul.products li.product{width:30.8%!important}}@media only screen and (max-width: 400px){.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:100%!important}.product.last{margin-bottom:2.992em!important}}h2.woocommerce-Reviews-title {display:none;}.yith-wcwl-icon.fa {font-family: FontAwesome;}.wishlist-items-wrapper .yith-wcqv-button {display:none;}1 @charset "UTF-8";.woocommerce .quantity .qty,.woocommerce a.remove,.woocommerce nav.woocommerce-pagination,.woocommerce span.onsale,.woocommerce ul.products li.product,p.demo_store{text-align:center}.clear,.woocommerce #reviews #comments .add_review:after,.woocommerce .products ul:after,.woocommerce .woocommerce-breadcrumb:after,.woocommerce .woocommerce-error:after,.woocommerce .woocommerce-info:after,.woocommerce .woocommerce-message:after,.woocommerce div.product form.cart:after,.woocommerce div.product p.cart:after,.woocommerce nav.woocommerce-pagination ul,.woocommerce ul.products:after{clear:both}@-moz-keyframes spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}p.demo_store{position:fixed;top:0;left:0;right:0;margin:0;width:100%;font-size:1em;padding:1em 0;background-color:#a46497;color:#fff;z-index:99998;box-shadow:0 1px 1em rgba(0,0,0,.2)}.admin-bar p.demo_store{top:32px}.woocommerce .blockUI.blockOverlay{position:relative}.woocommerce .blockUI.blockOverlay:before,.woocommerce .loader:before{height:1em;width:1em;position:absolute;top:50%;left:50%;margin-left:-.5em;margin-top:-.5em;display:block;-webkit-animation:spin 1s ease-in-out infinite;-moz-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite;content:"";background:url(../images/icons/loader.svg) center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75)}.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{padding:1em 2em 1em 3.5em !important;margin:0 0 2em!important;position:relative;background-color:#f7f6f7;color:#515151;border:1px solid #ebe9eb;list-style:none!important;width:auto}.woocommerce .woocommerce-message{line-height:30px}.woocommerce .woocommerce-error:after,.woocommerce .woocommerce-error:before,.woocommerce .woocommerce-info:after,.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:after,.woocommerce .woocommerce-message:before{content:" ";display:table}.woocommerce .woocommerce-error:before,.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:before{font-family:WooCommerce;content:"\e028";display:inline-block;position:absolute;top:1em;left:1.5em}.woocommerce .woocommerce-error .button,.woocommerce .woocommerce-info .button,.woocommerce .woocommerce-message .button{float:right}.woocommerce .woocommerce-error li,.woocommerce .woocommerce-info li,.woocommerce .woocommerce-message li{list-style:none!important;padding-left:0!important;margin-left:0!important}.woocommerce .woocommerce-message{border-color:#ebe9eb}.woocommerce .woocommerce-message:before{content:"\e015";color:#8e9396}.woocommerce-checkout .select2-container .select2-choice{padding:4px 20px;border-color:#dbdbdb;background-color:#fafafa}.woocommerce .woocommerce-info:before{color:#1e85be}.woocommerce .woocommerce-error{border-top-color:#b81c23}.woocommerce .woocommerce-error:before{content:"\e016";color:#b81c23}.woocommerce small.note{display:block;color:#777;font-size:.857em;margin-top:10px}.woocommerce .woocommerce-breadcrumb{margin:0 0 30px;padding:0 0 5px;font-size:.92em;color:#777;border-bottom:1px solid #ebebeb}.woocommerce .woocommerce-breadcrumb:after,.woocommerce .woocommerce-breadcrumb:before{content:" ";display:table}.woocommerce .woocommerce-breadcrumb a{color:#777}.woocommerce .quantity .qty{width:80px}.woocommerce div.product{margin-bottom:0;position:relative}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#000;font-size:1.25em}.woocommerce div.product p.price ins,.woocommerce div.product span.price ins{background:inherit;font-weight:700;text-decoration:none}.woocommerce div.product p.price del,.woocommerce div.product span.price del{opacity:.5;display:block}.woocommerce div.product p.stock{font-size:.92em}.woocommerce div.product .stock{color:#77a464}.woocommerce div.product .out-of-stock{color:red}.woocommerce div.product .woocommerce-product-rating{margin-bottom:1.618em}.woocommerce div.product div.images,.woocommerce div.product div.summary{margin-bottom:2em}.woocommerce div.product div.images img{display:block;width:100%;height:auto;box-shadow:none}.woocommerce div.product div.images div.thumbnails{padding-top:1em}.woocommerce div.product div.social{text-align:right;margin:0 0 1em}.woocommerce div.product div.social span{margin:0 0 0 2px}.woocommerce div.product div.social span span{margin:0}.woocommerce div.product div.social span .stButton .chicklets{padding-left:16px;width:0}.woocommerce div.product div.social iframe{float:left;margin-top:3px}.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none;padding:30px 0 0;margin:0 0 1.618em;position:relative;}.woocommerce div.product form.cart:after,.woocommerce div.product form.cart:before,.woocommerce div.product p.cart:after,.woocommerce div.product p.cart:before{content:" ";display:table}.woocommerce div.product .woocommerce-tabs .panel{margin:0 0 2em;padding:0}.woocommerce div.product form.cart,.woocommerce div.product p.cart{margin-bottom:2em}.woocommerce div.product form.cart div.quantity{float:left;margin:0 12px 0 0}.woocommerce div.product form.cart table{border-width:0 0 1px}.woocommerce div.product form.cart table td{padding-left:0}.woocommerce div.product form.cart table div.quantity{float:none;margin:0}.woocommerce div.product form.cart table small.stock{display:block;float:none}.woocommerce div.product form.cart .variations{margin-bottom:1em;border:0}.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{border:0}.woocommerce div.product form.cart .variations label{font-weight:700}.woocommerce div.product form.cart .variations select{width:100%;float:left}.woocommerce div.product form.cart .variations td.label{padding-right:1em}.woocommerce div.product form.cart .variations td{vertical-align:top}.woocommerce div.product form.cart .button{vertical-align:middle;float:left}.woocommerce div.product form.cart .group_table td.label{padding-right:1em;padding-left:1em}.woocommerce div.product form.cart .group_table td{vertical-align:top;padding-bottom:.5em;border:0}.single-product.woocommerce span.onsale{top:0;left:0;}.woocommerce span.onsale{z-index:11;min-height:3.236em;min-width:3.236em;padding:.202em;font-weight:700;position:absolute;line-height:3.236;top:-.5em;left:-.5em;margin:0;background-color:#b8b8b8;color:#fff;font-size:.857em;-webkit-font-smoothing:antialiased}.woocommerce .products ul,.woocommerce ul.products{margin:0 0 1em;padding:0;list-style:none;clear:both}.woocommerce .products ul:after,.woocommerce .products ul:before,.woocommerce ul.products:after,.woocommerce ul.products:before{content:" ";display:table}.woocommerce .products ul li,.woocommerce ul.products li{list-style:none}.woocommerce ul.products li.product .onsale{top:0;left:auto;margin:-.5em -.5em 0 0}.woocommerce ul.products li.product h2{padding:.5em 0;margin:0;font-size:1em}.woocommerce ul.products li.product a{text-decoration:none}.woocommerce ul.products li.product a img{width:100%;height:auto;display:block;margin:0 0 1em;box-shadow:none}.woocommerce ul.products li.product strong{display:block}.woocommerce ul.products li.product .star-rating{font-size:.857em}.woocommerce ul.products li.product .button{margin-top:1em}.woocommerce ul.products li.product .price{color:#444;display:block;font-weight:400;margin-bottom:.5em;font-size:18px}.woocommerce ul.products li.product .price del{color:inherit;opacity:.5;display:block;font-size:16px}p.price del span.woocommerce-Price-amount.amount{font-size:16px}.woocommerce ul.products li.product .price ins{background:0 0;font-weight:700;text-decoration:none}p.price span.woocommerce-Price-amount.amount{font-size:26px}.woocommerce ul.products li.product .price .from{font-size:.67em;margin:-2px 0 0;text-transform:uppercase;color:rgba(132,132,132,.5)}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{margin:0 0 30px}.woocommerce .woocommerce-result-count{padding:0}.woocommerce .woocommerce-ordering select{vertical-align:top;height:auto;padding:14px 20px}.woocommerce nav.woocommerce-pagination ul{display:inline-block;white-space:nowrap;padding:0;border:1px solid #d3ced2;border-right:0;margin:1px}.woocommerce nav.woocommerce-pagination ul li{border-right:1px solid #d3ced2;padding:0;margin:0;float:left;display:inline;overflow:hidden}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{margin:0;text-decoration:none;line-height:1;font-size:1em;font-weight:400;padding:.5em;min-width:1em;display:block}.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:#ebe9eb;color:#8a7e88}.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{font-size:100%;margin:0;line-height:1;cursor:pointer;position:relative;font-family:inherit;text-decoration:none;overflow:visible;padding:.618em 1em;font-weight:700;border-radius:3px;left:auto;color:#fff;border:0;white-space:nowrap;display:inline-block;background-image:none;box-shadow:none;-webkit-box-shadow:none;text-shadow:none}.woocommerce #respond input#submit.loading,.woocommerce a.button.loading,.woocommerce button.button.loading,.woocommerce input.button.loading{opacity:.25;padding-right:2.618em}.woocommerce #respond input#submit.loading:after,.woocommerce a.button.loading:after,.woocommerce button.button.loading:after,.woocommerce input.button.loading:after{font-family:WooCommerce;content:"\e01c";vertical-align:top;-webkit-font-smoothing:antialiased;font-weight:400;position:absolute;top:.618em;right:1em;-webkit-animation:spin 2s linear infinite;-moz-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.woocommerce #respond input#submit.added:after,.woocommerce a.button.added:after,.woocommerce button.button.added:after,.woocommerce input.button.added:after{font-family:WooCommerce;content:"\e017";margin-left:.53em;vertical-align:bottom}.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{opacity:.8;text-decoration:none;background-image:none}.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,,.woocommerce input.button.alt{background-color:#444;color:#fff;-webkit-font-smoothing:antialiased}.woocommerce #respond input#submit.alt:hover,.woocommerce a.button.alt:hover,,.woocommerce input.button.alt:hover{background-color:#333;color:#fff}.woocommerce #respond input#submit.alt.disabled,.woocommerce #respond input#submit.alt.disabled:hover,.woocommerce #respond input#submit.alt:disabled,.woocommerce #respond input#submit.alt:disabled:hover,.woocommerce #respond input#submit.alt:disabled[disabled],.woocommerce #respond input#submit.alt:disabled[disabled]:hover,.woocommerce a.button.alt.disabled,.woocommerce a.button.alt.disabled:hover,.woocommerce a.button.alt:disabled,.woocommerce a.button.alt:disabled:hover,.woocommerce a.button.alt:disabled[disabled],.woocommerce a.button.alt:disabled[disabled]:hover,.woocommerce button.button.alt.disabled,.woocommerce button.button.alt.disabled:hover,.woocommerce button.button.alt:disabled,.woocommerce button.button.alt:disabled:hover,.woocommerce button.button.alt:disabled[disabled],.woocommerce button.button.alt:disabled[disabled]:hover,.woocommerce input.button.alt.disabled,.woocommerce input.button.alt.disabled:hover,.woocommerce input.button.alt:disabled,.woocommerce input.button.alt:disabled:hover,.woocommerce input.button.alt:disabled[disabled],.woocommerce input.button.alt:disabled[disabled]:hover{background-color:#a46497;color:#fff}.woocommerce #respond input#submit.disabled,.woocommerce #respond input#submit:disabled,.woocommerce #respond input#submit:disabled[disabled],.woocommerce a.button.disabled,.woocommerce a.button:disabled,.woocommerce a.button:disabled[disabled],.woocommerce button.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled],.woocommerce input.button.disabled,.woocommerce input.button:disabled,.woocommerce input.button:disabled[disabled]{color:inherit;cursor:not-allowed;opacity:.5}.woocommerce #respond input#submit.disabled:hover,.woocommerce #respond input#submit:disabled:hover,.woocommerce #respond input#submit:disabled[disabled]:hover,.woocommerce a.button.disabled:hover,.woocommerce a.button:disabled:hover,.woocommerce a.button:disabled[disabled]:hover,.woocommerce button.button.disabled:hover,.woocommerce button.button:disabled:hover,.woocommerce button.button:disabled[disabled]:hover,.woocommerce input.button.disabled:hover,.woocommerce input.button:disabled:hover,.woocommerce input.button:disabled[disabled]:hover{color:inherit;background-color:#ebe9eb}.woocommerce .cart .button,.woocommerce .cart input.button{float:none}.woocommerce a.added_to_cart{padding-top:.5em;white-space:nowrap;display:inline-block}.woocommerce #reviews #comments .add_review:after,.woocommerce #reviews #comments .add_review:before,.woocommerce #reviews #comments ol.commentlist li .comment-text:after,.woocommerce #reviews #comments ol.commentlist li .comment-text:before,.woocommerce #reviews #comments ol.commentlist:after,.woocommerce #reviews #comments ol.commentlist:before{content:" ";display:table}.woocommerce #reviews h2 small{float:right;color:#777;font-size:15px;margin:10px 0 0}.woocommerce #reviews h2 small a{text-decoration:none;color:#777}.woocommerce #reviews #respond{margin:0;border:0;padding:0}.woocommerce #reviews #comment{height:75px}.woocommerce #reviews #comments h2{clear:none}.woocommerce #review_form #respond:after,.woocommerce #reviews #comments ol.commentlist li .comment-text:after,.woocommerce #reviews #comments ol.commentlist:after,.woocommerce .woocommerce-product-rating:after,.woocommerce td.product-name dl.variation:after{clear:both}.woocommerce #reviews #comments ol.commentlist{margin:0;width:100%;background:0 0;list-style:none;padding-left:0}.woocommerce #reviews #comments ol.commentlist li{padding:0;margin:0 0 20px;position:relative;background:0;border:0}.woocommerce #reviews #comments ol.commentlist li .meta{color:#777;font-size:.75em}.woocommerce #reviews #comments ol.commentlist li img.avatar{float:left;position:absolute;top:0;left:0;padding:3px;width:32px;height:auto;background:#ebe9eb;border:1px solid #e4e1e3;margin:0;box-shadow:none}.woocommerce #reviews #comments ol.commentlist li .comment-text{margin:0 0 0 50px;border:1px solid #e4e1e3;border-radius:4px;padding:1em 1em 0}.woocommerce #reviews #comments ol.commentlist li .comment-text p{margin:0 0 1em}.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta{font-size:.83em}.woocommerce #reviews #comments ol.commentlist ul.children{list-style:none;margin:20px 0 0 50px}.woocommerce #reviews #comments ol.commentlist ul.children .star-rating{display:none}.woocommerce #reviews #comments ol.commentlist #respond{border:1px solid #e4e1e3;border-radius:4px;padding:1em 1em 0;margin:20px 0 0 50px}.woocommerce #reviews #comments .commentlist>li:before{content:""}.woocommerce .star-rating{float:right;overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:star}.woocommerce .star-rating:before{content:"\73\73\73\73\73";color:#d3ced2;float:left;top:0;left:0;position:absolute}.woocommerce .star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.woocommerce .star-rating span,.woocommerce p.stars a{color:#FFCF14!important}.woocommerce .star-rating span:before{content:"\53\53\53\53\53";top:0;position:absolute;left:0}.woocommerce .woocommerce-product-rating{line-height:2;display:block}.woocommerce .woocommerce-product-rating:after,.woocommerce .woocommerce-product-rating:before{content:" ";display:table}.woocommerce .woocommerce-product-rating .star-rating{margin:.5em 4px 0 0;float:left}.woocommerce .products .star-rating{display:block;margin:0 auto .5em;float:none}.woocommerce .hreview-aggregate .star-rating{margin:10px 0 0}.woocommerce #review_form #respond{position:static;margin:0;width:auto;padding:0;background:0 0;border:0}.woocommerce #review_form #respond:after,.woocommerce #review_form #respond:before{content:" ";display:table}.woocommerce #review_form #respond p{margin:0 0 10px}.woocommerce #review_form #respond .form-submit input{left:auto}.woocommerce #review_form #respond textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}.woocommerce p.stars{position:relative;font-size:1em}.woocommerce p.stars a{display:inline-block;font-weight:700;margin-right:1em;text-indent:-9999px;position:relative;border-bottom:0!important;outline:0}.woocommerce p.stars a:last-child{border-right:0}.woocommerce p.stars a.star-1,.woocommerce p.stars a.star-2,.woocommerce p.stars a.star-3,.woocommerce p.stars a.star-4,.woocommerce p.stars a.star-5{border-right:1px solid #ccc}.woocommerce p.stars a.star-1:after,.woocommerce p.stars a.star-2:after,.woocommerce p.stars a.star-3:after,.woocommerce p.stars a.star-4:after,.woocommerce p.stars a.star-5:after{font-family:WooCommerce;text-indent:0;position:absolute;top:0;left:0}.woocommerce p.stars a.star-1{width:2em}.woocommerce p.stars a.star-1:after{content:"\e021"}.woocommerce p.stars a.star-1.active:after,.woocommerce p.stars a.star-1:hover:after{content:""}.woocommerce p.stars a.star-2{width:3em}.woocommerce p.stars a.star-2:after{content:"\e021\e021"}.woocommerce p.stars a.star-2.active:after,.woocommerce p.stars a.star-2:hover:after{content:""}.woocommerce p.stars a.star-3{width:4em}.woocommerce p.stars a.star-3:after{content:"\e021\e021\e021"}.woocommerce p.stars a.star-3.active:after,.woocommerce p.stars a.star-3:hover:after{content:""}.woocommerce p.stars a.star-4{width:5em}.woocommerce p.stars a.star-4:after{content:"\e021\e021\e021\e021"}.woocommerce p.stars a.star-4.active:after,.woocommerce p.stars a.star-4:hover:after{content:""}.woocommerce p.stars a.star-5{width:6em;border:0}.woocommerce p.stars a.star-5:after{content:"\e021\e021\e021\e021\e021"}.woocommerce p.stars a.star-5.active:after,.woocommerce p.stars a.star-5:hover:after{content:""}.woocommerce table.shop_attributes{border:0;border-top:1px dotted rgba(0,0,0,.1);margin-bottom:1.618em;width:100%}.woocommerce table.shop_attributes td,.woocommerce table.shop_attributes th{margin:0;border:1px dotted rgba(0,0,0,.1);line-height:1.5}.woocommerce table.shop_attributes th{width:150px;font-weight:700;padding:8px}.woocommerce table.shop_attributes td{font-style:italic;padding:0}#tab-additional_information h2{font-size:20px}.woocommerce table.shop_attributes td p{margin:0;padding:8px 0}.woocommerce table.shop_attributes .alt td,.woocommerce table.shop_attributes .alt th{background:rgba(0,0,0,.025)}.woocommerce table.shop_table{border:1px solid rgba(0,0,0,.1);margin:0 -1px 24px 0;text-align:left;width:100%;border-collapse:collapse;border-radius:5px}.woocommerce table.shop_table th{font-weight:700;padding:9px 12px}.woocommerce table.shop_table td{border-top:1px solid rgba(0,0,0,.1);padding:25px 15px;vertical-align:middle}.woocommerce table.shop_table td small{font-weight:400}.woocommerce table.shop_table tbody:first-child tr:first-child td,.woocommerce table.shop_table tbody:first-child tr:first-child th{border-top:0}.woocommerce table.shop_table tbody th,.woocommerce table.shop_table tfoot td,.woocommerce table.shop_table tfoot th{font-weight:700;border-top:1px solid rgba(0,0,0,.1)}.woocommerce table.my_account_orders{font-size:.85em}.woocommerce table.my_account_orders td,.woocommerce table.my_account_orders th{padding:4px 8px;vertical-align:middle}.woocommerce table.my_account_orders .button{white-space:nowrap}.woocommerce table.my_account_orders .order-actions{text-align:right}.woocommerce table.my_account_orders .order-actions .button{margin:.125em 0 .125em .25em}.woocommerce td.product-name dl.variation{margin:.25em 0}.woocommerce td.product-name dl.variation:after,.woocommerce td.product-name dl.variation:before{content:" ";display:table}.woocommerce td.product-name dl.variation dd,.woocommerce td.product-name dl.variation dt{display:inline-block;float:left;margin-bottom:1em}.woocommerce td.product-name dl.variation dt{font-weight:700;padding:0 0 .25em;margin:0 4px 0 0;clear:left}.woocommerce ul.cart_list li dl:after,.woocommerce ul.cart_list li:after,.woocommerce ul.product_list_widget li dl:after,.woocommerce ul.product_list_widget li:after{clear:both}.woocommerce td.product-name dl.variation dd{padding:0 0 .25em}.woocommerce td.product-name dl.variation dd p:last-child{margin-bottom:0}.woocommerce td.product-name p.backorder_notification{font-size:.83em}.woocommerce td.product-quantity{min-width:80px}.woocommerce ul.cart_list,.woocommerce ul.product_list_widget{list-style:none;padding:0;margin:0}.woocommerce ul.cart_list li,.woocommerce ul.product_list_widget li{padding:4px 0;margin:0;list-style:none;border-bottom:1px solid #ebe9eb}.woocommerce ul.cart_list li:last-of-type,.woocommerce ul.product_list_widget li:last-of-type{padding-bottom:5px!important}.woocommerce ul.cart_list li:after,.woocommerce ul.cart_list li:before,.woocommerce ul.product_list_widget li:after,.woocommerce ul.product_list_widget li:before{content:" ";display:table}.woocommerce ul.cart_list li a,.woocommerce ul.product_list_widget li a{display:block;font-weight:700}.woocommerce ul.cart_list li img,.woocommerce ul.product_list_widget li img{float:right;margin-left:4px;width:48px;height:auto;box-shadow:none}.woocommerce ul.cart_list li dl,.woocommerce ul.product_list_widget li dl{margin:0;padding-left:1em;border-left:2px solid rgba(0,0,0,.1)}.woocommerce ul.cart_list li dl:after,.woocommerce ul.cart_list li dl:before,.woocommerce ul.product_list_widget li dl:after,.woocommerce ul.product_list_widget li dl:before{content:" ";display:table}.woocommerce ul.cart_list li dl dd,.woocommerce ul.cart_list li dl dt,.woocommerce ul.product_list_widget li dl dd,.woocommerce ul.product_list_widget li dl dt{display:inline-block;float:left;margin-bottom:1em}.woocommerce ul.cart_list li dl dt,.woocommerce ul.product_list_widget li dl dt{font-weight:700;padding:0 0 .25em;margin:0 4px 0 0;clear:left}.woocommerce .order_details:after,.woocommerce .widget_layered_nav ul li:after,.woocommerce .widget_shopping_cart .buttons:after,.woocommerce-account .addresses .title:after,.woocommerce-cart .wc-proceed-to-checkout:after,.woocommerce.widget_shopping_cart .buttons:after{clear:both}.woocommerce ul.cart_list li dl dd,.woocommerce ul.product_list_widget li dl dd{padding:0 0 .25em}.woocommerce ul.cart_list li dl dd p:last-child,.woocommerce ul.product_list_widget li dl dd p:last-child{margin-bottom:0}.woocommerce ul.cart_list li .star-rating,.woocommerce ul.product_list_widget li .star-rating{float:none}.woocommerce .widget_shopping_cart .total,.woocommerce.widget_shopping_cart .total{padding:4px 0 0}.woocommerce .widget_shopping_cart .total strong,.woocommerce.widget_shopping_cart .total strong{min-width:40px;display:inline-block}.woocommerce .widget_shopping_cart .cart_list li,.woocommerce.widget_shopping_cart .cart_list li{padding-left:2em;position:relative}.woocommerce .widget_shopping_cart .cart_list li a.remove{position:absolute;top:0;left:0}.woocommerce .widget_shopping_cart .buttons:after,.woocommerce .widget_shopping_cart .buttons:before,.woocommerce.widget_shopping_cart .buttons:after,.woocommerce.widget_shopping_cart .buttons:before{content:" ";display:table}.woocommerce form .form-row{padding:3px;margin:0 0 6px}.woocommerce form .form-row [placeholder]:focus::-webkit-input-placeholder{-webkit-transition:opacity .5s .5s ease;-moz-transition:opacity .5s .5s ease;transition:opacity .5s .5s ease;opacity:0}.woocommerce form .form-row label{line-height:2}.woocommerce form .form-row label.hidden{visibility:hidden}.woocommerce form .form-row label.inline{display:inline}.woocommerce form .form-row select{cursor:pointer;margin:0}.woocommerce form .form-row .required{color:red;font-weight:700;border:0}.woocommerce form .form-row .input-checkbox{display:inline;margin:-2px 8px 0 0;text-align:center;vertical-align:middle}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;margin:0;outline:0;line-height:1}.woocommerce form .form-row textarea{height:4em;line-height:1.5;display:block;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.woocommerce form .form-row .select2-container{width:100%;line-height:2em}.woocommerce form .form-row.woocommerce-invalid .select2-container,.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:#a00}.woocommerce form .form-row.woocommerce-validated .select2-container,.woocommerce form .form-row.woocommerce-validated input.input-text,.woocommerce form .form-row.woocommerce-validated select{border-color:#69bf29}.woocommerce form .form-row::-webkit-input-placeholder{line-height:normal}.woocommerce form .form-row:-moz-placeholder{line-height:normal}.woocommerce form .form-row:-ms-input-placeholder{line-height:normal}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border:1px solid #dbdbdb;padding:20px;margin:2em 0;text-align:left;border-radius:0}.woocommerce ul#shipping_method{list-style:none;margin:0;padding:0}.woocommerce ul#shipping_method li{margin:0;padding:.25em 0 .25em 22px;list-style:none}.woocommerce ul#shipping_method .amount{font-weight:700}.woocommerce p.woocommerce-shipping-contents{margin:0}.woocommerce .order_details{margin:0 0 1.5em;list-style:none}.woocommerce .order_details:after,.woocommerce .order_details:before{content:" ";display:table}.woocommerce .order_details li{float:left;margin-right:2em;text-transform:uppercase;font-size:.715em;line-height:1;border-right:1px dashed #d3ced2;padding-right:2em;margin-left:0;padding-left:0}.woocommerce .order_details li strong{display:block;font-size:1.4em;text-transform:none;line-height:1.5}.woocommerce .order_details li:last-of-type{border:none}.woocommerce .widget_layered_nav ul{margin:0;padding:0;border:0;list-style:none}.woocommerce .widget_layered_nav ul li{padding:0 0 1px;list-style:none}.woocommerce .widget_layered_nav ul li:after,.woocommerce .widget_layered_nav ul li:before{content:" ";display:table}.woocommerce .widget_layered_nav ul li.chosen a:before,.woocommerce .widget_layered_nav_filters ul li a:before{font-family:WooCommerce;speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;text-decoration:none;font-weight:400;line-height:1;content:"";color:#a00}.woocommerce .widget_layered_nav ul li a,.woocommerce .widget_layered_nav ul li span{padding:1px 0}.woocommerce .widget_layered_nav ul li.chosen a:before{margin-right:.618em}.woocommerce .widget_layered_nav_filters ul{margin:0;padding:0;border:0;list-style:none;overflow:hidden;zoom:1}.woocommerce .widget_layered_nav_filters ul li{float:left;padding:0 1px 1px 0;list-style:none}.woocommerce .widget_layered_nav_filters ul li a{text-decoration:none}.woocommerce .widget_layered_nav_filters ul li a:before{margin-right:.618em}.woocommerce .widget_price_filter .price_slider{margin-bottom:1em}.woocommerce .widget_price_filter .price_slider_amount{text-align:right;line-height:2.4;font-size:.8751em}.woocommerce .widget_price_filter .price_slider_amount .button{font-size:1.15em;float:left}.woocommerce .widget_price_filter .ui-slider{position:relative;text-align:left;margin-left:.5em;margin-right:.5em}.woocommerce .widget_price_filter .ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1em;height:1em;background-color:#7e7e7e;border-radius:1em;cursor:ew-resize;outline:0;top:-.3em;margin-left:-.5em}.woocommerce .widget_price_filter .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;border-radius:1em;background-color:#7e7e7e}.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content{border-radius:1em;background-color:#333;border:0}.woocommerce .widget_price_filter .ui-slider-horizontal{height:.5em}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range{top:0;height:100%}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range-min{left:-1px}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range-max{right:-1px}.woocommerce-account .addresses .title:after,.woocommerce-account .addresses .title:before{content:" ";display:table}.woocommerce-account .addresses .title h3{float:left;font-size:22px}#customer_login h2{font-size:22px}.woocommerce .images .thumbnails a{width:100%!important}.woocommerce .images .thumbnails .owl-controls{margin-top:0}.woocommerce .images .thumbnails .owl-controls .owl-page.active span,.woocommerce .images .thumbnails .owl-controls.clickable .owl-page:hover span{background-color:#bfbfbf}.woocommerce .images .thumbnails .owl-controls .owl-page span{border-color:#bfbfbf}.woocommerce-account .addresses .title .edit,.woocommerce-account ul.digital-downloads li .count{float:right}.woocommerce-account ol.commentlist.notes li.note p.meta{font-weight:700;margin-bottom:0}.woocommerce-account ol.commentlist.notes li.note .description p:last-child{margin-bottom:0}.single-product .summary p{margin-bottom:20px}.woocommerce-account ul.digital-downloads{margin-left:0;padding-left:0}.woocommerce-account ul.digital-downloads li{list-style:none;margin-left:0;padding-left:0}.woocommerce-account ul.digital-downloads li:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-right:.618em;content:"";text-decoration:none}.woocommerce-cart table.cart .product-thumbnail{min-width:32px}.woocommerce-cart table.cart img{width:32px;box-shadow:none}.woocommerce-cart table.cart td,.woocommerce-cart table.cart th{vertical-align:middle}.woocommerce-cart table.cart td.actions .coupon .input-text{float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #d3ced2;padding:0 5px;height:32px;margin:0 5px 0 0;outline:0;line-height:1}.woocommerce-cart table.cart input{margin:0;vertical-align:middle;line-height:1}.woocommerce-cart .wc-proceed-to-checkout{padding:1em 0}.woocommerce-cart .wc-proceed-to-checkout:after,.woocommerce-cart .wc-proceed-to-checkout:before{content:" ";display:table}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:block;text-align:center;margin-bottom:1em}.woocommerce-cart .cart-collaterals .shipping_calculator .button{width:100%;float:none;display:block}.woocommerce-cart .cart-collaterals .shipping_calculator .shipping-calculator-button:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-left:.618em;content:"";text-decoration:none}.woocommerce-cart .cart-collaterals .cart_totals p small{color:#777;font-size:.83em}.woocommerce-cart .cart-collaterals .cart_totals table{border-collapse:collapse;margin:0 0 6px;padding:0}.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child td,.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child th{border-top:0}.woocommerce-cart .cart-collaterals .cart_totals table th{width:25%}.woocommerce-cart .cart-collaterals .cart_totals table td,.woocommerce-cart .cart-collaterals .cart_totals table th{vertical-align:top;border-left:0;border-right:0;padding:6px 0;line-height:2em}.woocommerce-cart .cart-collaterals .cart_totals table small{color:#777}.woocommerce-cart .cart-collaterals .cart_totals table select{width:100%}.woocommerce-cart .cart-collaterals .cart_totals .discount td{color:#77a464}.woocommerce-cart .cart-collaterals .cart_totals tr td,.woocommerce-cart .cart-collaterals .cart_totals tr th{border-top:1px solid #ebe9eb}.woocommerce-cart .cart-collaterals .cross-sells ul.products li.product{margin-top:0}.cross-sells h2{font-size:20px}.woocommerce-checkout .checkout .col-2 h3#ship-to-different-address{float:left;clear:none}.woocommerce-checkout .checkout .col-2 .form-row-first,.woocommerce-checkout .checkout .col-2 .notes{clear:left}.woocommerce-checkout .checkout .create-account small{font-size:11px;color:#777;font-weight:400}.woocommerce-checkout .checkout div.shipping-address{padding:0;clear:left;width:100%}.single-product .twentythirteen p.stars,.woocommerce-checkout #payment ul.payment_methods:after,.woocommerce-checkout .checkout .shipping_address{clear:both}.woocommerce-checkout #payment ul.payment_methods{text-align:left;padding:0 0 24px;border-bottom:2px solid #f0f0f0;margin:0;list-style:none}.woocommerce-checkout #payment ul.payment_methods:after,.woocommerce-checkout #payment ul.payment_methods:before{content:" ";display:table}.woocommerce-checkout #payment ul.payment_methods li{line-height:2;text-align:left;margin:0;font-weight:400}.woocommerce-checkout #payment ul.payment_methods li input{margin:0 1em 0 0}.woocommerce-checkout #payment ul.payment_methods li img{vertical-align:middle;margin:-2px 0 0 .5em;padding:0;position:relative;box-shadow:none}.woocommerce-checkout #payment ul.payment_methods li img+img{margin-left:2px}.woocommerce-checkout #payment div.form-row{padding:25px 0 0}.woocommerce-checkout #payment div.payment_box{position:relative;width:96%;padding:1em 2%;margin:1em 0;font-size:.92em;border-radius:2px;line-height:1.5;background-color:#efefef;color:#515151}.place-order input[type="submit"]:hover{color:#fff}.woocommerce-checkout #payment div.payment_box input.input-text,.woocommerce-checkout #payment div.payment_box textarea{border-color:#bbb3b9 #c7c1c6 #c7c1c6}.woocommerce-checkout #payment div.payment_box::-webkit-input-placeholder{color:#bbb3b9}.woocommerce-checkout #payment div.payment_box:-moz-placeholder{color:#bbb3b9}.woocommerce-checkout #payment div.payment_box:-ms-input-placeholder{color:#bbb3b9}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number{font-size:1.5em;padding:8px;background-repeat:no-repeat;background-position:right}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.visa,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.visa,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.visa{background-image:url(../images/icons/credit-cards/visa.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.mastercard,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.mastercard,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.mastercard{background-image:url(../images/icons/credit-cards/mastercard.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.laser,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.laser,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.laser{background-image:url(../images/icons/credit-cards/laser.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.dinersclub,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.dinersclub,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.dinersclub{background-image:url(../images/icons/credit-cards/diners.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.maestro,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.maestro,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.maestro{background-image:url(../images/icons/credit-cards/maestro.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.jcb,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.jcb,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.jcb{background-image:url(../images/icons/credit-cards/jcb.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.amex,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.amex,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.amex{background-image:url(../images/icons/credit-cards/amex.png)}.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.discover,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.discover,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.discover{background-image:url(../images/icons/credit-cards/discover.png)}.woocommerce-checkout #payment div.payment_box span.help{font-size:.857em;color:#777;font-weight:400}.woocommerce-checkout #payment div.payment_box .form-row{margin:0 0 1em}.woocommerce-checkout #payment div.payment_box p:last-child{margin-bottom:0}.woocommerce-checkout #payment div.payment_box:after{content:"";display:block;border:8px solid #efefef;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-3px;left:0;margin:-1em 0 0 2em}.woocommerce-checkout #payment .payment_method_paypal .about_paypal{margin-left: 10px;color: #717171;text-decoration: underline;font-size: 14px;}.woocommerce-checkout #payment .payment_method_paypal img{max-height:52px;vertical-align:middle}#tab-description h2,.related.products h2,.woocommerce #reviews #comments h2,.woocommerce #reviews h3,.woocommerce div.product .product_title{font-size:20px;font-weight:600;line-height:normal;padding-bottom:10px;margin:0;margin-bottom:15px}.add_to_cart_button{text-transform:uppercase}.add_to_cart_button::before,.cart-button::before{margin-right:5px}#secondary .wc-forward{color:#fff}.cart_totals h2,.upsells.products h2,.woocommerce-billing-fields h3,.woocommerce-checkout h3,.woocommerce-shipping-fields h3{font-size:20px}.woocommerce-result-count{color:#767676;}.woocommerce-product-search input[type=submit]{margin-top:10px}.woocommerce-product-search .search-field{width:100%}.woocommerce table.cart td.actions .input-text{width:auto!important}.coupon input[type=submit]{margin-top:10px;color:#fff!important}.shop_table.cart td,.shop_table.cart th{border:1px solid #ddd}.cart_totals th,.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:#ddd}.cart_totals td,.cart_totals th{border:0}#order_review_heading{border-top:1px solid #ddd;padding-top:30px;margin-top:30px}.woocommerce-MyAccount-navigation ul{list-style:none;padding:0 15px 15px 0;margin:0}.woocommerce-MyAccount-navigation li{border-bottom:1px solid #ebe9eb;padding:10px 0}.woocommerce-MyAccount-content .woocommerce-Address{width:100%!important}.page-template-page_fullwidth.woocommerce-cart .content-area,.page-template-page_fullwidth.woocommerce-checkout .content-area{width:100%}@media only screen and (min-width: 769px){.woocommerce .related.products ul.products li.product{width:30.8%!important}}@media only screen and (max-width: 400px){.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:100%!important}.product.last{margin-bottom:2.992em!important}}h2.woocommerce-Reviews-title {display:none;}.yith-wcwl-icon.fa {font-family: FontAwesome;}.wishlist-items-wrapper .yith-wcqv-button {display:none;} 2 2 3 3 … … 198 198 } 199 199 } 200 .product-gallery-summary.gallery-side .flex-viewport { 201 width: calc( 100% - 80px); 202 float: right; 203 } 204 205 .product-gallery-summary.gallery-side .flex-control-nav { 206 width: 60px; 207 float: left; 208 } 209 210 .product-gallery-summary.gallery-side .flex-control-nav li { 211 width: 100% !important; 212 margin-bottom: 15px; 213 } 214 215 .product-gallery-summary.gallery-default .flex-viewport { 216 margin: 0 0 10px; 217 } 218 219 .product-gallery-summary.gallery-single ul.flex-direction-nav, .product-gallery-summary.gallery-showcase ul.flex-direction-nav, .product-gallery-summary.gallery-full-width ul.flex-direction-nav { 220 position: absolute; 221 top: calc( 50% - 20px); 222 z-index: 11; 223 width: 100%; 224 left: 0; 225 margin: 0; 226 padding: 0px; 227 list-style: none; 228 } 229 230 .product-gallery-summary.gallery-single li.flex-nav-prev, .product-gallery-summary.gallery-showcase li.flex-nav-prev, .product-gallery-summary.gallery-full-width li.flex-nav-prev { 231 float: left; 232 } 233 234 .product-gallery-summary.gallery-single li.flex-nav-next, .product-gallery-summary.gallery-showcase li.flex-nav-next, .product-gallery-summary.gallery-full-width li.flex-nav-next { 235 float: right; 236 } 237 238 .product-gallery-summary.gallery-single .flex-next, 239 .product-gallery-summary.gallery-single .flex-prev, .product-gallery-summary.gallery-showcase .flex-next, 240 .product-gallery-summary.gallery-showcase .flex-prev, .product-gallery-summary.gallery-full-width .flex-next, 241 .product-gallery-summary.gallery-full-width .flex-prev { 242 display: block; 243 position: relative; 244 width: 40px; 245 height: 40px; 246 border-radius: 50%; 247 border: 1px solid #212121; 248 background: #FFF; 249 text-indent: -9999px; 250 } 251 252 .product-gallery-summary.gallery-single .flex-next, .product-gallery-summary.gallery-showcase .flex-next, .product-gallery-summary.gallery-full-width .flex-next { 253 margin-right: 16px; 254 } 255 256 .product-gallery-summary.gallery-single .flex-prev, .product-gallery-summary.gallery-showcase .flex-prev, .product-gallery-summary.gallery-full-width .flex-prev { 257 margin-left: 16px; 258 } 259 260 .product-gallery-summary.gallery-single .flex-next::after, 261 .product-gallery-summary.gallery-single .flex-prev::before, .product-gallery-summary.gallery-showcase .flex-next::after, 262 .product-gallery-summary.gallery-showcase .flex-prev::before, .product-gallery-summary.gallery-full-width .flex-next::after, 263 .product-gallery-summary.gallery-full-width .flex-prev::before { 264 content: ''; 265 position: absolute; 266 top: 50%; 267 left: 50%; 268 width: 0; 269 height: 0; 270 color: #212121; 271 display: inline-block; 272 line-height: 37px; 273 text-align: center; 274 border-top: 8px solid transparent; 275 border-bottom: 8px solid transparent; 276 -webkit-transition: all 0.3s; 277 transition: all 0.3s; 278 } 279 280 .product-gallery-summary.gallery-single .flex-next:hover, 281 .product-gallery-summary.gallery-single .flex-prev:hover, .product-gallery-summary.gallery-showcase .flex-next:hover, 282 .product-gallery-summary.gallery-showcase .flex-prev:hover, .product-gallery-summary.gallery-full-width .flex-next:hover, 283 .product-gallery-summary.gallery-full-width .flex-prev:hover { 284 background-color: #212121; 285 } 286 287 .product-gallery-summary.gallery-single .flex-next:hover:before, 288 .product-gallery-summary.gallery-single .flex-prev:hover:before, .product-gallery-summary.gallery-showcase .flex-next:hover:before, 289 .product-gallery-summary.gallery-showcase .flex-prev:hover:before, .product-gallery-summary.gallery-full-width .flex-next:hover:before, 290 .product-gallery-summary.gallery-full-width .flex-prev:hover:before { 291 border-right-color: #FFF; 292 } 293 294 .product-gallery-summary.gallery-single .flex-next:hover:after, 295 .product-gallery-summary.gallery-single .flex-prev:hover:after, .product-gallery-summary.gallery-showcase .flex-next:hover:after, 296 .product-gallery-summary.gallery-showcase .flex-prev:hover:after, .product-gallery-summary.gallery-full-width .flex-next:hover:after, 297 .product-gallery-summary.gallery-full-width .flex-prev:hover:after { 298 border-left-color: #FFF; 299 } 300 301 .product-gallery-summary.gallery-single .flex-next::after, .product-gallery-summary.gallery-showcase .flex-next::after, .product-gallery-summary.gallery-full-width .flex-next::after { 302 visibility: visible; 303 border-left: 12px solid #212121; 304 -webkit-transform: translate3d(-40%, -50%, 0); 305 transform: translate3d(-40%, -50%, 0); 306 } 307 308 .product-gallery-summary.gallery-single .flex-prev::before, .product-gallery-summary.gallery-showcase .flex-prev::before, .product-gallery-summary.gallery-full-width .flex-prev::before { 309 visibility: visible; 310 border-right: 12px solid #212121; 311 -webkit-transform: translate3d(-70%, -50%, 0); 312 transform: translate3d(-70%, -50%, 0); 313 } 314 315 .product-gallery-summary.gallery-showcase, .product-gallery-summary.gallery-full-width { 316 position: relative; 317 padding: 40px 0; 318 } 319 320 .product-gallery-summary.gallery-showcase:before, .product-gallery-summary.gallery-full-width:before { 321 content: ''; 322 top: 0; 323 left: 50%; 324 right: 0; 325 bottom: 0; 326 background: #f0f0f0; 327 position: absolute; 328 z-index: 0; 329 width: 100vw; 330 -webkit-transform: translate3d(-50%, 0, 0); 331 transform: translate3d(-50%, 0, 0); 332 } 333 334 .product-gallery-summary.gallery-showcase .flex-next, 335 .product-gallery-summary.gallery-showcase .flex-prev, .product-gallery-summary.gallery-full-width .flex-next, 336 .product-gallery-summary.gallery-full-width .flex-prev { 337 border: none; 338 background: none; 339 } 340 341 .product-gallery-summary.gallery-showcase .flex-next::after, 342 .product-gallery-summary.gallery-showcase .flex-prev::before, .product-gallery-summary.gallery-full-width .flex-next::after, 343 .product-gallery-summary.gallery-full-width .flex-prev::before { 344 content: ''; 345 width: 10px; 346 height: 10px; 347 border-top: 2px solid #212121; 348 border-right: 2px solid #212121; 349 border-bottom: none; 350 border-left: none; 351 -webkit-transform: rotate(45deg); 352 transform: rotate(45deg); 353 } 354 355 .product-gallery-summary.gallery-showcase .flex-prev::before, .product-gallery-summary.gallery-full-width .flex-prev::before { 356 -webkit-transform: rotate(-135deg); 357 transform: rotate(-135deg); 358 -webkit-transform-origin: 30% 32%; 359 transform-origin: 30% 32%; 360 } 361 362 .product-gallery-summary.gallery-showcase .flex-next::after, .product-gallery-summary.gallery-full-width .flex-next::after { 363 -webkit-transform-origin: 70% -60%; 364 transform-origin: 70% -60%; 365 } 366 367 .product-gallery-summary.gallery-showcase .flex-next:hover:before, .product-gallery-summary.gallery-showcase .flex-next:hover:after, 368 .product-gallery-summary.gallery-showcase .flex-prev:hover:before, 369 .product-gallery-summary.gallery-showcase .flex-prev:hover:after, .product-gallery-summary.gallery-full-width .flex-next:hover:before, .product-gallery-summary.gallery-full-width .flex-next:hover:after, 370 .product-gallery-summary.gallery-full-width .flex-prev:hover:before, 371 .product-gallery-summary.gallery-full-width .flex-prev:hover:after { 372 border-color: #FFF; 373 } 374 375 .product-gallery-summary.gallery-showcase .woocommerce-product-gallery, 376 .product-gallery-summary.gallery-showcase .entry-summary, .product-gallery-summary.gallery-full-width .woocommerce-product-gallery, 377 .product-gallery-summary.gallery-full-width .entry-summary { 378 z-index: 2; 379 } 380 381 .product-gallery-summary.gallery-showcase .woocommerce-product-gallery ul.flex-direction-nav, 382 .product-gallery-summary.gallery-showcase .entry-summary ul.flex-direction-nav, .product-gallery-summary.gallery-full-width .woocommerce-product-gallery ul.flex-direction-nav, 383 .product-gallery-summary.gallery-full-width .entry-summary ul.flex-direction-nav { 384 width: 100%; 385 left: auto; 386 right: 0; 387 opacity: 0; 388 visibility: hidden; 389 -webkit-transition: ease opacity 300ms; 390 transition: ease opacity 300ms; 391 } 392 393 @media (min-width: 992px) { 394 .product-gallery-summary.gallery-showcase .woocommerce-product-gallery ul.flex-direction-nav, 395 .product-gallery-summary.gallery-showcase .entry-summary ul.flex-direction-nav, .product-gallery-summary.gallery-full-width .woocommerce-product-gallery ul.flex-direction-nav, 396 .product-gallery-summary.gallery-full-width .entry-summary ul.flex-direction-nav { 397 width: calc( 100% - 80px); 398 } 399 } 400 401 .product-gallery-summary.gallery-showcase .woocommerce-product-gallery:hover ul.flex-direction-nav, 402 .product-gallery-summary.gallery-showcase .entry-summary:hover ul.flex-direction-nav, .product-gallery-summary.gallery-full-width .woocommerce-product-gallery:hover ul.flex-direction-nav, 403 .product-gallery-summary.gallery-full-width .entry-summary:hover ul.flex-direction-nav { 404 opacity: 1; 405 visibility: visible; 406 } 407 408 .product-gallery-summary.gallery-full-width .woocommerce-product-gallery ul.flex-direction-nav, 409 .product-gallery-summary.gallery-full-width .entry-summary ul.flex-direction-nav { 410 width: 100%; 411 } 412 413 .product-gallery-summary.gallery-showcase { 414 padding: 80px 0; 415 } 416 417 .product-gallery-summary.gallery-grid .woocommerce-product-gallery__wrapper, .product-gallery-summary.gallery-scrolling .woocommerce-product-gallery__wrapper { 418 margin-right: -10px; 419 margin-left: -10px; 420 } 421 422 .product-gallery-summary.gallery-grid .woocommerce-product-gallery__wrapper > div, .product-gallery-summary.gallery-scrolling .woocommerce-product-gallery__wrapper > div { 423 padding-right: 10px; 424 padding-left: 10px; 425 } 426 427 .product-gallery-summary.gallery-grid .woocommerce-product-gallery__wrapper > div:not(:first-child), .product-gallery-summary.gallery-scrolling .woocommerce-product-gallery__wrapper > div:not(:first-child) { 428 width: 50%; 429 } 430 431 .product-gallery-summary.gallery-grid .woocommerce-product-gallery__wrapper > div + div, 432 .product-gallery-summary.gallery-grid .woocommerce-product-gallery__wrapper > div + .onsale + div, .product-gallery-summary.gallery-scrolling .woocommerce-product-gallery__wrapper > div + div, 433 .product-gallery-summary.gallery-scrolling .woocommerce-product-gallery__wrapper > div + .onsale + div { 434 margin-top: 20px; 435 } 436 437 .product-gallery-summary.gallery-grid .woocommerce-product-gallery__wrapper > div a:hover img, .product-gallery-summary.gallery-scrolling .woocommerce-product-gallery__wrapper > div a:hover img { 438 opacity: 0.8; 439 } 440 441 .product-gallery-summary.gallery-grid .woocommerce-product-gallery__wrapper > div a img, .product-gallery-summary.gallery-scrolling .woocommerce-product-gallery__wrapper > div a img { 442 -webkit-transition: ease opacity 300ms; 443 transition: ease opacity 300ms; 444 } 445 446 .product-gallery-summary.gallery-scrolling .woocommerce-product-gallery__wrapper > div:not(:first-child) { 447 width: 100%; 448 } 449 450 .product-gallery-summary.gallery-full-width { 451 -webkit-box-orient: vertical; 452 -webkit-box-direction: normal; 453 -ms-flex-direction: column; 454 flex-direction: column; 455 } 456 457 .product-gallery-summary.gallery-full-width .woocommerce-product-gallery, 458 .product-gallery-summary.gallery-full-width .entry-summary { 459 position: relative; 460 -webkit-box-flex: 0; 461 -ms-flex: 0 0 100%; 462 flex: 0 0 100%; 463 width: 100%; 464 max-width: 100%; 465 padding-left: 0; 466 margin-top: 40px; 467 } 468 469 .product-gallery-summary.gallery-full-width .woocommerce-product-gallery__wrapper img { 470 display: block; 471 margin: 0 auto; 472 } 473 474 .product-gallery-summary.gallery-full-width .flex-control-thumbs { 475 display: -webkit-box; 476 display: -ms-flexbox; 477 display: flex; 478 -webkit-box-pack: center; 479 -ms-flex-pack: center; 480 justify-content: center; 481 } 482 483 .product-gallery-summary.gallery-full-width .flex-control-thumbs li { 484 float: none !important; 485 max-width: 100px; 486 } 487 488 .product-gallery-summary.gallery-full-width .flex-control-thumbs li img { 489 border: 1px solid transparent; 490 padding: 4px; 491 opacity: 1; 492 -webkit-transition: border-color 0.3s; 493 transition: border-color 0.3s; 494 } 495 496 .product-gallery-summary.gallery-full-width .flex-control-thumbs li img:hover, .product-gallery-summary.gallery-full-width .flex-control-thumbs li img.flex-active { 497 border: 1px solid #212121; 498 } 499 500 @media (min-width: 992px) { 501 .product-gallery-summary.gallery-full-width .entry-summary { 502 display: -webkit-box; 503 display: -ms-flexbox; 504 display: flex; 505 } 506 .product-gallery-summary.gallery-full-width .entry-summary .gallery-full-width-title-wrapper { 507 -webkit-box-flex: 0; 508 -ms-flex: 0 0 55%; 509 flex: 0 0 55%; 510 max-width: 55%; 511 padding-right: 30px; 512 } 513 .product-gallery-summary.gallery-full-width .entry-summary .gallery-full-width-addtocart-wrapper { 514 padding-left: 30px; 515 -webkit-box-flex: 0; 516 -ms-flex: 0 0 45%; 517 flex: 0 0 45%; 518 max-width: 45%; 519 } 520 } 521 522 .product-gallery-summary.gallery-grid .sticky-entry-summary, .product-gallery-summary.gallery-scrolling .sticky-entry-summary, .product-gallery-summary.gallery-showcase .sticky-entry-summary { 523 position: sticky; 524 top: 30px; 525 } 526 527 .woocommerce-product-gallery__wrapper { 528 margin: 0; 529 } 530 531 .admin-bar .product-gallery-summary.gallery-grid .sticky-entry-summary, .admin-bar .product-gallery-summary.gallery-scrolling .sticky-entry-summary, .admin-bar .product-gallery-summary.gallery-showcase .sticky-entry-summary { 532 top: 70px; 533 } 534 535 .woocommerce-product-gallery { 536 position: relative; 537 } 538 539 .product-list .wc-block-grid__product-onsale, .product-list 540 span.onsale { 541 left: 15px; 542 } 543 544 .product-list ul.products li.product { 545 width: 100% !important; 546 margin-right: 0; 547 } 548 549 .product-list ul.products li.product .loop-image-wrap { 550 margin: 0; 551 } 552 553 .product-list ul.products li.product .loop-button-wrap.button-layout3 { 554 position: absolute; 555 top: 50%; 556 left: 50%; 557 opacity: 0; 558 visibility: hidden; 559 -webkit-transform: translate3d(-50%, -40%, 0); 560 transform: translate3d(-50%, -40%, 0); 561 -webkit-transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 562 transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 563 } 564 565 .product-list ul.products li.product .loop-button-wrap.button-layout4 { 566 position: absolute; 567 bottom: 15px; 568 left: 15px; 569 opacity: 0; 570 visibility: hidden; 571 -webkit-transition: ease opacity 300ms, ease visibility 300ms; 572 transition: ease opacity 300ms, ease visibility 300ms; 573 } 574 .button-layout4 .button .sydney-svg-icon { 575 margin-right: 0 !important; 576 } 577 .product-list ul.products li.product:hover .loop-button-wrap.button-layout3 { 578 opacity: 1; 579 visibility: visible; 580 -webkit-transform: translate3d(-50%, -50%, 0); 581 transform: translate3d(-50%, -50%, 0); 582 } 583 584 .product-list ul.products li.product:hover .loop-button-wrap.button-layout4 { 585 opacity: 1; 586 visibility: visible; 587 } 588 589 @media (min-width: 992px) { 590 .woocommerce .content-area.sidebar-right { 591 padding-right: 30px; 592 } 593 } 594 595 .woocommerce-products-header__title.page-title { 596 font-size: 32px; 597 } 598 599 .loop-price-inline { 600 text-align: right; 601 } 602 603 604 .product-list ul.products li.product .loop-button-wrap.button-layout3 { 605 position: absolute; 606 top: 50%; 607 left: 50%; 608 opacity: 0; 609 visibility: hidden; 610 -webkit-transform: translate3d(-50%, -40%, 0); 611 transform: translate3d(-50%, -40%, 0); 612 -webkit-transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 613 transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 614 } 615 616 .product-list ul.products li.product .loop-button-wrap.button-layout4 { 617 position: absolute; 618 bottom: 15px; 619 left: 15px; 620 opacity: 0; 621 visibility: hidden; 622 -webkit-transition: ease opacity 300ms, ease visibility 300ms; 623 transition: ease opacity 300ms, ease visibility 300ms; 624 } 625 626 .product-list ul.products li.product:hover .loop-button-wrap.button-layout3 { 627 opacity: 1; 628 visibility: visible; 629 -webkit-transform: translate3d(-50%, -50%, 0); 630 transform: translate3d(-50%, -50%, 0); 631 } 632 633 .product-list ul.products li.product:hover .loop-button-wrap.button-layout4 { 634 opacity: 1; 635 visibility: visible; 636 } 637 638 .loop-button-wrap.button-layout4 .sydney-svg-icon { 639 width: 24px; 640 height: 24px; 641 } 642 643 .loop-button-wrap.button-layout4 .button { 644 margin-left: 0 !important; 645 } 646 647 .loop-price-inline { 648 text-align: right; 649 } 650 651 .loop-image-wrap { 652 position: relative; 653 overflow: hidden; 654 } 655 656 .related.products .button-layout3, 657 .related.products .button-layout4, 658 .upsells.products .button-layout3, 659 .upsells.products .button-layout4, 660 .product-grid .button-layout3, 661 .product-grid .button-layout4 { 662 position: absolute; 663 opacity: 0; 664 -webkit-transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 665 transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 666 } 667 668 .related.products .button-layout3, 669 .upsells.products .button-layout3, 670 .product-grid .button-layout3 { 671 top: 50%; 672 width: 100%; 673 text-align: center; 674 -webkit-transform: translate3d(0, -40%, 0); 675 transform: translate3d(0, -40%, 0); 676 } 677 678 .related.products .button-layout3 a, 679 .upsells.products .button-layout3 a, 680 .product-grid .button-layout3 a { 681 display: inline-block !important; 682 } 683 684 .related.products ul.products li.product:hover .button-layout3, 685 .upsells.products ul.products li.product:hover .button-layout3, 686 .product-grid ul.products li.product:hover .button-layout3 { 687 opacity: 1; 688 visibility: visible; 689 -webkit-transform: translate3d(0, -50%, 0); 690 transform: translate3d(0, -50%, 0); 691 } 692 693 .related.products ul.products li.product:hover .button-layout4, 694 .upsells.products ul.products li.product:hover .button-layout4, 695 .product-grid ul.products li.product:hover .button-layout4 { 696 opacity: 1; 697 } 698 699 .related.products .button-layout4, 700 .upsells.products .button-layout4, 701 .product-grid .button-layout4 { 702 width: 100%; 703 bottom: 10px; 704 left: 10px; 705 } 706 707 .button-layout3 a, 708 .button-layout4 a { 709 margin-top: 0 !important; 710 } 711 712 .button-layout3 .wc-forward { 713 margin-left: 5px; 714 } 715 716 .button-layout2 .wc-forward { 717 margin-top: 8px; 718 display: block; 719 } 720 721 ul.wc-block-grid__products li.wc-block-grid__product .button-layout3 .wp-block-button, 722 ul.wc-block-grid__products li.wc-block-grid__product .button-layout4 .wp-block-button { 723 margin-bottom: 0; 724 } 725 726 ul.wc-block-grid__products li.wc-block-grid__product:hover .button-layout3 { 727 opacity: 1; 728 visibility: visible; 729 -webkit-transform: translate3d(0, -50%, 0); 730 transform: translate3d(0, -50%, 0); 731 } 732 733 ul.wc-block-grid__products li.wc-block-grid__product:hover .button-layout4 { 734 opacity: 1; 735 } 736 737 738 .loop-image-wrap > .add_to_cart_button, 739 .loop-image-wrap > .loop-button-wrap.button-layout3 { 740 position: absolute; 741 top: 50%; 742 left: 50%; 743 min-width: 145px; 744 text-align: center; 745 opacity: 0; 746 visibility: hidden; 747 white-space: nowrap; 748 -webkit-transform: translate3d(-50%, -10%, 0); 749 transform: translate3d(-50%, -10%, 0); 750 -webkit-transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 751 transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 752 } 753 754 .loop-image-wrap > .add_to_cart_button + .sydney-quick-view-layout2, 755 .loop-image-wrap > .loop-button-wrap.button-layout3 + .sydney-quick-view-layout2 { 756 -webkit-transform: translate3d(-50%, -50%, 0); 757 transform: translate3d(-50%, -50%, 0); 758 } 759 760 .loop-image-wrap > .loop-button-wrap.button-layout3 .add_to_cart_button { 761 min-width: 145px; 762 text-align: center; 763 } 764 765 .loop-image-wrap.sydney-add-to-cart-button-layout4.sydney-quick-view-button-layout3 > .add_to_cart_button, 766 .loop-image-wrap.sydney-add-to-cart-button-layout4.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout4 { 767 top: auto; 768 left: 15px; 769 bottom: 55px; 770 min-width: 0; 771 -webkit-transform: none !important; 772 transform: none !important; 773 } 774 775 .loop-image-wrap.sydney-add-to-cart-button-layout4.sydney-quick-view-button-layout3 > .add_to_cart_button .sydney-svg-icon, 776 .loop-image-wrap.sydney-add-to-cart-button-layout4.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout4 .sydney-svg-icon { 777 width: 25px; 778 height: 25px; 779 } 780 781 ul.products li.product:hover .sydney-quick-view-layout2, 782 ul.products li.wc-block-grid__product:hover .sydney-quick-view-layout2, 783 ul.wc-block-grid__products li.product:hover .sydney-quick-view-layout2, 784 ul.wc-block-grid__products li.wc-block-grid__product:hover .sydney-quick-view-layout2 { 785 opacity: 1; 786 visibility: visible; 787 -webkit-transform: translate3d(-50%, -50%, 0); 788 transform: translate3d(-50%, -50%, 0); 789 } 790 791 ul.products li.product:hover .sydney-quick-view-layout3, 792 ul.products li.wc-block-grid__product:hover .sydney-quick-view-layout3, 793 ul.wc-block-grid__products li.product:hover .sydney-quick-view-layout3, 794 ul.wc-block-grid__products li.wc-block-grid__product:hover .sydney-quick-view-layout3 { 795 -webkit-transform: translate3d(0, 0, 0); 796 transform: translate3d(0, 0, 0); 797 } 798 799 ul.products li.product:hover .loop-image-wrap > .add_to_cart_button, 800 ul.products li.product:hover .loop-image-wrap > .loop-button-wrap.button-layout3, 801 ul.products li.wc-block-grid__product:hover .loop-image-wrap > .add_to_cart_button, 802 ul.products li.wc-block-grid__product:hover .loop-image-wrap > .loop-button-wrap.button-layout3, 803 ul.wc-block-grid__products li.product:hover .loop-image-wrap > .add_to_cart_button, 804 ul.wc-block-grid__products li.product:hover .loop-image-wrap > .loop-button-wrap.button-layout3, 805 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap > .add_to_cart_button, 806 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 { 807 opacity: 1; 808 visibility: visible; 809 -webkit-transform: translate3d(-50%, 0%, 0); 810 transform: translate3d(-50%, 0%, 0); 811 } 812 813 ul.products li.product:hover .loop-image-wrap > .add_to_cart_button + .sydney-quick-view-layout2, 814 ul.products li.product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 + .sydney-quick-view-layout2, 815 ul.products li.wc-block-grid__product:hover .loop-image-wrap > .add_to_cart_button + .sydney-quick-view-layout2, 816 ul.products li.wc-block-grid__product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 + .sydney-quick-view-layout2, 817 ul.wc-block-grid__products li.product:hover .loop-image-wrap > .add_to_cart_button + .sydney-quick-view-layout2, 818 ul.wc-block-grid__products li.product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 + .sydney-quick-view-layout2, 819 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap > .add_to_cart_button + .sydney-quick-view-layout2, 820 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 + .sydney-quick-view-layout2 { 821 -webkit-transform: translate3d(-50%, -75%, 0); 822 transform: translate3d(-50%, -75%, 0); 823 } 824 825 ul.products li.product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .add_to_cart_button, 826 ul.products li.product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout3, 827 ul.products li.wc-block-grid__product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .add_to_cart_button, 828 ul.products li.wc-block-grid__product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout3, 829 ul.wc-block-grid__products li.product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .add_to_cart_button, 830 ul.wc-block-grid__products li.product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout3, 831 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .add_to_cart_button, 832 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout3 { 833 -webkit-transform: translate3d(-50%, -50%, 0); 834 transform: translate3d(-50%, -50%, 0); 835 } 836 837 ul.wc-block-grid__products li.wc-block-grid__product .loop-image-wrap:not(.sydney-quick-view-button-layout3) > .loop-button-wrap.button-layout3 + .button.sydney-quick-view { 838 -webkit-transition-delay: 0ms; 839 transition-delay: 0ms; 840 } 841 842 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 { 843 -webkit-transform: translate3d(-50%, 45%, 0); 844 transform: translate3d(-50%, 45%, 0); 845 } 846 847 .loop-button-wrap.button-layout3 + .button.sydney-quick-view { 848 -webkit-transition-delay: 150ms; 849 transition-delay: 150ms; 850 } 851 852 .woocommerce ul.products li.product .col-md-7 > *, 853 .woocommerce ul.products li.product .col-md-8 > *, 854 .woocommerce ul.products li.product > * { 855 margin-bottom: 12px; 856 } 857 858 .woocommerce-LoopProduct-link { 859 display: block; 860 } 861 862 ul.products li.product .product-category { 863 line-height: 1; 864 } 865 866 867 /** 868 * Quick view 869 */ 870 @-webkit-keyframes rotateAnim { 871 from { 872 -webkit-transform: rotate(0deg); 873 transform: rotate(0deg); 874 } 875 to { 876 -webkit-transform: rotate(360deg); 877 transform: rotate(360deg); 878 } 879 } 880 @keyframes rotateAnim { 881 from { 882 -webkit-transform: rotate(0deg); 883 transform: rotate(0deg); 884 } 885 to { 886 -webkit-transform: rotate(360deg); 887 transform: rotate(360deg); 888 } 889 } 890 891 .button.sydney-quick-view.sydney-quick-view-layout2 { 892 position: absolute; 893 top: 50%; 894 left: 50%; 895 min-width: 145px; 896 text-align: center; 897 opacity: 0; 898 margin-top: 0 !important; 899 visibility: hidden; 900 white-space: nowrap; 901 -webkit-transform: translate3d(-50%, -40%, 0); 902 transform: translate3d(-50%, -40%, 0); 903 -webkit-transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 904 transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 905 } 906 907 .button.sydney-quick-view.sydney-quick-view-layout3 { 908 position: absolute; 909 bottom: 0; 910 left: 0; 911 width: 100%; 912 margin-top: 0 !important; 913 text-align: center; 914 -webkit-transform: translate3d(0, 100%, 0); 915 transform: translate3d(0, 100%, 0); 916 -webkit-transition: ease transform 300ms; 917 transition: ease transform 300ms; 918 } 919 920 .loop-image-wrap > .add_to_cart_button, 921 .loop-image-wrap > .loop-button-wrap.button-layout3 { 922 position: absolute; 923 top: 50%; 924 left: 50%; 925 min-width: 145px; 926 text-align: center; 927 opacity: 0; 928 visibility: hidden; 929 white-space: nowrap; 930 -webkit-transform: translate3d(-50%, -10%, 0); 931 transform: translate3d(-50%, -10%, 0); 932 -webkit-transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 933 transition: ease opacity 300ms, ease visibility 300ms, ease transform 300ms; 934 } 935 936 .loop-image-wrap > .add_to_cart_button + .sydney-quick-view-layout2, 937 .loop-image-wrap > .loop-button-wrap.button-layout3 + .sydney-quick-view-layout2 { 938 -webkit-transform: translate3d(-50%, -50%, 0); 939 transform: translate3d(-50%, -50%, 0); 940 } 941 942 .loop-image-wrap > .loop-button-wrap.button-layout3 .add_to_cart_button { 943 min-width: 145px; 944 text-align: center; 945 } 946 947 .loop-image-wrap.sydney-add-to-cart-button-layout4.sydney-quick-view-button-layout3 > .add_to_cart_button, 948 .loop-image-wrap.sydney-add-to-cart-button-layout4.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout4 { 949 top: auto; 950 left: 15px; 951 bottom: 55px; 952 min-width: 0; 953 -webkit-transform: none !important; 954 transform: none !important; 955 } 956 957 .loop-image-wrap.sydney-add-to-cart-button-layout4.sydney-quick-view-button-layout3 > .add_to_cart_button .ws-svg-icon, 958 .loop-image-wrap.sydney-add-to-cart-button-layout4.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout4 .ws-svg-icon { 959 width: 25px; 960 height: 25px; 961 } 962 963 ul.products li.product:hover .sydney-quick-view-layout2, 964 ul.products li.wc-block-grid__product:hover .sydney-quick-view-layout2, 965 ul.wc-block-grid__products li.product:hover .sydney-quick-view-layout2, 966 ul.wc-block-grid__products li.wc-block-grid__product:hover .sydney-quick-view-layout2 { 967 opacity: 1; 968 visibility: visible; 969 -webkit-transform: translate3d(-50%, -50%, 0); 970 transform: translate3d(-50%, -50%, 0); 971 } 972 973 ul.products li.product:hover .sydney-quick-view-layout3, 974 ul.products li.wc-block-grid__product:hover .sydney-quick-view-layout3, 975 ul.wc-block-grid__products li.product:hover .sydney-quick-view-layout3, 976 ul.wc-block-grid__products li.wc-block-grid__product:hover .sydney-quick-view-layout3 { 977 -webkit-transform: translate3d(0, 0, 0); 978 transform: translate3d(0, 0, 0); 979 } 980 981 ul.products li.product:hover .loop-image-wrap > .add_to_cart_button, 982 ul.products li.product:hover .loop-image-wrap > .loop-button-wrap.button-layout3, 983 ul.products li.wc-block-grid__product:hover .loop-image-wrap > .add_to_cart_button, 984 ul.products li.wc-block-grid__product:hover .loop-image-wrap > .loop-button-wrap.button-layout3, 985 ul.wc-block-grid__products li.product:hover .loop-image-wrap > .add_to_cart_button, 986 ul.wc-block-grid__products li.product:hover .loop-image-wrap > .loop-button-wrap.button-layout3, 987 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap > .add_to_cart_button, 988 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 { 989 opacity: 1; 990 visibility: visible; 991 -webkit-transform: translate3d(-50%, 0%, 0); 992 transform: translate3d(-50%, 0%, 0); 993 } 994 995 ul.products li.product:hover .loop-image-wrap > .add_to_cart_button + .sydney-quick-view-layout2, 996 ul.products li.product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 + .sydney-quick-view-layout2, 997 ul.products li.wc-block-grid__product:hover .loop-image-wrap > .add_to_cart_button + .sydney-quick-view-layout2, 998 ul.products li.wc-block-grid__product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 + .sydney-quick-view-layout2, 999 ul.wc-block-grid__products li.product:hover .loop-image-wrap > .add_to_cart_button + .sydney-quick-view-layout2, 1000 ul.wc-block-grid__products li.product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 + .sydney-quick-view-layout2, 1001 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap > .add_to_cart_button + .sydney-quick-view-layout2, 1002 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 + .sydney-quick-view-layout2 { 1003 -webkit-transform: translate3d(-50%, -75%, 0); 1004 transform: translate3d(-50%, -75%, 0); 1005 } 1006 1007 ul.products li.product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .add_to_cart_button, 1008 ul.products li.product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout3, 1009 ul.products li.wc-block-grid__product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .add_to_cart_button, 1010 ul.products li.wc-block-grid__product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout3, 1011 ul.wc-block-grid__products li.product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .add_to_cart_button, 1012 ul.wc-block-grid__products li.product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout3, 1013 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .add_to_cart_button, 1014 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap.sydney-add-to-cart-button-layout3.sydney-quick-view-button-layout3 > .loop-button-wrap.button-layout3 { 1015 -webkit-transform: translate3d(-50%, -50%, 0); 1016 transform: translate3d(-50%, -50%, 0); 1017 } 1018 1019 ul.wc-block-grid__products li.wc-block-grid__product .loop-image-wrap:not(.sydney-quick-view-button-layout3) > .loop-button-wrap.button-layout3 + .button.sydney-quick-view { 1020 -webkit-transition-delay: 0ms; 1021 transition-delay: 0ms; 1022 } 1023 1024 ul.wc-block-grid__products li.wc-block-grid__product:hover .loop-image-wrap > .loop-button-wrap.button-layout3 { 1025 -webkit-transform: translate3d(-50%, 45%, 0); 1026 transform: translate3d(-50%, 45%, 0); 1027 } 1028 1029 .loop-button-wrap.button-layout3 + .button.sydney-quick-view { 1030 -webkit-transition-delay: 150ms; 1031 transition-delay: 150ms; 1032 } 1033 1034 .sydney-quick-view-popup { 1035 position: fixed; 1036 display: -webkit-box; 1037 display: -ms-flexbox; 1038 display: flex; 1039 -webkit-box-align: center; 1040 -ms-flex-align: center; 1041 align-items: center; 1042 -webkit-box-pack: center; 1043 -ms-flex-pack: center; 1044 justify-content: center; 1045 background: rgba(0, 0, 0, 0.9); 1046 left: 0; 1047 top: 0; 1048 right: 0; 1049 bottom: 0; 1050 opacity: 0; 1051 visibility: hidden; 1052 z-index: 9999; 1053 -webkit-transition: ease opacity 300ms; 1054 transition: ease opacity 300ms; 1055 } 1056 1057 .sydney-quick-view-popup.opened { 1058 opacity: 1; 1059 visibility: visible; 1060 } 1061 1062 .sydney-quick-view-popup.opened .sydney-quick-view-popup-content { 1063 opacity: 1; 1064 visibility: visible; 1065 } 1066 1067 .sydney-quick-view-popup .sydney-quick-view-loader { 1068 position: absolute; 1069 top: 50%; 1070 left: 50%; 1071 -webkit-transform: translate3d(-50%, -50%, 0); 1072 transform: translate3d(-50%, -50%, 0); 1073 z-index: 0; 1074 } 1075 1076 .sydney-quick-view-popup .sydney-quick-view-loader > svg { 1077 opacity: 0.7; 1078 -webkit-animation-name: rotateAnim; 1079 animation-name: rotateAnim; 1080 -webkit-animation-duration: 1.5s; 1081 animation-duration: 1.5s; 1082 -webkit-animation-timing-function: linear; 1083 animation-timing-function: linear; 1084 -webkit-animation-iteration-count: infinite; 1085 animation-iteration-count: infinite; 1086 } 1087 1088 .sydney-quick-view-popup .sydney-quick-view-popup-content { 1089 position: relative; 1090 width: 100%; 1091 max-width: 800px; 1092 background: #FFF; 1093 padding: 35px; 1094 opacity: 0; 1095 visibility: hidden; 1096 -webkit-transition: ease opacity 300ms 600ms; 1097 transition: ease opacity 300ms 600ms; 1098 z-index: 1; 1099 } 1100 1101 @media (min-width: 1025px) { 1102 .sydney-quick-view-popup .sydney-quick-view-popup-content { 1103 max-width: 1110px; 1104 } 1105 } 1106 1107 .sydney-quick-view-popup .sydney-quick-view-popup-content .sydney-quick-view-popup-close-button { 1108 display: -webkit-box; 1109 display: -ms-flexbox; 1110 display: flex; 1111 -webkit-box-align: center; 1112 -ms-flex-align: center; 1113 align-items: center; 1114 -webkit-box-pack: center; 1115 -ms-flex-pack: center; 1116 justify-content: center; 1117 position: absolute; 1118 top: -37px; 1119 right: -10px; 1120 width: 30px; 1121 height: 30px; 1122 z-index: 1; 1123 } 1124 1125 .sydney-quick-view-popup .sydney-quick-view-popup-content .sydney-quick-view-popup-close-button svg { 1126 fill: #fff; 1127 } 1128 1129 .sydney-quick-view-popup .sydney-quick-view-popup-content .sydney-quick-view-popup-close-button path { 1130 -webkit-transform: scale(0.75); 1131 transform: scale(0.75); 1132 } 1133 1134 .sydney-quick-view-popup .sydney-quick-view-popup-content .sydney-quick-view-popup-close-button:hover svg path, .sydney-quick-view-popup .sydney-quick-view-popup-content .sydney-quick-view-popup-close-button:focus svg path { 1135 fill: #FFF; 1136 } 1137 1138 .sydney-quick-view-popup .sydney-quick-view-popup-content .sydney-quick-view-summary { 1139 display: block; 1140 max-height: 75vh; 1141 overflow-y: auto; 1142 } 1143 1144 .sydney-quick-view-popup .sydney-quick-view-popup-content .woocommerce-product-gallery { 1145 width: 100%; 1146 float: none !important; 1147 } 1148 1149 .sydney-quick-view-popup .sydney-quick-view-popup-content .woocommerce-product-gallery .flex-direction-nav { 1150 display: none; 1151 } 1152 1153 @media only screen and (max-width: 850px) { 1154 .sydney-quick-view-popup .sydney-quick-view-popup-content { 1155 max-width: calc( 100% - 30px); 1156 } 1157 .sydney-quick-view-popup .sydney-quick-view-popup-content .sydney-quick-view-popup-content-ajax { 1158 max-height: 80vh; 1159 overflow-y: auto; 1160 overflow-x: hidden; 1161 } 1162 } 1163 1164 @media only screen and (max-width: 991px) { 1165 .sydney-quick-view-popup .sydney-quick-view-popup-content .col-lg-6 + .col-lg-6 { 1166 margin-top: 30px; 1167 } 1168 .sydney-quick-view-popup .sydney-quick-view-popup-content .sydney-quick-view-summary { 1169 max-height: none; 1170 overflow: visible; 1171 } 1172 } 1173 1174 /** 1175 * Photoswipe 1176 */ 1177 .pswp { 1178 z-index: 9999 !important; 1179 } 1180 1181 .woocommerce .sydney-quick-view-popup div.product div.images { 1182 width: 100%; 1183 } 1184 .woocommerce .sydney-quick-view-popup div.product div.images { 1185 margin-bottom: 0; 1186 } 1187 .woocommerce .sydney-quick-view-popup button.button { 1188 padding: 12px 35px; 1189 line-height: inherit; 1190 width: calc(100% - 105px); 1191 margin-left: 15px; 1192 } 1193 1194 ul.products li.product-category mark { 1195 background: none; 1196 color: inherit; 1197 } 1198 1199 .product-category-item-layout1 ul.products li.product-category .woocommerce-loop-category__title { 1200 margin-top: 15px; 1201 } 1202 1203 .product-category-item-layout2 ul.products li.product-category a { 1204 position: relative; 1205 display: block; 1206 } 1207 1208 .product-category-item-layout2 ul.products li.product-category .woocommerce-loop-category__title { 1209 position: absolute; 1210 left: 0; 1211 bottom: 0; 1212 width: 100%; 1213 background: rgba(255, 255, 255, 0.6); 1214 padding: 20px 10px; 1215 margin: 0; 1216 } 1217 1218 .product-category-item-layout3 ul.products li.product-category a { 1219 position: relative; 1220 display: block; 1221 overflow: hidden; 1222 } 1223 1224 .product-category-item-layout3 ul.products li.product-category .woocommerce-loop-category__title { 1225 position: absolute; 1226 left: 0; 1227 bottom: 0; 1228 width: 100%; 1229 padding: 20px 0px; 1230 margin: 0; 1231 color: #FFF; 1232 z-index: 1; 1233 } 1234 1235 .product-category-item-layout3 ul.products li.product-category .woocommerce-loop-category__title:after { 1236 content: ''; 1237 position: absolute; 1238 left: 0; 1239 bottom: 0; 1240 height: 0; 1241 width: 100%; 1242 -webkit-box-shadow: 0px 0px 60px 60px rgba(0, 0, 0, 0.5); 1243 box-shadow: 0px 0px 60px 60px rgba(0, 0, 0, 0.5); 1244 z-index: -1; 1245 } 1246 1247 .product-category-item-layout4 ul.products li.product-category a { 1248 position: relative; 1249 display: block; 1250 } 1251 1252 .product-category-item-layout4 ul.products li.product-category .woocommerce-loop-category__title { 1253 position: absolute; 1254 left: 0; 1255 bottom: 0; 1256 width: calc( 100% - 30px); 1257 background: #FFF; 1258 padding: 20px 0px; 1259 margin: 0 0 15px 15px; 1260 } 1261 1262 .product-category-item-layout5 ul.products li.product-category a { 1263 position: relative; 1264 display: block; 1265 overflow: hidden; 1266 } 1267 1268 .product-category-item-layout5 ul.products li.product-category a:after { 1269 content: ''; 1270 position: absolute; 1271 top: 0; 1272 right: 0; 1273 bottom: 0; 1274 left: 0; 1275 background: rgba(0, 0, 0, 0.7); 1276 z-index: 0; 1277 } 1278 1279 .product-category-item-layout5 ul.products li.product-category .woocommerce-loop-category__title { 1280 position: absolute; 1281 left: 50%; 1282 top: 50%; 1283 margin: 0; 1284 color: #FFF; 1285 -webkit-transform: translate3d(-50%, -50%, 0); 1286 transform: translate3d(-50%, -50%, 0); 1287 z-index: 1; 1288 } 1289 .cart-layout2 > .hentry .entry-content > .woocommerce:after { 1290 content: ''; 1291 display: block; 1292 clear: both; 1293 } 1294 @media (min-width: 992px) { 1295 .woocommerce-cart .shop_table td.product-subtotal, 1296 .woocommerce-cart .shop_table td.product-quantity, 1297 .woocommerce-cart .shop_table td.product-price { 1298 width: 15%; 1299 } 1300 .cart-layout1 .cart-collaterals { 1301 float: left; 1302 max-width: 467px; 1303 margin-top: 23px; 1304 } 1305 .cart-layout2 .woocommerce-notices-wrapper:not(:empty) { 1306 margin-bottom: 30px; 1307 } 1308 .cart-layout2 .woocommerce-cart-form { 1309 width: 70%; 1310 float: left; 1311 padding-right: 30px; 1312 } 1313 .cart-layout2 .cart_totals { 1314 width: 30%; 1315 margin-top: 0; 1316 float: left; 1317 border: 2px solid #f0f0f0; 1318 padding: 30px; 1319 } 1320 1321 .cart-layout2 .cart_totals .wc-proceed-to-checkout { 1322 padding-bottom: 0; 1323 } 1324 } 1325 1326 @media (min-width: 1200px) { 1327 .cart-layout1 .cart-collaterals { 1328 max-width: 640px; 1329 } 1330 } 1331 1332 1333 1334 .checkout-layout2 .woocommerce-checkout #customer_details, 1335 .checkout-layout2 .woocommerce-checkout #order_review_heading, 1336 .checkout-layout2 .woocommerce-checkout #order_review { 1337 width: 100%; 1338 float: none; 1339 padding: 0; 1340 } 1341 .content-area.checkout-layout2 { 1342 max-width: 800px; 1343 margin-left: auto; 1344 margin-right: auto; 1345 float: none; 1346 } 1347 .checkout-layout2 .woocommerce-checkout #order_review_heading { 1348 border-top: 1px solid #dbdbdb; 1349 padding-top: 30px; 1350 margin-top: 30px; 1351 }
Note: See TracChangeset
for help on using the changeset viewer.