/*
 Theme Name: Woostify Child
 Theme URI: https://woostify.com/
 Description: Online Order System
 Author: WE4N@+
 Author URI: https://we4n.nl
 Template: woostify
 Text Domain:  hanjo
 Version: 1.8.2
*/
:root {
  --orange-hover: #D55218;
}

/* Common css */
a,
a img,
a>* {
  transition: all .3s ease-in-out;
}

.text-primary {
  color: var(--e-global-color-woostify_color_4);
}

.text-primary:hover {
  color: var(--e-global-color-woostify_color_5);
}

small {
  font-size: 90%;
  font-weight: 600;
}

small.text-note {
  font-size: 90%;
  font-weight: normal;
}

.text-danger {
  color: var(--wp--preset--color--vivid-red);
}

.text-right {
  text-align: right !important;
}

/* ajax product search - Hide price */
.aps-content {
  /* display: flex; */
}

.aps-price {
  display: none !important;
}

.btn-primary {
  background-color: var(--e-global-color-woostify_color_1);
  margin: 10px 0;
  padding: 5px 10px;
  color: #FFF;
  display: block;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--e-global-color-woostify_color_6);
  color: #FFF;
}

.d-flex {
  margin-top: 1rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.d-block {
  display: block;
}

.sp-block {
  display: block;
}

@media (min-width: 768px) {
  .d-flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .sp-block {
    display: none;
  }
}

/**
 *
 * Global Navi
 *
 */
/* Mobile toggle menu */
.elementor-products-grid ul.products.elementor-grid li.product a {
  flex-direction: column;
  border-bottom: none;
}

.elementor-7324 .elementor-element.elementor-element-d5dc668>.elementor-widget-container>.e-n-tabs>.e-n-tabs-heading> :is(.e-n-tab-title > .e-n-tab-title-text, .e-n-tab-title) {
  flex: 1;
}

.sidebar-menu {
  width: 300px;
}

@media (min-width: 768px) {
  .sidebar-menu {
    width: 80%;
  }
}
@media (min-width: 1024px) {

  /* .elementor-7324 .elementor-element.elementor-element-a91c9ef:not(.elementor-motion-effects-element-type-background),
  .elementor-7324 .elementor-element.elementor-element-a91c9ef > .elementor-motion-effects-container > .elementor-motion-effects-layer {

  } */
  .main-navigation .primary-navigation .menu-item-has-mega-menu .mega-menu-wrapper a {
    background-color: white;
  }

  .main-navigation .primary-navigation .menu-item-has-mega-menu .mega-menu-wrapper a:hover .elementor-heading-title {
    color: white;
  }

  .main-navigation .primary-navigation .menu-item-has-mega-menu .mega-menu-wrapper a:hover {
    /* background-color: var(--e-global-color-woostify_color_1);
    color: white; */
    /* opacity: 0.7; */
    background-color: transparent;
  }

  .main-navigation .primary-navigation .menu-item-has-mega-menu .mega-menu-wrapper a:hover img {
    background-color: transparent;
    filter: brightness(0.6);
  }

  .main-navigation .primary-navigation .menu-item-has-mega-menu .mega-menu-wrapper a:hover .woocommerce-loop-category__title {
    color: var(--e-global-color-woostify_color_1);
  }

  .main-navigation .primary-navigation .menu-item-has-mega-menu .mega-menu-wrapper .woocommerce-loop-category__title mark {
    display: none;
  }
}

@media (min-width: 1025px) {
  .main-navigation .primary-navigation > .menu-item > a {
      margin: 0 10px !important;
  }
}

/**
 *
 * Global contents
 *
 */
.site-header-inner {
  border-bottom: none !important;
}

.page-header {
  margin-bottom: 0 !important;
}

.site-content-boxed-container .site-content {
  padding: 80px 0;
}

@media (max-width: 1024px) {
  .site-branding {
      text-align: center;
      margin-left: 70px;
  }
}


/**
 *
 * Page
 * Front page - Home
 *
 */
/* Swiper slide button */
.elementor-13 .elementor-element.elementor-element-d809dd6 .woostify-slide {
  height: calc(100svh - 161px) !important;
}

.elementor-13 .elementor-element.elementor-element-d809dd6 .tns-nav [data-nav] {
  border-radius: 0 !important;
  width: 50px !important;
  height: 3px !important;
}
.elementor-widget-n-carousel.elementor-pagination-position-outside > .elementor-widget-container .swiper-pagination-bullet {
  border-radius: 0 !important;
  width: 30px !important;
  height: 1px !important;  
}

@media (min-width: 768px) {
  .elementor-widget-n-carousel.elementor-pagination-position-outside > .elementor-widget-container .swiper-pagination-bullet {
    border-radius: 0 !important;
    width: 40px !important;
    height: 2px !important;  
  }
}

/* products tab */
.elementor-13 .elementor-element.elementor-element-a74fc2a>.elementor-widget-container>.e-n-tabs>.e-n-tabs-heading> :is(.e-n-tab-title > .e-n-tab-title-text, .e-n-tab-title),
.elementor-13 .elementor-element.elementor-element-eaf4aba>.elementor-widget-container>.e-n-tabs>.e-n-tabs-heading> :is(.e-n-tab-title > .e-n-tab-title-text, .e-n-tab-title) {
  flex: 1;
}

/* For mobile */
@media (max-width: 767px) {

  /* categories tab */
  .elementor-widget-n-tabs .e-n-tabs-heading,
  .elementor-13 .elementor-element.elementor-element-eaf4aba>.elementor-widget-container>.e-n-tabs>.e-n-tabs-heading {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }

  .elementor-13 .elementor-element.elementor-element-eaf4aba>.elementor-widget-container>.e-n-tabs>.e-n-tabs-heading> :is(.e-n-tab-title > .e-n-tab-title-text, .e-n-tab-title) {
    padding: 0;
  }

  .elementor-13 .elementor-element.elementor-element-a74fc2a>.elementor-widget-container>.e-n-tabs>.e-n-tabs-heading> :is(.e-n-tab-title > .e-n-tab-title-text, .e-n-tab-title) {
    padding: 20px 0;
  }
}


/* Footer */
.elementor-7746 .elementor-element.elementor-element-c96b3d4 {
  padding: 0 !important;
}


/**
 *
 * Woocommerce
 *
 */
/* archive loop */
.woocommerce .product .product-sku {
  line-height: 1;
}

.woocommerce .product .woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 行の高さを調整 */
  line-height: 1.5em;
  /* 2行分の高さを設定 (2行 * 行の高さ) */
  height: 4.5em;
}

