/*
Theme Name: Craftify
Theme URI:
Author: Eagle Vision IT
Author URI: https://www.eaglevisionit.com
Description: Introducing Craftify, a sleek and SEO-friendly eCommerce theme powered by WooCommerce and the WC Booster plugin. With fast-loading and SEO-optimized features, it enhances your site's visibility on Google. Tailored for online fashion retail, it seamlessly integrates payment options for your customers. Build your website effortlessly in minutes, no coding required, thanks to its Gutenberg-friendly design and SEO-standard coding. Enjoy additional features like WooCommerce integration, category collage, product slider, and gallery upon installation. See the real demo site at  https://demos.eaglevisionit.com/craftify/
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: craftify
Tags: editor-style, blog, custom-background, custom-logo, custom-menu, e-commerce, featured-images, footer-widgets, left-sidebar, one-column, right-sidebar, full-site-editing, threaded-comments, translation-ready, two-columns, wide-blocks, full-width-template, sticky-post, block-styles, block-patterns
*/

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: var(--wp--preset--color--secondary-bg);
}

footer {
  margin: unset;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

/* header css */

.wp-block-search__inside-wrapper .wp-block-search__button {
  margin-left: 0;
  padding: 12px 20px;
}

.wp-block-navigation .wp-block-navigation__responsive-container-open,
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
  padding: 0;
}

.wp-block-search__input {
  padding: 0 15px;
}

.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
  left: 30px;
}

@media screen and (max-width: 1085px) {

  .wp-block-navigation .wp-block-navigation-item__content span,
  .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: var(--wp--preset--color--primary) !important;
  }

  .wp-block-navigation__responsive-container-close svg {
    color: #000 !important;
  }
}

@media screen and (min-width: 1085px) {
  .wp-block-navigation .has-child:where(:not(.open-on-click)):hover>.wp-block-navigation__submenu-container {
    animation: smoothScrollBack 0.6s backwards, fadein 0.6s;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 4px 6px -1px,
      rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    border-radius: 2px;
  }


  .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
    left: 191px;
    top: -9px;
  }

  .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
    padding: 10px;
    border: none !important;
    border-radius: 2px;
    background-color: var(--wp--preset--color--primary) !important;
  }

  .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container a {
    color: var(--wp--preset--color--base) !important;
    margin: 6px 10px !important;
    transform: translateX(0px);
    transition: transform 0.3s ease;
  }

  .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container a:hover {
    transform: translateX(10px);
    transition: transform 0.3s ease;
  }

  .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon {
    color: var(--wp--preset--color--base);
  }
}

@keyframes smoothScrollBack {
  0% {
    transform: translateY(30px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (max-width: 1085px) {

  .wp-block-navigation__responsive-container,
  .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
    display: none;
  }

  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: block;
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
}

@media (max-width: 645px) {
  .site-header .wp-block-navigation {
    justify-content: right;
  }
}

.wc-booster-wishlist-menu i {
  font-size: 23px !important;
}

.wishlist-count {
  font-size: 0.875em;
  position: relative;
  top: -6px;
  background: #fff;
  color: #111;
  min-width: 20px;
  height: 20px;
  border-radius: 50px;
  justify-content: center;
  display: flex;
  right: 3px;
  align-items: center;
}

.wc-booster-wishlist-item-wrapper {
  gap: 0px !important;
}

.wc-block-mini-cart__button {
  padding: 10px 5px !important;
}

/* pagination css */

.page-numbers {
  padding: 8px;
  margin: 0 4px;
  text-decoration: none;
  font-weight: 300;
}

.page-numbers.current {
  border-bottom: 1px solid #000;
}

.page-numbers:hover {
  text-decoration: none;
  border-bottom: 1px solid #000;
}

/* Single-product css */

.single-product .wc-booster-swatches-selector li a {
  border-radius: 50px;
  height: 25px !important;
  width: 25px !important;
}

.wc-booster-color-swatch .wc-booster-swatches-selector {
  gap: 8px;
}

.wc-booster-toogle-group-swatch .wc-booster-swatches-selector {
  gap: 3px;
}

.single-product .wc-booster-swatches-wrapper .wc-booster-toogle-group-swatch ul.wc-booster-swatches-selector li {
  border-radius: 6px;
  padding: 10px 15px;
  height: 50px;
}

.single-product .wc-booster-swatches-wrapper .wc-booster-toogle-group-swatch ul.wc-booster-swatches-selector li.selected,
.single-product .wc-booster-swatches-wrapper .wc-booster-toogle-group-swatch ul.wc-booster-swatches-selector li:hover {
  background: #484848;
  color: #ffffff;
  border-color: #484848;
}

.woocommerce div.product form.cart .button {
  display: flex;
  align-items: center;
}

.wc-booster-toogle-group-swatch ul.wc-booster-swatches-selector li span {
  font-size: 14px;
}

.wc-block-add-to-cart-form .quantity {
  border-radius: 30px;
}

.wc-booster-custom-qty-button-layout-vertical .wc-block-add-to-cart-form .quantity {
  border-radius: 2px;
}

.single_add_to_cart_button {
  border-radius: 30px !important;
}

.wc-block-breadcrumbs a i {
  padding-right: 5px;
}

.single-product .single_add_to_cart_button {
  justify-content: center;
  width: 100%;
  margin-top: 11px;
  margin-bottom: 11px;
  height: 50px !important;
}

.single-product.woocommerce div.product form.cart {
  margin-bottom: 10px !important;
}

.single-product .wc-block-product-gallery-thumbnails .wc-block-product-gallery-thumbnails__thumbnail img,
.wc-block-product-gallery-large-image img {
  aspect-ratio: unset;
}

.single-product .wc-booster-swatches-wrapper .wc-booster-toogle-group-swatch ul.wc-booster-swatches-selector li {
  padding: 10px 12px;
  height: 47px;
  background: #f2f2f2;
  border: unset;
}

.single-product .quantity .qty {
  font-size: 14px;
}

.single-product .quantity i {
  font-size: 12px;
}

.wc-booster-color-swatch ul.wc-booster-swatches-selector li.selected a,
.wc-booster-color-swatch ul.wc-booster-swatches-selector li:hover a {
  border-color: #fff;
  box-shadow: 0 0 0 1px #111;
}

.wc-block-grid__product-rating .star-rating span:before,
.wc-block-grid__product-rating .wc-block-grid__product-rating__stars span:before,
.woocommerce .star-rating span::before,
.comment-form-rating span a {
  color: #ffa401;
}

.woocommerce-review-link {
  text-decoration: none;
}

.wc-block-components-product-rating__container {
  line-height: 0;
}

.wc-block-product-gallery:not([data-next-previous-buttons-position="outsideTheImage"]:not(.is-single-product-gallery-image)) .wc-block-product-gallery-large-image .wc-block-product-gallery-large-image__image-element {
  padding: 0;
}

.wc-block-product-gallery-large-image__wrapper {
  border-radius: 10px;
}

.single-product .wc-block-product-gallery-thumbnails .wc-block-product-gallery-thumbnails__thumbnail {
  border: none;
}

.wc-block-product-gallery-thumbnails img {
  border-radius: 10px;
}

.wp-container-woocommerce-product-gallery-large-image-next-previous-is-layout-1.wp-container-woocommerce-product-gallery-large-image-next-previous-is-layout-1 {
  align-items: center !important;
}

.single-product .wc-booster-swatches-wrapper>div>p {
  font-size: 16px !important;
}

.wc-block-product-gallery-thumbnails__thumbnail.selected img {
  border: 1px solid #484848;
  padding: 3px;
}

.wc-booster-color-swatch .wc-booster-swatches-selector li a {
  border-radius: 50px;
  height: 30px !important;
  width: 30px !important;
}

.wc-booster-color-swatch ul.wc-booster-swatches-selector li a {
  border: 4px solid #fff !important;
}

#wc-booster-pro-product-categories-block-3503ea88-2d6d-43cc-bfc7-5a08e849c2cc .wc-booster-pro-product-categories li {
  border-radius: 30px;
}

.wc-block-product-gallery-large-image-next-previous--button {
  padding: 0 !important;
}

.wc-block-product-gallery-large-image-next-previous--button svg {
  height: 40px;
  width: auto;
}

.wc-booster-pro-product-categories li,
.wc-booster-sticky-btn .add-to-cart {
  border-radius: 30px;
}

.single-product ul.tabs.wc-tabs {
  border: none !important;
  display: flex;
}
.single-product .woocommerce-tabs ul > li {
  border: 1px solid #ddd !important;
  background-color: #c5c5c5 !important;
}
.single-product .woocommerce-tabs ul > li.active {
  border-bottom: none !important;
}

.single-product .woocommerce-Tabs-panel {
  margin-top: -1px !important;
}

.single-product .tabs.wc-tabs {
  margin: unset !important;
  border-bottom: 1px solid #d3d3d3 !important;
}

.single-product .woocommerce-tabs .description_tab,
.additional_information_tab,
.reviews_tab {
  border-bottom: none;
}

.single-product .woocommerce-tabs .active {
  background: #ffffff !important;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
  padding: 1.5em 1em 1em 1em !important;
  border-top: 1px solid #d3d3d3;
}
.single-product .woocommerce-tabs ul.tabs.wc-tabs li a {
  padding: 0.9em 0 !important;
}


.single-product #author,
.single-product #comment,
.single-product #email {
  padding: 15px;
  background: transparent;
  color: #484848;
  text-align: start;
  border: 1px solid #ddd;
  transition: border-color 0.1s ease-in-out;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.single-product #author,
.single-product #email {
  width: 100%;
}

