/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 * Version: 1.0.6
 */

/* ==========================================================================
   Section: 1 // ย้าย CSS มาจากธีมแม่
   ========================================================================== */
/* ตกแต่ง 2 ภาษา */
[data-id="widget-area-1"] .pll-switcher-select,
[data-id="widget-area-1"] .pll-switcher-select option {
    font-family: 'ct_font_kvc_computer', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
    font-weight: 500;
    font-size: 14px;
    color: #000;
    letter-spacing: 0.5px;
}

div #lang_choice_polylang-5 {
    font-family: 'ct_font_kvc_computer', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif !important;
    border-width: 2px;
    border-color: #333;
    border-radius: 10px;
    height: 30px;
    line-height: 25px;
    padding-right: 15px;
    padding-left: 15px;
}

/* ========= PERFORMANCE FIX: แก้ปัญหาปุ่มสลับธีมหน่วง ============== */
body, 
body *:not([class*="animation"]), 
body *:not([data-scroll]) {
    transition-property: background-color, color, border-color, fill, stroke;
    transition-duration: 0.15s;
}

main#main,
.entry-content,
footer {
    content-visibility: visible !important; 
    contain: none !important;
}

.site-header, 
.hero-section,
[data-scroll],
.ct-container {
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0); 
    backface-visibility: hidden;
}

.ct-no-transition * {
    transition: none !important;
}

/* ปุ่ม back-to-top */
@media (max-width: 1025px) {
  .ct-back-to-top {
    bottom: 180px !important;
    display: flex !important;
    opacity: 1 !important; 
    visibility: visible !important;
  }
}

/* กล่องข้อความหัวเรื่อง blog */
.entry-header.ct-container-narrow {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.entry-header.ct-container-narrow h1.page-title {
    background-color: rgba(42, 133, 195, 0.7); 
    color: #ffffff !important;      
    display: inline; 
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;  
    padding: 6px 15px;
    line-height: 1.5;
    border-radius: 12px; 
}

.entry-header.ct-container-narrow .entry-meta {
    margin-top: 10px; 
    background-color: rgba(0, 0, 0, 0.4);
    display: inline-block;
    padding: 4px 15px;
    border-radius: 20px;
}

.entry-header.ct-container-narrow .entry-meta li,
.entry-header.ct-container-narrow .entry-meta a {
    color: #f1f1f1 !important;
    font-weight: 400;
}

/* จัดระเบียบกล่อง Trending: ให้บทความที่เหลือวิ่งมาอยู่กึ่งกลาง */
.ct-trending-block .ct-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
}

.ct-trending-block .ct-module-title {
    width: 100%; 
    text-align: left; 
    margin-bottom: 20px; 
}

.ct-trending-block-item {
    width: 100%; 
    max-width: 300px;
    margin-bottom: 20px;
}

/* ===== ตัวเลขยอดวิว ====== */
.ct-media-container, 
.entry-card .ct-media-container,
.wp-block-post-featured-image {
    position: relative !important;
    overflow: hidden;
    display: block;
}

.kvc-view-overlay {
    position: absolute;
    bottom: 8px !important;
    right: 8px !important;
    z-index: 20 !important;      
    background-color: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;  
    font-size: 12px;
    font-weight: 600;
    line-height: 1;   
    display: flex;
    align-items: center;
    pointer-events: none;  
}

.kvc-view-overlay svg {
    stroke: #ffffff;
}

.hero-section .ct-media-container {
    position: relative !important;
    overflow: hidden;
}

.hero-section .kvc-view-badge {
    bottom: 20px !important; 
    right: 20px !important;
}

/* ===== เพิ่มระยะห่างชื่อบทความกับคำอธิบาย (Excerpt) ===== */
.entry-card .entry-excerpt {
    margin-top: 10px !important;
}

/* ==========================================================================
   Section:2 // CSS HERO IMPORTED STYLES  
   ========================================================================== */