/* Masterbox label */
.featured-flash {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 9;
  background-color: #F00;
  background-color: var(--e-global-color-woostify_color_3);
  color: #fff;
  padding: 6px;
  line-height: 1;
  font-size: 12px;
  pointer-events: none;
  text-align: center;
  font-size: 12px;
  width: 100%;
}

/* product single & quick view */
.product-page-container {
  padding-bottom: 50px;
}

.woostify-trust-badge-box {
  display: none !important;
}

.custom-product-meta {
  border-top: 1px dashed #EFEFEF;
  border-bottom: 1px dashed #EFEFEF;
  border: 2px dashed #EFEFEF;
  margin: 20px 0;
  padding: 10px 20px;
}

.custom-product-meta dl {
  margin: 0;
  padding: 8px 0;
  border-top: 1px dashed #EFEFEF;
}
.custom-product-meta dl.border-0 {
  border-top: none;
}
.custom-product-meta dl.masterbox {
  background: var(--e-global-color-woostify_color_3);
  color: #FFF;
  padding: 10px;
  border-top: none;
}

.custom-product-meta dl:first-child {
  border: none;
}

.custom-product-meta dl dd {
  margin-bottom: 0;
}

/* quick-view */
.quick-view-content .custom-product-meta {
  border: 1px dashed #EFEFEF;
  margin: 10px 0;
}

.quick-view-content p.price {
  text-align: right;
  font-weight: bold;
  font-size: 26px;
}