.single-product #reply-title {
  font-weight: 500;
  font-size: 24px;
}

.single-product .description {
  font-weight: 500;
  font-size: 15px;
  color: #646464;
}

.wc-block-components-product-image .wc-block-components-product-sale-badge--align-right {
  left: auto;
  margin: 0;
  position: absolute;
  right: 0px;
  background: #000;
  top: 8px;
  color: #fff;
  font-weight: 500;
  padding: 0px 12px;
  font-size: 13px;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.products-block-post-template a {
  text-decoration: none;
}

.wc-booster-linked-product-btn-wrapper .wc-booster-linked-product-btn {
  width: 100%;
  display: inline-block;
  border: 1px solid #cdcdcd;
}

#tab-description {
  color: #646464;
}

#tab-description h2,
#tab-additional_information h2,
.woocommerce-Reviews-title {
  color: #000;
  margin-top: unset;
  font-size: 24px;
  font-weight: 600;
}

.woocommerce-tabs .specification-wrapper .specification-toggler {
  font-size: unset !important;
}

.wc-booster-linked-product-btn-wrapper .wc-booster-linked-product-btn {
  width: 100%;
  display: inline-block;
  border: 1px solid #cdcdcd;
}

.wc-booster-linked-product-inner-wrapper img.wc-booster-linked-product-card-image {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

.up-sells.products {
  display: none;
}

.wc-booster-linked-product-btn:hover {
  text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 600;
  font-size: 17px;
}


.wc-booster-pro-product-categories li a {
  padding: 4px;
}

#wc-booster-quick-view .product_meta {
  margin-bottom: 45px;
}

/*.wc-booster-quick-view {
    padding: 10px 20px !important;
}*/

.wc-booster-circular-focus .single_add_to_cart_button {
  width: 100% !important;
  margin-top: 10px;
  justify-content: center;
}

/* product page css */

.woocommerce.wc-block-catalog-sorting select.orderby {
  border: 1px solid #cdcdcd;
  font-family: "serif";
  font-size: 20px;
  padding: 8px !important;
  font-weight: 500;
  color: #343532;
  line-height: 30px;
}

.woocommerce-result-count {
  font-weight: 500;
  color: #343532;
}

.wc-block-grid .wc-block-grid__product-onsale,
.wc-block-grid__product-image .wc-block-grid__product-onsale,
.woocommerce span.onsale {
  background: #000 !important;
}

.discount-percent {
  display: none;
}

.wp-block-post.product {
  background: var(--wp--preset--color--transparent);
  padding: 0 0 20px;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  border: 1px solid #cdcdcd;
}

.wp-block-button.wc-block-components-product-button {
  width: 100%;
}

.add_to_cart_button span {
  font-size: 16px;
}

.wc-block-components-price-slider__controls .wc-block-components-price-slider__amount {
  font-weight: 500;
}

.product-description .price ins,
.wc-block-components-product-price__value.is-discounted,
.wc-block-components-formatted-money-amount,
.woocommerce-Price-amount bdi {
  font-weight: 500;
}

.product-content {
  position: relative;
}

.woocommerce a.added_to_cart {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0 !important;
}

.woocommerce a.added_to_cart:before {
  content: "\f217";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
}

.product_title.entry-title {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 4px;
}

.woocommerce div.product form.cart div.quantity {
  margin: 0 4px 10px 0;
}

.woocommerce-product-rating {
  margin-bottom: 0 !important;
}

div.quantity {
  border-radius: 30px !important;
}

/* checkout css */

.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  padding: 12px 34px;
  width: unset;
}

.wc-booster-wishlist-grid .add_to_cart_button {
  background-color: transparent !important;
  border-radius: 30px;
  color: #000 !important;
  border: 1px solid #cdcdcd;
}

.wc-booster-wishlist-grid .product-contents a {
  margin-bottom: 10px;
}

.wc-booster-wishlist-page .product-img img {
  border-radius: 2px;
}

/* single product page free variation css */