.hideLogin {
	display: none !important;
}

textarea {
	--theme-form-field-border-radius: 20px;
}

div > .ct-container > div > .ct-contact-info > ul {
	align-content: space-around;
	flex-wrap: nowrap;
	align-items: flex-start;
	flex-direction: row;
}

.ct-container .ct-header-account-dropdown {
	background: #333;
}

[data-header*="type-1"] .ct-header [data-id="7TfLp_"] {
	min-width: 0 !important;
	flex-shrink: 1 !important;
	overflow: hidden !important;
}

div .ct-header-text p {
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	display: block !important;
}

[data-header*="type-1"]:not(.kvc-scrolled) .ct-header [data-row="top"] {
	display: block !important;
}

[data-header*="type-1"].kvc-scrolled .ct-header [data-row="top"] {
	display: none !important;
	transition: max-height 0.10s ease-in-out, opacity 0.10s ease-in-out !important;
	overflow: hidden;
}

#footer [data-id="text"] h3 {
	font-size: 17px;
	margin-bottom: 5px;
}

div[id^=gspb_col-id] {
	padding: 0px;
}

/* --------------------------------------------------------------------------
   ACCORDION & TABS (Gutenberg Blocks)
   -------------------------------------------------------------------------- */
.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconbefore {
	background-color: #004aad !important;
}

.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconafter {
	background-color: #2a85c3 !important;
}

#block-21 #gspb_accordion-id-gsbp-ce449de #gs-trigger-gsbp-ce449de-0 {
	padding-left: 0px;
	padding-bottom: 5px;
	padding-top: 0px;
}

#gspb_accordionitem-gsbp-e5ad8af > #gs-trigger-gsbp-ce449de-0 code {
	font-family: ct_font_kvc_computer;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.3px;
	color: #2a85c3;
}

#block-21 #gspb_accordion-id-gsbp-ce449de #gspb-accordion-item-content-gsbp-e5ad8af {
	background: #ffffff;
	border-radius: 7px;
	width: 340px;
}

#gspb_accordion-id-gsbp-ce449de > #gspb_accordionitem-gsbp-e5ad8af > #gs-trigger-gsbp-ce449de-0 .gs-iconbefore {
	background-color: #2A85C3;
}

body #gspb_accordionitem-gsbp-e5ad8af.gs-accordion-item .gs-accordion-item__title {
	border-bottom: 3px solid #2a85c3 !important;
	padding-bottom: 5px;
}

#block-21 #gspb_accordion-id-gsbp-ce449de #gspb-accordion-item-content-gsbp-e5ad8af > div {
	padding-top: 0px;
	margin-top: -7px;
	width: 340px;
}

div > #block-22 > #gspb_accordion-id-gsbp-3b40ba0 #gs-trigger-gsbp-3b40ba0-0 {
	padding-top: 0px;
	padding-right: 0px;
}

div > #block-23 > #gspb_accordion-id-gsbp-85ca208 #gs-trigger-gsbp-85ca208-0 {
	padding-top: 0px;
	padding-right: 0px;
	padding-left: 0px;
}

body #gspb_accordionitem-gsbp-e1f1d2b.gs-accordion-item .gs-accordion-item__title {
	border-bottom: 3px solid #2a85c3 !important;
	padding-bottom: 5px;
}

div > #block-23 > #gspb_accordion-id-gsbp-85ca208 #gspb-accordion-item-content-gsbp-e1f1d2b {
	border-radius: 7px;
}

#gspb_accordion-id-gsbp-1428871 .gs-accordion-item.gsopen > .gs-accordion-item__content {
	border-radius: 7px;
}

#gspb_accordionitem-gsbp-1428871 > #gs-trigger-gsbp-1428871-0 strong,
#gspb_accordionitem-gsbp-e1f1d2b > #gs-trigger-gsbp-85ca208-0 strong,
#gspb_accordionitem-gsbp-e5ad8af > #gs-trigger-gsbp-ce449de-0 strong {
	font-family: ct_font_kvc_computer;
	font-size: larger;
	letter-spacing: 0.5px;
}

