/* หน้าแรก: สไลด์ใหญ่ซ้าย ภาพนิ่งขวา 2 ช่อง ภาพทั้งหมดเป็น WebP และกำหนดขนาดกันหน้าเลื่อน */
.tsp-campaign{padding:30px 0 16px}.tsp-campaign-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px}.tsp-campaign-heading h1{font-size:25px!important;padding:0!important}.tsp-campaign-heading a{font-size:14px;color:#a44b00;font-weight:600}.tsp-campaign-grid{display:grid;grid-template-columns:minmax(0,3.3fr) minmax(0,1fr);gap:14px}.tsp-slider{position:relative;min-width:0;aspect-ratio:2.8;overflow:hidden;border-radius:16px;background:#fff0db}.tsp-slide{position:absolute;inset:0}.tsp-slide[hidden]{display:none!important}.tsp-slide>img{width:100%;height:100%;object-fit:cover;display:block}.tsp-slide-copy{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:28px 45px;width:54%;background:linear-gradient(90deg,#fffaf3a8,transparent)}.tsp-slide-copy small{font-size:11px;font-weight:700;letter-spacing:1px;color:#895116;margin-bottom:10px}.tsp-slide-copy h2{font-size:clamp(22px,2.15vw,32px)!important;line-height:1.4!important;padding-bottom:10px!important;font-weight:800!important}.tsp-slide-copy p{font-size:14px;line-height:1.65!important;margin:0 0 14px!important;color:#364f60}.tsp-slide-copy .tsp-btn{font-size:14px;min-height:40px;padding:9px 16px}.tsp-slider-arrow{position:absolute;top:44%;border:1px solid #dce3e7;background:#ffffffed;color:#172b3a;width:32px;height:44px;border-radius:7px;font-size:29px;cursor:pointer;line-height:1;z-index:2}.tsp-slider-prev{left:7px}.tsp-slider-next{right:7px}.tsp-slider-controls{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;z-index:2;background:#ffffffc9;border-radius:30px;padding:3px 10px}.tsp-slider-dot{width:10px;height:10px;padding:0;border:1px solid #84532a;border-radius:50%;background:#fff;cursor:pointer}.tsp-slider-dot[aria-current=true]{background:#b95700;width:24px;border-radius:10px}.tsp-slider-pause{font:inherit;font-size:11px;border:0;background:transparent;color:#172b3a;cursor:pointer;padding:1px 3px;min-height:26px}.tsp-campaign-side{display:grid;grid-template-rows:1fr 1fr;gap:14px;min-width:0}.tsp-campaign-card{position:relative;display:block;overflow:hidden;min-width:0;border-radius:12px;color:#172b3a!important;background:#fff0db}.tsp-campaign-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tsp-campaign-card>span{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;width:62%;height:100%;padding:17px;background:linear-gradient(90deg,#ffffff95,transparent)}.tsp-campaign-card strong{font-size:17px;line-height:1.4}.tsp-campaign-card small{font-size:11px;margin-top:8px;color:#6f3c0d}.tsp-campaign-card:hover{box-shadow:0 5px 17px #172b3a22}.tsp-campaign-foot{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:#5d6f7b;margin-top:10px}.tsp-campaign-foot a{color:#a44b00;font-weight:600}
/* หน้าสินค้า หน้าแรก หน้าร้าน หมวดสินค้า ตะกร้า และใบเสนอราคา: ปุ่มลด/เพิ่มรอบช่องจำนวนจริงของ WooCommerce */
.tsp-loop-quantity{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 3px;clear:both}.tsp-loop-quantity>span{font-size:13px;color:#647481}.tsp-qty-control.quantity{display:inline-flex!important;align-items:stretch!important;float:none!important;gap:0!important;width:122px!important;max-width:100%!important;height:40px!important;margin:0!important;vertical-align:middle;border:1px solid #d8e0e6;border-radius:8px;overflow:hidden;background:#fff}.tsp-qty-control .tsp-qty-button{flex:0 0 36px;width:36px;border:0!important;border-radius:0!important;background:#f1f5f7!important;color:#172b3a!important;font:600 22px/1 sans-serif!important;padding:0!important;cursor:pointer;min-height:38px!important;box-shadow:none!important}.tsp-qty-control .tsp-qty-button:hover{background:#fff0db!important}.tsp-qty-control .tsp-qty-button:disabled{color:#a5afb7!important;cursor:default;background:#f7f9fa!important}.tsp-qty-control.quantity input.qty{flex:1!important;width:48px!important;min-width:0!important;height:38px!important;max-width:none!important;margin:0!important;padding:5px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:center!important;background:#fff!important;color:#172b3a!important;font-size:15px!important;appearance:textfield!important;-moz-appearance:textfield!important}.tsp-qty-control input::-webkit-inner-spin-button,.tsp-qty-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}body.tsp-storefront.single-product .summary form.cart>.tsp-qty-control{margin:0 12px 12px 0!important}body.tsp-storefront ul.products li.product .tsp-loop-quantity .quantity{margin-left:auto!important}
/* ทุกหน้าสาธารณะ: ลูกศรกลับด้านบนอยู่ซ้าย แยกจากแชตด้านขวา และพ้นแถบเมนูมือถือ */
#tsp-back-top{position:fixed;left:20px;bottom:25px;z-index:99990;width:46px;height:46px;border:1px solid #d6e1e7;border-radius:50%;background:#fff;color:#172b3a;box-shadow:0 4px 20px #172b3a24;font-size:27px;line-height:1;cursor:pointer}#tsp-back-top[hidden]{display:none!important}.tsp-storefront .et_pb_scroll_top{display:none!important}
/* หน้าแรกและปุ่มลอยบนมือถือ: จัดสไลด์เต็มแถว ภาพนิ่งสองคอลัมน์ และเผื่อพื้นที่แชต */
@media(max-width:980px){.tsp-campaign-grid{grid-template-columns:minmax(0,1fr)}.tsp-slider{aspect-ratio:2.8}.tsp-campaign-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}.tsp-campaign-card{aspect-ratio:2.2}.tsp-campaign-card strong{font-size:19px}.tsp-campaign-card>span{padding:22px}.tsp-campaign-heading h1{font-size:23px!important}}
@media(max-width:600px){.tsp-campaign{padding-top:22px}.tsp-campaign-heading{align-items:flex-start}.tsp-campaign-heading h1{font-size:20px!important;max-width:65%}.tsp-campaign-heading a{font-size:12px}.tsp-slider{aspect-ratio:1.65}.tsp-slide>img{object-position:67% center}.tsp-slide-copy{width:68%;padding:20px 33px;background:linear-gradient(90deg,#fffaf3f0,#fffaf3c9 68%,transparent)}.tsp-slide-copy small{font-size:9px;margin-bottom:7px}.tsp-slide-copy h2{font-size:23px!important}.tsp-slide-copy p{font-size:12px;line-height:1.5!important;margin-bottom:9px!important}.tsp-slide-copy .tsp-btn{font-size:12px;min-height:35px;padding:7px 11px}.tsp-slider-arrow{width:26px;height:37px;font-size:25px}.tsp-slider-prev{left:3px}.tsp-slider-next{right:3px}.tsp-campaign-grid,.tsp-campaign-side{gap:10px}.tsp-campaign-card{aspect-ratio:1.5}.tsp-campaign-card>span{width:80%;padding:13px;background:linear-gradient(90deg,#ffffffc9,transparent)}.tsp-campaign-card strong{font-size:15px}.tsp-campaign-card small{font-size:10px}.tsp-campaign-foot{font-size:11px}.tsp-loop-quantity{flex-wrap:wrap;justify-content:center}.tsp-loop-quantity>span{display:none}.tsp-qty-control.quantity{width:112px!important}.tsp-qty-control .tsp-qty-button{flex-basis:32px;width:32px}#tsp-back-top{bottom:85px;left:14px;width:42px;height:42px}#heyspark-widget{bottom:80px!important}}
@media(prefers-reduced-motion:reduce){.tsp-campaign *{transition:none!important}}

/* หน้ารายละเอียดสินค้าทุกชิ้นที่ใช้ Divi: ใช้พื้น/ขอบ/ตัวอักษรเดียวกับหน้าร้าน ซ่อนแบนเนอร์ชื่อที่ซ้ำกับ H1 และเส้นตกแต่งเดิม */
body.single-product.tsp-storefront #main-content{background:#f7f9fb!important}body.single-product.tsp-storefront #main-content .et_pb_section{background:#f7f9fb!important;padding:24px 0!important}body.single-product.tsp-storefront #main-content .et_pb_section:first-child:has(.et_pb_heading):not(:has(.et_pb_wc_title)){display:none!important}body.single-product.tsp-storefront #main-content .et_pb_top_inside_divider,body.single-product.tsp-storefront #main-content .et_pb_bottom_inside_divider{display:none!important}body.single-product.tsp-storefront #main-content .et_pb_row{width:90%!important;max-width:1180px!important;padding:12px 0!important}body.single-product.tsp-storefront #main-content .et_pb_column_empty{display:none!important}body.single-product.tsp-storefront .et-l--header .et-menu a{font-size:15px!important}
/* หน้าสินค้า: ชื่อสินค้าแสดงครั้งเดียว พร้อมหัวนำขนาดเล็ก ปรับความยาวชื่อให้ตัดบรรทัดได้ */
body.single-product.tsp-storefront #main-content .et_pb_wc_title{margin-bottom:6px!important}body.single-product.tsp-storefront #main-content .et_pb_wc_title .et_pb_module_inner:before{content:'ตรังซัพพลาย · รายละเอียดสินค้า';display:block;font-size:12px;letter-spacing:1px;color:#985000;font-weight:600;margin-bottom:10px}body.single-product.tsp-storefront #main-content h1.product_title{font-size:clamp(25px,2.4vw,34px)!important;font-weight:700!important;line-height:1.5!important;letter-spacing:0!important;padding-bottom:8px!important;overflow-wrap:anywhere}
/* หน้าสินค้า: ภาพซ้ายและข้อมูลขวาเป็นกริดเดียวกัน รูปไม่ถูกครอป ราคาและปุ่มซื้อเห็นชัด */
body.single-product.tsp-storefront #main-content .et_pb_row:has(>.et_pb_column>.et_pb_wc_images){display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:32px;align-items:stretch}body.single-product.tsp-storefront #main-content .et_pb_row:has(>.et_pb_column>.et_pb_wc_images)>.et_pb_column{width:auto!important;min-width:0!important;float:none!important;margin:0!important}body.single-product.tsp-storefront #main-content .et_pb_row:has(>.et_pb_column>.et_pb_wc_images)>.et_pb_column:has(.et_pb_wc_price){background:#fff;border:1px solid #e1e8ed;border-radius:18px;padding:28px}body.single-product.tsp-storefront #main-content .et_pb_wc_images{background:#fff;border:1px solid #e1e8ed;border-radius:18px;padding:26px;margin-bottom:20px!important;position:sticky;top:50px}body.single-product.tsp-storefront #main-content .woocommerce-product-gallery{width:100%!important;margin:0!important;border:0!important;background:#fff}body.single-product.tsp-storefront #main-content .woocommerce-product-gallery__image img{width:100%!important;height:420px!important;object-fit:contain!important;border-radius:10px}body.single-product.tsp-storefront #main-content .et_pb_wc_price{background:transparent!important;padding:0!important;margin-bottom:20px!important}body.single-product.tsp-storefront #main-content .et_pb_wc_price .price{font-size:34px!important;line-height:1.4!important;font-weight:700!important;color:#ad5000!important;padding:0!important;margin:0!important}body.single-product.tsp-storefront #main-content .et_pb_wc_price .price del{font-size:20px!important;color:#73818b!important}body.single-product.tsp-storefront #main-content .et_pb_wc_add_to_cart{padding:0!important;background:transparent!important;margin-bottom:22px!important}body.single-product.tsp-storefront #main-content .et_pb_wc_add_to_cart form.cart{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:12px;margin:0!important;padding:0!important}body.single-product.tsp-storefront #main-content .et_pb_wc_add_to_cart form.cart>.quantity{margin:0!important}body.single-product.tsp-storefront #main-content .et_pb_wc_add_to_cart .single_add_to_cart_button{margin:0!important;border:1px solid #b95700!important;border-radius:9px!important;padding:11px 17px!important;min-height:44px;font-size:16px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important;box-shadow:none!important;text-align:center!important}body.single-product.tsp-storefront #main-content .et_pb_wc_add_to_cart button.single_add_to_cart_button{flex:1;background:#b95700!important;color:#fff!important}body.single-product.tsp-storefront #main-content .et_pb_wc_add_to_cart a.afrfqbt_single_page{flex-basis:100%;background:#fff!important;color:#a54c00!important}body.single-product.tsp-storefront #main-content .et_pb_wc_add_to_cart .single_add_to_cart_button:after{display:none!important}body.single-product.tsp-storefront #main-content .et_pb_wc_add_to_cart a.afrfqbt_single_page:hover{background:#fff6ea!important}
/* หน้าสินค้า: กล่องช่วยจัดซื้อ รายละเอียดเดิม และรหัส/หมวดสินค้า ข้อความคุณสมบัติ/ราคามาจากสินค้าจริง */
body.single-product.tsp-storefront #main-content .tsp-product-note{padding:16px!important;border-radius:12px;background:#fff7ec!important;border:1px solid #f2ddbd!important;margin-top:18px!important;font-size:13px;line-height:1.8}body.single-product.tsp-storefront #main-content .tsp-product-note strong{display:block;color:#172b3a;font-size:15px;margin-bottom:4px}body.single-product.tsp-storefront #main-content .tsp-product-note a{color:#a24b00;font-weight:600}body.single-product.tsp-storefront #main-content .tsp-product-contact{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:8px}body.single-product.tsp-storefront #main-content .et_pb_wc_description{margin-bottom:20px!important;font-size:15px!important;line-height:1.9!important;color:#405563}body.single-product.tsp-storefront #main-content .et_pb_wc_description:before{content:'รายละเอียดสินค้า';display:block;font-size:19px;color:#172b3a;font-weight:700;margin-bottom:12px}body.single-product.tsp-storefront #main-content .et_pb_wc_meta{border-top:1px solid #e5ebef;padding-top:18px;font-size:13px!important;color:#647581;line-height:1.9;overflow-wrap:anywhere}body.single-product.tsp-storefront #main-content .et_pb_wc_meta a{color:#705027!important}body.single-product.tsp-storefront #main-content .et_pb_code:has(.sfsi_widget){display:none!important}
/* หน้าสินค้า: รีวิวและสินค้าแนะนำใช้ความกว้างเต็มแถว ไม่เว้นคอลัมน์ว่างทางขวา */
body.single-product.tsp-storefront #main-content .et_pb_row:has(.et_pb_wc_reviews),body.single-product.tsp-storefront #main-content .et_pb_row:has(.et_pb_shop){display:block!important}body.single-product.tsp-storefront #main-content .et_pb_column:has(>.et_pb_wc_reviews),body.single-product.tsp-storefront #main-content .et_pb_column:has(>.et_pb_shop){width:100%!important;float:none!important;margin:0!important}body.single-product.tsp-storefront #main-content .et_pb_wc_reviews{background:#fff;border:1px solid #e1e8ed;border-radius:16px;padding:24px!important}body.single-product.tsp-storefront #main-content .et_pb_wc_reviews #comments h2{font-size:22px!important;font-weight:700!important}body.single-product.tsp-storefront #main-content .et_pb_wc_reviews p{font-size:14px;color:#647581}body.single-product.tsp-storefront #main-content .et_pb_heading h4{font-size:24px!important;font-weight:700!important}body.single-product.tsp-storefront #main-content ul.products{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}
/* หน้าสินค้าบนมือถือ/แท็บเล็ต: ภาพและข้อมูลเรียงลงมา ปุ่มซื้อ/ขอราคาเต็มพื้นที่สัมผัส รูปไม่ล้น */
@media(max-width:980px){body.single-product.tsp-storefront #main-content .et_pb_row:has(>.et_pb_column>.et_pb_wc_images){grid-template-columns:minmax(0,1fr)!important;gap:20px}body.single-product.tsp-storefront #main-content .et_pb_wc_images{position:relative;top:auto;margin-bottom:0!important}body.single-product.tsp-storefront #main-content .et_pb_row:has(>.et_pb_column>.et_pb_wc_images)>.et_pb_column:has(.et_pb_wc_price){padding:24px}body.single-product.tsp-storefront #main-content .woocommerce-product-gallery__image img{height:360px!important}}
@media(max-width:600px){body.single-product.tsp-storefront #main-content .et_pb_section{padding:14px 0!important}body.single-product.tsp-storefront #main-content .et_pb_wc_images{padding:18px}body.single-product.tsp-storefront #main-content .woocommerce-product-gallery__image img{height:285px!important}body.single-product.tsp-storefront #main-content .et_pb_row:has(>.et_pb_column>.et_pb_wc_images)>.et_pb_column:has(.et_pb_wc_price){padding:19px}body.single-product.tsp-storefront #main-content .et_pb_wc_price .price{font-size:29px!important}body.single-product.tsp-storefront #main-content .et_pb_wc_add_to_cart .single_add_to_cart_button{font-size:14px!important;padding:11px 12px!important}body.single-product.tsp-storefront #main-content ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.single-product.tsp-storefront #main-content .et_pb_wc_reviews{padding:19px!important}}

/* หน้าสินค้าทุกชิ้น: ให้ชื่อ H1 ของโมดูล Divi หนาชัด และกล่องคุณสมบัติใช้สีพื้นเดียวกับระบบใหม่ */
body.single-product.tsp-storefront #main-content .et_pb_wc_title h1{font-size:clamp(25px,2.4vw,34px)!important;font-weight:700!important;line-height:1.5!important;letter-spacing:0!important;padding-bottom:8px!important;overflow-wrap:anywhere}body.single-product.tsp-storefront #main-content .et_pb_wc_description{background:#f7f9fb!important;padding:18px!important;border-radius:12px!important}body.single-product.tsp-storefront #main-content .woocommerce-product-gallery__image{border:0!important}

/* หน้าสินค้า: เอาขอบส้มของภาพจากแม่แบบเก่าออก ให้ภาพอยู่ในกรอบสีอ่อนแบบเดียวกับการ์ดสินค้า */
body.single-product.tsp-storefront #main-content .et_pb_wc_images img.wp-post-image{border:0!important}
/* ทุกหน้าบนมือถือ: ช่องค้นหาเต็มแถว บัญชี/ตะกร้า/ใบเสนอราคาอยู่แถวเดียว ลดพื้นที่ส่วนหัว */
@media(max-width:600px){body.tsp-storefront .et-l--header .et_pb_section_0_tb_header{padding:10px 0!important}body.tsp-storefront .et-l--header .et_pb_row_0_tb_header{width:90%!important;max-width:1180px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;padding:0!important;margin:0 auto!important}body.tsp-storefront .et-l--header .et_pb_row_0_tb_header>.et_pb_column{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}body.tsp-storefront .et-l--header .et_pb_row_0_tb_header>.et_pb_column_0_tb_header{display:none!important}body.tsp-storefront #topMenu .et_pb_menu__wrap,body.tsp-storefront #topMenu .et_pb_menu_inner_container,body.tsp-storefront #topMenu .et_pb_menu__menu{display:block!important;margin:0!important;padding:0!important;width:100%!important}body.tsp-storefront #topMenu .et_mobile_nav_menu{display:none!important}body.tsp-storefront #topMenu .et-menu{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:18px!important;padding:0!important;margin:0!important;width:100%!important}body.tsp-storefront #topMenu .et-menu>li{display:flex!important;align-items:center!important;float:none!important;padding:0!important;margin:0!important;white-space:nowrap!important}body.tsp-storefront #topMenu .et-menu>li>a{display:flex!important;align-items:center!important;gap:5px!important;min-height:32px!important;padding:2px 0!important;margin:0!important;font-size:12px!important;line-height:1.4!important}body.tsp-storefront #topMenu{margin:0!important}body.tsp-storefront #topMenu .wpmenucart-icon-shopping-cart-0{margin:0!important}body.tsp-storefront #custom_search{max-width:none!important;width:100%!important}body.tsp-storefront #custom_search input[name=s]{min-width:0!important;min-height:40px!important;font-size:14px!important}body.tsp-storefront .et-l--header .et_pb_section_1_tb_header{padding:9px 0!important}}

/* หน้าแรก: หัวข้อกลุ่มสินค้าเดิมใน Divi เปลี่ยนกรอบโค้งส้มเป็นหัวข้อเข้ม แถบสีเล็ก และเส้นแบ่งที่สม่ำเสมอ */
body.home.tsp-storefront #main-content .et_pb_heading{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin-bottom:22px!important;width:100%!important}body.home.tsp-storefront #main-content .et_pb_heading .et_pb_heading_container{background:transparent!important;border:0!important;border-bottom:1px solid #e0e7ec!important;border-radius:0!important;padding:0 0 13px!important;display:block!important}body.home.tsp-storefront #main-content .et_pb_heading .et_pb_module_header{display:flex!important;align-items:center;gap:12px;border:0!important;padding:0!important;margin:0!important;font-size:24px!important;font-weight:700!important;line-height:1.5!important;color:#172b3a!important;letter-spacing:0!important}body.home.tsp-storefront #main-content .et_pb_heading .et_pb_module_header:before{content:'';display:block;flex:0 0 5px;width:5px;height:25px;background:#ef8300;border-radius:4px}
/* หน้าตะกร้าทั้งหน้า: พื้นสีอ่อนและหัวเรื่องกระชับ เอาแบนเนอร์คลื่นส้มเดิมออก แต่คงหัวเรื่องไว้ */
body.woocommerce-cart.tsp-storefront #main-content{background:#f7f9fb!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_section{background:#f7f9fb!important;padding:20px 0!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_top_inside_divider,body.woocommerce-cart.tsp-storefront #main-content .et_pb_bottom_inside_divider{display:none!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_row{width:90%!important;max-width:1180px!important;padding:0!important;margin-inline:auto!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_row_nested{width:100%!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_section:first-child{padding:32px 0 12px!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_heading{padding:0!important;margin:0!important;border:0!important;background:transparent!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_heading_container{padding:0!important;border:0!important;background:transparent!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_heading h2{font-size:32px!important;line-height:1.5!important;letter-spacing:0!important;font-weight:700!important;color:#172b3a!important;border:0!important;text-align:left!important;padding:0!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_heading h2:before{content:'ตรังซัพพลาย · ตะกร้าสินค้า';display:block;font-size:12px;letter-spacing:1px;color:#985000;margin-bottom:8px}body.woocommerce-cart.tsp-storefront #main-content .et_pb_heading h2:after{content:'ตรวจสอบรายการและจำนวนสินค้า ก่อนดำเนินการสั่งซื้อ';display:block;font-size:15px;font-weight:400;color:#637684;letter-spacing:0;margin-top:9px}
/* ตะกร้าเดสก์ท็อป: รายการซ้าย ยอดรวมขวา ใช้พื้นที่เต็มแถวของแม่แบบ */
body.woocommerce-cart.tsp-storefront #main-content .et_pb_column:has(>.et_pb_wc_cart_products){display:grid!important;grid-template-columns:minmax(0,1.85fr) minmax(315px,1fr);gap:24px;align-items:start;width:100%!important;margin:0!important;padding:0!important;background:transparent!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_wc_cart_products{min-width:0;background:#fff;border:1px solid #e0e8ed;border-radius:16px;padding:20px!important;margin:0!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_wc_cart_products table.cart{width:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;border-collapse:collapse!important}body.woocommerce-cart.tsp-storefront #main-content table.cart th{background:#f1f6f8!important;color:#425968!important;border:0!important;font-size:13px;padding:12px 9px!important}body.woocommerce-cart.tsp-storefront #main-content table.cart td{padding:16px 9px!important;border:0!important;border-bottom:1px solid #e7edf1!important;vertical-align:middle!important;background:#fff!important}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-remove{width:25px}body.woocommerce-cart.tsp-storefront #main-content table.cart a.remove{color:#9c4c29!important;background:#fff4ed!important;border-radius:50%;width:25px;height:25px;line-height:23px;font-size:21px}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-thumbnail{width:80px!important;min-width:64px!important}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-thumbnail img{width:66px!important;max-width:66px!important;height:72px!important;object-fit:contain!important;border:0!important}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-name a{color:#172b3a!important;font-size:15px!important;font-weight:600!important;line-height:1.65!important;overflow-wrap:anywhere}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-price,body.woocommerce-cart.tsp-storefront #main-content table.cart .product-subtotal{font-size:14px!important;white-space:nowrap}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-subtotal{font-weight:700;color:#172b3a}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-quantity{width:125px!important}body.woocommerce-cart.tsp-storefront #main-content table.cart td.actions{border:0!important;padding:18px 0 0!important}body.woocommerce-cart.tsp-storefront #main-content button[name=update_cart]{font-size:14px!important;min-height:43px!important;border-radius:8px!important;padding:11px 17px!important;background:#b95700!important;border:1px solid #b95700!important;color:#fff!important;margin:0!important}body.woocommerce-cart.tsp-storefront #main-content button[name=update_cart]:disabled{background:#edf2f5!important;border-color:#e0e7ec!important;color:#7b8993!important;opacity:1!important}body.woocommerce-cart.tsp-storefront #main-content button[name=update_cart]:after{display:none!important}
/* ตะกร้า: กล่องสรุปยอดและปุ่มไปชำระเงิน ราคากับค่าจัดส่งใช้ค่าจริงจาก WooCommerce */
body.woocommerce-cart.tsp-storefront #main-content .et_pb_wc_cart_totals{min-width:0;background:#fff;border:1px solid #e0e8ed;border-radius:16px;padding:25px!important;margin:0!important;position:sticky;top:45px}body.woocommerce-cart.tsp-storefront #main-content .cart_totals{float:none!important;width:100%!important;margin:0!important}body.woocommerce-cart.tsp-storefront #main-content .cart_totals>h2{font-size:23px!important;font-weight:700!important;line-height:1.4!important;margin-bottom:17px!important;padding:0!important}body.woocommerce-cart.tsp-storefront #main-content .cart_totals table{width:100%;border:0!important;border-radius:0!important;margin:0 0 15px!important}body.woocommerce-cart.tsp-storefront #main-content .cart_totals th,body.woocommerce-cart.tsp-storefront #main-content .cart_totals td{background:#fff!important;border:0!important;border-bottom:1px solid #e8edf1!important;padding:13px 0!important;font-size:14px!important;line-height:1.75!important;vertical-align:top}body.woocommerce-cart.tsp-storefront #main-content .cart_totals th{width:34%!important;color:#5b6e7b;font-weight:500!important}body.woocommerce-cart.tsp-storefront #main-content .cart_totals td{text-align:right!important;color:#172b3a}body.woocommerce-cart.tsp-storefront #main-content .cart_totals .order-total th{font-size:17px!important;font-weight:700!important;color:#172b3a}body.woocommerce-cart.tsp-storefront #main-content .cart_totals .order-total td{font-size:24px!important;font-weight:700!important;color:#ad5000!important}body.woocommerce-cart.tsp-storefront #main-content .cart_totals a{color:#a24b00}body.woocommerce-cart.tsp-storefront #main-content .wc-proceed-to-checkout{padding:5px 0 0!important}body.woocommerce-cart.tsp-storefront #main-content a.checkout-button{display:block!important;width:100%!important;box-sizing:border-box;border:1px solid #b95700!important;background:#b95700!important;color:#fff!important;border-radius:10px!important;font-size:16px!important;font-weight:700!important;line-height:1.5!important;text-align:center!important;padding:13px 14px!important;margin:0!important;min-height:49px!important}body.woocommerce-cart.tsp-storefront #main-content a.checkout-button:after{display:none!important}body.woocommerce-cart.tsp-storefront #main-content .cart_totals:after{content:'ตรวจสอบที่อยู่จัดส่งอีกครั้งในขั้นตอนถัดไป';display:block;color:#72818d;font-size:12px;line-height:1.7;text-align:center;margin-top:12px}
/* ตะกร้า: สินค้าแนะนำเต็มแถว และสถานะตะกร้าว่างไม่มีกรอบยอดรวมเปล่า */
body.woocommerce-cart.tsp-storefront #main-content .et_pb_column:has(>.et_pb_wc_related_products){width:100%!important;float:none!important;margin:0!important;padding:0!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_column_empty{display:none!important}body.woocommerce-cart.tsp-storefront #main-content .related.products>h2{font-size:24px!important;font-weight:700!important;color:#172b3a!important}body.woocommerce-cart.tsp-storefront #main-content .related ul.products{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_wc_cart_totals:not(:has(.cart_totals)){display:none!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_column:has(.cart-empty){grid-template-columns:minmax(0,1fr)!important}body.woocommerce-cart.tsp-storefront #main-content .cart-empty{background:#fff7ed;border:1px solid #f0dcc1;border-radius:12px;color:#172b3a}
/* ตะกร้าบนแท็บเล็ตและมือถือ: ยอดรวมเรียงต่อจากสินค้า มือถือเปลี่ยนแต่ละแถวเป็นรายการมีภาพและป้ายราคา/จำนวน */
@media(max-width:980px){body.woocommerce-cart.tsp-storefront #main-content .et_pb_column:has(>.et_pb_wc_cart_products){grid-template-columns:minmax(0,1fr)!important;gap:20px}body.woocommerce-cart.tsp-storefront #main-content .et_pb_wc_cart_totals{position:relative;top:auto}}
@media(max-width:600px){body.home.tsp-storefront #main-content .et_pb_heading .et_pb_module_header{font-size:21px!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_heading h2{font-size:27px!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_heading h2:after{font-size:13px}body.woocommerce-cart.tsp-storefront #main-content .et_pb_section:first-child{padding-top:24px!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_wc_cart_products{padding:8px 17px 17px!important}body.woocommerce-cart.tsp-storefront #main-content .et_pb_wc_cart_totals{padding:21px!important}body.woocommerce-cart.tsp-storefront #main-content table.cart thead{display:none!important}body.woocommerce-cart.tsp-storefront #main-content table.cart tr.cart_item{display:grid!important;grid-template-columns:66px minmax(0,1fr);gap:9px 12px;position:relative;padding:19px 0!important;border-bottom:1px solid #e6edf1}body.woocommerce-cart.tsp-storefront #main-content table.cart tr.cart_item td{border:0!important;padding:0!important;min-width:0!important;width:auto!important;background:transparent!important}body.woocommerce-cart.tsp-storefront #main-content table.cart tr.cart_item td:before{font-size:12px!important;color:#72838e;font-weight:400!important}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-remove{position:absolute;right:0;top:17px;z-index:2}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-thumbnail{display:block!important;grid-column:1;grid-row:1 / span 4;align-self:start}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-name{grid-column:2;text-align:left!important;padding-right:28px!important}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-name a{font-size:14px!important}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-price,body.woocommerce-cart.tsp-storefront #main-content table.cart .product-quantity,body.woocommerce-cart.tsp-storefront #main-content table.cart .product-subtotal{grid-column:2;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px}body.woocommerce-cart.tsp-storefront #main-content table.cart .product-name:before,body.woocommerce-cart.tsp-storefront #main-content table.cart .product-remove:before,body.woocommerce-cart.tsp-storefront #main-content table.cart .product-thumbnail:before{display:none!important}body.woocommerce-cart.tsp-storefront #main-content table.cart tr:has(>td.actions),body.woocommerce-cart.tsp-storefront #main-content table.cart td.actions{display:block!important}body.woocommerce-cart.tsp-storefront #main-content button[name=update_cart]{width:100%!important}body.woocommerce-cart.tsp-storefront #main-content .cart_totals tr{display:table-row!important}body.woocommerce-cart.tsp-storefront #main-content .cart_totals th,body.woocommerce-cart.tsp-storefront #main-content .cart_totals td{display:table-cell!important}body.woocommerce-cart.tsp-storefront #main-content .cart_totals td:before{display:none!important}body.woocommerce-cart.tsp-storefront #main-content .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* ตะกร้าทุกขนาดจอ: แม่แบบเดิมจำกัด section ไว้ 960px ขยายให้ตรงกับกรอบ 1180px ของทุกหน้า */
body.woocommerce-cart.tsp-storefront #main-content .et_pb_section{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
/* ตะกร้ามือถือ: เผื่อพื้นที่ปุ่มลบแยกจากชื่อสินค้า ไม่ให้ตัวอักษรถูกปุ่มบัง */
@media(max-width:600px){body.woocommerce-cart.tsp-storefront #main-content table.cart tr.cart_item td.product-name{padding-right:28px!important}}

/* หน้าแรกบนมือถือ: หัวข้อ/ปุ่มไม่ถูกตัดและจุดควบคุมอยู่ขวาล่าง ไม่ทับปุ่มเลือกสินค้า */
.tsp-campaign-heading h1{font-weight:700!important}
@media(max-width:600px){.tsp-slider{aspect-ratio:1.6}.tsp-slide-copy{width:74%;padding:18px 32px 31px}.tsp-slide-copy small{font-size:8px;letter-spacing:.5px;margin-bottom:6px}.tsp-slide-copy h2{font-size:20px!important;line-height:1.3!important;padding-bottom:10px!important}.tsp-slide-copy p{display:none}.tsp-slide-copy .tsp-btn{font-size:11px;min-height:34px;padding:7px 10px}.tsp-slider-controls{left:auto;right:8px;bottom:7px;transform:none;gap:6px;padding:2px 7px}}
@media(max-width:360px){.tsp-slide-copy small{display:none}.tsp-slide-copy h2{font-size:19px!important}}

/* ทุกหน้าบนมือถือ: ปุ่มมีคำว่า หมวดสินค้า แทนไอคอนล้วน แผงขวาเปิด/ปิดได้ด้วยปุ่ม พื้นหลัง และ Escape */
.tsp-menu-toggle{display:none}#tsp-mobile-drawer[hidden]{display:none!important}#tsp-mobile-drawer{position:fixed;inset:0;z-index:2147483000}body.tsp-drawer-open{overflow:hidden!important}.tsp-drawer-backdrop{position:absolute;inset:0;background:#142d3fc2}.tsp-drawer-panel{position:absolute;right:0;top:0;width:min(390px,92vw);height:100%;height:100dvh;background:#fff;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;box-shadow:-10px 0 45px #142d3f33;padding:22px 21px calc(25px + env(safe-area-inset-bottom));color:#172b3a;box-sizing:border-box}.tsp-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.tsp-drawer-head small{color:#a24b00;letter-spacing:1px;font-size:11px;font-weight:700}.tsp-drawer-head h2{font-size:24px!important;font-weight:700!important;line-height:1.4!important;padding:3px 0 0!important;margin:0!important}.tsp-drawer-close{flex:0 0 44px;width:44px;height:44px;border:1px solid #e0e7eb;border-radius:50%;background:#f5f8fa;color:#172b3a;font:400 30px/1 sans-serif;cursor:pointer}.tsp-drawer-search{display:flex;gap:0;margin:0 0 17px;border:1px solid #d9e3e9;border-radius:10px;overflow:hidden;min-height:46px;flex-shrink:0}.tsp-drawer-search input[type=search]{border:0!important;background:#f7f9fb!important;border-radius:0!important;min-width:0!important;width:100%;padding:10px 12px!important;color:#172b3a;font-size:14px!important;outline-offset:-3px!important}.tsp-drawer-search button{flex:0 0 63px;border:0;background:#b95700;color:#fff;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;padding:9px;cursor:pointer}#tsp-drawer-links{flex:1}#tsp-drawer-links ul{list-style:none!important;margin:0!important;padding:0!important}#tsp-drawer-links li{list-style:none!important;margin:0!important;padding:0!important;border-bottom:1px solid #edf1f4}#tsp-drawer-links a,#tsp-drawer-links button{width:100%;min-height:47px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:12px 11px!important;margin:0!important;border:0!important;border-radius:7px;background:transparent;color:#172b3a;font:inherit;font-size:15px;line-height:1.55!important;cursor:pointer;box-sizing:border-box}#tsp-drawer-links .tsp-drawer-menu>li>a,#tsp-drawer-links .tsp-drawer-menu>li>button{font-weight:600}#tsp-drawer-links .tsp-drawer-expand:after{content:'+';font:400 24px/1 sans-serif;color:#a24b00;width:25px;flex:0 0 25px;text-align:center}#tsp-drawer-links .tsp-drawer-expand[aria-expanded=true]:after{content:'−'}#tsp-drawer-links .tsp-drawer-expand[aria-expanded=true]{color:#a24b00;background:#fff4e6}#tsp-drawer-links .tsp-drawer-submenu{border-left:2px solid #f3d4ae;margin:4px 0 9px 12px!important;padding-left:9px!important}#tsp-drawer-links .tsp-drawer-submenu[hidden]{display:none!important}#tsp-drawer-links .tsp-drawer-submenu a,#tsp-drawer-links .tsp-drawer-submenu button{font-size:14px;min-height:44px}#tsp-drawer-links .tsp-drawer-all a{font-size:12px;color:#a24b00;font-weight:600;background:#fffaf3}#tsp-drawer-links .is-current>a{color:#a24b00;font-weight:700;background:#fff6e8}.tsp-drawer-contact{border-radius:12px;padding:16px;background:#f5f8fa;display:flex;flex-wrap:wrap;gap:8px 15px;margin-top:20px;flex-shrink:0}.tsp-drawer-contact strong{display:block;flex-basis:100%;font-size:14px}.tsp-drawer-contact a{font-size:13px;color:#a24b00}.tsp-mobilebar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tsp-menu-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(max-width:980px){body.tsp-nav-ready .et-l--header .et_pb_menu--with-logo .et_mobile_nav_menu,body.tsp-nav-ready .et-l--header .et_pb_menu--with-logo .et_pb_menu__menu{display:none!important}body.tsp-nav-ready .et-l--header .et_pb_menu--with-logo .et_pb_menu__wrap{justify-content:flex-end!important}.tsp-menu-toggle{display:inline-flex!important;align-items:center;gap:7px;min-height:44px;padding:9px 12px;border:1px solid #eccda5;border-radius:9px;background:#fff7ec;color:#9b4900;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}.tsp-mobilebar{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:6px max(7px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));position:fixed;bottom:0;left:0;right:0;width:100%;z-index:99980;background:#fff;border-top:1px solid #dce6ec;box-shadow:0 -5px 25px #172b3a0d}.tsp-mobilebar a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;padding:4px!important;border:0!important;border-radius:9px;background:transparent;color:#4d6372!important;font-size:11px!important;line-height:1.35!important;font-weight:600}.tsp-mobilebar a:last-child{background:#b95700!important;color:#fff!important}.tsp-mobilebar a[aria-current=page]{color:#a24b00!important;background:#fff7ec}.tsp-mobilebar a:last-child[aria-current=page]{color:#fff!important}body.tsp-storefront{padding-bottom:75px!important}.tsp-drawer-panel{padding-top:20px}body.admin-bar #tsp-mobile-drawer{top:32px;height:calc(100dvh - 32px)}body.admin-bar .tsp-drawer-panel{height:100%}}
@media(max-width:782px){body.admin-bar #tsp-mobile-drawer{top:46px;height:calc(100dvh - 46px)}}
/* หน้าร้าน หมวด WooCommerce และชำระเงิน: หัวเรื่องแม่แบบเดิมใช้รูปแบบกระชับเดียวกับหน้าใหม่ */
body.tsp-storefront:not(.home):not(.single-product):not(.woocommerce-cart) #main-content .et-l--body>.et_builder_inner_content>.et_pb_section:first-child:has(.et_pb_heading){background:#f7f9fb!important;padding:32px 0 22px!important}body.tsp-storefront:not(.home):not(.single-product):not(.woocommerce-cart) #main-content .et-l--body>.et_builder_inner_content>.et_pb_section:first-child:has(.et_pb_heading) .et_pb_row{width:90%!important;max-width:1180px!important;padding:0!important}body.tsp-storefront:not(.home):not(.single-product):not(.woocommerce-cart) #main-content .et-l--body>.et_builder_inner_content>.et_pb_section:first-child:has(.et_pb_heading) .et_pb_heading,body.tsp-storefront:not(.home):not(.single-product):not(.woocommerce-cart) #main-content .et-l--body>.et_builder_inner_content>.et_pb_section:first-child:has(.et_pb_heading) .et_pb_heading_container{border:0!important;background:transparent!important;padding:0!important;margin:0!important}body.tsp-storefront:not(.home):not(.single-product):not(.woocommerce-cart) #main-content .et-l--body>.et_builder_inner_content>.et_pb_section:first-child:has(.et_pb_heading) .et_pb_module_header{color:#172b3a!important;font-size:32px!important;font-weight:700!important;line-height:1.5!important;letter-spacing:0!important;border:0!important;padding:0!important;text-align:left!important}body.tsp-storefront:not(.home):not(.single-product):not(.woocommerce-cart) #main-content .et-l--body>.et_builder_inner_content>.et_pb_section:first-child:has(.et_pb_heading) .et_pb_module_header:before{content:'ตรังซัพพลาย';display:block;font-size:12px;letter-spacing:1px;color:#985000;margin-bottom:9px}body.tsp-storefront:not(.home):not(.single-product):not(.woocommerce-cart) #main-content .et-l--body>.et_builder_inner_content>.et_pb_section:first-child:has(.et_pb_heading) .et_pb_bottom_inside_divider{display:none!important}

/* หน้าสินค้า: ปิดทั้งแถวสินค้าแนะนำเมื่อปิดการตั้งค่าหรือไม่มีรายการที่เลือก */
body.single-product.tsp-storefront #main-content .et_pb_row:has(.tsp-recommendations-empty){display:none!important}

/* เมนูมือถือ: เลื่อนเฉพาะรายการหมวด ให้ปุ่มปิด ช่องค้นหา และช่องทางติดต่ออยู่ในตำแหน่งเดิม */
.tsp-drawer-panel{overflow:hidden}.tsp-drawer-head{flex-shrink:0}#tsp-drawer-links{min-height:0;overflow-y:auto;overscroll-behavior:contain}

/* ทุกกลุ่มสินค้า หน้าแรก ร้าน หมวด และสินค้าแนะนำ: แสดงตามปกติทันที ไม่ใช้เอฟเฟกต์เข้า/ซูม/ลอยกับการ์ดและรูป */
body.tsp-storefront #main-content .et_pb_section:has(ul.products),body.tsp-storefront #main-content .et_pb_row:has(ul.products),body.tsp-storefront #main-content .et_pb_column:has(ul.products),body.tsp-storefront #main-content .et_pb_shop,body.tsp-storefront #main-content .et_pb_wc_related_products,body.tsp-storefront #main-content .et_pb_wc_upsells,body.tsp-storefront #main-content ul.products,body.tsp-storefront #main-content ul.products li.product,body.tsp-storefront #main-content ul.products li.product .et_shop_image,body.tsp-storefront #main-content ul.products li.product img{animation:none!important;transition:none!important;transform:none!important;opacity:1!important;visibility:visible!important}body.tsp-storefront #main-content ul.products li.product:hover{transform:none!important;box-shadow:0 4px 15px #172b3a04!important}body.tsp-storefront #main-content ul.products li.product .et_overlay{display:none!important}
/* มือถือ/แท็บเล็ตที่แสดงแถบล่าง: ยกปุ่มกลับบนให้พ้นทางลัด */
@media(max-width:980px){#tsp-back-top{bottom:85px}}

/* หน้าแรก: หัวข้อกระดาษ/หมึก/เครื่องคิดเลข/อื่น ๆ เนื้อหาใต้สะดวกซื้อฯ และบทความ แสดงนิ่งทันที ไม่เฟด เลื่อน ซูม หรือรอเข้า viewport */
body.home.tsp-storefront #main-content .et-l--post *,body.home.tsp-storefront #main-content .et-l--post *:before,body.home.tsp-storefront #main-content .et-l--post *:after{animation:none!important;transition:none!important}
body.home.tsp-storefront #main-content .et-l--post .et_pb_section,body.home.tsp-storefront #main-content .et-l--post .et_pb_row,body.home.tsp-storefront #main-content .et-l--post .et_pb_column,body.home.tsp-storefront #main-content .et-l--post .et_pb_module,body.home.tsp-storefront #main-content .et-l--post .et_pb_module_inner,body.home.tsp-storefront #main-content .et-l--post .et_animated,body.home.tsp-storefront #main-content .et-l--post [data-animation-style]{opacity:1!important;visibility:visible!important;transform:none!important;filter:none!important}
body.home.tsp-storefront #main-content .et_pb_post img,body.home.tsp-storefront #main-content .et_pb_post:hover img,body.home.tsp-storefront #main-content .et_pb_image_wrap{transform:none!important}body.home.tsp-storefront #main-content .et_pb_post .et_overlay{display:none!important}

/* ส่วนท้ายทุกหน้า: ตรา DBD มีขนาดอ่านได้ทั้งคอมและมือถือ ไม่ถูกย่อเหลือไอคอนเล็ก รูปต้นฉบับของหน่วยงานไม่ได้ถูกแก้ไข */
body.tsp-storefront .et-l--footer .et_pb_image:has(.tsp-dbd-badge){display:block!important;width:220px!important;max-width:100%!important;height:auto!important;margin:20px 0 0!important;opacity:1!important;visibility:visible!important;transform:none!important}body.tsp-storefront .et-l--footer .et_pb_image:has(.tsp-dbd-badge) a,body.tsp-storefront .et-l--footer .et_pb_image:has(.tsp-dbd-badge) .et_pb_image_wrap{display:block!important;width:100%!important;height:auto!important;border:0!important}body.tsp-storefront .et-l--footer img.tsp-dbd-badge{display:block!important;width:100%!important;max-width:220px!important;height:auto!important;object-fit:contain;border:0!important;opacity:1!important}

/* ภาพรวมหมวดสินค้าและจุดควบคุมสไลด์หน้าแรก */
.tsp-slide-copy h2{word-break:normal;overflow-wrap:break-word;text-wrap:balance}
.tsp-slider-controls{gap:0;padding:2px 8px;background:#fffffff0}
.tsp-slider .tsp-slider-dot{display:grid;place-items:center;flex:none;width:25px;height:28px;border:0;background:transparent}
body.tsp-storefront #page-container #main-content .tsp-slider .tsp-slider-dot[aria-current=true]{width:25px;background:transparent!important}
.tsp-slider-dot::after{content:"";width:9px;height:9px;border:1px solid #84532a;border-radius:10px;background:#fff}
.tsp-slider-dot[aria-current=true]::after{width:19px;background:var(--tsp-brand,#fc8229)}
.tsp-slider-pause{flex:none;min-height:28px;padding:1px 5px;white-space:nowrap}

/* ภาพเต็มกรอบสัดส่วน 2.8 ต่อ 1 และปุ่มควบคุมแยกจากภาพ */
.tsp-slider.tsp-slider--full{width:100%;min-height:0;aspect-ratio:auto;overflow:visible;background:none;border-radius:0}
.tsp-slider-stage{position:relative;aspect-ratio:2.8;overflow:hidden;border-radius:16px;background:#fff0db}
.tsp-slider-stage .tsp-slide-image{display:block;width:100%;height:100%;object-fit:contain}
.tsp-slide-banner-link{display:block;width:100%;height:100%}
.tsp-slide-banner-link:focus-visible{outline:3px solid #a64100;outline-offset:-4px}
.tsp-slider--full .tsp-slide-copy{width:49%;padding-right:8px;background:none}
.tsp-slider--full .tsp-slider-controls{position:static;transform:none;width:max-content;max-width:100%;margin:6px auto 0;padding:2px 4px;gap:0;justify-content:center;background:#fffffff0}
.tsp-slider--full .tsp-slider-arrow{position:static;flex:none;width:28px;height:28px;font-size:22px;border-radius:50%;line-height:1}
.tsp-campaign-grid:has(.tsp-slider--full) .tsp-campaign-side{margin-bottom:38px}
@media(max-width:980px){.tsp-campaign-grid:has(.tsp-slider--full) .tsp-campaign-side{margin-bottom:0}}
@media(max-width:600px){
 .tsp-slider-stage{border-radius:12px}
 .tsp-slider--full .tsp-slide-copy{width:51%;padding:5px 0 5px 13px}
 .tsp-slider--full .tsp-slide-copy small,.tsp-slider--full .tsp-slide-copy p{display:none}
 .tsp-slider--full .tsp-slide-copy h2{font-size:clamp(14px,4.2vw,20px)!important;line-height:1.25!important;padding-bottom:5px!important}
 .tsp-slider--full .tsp-slide-copy .tsp-btn{min-height:28px;padding:4px 8px}
}
.tsp-campaign-card.tsp-campaign-card--custom>img{object-fit:contain}