.single-product .variations tbody,
.single-product .variations tbody tr {
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.single-product .variations th {
  text-align: left;
}

.single-product .variations td select {
  height: unset !important;
  min-width: 26% !important;
  padding: 3px !important;
  font-family: var(--wp--preset--font-family--serif);
  font-size: 16px !important;
  font-weight: 400;
}

.single-product .variations tr,
.single-product .variations .woocommerce-variation.single_variation,
.woocommerce div.product .wc-block-add-to-cart-form form.cart .quantity {
  margin-bottom: 17px !important;
}

.quantity .input-text.qty.text {
  border: 0;
  background-color: #f4f5f4;
  border-radius: 30px;
  width: 100%;
  max-width: 100px;
  padding: 15px 25px;
}

.wc-booster-custom-qty-button-layout-vertical .quantity .input-text.qty.text {
  max-width: 49px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.wc-booster-custom-qty-button-layout-vertical div.quantity button {
  width: 70% !important;
}

.wc-booster-custom-qty-button-layout-vertical .plus.up {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding-top: 10px;
}

.wc-booster-custom-qty-button-layout-vertical .minus.down {
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  padding-bottom: 10px;
}

.wc-booster-custom-qty-button .quantity .input-text.qty.text {
  border-radius: 0;
  padding: 0;
  width: 25px;
}

.wp-block-categories-list {
  list-style-type: none;
  padding: 0px;
}

/*post date*/

.cat-item a::before,
.wc-block-product-categories-list-item a::before {
  content: "\f022";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  margin-right: 6px;
}

.taxonomy-post_tag a::before {
  content: "\f02c";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  font-size: 14px;
  margin-right: 6px;
}

.wp-block-post-date::before {
  content: "\f508";
  font-family: "Dashicons";
  font-weight: 600;
  padding-right: 5px;
  font-size: 14px;
}

.post-author-name.wp-block-post-author-name::before {
  content: "\f110";
  font-family: "Dashicons";
  font-weight: 600;
  padding-right: 5px;
  font-size: 14px;
}

.taxonomy-category.wp-block-post-terms::before {
  font-size: 14px;
  content: "\f022";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  margin-right: 6px;
}

/* wistlist page css */

.wc-booster-wishlist-page .add_to_cart_button {
  width: 100%;
  display: block;
  text-align: center;
}

.wc-booster-wishlist-grid.grid-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.wc-booster-wishlist-page .product-img img {
  width: 100%;
  max-width: unset;
  height: 320px;
  object-fit: cover;
}

.wc-booster-wishlist-page .wc-booster-product-block {
  margin: 0 !important;
}

.wc-booster-wishlist-grid.grid-layout .added_to_cart.wc-forward {
  top: 23rem;
}

@media (max-width: 1024px) {
  .wc-booster-wishlist-grid.grid-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 763px) {
  .wc-booster-wishlist-grid.grid-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 590px) {
  .wc-booster-wishlist-grid.grid-layout {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* mini-cart css */

.wc-block-mini-cart__products-table .wc-block-components-product-name {
  font-size: var(--wp--preset--font-size--medium);
}

.wc-block-mini-cart__products-table .wc-block-components-product-metadata__description p {
  font-size: var(--wp--preset--font-size--medium-small);
}

/* sidebar css */

.sidebar-search .wp-block-search__button {
  background: #fff;
  border-radius: 0;
}

.sidebar-search .wp-block-search__button svg {
  color: #111;
}

.sidebar-search .wp-block-search__inside-wrapper {
  padding: 0;
  border: 1px solid #cdcdcd !important;
  border-radius: 2px;
}

.sidebar-search .wp-block-search__input::placeholder {
  font-family: var(--wp--preset--font-family--serif);
}

.taxonomy-post_tag.wp-block-post-terms a {
  padding: 4px 10px;
  border: 1px solid #cdcdcd;
}

.taxonomy-post_tag.wp-block-post-terms a:hover {
  text-decoration: none;
}

ul.wc-booster-pro-carousel-product-category-lists {
  margin: 0;
}

.wp-block-categories-list li {
  padding: 0 0 10px;
}

/* Additional Css */

.wc-block-price-filter__amount {
  font-family: var(--wp--preset--font-family--serif);
}

.wc-block-components-validation-error p {
  font-size: 16px !important;
  font-weight: 500;
}

.wc-block-components-price-slider__range-input-progress {
  background: none;
}

.woocommerce-account .wp-block-post-title {
  display: none;
}

/*account page css*/

.woocommerce-MyAccount-navigation ul {
  padding: unset;
  list-style: none;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid #eceaea;
  padding: 14px 30px;
  display: block;
  font-weight: 600;
  color: #000;
  position: relative;
}

.woocommerce-MyAccount-navigation ul li:hover {
  background-color: #f2f2f2;
}

.woocommerce-MyAccount-navigation ul li a {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.woocommerce-MyAccount-navigation ul li a:after {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
}

.woocommerce-MyAccount-navigation ul .is-active {
  background-color: #f2f2f2;
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 66%;
}

.woocommerce-MyAccount-content {
  margin-top: 12px;
}

.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
  top: 9px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  padding: 10px;
  border: 1px solid #cdcdcd;
}

@media (max-width: 769px) {
  .woocommerce-MyAccount-content {
    margin-top: 60px;
  }

  .woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
  }

  .woocommerce-account .woocommerce form.login {
    width: 100% !important;
  }
}

.woocommerce-account a.woocommerce-button.wp-element-button.button.view,
.woocommerce-account tbody td {
  font-size: 16px;
}

.woocommerce-account thead span {
  font-size: 18px;
}

.woocommerce-account .woocommerce-Address-title.title h3 {
  margin-top: 15px;
}

.woocommerce-account .woocommerce-Address-title.title a {
  margin-top: 30px;
}

.woocommerce-account .woocommerce-Address address {
  background: #f2f2f2;
  padding: 20px;
}

.woocommerce table.my_account_orders td,
.woocommerce table.my_account_orders th {
  padding: 23px 30px;
}

.woocommerce-account .download-file a {
  padding: 0 !important;
}

.woocommerce-account .woocommerce table.shop_table th,
.woocommerce-account .woocommerce table.shop_table td {
  padding: 23px 30px;
}

.woocommerce-account .woocommerce table.shop_table {
  border-radius: 0px;
}

.woocommerce-account .woocommerce form .form-row {
  margin: 0 0 15px;
}

.woocommerce-account .woocommerce form.login {
  border-radius: 0;
  width: 50%;
}

.woocommerce-account .woocommerce h2 {
  margin-top: 0;
}

.comment-form {
  padding-top: 8px;
}

.taxonomy-category a,
.wp-block-post-title a,
.wp-block-post-excerpt__more-link,
.wp-block-categories-list li a,
.wp-block-post-navigation-link a,
.post-author-name a,
.wc-block-components-product-name,
.taxonomy-product_cat a,
.woocommerce-breadcrumb a,
.product-contents a,
.wp-block-comment-author-name a,
.wp-block-comment-date a,
.comment-reply-link,
.woocommerce a.added_to_cart,
.slide-out-content-wrapper .posted_in a,
.wp-block-query-pagination a {
  text-decoration: none;
}

.taxonomy-category a:hover,
.wp-block-post-title a:hover,
.wp-block-post-excerpt__more-link:hover,
.wp-block-categories-list li a:hover,
.wp-block-post-navigation-link a:hover,
.post-author-name a:hover,
.wc-block-components-product-name:hover,
.woocommerce-breadcrumb a:hover,
.product-contents a:hover,
.wp-block-comment-author-name a:hover,
.wp-block-comment-date a:hover,
.comment-reply-link:hover,
.slide-out-content-wrapper .posted_in:hover a {
  text-decoration: underline;
}


.single-product .taxonomy-product_cat {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.single-product .taxonomy-product_cat span {
  display: none;
}

.single-product .taxonomy-product_cat a {
  position: relative;
  padding: 8px 14px;
  border: 1px solid #646464;
  border-radius: 30px;
  color: #646464;
  display: flex;
  align-items: center;
}

.single-product .taxonomy-product_cat a:before {
  content: "\f290";
  font-family: "Font Awesome 5 Free";
  font-size: 14px;
  font-weight: 600;
  padding-right: 5px;
}

.wc-booster-carousel-product-wrapper img {
  width: 100%;
  height: 422px;
  object-fit: cover;
}

.woocommerce #reviews #comments ol.commentlist {
  width: unset;
  max-width: 100%;
}

ul.wc-booster-usps {
  margin: 0 -10px 10px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.woocommerce .summary.entry-summary .quantity .qty,
#mini-cart-slide .quantity .qty {
  width: 100% !important;
}

.wp-block-button a,
.wp-block-woocommerce-mini-cart-cart-button-block {
  transition: all 0.3s;
}

.wp-block-button a:hover,
.wp-block-woocommerce-mini-cart-cart-button-block:hover,
.wp-element-button:hover,
.wc-booster-slider-arrow:hover,
.wc-booster-pro-slider-arrow:hover,
.wc-booster-linked-product-btn:hover {
  background-color: var(--wp--preset--color--button-hover-bg) !important;
  color: var(--wp--preset--color--button-hover-text) !important;
  border-color: var(--wp--preset--color--button-hover-bg) !important;
}

a:where(:not(.wp-element-button)):hover,
#wc-booster-category-collage-block-c9769463-5c2c-4bac-b5cc-528ceac717d2 .wc-booster-category-collage-cat-title a:hover,
#wc-booster-carousel-product-block-e364eb3e-e0e0-4eea-b875-d621388887b5 .wc-booster-carousel-product-post-title a:hover,
.wp-block-button .added_to_cart:hover,
.page-numbers.current {
  color: var(--wp--preset--color--secondary) !important;
}
.wp-block-site-title a:hover,
.wp-block-navigation-item__content:hover span,
.wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--theme) !important;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--wp--preset--color--secondary) !important;
}