#block-24 > #gspb_accordion-id-gsbp-1428871 #gs-trigger-gsbp-1428871-0 > div {
	font-family: ct_font_kvc_computer;
	font-size: larger;
	letter-spacing: 0.5px;
	font-weight: 700;
}

div > #block-24 > #gspb_accordion-id-gsbp-1428871 #gs-trigger-gsbp-1428871-0 {
	padding-left: 0px;
	padding-bottom: 6px;
	padding-top: 0px;
	padding-right: 0px;
	border-bottom: 3px solid #2a85c3 !important;
	border-style: solid;
	border-width: 1px;
}

/* --------------------------------------------------------------------------
   LAYOUT & SPACING FIXES
   -------------------------------------------------------------------------- */
#main #gspb_row-id-gsbp-822defd {
	height: 120px;
}

#gspb_row-id-gsbp-822defd #gspb_col-id-gsbp-672ffc6 .gspb_row__content {
	margin-top: -60px;
}

#gspb_row-id-gsbp-839ef9e .gsbp-2e2445b > span {
	margin-left: -70px;
	margin-top: -20px !important;
}

.ct-container-full .gsbp-9a3f51a {
	margin-top: -40px;
	margin-left: -20px;
}

.gsbp-113540c {
	margin-top: -40px;
}

.gsbp-563c5be {
	margin-top: -50px !important;
}

#main .gsbp-302f294 {
	margin-bottom: -20px;
	margin-top: 0px;
}

.ct-container-full .gsbp-8709d32 {
	margin-top: -20px;
}

#gspb_container-id-gsbp-90d01df img {
	background: transparent !important;
	border-radius: 0px;
	box-shadow: none;
	border: 0px solid transparent;
}

.gspb_slider-id-gsbp-cf04f91 {
	max-width: 100vw !important;
}

.entry-summary-items #gspb_col-id-gsbp-9789a9e {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

#gspb_image-id-gsbp-16f58be img {
	padding-top: 8px;
}

#gspb_row-id-gsbp-6b9295e #gspb_heading-id-gsbp-21a1d7d,
#gspb_row-id-gsbp-6b9295e #gspb_heading-id-gsbp-043c495,
#gspb_row-id-gsbp-6b9295e #gspb_heading-id-gsbp-f380212 {
	margin-bottom: 10px !important;
}

div #gspb_text-id-gsbp-9bc5261 {
	padding-top: 15px;
	font-family: ct_font_kvc_computer, sans-serif;
	line-height: 1.4em;
	letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   SEARCH & AUTOCOMPLETE (FiboSearch)
   -------------------------------------------------------------------------- */
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
	background: rgba(0, 0, 0, 0);
}

.dgwt-wcas-details-product-sku,
.dgwt-wcas-details-desc {
	display: none;
}

.dgwt-wcas-suggestion.dgwt-wcas-suggestion-headline-v2 {
	font-family: 'ct_font_kvc_computer';
	font-size: large;
	color: #004aad;
}

.dgwt-wcas-st {
	font-family: 'ct_font_kvc_computer';
	font-size: medium;
	line-height: 1.4em;
}

a.dgwt-wcas-details-post-title,
a.dgwt-wcas-details-product-title {
	color: #333;
	display: block;
	line-height: 1.3em;
	font-size: medium;
	font-family: 'ct_font_kvc_computer';
	letter-spacing: 0.3px;
}

body .dgwt-wcas-datails-title {
	font-family: ct_font_kvc_computer, sans-serif;
	font-size: larger;
	letter-spacing: 0.5px;
}

body .dgwt-wcas-tax-product-details {
	font-family: ct_font_kvc_computer, sans-serif;
	font-size: large;
}