.quick-view-close-btn {
  width: 3em !important;
  height: 3em !important;
  transform: none;
  transition: .3s all ease-in-out;
}

.quick-view-close-btn:hover {
  transform: none !important;
}

.quick-view-close-btn .icon-close svg {
  transition: 0.3s;
  color: white;
  width: 20px;
  height: 20px;
}

.quick-view-close-btn:hover .icon-close svg {
  transform: rotate(90deg);
}

.woocommerce-product-details__short-description  {
  margin: 0;
  padding: 0;
  display: block;
}
.woocommerce-product-details__short-description p {
  border: 2px solid #DD3333;
  color: #DD3333;
  padding: 10px 10px 10px 0;
  text-align: left;
  font-weight: bold;
  font-size: 1.2rem;
}
.woocommerce-product-details__short-description p::before {
  content: "Special Sale";
  background: #DD3333;
  color: #fff;
  padding: 12px 20px;
  margin-right: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  h1.entry-title {
    font-size: 22px;
  }

  .product-summary p.price,
  .quick-view-content p.price {
    text-align: right;
    font-weight: bold;
    font-size: 32px;
  }

  form.cart,
  .product_meta {
    text-align: right;
  }

  /* quick-view */
  .quick-view-content .product_title {
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.4;
  }

  .quick-view-content p.price {
    text-align: right;
    font-weight: bold;
    font-size: 26px;
  }
  .woocommerce-product-details__short-description  {
    display: flex;
    justify-content: flex-end;
  }
  .woocommerce-product-details__short-description p::before {
    padding: 12px 20px;
  }
}

/* checkout page */
.woocommerce-checkout .page-header+.site-content {
  margin: 3.5em 0;
  background-color: transparent;
}

span.wc-block-checkout__shipping-option--free,
.wc-block-components-totals-shipping .wc-block-formatted-money-amount {
  display: none;
}

.woocommerce-checkout .site-header-inner {
  background-color: transparent;
}

/* hide checkout content */
.wc-block-checkout__shipping-option,
.wc-block-checkout__payment-method,
.wp-block-woocommerce-checkout-order-summary-shipping-block,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals,
.checkout-layout-3:not(.woobuilder-active) #order_review .woocommerce-checkout-review-order-table tbody tr.coupon-form {
  display: none;
}

.woocommerce-checkout .woocommerce-shipping-fields {
  display: none !important;
}

.woocommerce-checkout .woocommerce-billing-fields {
  display: none !important;
}

.hj-checkout-address-card.is-static {
  cursor: default;
  border-style: solid;
}

.hj-checkout-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.hj-checkout-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
}

.hj-checkout-back-link:hover {
  color: #fff;
  background-color: #111827;
}

.hj-checkout-back-icon {
  font-size: 16px;
  line-height: 1;
}

.hj-checkout-address-selector {
  border: 1px solid #e6e7eb;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.hj-checkout-address-selector__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hj-checkout-address-selector__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #111827;
}

.hj-checkout-address-selector__subtitle {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
}

