/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

/*******************************
ここより下は外注
********************************/

/**ベンダーダッシュボードの注文詳細の返信ボタンのレイアウト**/
a.bm-lc-button.order-details {
	display:block;
	padding:15px;
	text-align: center!important;
	width: 100%;
	border-radius: 4px;
	font-size: 16px;
    font-weight: 600;
	color:#F57D00!important;
}
a.bm-lc-button.extra-class.order-details {
	text-decoration: none!important;
	color:#fff!important;
}

a.bm-lc-button.order-details:hover {
	display:block;
	padding:15px;
	text-align: center!important;
	width: 100%;
	border-radius: 4px;
	font-size: 16px;
    font-weight: 600;
	color:#F57D00!important;
}

/** ベンダーダッシュボードの出品管理/注文管理のリストの幅調整 **/
.dokan-orders-area form.dokan-form-inline.e-con, 
.e-con.dokan-dashboard-product-listing-wrapper{
	max-width: var(--content-width);
	display: block;
	margin: 0 auto;
}

/** ベンダーダッシュボードの出品管理/注文管理のリストのスクロールバーを削除**/
@media (max-width: 1199px) {
	.dokan-dashboard .dokan-dashboard-content .dokan-table {
		overflow: auto;
	}
}

/**チャットのbackボタンと新規作成ボタンを非表示 **/
.chat-header a.back,
.chat-header.side-header a.new-message {
    display: none;
}
.chat-header a.new-message {
    display: none;
}
.chat-header{
	padding-left:10px;
}

/**未読バッチ用設定 **/
span.bpbmuc {
	position: absolute;
	top: -8px;
	background: red;
	height: 22px;
	width: 22px;
	padding-top:1px;
	left: calc(50% + 13px);
	transform: translate(-50%, 0);
	border: solid #fff;
}

@media (max-width: 767px) {
header span.bpbmuc {
    right: -25px;
    left: unset;
    top: -7px;
}}
header .badge {
	position: static;
}

/**
 * wpufのダッシュボードのtableレイアウトをTB以下でも縦並びにせずPCデザインに合わせる
 **/ 
@media screen and (max-width: 992px) {
	body .wpuf-dashboard-container table.items-table thead {
		display: table-header-group;
	}
	
	body .wpuf-dashboard-container table.items-table td:before {
		content: unset;
	}
	
	body .wpuf-dashboard-container table.items-table tr {
		display: table-row;
	}
	
	body .wpuf-dashboard-container table.items-table tr td:first-child {
		display: table-cell;
	}
	
	body .wpuf-dashboard-container table.items-table tr td {
		display: table-cell;
	}
	
	body .wpuf-dashboard-container table.items-table .post-edit-icon {
		display: none;
	}
}

/**
 * いいねボタンのスタイル調整
**/


	body.wp-singular.product-template-default .commercekit-wishlist.full a em.cg-wishlist,
	body.wp-singular.product-template-default .commercekit-wishlist.full a em.cg-wishlist:before,
	body.wp-singular.product-template-default .commercekit-wishlist.full a em.cg-wishlist-t,
	body.wp-singular.product-template-default .commercekit-wishlist.full a em.cg-wishlist-t:before {
		position: relative;
		left: 0;
	}
	
	body.wp-singular.product-template-default .commercekit-wishlist.full a em.cg-wishlist:before,
	body.wp-singular.product-template-default .commercekit-wishlist.full a em.cg-wishlist-t:before {
		width: 32px;
		height: 32px;
	}

	body.wp-singular.product-template-default .commercekit-wishlist.full a em.cg-wishlist,
	body.wp-singular.product-template-default .commercekit-wishlist.full a em.cg-wishlist-t {
		width: 32px;
		height: 32px;
	}
	
	body.wp-singular.product-template-default a.commercekit-browse-wishlist.wsl-updated em.cg-wishlist:before,
	body.wp-singular.product-template-default .commercekit-wishlist a em.cg-wishlist-t:before,
	body.wp-singular.product-template-default .commercekit-wishlist.full a em.cg-wishlist-t:before {
	background: #F57D00;
		-webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 21s-6.716-5.787-9.193-8.264C.33 10.26.33 6.32 2.807 3.843c2.476-2.477 6.416-2.477 8.893 0L12 4.143l.3-.3c2.477-2.477 6.417-2.477 8.893 0 2.477 2.477 2.477 6.417 0 8.893C18.716 15.213 12 21 12 21z'/%3E%3C/svg%3E");
		mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 21s-6.716-5.787-9.193-8.264C.33 10.26.33 6.32 2.807 3.843c2.476-2.477 6.416-2.477 8.893 0L12 4.143l.3-.3c2.477-2.477 6.417-2.477 8.893 0 2.477 2.477 2.477 6.417 0 8.893C18.716 15.213 12 21 12 21z'/%3E%3C/svg%3E");
	}

	body.wp-singular.product-template-default .commercekit-save-wishlist > span,
	body.wp-singular.product-template-default .commercekit-browse-wishlist > span {
		display: none;
	}
	
	body.wp-singular.product-template-default .commercekit-wishlist.full,
	body.wp-singular.product-template-default .wish-button {
		margin: auto;
		display: flex;
	}