.dgwt-wcas-has-headings .dgwt-wcas-suggestion-headline .dgwt-wcas-st {
	font-size: 16px;
}

.dgwt-wcas-pd-price,
.dgwt-wcas-tpd-price {
	color: #004aad;
	font-size: 30px;
	margin-top: 0px !important;
}

.dgwt-wcas-sp {
	color: #004aad;
	font-weight: 600;
}

.dgwt-wcas-details-wrapp > .dgwt-wcas-details-inner-active .dgwt-wcas-details-hr {
	display: none;
}

.dgwt-wcas-details-wrapp > .dgwt-wcas-details-inner-active .dgwt-wcas-stock {
	font-size: 18px;
	line-height: 1.2em;
	font-weight: 600;
	text-align: right;
	border-top-style: solid;
	border-top-width: 1.5px;
	padding-top: 10px;
	margin-top: 20px;
	color: #004aad;
	border-color: #004aad;
}

.dgwt-wcas-details-wrapp {
	min-width: 370px !important;
	width: 50% !important;
	flex-basis: 50% !important;
}

.dgwt-wcas-details-wrapp img {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	max-height: 400px !important;
	object-fit: contain !important;
	border-radius: 20px !important;
	display: block !important;
	margin: 0px 0px 10px 0px !important;
	padding: 0 !important;
}

/* --------------------------------------------------------------------------
   WOOCOMMERCE & PRODUCTS
   -------------------------------------------------------------------------- */
.onsale,
.out-of-stock-badge,
[class*=ct-woo-badge-] {
	border-radius: 0 4px 4px 0;
	margin-left: -5px;
}

.woocommerce ul.products li.product {
	padding-left: 10px;
	padding-right: 10px;
}

[data-products] {
	position: relative;
	overflow: hidden;
}

[data-products] .woocommerce-loop-product__title,
[data-products] .woocommerce-loop-category__title {
	--theme-font-family: ct_font_kvc_computer, Sans-Serif;
	--theme-font-weight: 400;
	--theme-font-size: 16px;
	--theme-line-height: 1.4em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--theme-palette-color-4);
}

[data-products] .woocommerce-loop-product__title:hover,
[data-products] .woocommerce-loop-category__title:hover {
	color: var(--theme-palette-color-4);
}

[data-products] .product .entry-excerpt,
.ct-products-container .product p {
	font-size: 12px;
	text-align: left;
	line-height: 1.4em;
}

[data-products=type-2] .ct-woo-card-actions {
	border-block: 1px solid #aaaaaa50;
	width: 95%;
}

[data-products=type-2] .ct-woo-card-actions .price {
	flex-grow: 2;
}

[data-products=type-2] .ct-woo-card-actions .price:not(:only-child):after {
	background: #aaa;
}

.ct-woo-card-extra[data-type=type-1] {
	gap: 5px;
}

[data-products] .entry-meta {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
	position: absolute;
	bottom: 140px;
	left: 0;
	right: 0;
	text-align: center;
}

[data-products]:hover .entry-meta {
	opacity: 1;
	transform: translateY(0);
}

.single_add_to_cart_button {
	font-size: 20px !important;
}

.ct-product-additional-actions {
	--theme-font-size: 18px;
	margin-bottom: 5px !important;
}

.woocommerce div.product .woocommerce-tabs {
	padding-top: 40px;
}

.woocommerce-product-attributes th {
	border: none;
	width: 30%;
}

.woocommerce-tabs[data-type*=type-3] .ct-accordion-heading {
	line-height: 1.3em;
}

#tab-0 .entry-content table tr > td {
	border: none;
	line-height: 1.3em;
}

.form-row > .woocommerce-terms-and-conditions-wrapper > .woocommerce-terms-and-conditions-wrapper p {
	font-size: medium;
}

#payment p {
	font-size: 14px;
}