.hj-checkout-address-selector__tag {
  font-size: 12px;
  color: #9ca3af;
  border: 1px dashed #d1d5db;
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

.hj-checkout-address-selector__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.hj-checkout-address-selector__control {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.hj-checkout-address-selector__control-label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.hj-checkout-address-dropdown {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
  color: #111827;
  background-color: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.hj-checkout-address-preview .hj-checkout-address-card {
  margin-top: 8px;
}

.hj-checkout-address-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #fff;
}

.hj-checkout-address-card.is-selected {
  border-color: #111827;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
}

.hj-checkout-address-card__body {
  flex: 1;
}

.hj-checkout-address-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hj-checkout-address-card input[type=radio] {
  margin-top: 4px;
}

.hj-checkout-address-card__badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  background-color: #f3f4f6;
  border-radius: 999px;
  padding: 4px 10px;
}

.hj-checkout-address-card__company {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 8px 0 4px;
}

.hj-checkout-address-card__lines span {
  display: block;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .hj-checkout-address-selector {
    padding: 18px;
  }

  .hj-checkout-address-selector__title {
    font-size: 18px;
  }

  .hj-checkout-address-card {
    flex-direction: row;
  }
}

/* login & register */
.woocommerce-account .u-column2 .register {
  background-color: var(--e-global-color-woostify_color_1);
  /* border: 2px dashed #e8e8e8; */
  border-radius: 2px;
  padding: 30px;
  color: white;
}

a {
  border-radius: 0;
}

.woocommerce-form.woocommerce-form-login .woocommerce-form-login__submit {
  font-size: 18px;
  text-transform: uppercase;
  transition-duration: 0.3s;
  border-radius: 0;
  width: 100%;
}

a.btn-register {
  font-size: 18px;
  text-transform: uppercase;
  background-color: var(--e-global-color-woostify_color_4) !important;
  transition-duration: 0.3s;
  border-radius: 0;
  width: 100%;
}

a.btn-register:hover {
  background-color: var(--orange-hover) !important;
}

@media (min-width: 768px) {
  .woocommerce-account #content {
    min-height: auto;
    padding: 70px 0 120px;
  }

  .woocommerce .u-columns.col2-set {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 0 50px;
  }

  .woocommerce-account .u-column1,
  .woocommerce-account .u-column2 {
    float: none;
    max-width: 100%;
    width: 100%;
    height: 100%;
  }

  .woocommerce-account .woocommerce-form.woocommerce-form-login,
  .woocommerce-account .u-column2 .register {
    max-width: 100%;
    width: 100%;
    height: 100%;
  }

  a.btn-register {
    width: auto;
  }

}

@media (min-width: 992px) {
  #woostify-login-form-popup .woostify-login-form-popup-content .u-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 0 50px;
  }

  #woostify-login-form-popup .woostify-login-form-popup-content .u-columns [class^=u-column] {
    width: 100%;
    max-width: 100%;
  }
}

/* My account */
nav.woocommerce-MyAccount-navigation ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: flex-start;
  align-items: center;
}

nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link {
  margin-bottom: 0;
  padding: 10px 8px;
  width: 100%;
  border-bottom: 1px solid var(--e-global-color-dcd93b7);
}

nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link:nth-child(1),
nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link:nth-child(2) {
  border-top: 1px solid var(--e-global-color-dcd93b7);
}

nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link:nth-child(odd) {
  border-right: 1px solid var(--e-global-color-dcd93b7);
}

nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link a {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: normal;
  text-transform: uppercase;
}

.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link .woostify-svg-icon {
  margin-right: 8px;
}