/**
 * レビューのアイコンを正円になるように調整
 **/
#reviews .commentlist li .avatar,
.avatar.avatar-35{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/** 商品個別ページのバッジを横並びにする **/
.single-product .ckit-badge_wrapper.ckit-badge-summary {
    display: inline-block;
}

.single-product .ckit-badge_wrapper.ckit-badge-summary span {
    margin-right: 5px;
}

/** checkout画面のselectボックスのpadding設定**/
.elementor-widget-woocommerce-checkout-page .woocommerce #customer_details .form-row select {
	padding: 10px 16px;
}
	
@media (max-width: 767px) {
	/** SPにてループカルーセルの動きがスムーズになるように設定**/
	.sp-smooth-scroll .swiper {
		touch-action: manipulation;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.sp-smooth-scroll .swiper::-webkit-scrollbar {
		display: none;
	}
}


/**リクエスト予約完了画面の、「リクエスト予約をお受けしました」を縦に中央揃え**/
.woocommerce-checkout p.woocommerce-thankyou-order-received {
    align-items: center;
}

/**リクエスト予約完了画面の、テーブルの項目名と、商品タイトルを左寄せ**/
.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td:last-child, 
.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details th:last-child,
td.woocommerce-table__product-name.product-name
 {
    text-align: left;
}

/**リクエスト予約完了画面の、項目の幅を統一**/
.woocommerce-order-received table.woocommerce-table--order-details td,
.woocommerce-table.woocommerce-table--custom-fields.custom-fields td {
    width: 30%;
}

/**リクエスト予約完了画面の、項目のtfootの最終項目のフォントが大きくならないように対処**/
table.woocommerce-table--order-details tfoot tr:last-child td,
table.woocommerce-table--order-details tfoot tr:last-child th {
	font-size: inherit;
}

/**
 *  swiperSP時のswiperから矢印を消す
 **/ 
@media (max-width: 767px) {
	.elementor-swiper-button.elementor-swiper-button-prev,
	.elementor-swiper-button.elementor-swiper-button-next{
		display: none !important;
	}
}

@media (max-width: 430px) {
	table.dokan-table td.dokan-order-action {
		display: block!important;
		position: absolute;
		right: 2px;
		border: none;
	}

	table.dokan-table td.dokan-order-action::before {
		content: none;
	}
}

/**
 * paypalローディング
 **/ 
.loading {
    display: none;
}

.loading.active {
    display: flex;
}


/*******************************
ここより上は外注
********************************/

/* フォーム内テキストを16pxに統一 */
form {
  font-size: 1rem; /* = 16px */
}

/* 入力欄やボタンも継承される */
form input,
form select,
form textarea,
form button {
  font-size: 1rem;
}

/**ul.il非表示**/
ul{padding-left:0;}
li{list-style:none;}


/**bettermessagesのユーザー名を１行**/
span.user.bm-user{
display: block;                /* ブロック要素として設定 */
width: 300px;  /* 親要素に合わせた幅設定 */
overflow: hidden;             /* 溢れた部分を隠す */
text-overflow: ellipsis;      /* 溢れた部分に「...」を表示 */
white-space: nowrap;          /* テキストを一行に制限 */
word-break: break-word;   /* 長い単語や記号が正しく改行されるように設定 */
overflow-wrap: break-word; /* 長い単語や記号が正しく改行されるように設定 */
}

/**userinfoカスタムアイコン**/
.elementor-icon-list-text.elementor-post-info__item.elementor-post-info__item--type-custom{
	margin-left:5px;
}

/*woocommerceメッセージ*/
.woocommerce-info{
	display:none;
}

/*woocommerceお知らせ*/
.woocommerce-notices-wrapper{
	display:none;
}
.woocommerce-message{
	display:none;
}

/*woocommerce円サイズ*/
.woocommerce-Price-currencySymbol{
	font-size:0.6em;
	font-weight:400;
	margin-left:2px;
	padding-bottom:2px;
	font-weight:500!important;
}

/*selectフォームを初期化*/
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
  border:0;
  margin: 0;
  padding:10px;
  background:#F1F1F1;
  vertical-align: middle;
  font-size: inherit;
  color: inherit;
  box-sizing: content-box;
}

select.orderby{
  -moz-appearance:base-select;
  -webkit-appearance:base-select;
  background:#fff!important;
}

/*パンくず*/
nav.woocommerce-breadcrumb{
	pointer-events:none;
}

@media screen and (max-width: 767px) {
  .woocommerce-breadcrumb {
    display: none;
  }
}
.col-full nav{
	background-color:#FcFcFc!important;
}

/*woocommerce予約詳細項目*/
th.woocommerce-orders-table__header.woocommerce-orders-table__header-order-status,
td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status{
	display:none;
}