.wp-block-woocommerce-product-categories .wc-block-product-categories-list-item > a > span {
	font-family: ct_font_kvc_computer;
	font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   FORMS & INPUTS
   -------------------------------------------------------------------------- */
.ct-block-wrapper input {
	font-size: 20px;
	line-height: 1.4em;
	letter-spacing: 0.3px;
	font-weight: 500;
	text-shadow: none;
}

.ct-block-wrapper .wp-element-button {
	font-size: 17px;
	color: rgba(214, 214, 214, 1);
	letter-spacing: 0.3px;
	line-height: 1.3em;
}

.fluentform > #fluentform_3 .ff-btn {
	font-size: xx-large;
	font-family: ct_font_kvc_computer;
	line-height: 1.2em;
	letter-spacing: 0.5px;
}

fieldset #fluentform-recaptcha-3-1,
fieldset #fluentform-recaptcha-6-1 {
	display: flex;
	justify-content: center;
}

.fluentform > #fluentform_5 .ff-btn {
	background-color: var(--theme-palette-color-5, #E2EDEF);
	font-size: large;
	font-weight: 600;
	color: var(--theme-palette-color-4);
}

/* --------------------------------------------------------------------------
   SOCIAL LOGIN
   -------------------------------------------------------------------------- */
#loginform p + .twa--line-login {
	display: block !important;
}

.twa--line-login img {
	max-height: 100px !important;
}

div.nsl-container.nsl-container-block .nsl-container-buttons {
	display: grid !important;
	grid-template-columns: minmax(145px, auto);
	align-items: center;
	justify-content: center;
	transform: scale(1.4);
	margin-top: -20px;
}

#loginform a:nth-child(3) {
	display: none !important;
}

/* --------------------------------------------------------------------------
   PAGINATION & BREADCRUMBS
   -------------------------------------------------------------------------- */
article .ct-breadcrumbs {
	letter-spacing: 0.3px;
	margin-top: -20px;
}

[data-pagination=simple] .page-numbers.current,
[data-pagination=next_prev] .page-numbers.current {
	color: var(--theme-palette-color-4);
	background: rgba(0, 0, 0, 0);
	border: 2px solid #004aad;
	border-radius: 12px;
	font-size: large;
}

[data-pagination=simple] .page-numbers:not(.dots):hover,
[data-pagination=next_prev] .page-numbers:not(.dots):hover {
	border-color: var(--theme-link-hover-color);
	border-radius: 12px;
}

#main .ct-pagination {
	font-size: larger;
}

/* --------------------------------------------------------------------------
   INSTAGRAM / ROTATING BOX / WIDGETS
   -------------------------------------------------------------------------- */
.esf-insta-grid-skin .esf-insta-grid-wrapper .esf_insta_feed_fancy_popup {
	display: block;
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	background-position: center;
	background-size: contain;
	cursor: pointer;
	border-radius: 12px;
}

.rotating-box {
	perspective: 1000px;
}

.rotating-box .wrapper {
	height: 400px;
	transform-style: preserve-3d;
	transform: translateZ(-130px);
	transition: transform 350ms;
}

.rotating-box .wrapper:hover {
	transform: rotateY(-78deg) translateZ(20px);
}

.rotating-box .wrapper .poster,
.rotating-box .wrapper .info {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 260px;
	height: 400px;
	backface-visibility: hidden;
}

.rotating-box .wrapper .poster {
	transform: translateZ(130px);
}

.rotating-box .wrapper:hover .poster {
	box-shadow: inset 300px 0px 40px rgb(255 255 255 / 80%);
}

.rotating-box .wrapper .info {
	transform: rotateY(90deg) translateZ(130px);
	border: 1px solid #B8B5B5;
}

.rotating-box .wrapper::after {
	content: '';
	width: 260px;
	height: 260px;
	position: absolute;
	bottom: 0;
	box-shadow: 0 30px 50px rgb(0 0 0 / 30%);
	transform-origin: 100% 100%;
	transform: rotateX(90deg) translateY(130px);
	transition: box-shadow 350ms;
}

