:root{--ed-accent:#03879a;--ed-accent-dark:#006d7d;--ed-yellow:#ffbd17;--ed-red:#e51c2b;--ed-text:#333;--ed-muted:#8a8a8a;--ed-border:#e5e5e5;--ed-bg:#f5f5f5;--ed-footer:#444;--ed-white:#fff;--ed-radius:2px;--ed-container:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ed-bg);color:var(--ed-text);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:var(--ed-accent)}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}.ed-container{width:min(calc(100% - 40px),var(--ed-container));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed!important;top:10px;left:10px;width:auto;height:auto;clip:auto;background:#fff;padding:10px;z-index:9999}.ed-icon{width:22px;height:22px;display:block}.site-header{background:#fff;border-bottom:1px solid #eee;position:relative;z-index:100}.ed-header-inner{min-height:64px;display:grid;grid-template-columns:250px 1fr auto;align-items:center;gap:28px}.custom-logo{max-width:210px;max-height:48px;width:auto}.ed-text-logo{font-size:21px;font-weight:800;text-transform:uppercase;letter-spacing:-.5px}.ed-text-logo span{display:inline-grid;place-items:center;background:#111;color:#fff;padding:2px 7px;margin-right:5px}.ed-header-search form,.ed-header-search .woocommerce-product-search{display:flex;width:min(100%,480px);max-width:100%;margin-left:auto}.ed-header-search input{width:100%;min-width:0;height:37px;border:1px solid #e3e7e9;background:#f5f7f8;padding:0 14px;outline:none}.ed-header-search button{width:auto;min-width:64px;flex:0 0 auto;padding:0 12px;white-space:nowrap;border:1px solid #e3e7e9;border-left:0;background:#f5f7f8;display:grid;place-items:center;cursor:pointer}.ed-header-search .ed-icon{width:17px;height:17px}.ed-header-actions{display:flex;align-items:center;gap:17px;color:#555}.ed-header-actions>a{position:relative}.ed-header-actions .ed-icon{width:20px;height:20px}.ed-currency-label{font-size:12px;white-space:nowrap}.ed-cart-count{position:absolute;right:-10px;top:-9px;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:var(--ed-red);color:#fff;font-size:10px;line-height:17px;text-align:center}.main-navigation{background:#fff;border-top:1px solid #f4f4f4}.main-navigation ul{list-style:none;margin:0;padding:0;display:flex;gap:28px}.main-navigation li{position:relative}.main-navigation a{display:block;padding:10px 0;font-size:13px}.main-navigation ul ul{position:absolute;display:none;top:100%;left:0;min-width:190px;background:#fff;padding:8px 16px;box-shadow:0 8px 24px rgba(0,0,0,.1);z-index:20}.main-navigation li:hover>ul{display:block}.main-navigation ul ul a{padding:8px 0}.ed-menu-toggle{display:none;border:0;background:transparent;padding:8px}.ed-menu-toggle .icon-close{display:none}.ed-home-main{padding:40px 0 75px}.ed-promo-banner{height:118px;display:flex;align-items:center;justify-content:center;gap:24px;padding:15px 35px;margin-bottom:20px;overflow:hidden;background-color:#65aaf5;background-size:cover;background-position:center;color:#fff;position:relative;text-transform:uppercase}.ed-promo-banner:before{content:"SALE";position:absolute;left:20px;top:-25px;font-size:100px;font-weight:900;color:#000;opacity:.85;line-height:1}.ed-promo-banner>*{position:relative;z-index:1}.ed-promo-banner strong{font-size:35px;line-height:1;text-shadow:0 2px 1px rgba(0,0,0,.08)}.ed-promo-banner b{font-size:78px;line-height:1;color:#ffc400}.ed-promo-sale{font-size:0}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:38px 28px;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.03);position:relative;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}.woocommerce ul.products li.product:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.08)}.woocommerce ul.products li.product a img{margin:0!important;width:100%;aspect-ratio:1/1;object-fit:cover;background:#eee}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.35;padding:10px 13px 0!important;margin:0;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.woocommerce ul.products li.product .price{display:block;color:#3d3d3d!important;font-size:15px!important;font-weight:500;padding:8px 13px 0;margin:0!important}.woocommerce ul.products li.product .price del{font-size:11px;color:#aaa;opacity:1}.woocommerce ul.products li.product .price ins{text-decoration:none}.woocommerce ul.products li.product .onsale{top:0!important;right:0!important;left:auto!important;margin:0!important;min-width:44px!important;min-height:auto!important;border-radius:0!important;padding:4px 7px!important;line-height:1.4!important;background:var(--ed-red)!important;font-size:11px!important;font-weight:700!important}.ed-product-sales{font-size:10px;color:#aaa;padding:3px 13px 10px;min-height:29px}.ed-loop-rating{position:absolute;bottom:9px;right:10px}.ed-loop-rating .star-rating{font-size:12px;margin:0!important;color:var(--ed-yellow)}.woocommerce ul.products li.product .button{display:none}.woocommerce nav.woocommerce-pagination{margin-top:42px}.woocommerce nav.woocommerce-pagination ul{border:0!important}.woocommerce nav.woocommerce-pagination ul li{border:0!important;margin:0 3px!important}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{background:#fff!important;border:1px solid #ddd!important;min-width:38px;padding:10px!important}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ed-accent)!important;color:#fff!important;border-color:var(--ed-accent)!important}.ed-newsletter{background:#fff;padding:54px 0 48px;text-align:center}.ed-newsletter-inner{max-width:620px}.ed-newsletter-icon{display:flex;justify-content:center}.ed-newsletter-icon .ed-icon{width:38px;height:38px}.ed-newsletter h2{font-size:24px;text-transform:uppercase;margin:5px 0 8px}.ed-newsletter p{margin:0 0 22px;color:#555}.ed-newsletter-form form{display:flex;max-width:560px;margin:auto}.ed-newsletter-form input{height:44px;flex:1;border:1px solid #ddd;padding:0 14px}.ed-newsletter-form button{border:0;background:var(--ed-accent);color:#fff;padding:0 22px;font-size:12px;font-weight:700;text-transform:uppercase;cursor:pointer}.ed-newsletter-form button:hover{background:var(--ed-accent-dark)}.site-footer{background:var(--ed-footer);color:#fff;padding:45px 0 25px}.ed-footer-widgets{display:grid;grid-template-columns:repeat(4,1fr);gap:55px}.site-footer h3,.site-footer .widget-title{margin:0 0 14px;text-transform:uppercase;font-size:12px}.site-footer p,.site-footer li,.site-footer a{font-size:12px;color:#fff}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:4px 0}.site-footer a:hover{color:#7fd5df}.ed-footer-bottom{margin-top:48px;text-align:center;border-top:1px solid rgba(255,255,255,.08);padding-top:22px}.ed-payment-badges{display:flex;gap:7px;justify-content:center;margin-bottom:24px}.ed-payment-badges span{background:#fff;color:#222;padding:3px 8px;border-radius:2px;font-size:10px;font-weight:700}.ed-footer-bottom p{font-size:12px}.ed-back-to-top{position:fixed;right:30px;bottom:25px;width:42px;height:42px;border:0;background:#555;color:#fff;display:grid;place-items:center;opacity:0;visibility:hidden;transition:.2s;cursor:pointer;z-index:50}.ed-back-to-top.is-visible{opacity:.7;visibility:visible}.ed-back-to-top:hover{opacity:1}.ed-back-to-top .ed-icon{width:18px}.ed-shop-main{padding:30px 0 70px;min-height:360px}.ed-shop-container{width:min(calc(100% - 40px),var(--ed-container))}.ed-shop-container>.woocommerce{width:100%}.ed-shop-container .woocommerce-products-header,.ed-shop-container .woocommerce-notices-wrapper,.ed-shop-container .woocommerce-info,.ed-shop-container .woocommerce-message,.ed-shop-container .woocommerce-error{max-width:100%}.ed-shop-container .woocommerce-products-header__title.page-title{margin:0 0 22px;font-size:30px;line-height:1.25}.ed-shop-container .woocommerce-info{margin-bottom:0}
.site-main:not(.ed-home-main){padding:45px 0 70px}.ed-page-container{background:#fff;padding:35px;max-width:1000px}.entry-title{margin-top:0;font-size:34px}.entry-content{font-size:16px}.entry-content a{color:var(--ed-accent)}.entry-content img{margin:25px auto}.ed-posts-area{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.ed-post-card{background:#fff;border:1px solid var(--ed-border)}.ed-post-card-content{padding:20px}.ed-post-card h2{font-size:20px;margin:0 0 5px}.posted-on{font-size:12px;color:var(--ed-muted)}.ed-not-found{text-align:center;background:#fff;padding:80px 30px}.ed-404{font-size:120px;font-weight:900;line-height:1;color:var(--ed-accent)}.ed-not-found .search-form{display:flex;max-width:480px;margin:25px auto}.ed-not-found .search-field{flex:1;height:42px;border:1px solid #ddd;padding:0 12px}.ed-not-found .search-submit{width:46px;border:0;background:var(--ed-accent);color:#fff;display:grid;place-items:center}.ed-not-found .button{display:inline-block;background:var(--ed-accent);color:#fff;padding:11px 18px}.woocommerce .woocommerce-breadcrumb{font-size:12px;color:#888;margin-bottom:20px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:13px}.woocommerce .woocommerce-ordering select{height:38px;border:1px solid #ddd;background:#fff;padding:0 10px}.woocommerce div.product{background:#fff;padding:30px}.woocommerce div.product .product_title{font-size:30px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ed-accent);font-size:23px}.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt{background:var(--ed-accent)}.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--ed-accent-dark)}.woocommerce-cart table.cart,.woocommerce-checkout form.checkout,.woocommerce-account .woocommerce{background:#fff;padding:25px}.woocommerce table.shop_table{border-radius:0}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select{padding:11px;border:1px solid #ddd}.woocommerce-info,.woocommerce-message{border-top-color:var(--ed-accent)}.woocommerce-info:before,.woocommerce-message:before{color:var(--ed-accent)}
@media(max-width:1024px){.ed-header-inner{grid-template-columns:190px 1fr auto;gap:18px}.ed-currency-label{display:none}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.ed-footer-widgets{grid-template-columns:repeat(2,1fr)}.ed-promo-banner strong{font-size:27px}.ed-promo-banner b{font-size:65px}}
@media(max-width:760px){body{font-size:14px}.ed-shop-main{padding:24px 0 50px}.ed-shop-container{width:min(calc(100% - 24px),var(--ed-container))}.ed-container{width:min(calc(100% - 24px),var(--ed-container))}.ed-header-inner{min-height:58px;grid-template-columns:40px 1fr auto;gap:9px}.ed-menu-toggle{display:block}.ed-menu-toggle[aria-expanded=true] .icon-menu{display:none}.ed-menu-toggle[aria-expanded=true] .icon-close{display:block}.site-branding{text-align:center}.custom-logo{max-width:145px;max-height:42px;margin:auto}.ed-text-logo{font-size:16px}.ed-header-search{grid-column:1/-1;grid-row:2;padding-bottom:10px}.ed-header-search form,.ed-header-search .woocommerce-product-search{max-width:none;margin:0}.ed-header-actions{gap:13px}.ed-header-actions>a:first-of-type,.ed-header-actions>a:nth-of-type(2){display:none}.main-navigation{display:none;position:absolute;left:0;right:0;top:100%;box-shadow:0 12px 20px rgba(0,0,0,.12)}.main-navigation.is-open{display:block}.main-navigation ul{display:block;padding:8px 0}.main-navigation a{padding:11px 5px;border-bottom:1px solid #eee}.main-navigation ul ul{position:static;box-shadow:none;display:block;padding:0 0 0 18px}.ed-home-main{padding:22px 0 50px}.ed-promo-banner{height:92px;padding:12px;gap:8px;margin-bottom:14px}.ed-promo-banner:before{font-size:70px;left:5px;top:-10px}.ed-promo-banner strong{font-size:19px;max-width:65%;text-align:center}.ed-promo-banner b{font-size:43px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding-inline:9px!important;font-size:12px!important}.woocommerce ul.products li.product .price{padding-inline:9px;font-size:13px!important}.ed-product-sales{padding-inline:9px;font-size:9px}.ed-loop-rating{right:6px;bottom:8px}.ed-loop-rating .star-rating{font-size:10px}.ed-newsletter{padding:40px 0}.ed-newsletter h2{font-size:20px}.ed-newsletter-form form{display:grid;grid-template-columns:1fr auto}.ed-newsletter-form button{padding:0 14px}.ed-footer-widgets{grid-template-columns:1fr 1fr;gap:32px 22px}.site-footer{padding-top:35px}.ed-footer-bottom{margin-top:35px}.ed-page-container{padding:22px}.entry-title{font-size:28px}.ed-posts-area{grid-template-columns:1fr}.woocommerce div.product{padding:15px}.woocommerce-cart table.cart,.woocommerce-checkout form.checkout,.woocommerce-account .woocommerce{padding:14px}.ed-back-to-top{right:14px;bottom:14px}}
@media(max-width:420px){.woocommerce ul.products{gap:12px 8px}.ed-footer-widgets{grid-template-columns:1fr}.ed-promo-banner strong{font-size:16px}.ed-promo-banner b{font-size:36px}.ed-header-actions .ed-icon{width:19px;height:19px}}

/* ED Marketplace 1.1.0 typography and visual refinement */
:root{
  --ed-font:"IBM Plex Sans Thai Looped",sans-serif;
  --ed-container:1280px;
  --ed-radius:4px;
}
html,body,button,input,select,textarea{
  font-family:var(--ed-font);
}
body{
  font-size:16px;
  line-height:1.7;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
button,input,select,textarea{letter-spacing:0}
.site-header{box-shadow:0 1px 0 rgba(0,0,0,.03)}
.ed-header-inner{
  min-height:58px;
  grid-template-columns:280px minmax(280px,1fr) auto;
  gap:24px;
}
.custom-logo{max-width:242px;max-height:52px}
.ed-text-logo{font-size:24px;font-weight:700;letter-spacing:-.4px}
.ed-header-search form,.ed-header-search .woocommerce-product-search{width:min(100%,560px)}
.ed-header-search input,.ed-header-search button{height:44px}
.ed-header-search input{font-size:15px;padding-inline:16px}
.ed-header-search button{min-width:74px;padding-inline:16px;font-size:14px;font-weight:600;overflow:hidden}
.ed-header-actions{gap:15px}
.main-navigation ul{gap:24px}
.main-navigation a{padding:9px 0;font-size:15px;font-weight:500}
.ed-home-main{padding:34px 0 68px}
.woocommerce ul.products{gap:30px 24px}
.woocommerce ul.products li.product{
  border-radius:var(--ed-radius);
  box-shadow:0 2px 8px rgba(0,0,0,.035);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-4px);
  border-color:#dcdcdc;
  box-shadow:0 12px 28px rgba(0,0,0,.09);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:15px!important;
  font-weight:500;
  line-height:1.45;
  padding:12px 14px 0!important;
}
.woocommerce ul.products li.product .price{
  font-size:18px!important;
  font-weight:700;
  padding:8px 14px 0;
}
.woocommerce ul.products li.product .price del{font-size:13px;font-weight:400}
.ed-product-sales{font-size:11px;padding:4px 14px 12px;min-height:32px}
.woocommerce ul.products li.product .onsale{
  top:10px!important;
  right:10px!important;
  min-width:48px!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  box-shadow:0 3px 10px rgba(229,28,43,.25);
  font-size:11px!important;
  letter-spacing:.2px;
}
.ed-loop-rating{bottom:12px;right:12px}
.ed-loop-rating .star-rating{font-size:13px}
.ed-newsletter h2{font-size:28px;font-weight:700;letter-spacing:-.25px}
.ed-newsletter p{font-size:16px}
.site-footer{padding:50px 0 26px}
.site-footer h3,.site-footer .widget-title{font-size:14px;font-weight:700}
.site-footer p,.site-footer li,.site-footer a{font-size:14px;line-height:1.7}
.ed-footer-widgets{gap:48px}
.ed-footer-bottom p{font-size:13px}
.entry-title{font-size:42px;line-height:1.2;font-weight:700}
.entry-content{font-size:16px;line-height:1.8}
.ed-shop-container .woocommerce-products-header__title.page-title{font-size:42px;font-weight:700}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:14px}
.woocommerce div.product .product_title{font-size:36px;font-weight:700}

@media(max-width:1024px){
  .ed-header-inner{grid-template-columns:220px minmax(220px,1fr) auto;gap:16px}
  .custom-logo{max-width:205px}
  .ed-text-logo{font-size:21px}
}
@media(max-width:760px){
  body{font-size:15px}
  .ed-header-inner{min-height:56px;grid-template-columns:40px 1fr auto;gap:9px}
  .custom-logo{max-width:158px;max-height:44px}
  .ed-text-logo{font-size:18px}
  .ed-header-search input,.ed-header-search button{height:42px}
  .main-navigation a{font-size:15px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;padding-inline:10px!important}
  .woocommerce ul.products li.product .price{font-size:15px!important;padding-inline:10px}
  .ed-product-sales{font-size:10px;padding-inline:10px}
  .woocommerce ul.products li.product .onsale{top:6px!important;right:6px!important;min-width:42px!important;padding:4px 7px!important;font-size:10px!important}
  .ed-newsletter h2{font-size:23px}
  .entry-title,.ed-shop-container .woocommerce-products-header__title.page-title{font-size:32px}
}

/* ED Marketplace 1.2.0: two-level smart sticky header */
:root{--ed-container:1280px;--ed-header-top-height:78px;--ed-nav-height:50px}
body,button,input,select,textarea{font-family:"IBM Plex Sans Thai Looped",sans-serif}
.site-header{position:sticky;top:0;z-index:1000;background:#fff;transition:box-shadow .2s ease}
.admin-bar .site-header{top:32px}
.ed-header-primary{position:relative;z-index:2;background:#fff}
.ed-header-inner{min-height:var(--ed-header-top-height);grid-template-columns:minmax(210px,260px) minmax(280px,1fr) auto;gap:28px}
.site-header.is-scrolled{box-shadow:0 4px 18px rgba(0,0,0,.08)}
.main-navigation{max-height:var(--ed-nav-height);overflow:visible;opacity:1;transform:translateY(0);transition:max-height .22s ease,opacity .18s ease,transform .22s ease,border-color .22s ease}
.main-navigation .ed-container{display:flex;justify-content:center}
.main-navigation ul{min-height:var(--ed-nav-height);align-items:center;justify-content:center;gap:34px}
.main-navigation a{padding:13px 0;font-size:15px;font-weight:600;white-space:nowrap}
.site-header.is-scroll-down .main-navigation{max-height:0;opacity:0;transform:translateY(-100%);overflow:hidden;border-color:transparent;pointer-events:none}
.site-header.is-scroll-up .main-navigation{max-height:var(--ed-nav-height);opacity:1;transform:translateY(0);pointer-events:auto}
.ed-header-search form,.ed-header-search .woocommerce-product-search{width:min(100%,620px)}
.ed-header-search input,.ed-header-search button{height:46px}
.ed-header-search button{min-width:82px;font-weight:600}

/* Requested product-card typography */
.ed-product-sales{font-size:13px}
.woocommerce ul.products li.product .price del{font-size:14px}

/* Keep block-checkout order summary compact by removing product descriptions. */
.wc-block-components-product-details__description,
.wc-block-components-product-metadata__description,
.wc-block-components-order-summary-item__description{display:none!important}

@media(max-width:782px){
  .admin-bar .site-header{top:46px}
}
@media(max-width:1024px){
  :root{--ed-header-top-height:70px}
  .ed-header-inner{grid-template-columns:200px minmax(220px,1fr) auto;gap:16px}
  .main-navigation ul{gap:22px}
  .main-navigation a{font-size:14px}
}
@media(max-width:760px){
  :root{--ed-header-top-height:60px;--ed-nav-height:0px}
  .site-header{position:sticky}
  .ed-header-inner{grid-template-columns:40px 1fr auto;min-height:var(--ed-header-top-height)}
  .main-navigation,.site-header.is-scroll-up .main-navigation,.site-header.is-scroll-down .main-navigation{max-height:none;opacity:1;transform:none;overflow:visible}
  .main-navigation .ed-container{display:block}
  .main-navigation ul{min-height:0;display:block}
  .ed-header-search{display:none}
}

/* ED Marketplace 1.2.1: compact header, sale badge, and wishlist */
:root{--ed-header-top-height:64px;--ed-nav-height:44px}
.ed-header-inner{min-height:var(--ed-header-top-height);grid-template-columns:minmax(200px,250px) minmax(260px,1fr) auto;gap:22px}
.custom-logo{max-height:44px}
.ed-header-search input,.ed-header-search button{height:38px}
.ed-header-search button{min-width:72px;padding-inline:13px;font-size:13px}
.main-navigation ul{min-height:var(--ed-nav-height)}
.main-navigation a{padding:10px 0}

.woocommerce ul.products li.product .onsale{
  top:10px!important;
  right:10px!important;
  min-width:46px!important;
  padding:5px 8px!important;
  border-radius:2px!important;
  background:#e51c2b!important;
  box-shadow:0 2px 7px rgba(229,28,43,.22);
  font-size:12px!important;
  line-height:1.2!important;
  letter-spacing:0;
}

.ed-wishlist-button{
  position:absolute;
  top:10px;
  left:10px;
  z-index:6;
  width:34px;
  height:34px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:#333;
  display:grid;
  place-items:center;
  padding:0;
  cursor:pointer;
  font-size:22px;
  line-height:1;
  transition:transform .18s ease,background .18s ease,color .18s ease;
}
.ed-wishlist-button:hover{transform:scale(1.06);background:#fff;color:#e51c2b}
.ed-wishlist-button.is-active{background:#e51c2b;color:#fff;border-color:#e51c2b}
.single-product div.product .summary .ed-wishlist-button{position:relative;top:auto;left:auto;margin-top:14px;width:auto;height:40px;border-radius:3px;padding:0 16px;font-size:20px;display:inline-flex;gap:8px}
.single-product div.product .summary .ed-wishlist-button:after{content:"Wishlist";font-size:14px;font-weight:600}
.ed-wishlist-page{background:#fff;padding:32px}
.ed-wishlist-page .products{margin-top:24px!important}
.ed-wishlist-empty{margin-bottom:18px}

@media(max-width:1024px){
  :root{--ed-header-top-height:60px;--ed-nav-height:42px}
  .ed-header-inner{grid-template-columns:190px minmax(220px,1fr) auto;gap:14px}
  .ed-header-search input,.ed-header-search button{height:36px}
}
@media(max-width:760px){
  :root{--ed-header-top-height:56px}
  .ed-header-inner{min-height:var(--ed-header-top-height)}
  .ed-wishlist-page{padding:20px 14px}
  .ed-wishlist-button{top:7px;left:7px;width:31px;height:31px;font-size:20px}
}

/* v1.2.6: keep v1.2.1 Shop and single-product layouts, while retaining later visual fixes. */
.ed-promo-banner:before{
  left:20px;
  top:0;
  line-height:1;
}
.ed-payment-badges img{
  display:block;
  height:25px;
  width:auto;
  max-width:58px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  object-fit:contain;
}


/* v1.2.7: keep wishlist and discount badges inside product images on all loops. */
.woocommerce ul.products li.product{position:relative}
.woocommerce ul.products li.product > .ed-wishlist-button{
  position:absolute;
  top:10px;
  left:10px;
  z-index:12;
}
.woocommerce ul.products li.product .onsale{z-index:11}
.related.products ul.products li.product > .ed-wishlist-button,
.cross-sells ul.products li.product > .ed-wishlist-button,
.up-sells ul.products li.product > .ed-wishlist-button{
  width:34px;
  height:34px;
  border-radius:50%;
  padding:0;
  font-size:22px;
}
.related.products ul.products li.product > .ed-wishlist-button:after,
.cross-sells ul.products li.product > .ed-wishlist-button:after,
.up-sells ul.products li.product > .ed-wishlist-button:after{content:none}
@media(max-width:760px){
  .woocommerce ul.products li.product > .ed-wishlist-button{top:7px;left:7px}
}


/* v1.2.8: reliable wishlist page and single-product image overlays. */
.ed-wishlist-page{
  width:100%;
}
.ed-wishlist-page > .entry-title{
  margin:0 0 24px;
}
.ed-wishlist-page .woocommerce-info{
  margin-top:0;
}

.single-product .woocommerce-product-gallery{
  position:relative;
}
.single-product .woocommerce-product-gallery > .ed-single-gallery-sale{
  position:absolute!important;
  z-index:18!important;
  top:12px!important;
  right:12px!important;
  left:auto!important;
  margin:0!important;
  min-width:48px!important;
  min-height:auto!important;
  padding:5px 9px!important;
  border-radius:3px!important;
  line-height:1.35!important;
  background:#ed1c2e!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
}
.single-product .woocommerce-product-gallery > .ed-single-gallery-wishlist{
  position:absolute!important;
  z-index:19!important;
  top:12px!important;
  left:12px!important;
  right:auto!important;
  width:38px!important;
  height:38px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #e2e2e2!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#333!important;
  display:grid!important;
  place-items:center!important;
  font-size:24px!important;
  line-height:1!important;
  box-shadow:0 1px 4px rgba(0,0,0,.08)!important;
}
.single-product .woocommerce-product-gallery > .ed-single-gallery-wishlist:after{
  content:none!important;
}
.single-product .woocommerce-product-gallery > .ed-single-gallery-wishlist:hover,
.single-product .woocommerce-product-gallery > .ed-single-gallery-wishlist.is-active{
  background:#ed1c2e!important;
  color:#fff!important;
  border-color:#ed1c2e!important;
}

@media(max-width:760px){
  .single-product .woocommerce-product-gallery > .ed-single-gallery-sale{
    top:8px!important;
    right:8px!important;
  }
  .single-product .woocommerce-product-gallery > .ed-single-gallery-wishlist{
    top:8px!important;
    left:8px!important;
    width:34px!important;
    height:34px!important;
    font-size:21px!important;
  }
}

/* v1.2.9: gallery zoom position, responsive banner images, and unified footer options. */
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger{
  top:auto!important;
  right:12px!important;
  bottom:12px!important;
  left:auto!important;
  margin:0!important;
}

.ed-promo-banner{
  background-image:var(--ed-promo-desktop,none);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.ed-promo-banner:before{content:none!important}
.ed-promo-sale{
  position:absolute!important;
  left:20px;
  top:50%;
  transform:translateY(-50%);
  display:block;
  font-size:100px;
  font-weight:900;
  line-height:1;
  color:#000;
  opacity:.85;
}

@media(max-width:760px){
  .single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger{
    right:8px!important;
    bottom:8px!important;
  }
  .ed-promo-banner{
    min-height:300px;
    height:auto;
    padding:24px 18px;
    background-image:var(--ed-promo-mobile,var(--ed-promo-desktop,none));
    background-size:cover;
    flex-direction:column;
    gap:8px;
    text-align:center;
  }
  .ed-promo-sale{
    position:relative!important;
    left:auto;
    top:auto;
    transform:none;
    font-size:56px;
  }
}

/* Preserve the recommended banner ratios so uploaded artwork is not cropped. */
.ed-promo-banner{
  height:auto;
  min-height:0;
  aspect-ratio:10 / 1;
}
@media(max-width:760px){
  .ed-promo-banner{
    min-height:0;
    aspect-ratio:5 / 2;
    flex-direction:row;
    gap:10px;
    padding:14px;
  }
  .ed-promo-sale{
    position:relative!important;
    left:auto;
    top:auto;
    transform:none;
    font-size:42px;
  }
  .ed-promo-banner strong{font-size:18px}
  .ed-promo-banner b{font-size:36px}
}

/* v1.2.10: center the site logo precisely on mobile. */
@media(max-width:760px){
  .ed-header-inner{
    position:relative;
  }
  .site-branding{
    position:absolute;
    left:50%;
    top:7px;
    transform:translateX(-50%);
    z-index:3;
    width:max-content;
    max-width:calc(100% - 170px);
    text-align:center;
  }
  .site-branding .custom-logo-link,
  .site-branding .ed-text-logo{
    display:block;
    margin:0 auto;
  }
  .site-branding .custom-logo{
    margin:0 auto;
  }
}

@media(max-width:480px){
  .site-branding{
    max-width:calc(100% - 145px);
  }
  .custom-logo{max-width:132px}
  .ed-text-logo{font-size:15px}
}

/* v1.2.11: mobile viewport and header alignment fix. */
@media(max-width:760px){
  html,
  body,
  #page,
  .site,
  .site-header,
  .ed-header-primary{
    width:100%;
    max-width:100%;
  }

  html,
  body{
    overflow-x:hidden;
  }

  .ed-header-inner{
    width:100%;
    max-width:100%;
    min-height:60px;
    padding-inline:16px;
    margin:0;
    display:grid;
    grid-template-columns:72px minmax(0,1fr) 72px;
    column-gap:0;
    align-items:center;
    position:relative;
  }

  .ed-menu-toggle{
    grid-column:1;
    justify-self:start;
    margin:0;
  }

  .site-branding{
    position:static;
    grid-column:2;
    justify-self:center;
    transform:none;
    width:auto;
    max-width:100%;
    text-align:center;
  }

  .site-branding .custom-logo-link,
  .site-branding .ed-text-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    width:max-content;
    max-width:100%;
    margin:0 auto;
    white-space:nowrap;
  }

  .site-branding .custom-logo{
    max-width:150px;
    max-height:42px;
    margin:0 auto;
  }

  .ed-text-logo{
    font-size:16px;
    line-height:1;
  }

  .ed-header-actions{
    grid-column:3;
    justify-self:end;
    width:72px;
    min-width:72px;
    justify-content:flex-end;
    gap:10px;
  }

  .ed-header-actions > *{
    flex:0 0 auto;
  }
}

@media(max-width:380px){
  .ed-header-inner{
    grid-template-columns:62px minmax(0,1fr) 62px;
    padding-inline:10px;
  }
  .ed-header-actions{
    width:62px;
    min-width:62px;
    gap:7px;
  }
  .site-branding .custom-logo{max-width:132px}
  .ed-text-logo{font-size:14px}
}

/* v1.2.12: compact single-product layout on phones. */
@media(max-width:760px){
  .single-product .woocommerce div.product .summary{
    padding-top:18px;
  }

  .single-product .woocommerce div.product .product_title,
  .single-product h1.product_title{
    font-size:30px!important;
    line-height:1.22!important;
    letter-spacing:-.3px;
    margin:0 0 14px!important;
    overflow-wrap:anywhere;
  }

  .single-product .woocommerce-product-rating{
    margin-bottom:14px!important;
  }

  .single-product div.product p.price,
  .single-product div.product span.price{
    font-size:30px!important;
    line-height:1.2;
    margin-bottom:18px!important;
  }

  .single-product div.product p.price del,
  .single-product div.product span.price del{
    font-size:19px!important;
  }

  .single-product div.product .woocommerce-product-details__short-description{
    font-size:16px;
    line-height:1.65;
    margin-bottom:18px;
  }

  .single-product div.product form.cart{
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    gap:8px;
    margin-bottom:16px!important;
  }

  .single-product div.product form.cart .quantity,
  .single-product div.product form.cart .quantity .qty{
    width:100%!important;
    margin:0!important;
  }

  .single-product div.product form.cart .button{
    width:100%;
    min-height:46px;
    margin:0!important;
  }

  .single-product .woocommerce-product-gallery .flex-control-thumbs li{
    width:68px!important;
    margin-right:8px!important;
  }

  .single-product .woocommerce-product-gallery .flex-control-thumbs img{
    width:68px!important;
    height:68px!important;
    object-fit:cover;
  }

  .single-product .woocommerce-tabs,
  .single-product .related.products{
    margin-top:28px;
  }

  .single-product .related.products > h2,
  .single-product .woocommerce-tabs h2{
    font-size:22px;
    line-height:1.3;
  }
}

@media(max-width:390px){
  .single-product .woocommerce div.product .product_title,
  .single-product h1.product_title{
    font-size:28px!important;
    line-height:1.2!important;
  }

  .single-product div.product p.price,
  .single-product div.product span.price{
    font-size:28px!important;
  }

  .single-product div.product form.cart{
    grid-template-columns:64px minmax(0,1fr);
  }
}

/* v1.2.14: reliable mobile sticky add-to-cart bar. */
.ed-mobile-sticky-cart{display:none;}

@media(max-width:760px){
  body.single-product{padding-bottom:calc(84px + env(safe-area-inset-bottom));}

  .ed-mobile-sticky-cart{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:99999;
    display:block!important;
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    background:#fff;
    border-top:1px solid #ddd;
    box-shadow:0 -6px 20px rgba(0,0,0,.16);
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
  }

  .ed-mobile-sticky-cart__inner{
    width:100%;
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,42%) minmax(0,58%);
    gap:10px;
    align-items:center;
  }

  .ed-mobile-sticky-cart__price{
    min-width:0;
    overflow:hidden;
    color:#292929;
    font-size:21px;
    font-weight:700;
    line-height:1.05;
  }

  .ed-mobile-sticky-cart__price del{
    display:block;
    margin:0 0 2px;
    color:#999;
    font-size:13px;
    font-weight:400;
    line-height:1.05;
  }

  .ed-mobile-sticky-cart__price ins{
    display:block;
    text-decoration:none;
  }

  .ed-mobile-sticky-cart__button{
    width:100%;
    min-width:0;
    min-height:54px;
    padding:10px 12px;
    border:0;
    border-radius:2px;
    background:#078fa3;
    color:#fff;
    font-family:inherit;
    font-size:17px;
    font-weight:700;
    line-height:1.15;
    white-space:nowrap;
    cursor:pointer;
  }

  .ed-mobile-sticky-cart__button:disabled{background:#999;cursor:not-allowed;}

  /* Keep the original WooCommerce form readable and usable. */
  .single-product div.product form.cart{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:10px!important;
    align-items:stretch!important;
    width:100%!important;
  }

  .single-product div.product form.cart .quantity{
    flex:0 0 100%!important;
    width:100%!important;
    margin:0!important;
  }

  .single-product div.product form.cart .quantity .qty{
    width:100%!important;
    min-height:48px!important;
  }

  .single-product div.product form.cart .single_add_to_cart_button,
  .single-product div.product form.cart button[type="submit"]{
    display:block!important;
    flex:1 1 100%!important;
    width:100%!important;
    min-width:0!important;
    min-height:50px!important;
    margin:0!important;
    padding:12px 16px!important;
    white-space:nowrap!important;
    word-break:normal!important;
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
  }
}

@media(max-width:390px){
  .ed-mobile-sticky-cart__inner{grid-template-columns:minmax(0,40%) minmax(0,60%);gap:8px;}
  .ed-mobile-sticky-cart__price{font-size:19px;}
  .ed-mobile-sticky-cart__button{font-size:16px;}
}


/* v1.2.15: keep sales count and review stars on separate mobile rows. */
@media(max-width:760px){
  .woocommerce ul.products li.product .ed-product-sales{
    display:block!important;
    position:static!important;
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:5px 9px 1px!important;
    font-size:13px!important;
    line-height:1.35!important;
    color:#aaa!important;
    white-space:nowrap;
    clear:both;
  }

  .woocommerce ul.products li.product .ed-loop-rating{
    display:flex!important;
    position:static!important;
    width:100%!important;
    min-height:24px!important;
    margin:0!important;
    padding:1px 9px 9px!important;
    justify-content:flex-end;
    align-items:center;
    clear:both;
  }

  .woocommerce ul.products li.product .ed-loop-rating .star-rating{
    float:none!important;
    display:block!important;
    margin:0!important;
    font-size:13px!important;
    line-height:1!important;
  }
}


/* ED Marketplace 1.2.16: Wishlist product grid matches the Shop loop. */
.ed-wishlist-page.woocommerce{
  width:100%;
}
.ed-wishlist-page.woocommerce ul.products{
  margin-top:24px!important;
}
.ed-wishlist-page.woocommerce ul.products li.product{
  list-style:none!important;
}
.ed-wishlist-page.woocommerce ul.products li.product::marker{
  content:"";
}
@media(max-width:760px){
  .ed-wishlist-page.woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* ED Marketplace 1.2.17: unified primary button style. */
:where(
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce #respond input#submit,
  .wp-block-button__link,
  .button,
  button[type="submit"],
  input[type="submit"]
):not(.ed-menu-toggle):not(.ed-back-to-top):not(.ed-wishlist-button):not(.woocommerce-product-gallery__trigger):not(.ed-mobile-sticky-cart__button){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 22px;
  border:0!important;
  border-radius:0!important;
  background:var(--ed-accent)!important;
  color:#fff!important;
  font-family:var(--ed-font,"IBM Plex Sans Thai Looped",sans-serif);
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-align:center;
  text-decoration:none!important;
  white-space:nowrap;
  box-shadow:none!important;
  cursor:pointer;
  transition:background-color .18s ease,opacity .18s ease;
}

:where(
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce #respond input#submit,
  .wp-block-button__link,
  .button,
  button[type="submit"],
  input[type="submit"]
):not(.ed-menu-toggle):not(.ed-back-to-top):not(.ed-wishlist-button):not(.woocommerce-product-gallery__trigger):not(.ed-mobile-sticky-cart__button):hover,
:where(
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce #respond input#submit,
  .wp-block-button__link,
  .button,
  button[type="submit"],
  input[type="submit"]
):not(.ed-menu-toggle):not(.ed-back-to-top):not(.ed-wishlist-button):not(.woocommerce-product-gallery__trigger):not(.ed-mobile-sticky-cart__button):focus{
  background:var(--ed-accent-dark)!important;
  color:#fff!important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-form-coupon button,
.woocommerce-cart-form button[name="update_cart"]{
  width:100%;
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce input.button:disabled,
.woocommerce input.button:disabled[disabled]{
  background:#9aa3a6!important;
  color:#fff!important;
  opacity:.65!important;
  cursor:not-allowed;
}

.ed-newsletter-form button{
  min-height:44px;
  border-radius:0!important;
}

@media(max-width:760px){
  :where(
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce #respond input#submit,
    .wp-block-button__link,
    .button,
    button[type="submit"],
    input[type="submit"]
  ):not(.ed-menu-toggle):not(.ed-back-to-top):not(.ed-wishlist-button):not(.woocommerce-product-gallery__trigger):not(.ed-mobile-sticky-cart__button){
    min-height:46px;
    padding-inline:18px;
  }
}

/* ED Marketplace 1.2.18: keep the header search button neutral and fix checkout CTA colors. */
.ed-header-search button,
.ed-header-search button[type="submit"],
.ed-header-search .search-submit,
.ed-header-search .woocommerce-product-search button{
  min-height:0;
  height:38px;
  padding:0 13px;
  border:1px solid #e3e7e9!important;
  border-left:0!important;
  border-radius:0!important;
  background:#f5f7f8!important;
  color:#111!important;
  font-size:13px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.ed-header-search button:hover,
.ed-header-search button:focus,
.ed-header-search .search-submit:hover,
.ed-header-search .search-submit:focus,
.ed-header-search .woocommerce-product-search button:hover,
.ed-header-search .woocommerce-product-search button:focus{
  background:#eef1f2!important;
  color:#111!important;
}

/* Classic Cart and WooCommerce Cart Block checkout buttons. */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button.contained,
.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-cart__submit-container a.wc-block-components-button,
.wc-block-components-button.wc-block-cart__submit-button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:48px!important;
  padding:0 22px!important;
  border:0!important;
  border-radius:0!important;
  background:var(--ed-accent)!important;
  color:#fff!important;
  font-family:var(--ed-font,"IBM Plex Sans Thai Looped",sans-serif)!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-decoration:none!important;
  box-shadow:none!important;
  opacity:1!important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:focus,
.wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.wc-block-cart__submit-container .wc-block-cart__submit-button:focus,
.wc-block-components-button.wc-block-cart__submit-button:hover,
.wc-block-components-button.wc-block-cart__submit-button:focus{
  background:var(--ed-accent-dark)!important;
  color:#fff!important;
}

/* ED Marketplace 1.2.20: final button refinements. */
/* Header search is intentionally neutral and must not inherit the global CTA color. */
body .site-header .ed-header-search form button,
body .site-header .ed-header-search form button[type="submit"],
body .site-header .ed-header-search .woocommerce-product-search button,
body .site-header .ed-header-search .search-submit {
  background:transparent!important;
  background-color:transparent!important;
  color:#111!important;
  border:1px solid #e3e7e9!important;
  border-left:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  min-height:0!important;
  height:38px!important;
  padding:0 13px!important;
  font-size:13px!important;
  font-weight:600!important;
}
body .site-header .ed-header-search form button:hover,
body .site-header .ed-header-search form button:focus,
body .site-header .ed-header-search .woocommerce-product-search button:hover,
body .site-header .ed-header-search .woocommerce-product-search button:focus,
body .site-header .ed-header-search .search-submit:hover,
body .site-header .ed-header-search .search-submit:focus {
  background:transparent!important;
  background-color:transparent!important;
  color:#111!important;
  border-color:#cfd5d8!important;
}

/* Classic Checkout and WooCommerce Checkout Block Place Order. */
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order,
body.woocommerce-checkout .woocommerce-checkout-payment #place_order,
body.woocommerce-checkout .woocommerce-checkout-payment button#place_order,
body .wc-block-checkout__actions .wc-block-components-checkout-place-order-button,
body .wc-block-components-checkout-place-order-button,
body button.wc-block-components-checkout-place-order-button,
body .wp-block-woocommerce-checkout .wc-block-components-button {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:50px!important;
  padding:0 22px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:var(--ed-accent)!important;
  background-color:var(--ed-accent)!important;
  color:#fff!important;
  font-family:var(--ed-font,"IBM Plex Sans Thai Looped",sans-serif)!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-align:center!important;
  text-decoration:none!important;
  box-shadow:none!important;
  opacity:1!important;
}
body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus,
body .wc-block-checkout__actions .wc-block-components-checkout-place-order-button:hover,
body .wc-block-checkout__actions .wc-block-components-checkout-place-order-button:focus,
body .wc-block-components-checkout-place-order-button:hover,
body .wc-block-components-checkout-place-order-button:focus,
body .wp-block-woocommerce-checkout .wc-block-components-button:hover,
body .wp-block-woocommerce-checkout .wc-block-components-button:focus {
  background:var(--ed-accent-dark)!important;
  background-color:var(--ed-accent-dark)!important;
  color:#fff!important;
}

/* ED Marketplace 1.2.20: product listing cards do not show Add to cart buttons. */
body:not(.single-product) .products .product .add_to_cart_button,
body:not(.single-product) .products .product .product_type_simple,
body:not(.single-product) .products .product .product_type_variable,
body:not(.single-product) .products .product .product_type_external,
body:not(.single-product) .products .product .product_type_grouped,
body:not(.single-product) .wc-block-grid__product .wp-block-button,
body:not(.single-product) .wc-block-product .wp-block-button {
	display: none !important;
}

/* ED Marketplace 1.2.25: remove post comments and add two related-post cards. */
.single-post .comments-area,
.single-post #comments,
.single-post .comment-respond {
  display: none !important;
}

.ed-related-posts {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--ed-border, #e5e5e5);
}

.ed-related-posts-title {
  margin: 0 0 22px;
  font-size: 26px;
  line-height: 1.25;
}

.ed-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ed-related-post-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ed-border, #e5e5e5);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}

.ed-related-post-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f1f1f1;
}

.ed-related-post-image img,
.ed-related-post-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.ed-related-post-card:hover .ed-related-post-image img {
  transform: scale(1.025);
}

.ed-related-post-content {
  padding: 20px;
}

.ed-related-post-date {
  margin: 0 0 8px;
  color: #777;
  font-size: 13px;
}

.ed-related-post-heading {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.ed-related-post-heading a {
  color: inherit;
  text-decoration: none;
}

.ed-related-post-excerpt {
  margin: 0 0 15px;
  color: #555;
  line-height: 1.65;
}

.ed-related-post-link {
  display: inline-block;
  color: var(--ed-accent, #078fa2);
  font-weight: 600;
  text-decoration: none;
}

.ed-related-post-link:hover,
.ed-related-post-link:focus {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .ed-related-posts {
    margin-top: 30px;
    padding-top: 24px;
  }

  .ed-related-posts-title {
    font-size: 23px;
  }

  .ed-related-posts-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ed-related-post-content {
    padding: 16px;
  }
}

/* ED Marketplace 1.4.3: native submenu indicators.
 *
 * The theme draws a compact, wide chevron only for the normal WordPress
 * menu. Known mega-menu plugins provide their own indicator, so the theme
 * indicator is hidden automatically to avoid duplicated arrows.
 */
.main-navigation .menu-item-has-children > a{
  display:flex;
  align-items:center;
  gap:8px;
}
.main-navigation > .ed-container > ul > .menu-item-has-children > a::after,
.main-navigation > .ed-container > div > ul > .menu-item-has-children > a::after{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-right:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  transform-origin:center;
}
.main-navigation .sub-menu .menu-item-has-children > a::after{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-left:auto;
  flex:0 0 7px;
  border-right:1.6px solid currentColor;
  border-bottom:1.6px solid currentColor;
  transform:translateX(-2px) rotate(-45deg);
}
.main-navigation ul ul ul{
  top:0;
  left:100%;
}

/* Mega-menu plugins render their own arrows. */
.main-navigation .mega-menu .menu-item-has-children > a::after,
.main-navigation .mega-menu-item-has-children > a::after,
.main-navigation .jet-menu .menu-item-has-children > a::after,
.main-navigation .jet-menu-item-has-children > a::after,
.main-navigation .ubermenu-item-has-children > a::after,
.main-navigation .quadmenu-item-has-children > a::after,
.main-navigation .max-mega-menu .menu-item-has-children > a::after,
.main-navigation [class*="mega-menu"] .menu-item-has-children > a::after{
  display:none!important;
  content:none!important;
}

@media (max-width:760px){
  .main-navigation .menu-item-has-children > a{
    justify-content:space-between;
  }
  .main-navigation .sub-menu .menu-item-has-children > a::after{
    transform:translateY(-2px) rotate(45deg);
  }
  .main-navigation ul ul ul{
    left:auto;
  }
}


/* ED Marketplace 1.2.27: audited WooCommerce layout and interaction fixes. */
.ed-shop-layout .ed-shop-content,
.ed-shop-layout .widget-area .widget{
  margin:0 0 22px;
  padding:18px;
  background:#fff;
  border:1px solid var(--ed-border,#e5e5e5);
}

@media (min-width:761px){
  body.single-product div.product .summary form.cart:not(.variations_form):not(.grouped_form){
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    width:min(100%,420px)!important;
    max-width:420px!important;
    margin:0 0 22px!important;
    padding:0!important;
    float:none!important;
    clear:both!important;
  }
  body.single-product div.product .summary form.cart:not(.variations_form):not(.grouped_form)::before,
  body.single-product div.product .summary form.cart:not(.variations_form):not(.grouped_form)::after{
    content:none!important;
    display:none!important;
  }
  body.single-product div.product .summary form.cart:not(.variations_form):not(.grouped_form) > .quantity,
  body.single-product div.product .summary form.cart:not(.variations_form):not(.grouped_form) > .single_add_to_cart_button{
    float:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:52px!important;
    min-height:52px!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  body.single-product div.product .summary form.cart:not(.variations_form):not(.grouped_form) > .quantity .qty{
    width:100%!important;
    height:52px!important;
    margin:0!important;
    text-align:center!important;
  }
  body.single-product div.product .summary form.cart:not(.variations_form):not(.grouped_form) > .single_add_to_cart_button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
  }
}

@media (max-width:900px){
  
}
@media (max-width:760px){
  .main-navigation .menu-item-has-children > .sub-menu{display:none;}
  .main-navigation .menu-item-has-children.is-submenu-open > .sub-menu{display:block;}
}

/* ED Marketplace 1.2.29: keep the empty-cart page clean and remove product recommendations. */
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new,
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-collection,
.wp-block-woocommerce-empty-cart-block .wc-block-grid {
  display: none !important;
}



/* ED Marketplace 1.2.31: dedicated left catalog filter sidebar. */
.ed-catalog-layout{
  display:block;
}
.ed-catalog-layout.ed-has-catalog-sidebar{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:30px;
  align-items:start;
}
.ed-catalog-sidebar{
  min-width:0;
}
.ed-catalog-filter-widget{
  margin:0 0 18px;
  padding:18px;
  background:#fff;
  border:1px solid #e6e6e6;
}
.ed-catalog-filter-title{
  margin:0 0 14px;
  padding:0 0 10px;
  border-bottom:1px solid #ececec;
  font-size:15px;
  line-height:1.35;
  text-transform:uppercase;
}
.ed-catalog-sidebar ul{
  list-style:none;
  margin:0;
  padding:0;
}
.ed-catalog-sidebar li{
  margin:0;
  border-bottom:1px solid #f0f0f0;
}
.ed-catalog-sidebar li:last-child{
  border-bottom:0;
}
.ed-catalog-sidebar li a{
  display:inline-block;
  padding:8px 0;
  font-size:13px;
}
.ed-catalog-sidebar .children{
  padding-left:15px;
}
.ed-catalog-sidebar .count{
  float:right;
  padding:8px 0;
  color:#999;
  font-size:12px;
}
.ed-catalog-sidebar .price_slider_wrapper .ui-widget-content{
  margin:20px 4px 18px;
}
.ed-catalog-sidebar .price_slider_amount{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  font-size:12px;
}
.ed-catalog-sidebar .price_slider_amount .button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 16px!important;
}
.ed-catalog-sidebar .woocommerce-widget-layered-nav-list__item,
.ed-catalog-sidebar .wc-layered-nav-rating{
  padding:8px 0;
}
.ed-catalog-sidebar .star-rating{
  color:var(--ed-yellow);
}
.ed-catalog-layout.ed-has-catalog-sidebar .ed-shop-content .woocommerce ul.products{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px 20px;
}
@media (max-width:980px){
  .ed-catalog-layout.ed-has-catalog-sidebar{
    grid-template-columns:1fr;
    gap:22px;
  }
  .ed-catalog-sidebar{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
  }
  .ed-catalog-filter-widget{
    margin:0;
  }
}
@media (max-width:760px){
  .ed-catalog-sidebar{
    grid-template-columns:1fr;
  }
  .ed-catalog-layout.ed-has-catalog-sidebar .ed-shop-content .woocommerce ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 12px;
  }
}

/* v1.2.32: reuse the homepage promotion banner on product catalog archives. */
.ed-shop-container > .ed-promo-banner {
  margin-bottom: 28px;
}
@media (max-width: 760px) {
  .ed-shop-container > .ed-promo-banner {
    margin-bottom: 18px;
  }
}


/* ED Marketplace 1.2.33: align catalog sidebar and restore the price slider UI. */
@media (min-width: 981px) {
  .ed-catalog-layout.ed-has-catalog-sidebar > .ed-catalog-sidebar {
    padding-top: 40px;
  }
}

.ed-catalog-sidebar .widget_price_filter .price_slider,
.ed-catalog-sidebar .price_slider_wrapper .price_slider {
  position: relative;
  height: 5px;
  margin: 22px 8px 20px;
  border: 0;
  border-radius: 999px;
  background: #d9dde1;
}
.ed-catalog-sidebar .widget_price_filter .ui-slider-range,
.ed-catalog-sidebar .price_slider_wrapper .ui-slider-range {
  position: absolute;
  z-index: 1;
  display: block;
  height: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--ed-accent);
}
.ed-catalog-sidebar .widget_price_filter .ui-slider-handle,
.ed-catalog-sidebar .price_slider_wrapper .ui-slider-handle {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--ed-accent);
  box-shadow: 0 1px 4px rgba(0,0,0,.22);
  cursor: ew-resize;
  outline: 0;
}
.ed-catalog-sidebar .widget_price_filter .ui-slider-handle:last-child,
.ed-catalog-sidebar .price_slider_wrapper .ui-slider-handle:last-child {
  margin-left: -8px;
}
.ed-catalog-sidebar .price_slider_amount .price_label {
  order: 2;
  flex: 1 1 120px;
  line-height: 1.5;
}
.ed-catalog-sidebar .price_slider_amount .button {
  order: 1;
}
.ed-catalog-sidebar .price_slider_amount::after {
  content: "";
  display: table;
  clear: both;
}

/* ED Marketplace 1.2.34: cookie notice inspired by the Muted Canvas layout. */
.ed-cookie-notice{
  position:fixed;
  left:24px;
  bottom:24px;
  z-index:99999;
  display:grid;
  grid-template-columns:minmax(240px,1fr) auto;
  gap:26px;
  align-items:center;
  width:min(760px,calc(100vw - 48px));
  padding:24px 28px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:var(--ed-cookie-bg,#2b2724);
  color:var(--ed-cookie-text,#f4f1ed);
  box-shadow:0 18px 50px rgba(0,0,0,.28);
}
.ed-cookie-notice[hidden]{display:none!important}
.ed-cookie-copy strong{
  display:block;
  margin-bottom:8px;
  color:inherit;
  font-size:16px;
  font-weight:700;
}
.ed-cookie-copy p{
  margin:0;
  color:inherit;
  opacity:.78;
  font-size:14px;
  line-height:1.65;
}
.ed-cookie-actions{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  margin-bottom:-8px;
}
.ed-cookie-actions button{
  min-height:42px;
  padding:0 22px;
  border:0;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
  cursor:pointer;
}
.ed-cookie-accept{
  background:var(--ed-accent);
  color:#fff;
}
.ed-cookie-accept:hover{background:var(--ed-accent-dark)}
.ed-cookie-essential{
  background:rgba(255,255,255,.08);
  color:var(--ed-cookie-text,#f4f1ed);
}
.ed-cookie-essential:hover{background:rgba(255,255,255,.14)}
.ed-cookie-actions a{
  color:var(--ed-cookie-text,#f4f1ed);
  opacity:.62;
  font-size:12px;
  text-decoration:underline;
}
.ed-cookie-actions a:hover{opacity:1}
@media (max-width:760px){
  .ed-cookie-notice{
    left:12px;
    right:12px;
    bottom:12px;
    width:auto;
    grid-template-columns:1fr;
    gap:18px;
    padding:20px;
    border-radius:14px;
  }
  .ed-cookie-actions{
    flex-wrap:wrap;
    white-space:normal;
  }
  .ed-cookie-actions button{
    flex:1 1 140px;
  }
  .ed-cookie-actions a{
    flex:1 0 100%;
    text-align:center;
  }
}


/* ED Marketplace 1.2.35: stabilize smart header animation. */
.main-navigation{
  will-change:max-height,opacity,transform;
  backface-visibility:hidden;
  transform:translate3d(0,0,0);
}
.site-header.is-scroll-down .main-navigation{
  transform:translate3d(0,-100%,0);
}
.site-header.is-scroll-up .main-navigation{
  transform:translate3d(0,0,0);
}

/* ED Marketplace 1.2.36: unify banner spacing and place the price range above the slider. */
.ed-home-main,
.ed-shop-main{
  padding-top:34px;
}

/* Keep the catalog banner aligned with the homepage banner. */
.ed-shop-container > .ed-promo-banner{
  margin-top:0;
}

/* WooCommerce price filter order: label, slider, button. */
.ed-catalog-sidebar .widget_price_filter .price_slider_wrapper,
.ed-catalog-sidebar .price_slider_wrapper{
  display:flex;
  flex-direction:column;
}
.ed-catalog-sidebar .widget_price_filter .price_slider_amount,
.ed-catalog-sidebar .price_slider_wrapper .price_slider_amount{
  display:contents;
}
.ed-catalog-sidebar .widget_price_filter .price_slider_amount .price_label,
.ed-catalog-sidebar .price_slider_wrapper .price_slider_amount .price_label{
  order:1;
  display:block;
  margin:0 0 12px;
  font-size:13px;
  line-height:1.5;
  color:var(--ed-text);
}
.ed-catalog-sidebar .widget_price_filter .price_slider,
.ed-catalog-sidebar .price_slider_wrapper .price_slider{
  order:2;
  width:calc(100% - 16px);
  margin:4px 8px 22px;
}
.ed-catalog-sidebar .widget_price_filter .price_slider_amount .button,
.ed-catalog-sidebar .price_slider_wrapper .price_slider_amount .button{
  order:3;
  align-self:flex-start;
}
.ed-catalog-sidebar .price_slider_amount input,
.ed-catalog-sidebar .price_slider_amount .clear{
  display:none!important;
}

@media (max-width:760px){
  .ed-home-main,
  .ed-shop-main{
    padding-top:22px;
  }
}

/* ED Marketplace 1.2.37: make homepage and catalog wrappers exactly equal. */
.site-main.ed-home-main,
.site-main.ed-shop-main{
  padding:34px 0 68px;
}
.site-main.ed-home-main > .ed-container,
.site-main.ed-shop-main > .ed-shop-container{
  width:min(calc(100% - 40px),var(--ed-container));
  max-width:var(--ed-container);
  margin-inline:auto;
}
@media (max-width:760px){
  .site-main.ed-home-main,
  .site-main.ed-shop-main{
    padding:22px 0 50px;
  }
  .site-main.ed-home-main > .ed-container,
  .site-main.ed-shop-main > .ed-shop-container{
    width:min(calc(100% - 24px),var(--ed-container));
  }
}

/* ED Marketplace 1.2.38: compact the catalog price filter layout. */
.ed-catalog-sidebar .widget_price_filter .price_slider_wrapper,
.ed-catalog-sidebar .price_slider_wrapper{
  display:grid;
  grid-template-columns:1fr;
  grid-template-areas:
    "price-label"
    "price-slider"
    "price-button";
  row-gap:14px;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
}
.ed-catalog-sidebar .widget_price_filter .price_slider_amount,
.ed-catalog-sidebar .price_slider_wrapper .price_slider_amount{
  display:contents;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
.ed-catalog-sidebar .widget_price_filter .price_slider_amount .price_label,
.ed-catalog-sidebar .price_slider_wrapper .price_slider_amount .price_label{
  grid-area:price-label;
  margin:0!important;
  padding:0!important;
}
.ed-catalog-sidebar .widget_price_filter .price_slider,
.ed-catalog-sidebar .price_slider_wrapper .price_slider{
  grid-area:price-slider;
  width:calc(100% - 16px);
  margin:0 8px!important;
  padding:0!important;
}
.ed-catalog-sidebar .widget_price_filter .price_slider_amount .button,
.ed-catalog-sidebar .price_slider_wrapper .price_slider_amount .button{
  grid-area:price-button;
  justify-self:start;
  margin:0!important;
}
.ed-catalog-sidebar .price_slider_amount::before,
.ed-catalog-sidebar .price_slider_amount::after,
.ed-catalog-sidebar .price_slider_wrapper::before,
.ed-catalog-sidebar .price_slider_wrapper::after{
  display:none!important;
  content:none!important;
}

/* v1.2.39: Promotion Manager slider and combined banner layouts. */
.ed-promo-slider{
  position:relative;
  width:100%;
  overflow:hidden;
  margin:0 0 22px;
  background:#e9edf0;
  aspect-ratio:8 / 3;
}
.ed-promo-slider-track{
  position:relative;
  width:100%;
  height:100%;
}
.ed-promo-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  padding:clamp(28px,5vw,76px);
  background-image:var(--ed-slide-desktop,none);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0;
  visibility:hidden;
  transform:translateX(2%);
  transition:opacity .45s ease,transform .45s ease,visibility .45s ease;
}
.ed-promo-slide.is-active{
  opacity:1;
  visibility:visible;
  transform:translateX(0);
  z-index:1;
}
.ed-promo-slide-content{
  width:min(560px,48%);
  padding:24px 28px;
  background:rgba(255,255,255,.9);
  box-shadow:0 12px 36px rgba(0,0,0,.12);
}
.ed-promo-slide-content h2{
  margin:0 0 8px;
  max-width:100%;
  font-size:clamp(30px,3.1vw,46px);
  line-height:1.12;
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
  text-wrap:balance;
}
.ed-promo-slide-content p{
  margin:0 0 18px;
  font-size:clamp(15px,1.6vw,20px);
}
.ed-promo-slide-button{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 22px;
  background:var(--ed-accent);
  color:#fff;
  font-weight:700;
}
.ed-promo-slide-button:hover{background:var(--ed-accent-dark);color:#fff}
.ed-promo-slider-arrow{
  position:absolute;
  top:50%;
  z-index:3;
  transform:translateY(-50%);
  width:44px;
  height:56px;
  border:0;
  background:rgba(0,0,0,.45);
  color:#fff;
  font-size:36px;
  line-height:1;
  cursor:pointer;
}
.ed-promo-slider-arrow:hover{background:rgba(0,0,0,.7)}
.ed-promo-slider-arrow.is-prev{left:12px}
.ed-promo-slider-arrow.is-next{right:12px}
.ed-promo-slider-dots{
  position:absolute;
  left:50%;
  bottom:14px;
  z-index:3;
  display:flex;
  gap:8px;
  transform:translateX(-50%);
}
.ed-promo-slider-dots button{
  width:10px;
  height:10px;
  padding:0;
  border:1px solid #fff;
  border-radius:50%;
  background:rgba(0,0,0,.35);
  cursor:pointer;
}
.ed-promo-slider-dots button.is-active{background:#fff}
.ed-promo-slider + .ed-promo-banner,
.ed-promo-banner + .ed-promo-slider{margin-top:18px}

@media(max-width:760px){
  .ed-promo-slider{
    aspect-ratio:15 / 14;
    margin-bottom:14px;
  }
  .ed-promo-slide{
    align-items:flex-end;
    padding:18px;
    background-image:var(--ed-slide-mobile,var(--ed-slide-desktop,none));
  }
  .ed-promo-slide-content{
    width:100%;
    padding:16px 18px;
  }
  .ed-promo-slide-content h2{font-size:28px}
  .ed-promo-slide-content p{font-size:14px;margin-bottom:12px}
  .ed-promo-slider-arrow{width:36px;height:46px;font-size:30px}
  .ed-promo-slider-arrow.is-prev{left:6px}
  .ed-promo-slider-arrow.is-next{right:6px}
  .ed-promo-slider + .ed-promo-banner,
  .ed-promo-banner + .ed-promo-slider{margin-top:12px}
}

/* v1.2.45 — Improve product-card secondary text readability */
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .woocommerce-Price-amount,
.woocommerce ul.products li.product .price del .woocommerce-Price-currencySymbol,
.ed-product-sales{
  color:#555!important;
  opacity:1!important;
}
.ed-product-sales{
  font-size:14px;
  line-height:1.45;
}
@media(max-width:760px){
  .ed-product-sales{
    font-size:14px;
  }
}

/* v1.2.46 — Match the header currency label to product-card secondary text */
.site-header .ed-currency-label,
.ed-header-actions .ed-currency-label{
  font-size:14px;
  font-weight:400;
  line-height:20px;
  color:#555!important;
  opacity:1;
}


/* v1.2.47 — Mobile header: compact logo-only brand and collision-safe actions */
.ed-text-logo .ed-brand-name{
  display:inline;
}

@media (max-width:760px){
  .ed-header-primary .ed-container.ed-header-inner{
    min-height:64px;
    grid-template-columns:48px minmax(48px,1fr) auto;
    gap:8px;
    padding-inline:14px;
  }

  .ed-menu-toggle{
    width:40px;
    height:40px;
    padding:8px;
    display:grid;
    place-items:center;
  }

  .site-branding{
    min-width:0;
    max-width:none;
    overflow:visible;
  }

  .site-branding .ed-text-logo{
    width:48px;
    min-width:48px;
    height:48px;
    display:grid;
    place-items:center;
    overflow:visible;
  }

  .site-branding .ed-text-logo .ed-logo-mark{
    width:48px;
    height:48px;
    margin:0;
    padding:0;
    display:grid;
    place-items:center;
    font-size:23px;
    line-height:1;
  }

  .site-branding .ed-text-logo .ed-brand-name{
    display:none!important;
  }

  /* A custom image logo cannot be split into mark/text, so keep it compact. */
  .site-branding .custom-logo-link{
    width:48px;
    min-width:48px;
    height:48px;
    overflow:hidden;
    display:grid;
    place-items:center;
  }

  .site-branding .custom-logo{
    width:48px;
    max-width:48px;
    height:48px;
    max-height:48px;
    object-fit:contain;
    margin:0;
  }

  .ed-header-actions{
    width:auto;
    min-width:0;
    max-width:104px;
    gap:9px;
    justify-content:flex-end;
    overflow:visible;
  }

  /* Hide the theme's plain text fallback on phones; the plugin switcher remains visible. */
  .ed-header-actions .ed-currency-label{
    font-size:0!important;
    line-height:1;
    display:inline-flex!important;
    align-items:center;
    flex:0 0 auto;
  }

  .ed-header-actions .ed-currency-label .edc-switcher,
  .ed-header-actions .ed-currency-label .edc-switcher *{
    font-size:initial;
  }

  .ed-header-actions .edc-switcher__button{
    width:32px;
    min-width:32px;
    height:36px;
    padding:5px!important;
    justify-content:center;
  }

  .ed-header-actions .edc-switcher__flag{
    width:24px;
    height:18px;
  }

  .ed-header-actions .ed-cart-link{
    width:34px;
    height:38px;
    display:grid;
    place-items:center;
  }

  .ed-header-actions .ed-cart-count{
    right:-4px;
    top:-3px;
  }

  .ed-header-search{
    display:none;
  }
}

@media (max-width:380px){
  .ed-header-primary .ed-container.ed-header-inner{
    grid-template-columns:44px minmax(44px,1fr) auto;
    padding-inline:10px;
    gap:6px;
  }
  .site-branding .ed-text-logo,
  .site-branding .custom-logo-link{
    width:44px;
    min-width:44px;
    height:44px;
  }
  .site-branding .ed-text-logo .ed-logo-mark,
  .site-branding .custom-logo{
    width:44px;
    max-width:44px;
    height:44px;
    max-height:44px;
  }
  .ed-header-actions{gap:6px;max-width:94px}
}

/* v1.2.48 — Footer credits, clean desktop wordmark, and balanced mobile switchers */
.ed-text-logo .ed-brand-name{
  background:transparent!important;
  color:#111!important;
  padding:0!important;
  margin:0!important;
}

.ed-footer-credits{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  width:100%;
  text-align:left;
}
.ed-footer-credits p{
  margin:0;
}
.ed-footer-crafted{
  text-align:right;
}
.ed-footer-crafted span{
  color:#e63946;
}
.ed-footer-crafted a{
  text-decoration:underline;
  text-underline-offset:3px;
}

@media (max-width:760px){
  /* Leave enough room for Translate + Currency + Cart while keeping the ED mark centered. */
  .ed-header-primary .ed-container.ed-header-inner{
    grid-template-columns:44px minmax(44px,1fr) auto;
  }
  .ed-header-actions{
    max-width:none;
    gap:7px;
  }

  /* ED Translate: keep the compact TH/EN code visible on phones. */
  .ed-header-actions > .ed-lang-switcher--header .ed-code{
    display:inline!important;
    font-size:13px!important;
    line-height:1!important;
  }
  .ed-header-actions > .ed-lang-switcher--header .ed-chevron{
    display:none!important;
  }
  .ed-header-actions > .ed-lang-switcher--header .ed-lang-current{
    gap:5px!important;
    padding:5px 4px!important;
    white-space:nowrap;
  }

  /* Match both switcher flags to one compact mobile size. */
  .ed-header-actions > .ed-lang-switcher--header .fi,
  .ed-header-actions .edc-switcher__flag{
    width:21px!important;
    height:15px!important;
    min-width:21px!important;
    flex:0 0 21px!important;
    background-size:cover!important;
  }
  .ed-header-actions .edc-switcher__button{
    width:29px!important;
    min-width:29px!important;
    height:34px!important;
    padding:4px!important;
  }

  .ed-footer-credits{
    flex-direction:column;
    justify-content:center;
    gap:8px;
    text-align:center;
  }
  .ed-footer-crafted{
    text-align:center;
  }
}

/* v1.2.50 — Footer bottom alignment correction */
.ed-footer-bottom{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:24px;
  text-align:initial;
}
.ed-footer-bottom > *{
  margin:0;
}
.ed-footer-copyright{
  justify-self:start;
  text-align:left;
}
.ed-payment-badges{
  justify-self:center;
  margin:0;
}
.ed-footer-crafted{
  justify-self:end;
  text-align:right;
}
.site-footer .ed-footer-bottom,
.site-footer .ed-footer-bottom p,
.site-footer .ed-footer-bottom a{
  color:#b8b8b8;
}
.ed-footer-crafted a,
.ed-footer-crafted a:hover,
.ed-footer-crafted a:focus{
  color:inherit;
  text-decoration:none!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
.ed-footer-crafted span{
  color:#c96572;
}

@media (max-width:760px){
  .ed-footer-bottom{
    grid-template-columns:1fr;
    justify-items:center;
    gap:14px;
    text-align:center;
  }
  .ed-footer-copyright,
  .ed-payment-badges,
  .ed-footer-crafted{
    justify-self:center;
    text-align:center;
  }
}

/* v1.2.52 — Text-first WooCommerce Checkout order summary. */
body.woocommerce-checkout .wc-block-components-order-summary-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 5px 16px;
  align-items: start;
  padding: 7px 0;
  min-height: 0;
}
body.woocommerce-checkout .wc-block-components-order-summary-item + .wc-block-components-order-summary-item {
  border-top: 0;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
  display: none !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  display: block !important;
  grid-column: 1;
  min-width: 0;
  margin: 0;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body.woocommerce-checkout .ed-checkout-qty {
  display: inline;
  margin-left: 5px;
  white-space: nowrap;
  font-weight: 600;
  color: inherit;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wc-block-components-product-details,
body.woocommerce-checkout .wc-block-components-product-metadata {
  display: none !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  grid-column: 2;
  margin: 0;
  white-space: nowrap;
  text-align: right;
  font-size: 14px;
  line-height: 1.45;
}
@media (max-width: 480px) {
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    gap: 4px 10px;
    padding: 6px 0;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name,
  body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    font-size: 13px;
  }
}


/* v1.2.53 — Checkout summary: clean quantity and final price only. */
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
  display: none !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-badge,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price [class*="badge"],
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price del,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price .screen-reader-text {
  display: none !important;
}
body.woocommerce-checkout .ed-checkout-qty {
  margin-left: 4px;
  font-weight: 600;
}

/* v1.2.54 — Checkout summary table with visible final prices. */
body.woocommerce-checkout .ed-checkout-summary-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 0 0 10px;
  margin: 0 0 2px;
  border-bottom: 1px solid rgba(51, 51, 51, .16);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
}
body.woocommerce-checkout .ed-checkout-summary-head__price {
  text-align: right;
  white-space: nowrap;
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
  grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
  gap: 12px;
  align-items: start;
  padding: 8px 0;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #333 !important;
  min-width: 72px;
  text-align: right;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price ins {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit !important;
  text-decoration: none !important;
  white-space: nowrap;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media (max-width: 480px) {
  body.woocommerce-checkout .ed-checkout-summary-head,
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    gap: 10px;
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item {
    grid-template-columns: minmax(0, 1fr) minmax(66px, auto);
  }
  body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    min-width: 66px;
  }
}


/* v1.2.55 — Stable checkout quantity and final-price rendering. */
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  display: flex !important;
  justify-content: flex-end;
  align-items: flex-start;
}
body.woocommerce-checkout .ed-checkout-final-price {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #333 !important;
  font: inherit;
  white-space: nowrap;
}
body.woocommerce-checkout .ed-checkout-qty {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* v1.2.56 — Complete checkout quantities, tighter summary spacing, and logged-in avatar. */
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary-content,
body.woocommerce-checkout .wc-block-components-order-summary-items {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
  margin-left: 0 !important;
  margin-right: 0 !important;
  grid-template-columns: minmax(0, 1fr) minmax(64px, auto);
  gap: 8px;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  display: flex !important;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  padding-left: 0 !important;
  margin-left: 0 !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description > .ed-checkout-qty {
  flex: 0 0 auto;
  margin-left: 0;
  white-space: nowrap;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  min-width: 64px;
}
.ed-account-link.is-logged-in {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
}
.ed-account-avatar {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
@media (max-width: 760px) {
  .ed-account-link.is-logged-in,
  .ed-account-avatar {
    width: 28px;
    height: 28px;
  }
  .ed-account-link.is-logged-in {
    flex-basis: 28px;
  }
}


/* v1.2.58 — Match checkout product-row horizontal spacing to coupon and totals rows. */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .ed-checkout-summary-head,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item {
  box-sizing: border-box;
  padding-left: 16px !important;
  padding-right: 16px !important;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__description {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__total-price {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (max-width: 480px) {
  body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .ed-checkout-summary-head,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}


/* v1.2.60 — Align the optional site title vertically with the custom logo. */
.site-branding.has-logo-title{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.site-branding.has-logo-title .custom-logo-link{
  flex:0 0 auto;
}
.site-branding .ed-logo-site-title{
  min-width:0;
  margin-bottom:-8px;
  overflow:hidden;
  color:#111;
  font-size:20px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.3px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.site-branding .ed-logo-site-title:hover{
  color:var(--ed-accent);
}
@media (max-width:760px){
  .site-branding.has-logo-title{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
  }
  .site-branding.has-logo-title .ed-logo-site-title{
    display:none;
  }
}
@media (max-width:380px){
  .site-branding.has-logo-title{
    width:44px;
    height:44px;
  }
}


/* v1.2.65 — Customizable store trust-features bar above the newsletter. */
.ed-trust-features {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.ed-trust-features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 30px;
  padding-bottom: 30px;
}
.ed-trust-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 4px 28px;
  border-right: 1px solid #e5e7eb;
}
.ed-trust-feature:first-child { padding-left: 0; }
.ed-trust-feature:last-child {
  padding-right: 0;
  border-right: 0;
}
.ed-trust-feature__icon {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  color: #333;
}
.ed-trust-feature__icon .ed-icon {
  width: 44px;
  height: 44px;
  stroke-width: 1.45;
}
.ed-trust-feature__content { min-width: 0; }
.ed-trust-feature h3 {
  margin: 0 0 4px;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.ed-trust-feature p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 20px;
}
.ed-trust-feature:hover .ed-trust-feature__icon,
.ed-trust-feature:hover h3 { color: var(--ed-accent); }

@media (max-width: 980px) {
  .ed-trust-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-trust-feature { padding: 18px 24px; }
  .ed-trust-feature:first-child { padding-left: 24px; }
  .ed-trust-feature:nth-child(2) { border-right: 0; }
  .ed-trust-feature:nth-child(-n+2) { border-bottom: 1px solid #e5e7eb; }
}
@media (max-width: 560px) {
  .ed-trust-features__grid {
    grid-template-columns: 1fr;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .ed-trust-feature,
  .ed-trust-feature:first-child,
  .ed-trust-feature:last-child {
    padding: 15px 8px;
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }
  .ed-trust-feature:last-child { border-bottom: 0; }
  .ed-trust-feature__icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
  .ed-trust-feature__icon .ed-icon { width: 38px; height: 38px; }
  .ed-trust-feature h3 { font-size: 15px; }
  .ed-trust-feature p { font-size: 14px; line-height: 20px; }
}


/* ED Marketplace 1.2.66: compact accordion catalog filters. */
.ed-catalog-filter-widget{
  padding:0;
  overflow:hidden;
}
.ed-catalog-filter-title{
  margin:0;
  padding:0;
  border-bottom:0;
  font-size:15px;
  text-transform:none;
}
.ed-filter-toggle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:50px;
  padding:0 18px;
  border:0;
  background:transparent;
  color:var(--ed-text);
  font:inherit;
  font-weight:600;
  text-align:left;
  cursor:pointer;
}
.ed-filter-toggle:hover{
  color:var(--ed-accent);
}
.ed-filter-toggle-icon{
  position:relative;
  flex:0 0 14px;
  width:14px;
  height:14px;
  margin-left:14px;
}
.ed-filter-toggle-icon::before,
.ed-filter-toggle-icon::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:12px;
  height:1.5px;
  background:currentColor;
  transform:translate(-50%,-50%);
  transition:transform .18s ease,opacity .18s ease;
}
.ed-filter-toggle-icon::after{
  transform:translate(-50%,-50%) rotate(90deg);
}
.ed-filter-toggle[aria-expanded="true"] .ed-filter-toggle-icon::after{
  opacity:0;
  transform:translate(-50%,-50%) rotate(0);
}
.ed-filter-panel{
  padding:0 18px 18px;
  border-top:1px solid #ececec;
}
.ed-filter-panel[hidden]{display:none!important}
.ed-catalog-filter-widget.is-open .ed-filter-toggle{
  color:var(--ed-text);
}
.ed-catalog-sidebar .children{
  margin:0 0 4px 8px;
  padding-left:14px;
  border-left:1px solid #ececec;
}
.ed-catalog-sidebar .children a{
  font-size:12px;
  color:#666;
}
.ed-catalog-sidebar .widget_price_filter .price_slider_wrapper,
.ed-catalog-sidebar .price_slider_wrapper{
  padding-top:16px!important;
}
.ed-catalog-sidebar .widget_price_filter .price_slider_amount .button,
.ed-catalog-sidebar .price_slider_wrapper .price_slider_amount .button{
  min-width:96px;
}
@media (max-width:980px){
  .ed-catalog-sidebar{
    display:block;
  }
  .ed-catalog-filter-widget{
    margin:0 0 12px;
  }
}


/* Product-card wishlist remains icon-only; failed hover-label experiment removed in 1.3.1. */

/* ED Marketplace 1.2.68: clear wishlist action on single-product gallery. */
@media (hover:hover) and (pointer:fine) and (min-width:761px) {
  .ed-wishlist-tooltip-enabled.single-product .woocommerce-product-gallery > .ed-single-gallery-wishlist {
    overflow:visible!important;
  }
  .ed-wishlist-tooltip-enabled.single-product .woocommerce-product-gallery > .ed-single-gallery-wishlist::after {
    content:attr(data-tooltip)!important;
    display:block!important;
    position:absolute;
    top:50%;
    left:calc(100% + 9px);
    width:max-content;
    max-width:240px;
    padding:8px 12px;
    border:1px solid #e5e7eb;
    border-radius:999px;
    background:#fff;
    box-shadow:0 5px 18px rgba(17,17,17,.12);
    color:#555;
    font-size:14px;
    font-weight:500;
    line-height:1.25;
    white-space:nowrap;
    opacity:1;
    visibility:visible;
    pointer-events:none;
    transform:translateY(-50%);
  }
  .ed-wishlist-tooltip-enabled.single-product .woocommerce-product-gallery > .ed-single-gallery-wishlist:hover::after,
  .ed-wishlist-tooltip-enabled.single-product .woocommerce-product-gallery > .ed-single-gallery-wishlist:focus-visible::after {
    color:#e51c2b;
    border-color:rgba(229,28,43,.28);
  }
}

@media (hover:none), (pointer:coarse), (max-width:760px) {
  .single-product .woocommerce-product-gallery > .ed-single-gallery-wishlist::after {
    content:none!important;
    display:none!important;
  }
}





/* ED Marketplace 1.2.72: improve catalog sidebar readability and newsletter integration. */
.ed-catalog-sidebar,
.ed-catalog-sidebar .widget,
.ed-catalog-sidebar .widget-title,
.ed-catalog-sidebar a,
.ed-catalog-sidebar li,
.ed-catalog-sidebar label,
.ed-catalog-sidebar .count,
.ed-catalog-sidebar .price_label,
.ed-catalog-sidebar .woocommerce-widget-layered-nav-list__item,
.ed-catalog-sidebar .wc-layered-nav-rating {
  font-size: 14px;
}
.ed-catalog-sidebar .widget-title {
  line-height: 1.45;
}
.ed-newsletter-setup-notice {
  max-width: 720px;
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px dashed #cfd6da;
  background: #f7f9fa;
  color: #666;
  font-size: 14px !important;
}

/* ED Marketplace 1.2.73: keep the newsletter design preview visible until a real provider shortcode is configured. */
.ed-newsletter-demo-form button {
  cursor: default;
}
.ed-newsletter-demo-form input,
.ed-newsletter-demo-form button {
  pointer-events: none;
}
.ed-newsletter-setup-notice {
  margin-top: 14px;
}


/* ED Marketplace 1.3.0: consistent 14px catalog-sidebar typography. */
.ed-catalog-sidebar .ed-catalog-filter-widget,
.ed-catalog-sidebar .ed-catalog-filter-widget *,
.ed-catalog-sidebar .widget,
.ed-catalog-sidebar .widget *,
.ed-catalog-sidebar ul,
.ed-catalog-sidebar li,
.ed-catalog-sidebar li > a,
.ed-catalog-sidebar .count,
.ed-catalog-sidebar .price_label,
.ed-catalog-sidebar .price_slider_amount,
.ed-catalog-sidebar .price_slider_amount .button,
.ed-catalog-sidebar .woocommerce-widget-layered-nav-list__item,
.ed-catalog-sidebar .woocommerce-widget-layered-nav-list__item a,
.ed-catalog-sidebar .wc-layered-nav-rating,
.ed-catalog-sidebar .wc-layered-nav-rating a,
.ed-catalog-sidebar label,
.ed-catalog-sidebar select,
.ed-catalog-sidebar input {
  font-size:14px!important;
}
.ed-catalog-sidebar li > a,
.ed-catalog-sidebar .count {
  line-height:22px;
}


/* ED Marketplace 1.3.0: premium 404 page. */
.ed-404-page{background:#f6f3ee}
.ed-404-hero{position:relative;overflow:hidden;background:#26221f;color:#fff;padding:92px 24px 86px;text-align:center}
.ed-404-code{position:absolute;inset:18px 0 auto;font-size:150px;font-weight:800;line-height:1;color:rgba(255,255,255,.045);pointer-events:none}
.ed-404-hero__inner{position:relative;z-index:1;max-width:720px;margin:auto}
.ed-404-kicker{margin:0 0 8px;font-size:14px;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.62)}
.ed-404-title{margin:0 0 12px;font-size:48px;line-height:1.12;color:#fff}
.ed-404-description{max-width:560px;margin:0 auto 28px;color:rgba(255,255,255,.7);font-size:16px}
.ed-404-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.ed-404-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 21px;border:1px solid rgba(255,255,255,.3);border-radius:999px;color:#fff;font-size:14px;font-weight:700}
.ed-404-button:hover{color:#fff;border-color:#fff}
.ed-404-button--primary{background:var(--ed-accent);border-color:var(--ed-accent)}
.ed-404-links{padding:46px 0 54px;background:#f6f3ee}
.ed-404-links__title{text-align:center;margin:0 0 22px;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#777}
.ed-404-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:920px;margin:auto}
.ed-404-card{display:block;padding:20px 21px;border:1px solid #ded9d2;border-radius:8px;background:#fff;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.ed-404-card:hover{transform:translateY(-2px);border-color:var(--ed-accent);box-shadow:0 10px 25px rgba(0,0,0,.07)}
.ed-404-card strong{display:block;margin-bottom:4px;font-size:15px}
.ed-404-card span{display:block;color:#777;font-size:13px}
@media(max-width:760px){
  .ed-404-hero{padding:72px 20px 66px}
  .ed-404-code{font-size:105px}
  .ed-404-title{font-size:36px}
  .ed-404-grid{grid-template-columns:1fr}
}


/* ED Marketplace 1.3.1: keyboard focus and motion preferences. */
.ed-menu-toggle:focus-visible,
.ed-wishlist-button:focus-visible,
.ed-back-to-top:focus-visible,
.ed-catalog-filter-toggle:focus-visible,
.main-navigation a:focus-visible,
.ed-header-actions a:focus-visible,
.ed-404-button:focus-visible,
.ed-404-card:focus-visible {
  outline:3px solid var(--ed-accent);
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto!important; }
  *,*::before,*::after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}


/* v1.4.0 full audit: keyboard, preview, and carousel accessibility. */
.ed-newsletter-demo-form[aria-label] input,
.ed-newsletter-demo-form[aria-label] button[aria-disabled="true"]{cursor:default}
.ed-promo-slider-dots [role="tab"]:focus-visible,
.ed-menu-toggle:focus-visible,
.ed-filter-toggle:focus-visible,
.ed-wishlist-button:focus-visible,
.ed-back-to-top:focus-visible{outline:3px solid var(--ed-accent);outline-offset:3px}
@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}.ed-promo-slide,.ed-404-card,.ed-back-to-top,.ed-wishlist-button{transition:none!important}}


/* v1.4.2 — PromptPay and footer payment-logo controls. */
.ed-payment-badges{
	display:flex;
	align-items:center;
	justify-content:center;
	flex-wrap:wrap;
	gap:8px;
}
.ed-payment-badges .ed-payment-logo,
.ed-payment-badges img{
	display:block;
	width:auto;
	height:25px;
	max-width:72px;
	margin:0;
	padding:0;
	border:0;
	border-radius:0;
	background:transparent;
	object-fit:contain;
}
.ed-payment-badges .ed-payment-logo--promptpay{
	max-width:82px;
}
@media (max-width:760px){
	.ed-payment-badges{
		gap:7px;
	}
	.ed-payment-badges .ed-payment-logo,
	.ed-payment-badges img{
		height:23px;
		max-width:66px;
	}
	.ed-payment-badges .ed-payment-logo--promptpay{
		max-width:76px;
	}
}


/* ED Marketplace 1.4.4: ED Mega Menu owns its submenu chevron.
 * Hide only the theme-generated ::after indicator on ED Mega Menu triggers.
 */
.main-navigation .edmm-has-mega > .edmm-trigger::after,
.main-navigation li.edmm-has-mega > a.edmm-trigger::after,
.main-navigation .edmm-menu .edmm-has-mega > a::after {
	display:none !important;
	content:none !important;
	border:0 !important;
	width:0 !important;
	height:0 !important;
	flex-basis:0 !important;
	margin:0 !important;
}