.slick-dots li.slick-active button,
button.product-remove-btn,
.wc-booster-slider-arrow,
.wc-booster-pro-slider-arrow,
.wc-booster-pro-search-form .select2-container .select2-selection--multiple:after {
  background-color: var(--wp--preset--color--primary) !important;
}


.wc-booster-product-review-wrapper .wc-booster-prev-arrow {
  left: -15px;
}

.wc-booster-product-review-wrapper .wc-booster-slider-arrow {
  border-radius: 0;
}

.wc-block-product-template__responsive {
  grid-row-gap: 2.6em;
}

.wp-block-button .added_to_cart:hover {
  background-color: unset !important;
}

.wc-booster-wishlist-page {
  margin: 0 0 40px 0;
  padding: 0;
}

.wc-booster-carousel-product-wrapper {
  margin: 0 -15px;
}

.wp-block-post-title {
  font-size: var(--wp--preset--font-size--large);
}


.wc-block-components-order-summary-item .wc-block-components-product-metadata__description {
  display: none;
}



/* Craftify css */

.craftify-our-products a,
.craftify-best-selling a,
.craftify-deal a,
.craftify-trending-products a,
.craftify-featured-products a {
  text-decoration: none;
  text-underline-offset: 4px;
}

.craftify-our-products a:hover,
.craftify-best-selling a:hover,
.craftify-deal a:hover,
.craftify-trending-products a:hover,
.craftify-featured-products a:hover,
.wc-booster-carousel-product-wrapper .wc-booster-carousel-product-card-wrapper .wc-booster-carousel-product-post-title a:hover,
ul.wc-booster-pro-carousel-product-category-lists li.active,
ul.wc-booster-pro-carousel-product-category-lists li:hover {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.footer-image {
  margin: 0 !important;
}

.header-one {
  position: absolute;
  top: 0;
  z-index: 999;
  width: 100%;
}

.admin-bar .header-one {
  top: 30px;
}

.craftify-our-products>.wp-block-group p:nth-child(1) a {
  text-decoration: underline;
}

.craftify-our-products>.wp-block-group a:hover {
  color: var(--wp--preset--color--primary) !important;
}

.craftify-deal-price p:not(:first-child) {
  text-decoration: line-through;
}

@media (max-width: 967px) {

  .craftify-banner .wp-block-columns>.wp-block-column:nth-child(1),
  .site-header .wp-block-columns>.wp-block-column:nth-child(1) {
    flex-basis: 15% !important;
  }

  .craftify-banner .wp-block-columns>.wp-block-column:nth-child(2),
  .site-header .wp-block-columns>.wp-block-column:nth-child(2) {
    flex-basis: 50% !important;
  }

  .craftify-banner .wp-block-columns>.wp-block-column:nth-child(3),
  .site-header .wp-block-columns>.wp-block-column:nth-child(3) {
    flex-basis: 35% !important;
  }
}



.wc-block-components-product-image .wc-block-components-product-sale-badge--align-right {
  right: 2px;
  border-radius: 50px;
  padding: 1px 5px;
  text-transform: capitalize;
}

.woocommerce #review_form #respond p {
  margin: 4px 0 10px;
}
.woocommerce #review_form #respond p.form-submit {
  margin-top: 20px;
}

.wc-booster-carousel-product-init {
  margin: 0 -15px;
}

.wc-booster-carousel-product-wrapper .wc-booster-carousel-product-card-wrapper .wc-booster-carousel-product-card-image {
  height: 320px;
}

.wc-booster-carousel-product-wrapper .wc-booster-carousel-product-card-wrapper .wc-booster-carousel-product-body-inner {
  text-align: left;
}

.wc-booster-carousel-product-rating .star-rating {
  margin: 0 0 10px;
}


.wc-booster-pro-carousel-category-title {
  color: var(--wp--preset--color--contrast) !important;
}
ul.wc-booster-pro-carousel-product-category-lists {
  text-align: center;
}
ul.wc-booster-pro-carousel-product-category-lists li {
  font-size: 20px !important;
  margin: 0 30px 5px 0;
}
ul.wc-booster-pro-carousel-product-category-lists li.active,
ul.wc-booster-pro-carousel-product-category-lists li:hover {
  color: var(--wp--preset--color--primary) !important;
}
.wc-booster-pro-carousel-product-category-wrapper .wc-booster-pro-carousel-product-category-card-wrapper .wc-booster-pro-carousel-product-category-body-inner {
  text-align: left;
  background-color: var(--wp--preset--color--primary) !important;
  border-radius: 12px;
  padding: 20px 25px 25px;
}
.wc-booster-pro-product-toggler-wrapper .wc-booster-pro-product-toggler-card-wrapper .wc-booster-pro-product-toggler-body-inner {
  padding: 0;
}
.wc-booster-pro-product-toggler-wrapper .wc-booster-pro-product-toggler-card-wrapper .wc-booster-pro-product-toggler-price {
  margin: 0 0 15px;
}
.wc-booster-pro-product-toggled-card-image {
  height: 290px !important;
  object-fit: cover;
  border-radius: 12px;
  width: 100% !important;
}
.craftify-pro-featured-product .wc-booster-carousel-product-wrapper,
.craftify-pro-featured-product .wc-booster-carousel-product-init {
  margin: 0;
}
.craftify-pro-featured-product .wc-booster-carousel-product-wrapper .wc-booster-carousel-product-card-wrapper .wc-booster-carousel-product-card-image {
  height: 250px;
}

.craftify-pro-trending-product .wp-block-post-featured-image {
  margin: 0;
}
.craftify-pro-trending-product .wp-block-post-template li.type-product {
  display: flex;
  align-items: center;
  gap: 25px;
}
.craftify-pro-trending-product .wp-block-post-template li.type-product img {
  height: 110px;
  width: 140px;
  border-radius: 12px;
}
.craftify-pro-trending-product .wp-block-woocommerce-product-price,
.craftify-pro-deal .wp-block-woocommerce-product-price {
  margin: 0;
}
.craftify-pro-deal ul.wp-block-post-template {
  display: flex;
  gap: 30px;
}
.craftify-pro-deal .wp-block-post.product {
  padding: 0;
  margin: 0;
}
.craftify-pro-deal .wp-block-post-featured-image {
  height: 100%;
  aspect-ratio: unset !important;
}

@media (max-width: 781px) {
  .craftify-pro-deal ul.wp-block-post-template {
    flex-direction: column;
  }
}

.wc-booster-wishlist-button-wrapper .wc-booster-wishlist-button i {
  padding: 7px 8px 7px 8px;
    border-radius: 0 !important;
}
.wc-booster-wishlist-button-wrapper .wc-booster-wishlist-button {
  padding: 0px !important;
}
.wc-booster-pro-product-toggler-wrapper .wc-booster-quick-view,
.wc-booster-pro-product-toggler-wrapper .wc-booster-wishlist-button-wrapper,
.wc-booster-carousel-product-card-wrapper .wc-booster-quick-view,
.wc-booster-carousel-product-card-wrapper .wc-booster-wishlist-button-wrapper {
  visibility: hidden;
  opacity: 0;
  transition: all ease-in-out 0.4s;
}
.wc-booster-pro-product-toggler-wrapper:hover .wc-booster-quick-view,
.wc-booster-pro-product-toggler-wrapper:hover .wc-booster-wishlist-button-wrapper,
.wc-booster-carousel-product-card-wrapper:hover .wc-booster-quick-view,
.wc-booster-carousel-product-card-wrapper:hover .wc-booster-wishlist-button-wrapper {
  visibility: visible;
  opacity: 1;
  transition: all ease-in-out 0.4s;
}