.rotating-box .wrapper:hover::after {
	box-shadow: 20px -5px 50px rgb(0 0 0 / 30%);
}

.entry-meta [data-type=pill] a {
	margin-bottom: 110px;
}

#gspb_row-id-gsbp-37ac2b4d-7038 {
	background-color: #004aad;
}

body #footer > div > .ct-container {
	border-top-width: 0px;
}

.ct-filter-widget[data-filter-criteria="taxonomy:product_brand"] {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ct-container-full .page-title {
	font-family: ct_font_kvc_computer, Sans-Serif;
	letter-spacing: 0.5px;
}

article#post-36 span.compareicon svg {
	display: none !important;
}

#header-menu-2 .ct-menu-badge {
	margin-bottom: 25px;
	letter-spacing: 0.5px;
}

.menu-item-13359 > *:first-child .ct-menu-badge {
	background-color: #0d63d4;
}

div .ct-language-switcher .ct-label {
	padding-top: 2px;
}

div[data-id="widget-area-1"],
div[data-id="widget-area-1"] .ct-widget.widget_polylang,
div[data-id="widget-area-1"] select {
	color: var(--theme-palette-color-6) !important;
	background-color: transparent !important;
	border-color: var(--theme-palette-color-6) !important;
}

div[data-id="widget-area-1"] select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: none !important;
	padding-right: 25px;
	position: relative;
	z-index: 1;
}

div[data-id="widget-area-1"] .ct-widget.widget_polylang {
	position: relative;
}

div[data-id="widget-area-1"] .ct-widget.widget_polylang::after {
	content: '';
	position: absolute;
	right: 3px;
	top: 50%;
	transform: translateY(-50%);
	width: 25px;
	height: 25px;
	background-color: var(--theme-palette-color-6) !important;
	-webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E');
	mask-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	pointer-events: none;
	z-index: 0;
}

html[data-skin="dark"] .ct-filter-widget .ct-media-container img {
	background-color: #ffffff !important;
	padding: 5px 10px !important;
	border-radius: 6px !important;
	box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2) !important;
}

.ct-filter-item .wp-post-image {
	background-color: #f5f5f5 !important;
	padding: 5px 10px !important;
	border-radius: 6px !important;
	box-shadow: 0 1px 4px rgba(255, 255, 255, 0.3) !important;
	width: auto !important;
	max-width: 100% !important;
	display: inline-block !important;
}

.ct-filter-widget .ct-tooltip {
	top: auto !important;
	bottom: 65% !important;
	left: 50% !important;
	transform: translate(-50%, -10px) !important;
	margin: 0 !important;
}

#main-container > #main .ct-related-posts {
	margin-top: 30px;
	padding-top: 30px;
}

.ct-container .entries .entry-meta {
	margin-bottom: 3px;
}

.ct-container .entry-title {
	margin-bottom: 0px;
}

/* ==========================================================================
   MEDIA QUERIES (Responsive Styles)
   ========================================================================== */

/* --- Tablet / Large Mobile (Max 1355px to 1024px) --- */
@media (max-width: 1355px) {
	[data-footer*="type-1"] .ct-footer [data-row*="bottom"] > div {
		--container-spacing: 30px;
		--columns-gap: 15px;
		--widgets-gap: 40px;
		--theme-border: none;
		--theme-border-top: none;
		--theme-border-bottom: none;
		--grid-template-columns: 1fr !important;
		justify-items: center !important;
	}
}