/*Dokan注文管理項目*/
.list-inline.order-statuses-filter.subsubsub,
.dokan-order-filter-serach,
th#cb.manage-column.column-cb.check-column,
th.dokan-order-select.check-column,
.dokan-clearfix.dokan-w12.dokan-form-group,
.dokan-left.dokan-order-billing-address,
.dokan-left.dokan-order-shipping-address,
input#dokan-add-tracking-number.dokan-btn.dokan-btn-success,
.dokan-table.order-items tfoot{
    display: none;
}
div.dokan-w4.dokan-order-right-content,
.dokan-w8.dokan-order-left-content{
  width: 100%;
}

/**dokan注文管理レイアウト**/
.dokan-w8.dokan-order-left-content{
    display: none;
}
div.alert.alert-success.customer-note{
	padding:20px!important;
}
div.alert.alert-success.customer-note strong{
	font-size:16px!important;
}
.list-unstyled.order-status{
	line-height:2em;
}

/*タグ、カテゴリ*/
.woocommerce.widget_product_tag_cloud h5,
.elementor-widget-container h5{
    display: none;
}

.tagcloud{
	width:stretch;
}

a.tag-cloud-link,
a.tag-cloud-link:hover{
	font-size:14px!important;
	color: #333;
	margin-right:3px;
	padding:5px 10px 5px 10px;
	background-color:#F7F7F7;
	border-radius:3px;
	line-height:2.5em;
}

/**wpufアクセス制限メッセージ**/
.wpuf-info.wpuf-restrict-message{
	border-radius:0;
	border:none;
	display: flex;
    justify-content: center; /* 水平方向 */
    align-items: center;     /* 垂直方向 */
    height: 200px;
}

/**elementor各種タグ**/
a.elementor-post-info__terms-list-item{
	background-color:#f7f7f7;
	padding:5px;
	border-radius:3px;
	line-height:35px!important;
}

/**マイアカウントボタン**/
button.woocommerce-Button.button{
	width:100%;
}

/**WPUFページネーション**/
.wpuf-pagination{
	padding-top:20px;
	padding-bottom:20px;
	text-align:center;
}

/*wpufセクション**/
h2.wpuf-section-title{
	font-size:21px;
	padding-top:30px;
}


/*注文ページ完了後のお客様情報*/
.woocommerce-customer-details{
    display: none;
}

/*woocommerceエラー*/
.woocommerce-error{
    border-radius:0;
}

/*elementorページネーション*/
.elementor-pagination{
	text-align:center;
	padding-bottom:-20px!important;
}


/*画像ズームとライトボックスの削除*/
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    pointer-events: none;
}

/*リクエスト予約の詳細*/
.woocommerce-order-details{
	border:none;
	padding:0;
	margin:0;
}

@media (max-width: 767px) {
table.woocommerce-table.woocommerce-table--custom-fields.shop_table.custom-fields td{
	width:100%!important;
	text-align:left!important;
}
table.woocommerce-table.woocommerce-table--custom-fields.shop_table.custom-fields th{
	width:100%!important;
}}

/*wpuf基本属性*/
.textfield.wpuf_user_age_93,
.textfield.wpuf_height_93, 
input#weight.textfield.wpuf_weight_93,
input#constellation_93.textfield.wpuf_constellation_93,
input#blood_93.textfield.wpuf_blood_93{
	width:200px!important;
}

/*woocommerceリクエスト*/
.woocommerce-table__product-purchase-note.product-purchase-note p{
	text-align:left;
}
.woocommerce-table__product-purchase-note.product-purchase-note p:before{
	content: "おっさんからのメッセージ:\A";
    white-space: pre;
	font-weight:700;
	font-size:14px;
}


.wpec-order-additional-data-box.wpec-order-additional-data-box-billing-address{
    display: none;
}

/*リクエスト予約同意事項*/
p#additional_txt_field.form-row .thwcfd-field-wrapper.thwcfd-field-paragraph.thwcfd-field-wrapper.thwcfd-field-paragraph{
    font-size:14px!important;
}

/*商品カード共通CSS*/
.product.type-product{
  	align-items: center;
  	justify-content: center;
  	color:#eee;
  	background-color: #fff;
  	border-radius: 5px 5px 0 0;
  	box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.1);
  }
  
.price{
	margin:0!important;
	text-align:left;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
a.button.product_type_simple{
	   margin-top:-8px;
	   width: 100%!important;
	   height: 30px!important;
	   line-height:30px!important;
	   border-radius:50px!important;
	   font-weight: 400!important;
	   font-size: 12px!important;
	   background-color:#333!important;
	   display: flex;
	   flex-direction: column;
	   justify-content: center;
	   align-items: center;
	   padding: 0px!important;
}

   .woocommerce-card__header,
   .woocommerce-card__header:hover{
    padding:10px!important;
  	width:100%!important;
  }




.page-id-288 .entry-header,
.page-id-288 .archive-header,
  .displaying-num{
    display: none;
  }