.wc-block-product-gallery-large-image__image-element,
.wc-block-product-gallery-large-image .wc-block-product-gallery-large-image__container,
.wc-block-product-gallery-large-image__image-element img,
.wc-block-product-gallery-large-image .wc-block-product-gallery-large-image__wrapper {
  width: 100% !important;
  height: 100%;
}
.wc-block-product-gallery-large-image .wc-block-product-gallery-large-image__wrapper {
  aspect-ratio: unset;
} 
.wc-block-mini-cart__badge {
  color: var(--wp--preset--color--secondary);
}
.wc-booster-product-companion {
  gap: 10px !important;
}

.wc-booster-swatches-wrapper .wc-booster-color-swatch ul.wc-booster-swatches-selector li .wc-booster-swatch-label,
.wc-booster-swatches-wrapper .wc-booster-toogle-group-swatch ul.wc-booster-swatches-selector li .wc-booster-toggle-size-label {
  top: -42px !important;
}
.wc-booster-swatches-wrapper .wc-booster-color-swatch ul.wc-booster-swatches-selector li .wc-booster-swatch-label:after,
.wc-booster-swatches-wrapper .wc-booster-toogle-group-swatch ul.wc-booster-swatches-selector li .wc-booster-toggle-size-label:after {
  top: 29px !important;
}

/* quickview loading css */

.wc-booster-quick-view {
    gap: 0 !important;
    line-height: 0 !important;
}

.wc-booster-quick-view.loading i {
    display: none;
}

.wc-booster-quick-view.loading {
    padding-right: 8px !important;
}

.wc-booster-quick-view.loading:after {
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
}
.wc-booster-wishlist-button-wrapper .wc-booster-wishlist-button .wishlist-text, .wc-booster-wishlist-button-wrapper .wc-booster-wishlist-button .wishlist-text-left {
    top: 6px !important;
}

.wc-booster-quick-view .quick-view-text, .wc-booster-quick-view .quick-view-text-left {
    top: 16px !important;
}

/* product companion hover css */


li .wc-booster-product-companion {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

li:hover .wc-booster-product-companion {
  visibility: visible;
  opacity: 1;
}

/* product companion hover text css */

.wc-booster-product-companion .wc-booster-quick-view .quick-view-text, .wc-booster-quick-view .quick-view-text-left {
    top: 7px !important;
}

.wc-booster-product-companion .wc-booster-wishlist-button-wrapper .wc-booster-wishlist-button .wishlist-text, .wc-booster-wishlist-button-wrapper .wc-booster-wishlist-button .wishlist-text-left {
    top: -2px !important;
}
/* Marcus 20250116 */

/* media */
body.page-id-344 .elementor-post__custom_flex{
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

body.page-id-344 .elementor-post__category,
body.page-id-344 .elementor-post__media{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

body.page-id-344 .elementor-post__category{
    background: var(--light-green-color) !important;
    color: #000 !important;
    font-weight: 600 !important;
    padding: 5px 35px !important;
    letter-spacing: 2px !important;
}

body.page-id-344 .elementor-post__meta-data{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    border:none !important;
    padding: 0 !important;
    font-size: 16px !important;
    margin-top: 0 !important;
    color: #000 !important;
}

body.page-id-344 .elementor-post__media{
    font-size: 18px !important;
    font-weight: 600 !important;
    font-weight: 500 !important;
    margin-bottom: 5px !important;
}

body.page-id-344 .elementor-post__title a{
    color: #000 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

body.page-id-344 .elementor-post__title:hover a{
    color: var(--gray-color) !important;
}

body.page-id-344 .elementor-post__read-more{
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

body.page-id-344 .elementor-post__card:hover{
    /* transform: scale(1.2) translateX(9%) translateY(9%); */
}

/* activities */
body.page-id-346 .elementor-post__custom_flex{
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

body.page-id-346 .elementor-post__thumbnail__link{
    margin-bottom: 0 !important;
}

body.page-id-346 .elementor-post__category,
body.page-id-346 .elementor-post__media{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

body.page-id-346 .elementor-post__category{
    background: var(--light-blue-color);
    color: #FFF !important;
    font-weight: 600 !important;
    padding: 5px 35px !important;
    letter-spacing: 2px !important;
}

body.page-id-346 .elementor-post__meta-data{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    border:none !important;
    padding: 0 !important;
    font-size: 16px !important;
    margin-top: 0 !important;
    color: #000 !important;
}

body.page-id-346 .elementor-post__title a{
    color: #000 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

body.page-id-346 .elementor-post__title:hover a{
    color: var(--gray-color) !important;
}

body.page-id-346 .elementor-post__read-more{
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

body.page-id-346 .elementor-post__card:hover{
    /* transform: scale(1.2) translateX(9%) translateY(9%); */
}

body.page-id-1853 .elementor-pagination .page-numbers.current,
body.page-id-1853 .elementor-pagination a:hover,
body.page-id-1853 .elementor-pagination span:hover,
body.page-id-344 .elementor-pagination .page-numbers.current,
body.page-id-344 .elementor-pagination a:hover,
body.page-id-344 .elementor-pagination span:hover,
body.page-id-346 .elementor-pagination .page-numbers.current,
body.page-id-346 .elementor-pagination a:hover,
body.page-id-346 .elementor-pagination span:hover{
	text-decoration: none !important;
	border-bottom: none !important;
}

body.page-id-1853 .elementor-pagination .prev::before, 
body.page-id-344 .elementor-pagination .prev::before, 
body.page-id-346 .elementor-pagination .prev::before {
    content: "";
    background: url(https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/prev.png) 0 0 / cover;
    display: inline-block;
    height: 25px;
    width: 20px;
}

body.page-id-1853 .elementor-pagination .next::before, 
body.page-id-344 .elementor-pagination .next::before, 
body.page-id-346 .elementor-pagination .next::before {
    content: "";
    background: url(https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/next.png) 0 0 / cover;
    display: inline-block;
    height: 25px;
    width: 20px;
	margin-left: 10px;
}

body.page-id-1853 .post-list-container,
body.page-id-344 .post-list-container,
body.page-id-346 .post-list-container{
	width: 100%;
	max-width: 100%;
	padding: 50px 50px;
}

body.page-id-1853 .e-con.e-flex>.e-con-inner,
body.page-id-344 .e-con.e-flex>.e-con-inner,
body.page-id-346 .e-con.e-flex>.e-con-inner{
    flex-wrap: nowrap;
}

@media screen and (min-width: 769px) and (max-width: 1024px) { 
	body.page-id-344 .post-list-container,
	body.page-id-346 .post-list-container{
		padding: 50px 11%;
	}
}

@media screen and (max-width: 768px) {
	body.page-id-344 .post-list-container,
	body.page-id-346 .post-list-container{
		padding: 50px 9%;
	}
}


/* Marcus 20250110 */

.desktop-nav-gp{
	width: 100%;
	flex-grow: 1;
}
.desktop-nav-gp a{
	white-space: nowrap;
}
/* home */
#about strong {
	white-space: nowrap;
}
#about .custom-title{
/* 	background: center right / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/bg.png"); */
	width: 100%;
	position: relative; 
}
#about .group-arrow-dialog {
	display: flex;
    width: 50%;
    height: 200px;
    position: relative;
    margin: 0px !important;
    place-self: center;
}
body.home #about .arrow{
	background: bottom 50% right / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/download.png");
	margin: 0px !important;
	position: absolute;
	bottom: 40%;
	right: 45%;
	width: 40%;
	height:150px;
	z-index: 3;
}
body.home #about .dialog{
	background: bottom right / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/Group-10.png");
	margin: 0px !important;
	position: absolute;
	bottom: 30%;
	right: calc(45% - 130px);
	width: 40%;
	height: 150px;
	z-index: 2;
}
#about .custom-cover img,
#about .custom-image img{
	object-fit: contain;
}
@media only screen and (max-width: 1024px) {
	#about{
		max-width: 80% !important;
		margin: auto;
	}
	#about .custom-title{
		padding-right: 0 !important;
	}
	#about .custom-title p{
		white-space: nowrap !important;
		height: 200px;
		width: 100%;
		text-align: center;
	}
	#about .wp-container-core-group-is-layout-19{
		padding-right: 0 !important;
	}
	#about > div {
		flex-direction: column;
	}
	#about .homepage-paragraph{
		padding-left: 35px;
		padding-right: 35px;
		align-items: center;
	}
	#about .arrow{
		right: 40%;
	}
	#about .dialog{
		right: 20%;
	}
	
	#about .footer-navigation {
		display: none;
	}
}
/* Marcus 20250121 */
/* home */
body.home #tablet-about .custom-title{
	width: 100%;
	padding-bottom: 60px;
	position: relative;
	height:150px;
}
body.home #tablet-about .arrow{
	background: bottom 65% center / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/download.png");
	top:0;
	right: 46%;
	position:absolute;
	width: 25%;
	height:150px;
	z-index: 3;
}
body.home #tablet-about .dialog{
	background: center center / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/Group-10.png");
	top:0;
	right: 28%;
	position:absolute;
	width: 30%;
	height:150px;
	z-index: 2;
}