@media screen and (max-width: 1024px) {
	.entry-meta [data-type=pill] a {
		margin-bottom: 10px;
	}
	.entry-content > #gspb_row-id-gsbp-809e49d #gspb_heading-id-gsbp-1acbea7 {
		font-size: 42px;
	}

	.ct-footer [data-row] > div {
		grid-column-gap: var(--columns-gap, 10px);
	}

	.ct-product-additional-actions {
		margin-bottom: 8px !important;
	}

	.ct-container-full .ct-accordion-tab {
		padding-left: 50px;
		padding-right: 50px;
	}

	#main .gsbp-302f294 {
		transform: scale(0.85);
		transform-origin: 27% 20%;
		margin-bottom: -50px;
	}
	#main .entry-content > .wp-block-group {
		left: -10px;
	}
	
	[data-products] .product .entry-meta[data-id="bZK3QLBYckA-98i8Z0nKe"] {
		margin-bottom: 160px !important;
	}

	.gspb-bodyfront .gsbp-6c334a8 > span {
		position: relative;
	}

	.ct-product-card .ct-tax-badge {
		padding-top: 5px;
		padding-bottom: 5px;
		padding-left: 10px;
		padding-right: 10px;
		font-size: 13px;
	}
}

@media screen and (max-width: 999px) {
	#gspb_accordion-id-gsbp-ce449de .gs-accordion-item > .gs-accordion-item__title {
		padding-right: 0px !important;
	}

	div > #block-21 > #gspb_accordion-id-gsbp-ce449de #gs-trigger-gsbp-ce449de-0,
	div > #block-24 > #gspb_accordion-id-gsbp-1428871 #gs-trigger-gsbp-1428871-0,
	div > #block-23 > #gspb_accordion-id-gsbp-85ca208 #gs-trigger-gsbp-85ca208-0 {
		width: 90vw !important;
	}
}

/* --- Mobile Landscape / Tablet Portrait (Max 768px) --- */
@media (min-width: 768px) {
	#tab-0 .entry-content table tr > td {
		width: -50% !important;
	}
}

@media screen and (max-width: 768px) {
	#gspb_row-id-gsbp-414227d .t-panel-container {
		padding: 30px 0px 30px;
	}
	.ct-container-full .gspb_tabs-id-gsbp-e2af319 > .t-panel-container {
		padding: 30px 0px 30px;
	}
	.ct-container-full .gspb_tabs-id-gsbp-af62062 > .t-panel-container {
		padding: 30px 0px 30px;
	}
	.gsbp-6c334a8,
	.gsbp-2e2445b {
		display: flex;
		width: 80vw;
		text-align: center;
	}
	
	.ff-t-container .ff-el-form-top label,
	.ff_columns_total_2 > .ff-t-cell > .ff-el-group label,
	#fluentform_5 > fieldset > .ff-el-group label,
	.ff_columns_total_1 .ff-el-input--label > label {
		font-size: 18px;
	}
	.fluentform > #fluentform_5 .ff-btn {
		font-size: 20px;
		font-weight: 600;
	}

	#block-21 > #gspb_accordion-id-gsbp-ce449de #gspb-accordion-item-content-gsbp-e5ad8af > div {
		width: 90vw !important;
	}
	div > #block-21 > #gspb_accordion-id-gsbp-ce449de #gs-trigger-gsbp-ce449de-0,
	div > #block-22 > #gspb_accordion-id-gsbp-3b40ba0 #gs-trigger-gsbp-3b40ba0-0,
	div > #block-23 > #gspb_accordion-id-gsbp-85ca208 #gs-trigger-gsbp-85ca208-0,
	#gspb_accordion-id-gsbp-85ca208 .gs-accordion-item,
	#footer #block-23 {
		width: 90vw !important;
	}

	.ct-footer [data-row] > div {
		grid-row-gap: var(--columns-gap, 5px);
	}
	body #footer > div > .ct-container {
		padding-top: 30px;
		padding-bottom: 20px;
	}
	div #gspb_text-id-gsbp-9bc5261 {
		margin-bottom: 25px;
	}

	.ct-block-wrapper input {
		font-size: 16px;
	}

	#block-13 .ct-filter-widget {
		gap: 3;
	}

	.ct-container-full .ct-accordion-tab {
		padding-left: 35px;
		padding-right: 35px;
	}

	#main .gsbp-302f294 {
		transform: scale(0.65);
		transform-origin: 6% 0%;
		margin-bottom: -90px;
	}
	#main .entry-content > .wp-block-group {
		left: 0px;
	}
	.entry-content .wp-block-column > .wp-block-group {
		scale: 1.2;
		left: 200px;
		margin-bottom: 60px;
	}

	[data-products] {
		text-align: center;
		--grid-columns-gap: 10px;
		--grid-rows-gap: 12px;
	}
	.ct-widget li ul,
	.ct-widget li ol {
		padding-inline-start: 0px;
	}
	.wc-block-product-template__responsive {
		grid-gap: 0.5em !important;
	}
	
	html body .esf_insta_feed_wraper .esf-insta-grid-skin .esf-insta-row.e-outer {
		grid-template-columns: repeat(2, 1fr) !important;
		margin-right: 3px;
		margin-left: 3px;
	}

	#tab-0 .entry-content table tr > td {
		width: 50% !important;
	}
	
	.ct-product-card .ct-tax-badge {
		padding-top: 4px;
		padding-bottom: 4px;
		padding-left: 8px;
		padding-right: 8px;
		font-size: 12px;
	}
	.gspb_tabs-id-gsbp-128175a .t-btn-container {
		padding-bottom: 0px !important;
		margin-bottom: 20px !important;
	}
}