.woocommerce-orders-table__cell-order-actions {
  /* display: block !important; */
  border-bottom: 1px solid #ddd;
  width: 100%;
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button.view {
  background-color: var(--e-global-color-woostify_color_1);
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button.view:hover {
  background-color: var(--e-global-color-woostify_color_6);
}

.woocommerce-orders-table__cell-order-actions .woocommerce-button {
  margin-left: 0.5rem;
}

@media (min-width: 768px) {
  .woocommerce-orders-table__cell-order-actions .woocommerce-button {
    margin-left: 0;
  }
}

@media (min-width: 992px) {
  .woocommerce-MyAccount-navigation {
    border: 1px solid var(--e-global-color-dcd93b7);
  }

  nav.woocommerce-MyAccount-navigation ul {
    display: block;
    border: none;
  }

  nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link {
    border-top: 1px solid var(--e-global-color-dcd93b7);
    border-bottom: none;
  }

  nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link:first-child {
    border-top: none;
  }

  nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link:nth-child(odd) {
    border-right: none;
  }
}

/* My account - Orders */
.woocommerce-order-details table.order_details td.woocommerce-table__product-name {
  display: flex;
  flex-direction: column;
}

.woocommerce-order-details table.order_details .order-item-thumbnail-wrapper {
  display: flex;
  align-items: center;
}

.woocommerce-order-details table.order_details .order-item-thumbnail-wrapper img {
  margin-right: 10px;
}

.woocommerce-order-details table.order_details .order-item-name {
  flex: 1;
}

@media (min-width: 768px) {
  .woocommerce-order-details table.order_details td.woocommerce-table__product-name {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .woocommerce-order-details table.order_details .order-item-thumbnail-wrapper {
    margin-right: 5px;
  }
}

/* My account - account detail */
.woocommerce-switch-language,
.woocommerce-mt1 {
  margin-top: 1rem;
}

form.edit-account select.form-control {
  height: 50px;
  display: block;
  width: 200px;
}

/**
 *
 * Page
 * Woocommerce - Account
 * Contact form
 *
 */
/* Become a member / Contact form style */
.form-title {
  border-top: 1px dashed var(--e-global-color-woostify_color_1);
}

.form-title h6 {
  font-weight: 500;
  text-transform: uppercase;
  /* color: var(--e-global-color-text); */
}

.woostify-contact-form .row>[class^=col] {
  margin-bottom: 20px;
}

.woostify-contact-form .form-element {
  margin-bottom: 20px;
}

.woostify-contact-form label {
  color: var(--e-global-color-text);
}

.woostify-contact-form select {
  height: 50px;
  display: block;
  width: 100%;
}

.woostify-contact-form input,
.woostify-contact-form select,
.woostify-contact-form textarea,
.woostify-contact-form textarea:not([type=submit]) {
  margin-bottom: 0 !important;
  border-radius: 0;
}

.woostify-contact-form input[type=checkbox] {
  height: 20px;
  width: 20px;
}

.woocommerce-checkout label,
input::placeholder,
select::placeholder,
textarea::placeholder {
  color: var(--e-global-color-text) !important;
}

.woostify-contact-form .wpcf7-list-label {
  display: flex;
}

.woostify-contact-form .form-grid-tel {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
}

.wpcf7-not-valid-tip,
.wpcf7-validation-errors {
  color: firebrick;
  margin: 0;
  padding: 5px;
  display: block;
  font-size: 12px;
  background-color: #f5b1b1;
}

/* .wpcf7-response-output {
  color: firebrick;
} */

.woostify-contact-form input[type=submit] {
  border-radius: 0;
  padding: 0 20px;
  text-transform: uppercase;
  font-weight: 600;
  min-width: 130px;
  background-color: var(--e-global-color-woostify_color_4) !important;
  border: none;
}

.woostify-contact-form input[type=submit]:hover {
  background-color: var(--orange-hover) !important;
}

.woostify-contact-form .btn-group {
  margin-top: 10px;
}

.woostify-contact-form a.copy-address {
  background-color: var(--e-global-color-woostify_color_4);
  border-radius: 0px;
  color: #ffffff;
  padding: 5px 10px;
  display: block;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}

.woostify-contact-form a.copy-address:hover {
  background-color: var(--e-global-color-woostify_color_5);
}

.woostify-contact-form span#buttonEye-login_password,
.woostify-contact-form span#buttonEye-confirm_password {
  position: absolute;
  top: 45px;
  right: 25px;
  margin: 0;
}

/* Hide google reCAPTCHA */
.grecaptcha-badge {
  visibility: hidden;
  display: none;
}


/* before login to see button */
.no-transform .animated-meta {
  display: block;
}

a.btn-member-login {
  background-color: var(--e-global-color-text);
  margin: 10px 0;
  padding: 5px 10px;
  color: #FFF;
  display: block;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 300;
}

a.btn-member-login:hover {
  background-color: var(--e-global-color-woostify_color_2);
  color: #FFF;
}

/* mini cart button */
p.woocommerce-mini-cart__buttons {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

p.woocommerce-mini-cart__buttons>a.wc-forward:not(.checkout) {
  background-color: var(--e-global-color-woostify_color_1);
  color: #FFF;
}

p.woocommerce-mini-cart__buttons>a.wc-forward:not(.checkout):hover {
  background-color: var(--e-global-color-woostify_color_6);
  color: #FFF;
}


@media (min-width: 992px) {

  .woostify-container,
  .site-boxed-container #view,
  .site-content-boxed-container .site-content {
    margin: 0 auto !important;
  }
}

.quick-view-images .image-item img {
  object-fit: contain !important;
}


/**
*
* Product table page
*
**/
#hanjo-product-table-wrapper .filter-search {
  text-align: center;
}

#hanjo-product-table-wrapper .filter-search select {
  padding: 10px;
}

.woocommerce-product-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.woocommerce-product-table tr {
  border: 1px solid #ddd;
}

.woocommerce-product-table th,
.woocommerce-product-table td {
  padding: 10px;
  border: 1px solid #ddd;
  /* border: none !important; */
  text-align: left;
}

.woocommerce-product-table th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.woocommerce-product-table th.th-image {
  width: 100px;
}

.woocommerce-product-table th.th-sku {
  width: 140px;
}

.woocommerce-product-table th.th-price {
  width: 100px;
}

.woocommerce-product-table th.th-bbd {
  width: 130px;
}

.woocommerce-product-table th.th-action {
  width: 180px;
}

.woocommerce-product-table td.td-price {
  text-align: right;
  font-weight: 500;
}

.woocommerce-product-table td.table-cart-btn {
  /* display: flex;
  flex-direction: column;
  gap: 15px; */
  text-align: center;
}

.woocommerce-product-table td.table-cart-btn a {
  display: block;
  padding: 0.35em .5em !important;
}

.woocommerce-product-table td.table-cart-btn a.added_to_cart {
  margin-top: 10px;
  background-color: var(--e-global-color-woostify_color_3);
  color: white;
  padding: 0.35em .5em;
}

.woocommerce-product-table td.table-cart-btn .woocommerce-product-table td.table-cart-btn span.out-of-stock {
  padding: 0.35em 1.5em;
  background: #BBB;
  color: #FFF;
}

.woocommerce-product-table td.table-cart-btn a span.woostify-svg-icon {
  margin-right: 7px;
  position: relative;
  top: 1px;
}

.woocommerce-product-table td.table-cart-btn .quick-view-with-text {
  visibility: visible;
  opacity: 1;
  position: initial;
  margin: 0;
  background: #FFF;
  color: #EC7C4B;
  border: 2px solid #EC7C4B;
}

.woocommerce-product-table td .discount-box {
  /* text-align: right; */
  margin-bottom: 5px;
}

.woocommerce-product-table td span.discount {
  background-color: #f00;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 12px;
}

.woocommerce-product-table span.d-mobile {
  display: none;
}

.woocommerce-product-table img {
  max-width: 80px;
  height: auto;
}

#hanjo-category-filter {
  margin-bottom: 20px;
}