body.home #mobile-about > div > p{
	height: 250px;
}
body.home #mobile-about .custom-title{
	width: 100%;
	position: relative;
	height: 0;
	top: -150px;
}
body.home #mobile-about .arrow{
	background: top 15% right / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/download.png");
	top:0;
	right: 100px;
	position:absolute;
	width: 35%;
	height:150px;
	z-index: 3;
}
body.home #mobile-about .dialog{
	background: top right / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/Group-10.png");
	top:0;
	right: 0;
	position:absolute;
	width: 100%;
	height:150px;
	z-index: -1;
}


/* David 20250113 */

@media screen and (min-width: 769px) and (max-width: 1024px) { 
	body.home .wp-block-navigation__container{
		display:none;
	}
}

@media screen and (max-width: 768px) {
	body.home .wp-block-navigation__container{
		display:none;
	}
	body.home #JoinUs {
		display:none;
	}
	body.home #mobile-JoinUs {
		display:flex;
	}
	.footer-navigation {
		display:none;
	}
}

.elementor-331, .elementor-352, .elementor-3615 {
	max-width: 100%;
	max-height: 100%;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-bottom: 0 !important;
}
body.page-id-352 #wp--skip-link--target {
	padding-bottom: 0 !important;
}

body.page-id-3615 #wp--skip-link--target {
	padding-bottom: 0 !important;
}

.tsvg-wrapper-bgc{
	opacity:0;
}


body.page-id-348 .tsvg-media-iframe-container {
	width: 1200px !important;
}

body.page-id-348 .tsvg-grid-layout-item {
	background-color: white;
	box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.4);
} /* Give the blocks shadows and white color bg */

body.page-id-348 main p {
	margin-top: 0px !important;
/* 	margin-bottom: 20px !important; */
}

body.page-id-348 .wp-block-post-title {
	display:none;
}

body.page-id-348 .wp-container-core-group-is-layout-15{
	max-width: 100%;
	padding-left: 10vw;
	padding-right: 10vw;
}


/* Marcus 20250115 */
/* video */
body.page-id-348 .elementor-shortcode:has(section[style*="display:none"]) {
    position: relative;
	min-height: 300px;
}
body.page-id-348 .elementor-shortcode:has(section[style*="display:none"]):before,
body.page-id-348 .elementor-shortcode:has(section[style*="display:none"]):after{
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 5% 50%;
    border-radius: 50%;
    border: 5px solid var(--light-green-color);;
    animation: prixClipFix 2s linear infinite;
    z-index:1;
}
body.page-id-348 .elementor-shortcode:has(section[style*="display:none"]):before{
    height: 48px;
    width: 48px;
    transform: translateX(-4px) translateY(-4px);
}
body.page-id-348 .elementor-shortcode:has(section[style*="display:none"]):after{
    height: 40px;
    width: 40px;
    /* transform: translateX(-100%) translateY(0%); */
    border-color: var(--light-blue-color);;
    animation: prixClipFix 2s linear infinite , rotate 0.5s linear infinite reverse;
}

@keyframes rotate {
    0%   {transform: rotate(0deg)}
     100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}

/* David 20250115*/
body.single-post #Rubbish_Bin {display:none;}

body.single-post .taxonomy-category.wp-block-post-terms::before {content:none !important;}

body.single-post .wp-block-post-date::before {content:none !important;}

body.single-post .post_categories a {
padding-top: 14px;
padding-bottom: 14px;
padding-left: 30px;
padding-right: 30px;
    background-color: #4AADE8;
    color: white !important;
    text-decoration: none;}

body.single-post .wp-block-separator.has-background:not(.is-style-dots) {height:1px!important;
}

body.single-post .post_categories_bottom a[rel="tag"]::before {
    content: "回";
}
body.single-post .post_categories_bottom a[rel="tag"]::after {
    content: "列表";
}

body.custom_class_category_24  .post_categories a {
padding-top: 14px;
padding-bottom: 14px;
padding-left: 30px;
padding-right: 30px;
    background-color: #4AADE8;
    color: white !important;
    text-decoration: none;}

body.custom_class_category_25  .post_categories a {
padding-top: 14px;
padding-bottom: 14px;
padding-left: 30px;
padding-right: 30px;
    background-color: #BEFF5C;
    color: black !important;
    text-decoration: none;}

/* David 20250116 */
body.home .home_page_bottom_banner .wp-block-button a:hover { 
background-color: white!important;
    color: black !important;
    border-color: white !important;
}

body.home #about .wp-block-button a:hover { 
background-color: black!important;
    color: white !important;
    border-color: white !important;
}

body.page-id-352 .mobile-login, .tablet-login {display: none;}

body.page-id-3615 .mobile-login, .tablet-login {display: none;}

body.page-id-354 #footer-main {display: none;}

@media screen and (max-width: 768px) {
	body.page-id-352 .desktop-login {
		display: none; 
	}
	body.page-id-352 .mobile-login {
		display: flex
	}
	
	body.page-id-3615 .desktop-login {
		display: none; 
	}
	body.page-id-3615 .mobile-login {
		display: flex
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) { 
	body.page-id-352 .desktop-login {
		display: none;
	}
	body.page-id-352 .tablet-login {
		display: flex;
	}
	
	body.page-id-3615 .desktop-login {
		display: none;
	}
	body.page-id-3615 .tablet-login {
		display: flex;
	}
}

@media screen and (max-width: 1024px) { 
	body.single-post .Sidebar {display: none;}
}

/* David 20250121 */
#tablet-sidebar {
	position: fixed; 
	top: 30vh;       
	right: -15px;     
	background-color: #BEFF5C;
  	padding: 10px 20px;
	border-radius: 15px;
	z-index: 1000; 
}

#mobile-sidebar {
	position: fixed; 
	bottom: -15px;      
	width:100%;
	max-width:100%;   
 	background-color: #BEFF5C;
	border-radius: 15px;
	z-index: 1000; 
}

#tablet-sidebar, #mobile-sidebar {display:none;}
@media screen and (max-width: 768px) {#mobile-sidebar{display: flex }}
@media screen and (min-width: 769px) and (max-width: 1024px) {#tablet-sidebar{display: flex}}

@media screen and (max-width: 768px) {
	body.page-id-354 #desktop-contact-us-main {
		display: none; 
	}
	body.page-id-354 #mobile-contact-us-main {
		display: flex !important
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) { 
	body.page-id-354 #desktop-contact-us-main {
		display: none;
	}
	body.page-id-354 #tablet-contact-us-main {
		display: flex !important
	}
}

body.page-id-354 #tablet-contact-us-main, #mobile-contact-us-main {
    display: none;
}

/* David 20250122 */
.tsvg-media-video-container {
	width: 800px !important;
	display: none !important;
}

