/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
.woo-listing-top .woocommerce-ordering select {
    border-radius: 25px;
}
#floating-chatbot-button {
    bottom: 101px;
    right: 36px;
    width: 55px;
    height: 55px;

}
div.quantity[data-type] input[type=number] {
    border-radius: 26px !important;
}
.ct-header-trigger .ct-icon {
    display: none !important;
}
	#pre-chat-message{
		bottom: 155px;
    right: 35px;
	}
@media (max-width: 550px) {
    #floating-chatbot-button {
        bottom: 100px;
        right: 36px;
    }
		#pre-chat-message{
		bottom: 155px;
    right: 35px;
	}
}
.gspb_slider-id-gsbp-cc2dcc1 .swiper-button-next, .gspb_slider-id-gsbp-cc2dcc1 .swiper-button-prev {
    color: #ffffff;
    box-shadow: unset;
}

/* 隐藏不需要的字段 */
#wpforms-5509-field_2-container,
#wpforms-5509-field_4-container {
    display: none !important;
}

/* 让输入框和按钮在同一行 */
#wpforms-form-5509 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 布局字段容器 */
#wpforms-5509-field_1-container {
    flex: 0 0 auto;
    margin: 0;
}

/* 布局列 */
.wpforms-layout-column-100 {
    width: 250px !important; /* 控制输入框宽度 */
}

/* 输入框 */
#wpforms-5509-field_3 {
    width: 100% !important;
    margin: 0;
}

/* 提交按钮容器 */
#wpforms-form-5509 .wpforms-submit-container {
    margin: 0 !important;
    flex: 0 0 auto;
}

/* 移除字段容器的默认样式 */
#wpforms-form-5509 .wpforms-field-container {
    margin: 0;
}

/* 隐藏不需要的字段 */
#wpforms-5509-field_2-container,
#wpforms-5509-field_4-container {
    display: none !important;
}

/* 让输入框和按钮在同一行 */
#wpforms-form-5509 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 布局字段容器 */
#wpforms-5509-field_1-container {
    flex: 0 0 auto;
    margin: 0;
}

/* 强制设置输入框宽度 - 使用更具体的选择器 */
#wpforms-form-5509 #wpforms-5509-field_3.wpforms-field-medium {
    width: 250px !important;
    max-width: 250px !important;
    min-width: 250px !important;
}

/* 或者直接覆盖布局列的宽度 */
#wpforms-form-5509 .wpforms-layout-column-100 {
    width: 250px !important;
    max-width: 250px !important;
    flex: 0 0 250px !important;
}

/* 提交按钮容器 */
#wpforms-form-5509 .wpforms-submit-container {
    margin: 0 !important;
    flex: 0 0 auto;
}

/* 移除字段容器的默认样式 */
#wpforms-form-5509 .wpforms-field-container {
    margin: 0;
}

/* 隐藏不需要的字段 */
#wpforms-5509-field_2-container,
#wpforms-5509-field_4-container {
    display: none !important;
}

/* 让输入框和按钮在同一行 */
#wpforms-form-5509 {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 500px; /* 限制整个表单的最大宽度 */
}

/* 输入框容器 */
#wpforms-5509-field_1-container {
    flex: 0 0 300px; /* 固定宽度300px */
    max-width: 300px;
}

/* 布局列 */
#wpforms-form-5509 .wpforms-layout-column-100 {
    width: 300px !important;
    max-width: 300px !important;
}

/* 输入框本身 */
#wpforms-form-5509 #wpforms-5509-field_3 {
    width: 100% !important;
    max-width: 100% !important;
}

/* 提交按钮容器 */
#wpforms-form-5509 .wpforms-submit-container {
    margin: 0 !important;
    flex: 0 0 auto;
}

/* 字段容器 */
#wpforms-form-5509 .wpforms-field-container {
    margin: 0;
    flex: 0 0 300px;
}

:root {
  --color-base: #1D1D1E;
}

#main-container .site-main {
  min-height: 80vh;
}
.ct-container-full {
  min-height: 65vh;
}
#jetpack_protect_answer {
  min-width: 60px;
  height: 32px;
  padding-right: 0;
}

.products {
  .product.purchasable:not(.outofstock) {
    .ct-woo-card-actions .button:before {
      content: "";
      position: absolute;
      display: block;
      background-color: var(--color-base);
      top: -6%;
      left: 0;
      height: 112%;
      width: 10px;
      transform: skewX(-20deg);
      z-index: 2;
      transition: all .4s cubic-bezier(.53,-.52,.27,1.53);
      border-left: 5px solid #fff;
      opacity: 1;
      filter: unset;
    }
  }
  .product {
    figure {
      margin-bottom: 15px;
    }
    .ct-woo-card-actions {
      background-color: var(--color-base);
    }

    .ct-woo-card-actions {
      position: relative;
      border: 0;
      border-radius: 40px;
      overflow: hidden;
      display: flex;
			gap: 5px;
		}
      .add_to_cart_button.added {
        display: flex;
      }
      .added_to_cart {
        display: none;
        visibility: hidden;
      }
      .button {
        position: relative;
        min-height: 45px;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 99px;
				color:#ffffff;
        z-index: 9;
        transition: all .4s cubic-bezier(.53,-.52,.27,1.53);
		@media (max-width: 600px) {
          font-size: 10px !important;
        }
      }
      @media (hover: hover) {
        .button:hover {
          background-color: transparent !important;
          color: #ccc;
          font-size: 16px;
          letter-spacing: 1px;
          flex: 1.2;
        }
        .button:hover:before {
          left: -8%;
        }
      }
      span.price {
        position: relative;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9;
        flex: 1;
        border-radius: 99px;
        transition: all .4s cubic-bezier(.53,-.52,.27,1.53);
      }
    }
  }
}

/* 隱藏 Blocksy 預設漢堡 icon */
button[data-toggle-panel="#offcanvas"][data-id="trigger"] .vg.ct-icon  {
    display: none !important;
}

/* 插入搜尋 icon（放大鏡） */
/* 默认状态 - 黑色 */
.ct-header-trigger::before {
    content: "🔍";
    font-size: 18px;
    color: black;
    display: inline-block;
    vertical-align: middle;
}

/* 固定状态 - 白色 */
.ct-sticky .ct-header-trigger::before,
.ct-header-sticky .ct-header-trigger::before,
.sticky .ct-header-trigger::before,
[data-sticky] .ct-header-trigger::before {
    color: white;
}
.ct-container-full {
    min-height: 0vh;
}

[data-swatches-type=button] .ct-swatch {
    border: 1px solid rgb(0 0 0 / 62%);

}
#offcanvas .ct-panel-content-inner>*:first-child {
    width: 100% !important;
    display: grid
;
}


div.quantity .ct-increase:hover, div.quantity .ct-decrease:hover{
	border-radius:25px !important;
}