/* --- Mobile (Max 667px) --- */
@media screen and (max-width: 667px) {
	#gspb_row-id-gsbp-809e49d .gsbp-6c334a8 > span {
		font-size: 7vw;
		margin-top: 30px;
	}

	#gspb_row-id-gsbp-414227d .t-panel-container {
		padding: 30px 0px 30px;
	}

	.ct-container-full .gspb_tabs-id-gsbp-e2af319 > .t-panel-container {
		padding: 30px 0px 30px;
	}

	.page #gspb_col-id-gsbp-7878ec3 {
		padding-bottom: 0px !important;
	}

	.ct-container-full #gspb_row-id-gsbp-3f48ec3 > .gspb_row__content {
		justify-content: center;
	}
	#gspb_row-id-gsbp-3f48ec3 #gspb_heading-id-gsbp-eb18828 {
		font-size: 34px;
		line-height: 1.5em;
	}
	#gspb_row-id-gsbp-3f48ec3 #gspb_text-id-gsbp-153861e {
		font-size: 25px;
		line-height: 1.5em;
	}
	#main-container > #main .post-navigation {
		display: none;
	}
}

/* --- Small Mobile (Max 375px) --- */
@media screen and (max-width: 375px) {
	#gspb_row-id-gsbp-809e49d .gsbp-6c334a8 > span {
		font-size: 7vw;
		margin-top: 15px;
	}
	#gspb_row-id-gsbp-3f48ec3 #gspb_heading-id-gsbp-eb18828 {
		font-size: 18px;
		line-height: 1.5em;
	}
	#gspb_row-id-gsbp-3f48ec3 #gspb_text-id-gsbp-153861e {
		font-size: 14px;
		line-height: 1.5em;
	}
	body #footer > div > .ct-container {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.ct-container-full .ct-accordion-tab {
		padding-left: 20px;
		padding-right: 20px;
	}
	article > #product-2957 .ct-accordion-tab > .ct-accordion-heading {
		text-align: start;
	}

	#main .gsbp-302f294 {
		transform: scale(0.29);
		transform-origin: 3% -15%;
		margin-bottom: -240px;
	}

	.page .efbl-halfwidth-skin {
		margin-left: 20px;
		margin-right: 20px;
	}

	.wc-block-product-template__responsive {
		grid-gap: 0.3em !important;
	}

	div #gspb_text-id-gsbp-9bc5261 {
		font-size: 14px;
	}
	
	#fluentform_6 > fieldset > .ff-el-group label {
		font-size: 18px !important;
	}
}