li[class*="tsvg-grid-slide-current-"] {
	display:flex !important;
}


/* Nathan 20250113 */
/* login */

.login{
	border: none;
}
.group_c{
	padding: 40px;
	border-radius: 35px;
	background-color: rgba(255,255,255,0.3)!important;
}
.user-registration{
	background-color: rgba(255,255,255,0)!important;
}
#wp--skip-link--target {
    padding: unset !important;
}
body.page-id-1370 .wp-block-post-title{
	display:none;
}
body.page-id-1370 .wp-block-cover.is-light {
    max-height: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: unset;
	background-size:cover;
}
/* post sidebar */
body.single-post .category-24 .wp-block-post-terms {
    background-color: #4AADE8 !important;
}
body.single-post .category-24 .wp-block-post-terms a {
    color: white;
}
body.single-post .category-25 .wp-block-post-terms {
    background-color: #BEFF5C;
}
ody.single-post .wp-block-separator.has-background:not(.is-style-dots) {
    height: 1px !important;
}
/* About Us*/
@media screen and (min-width: 769px) and (max-width:1024px){
	div#about {
		display: none;
	}
    div#desktop-about{
        display:none;
}
    div#mobile-about {
        display: none;
}
    div#tablet-about {
        display: flex;
}
}
@media screen and (max-width:768px){
	div#about {
		display: none;
	}
    div#desktop-about{
        display:none;
}
    div#mobile-about {
        display: flex !important;
}
    div#tablet-about {
        display: none;
}
}
#tablet-about, #mobile-about{display:none;}

/* footer */
#footer-mobile, #footer-tablet{display:none ;}
@media screen and (min-width: 769px) and (max-width:1024px){
	#footer-pc{
        display:none ;
}
    #footer-mobile {
        display: none ;
}
    #footer-tablet {
        display: flex ;
}
	.site-footer .wpforms-container-full#wpforms-105 {
		width: 60%;
	}
}
@media screen and (max-width:768px){

    #footer-pc {
        display:none ;
}
    #footer-mobile {
        display: flex ;
}
    #footer-tablet {
        display: none ;
}
	.site-footer .wpforms-container-full#wpforms-105{
		width: 100%;
	}

	#wpforms-105-field_4-container, #wpforms-105-field_5-container, #wpforms-105-field_6-container, #wpforms-105-field_7-container{
grid-template-columns: 50px auto;
}

    button#wpforms-submit-105 {
        width: calc(100% - 50px);
    }
p.has-text-align-left.has-medium-small-font-size {
    margin-top: 70px;
    margin-bottom: 30px;
}
div#footer-main {
    background-size: 100% !important;
}
form#wpforms-form-105 {
    margin-top: 15vw;
}
    #wpforms-105-field_4, #wpforms-105-field_5, #wpforms-105-field_6, #wpforms-105-field_7 {
        border: none;
    }

   
}

.adjust-width{width: 100vw;}

/* 總會架構 */
@media screen and (max-width:768px){
#e-n-tab-content-800015672, #e-n-tab-content-800015671 {
    display: flex;
}
.elementor-element-a38a983, .elementor-element-ce7f405, .elementor-element-5b0bcd0, .elementor-element-2b3bbb4, .elementor-element-3ce25ce, .elementor-element-b4c975a, .elementor-element-1119a26, .elementor-element-b2fbff7, .elementor-element-2bddc87, .elementor-element-228abcb, .elementor-element-f1654ff {
    width: 47%;
}
.elementor-341 .elementor-element.elementor-element-4699aed {
        --e-con-grid-template-columns: repeat(3, 1fr);
}
.elementor-element.elementor-element-203fc17.e-grid.e-con-full.e-con.e-child {
    display: flex;
    flex-direction: column;
}
.elementor-341 .elementor-element.elementor-element-a55dea1 {
        --e-con-grid-template-columns: repeat(3, 1fr);
        --grid-auto-flow: row;
    }
#e-n-tab-title-800015671, #e-n-tab-title-800015672{
	pointer-events: none;
    cursor: default;
	background-color: white;
    color: black;
}
.elementor-heading-title {
    text-align: center;
}
.elementor-element.elementor-element-e45f0ed.e-grid.e-con-full.e-con.e-child {
    --e-con-grid-template-columns: repeat(2, 1fr);
    --grid-auto-flow: row;
}
span.e-n-tab-title-text {
    font-size: xx-large !important;
}
.elementor-element-982320a .elementor-widget-text-editor p {
    margin: 0;
}
.elementor-341 .elementor-element.elementor-element-40a2277 {
        --e-con-grid-template-rows: repeat(2, 1fr);
    }
.elementor-element.elementor-element-c1b8b85.e-grid.e-con-full.e-con.e-child {
    padding-left: 30px;
}
	
.elementor-element.elementor-element-960f8d5.e-grid.e-con-full.e-con.e-child, .elementor-element.elementor-element-cef9119.e-grid.e-con-full.e-con.e-child{
	--e-con-grid-template-columns: repeat(1, 1fr);
	--grid-auto-flow: row;
}	
	
.elementor-element.elementor-element-4699aed.e-con-full.e-grid.e-con.e-child, .elementor-element.elementor-element-a55dea1.e-con-full.e-grid.e-con.e-child, .elementor-element.elementor-element-982320a.e-grid.e-con-full.e-con.e-child, .elementor-element.elementor-element-960f8d5.e-grid.e-con-full.e-con.e-child, .elementor-element.elementor-element-cef9119.e-grid.e-con-full.e-con.e-child {
    text-align: center;
}
}

body main{
	min-height: calc(100vh - 510px);
}
body.page-id-354 main{
	min-height: calc(100vh - 156px);
}

html, body, .wp-site-blocks{
	width:100% !important;
	max-width:100% !important;
	overflow-x: hidden !important;
}

/* mobile header */
#mobile-sidebar {
    -webkit-transform: translateY(60px);
	transform: translateY(60px);
	transition: all 0.3s ease-in;
}
#mobile-sidebar .arrow {
    transition: all 0.3s ease-in;
}
#mobile-sidebar.clicked-open {
    -webkit-transform: translateY(0px);
	transform: translateY(0px);
}
#mobile-sidebar.clicked-open .arrow {
    -webkit-transform: scale(-1) translatey(-20%);
    transform: scale(-1) translatey(-20%);
}

/* donation list */
body.page-id-1853 .donation-card,
body.page-id-350 .donation-card {
    padding: 10px 30px !important;
}
body.page-id-1853 .donation-card .elementor-cta__content,
body.page-id-350 .donation-card .elementor-cta__content {
    padding: 10px !important;
}
body.page-id-1853 .donation-card h4,
body.page-id-350 .donation-card h4 {
    font-size: 14px !important;
    font-weight: normal !important;
    margin-bottom: 10px !important;
}
body.page-id-1853 .donation-card .elementor-cta__description,
body.page-id-350 .donation-card .elementor-cta__description{
    font-size: 14px !important;
    font-weight: 600 !important;
}
body.page-id-1853 .donation-card .elementor-cta__button,
body.page-id-350 .donation-card .elementor-cta__button{
    padding: 8px 30% !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
}
body.page-id-1853 .donation-card .elementor-cta__button:hover,
body.page-id-350 .donation-card .elementor-cta__button:hover{
    background-color: var(--light-blue-color) !important;
    border-color: var(--light-blue-color) !important;
    color: #FFF !important;
}

/* single doncation */
body.single-product ul.wc-tabs {
    display: none !important;
}
body.single-product  .woocommerce-tabs  .woocommerce-Tabs-panel{
    padding: 1.5em 0 1em 0 !important;
}