#hanjo-product-pagination {
  margin-top: 20px;
  text-align: center
}

#hanjo-product-pagination .page-number {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
  background-color: #f0f0f0;
  text-decoration: none;
  color: #333;
}

#hanjo-product-pagination .page-number:hover {
  background-color: #adadad;
}

#hanjo-product-pagination .page-number.current {
  background-color: #333;
  color: #fff;
}

.product-quick-view-btn {
  margin-left: 10px;
  cursor: pointer;
}

p.update-notice {
  margin: 1rem 0 0;
  font-weight: bold;
  color: #b00;
}


@media (max-width: 1023px) {
  .woocommerce-product-table {
    border: none;
  }

  .woocommerce-product-table thead {
    display: none !important;
  }

  .woocommerce-product-table tbody {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .woocommerce-product-table tbody tr {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-areas:
      "areaA areaB"
      /* "areaA areaC" */
      "areaD areaD"
      "areaE areaE"
      "areaF areaF";
  }

  .woocommerce-product-table tbody tr td {
    border: none !important;
  }

  .woocommerce-product-table tbody tr td.itemA {
    grid-area: areaA;
  }

  .woocommerce-product-table tbody tr td.itemB {
    grid-area: areaB;
  }

  .woocommerce-product-table tbody tr td.itemC {
    /* grid-area: areaC; */
    display: none;
  }

  .woocommerce-product-table tbody tr td.itemD {
    grid-area: areaD;
  }

  .woocommerce-product-table tbody tr td.itemE {
    grid-area: areaE;
  }

  .woocommerce-product-table tbody tr td.itemF {
    grid-area: areaF;
  }

  .woocommerce-product-table tbody tr td.td-price {
    font-weight: bold;
    font-size: 1.5rem;
  }

  .woocommerce-product-table span.d-mobile {
    display: inline-block;
  }
}

@media (max-width: 767px) {
  .woocommerce-product-table tbody {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/**
*
* subscription page
*
**/
form.mailpoet-manage-subscription .mailpoet_text_label,
form.mailpoet-manage-subscription .mailpoet_select_label,
form.mailpoet-manage-subscription .mailpoet_segment_label {
  display: block;
  font-weight: bold;
}

form.mailpoet-manage-subscription .mailpoet_select,
form.mailpoet-manage-subscription .mailpoet_text {
  width: 50%;
  padding: 12px;
}

form.mailpoet-manage-subscription .mailpoet_paragraph {
  margin-bottom: 20px
}

form.mailpoet-manage-subscription .mailpoet_submit {
  padding: 20px 20px;
  width: 50%;
  font-weight: bold;
  font-size: 11pt;
}


/* ajax loading */
.ajax-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background-color: rgba(0, 0, 0, 0.6);
}

.ajax-loading .inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: #EC7C4B;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Cart page on Mobile */
@media (max-width: 991px) {
  .woocommerce-cart-form__contents:not(.elementor-menu-cart__products) tbody tr td.product-name {
    display: block;
  }
}


/* custom header */
.elementor-16449 .elementor-element.elementor-element-34d074cc .e-con-inner {
  /* grid-template-columns: 200px 1fr; */
  grid-template-columns: var(--e-con-grid-template-columns);
  gap: 0;
}
.logged-in .elementor-16449 .elementor-element.elementor-element-34d074cc .e-con-inner {
  grid-template-columns: var(--e-con-grid-template-columns);
}

@media ( min-width:1025px) {
  .elementor-16449 .elementor-element.elementor-element-34d074cc .e-con-inner {
    grid-template-columns: 200px 1fr;
    gap: 0;
  }
  .logged-in .elementor-16449 .elementor-element.elementor-element-34d074cc .e-con-inner {
    grid-template-columns: var(--e-con-grid-template-columns);
  }
}

@media (max-width:1024px) {
  .woostify-nav-menu-widget.breakpoint-1024 .woostify-nav-menu-inner nav .menu-item a>.arrow-icon {
    display: flex;
    text-align: center;
  }
  .elementor-products-grid ul.products.elementor-grid li.product a {
    border-bottom: none !important;
  }
}

@media (min-width: 992px) {
  .woostify-sticky-footer-bar.woostify-sticky-on-mobile {
    display: none;
  }
}

.my-account .subbox li:first-child {
  border-top: none;
}


/* Add 2025.03.19 */
.cwginstock-subscribe-form .panel-primary {
  border-color: var(--e-global-color-woostify_color_3) !important;
}
.cwginstock-subscribe-form .panel {
  border-radius: 0 !important;
}
.cwginstock-subscribe-form .panel-primary>.panel-heading {
  background-color: var(--e-global-color-woostify_color_3) !important;
  border-color: var(--e-global-color-woostify_color_3) !important;
  border-radius: 0 !important;
}
.cwginstock-panel-heading h4 {
  font-size: 1.2rem;
  margin: 5px 0 !important;
}
.cwginstock-subscribe-form .panel-primary>.panel-body input.cwgstock_email {
  margin: 0 !important;
}
.cwginstock-subscribe-form .panel-primary>.panel-body .cwgstock_button {
  border: 1px solid var(--e-global-color-woostify_color_4);
  background-color: var(--e-global-color-woostify_color_4);
  color: white;
}

p.stock.out-of-stock {
  font-weight: bold;
  color: var(--e-global-color-woostify_color_4);
}

@media (min-width: 992px) {
  p.stock.out-of-stock {
    text-align: right;
  }
}