body.single-product .woocommerce-Tabs-panel h2{
    display: none !important;
}
body.single-product .woocommerce-Tabs-panel p{
    font-size: var(--wp--preset--font-size--small);
    color: #111;
    font-weight:500;
    letter-spacing: 1px;
    text-align:justify;
    margin: 0 !important;
}
body.single-product .woocommerce-tabs .panel{
    margin-bottom: 0 !important;
    border-top: 3px solid #d3d3d3;
}
body.single-product .wc-donation-amount {
    display: none !important;
}
body.single-product form.cart{
    display: flex !important;
    justify-content: center;
}
body.single-product.product_cat-31 .single_add_to_cart_button{
    width: 50%;
    color: transparent !important;
	border-radius: 0 !important;
	background: center / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/捐款0.png") !important;
}
body.single-product.product_cat-31 .single_add_to_cart_button:hover{
    color: transparent !important;
	border-radius: 0 !important;
    background: center / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/捐款1.png") !important;
}
body.single-product.product_cat-18 .single_add_to_cart_button{
    width: 50%;
    color: transparent !important;
	border-radius: 0 !important;
	background: center / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/報名0.png") !important;
}
body.single-product.product_cat-18 .single_add_to_cart_button:hover{
    color: transparent !important;
	border-radius: 0 !important;
    background: center / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/報名1.png") !important;
}
body.single-product  .wp-block-post-date{
    text-align: center !important;
}
body.single-product  .wp-block-post-date:before{
    display:none !important;
}

.woocommerce table.shop_table{
	border: none !important;
}

.woocommerce-cart-form__cart-item input[type="number"]{
	padding: 10px !important;
}
.woocommerce a.remove,
.woocommerce a.remove:hover{
	color: transparent !important;
	position: relative;
	background: none !important;
}
.woocommerce a.remove:after {
    content: url(https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/刪除.svg);
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pdt_cat {
    background: var(--light-blue-color);
    width: max-content;
    padding: 0 10px;
	border: 1px solid var(--light-blue-color);
    border-radius: 3px;
	margin-bottom: 10px;
}
.pdt_cat a {
    color: #FFF;
	font-weight: bold;
    font-size: 14px;
}

.cart_totals h2,
.cart_totals .shop_table{
	display: none !important;
}

.checkout-button{
	width: fit-content;
	margin: 0 1rem 0 auto;
}

.checkout-button,
button[name="update_cart"],
.return-to-shop .wc-backward {
    background: #FFF !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 10px 35px !important;
    font-size: 18px !important;
    font-weight: bold !important;
}
.checkout-button:hover,
button[name="update_cart"]:hover,
.return-to-shop .wc-backward:hover {
    border: 1px solid var(--light-blue-color) !important;
    background: var(--light-blue-color) !important;
    color: #FFF !important;
}
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	.woocommerce-cart-form{
		display: flex;
		justify-content: center;
	}
	.woocommerce table.shop_table{
		width: 80%;
	}
	.woocommerce .product-thumbnail{
		display: none;
	}
}
@media only screen and (max-width: 768px) {
	.woocommerce-cart-form{
		display: flex;
		justify-content: center;
	}
	.woocommerce table.shop_table{
		width: 90%;
	}
    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        content: "";
    }
	td.product-quantity {
    	display: none !important;
	}
	.pdt_cat{
		float: none;
    	margin-left: none;
	}
	.woocommerce a.remove{
		margin-left: auto;
	}
	.woocommerce table.shop_table td{
		border-top: none !important;
	}
	.woocommerce table.shop_table_responsive tr td{
		text-align: left !important;
		background: transparent !important;
	}
	.woocommerce-page table.shop_table tbody{
		border-top:1px solid rgba(0, 0, 0, .1);
	}
	.woocommerce table.shop_table .product-remove{
		position: absolute;
		width:fit-content;
		top: 0;
		right: 0;
	}
	.woocommerce-cart-form__cart-item{
		border-bottom:1px solid rgba(0, 0, 0, .1);
		position:relative;
		padding: 20px 0;
	}
	
}

/*.woocommerce-MyAccount-navigation-link--edit-account,*/
.woocommerce-MyAccount-navigation-link--downloads,
.woocommerce-MyAccount-navigation-link--edit-address
{
	display: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation{
	margin-right:30px;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	text-decoration: none !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation li:first-child{
	padding: 1rem 0 !important;
}

body.page-id-21.logged-in #registration-link{
	display: none !important;
}

body.page-id-21:not(.logged-in) main{
	background: center / cover no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/01/圖.png");
}
body.page-id-21 #registration-link{
	text-align: center;
    color: #777;
}
body.page-id-21 #registration-link p {
    color: #DDD;
}
body.page-id-21 #registration-link p a {
    color: #FFF;
}
body.page-id-21 #registration-link p a:hover {
    color: var(--light-blue-color) !important;
}
body.page-id-21 .woocommerce {
    display: flex;
    justify-content:center;
    width: 100%;
    max-width: 100vw !important;
	padding: 0 5% !important;
}

body.page-id-21 form.woocommerce-form-login {
    padding: 40px 70px !important;
    background-color: rgba(255,255,255,0.8) !important;
    border-radius: 60px !important;
    width: 70% !important;
}

body.page-id-21 form.woocommerce-form-login h2 {
    font-size: 24px;
    font-weight: bold;
    color: var(--light-blue-color);
}

body.page-id-21 form.woocommerce-form-login label {
    font-weight: bold;
	margin-bottom: 0 !important;
}

body.page-id-21 form.woocommerce-form-login label .required{
    display: none !important;
}

body.page-id-21 form.woocommerce-form-login .woocommerce-form-login__rememberme{
    display: none !important;
}

body.page-id-21 form.woocommerce-form-login .woocommerce-LostPassword a{
	font-size: 16px;
	color: #777;
}
body.page-id-21 form.woocommerce-form-login .submit-con{
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}
body.page-id-21 form.woocommerce-form-login .woocommerce-form-login__submit{
    margin-right: 0 !important;
    width: 50%;
	min-width: 100px;
	max-width: 100%;
	border-radius: 0 !important;
	color: transparent !important;
    background: center / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/02/登陸紐.png") !important;
}
body.page-id-21 form.woocommerce-form-login .woocommerce-form-login__submit:hover{
	color: transparent !important;
	background: center / contain no-repeat url("https://gbaya.dev.smartbusiness.com.hk/wp-content/uploads/2025/02/登陸紐.png") !important;
    filter: grayscale(1);
}

.wc-block-components-checkout-step__description.wc-block-components-checkout-step__description-payments-aligned {
	display: none !important;
}

.donation_product_tag {
	background: var(--light-blue-color);
    padding: 8px 15px;
    font-size: 16px;
    border-radius: 4px;
}

.donation_product_tag a {
	color: white;
}

.woocommerce-Select {
	padding: 10px;
    border: 1px solid #cdcdcd;
	font-size: var(--wp--preset--font-size--small);
}

.home #about .wp-block-video{
	text-align: center;
}

.home #about .wp-block-video video{
	width: 60% !important;
}

.activity-registration-new-tag{
	background-color: var(--light-green-color);
}

.page-id-341 .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100vw;
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-id-341 .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) >div{
	max-width: var(--wp--style--global--content-size);
	margin-left: auto !important;
    margin-right: auto !important;
}

.elementor-element-1f6842d{
	max-width: none !important;
	padding: 0;
	
}

@media screen and (max-width: 768px){#wpforms-2021 {
  /* Ensure the form doesn't exceed the viewport width */
  max-width: 100%;
  box-sizing: border-box; /* Include padding and borders in width calculations */
  padding: 0 30px; /* Add some padding to prevent content from touching screen edges */
}}

@media screen and (max-width: 480px){#wpforms-2021 {
  /* Ensure the form doesn't exceed the viewport width */
  max-width: 100%;
  box-sizing: border-box; /* Include padding and borders in width calculations */
  padding: 0 30px; /* Add some padding to prevent content from touching screen edges */
}}
